Define constants for default trainer DVs

This commit is contained in:
Rangi 2020-07-16 09:40:30 -04:00
parent 8c83ebe966
commit 58f1089370
3 changed files with 8 additions and 4 deletions

View file

@ -75,8 +75,8 @@ _AddPartyMon::
push hl
ld a, [wMonDataLocation]
and $f
ld a, $98 ; set enemy trainer mon IVs to fixed average values
ld b, $88
ld a, ATKDEFDV_TRAINER ; set enemy trainer mon IVs to fixed average values
ld b, SPDSPCDV_TRAINER
jr nz, .next4
; If the mon is being added to the player's party, update the pokedex.