mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-16 18:30:50 +12:00

need to fix layout link to futureproof it better but for now it works. Mart changes save space in wRAM.
33 lines
540 B
NASM
33 lines
540 B
NASM
PewterMart_Script:
|
|
call EnableAutoTextBoxDrawing
|
|
ld a, TRUE
|
|
ld [wAutoTextBoxDrawingControl], a
|
|
ret
|
|
|
|
PewterMart_TextPointers:
|
|
dw PewterCashierText
|
|
dw PewterMartText2
|
|
dw PewterMartText3
|
|
|
|
PewterMartText2:
|
|
text_asm
|
|
ld hl, .Text
|
|
call PrintText
|
|
jp TextScriptEnd
|
|
|
|
.Text
|
|
text_far _PewterMartText2
|
|
text_end
|
|
|
|
PewterMartText3:
|
|
text_asm
|
|
ld hl, .Text
|
|
call PrintText
|
|
jp TextScriptEnd
|
|
|
|
.Text
|
|
text_far _PewterMartText3
|
|
text_end
|
|
|
|
PewterCashierText::
|
|
script_mart POKE_BALL, POTION, ESCAPE_ROPE, ANTIDOTE, BURN_HEAL, AWAKENING, PARLYZ_HEAL |