summaryrefslogtreecommitdiff
path: root/home/trainers.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2019-11-04 19:40:58 -0500
committerGitHub <noreply@github.com>2019-11-04 19:40:58 -0500
commit9ebe549347aa16ae3f10d3261242bb1e7bbb6ca6 (patch)
tree521a897c2da997534abd6f6adc1625968bc4603a /home/trainers.asm
parentc9563d5c5e8e3612ac40d70d6f6f5e03ba231f16 (diff)
parentd076159745e688bd58f1e512c4e0fcdd942161e9 (diff)
Merge pull request #654 from Rangi42/master
Miscellaneous cleanup issues
Diffstat (limited to 'home/trainers.asm')
-rw-r--r--home/trainers.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/trainers.asm b/home/trainers.asm
index 9d012f719..e9971be3f 100644
--- a/home/trainers.asm
+++ b/home/trainers.asm
@@ -15,7 +15,7 @@ _CheckTrainerBattle::
; Skip the player object.
ld a, 1
- ld de, wMapObjects + OBJECT_LENGTH
+ ld de, wMapObjects + MAPOBJECT_LENGTH
.loop
@@ -78,7 +78,7 @@ _CheckTrainerBattle::
.next
pop de
- ld hl, OBJECT_LENGTH
+ ld hl, MAPOBJECT_LENGTH
add hl, de
ld d, h
ld e, l