diff options
author | Rangi <remy.oukaour+rangi@gmail.com> | 2020-09-21 11:58:10 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi@gmail.com> | 2020-09-21 12:15:06 -0400 |
commit | 9f2ef498fb319ab6a0b343f8165af49ad33b5c78 (patch) | |
tree | 35eee5afd82436a5b5969e1c22c1f49f87926189 /scripts/Route1Gate1F.asm | |
parent | f2118b1715e8ef29d6967e0a9ab24cb8cd1a8aa4 (diff) |
Copy pokered map organization (maps/*.blk, scripts/*.asm, data/maps/objects/*.asm)
Diffstat (limited to 'scripts/Route1Gate1F.asm')
-rw-r--r-- | scripts/Route1Gate1F.asm | 55 |
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 |