diff --git a/constants/battle_constants.asm b/constants/battle_constants.asm index 34a3ab67..ea503a20 100644 --- a/constants/battle_constants.asm +++ b/constants/battle_constants.asm @@ -68,7 +68,7 @@ DEF MAX_STAT_VALUE EQU 999 ; trainer dvs, these should be set to 15. DEF ATKDEFDV_TRAINER EQU $FF -DEF SPDSPCDV_TRAINER EQU $FF +DEF SPDSPCDV_TRAINER EQU $FF ; wPlayerBattleStatus1 or wEnemyBattleStatus1 bit flags const_def diff --git a/engine/battle/core.asm b/engine/battle/core.asm index e81f416b..e0215adc 100644 --- a/engine/battle/core.asm +++ b/engine/battle/core.asm @@ -6151,7 +6151,8 @@ LoadEnemyMonData: jr z, .storeDVs ; random DVs for wild mon call BattleRandom - ld b, a + ld a, ATKDEFDV_TRAINER + ld b, SPDSPCDV_TRAINER call BattleRandom .storeDVs ld hl, wEnemyMonDVs