Update pokemon_summary_screen.c

This commit is contained in:
sneed
2022-05-25 08:37:36 +03:00
parent c316b11739
commit 5c92062c23
+2 -2
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]);
} }