mirror of
https://github.com/pret/pokeyellow.git
synced 2026-03-21 17:34:31 -05:00
34 lines
771 B
NASM
34 lines
771 B
NASM
Route18Gate2F_Script:
|
|
jp DisableAutoTextBoxDrawing
|
|
|
|
Route18Gate2F_TextPointers:
|
|
def_text_pointers
|
|
dw_const Route18Gate2FCookText, TEXT_ROUTE18GATE2F_COOK
|
|
dw_const Route18Gate2FLeftBinocularsText, TEXT_ROUTE18GATE2F_LEFT_BINOCULARS
|
|
dw_const Route18Gate2FRightBinocularsText, TEXT_ROUTE18GATE2F_RIGHT_BINOCULARS
|
|
|
|
Route18Gate2FCookText:
|
|
text_asm
|
|
ld a, TRADE_FOR_SPIKE
|
|
ld [wWhichTrade], a
|
|
predef DoInGameTradeDialogue
|
|
jp TextScriptEnd
|
|
|
|
Route18Gate2FLeftBinocularsText:
|
|
text_asm
|
|
ld hl, .Text
|
|
jp GateUpstairsScript_PrintIfFacingUp
|
|
|
|
.Text:
|
|
text_far _Route18Gate2FLeftBinocularsText
|
|
text_end
|
|
|
|
Route18Gate2FRightBinocularsText:
|
|
text_asm
|
|
ld hl, .Text
|
|
jp GateUpstairsScript_PrintIfFacingUp
|
|
|
|
.Text:
|
|
text_far _Route18Gate2FRightBinocularsText
|
|
text_end
|