diff options
Diffstat (limited to 'home/map.asm')
-rw-r--r-- | home/map.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/home/map.asm b/home/map.asm index 788312db..172571cf 100644 --- a/home/map.asm +++ b/home/map.asm @@ -1027,7 +1027,7 @@ CoordinatesEventText:: text_end CheckObjectMask:: - ldh a, [hMapObjectIndexBuffer] + ldh a, [hMapObjectIndex] ld e, a ld d, 0 ld hl, wObjectMasks @@ -1036,7 +1036,7 @@ CheckObjectMask:: ret MaskObject:: - ldh a, [hMapObjectIndexBuffer] + ldh a, [hMapObjectIndex] ld e, a ld d, 0 ld hl, wObjectMasks @@ -1045,7 +1045,7 @@ MaskObject:: ret UnmaskObject:: - ldh a, [hMapObjectIndexBuffer] + ldh a, [hMapObjectIndex] ld e, a ld d, 0 ld hl, wObjectMasks @@ -1283,7 +1283,7 @@ SaveScreen:: ld de, wScreenSave ld a, [wMapWidth] add 6 - ldh [hMapObjectIndexBuffer], a + ldh [hMapObjectIndex], a ld a, [wPlayerStepDirection] and a jr z, .down @@ -1297,7 +1297,7 @@ SaveScreen:: .up ld de, wScreenSave + SCREEN_META_WIDTH - ldh a, [hMapObjectIndexBuffer] + ldh a, [hMapObjectIndex] ld c, a ld b, 0 add hl, bc |