From 40c899162b5501f14905893b9780e01e4b6f6ba7 Mon Sep 17 00:00:00 2001 From: Fredrik Ljungdahl Date: Wed, 24 Aug 2022 07:26:31 +0200 Subject: [PATCH] Replace numbers with constants in PlayHitSound --- engine/battle_anims/anim_commands.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/battle_anims/anim_commands.asm b/engine/battle_anims/anim_commands.asm index 493bff1c0..d2b252f22 100644 --- a/engine/battle_anims/anim_commands.asm +++ b/engine/battle_anims/anim_commands.asm @@ -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