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

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);