mirror of https://github.com/pret/pokecrystal.git
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…
Reference in New Issue