diff options
| author | Linus Unnebäck <linus@folkdatorn.se> | 2023-11-17 19:50:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-17 12:50:27 -0600 |
| commit | 83b373ad734fb0bf4b476b0f38dbeec8ea205f19 (patch) | |
| tree | b4178b8d993b12ec11fa5369c3f924e27fe2cfcb /home/predef_text.asm | |
| parent | Use map object consts in data/maps/hide_show_data.asm (#432) (diff) | |
| download | pokeyellow-83b373ad734fb0bf4b476b0f38dbeec8ea205f19.tar.gz pokeyellow-83b373ad734fb0bf4b476b0f38dbeec8ea205f19.tar.xz pokeyellow-83b373ad734fb0bf4b476b0f38dbeec8ea205f19.zip | |
Add constants for wMapConnections bits and group map header wram labels
* Add constants for wMapConnections bits
* Apply Vulcandth and Rangi42 feedback
---------
Co-authored-by: vulcandth <vulcandth@gmail.com>
Diffstat (limited to 'home/predef_text.asm')
| -rw-r--r-- | home/predef_text.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/home/predef_text.asm b/home/predef_text.asm index b494a2c8..1537ad5b 100644 --- a/home/predef_text.asm +++ b/home/predef_text.asm @@ -7,7 +7,7 @@ PrintPredefTextID:: call DisplayTextID RestoreMapTextPointer:: - ld hl, wMapTextPtr + ld hl, wCurMapTextPtr ldh a, [hSavedMapTextPtr] ld [hli], a ldh a, [hSavedMapTextPtr + 1] @@ -15,14 +15,14 @@ RestoreMapTextPointer:: ret SetMapTextPointer:: - ld a, [wMapTextPtr] + ld a, [wCurMapTextPtr] ldh [hSavedMapTextPtr], a - ld a, [wMapTextPtr + 1] + ld a, [wCurMapTextPtr + 1] ldh [hSavedMapTextPtr + 1], a ld a, l - ld [wMapTextPtr], a + ld [wCurMapTextPtr], a ld a, h - ld [wMapTextPtr + 1], a + ld [wCurMapTextPtr + 1], a ret INCLUDE "data/text_predef_pointers.asm" |
