mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Use NUM_BATTLE_STATS instead of raw numbers
This commit is contained in:
parent
1d97d41ea2
commit
b06cfe78fd
@ -4878,7 +4878,7 @@ CalcPlayerStats:
|
|||||||
ld de, wPlayerStats
|
ld de, wPlayerStats
|
||||||
ld bc, wBattleMonAttack
|
ld bc, wBattleMonAttack
|
||||||
|
|
||||||
ld a, 5
|
ld a, NUM_BATTLE_STATS
|
||||||
call CalcBattleStats
|
call CalcBattleStats
|
||||||
|
|
||||||
ld hl, BadgeStatBoosts
|
ld hl, BadgeStatBoosts
|
||||||
@ -4899,7 +4899,7 @@ CalcEnemyStats:
|
|||||||
ld de, wEnemyStats
|
ld de, wEnemyStats
|
||||||
ld bc, wEnemyMonAttack
|
ld bc, wEnemyMonAttack
|
||||||
|
|
||||||
ld a, 5
|
ld a, NUM_BATTLE_STATS
|
||||||
call CalcBattleStats
|
call CalcBattleStats
|
||||||
|
|
||||||
call BattleCommand_SwitchTurn
|
call BattleCommand_SwitchTurn
|
||||||
|
Loading…
Reference in New Issue
Block a user