Merge pull request #1666 from Sneed69/summary_enum

Minor summary screen clarification
This commit is contained in:
GriffinR 2022-05-25 01:51:17 -04:00 committed by GitHub
commit 12a0920c3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2439,7 +2439,7 @@ static void Task_ShowPowerAccWindow(u8 taskId)
{ {
if (data[0] < 0) if (data[0] < 0)
{ {
if (sMonSummaryScreen->currPageIndex == 2) if (sMonSummaryScreen->currPageIndex == PSS_PAGE_BATTLE_MOVES)
PutWindowTilemap(PSS_LABEL_WINDOW_MOVES_POWER_ACC); PutWindowTilemap(PSS_LABEL_WINDOW_MOVES_POWER_ACC);
} }
else else
@ -2492,7 +2492,7 @@ static void Task_ShowAppealJamWindow(u8 taskId)
{ {
if (data[0] < 0) if (data[0] < 0)
{ {
if (sMonSummaryScreen->currPageIndex == 3 && FuncIsActiveTask(PssScrollRight) == 0) if (sMonSummaryScreen->currPageIndex == PSS_PAGE_CONTEST_MOVES && FuncIsActiveTask(PssScrollRight) == 0)
PutWindowTilemap(PSS_LABEL_WINDOW_MOVES_APPEAL_JAM); PutWindowTilemap(PSS_LABEL_WINDOW_MOVES_APPEAL_JAM);
DrawContestMoveHearts(data[2]); DrawContestMoveHearts(data[2]);
} }