pokered/scripts/Route2TradeHouse.asm
vulcandth d001ced41b
Add macros, constants, and labels for map scripts and text (#367)
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.
2023-07-13 21:27:56 -04:00

18 lines
474 B
NASM

Route2TradeHouse_Script:
jp EnableAutoTextBoxDrawing
Route2TradeHouse_TextPointers:
def_text_pointers
dw_const Route2TradeHouseScientistText, TEXT_ROUTE2TRADEHOUSE_SCIENTIST
dw_const Route2TradeHouseGameboyKidText, TEXT_ROUTE2TRADEHOUSE_GAMEBOY_KID
Route2TradeHouseScientistText:
text_far _Route2TradeHouseScientistText
text_end
Route2TradeHouseGameboyKidText:
text_asm
ld a, TRADE_FOR_MARCEL
ld [wWhichTrade], a
predef DoInGameTradeDialogue
jp TextScriptEnd