Rename some labels

- Remove "Buffer" suffix from some byte and word quantities
- Change "Ptr" to "Pointer"

Fixes #789
This commit is contained in:
Rangi
2020-12-23 16:29:30 -05:00
parent 1a054661ec
commit 99e66c2557
106 changed files with 584 additions and 578 deletions

View File

@@ -8,7 +8,7 @@ Predef::
ld a, BANK(GetPredefPointer)
rst Bankswitch
call GetPredefPointer ; stores hl in wPredefTemp
call GetPredefPointer ; stores hl in wPredefHL
; Switch to the new function's bank
rst Bankswitch
@@ -27,9 +27,9 @@ Predef::
push hl
; Get hl back
ld a, [wPredefTemp]
ld a, [wPredefHL]
ld h, a
ld a, [wPredefTemp + 1]
ld a, [wPredefHL + 1]
ld l, a
ret
@@ -37,16 +37,16 @@ Predef::
; Clean up after the Predef call
ld a, h
ld [wPredefTemp], a
ld [wPredefHL], a
ld a, l
ld [wPredefTemp + 1], a
ld [wPredefHL + 1], a
pop hl
ld a, h
rst Bankswitch
ld a, [wPredefTemp]
ld a, [wPredefHL]
ld h, a
ld a, [wPredefTemp + 1]
ld a, [wPredefHL + 1]
ld l, a
ret