From b06cfe78fd8494fbccd4186b970382c49c416b5c Mon Sep 17 00:00:00 2001 From: Idain Date: Wed, 30 Mar 2022 20:44:58 -0400 Subject: [PATCH] Use NUM_BATTLE_STATS instead of raw numbers --- engine/battle/effect_commands.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/battle/effect_commands.asm b/engine/battle/effect_commands.asm index de1a15103..de1247abf 100644 --- a/engine/battle/effect_commands.asm +++ b/engine/battle/effect_commands.asm @@ -4878,7 +4878,7 @@ CalcPlayerStats: ld de, wPlayerStats ld bc, wBattleMonAttack - ld a, 5 + ld a, NUM_BATTLE_STATS call CalcBattleStats ld hl, BadgeStatBoosts @@ -4899,7 +4899,7 @@ CalcEnemyStats: ld de, wEnemyStats ld bc, wEnemyMonAttack - ld a, 5 + ld a, NUM_BATTLE_STATS call CalcBattleStats call BattleCommand_SwitchTurn