mirror of
https://github.com/pret/pokered.git
synced 2024-10-23 06:58:24 +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.
26 lines
728 B
NASM
26 lines
728 B
NASM
CinnabarLabTradeRoom_Script:
|
|
jp EnableAutoTextBoxDrawing
|
|
|
|
CinnabarLabTradeRoom_TextPointers:
|
|
def_text_pointers
|
|
dw_const CinnabarLabTradeRoomSuperNerdText, TEXT_CINNABARLABTRADEROOM_SUPER_NERD
|
|
dw_const CinnabarLabTradeRoomGrampsText, TEXT_CINNABARLABTRADEROOM_GRAMPS
|
|
dw_const CinnabarLabTradeRoomBeautyText, TEXT_CINNABARLABTRADEROOM_BEAUTY
|
|
|
|
CinnabarLabTradeRoomSuperNerdText:
|
|
text_far _CinnabarLabTradeRoomSuperNerdText
|
|
text_end
|
|
|
|
CinnabarLabTradeRoomGrampsText:
|
|
text_asm
|
|
ld a, TRADE_FOR_DORIS
|
|
ld [wWhichTrade], a
|
|
jr CinnabarLabTradeRoomDoTrade
|
|
|
|
CinnabarLabTradeRoomBeautyText:
|
|
text_asm
|
|
ld a, TRADE_FOR_CRINKLES
|
|
ld [wWhichTrade], a
|
|
CinnabarLabTradeRoomDoTrade:
|
|
predef DoInGameTradeDialogue
|
|
jp TextScriptEnd
|