summaryrefslogtreecommitdiff
path: root/engine/battle/effect_commands.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2022-04-08 17:11:05 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2022-04-08 17:11:05 -0400
commitd0491ecb6ecd1206f8ad9e82a8a265a73e4c0811 (patch)
tree2993d5765d88df75108b3aa0050cffff1d2d6b44 /engine/battle/effect_commands.asm
parentfa8f30723e16e3454adc72a0bee9b524f5636fe8 (diff)
Use NUM_BATTLE_STATS instead of raw numbersHEADmaster
Diffstat (limited to 'engine/battle/effect_commands.asm')
-rw-r--r--engine/battle/effect_commands.asm4
1 files changed, 2 insertions, 2 deletions
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