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