summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsphericalice <sphericalice@outlook.com>2021-07-24 18:54:37 +0100
committersphericalice <sphericalice@outlook.com>2021-07-24 18:54:37 +0100
commit71de6ea93901b72a0dfb514d3e871407901c117c (patch)
treeab0b8c1fbc3f35d4e0c341350c0fa2e70e42f751 /src
parent0e22b21b141666c76bdbc4ee6b6b55e67f61e052 (diff)
Use the correct constant for PSS page comparison
Diffstat (limited to 'src')
-rw-r--r--src/pokemon_summary_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pokemon_summary_screen.c b/src/pokemon_summary_screen.c
index 31505b7c9..097cb30a4 100644
--- a/src/pokemon_summary_screen.c
+++ b/src/pokemon_summary_screen.c
@@ -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);