mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-01-23 09:16:20 -08:00
Replace numbers with constants in PlayHitSound
This commit is contained in:
parent
bc4fec0694
commit
40c899162b
@ -1312,9 +1312,9 @@ endr
|
||||
|
||||
PlayHitSound:
|
||||
ld a, [wNumHits]
|
||||
cp $1
|
||||
cp BATTLEANIM_ENEMY_DAMAGE
|
||||
jr z, .okay
|
||||
cp $4
|
||||
cp BATTLEANIM_PLAYER_DAMAGE
|
||||
ret nz
|
||||
|
||||
.okay
|
||||
|
Loading…
x
Reference in New Issue
Block a user