summaryrefslogtreecommitdiff
path: root/data/scripts/maps/Route109_SeashoreHouse.inc
blob: e70f91ca8fdbf9c05ca7409ea24748274f067863 (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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
Route109_SeashoreHouse_MapScripts:: @ 82693F4
	map_script 3, Route109_SeashoreHouse_MapScript1_2693FA
	.byte 0

Route109_SeashoreHouse_MapScript1_2693FA: @ 82693FA
	setflag FLAG_LANDMARK_SEASHORE_HOUSE
	end

Route109_SeashoreHouse_EventScript_2693FE:: @ 82693FE
	lock
	faceplayer
	checkflag FLAG_0x08C
	goto_eq Route109_SeashoreHouse_EventScript_269460
	checkflag FLAG_0x08D
	goto_eq Route109_SeashoreHouse_EventScript_269432
	checkflag FLAG_0x002
	goto_eq Route109_SeashoreHouse_EventScript_269428
	msgbox Route109_SeashoreHouse_Text_269555, 4
	setflag FLAG_0x002
	release
	end

Route109_SeashoreHouse_EventScript_269428:: @ 8269428
	msgbox Route109_SeashoreHouse_Text_269635, 4
	release
	end

Route109_SeashoreHouse_EventScript_269432:: @ 8269432
	msgbox Route109_SeashoreHouse_Text_269685, 4
	giveitem_std ITEM_SODA_POP, 6
	compare VAR_RESULT, 0
	goto_eq Route109_SeashoreHouse_EventScript_269456
	setflag FLAG_0x08C
	release
	end

Route109_SeashoreHouse_EventScript_269456:: @ 8269456
	msgbox Route109_SeashoreHouse_Text_26973A, 4
	release
	end

Route109_SeashoreHouse_EventScript_269460:: @ 8269460
	showmoneybox 0, 0, 0
	msgbox Route109_SeashoreHouse_Text_26977E, 5
	compare VAR_RESULT, 1
	goto_eq Route109_SeashoreHouse_EventScript_269484
	msgbox Route109_SeashoreHouse_Text_2697EF, 4
	hidemoneybox
	nop
	nop
	release
	end

Route109_SeashoreHouse_EventScript_269484:: @ 8269484
	checkmoney 0x12c, 0
	compare VAR_RESULT, 0
	goto_eq Route109_SeashoreHouse_EventScript_2694C8
	checkitemspace ITEM_SODA_POP, 1
	compare VAR_RESULT, 0
	goto_eq Route109_SeashoreHouse_EventScript_2694D5
	msgbox Route109_SeashoreHouse_Text_2697C8, 4
	takemoney 0x12c, 0
	updatemoneybox 0, 0
	nop
	giveitem_std ITEM_SODA_POP
	hidemoneybox
	nop
	nop
	release
	end

Route109_SeashoreHouse_EventScript_2694C8:: @ 82694C8
	msgbox Route109_SeashoreHouse_Text_2697D5, 4
	hidemoneybox
	nop
	nop
	release
	end

Route109_SeashoreHouse_EventScript_2694D5:: @ 82694D5
	msgbox gUnknown_08272AD0, 4
	hidemoneybox
	nop
	nop
	release
	end

Route109_SeashoreHouse_EventScript_2694E2:: @ 82694E2
	trainerbattle 2, TRAINER_DWAYNE, 0, Route109_SeashoreHouse_Text_269803, Route109_SeashoreHouse_Text_269867, Route109_SeashoreHouse_EventScript_269533
	msgbox Route109_SeashoreHouse_Text_26989D, 6
	end

Route109_SeashoreHouse_EventScript_2694FD:: @ 82694FD
	trainerbattle 2, TRAINER_JOHANNA, 0, Route109_SeashoreHouse_Text_2698E3, Route109_SeashoreHouse_Text_269947, Route109_SeashoreHouse_EventScript_269533
	msgbox Route109_SeashoreHouse_Text_269953, 6
	end

Route109_SeashoreHouse_EventScript_269518:: @ 8269518
	trainerbattle 2, TRAINER_SIMON, 0, Route109_SeashoreHouse_Text_269986, Route109_SeashoreHouse_Text_2699C5, Route109_SeashoreHouse_EventScript_269533
	msgbox Route109_SeashoreHouse_Text_2699DF, 6
	end

Route109_SeashoreHouse_EventScript_269533:: @ 8269533
	checktrainerflag TRAINER_DWAYNE
	goto_if 0, Route109_SeashoreHouse_EventScript_269553
	checktrainerflag TRAINER_JOHANNA
	goto_if 0, Route109_SeashoreHouse_EventScript_269553
	checktrainerflag TRAINER_SIMON
	goto_if 0, Route109_SeashoreHouse_EventScript_269553
	setflag FLAG_0x08D
	release
	end

Route109_SeashoreHouse_EventScript_269553:: @ 8269553
	release
	end

Route109_SeashoreHouse_Text_269555: @ 8269555
	.string "I’m the owner of the SEASHORE HOUSE.\n"
	.string "But you can call me MR. SEA!\p"
	.string "What I love above all is to see hot\n"
	.string "POKéMON battles.\p"
	.string "Let me see that your heart burns hot!\p"
	.string "If you can defeat all the TRAINERS\n"
	.string "here, I’ll reward your efforts.$"

Route109_SeashoreHouse_Text_269635: @ 8269635
	.string "Show me some hot matches!\p"
	.string "I run this SEASHORE HOUSE just for\n"
	.string "that reason alone!$"

Route109_SeashoreHouse_Text_269685: @ 8269685
	.string "You’re scorching hot!\n"
	.string "Those battles blazed!\l"
	.string "I’m more than just satisfied!\p"
	.string "As thanks for showing me your hot\n"
	.string "streak, I want you to take these.\p"
	.string "It’s half a dozen bottles of SODA POP!$"

Route109_SeashoreHouse_Text_26973A: @ 826973A
	.string "Oh, but hey, your BAG’s jammed full.\n"
	.string "I’ll hang on to these for you.$"

Route109_SeashoreHouse_Text_26977E: @ 826977E
	.string "Want to buy some SODA POP?\n"
	.string "POKéMON love it!\p"
	.string "Just ¥300 a bottle!\n"
	.string "Buy some!$"

Route109_SeashoreHouse_Text_2697C8: @ 82697C8
	.string "Here you go!$"

Route109_SeashoreHouse_Text_2697D5: @ 82697D5
	.string "You don’t have the money.$"

Route109_SeashoreHouse_Text_2697EF: @ 82697EF
	.string "No?\n"
	.string "That’s too bad.$"

Route109_SeashoreHouse_Text_269803: @ 8269803
	.string "If you’re looking for a battle in the\n"
	.string "SEASHORE HOUSE, you’ll find no\l"
	.string "hotter TRAINER than me, matey!$"

Route109_SeashoreHouse_Text_269867: @ 8269867
	.string "That was a hot battle!\n"
	.string "I can accept that loss, matey!$"

Route109_SeashoreHouse_Text_26989D: @ 826989D
	.string "Whenever I’m in SLATEPORT, I enjoy\n"
	.string "hot battles and ice-cold SODA POP!$"

Route109_SeashoreHouse_Text_2698E3: @ 82698E3
	.string "Boring battles aren’t worth the effort.\p"
	.string "Fiery hot battles are what toughen up\n"
	.string "TRAINERS and POKéMON!$"

Route109_SeashoreHouse_Text_269947: @ 8269947
	.string "That’s hot!$"

Route109_SeashoreHouse_Text_269953: @ 8269953
	.string "Whew, I’m all thirsty.\n"
	.string "Maybe I’ll have a SODA POP.$"

Route109_SeashoreHouse_Text_269986: @ 8269986
	.string "I’m going to show you how great\n"
	.string "my POKéMON are, but don’t cry!$"

Route109_SeashoreHouse_Text_2699C5: @ 82699C5
	.string "…I lost, but I won’t cry…$"

Route109_SeashoreHouse_Text_2699DF: @ 82699DF
	.string "If one of my POKéMON knew the move\n"
	.string "for carrying me across water on its\l"
	.string "back, I could get rid of this inner tube.$"