Prefix wram labels with w, part 2.

This commit is contained in:
luckytyphlosion
2018-01-23 17:39:09 -05:00
parent 79bd48f85c
commit a1951cefc0
323 changed files with 8581 additions and 8581 deletions

View File

@@ -1,14 +1,14 @@
GetPredefPointer:: ; 854b
; Return the bank and address of PredefID in a and PredefAddress.
; Return the bank and address of wPredefID in a and wPredefAddress.
; Save hl for later (back in Predef)
ld a, h
ld [PredefTemp], a
ld [wPredefTemp], a
ld a, l
ld [PredefTemp + 1], a
ld [wPredefTemp + 1], a
push de
ld a, [PredefID]
ld a, [wPredefID]
ld e, a
ld d, 0
ld hl, PredefPointers
@@ -18,9 +18,9 @@ GetPredefPointer:: ; 854b
pop de
ld a, [hli]
ld [PredefAddress + 1], a
ld [wPredefAddress + 1], a
ld a, [hli]
ld [PredefAddress], a
ld [wPredefAddress], a
ld a, [hl]
ret