diff options
author | yenatch <yenatch@gmail.com> | 2018-02-03 17:15:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-03 17:15:20 -0500 |
commit | b35eb72290b964b98844afbe741bb7ede34b9ef3 (patch) | |
tree | 2cf2652bc9c3e69ae5f7b2a2632c02a12498615f /engine/predef.asm | |
parent | 7547ad839cf1c8141b931d08ef16a894e7db68c9 (diff) | |
parent | 32ade4ac9bf113d630d904aab51f2c49c91bf8c2 (diff) |
Merge pull request #480 from luckytyphlosion/master
[Ready to merge] Prefix wram labels with w.
Diffstat (limited to 'engine/predef.asm')
-rw-r--r-- | engine/predef.asm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engine/predef.asm b/engine/predef.asm index 6c8c2c5f2..13c593c90 100644 --- a/engine/predef.asm +++ b/engine/predef.asm @@ -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 |