summaryrefslogtreecommitdiff
path: root/maps/Route1Gate1F.asm
blob: 4772da7ed408a72aa91a95e5ff063ca91f6e7e6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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