Rename OBJECT_LENGTH to MAPOBJECT_LENGTH and OBJECT_STRUCT_LENGTH to OBJECT_LENGTH

This commit is contained in:
Rangi
2019-11-03 12:25:59 -05:00
parent 01f68fcc6a
commit 5134266b9a
10 changed files with 37 additions and 37 deletions

View File

@@ -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