pokered/scripts/Route18Gate2F.asm

34 lines
780 B
NASM
Raw Normal View History

Route18Gate2F_Script:
2014-05-18 18:19:10 +00:00
jp DisableAutoTextBoxDrawing
Route18Gate2F_TextPointers:
def_text_pointers
dw_const Route18Gate2FYoungsterText, TEXT_ROUTE18GATE2F_YOUNGSTER
dw_const Route18Gate2FLeftBinocularsText, TEXT_ROUTE18GATE2F_LEFT_BINOCULARS
dw_const Route18Gate2FRightBinocularsText, TEXT_ROUTE18GATE2F_RIGHT_BINOCULARS
2014-05-18 18:19:10 +00:00
Route18Gate2FYoungsterText:
text_asm
2020-07-16 13:32:09 +00:00
ld a, TRADE_FOR_MARC
2014-05-18 18:19:10 +00:00
ld [wWhichTrade], a
2015-02-07 10:43:08 +00:00
predef DoInGameTradeDialogue
2014-05-18 18:19:10 +00:00
jp TextScriptEnd
Route18Gate2FLeftBinocularsText:
text_asm
ld hl, .Text
jp GateUpstairsScript_PrintIfFacingUp
2014-05-18 18:19:10 +00:00
.Text:
text_far _Route18Gate2FLeftBinocularsText
text_end
2014-05-18 18:19:10 +00:00
Route18Gate2FRightBinocularsText:
text_asm
ld hl, .Text
jp GateUpstairsScript_PrintIfFacingUp
2014-05-18 18:19:10 +00:00
.Text:
text_far _Route18Gate2FRightBinocularsText
text_end