Replace numbers with constants in PlayHitSound

This commit is contained in:
Fredrik Ljungdahl 2022-08-24 07:26:31 +02:00 committed by mid-kid
parent bc4fec0694
commit 40c899162b
1 changed files with 2 additions and 2 deletions

View File

@ -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