Rename some labels
- Remove "Buffer" suffix from some byte and word quantities - Change "Ptr" to "Pointer" Fixes #789
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user