aboutsummaryrefslogtreecommitdiffstats
path: root/home/text_script.asm
diff options
context:
space:
mode:
authorLinus Unnebäck <linus@folkdatorn.se>2023-11-17 19:50:27 +0100
committerGitHub <noreply@github.com>2023-11-17 12:50:27 -0600
commit83b373ad734fb0bf4b476b0f38dbeec8ea205f19 (patch)
treeb4178b8d993b12ec11fa5369c3f924e27fe2cfcb /home/text_script.asm
parentUse map object consts in data/maps/hide_show_data.asm (#432) (diff)
downloadpokeyellow-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/text_script.asm')
-rw-r--r--home/text_script.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/text_script.asm b/home/text_script.asm
index 9e1ba275..ceae1a0a 100644
--- a/home/text_script.asm
+++ b/home/text_script.asm
@@ -13,7 +13,7 @@ DisplayTextID::
.skipSwitchToMapBank
ld a, 30 ; half a second
ldh [hFrameCounter], a ; used as joypad poll timer
- ld hl, wMapTextPtr
+ ld hl, wCurMapTextPtr
ld a, [hli]
ld h, [hl]
ld l, a ; hl = map text pointer