summaryrefslogtreecommitdiff
path: root/engine/battle/effect_commands.asm
diff options
context:
space:
mode:
authorIdain <luiscarlosholguinperez@outlook.com>2022-03-30 20:44:58 -0400
committermid-kid <esteve.varela@gmail.com>2022-04-06 10:28:18 +0000
commitb06cfe78fd8494fbccd4186b970382c49c416b5c (patch)
tree133fe1105a037461fa494d796a56cea43314c209 /engine/battle/effect_commands.asm
parent1d97d41ea2be9cd99c7e5688f128b1b6568262c5 (diff)
Use NUM_BATTLE_STATS instead of raw numbers
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 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