mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-11-14 00:56:40 +13:00
name text destination pointer variable
This commit is contained in:
parent
0eedb40608
commit
46a94c63fc
|
|
@ -1,5 +1,5 @@
|
||||||
TextBoxBorder::
|
TextBoxBorder::
|
||||||
; Draw a cxb text box at hl.
|
; Draw a c×b text box at hl.
|
||||||
|
|
||||||
; top row
|
; top row
|
||||||
push hl
|
push hl
|
||||||
|
|
@ -369,9 +369,9 @@ TextCommandProcessor::
|
||||||
xor e
|
xor e
|
||||||
ld [wLetterPrintingDelayFlags],a
|
ld [wLetterPrintingDelayFlags],a
|
||||||
ld a,c
|
ld a,c
|
||||||
ld [wUnusedCC3A],a
|
ld [wTextDest],a
|
||||||
ld a,b
|
ld a,b
|
||||||
ld [wUnusedCC3B],a
|
ld [wTextDest + 1],a
|
||||||
|
|
||||||
NextTextCommand::
|
NextTextCommand::
|
||||||
ld a,[hli]
|
ld a,[hli]
|
||||||
|
|
@ -480,10 +480,10 @@ TextCommand02::
|
||||||
TextCommand03::
|
TextCommand03::
|
||||||
pop hl
|
pop hl
|
||||||
ld a,[hli]
|
ld a,[hli]
|
||||||
ld [wUnusedCC3A],a
|
ld [wTextDest],a
|
||||||
ld c,a
|
ld c,a
|
||||||
ld a,[hli]
|
ld a,[hli]
|
||||||
ld [wUnusedCC3B],a
|
ld [wTextDest + 1],a
|
||||||
ld b,a
|
ld b,a
|
||||||
jp NextTextCommand
|
jp NextTextCommand
|
||||||
|
|
||||||
|
|
|
||||||
9
wram.asm
9
wram.asm
|
|
@ -445,11 +445,10 @@ wTradeCenterPointerTableIndex:: ; cc38
|
||||||
|
|
||||||
ds 1
|
ds 1
|
||||||
|
|
||||||
wUnusedCC3A:: ; cc3a
|
wTextDest:: ; cc3a
|
||||||
ds 1
|
; destination pointer for text output
|
||||||
|
; this variable is written to, but is never read from
|
||||||
wUnusedCC3B:: ; cc3b
|
ds 2
|
||||||
ds 1
|
|
||||||
|
|
||||||
wDoNotWaitForButtonPressAfterDisplayingText:: ; cc3c
|
wDoNotWaitForButtonPressAfterDisplayingText:: ; cc3c
|
||||||
; if non-zero, skip waiting for a button press after displaying text in DisplayTextID
|
; if non-zero, skip waiting for a button press after displaying text in DisplayTextID
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue