summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
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