diff options
| author | DrNyk <nicktwitch@outlook.com> | 2026-01-17 16:42:12 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-17 16:42:12 -0500 |
| commit | 4e22af12bcf73205fb3bfbd535a90eeeba8a3dcb (patch) | |
| tree | 28c15142a219ced621166e513534aded2c784f5f | |
| parent | Align move grammar with pokecrystal (#565) (diff) | |
| download | pokeyellow-4e22af12bcf73205fb3bfbd535a90eeeba8a3dcb.tar.gz pokeyellow-4e22af12bcf73205fb3bfbd535a90eeeba8a3dcb.tar.xz pokeyellow-4e22af12bcf73205fb3bfbd535a90eeeba8a3dcb.zip | |
Replace hard-coded numbers with constants in haze.asm (#564)
| -rw-r--r-- | engine/battle/move_effects/haze.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/battle/move_effects/haze.asm b/engine/battle/move_effects/haze.asm index 76722d0e..0f89ad19 100644 --- a/engine/battle/move_effects/haze.asm +++ b/engine/battle/move_effects/haze.asm @@ -59,7 +59,7 @@ CureVolatileStatuses: ret ResetStatMods: - ld b, $8 + ld b, NUM_STAT_MODS .loop ld [hli], a dec b @@ -67,7 +67,7 @@ ResetStatMods: ret ResetStats: - ld b, $8 + ld b, (NUM_STATS - 1) * 2 ; doesn't reset STAT_HEALTH .loop ld a, [hli] ld [de], a |
