ref: 40c899162b5501f14905893b9780e01e4b6f6ba7
parent: bc4fec06944fbc861bd5559b2733c8a5d1564d73
author: Fredrik Ljungdahl <[email protected]>
date: Wed Aug 24 03:26:31 EDT 2022
Replace numbers with constants in PlayHitSound
--- a/engine/battle_anims/anim_commands.asm
+++ b/engine/battle_anims/anim_commands.asm
@@ -1312,9 +1312,9 @@
PlayHitSound:
ld a, [wNumHits]
- cp $1
+ cp BATTLEANIM_ENEMY_DAMAGE
jr z, .okay
- cp $4
+ cp BATTLEANIM_PLAYER_DAMAGE
ret nz
.okay