aboutsummaryrefslogtreecommitdiffstats
path: root/engine/pokemon
diff options
context:
space:
mode:
authoredave64 <edave64@users.noreply.github.com>2025-04-02 16:49:15 +0200
committerGitHub <noreply@github.com>2025-04-02 10:49:15 -0400
commite1b7b8af0a431f4624fc668a58b535a8be438d72 (patch)
treeabc59fa45c0a302d7ad45e161f7bb7061533c6aa /engine/pokemon
parentRemove GSC-only Stadium data handling from make_patch.c (diff)
downloadpokeyellow-e1b7b8af0a431f4624fc668a58b535a8be438d72.tar.gz
pokeyellow-e1b7b8af0a431f4624fc668a58b535a8be438d72.tar.xz
pokeyellow-e1b7b8af0a431f4624fc668a58b535a8be438d72.zip
Use constants for PP masks instead of magic numbers (#504)
Diffstat (limited to 'engine/pokemon')
-rw-r--r--engine/pokemon/status_screen.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/pokemon/status_screen.asm b/engine/pokemon/status_screen.asm
index 447db8fd..0649949c 100644
--- a/engine/pokemon/status_screen.asm
+++ b/engine/pokemon/status_screen.asm
@@ -364,7 +364,7 @@ StatusScreen2:
ld bc, wPartyMon1PP - wPartyMon1Moves - 1
add hl, bc
ld a, [hl]
- and $3f
+ and PP_MASK
ld [wStatusScreenCurrentPP], a
ld h, d
ld l, e