mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
CalcStats -> CalcBattleStats
Confusingly ambiguous name
This commit is contained in:
parent
41f39211ca
commit
5dfe652ff6
@ -2,7 +2,7 @@
|
||||
; (except accuracy, see data/battle/accuracy_multipliers.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:
|
||||
db 25, 100 ; -6 = 25%
|
||||
|
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user