summaryrefslogtreecommitdiff
path: root/scripts/Route1Gate1F.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Route1Gate1F.asm')
-rw-r--r--scripts/Route1Gate1F.asm55
1 files changed, 55 insertions, 0 deletions
diff --git a/scripts/Route1Gate1F.asm b/scripts/Route1Gate1F.asm
new file mode 100644
index 0000000..767df68
--- /dev/null
+++ b/scripts/Route1Gate1F.asm
@@ -0,0 +1,55 @@
+include "constants.asm"
+
+SECTION "scripts/Route1Gate1F.asm", ROMX
+
+Route1Gate1FScriptLoader::
+ ld hl, Route1Gate1FScriptPointers
+ call RunMapScript
+ call WriteBackMapScriptNumber
+ ret
+
+Route1Gate1FScriptPointers:
+ dw Route1Gate1FScript ;>> routine
+ dw Route1Gate1FNPCIDs ;>> data
+
+Route1Gate1FNPCIDs:
+ db $00
+ db $01
+ db $FF
+
+Route1Gate1FSignPointers:
+ dw MapDefaultText ;no signs
+Route1Gate1FTextPointers::
+ 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