aboutsummaryrefslogtreecommitdiffstats
path: root/engine/pokemon
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-07-16 17:00:57 -0400
committerGitHub <noreply@github.com>2020-07-16 17:00:57 -0400
commitd44c7c305c3f94b59e3e2c008408779836a0020a (patch)
tree2cdc51be4a22992701038b959d6c964e9ee8fc58 /engine/pokemon
parentMerge pull request #276 from TheFakeMateo/master (diff)
parentDefine constants for audio commands (diff)
downloadpokeyellow-d44c7c305c3f94b59e3e2c008408779836a0020a.tar.gz
pokeyellow-d44c7c305c3f94b59e3e2c008408779836a0020a.tar.xz
pokeyellow-d44c7c305c3f94b59e3e2c008408779836a0020a.zip
Merge pull request #277 from Rangi42/master
Miscellaneous constant and label updates
Diffstat (limited to 'engine/pokemon')
-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.