summaryrefslogtreecommitdiff
path: root/scripts/Route1Gate2F.asm
blob: e38370e0bb2c4ab3282fb731d3fe630a1a903862 (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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
INCLUDE "constants.asm"

SECTION "scripts/Route1Gate2F.asm", ROMX

Route1Gate2F_ScriptLoader::
	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
Route1Gate2F_TextPointers::
	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