diff options
| author | edave64 <edave64@users.noreply.github.com> | 2025-04-02 16:49:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-02 10:49:15 -0400 |
| commit | e1b7b8af0a431f4624fc668a58b535a8be438d72 (patch) | |
| tree | abc59fa45c0a302d7ad45e161f7bb7061533c6aa /engine/battle/effects.asm | |
| parent | Remove GSC-only Stadium data handling from make_patch.c (diff) | |
| download | pokeyellow-e1b7b8af0a431f4624fc668a58b535a8be438d72.tar.gz pokeyellow-e1b7b8af0a431f4624fc668a58b535a8be438d72.tar.xz pokeyellow-e1b7b8af0a431f4624fc668a58b535a8be438d72.zip | |
Use constants for PP masks instead of magic numbers (#504)
Diffstat (limited to 'engine/battle/effects.asm')
| -rw-r--r-- | engine/battle/effects.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/battle/effects.asm b/engine/battle/effects.asm index 439e41e2..5782a3f0 100644 --- a/engine/battle/effects.asm +++ b/engine/battle/effects.asm @@ -1332,7 +1332,7 @@ DisableEffect: or [hl] inc hl or [hl] - and $3f + and PP_MASK pop hl ; wBattleMonPP or wEnemyMonPP jr z, .moveMissedPopHL ; nothing to do if all moves have no PP left add hl, bc |
