Use NUM_BATTLE_STATS instead of raw numbers

This commit is contained in:
Idain 2022-03-30 20:44:58 -04:00 committed by mid-kid
parent 1d97d41ea2
commit b06cfe78fd

View File

@ -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