CalcStats -> CalcBattleStats

Confusingly ambiguous name
This commit is contained in:
mid-kid 2018-11-23 23:03:27 +01:00
parent 41f39211ca
commit 5dfe652ff6
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
; (except accuracy, see data/battle/accuracy_multipliers.asm). ; (except accuracy, see data/battle/accuracy_multipliers.asm).
; This table is identical to data/battle/stat_multipliers_2.asm. ; This table is identical to data/battle/stat_multipliers_2.asm.
; This one is used by CalcStats. ; This one is used by CalcBattleStats.
StatLevelMultipliers: StatLevelMultipliers:
db 25, 100 ; -6 = 25% db 25, 100 ; -6 = 25%

View File

@ -4853,7 +4853,7 @@ CalcPlayerStats:
ld bc, wBattleMonAttack ld bc, wBattleMonAttack
ld a, 5 ld a, 5
call CalcStats call CalcBattleStats
ld hl, BadgeStatBoosts ld hl, BadgeStatBoosts
call CallBattleCore call CallBattleCore
@ -4874,7 +4874,7 @@ CalcEnemyStats:
ld bc, wEnemyMonAttack ld bc, wEnemyMonAttack
ld a, 5 ld a, 5
call CalcStats call CalcBattleStats
call BattleCommand_SwitchTurn call BattleCommand_SwitchTurn
@ -4886,7 +4886,7 @@ CalcEnemyStats:
jp BattleCommand_SwitchTurn jp BattleCommand_SwitchTurn
CalcStats: CalcBattleStats:
.loop .loop
push af push af
ld a, [hli] ld a, [hli]