Merge pull request #1486 from sphericalice/pss-constant-fix

Use the correct constant for PSS page comparison
This commit is contained in:
GriffinR 2021-07-25 12:49:35 -04:00 committed by GitHub
commit b5bc762dc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3627,7 +3627,7 @@ static void PrintMoveDetails(u16 move)
FillWindowPixelBuffer(windowId, PIXEL_FILL(0));
if (move != MOVE_NONE)
{
if (sMonSummaryScreen->currPageIndex == SUMMARY_MODE_BOX)
if (sMonSummaryScreen->currPageIndex == PSS_PAGE_BATTLE_MOVES)
{
PrintMovePowerAndAccuracy(move);
PrintTextOnWindow(windowId, gMoveDescriptionPointers[move - 1], 6, 1, 0, 0);