summaryrefslogtreecommitdiff
path: root/scripts/Route1Gate2F.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi@gmail.com>2020-09-21 11:58:10 -0400
committerRangi <remy.oukaour+rangi@gmail.com>2020-09-21 12:15:06 -0400
commit9f2ef498fb319ab6a0b343f8165af49ad33b5c78 (patch)
tree35eee5afd82436a5b5969e1c22c1f49f87926189 /scripts/Route1Gate2F.asm
parentf2118b1715e8ef29d6967e0a9ab24cb8cd1a8aa4 (diff)
Copy pokered map organization (maps/*.blk, scripts/*.asm, data/maps/objects/*.asm)
Diffstat (limited to 'scripts/Route1Gate2F.asm')
-rw-r--r--scripts/Route1Gate2F.asm85
1 files changed, 85 insertions, 0 deletions
diff --git a/scripts/Route1Gate2F.asm b/scripts/Route1Gate2F.asm
new file mode 100644
index 0000000..987dae2
--- /dev/null
+++ b/scripts/Route1Gate2F.asm
@@ -0,0 +1,85 @@
+include "constants.asm"
+
+SECTION "scripts/Route1Gate2F.asm", ROMX
+
+Route1Gate2FScriptLoader::
+ ld hl, Route1Gate2FScriptPointers
+ call RunMapScript
+ call WriteBackMapScriptNumber
+ ret
+
+Route1Gate2FScriptPointers:
+ dw Route1Gate2FScript
+ dw Route1Gate2FNPCIDs
+
+Route1Gate2FNPCIDs:
+ db 0
+ db 1
+ db $FF
+
+Route1Gate2FSignPointers:
+ dw Route1Gate2FTextSign1
+ dw Route1Gate2FTextSign2
+Route1Gate2FTextPointers::
+ dw Route1Gate2FTextNPC1
+ dw Route1Gate2FTextNPC2
+
+Route1Gate2FScript::
+ ld hl, Route1Gate2FNPCIDs
+ ld de, Route1Gate2FSignPointers
+ call CallMapTextSubroutine
+ ret
+
+Route1Gate2FTextNPC1:
+ ld hl, Route1Gate2FTextString1
+ call OpenTextbox
+ ret
+
+Route1Gate2FTextNPC2:
+ ld hl, Route1Gate2FTextString2
+ call OpenTextbox
+ ret
+
+Route1Gate2FTextSign1:
+ ld hl, Route1Gate2FTextString3
+ call OpenTextbox
+ ret
+
+Route1Gate2FTextSign2:
+ ld hl, Route1Gate2FTextString4
+ call OpenTextbox
+ ret
+
+Route1Gate2FTextString1:
+ text "ガンテツさんって しってる?"
+
+ para "ガンテツさんに"
+ line "きに いられるように なれば"
+ cont "トレーナーとして たいしたもの よ"
+ done
+
+Route1Gate2FTextString2:
+ text "あなた かんこうで きたの?"
+ line "なら ざんねんね"
+
+ para "オールドシティの"
+ line "ごじゅうのとう は"
+ cont "だれでも はいれる って"
+ cont "ものじゃないわ"
+ done
+
+Route1Gate2FTextString3:
+ text "<PLAYER>は"
+ line "ぼうえんきょうを のぞいた!"
+
+ para "むむむ!"
+ line "たかーい とう が みえる!"
+ done
+
+Route1Gate2FTextString4:
+ text "<PLAYER>は"
+ line "ぼうえんきょうを のぞいた!"
+
+ para "むむ?"
+ line "ながーい かわ が みえる"
+ done