Remove "Buffer" suffix from two HRAM labels

This commit is contained in:
Rangi
2020-12-23 16:54:28 -05:00
parent 99e66c2557
commit 5db892782a
19 changed files with 107 additions and 107 deletions

View File

@@ -346,14 +346,14 @@ WaitPressAorB_BlinkCursor::
;
; NOTE: The cursor has to be shown before calling
; this function or no cursor will be shown at all.
ldh a, [hMapObjectIndexBuffer]
ldh a, [hMapObjectIndex]
push af
ldh a, [hObjectStructIndexBuffer]
ldh a, [hObjectStructIndex]
push af
xor a
ldh [hMapObjectIndexBuffer], a
ldh [hMapObjectIndex], a
ld a, 6
ldh [hObjectStructIndexBuffer], a
ldh [hObjectStructIndex], a
.loop
push hl
@@ -367,9 +367,9 @@ WaitPressAorB_BlinkCursor::
jr z, .loop
pop af
ldh [hObjectStructIndexBuffer], a
ldh [hObjectStructIndex], a
pop af
ldh [hMapObjectIndexBuffer], a
ldh [hMapObjectIndex], a
ret
SimpleWaitPressAorB::
@@ -447,37 +447,37 @@ BlinkCursor::
cp b
pop bc
jr nz, .place_arrow
ldh a, [hMapObjectIndexBuffer]
ldh a, [hMapObjectIndex]
dec a
ldh [hMapObjectIndexBuffer], a
ldh [hMapObjectIndex], a
ret nz
ldh a, [hObjectStructIndexBuffer]
ldh a, [hObjectStructIndex]
dec a
ldh [hObjectStructIndexBuffer], a
ldh [hObjectStructIndex], a
ret nz
ld a, "─"
ld [hl], a
ld a, -1
ldh [hMapObjectIndexBuffer], a
ldh [hMapObjectIndex], a
ld a, 6
ldh [hObjectStructIndexBuffer], a
ldh [hObjectStructIndex], a
ret
.place_arrow
ldh a, [hMapObjectIndexBuffer]
ldh a, [hMapObjectIndex]
and a
ret z
dec a
ldh [hMapObjectIndexBuffer], a
ldh [hMapObjectIndex], a
ret nz
dec a
ldh [hMapObjectIndexBuffer], a
ldh a, [hObjectStructIndexBuffer]
ldh [hMapObjectIndex], a
ldh a, [hObjectStructIndex]
dec a
ldh [hObjectStructIndexBuffer], a
ldh [hObjectStructIndex], a
ret nz
ld a, 6
ldh [hObjectStructIndexBuffer], a
ldh [hObjectStructIndex], a
ld a, "▼"
ld [hl], a
ret