mirror of
https://github.com/pret/pokeyellow.git
synced 2026-03-21 17:34:31 -05:00
Replace hard-coded numbers with constants in haze.asm (#564)
This commit is contained in:
parent
85b9d866c8
commit
4e22af12bc
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user