summaryrefslogtreecommitdiff
path: root/maps/Route1Gate1F.asm
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-07-03 13:37:21 -0400
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-07-03 13:37:21 -0400
commit9824a5762008d083ea149af477a3093b89d269a7 (patch)
tree84359c2f08878986c4b7486f576c8b9280840f7e /maps/Route1Gate1F.asm
parent75e4f784924393ccedb27f2831e5a36fe11bada5 (diff)
parent3fab27f221a8d5400d4b203809ff9b13355d55a3 (diff)
Merge branch 'master' of https://github.com/pret/pokegold-spaceworld
Diffstat (limited to 'maps/Route1Gate1F.asm')
-rw-r--r--maps/Route1Gate1F.asm55
1 files changed, 55 insertions, 0 deletions
diff --git a/maps/Route1Gate1F.asm b/maps/Route1Gate1F.asm
new file mode 100644
index 0000000..4772da7
--- /dev/null
+++ b/maps/Route1Gate1F.asm
@@ -0,0 +1,55 @@
+include "constants.asm"
+
+SECTION "Route 1 Gate 1F", ROMX[$4061], BANK[$26]
+
+Route1Gate1FScriptLoader: ;4061
+ ld hl, Route1Gate1FScriptPointers
+ call RunMapScript
+ call WriteBackMapScriptNumber
+ ret
+
+Route1Gate1FScriptPointers:
+ dw Route1Gate1FScript ;>> routine
+ dw Route1Gate1FNPCIDs ;>> data
+
+Route1Gate1FNPCIDs: ; 406F
+ db $00
+ db $01
+ db $FF
+
+Route1Gate1FTextPointers:
+ dw MapDefaultText ;no signs
+ dw Route1Gate1FText1
+ dw Route1Gate1FText2
+
+Route1Gate1FScript: ; 4078
+ ld hl, Route1Gate1FNPCIDs
+ ld de, Route1Gate1FTextPointers
+ call CallMapTextSubroutine
+ ret
+
+Route1Gate1FText1: ; 4082
+ ld hl, Route1Gate1FText1String
+ call OpenTextbox
+ ret
+
+Route1Gate1FText2: ; 4089
+ ld hl, Route1Gate1FText2String
+ call OpenTextbox
+ ret
+
+Route1Gate1FText1String: ; 4090
+ text "このゲートを ぬけると"
+ line "すぐに オールドシティ です"
+ done
+
+Route1Gate1FText2String: ; 40AC
+ text "オールドシティには"
+ line "あの ゆうめいな"
+ cont "ごじゅうのとう が あるの"
+
+ para "いってみたこと ある?"
+ done
+
+;ends at 40D9
+