mirror of
https://github.com/pret/pokered.git
synced 2024-10-22 22:55:31 +00:00
d001ced41b
This introduces `def_script_pointers`, `def_text_pointers`, and `object_const_def` macros, and applies them to all maps. Most other map labels have also been identified.
18 lines
468 B
NASM
18 lines
468 B
NASM
CeruleanTradeHouse_Script:
|
|
jp EnableAutoTextBoxDrawing
|
|
|
|
CeruleanTradeHouse_TextPointers:
|
|
def_text_pointers
|
|
dw_const CeruleanTradeHouseGrannyText, TEXT_CERULEANTRADEHOUSE_GRANNY
|
|
dw_const CeruleanTradeHouseGamblerText, TEXT_CERULEANTRADEHOUSE_GAMBLER
|
|
|
|
CeruleanTradeHouseGrannyText:
|
|
text_far _CeruleanTradeHouseGrannyText
|
|
text_end
|
|
|
|
CeruleanTradeHouseGamblerText:
|
|
text_asm
|
|
ld a, TRADE_FOR_LOLA
|
|
ld [wWhichTrade], a
|
|
predef DoInGameTradeDialogue
|
|
jp TextScriptEnd
|