summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2015-07-26 00:11:33 -0700
committeryenatch <yenatch@gmail.com>2015-07-26 00:11:33 -0700
commitabf3fc21378ddc6a4028aa1852d256472bc859e0 (patch)
tree68f0e44c4bc3a312254590a346530e66114c34f2 /main.asm
parentec10d9dd6f8db685270529b49f0b3007a7242dcc (diff)
Name some map event reading functions.
Diffstat (limited to 'main.asm')
-rw-r--r--main.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.asm b/main.asm
index 11c1a0f0b..91b37788d 100644
--- a/main.asm
+++ b/main.asm
@@ -25236,7 +25236,7 @@ MenuDataHeader_0x24547: ; 0x24547
Function2454f: ; 2454f
ld hl, wd81e
xor a
- ld bc, $10
+ ld bc, NUM_OBJECTS
call ByteFill
nop
ld bc, MapObjects
@@ -25254,13 +25254,13 @@ Function2454f: ; 2454f
ld [de], a
inc de
pop bc
- ld hl, $10
+ ld hl, OBJECT_LENGTH
add hl, bc
ld b, h
ld c, l
pop af
inc a
- cp $10
+ cp NUM_OBJECTS
jr nz, .loop
ret