summaryrefslogtreecommitdiff
path: root/engine/pokemon/add_mon.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-16 09:40:30 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-16 09:40:30 -0400
commit58f10893707004fe353422e19f3d1f2b89e60a6c (patch)
tree69486e888ed37f92af44738c3599943025af9bb5 /engine/pokemon/add_mon.asm
parent8c83ebe9663ef317c8bd3b74339047bda29be1a4 (diff)
Define constants for default trainer DVs
Diffstat (limited to 'engine/pokemon/add_mon.asm')
-rw-r--r--engine/pokemon/add_mon.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/pokemon/add_mon.asm b/engine/pokemon/add_mon.asm
index 0c72ff5b..d7e7eab1 100644
--- a/engine/pokemon/add_mon.asm
+++ b/engine/pokemon/add_mon.asm
@@ -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.