summaryrefslogtreecommitdiff
path: root/home/map.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-12-23 16:54:28 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-12-23 16:54:28 -0500
commit5db892782adaa5bb5a3e4cd6fa06565764bd1fb0 (patch)
tree006b809d2d77e34b57db5688fa9529f8cc7ab64b /home/map.asm
parent99e66c25577e367d6c7ca75fea8b466b54c3317a (diff)
Remove "Buffer" suffix from two HRAM labels
Diffstat (limited to 'home/map.asm')
-rw-r--r--home/map.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/home/map.asm b/home/map.asm
index 096abc9eb..6e99237e0 100644
--- a/home/map.asm
+++ b/home/map.asm
@@ -1124,7 +1124,7 @@ CoordinatesEventText::
text_end
CheckObjectMask::
- ldh a, [hMapObjectIndexBuffer]
+ ldh a, [hMapObjectIndex]
ld e, a
ld d, 0
ld hl, wObjectMasks
@@ -1133,7 +1133,7 @@ CheckObjectMask::
ret
MaskObject::
- ldh a, [hMapObjectIndexBuffer]
+ ldh a, [hMapObjectIndex]
ld e, a
ld d, 0
ld hl, wObjectMasks
@@ -1142,7 +1142,7 @@ MaskObject::
ret
UnmaskObject::
- ldh a, [hMapObjectIndexBuffer]
+ ldh a, [hMapObjectIndex]
ld e, a
ld d, 0
ld hl, wObjectMasks
@@ -1433,7 +1433,7 @@ SaveScreen::
ld de, wScreenSave
ld a, [wMapWidth]
add 6
- ldh [hMapObjectIndexBuffer], a
+ ldh [hMapObjectIndex], a
ld a, [wPlayerStepDirection]
and a
jr z, .down
@@ -1447,7 +1447,7 @@ SaveScreen::
.up
ld de, wScreenSave + SCREEN_META_WIDTH
- ldh a, [hMapObjectIndexBuffer]
+ ldh a, [hMapObjectIndex]
ld c, a
ld b, 0
add hl, bc