summaryrefslogtreecommitdiff
path: root/engine/battle/effect_commands.asm
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2018-11-23 23:03:27 +0100
committermid-kid <esteve.varela@gmail.com>2018-11-23 23:03:27 +0100
commit5dfe652ff60008dd5f1ca6dd49322b2826d5fd52 (patch)
tree7894a02e56ccd619fc49006d2200bb8e587b83b2 /engine/battle/effect_commands.asm
parent41f39211ca3448ee79a6c65757bd703f247442fd (diff)
CalcStats -> CalcBattleStats
Confusingly ambiguous name
Diffstat (limited to 'engine/battle/effect_commands.asm')
-rw-r--r--engine/battle/effect_commands.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/battle/effect_commands.asm b/engine/battle/effect_commands.asm
index f257b025c..8125115e8 100644
--- a/engine/battle/effect_commands.asm
+++ b/engine/battle/effect_commands.asm
@@ -4853,7 +4853,7 @@ CalcPlayerStats:
ld bc, wBattleMonAttack
ld a, 5
- call CalcStats
+ call CalcBattleStats
ld hl, BadgeStatBoosts
call CallBattleCore
@@ -4874,7 +4874,7 @@ CalcEnemyStats:
ld bc, wEnemyMonAttack
ld a, 5
- call CalcStats
+ call CalcBattleStats
call BattleCommand_SwitchTurn
@@ -4886,7 +4886,7 @@ CalcEnemyStats:
jp BattleCommand_SwitchTurn
-CalcStats:
+CalcBattleStats:
.loop
push af
ld a, [hli]