From d0491ecb6ecd1206f8ad9e82a8a265a73e4c0811 Mon Sep 17 00:00:00 2001 From: Rangi Date: Fri, 8 Apr 2022 17:11:05 -0400 Subject: Use NUM_BATTLE_STATS instead of raw numbers --- engine/battle/effect_commands.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine') diff --git a/engine/battle/effect_commands.asm b/engine/battle/effect_commands.asm index 361eb06d..0bbaae20 100644 --- a/engine/battle/effect_commands.asm +++ b/engine/battle/effect_commands.asm @@ -4837,7 +4837,7 @@ CalcPlayerStats: ld de, wPlayerStats ld bc, wBattleMonAttack - ld a, 5 + ld a, NUM_BATTLE_STATS call CalcBattleStats ld hl, BadgeStatBoosts @@ -4858,7 +4858,7 @@ CalcEnemyStats: ld de, wEnemyStats ld bc, wEnemyMonAttack - ld a, 5 + ld a, NUM_BATTLE_STATS call CalcBattleStats call BattleCommand_SwitchTurn -- cgit v1.2.3