pokegold-spaceworld/scripts/Route1Gate1F.asm
Narishma-gb e88fe24e15
Use the same Makefile build system as Gen 1+2 repos (#163)
This uses catch-all files like main.asm to reduce the total quantity and size of
build objects (from 1.1 GB to 70 MB).

---------

Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
2026-07-05 15:36:09 -04:00

52 lines
963 B
NASM

Route1Gate1F_ScriptLoader::
ld hl, Route1Gate1FScriptPointers
call RunMapScript
call WriteBackMapScriptNumber
ret
Route1Gate1FScriptPointers::
dw Route1Gate1FScript
dw Route1Gate1FNPCIDs
Route1Gate1FNPCIDs:
db $00
db $01
db $FF
Route1Gate1FSignPointers:
dw MapDefaultText ;no signs
Route1Gate1F_TextPointers::
dw Route1Gate1FText1
dw Route1Gate1FText2
Route1Gate1FScript:
ld hl, Route1Gate1FNPCIDs
ld de, Route1Gate1FSignPointers
call CallMapTextSubroutine
ret
Route1Gate1FText1:
ld hl, Route1Gate1FText1String
call OpenTextbox
ret
Route1Gate1FText2:
ld hl, Route1Gate1FText2String
call OpenTextbox
ret
Route1Gate1FText1String:
text "このゲートを ぬけると"
line "すぐに オールドシティ です"
done
Route1Gate1FText2String:
text "オールドシティには"
line "あの ゆうめいな"
cont "ごじゅうのとう が あるの"
para "いってみたこと ある?"
done
;ends at 40D9