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.
19 lines
458 B
NASM
19 lines
458 B
NASM
UndergroundPathRoute5_Script:
|
|
ld a, ROUTE_5
|
|
ld [wLastMap], a
|
|
ret
|
|
|
|
UndergroundPathEntranceRoute5_TextScriptEndingText:
|
|
text_end
|
|
|
|
UndergroundPathRoute5_TextPointers:
|
|
def_text_pointers
|
|
dw_const UndergroundPathRoute5LittleGirlText, TEXT_UNDERGROUNDPATHROUTE5_LITTLE_GIRL
|
|
|
|
UndergroundPathRoute5LittleGirlText:
|
|
text_asm
|
|
ld a, TRADE_FOR_SPOT
|
|
ld [wWhichTrade], a
|
|
predef DoInGameTradeDialogue
|
|
ld hl, UndergroundPathEntranceRoute5_TextScriptEndingText
|
|
ret
|