summaryrefslogtreecommitdiff
path: root/data/scripts/maps/FortreeCity_Gym.inc
blob: 01ce60717952e217d532d8f52ff6e98b26383c9f (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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
FortreeCity_Gym_MapScripts:: @ 82165AB
	map_script 3, FortreeCity_Gym_MapScript1_2165B6
	map_script 4, FortreeCity_Gym_MapScript2_2165BA
	.byte 0

FortreeCity_Gym_MapScript1_2165B6: @ 82165B6
	special sub_80FBE90
	end

FortreeCity_Gym_MapScript2_2165BA: @ 82165BA
	map_script_2 VAR_0x4000, 16384, FortreeCity_Gym_EventScript_2165C4
	.2byte 0

FortreeCity_Gym_EventScript_2165C4:: @ 82165C4
	special RotatingGate_InitPuzzleAndGraphics
	end

FortreeCity_Gym_EventScript_2165C8:: @ 82165C8
	trainerbattle 1, TRAINER_WINONA_1, 0, FortreeCity_Gym_Text_216D75, FortreeCity_Gym_Text_216E60, FortreeCity_Gym_EventScript_2165FD
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare VAR_RESULT, 1
	goto_eq FortreeCity_Gym_EventScript_21668D
	checkflag FLAG_0x0AA
	goto_if 0, FortreeCity_Gym_EventScript_216646
	msgbox FortreeCity_Gym_Text_217071, 4
	release
	end

FortreeCity_Gym_EventScript_2165FD:: @ 82165FD
	message FortreeCity_Gym_Text_216EEC
	waitmessage
	call FortreeCity_Gym_EventScript_27207E
	msgbox FortreeCity_Gym_Text_216F17, 4
	setflag FLAG_0x4F5
	setflag FLAG_BADGE06_GET
	setvar VAR_0x8008, 6
	call FortreeCity_Gym_EventScript_271F43
	call FortreeCity_Gym_EventScript_21666A
	closemessage
	delay 30
	playfanfare MUS_ME_TORE_EYE
	msgbox FortreeCity_Gym_Text_217044, 4
	waitfanfare
	closemessage
	delay 30
	setflag FLAG_0x1D7
	setvar VAR_0x40F3, 0
	setflag FLAG_0x08A
	release
	end

FortreeCity_Gym_EventScript_216646:: @ 8216646
	giveitem_std ITEM_TM40
	compare VAR_RESULT, 0
	goto_eq FortreeCity_Gym_EventScript_272054
	msgbox FortreeCity_Gym_Text_216FEC, 4
	setflag FLAG_0x0AA
	release
	end

FortreeCity_Gym_EventScript_21666A:: @ 821666A
	giveitem_std ITEM_TM40
	compare VAR_RESULT, 0
	goto_eq FortreeCity_Gym_EventScript_27205E
	msgbox FortreeCity_Gym_Text_216FEC, 4
	setflag FLAG_0x0AA
	return

FortreeCity_Gym_EventScript_21668D:: @ 821668D
	trainerbattle 7, TRAINER_WINONA_1, 0, FortreeCity_Gym_Text_217100, FortreeCity_Gym_Text_2171E6, FortreeCity_Gym_Text_217292
	msgbox FortreeCity_Gym_Text_21720B, 6
	end

FortreeCity_Gym_EventScript_2166A8:: @ 82166A8
	trainerbattle 0, TRAINER_JARED, 0, FortreeCity_Gym_Text_2168A2, FortreeCity_Gym_Text_2168D3
	msgbox FortreeCity_Gym_Text_2168E7, 6
	end

FortreeCity_Gym_EventScript_2166BF:: @ 82166BF
	trainerbattle 0, TRAINER_EDWARDO, 0, FortreeCity_Gym_Text_21695A, FortreeCity_Gym_Text_2169C7
	msgbox FortreeCity_Gym_Text_2169F1, 6
	end

FortreeCity_Gym_EventScript_2166D6:: @ 82166D6
	trainerbattle 0, TRAINER_FLINT, 0, FortreeCity_Gym_Text_216A66, FortreeCity_Gym_Text_216AC4
	msgbox FortreeCity_Gym_Text_216AD7, 6
	end

FortreeCity_Gym_EventScript_2166ED:: @ 82166ED
	trainerbattle 0, TRAINER_ASHLEY, 0, FortreeCity_Gym_Text_216B1A, FortreeCity_Gym_Text_216B51
	msgbox FortreeCity_Gym_Text_216B5F, 6
	end

FortreeCity_Gym_EventScript_216704:: @ 8216704
	trainerbattle 0, TRAINER_HUMBERTO, 0, FortreeCity_Gym_Text_216B9E, FortreeCity_Gym_Text_216C18
	msgbox FortreeCity_Gym_Text_216C32, 6
	end

FortreeCity_Gym_EventScript_21671B:: @ 821671B
	trainerbattle 0, TRAINER_DARIUS, 0, FortreeCity_Gym_Text_216C96, FortreeCity_Gym_Text_216CF2
	msgbox FortreeCity_Gym_Text_216D0F, 6
	end

FortreeCity_Gym_EventScript_216732:: @ 8216732
	lock
	faceplayer
	checkflag FLAG_0x4F5
	goto_eq FortreeCity_Gym_EventScript_216747
	msgbox FortreeCity_Gym_Text_216785, 4
	release
	end

FortreeCity_Gym_EventScript_216747:: @ 8216747
	msgbox FortreeCity_Gym_Text_21687D, 4
	release
	end

FortreeCity_Gym_EventScript_216751:: @ 8216751
	lockall
	checkflag FLAG_BADGE06_GET
	goto_eq FortreeCity_Gym_EventScript_216771
	goto FortreeCity_Gym_EventScript_21677B
	end

FortreeCity_Gym_EventScript_216761:: @ 8216761
	lockall
	checkflag FLAG_BADGE06_GET
	goto_eq FortreeCity_Gym_EventScript_216771
	goto FortreeCity_Gym_EventScript_21677B
	end

FortreeCity_Gym_EventScript_216771:: @ 8216771
	msgbox FortreeCity_Gym_Text_2170C7, 4
	releaseall
	end

FortreeCity_Gym_EventScript_21677B:: @ 821677B
	msgbox FortreeCity_Gym_Text_2170AE, 4
	releaseall
	end

FortreeCity_Gym_Text_216785: @ 8216785
	.string "Yo, how’s it going, CHAMPION-\n"
	.string "bound {PLAYER}?\p"
	.string "FORTREE GYM LEADER WINONA is\n"
	.string "a master of FLYING-type POKéMON.\p"
	.string "She’s waiting at the back of this GYM,\n"
	.string "behind the rotating doors.\p"
	.string "She’s waiting for new challengers\n"
	.string "who are trying to take wing!\p"
	.string "Okay, go for it!$"

FortreeCity_Gym_Text_21687D: @ 821687D
	.string "You did it!\n"
	.string "You’ve achieved liftoff!$"

FortreeCity_Gym_Text_2168A2: @ 82168A2
	.string "Behold the elegant battle style of\n"
	.string "BIRD POKéMON!$"

FortreeCity_Gym_Text_2168D3: @ 82168D3
	.string "You…\n"
	.string "You’re strong…$"

FortreeCity_Gym_Text_2168E7: @ 82168E7
	.string "A TRAINER has to be smart to keep\n"
	.string "up with unexpected turns of events.\p"
	.string "Do you have the smarts to get to\n"
	.string "our LEADER?$"

FortreeCity_Gym_Text_21695A: @ 821695A
	.string "The lovers of BIRD POKéMON aspire\n"
	.string "to join this GYM.\p"
	.string "As a member of the FORTREE GYM,\n"
	.string "I’m not allowed to lose!$"

FortreeCity_Gym_Text_2169C7: @ 82169C7
	.string "It was too much of a load for me\n"
	.string "to bear…$"

FortreeCity_Gym_Text_2169F1: @ 82169F1
	.string "The world is huge, and there are\n"
	.string "countless tough TRAINERS.\p"
	.string "I’m going to keep training and make\n"
	.string "myself even stronger.$"

FortreeCity_Gym_Text_216A66: @ 8216A66
	.string "There’s no need for WINONA, our GYM\n"
	.string "LEADER, to deal with you!\p"
	.string "I’m plenty good enough for you!$"

FortreeCity_Gym_Text_216AC4: @ 8216AC4
	.string "WINONA, I…\n"
	.string "I lost!$"

FortreeCity_Gym_Text_216AD7: @ 8216AD7
	.string "WINONA is cute and she’s strong.\n"
	.string "She’s the ultimate LEADER!\p"
	.string "Blush…$"

FortreeCity_Gym_Text_216B1A: @ 8216B1A
	.string "WINONA taught me personally!\n"
	.string "You can’t beat me easily!$"

FortreeCity_Gym_Text_216B51: @ 8216B51
	.string "I was beaten…$"

FortreeCity_Gym_Text_216B5F: @ 8216B5F
	.string "Thanks to WINONA, the people of\n"
	.string "FORTREE can live without fear.$"

FortreeCity_Gym_Text_216B9E: @ 8216B9E
	.string "When WINONA takes to battle, her face\n"
	.string "shines with beautiful determination…\p"
	.string "I’m not letting you witness that\n"
	.string "lovely sight!$"

FortreeCity_Gym_Text_216C18: @ 8216C18
	.string "Urk!\n"
	.string "I couldn’t stop you.$"

FortreeCity_Gym_Text_216C32: @ 8216C32
	.string "You’d better watch it!\n"
	.string "Don’t get distracted staring at WINONA\l"
	.string "or you’ll go crashing down in a heap!$"

FortreeCity_Gym_Text_216C96: @ 8216C96
	.string "You’d better know that there are all\n"
	.string "sorts of FLYING-type POKéMON.\p"
	.string "You do know that, right?$"

FortreeCity_Gym_Text_216CF2: @ 8216CF2
	.string "You seem to know your stuff!$"

FortreeCity_Gym_Text_216D0F: @ 8216D0F
	.string "Sure, you beat me all right.\n"
	.string "But you’d better watch it! Our LEADER\l"
	.string "WINONA’s POKéMON are all business.$"

FortreeCity_Gym_Text_216D75: @ 8216D75
	.string "I am WINONA. I am the LEADER of\n"
	.string "the FORTREE POKéMON GYM.\p"
	.string "I have become one with BIRD POKéMON\n"
	.string "and have soared the skies…\p"
	.string "However grueling the battle, we have\n"
	.string "triumphed with grace…\p"
	.string "Witness the elegant choreography\n"
	.string "of BIRD POKéMON and I!$"

FortreeCity_Gym_Text_216E60: @ 8216E60
	.string "Never before have I seen a TRAINER\n"
	.string "command POKéMON with more grace\l"
	.string "than I…\p"
	.string "In recognition of your prowess,\n"
	.string "I present to you this GYM BADGE.$"

FortreeCity_Gym_Text_216EEC: @ 8216EEC
	.string "{PLAYER} received the FEATHER BADGE\n"
	.string "from WINONA.$"

FortreeCity_Gym_Text_216F17: @ 8216F17
	.string "With the FEATHER BADGE, all POKéMON up\n"
	.string "to LV 70, even those received through\l"
	.string "trades, will obey your every command.\p"
	.string "You will also be able to use\n"
	.string "the HM move FLY outside of battle.\p"
	.string "And this…\n"
	.string "This is a gift from me.$"

FortreeCity_Gym_Text_216FEC: @ 8216FEC
	.string "TM40 contains AERIAL ACE.\p"
	.string "Its speed…\n"
	.string "No POKéMON should be able to avoid it.\p"
	.string "… … … … … …$"

FortreeCity_Gym_Text_217044: @ 8217044
	.string "Registered GYM LEADER WINONA\n"
	.string "in the POKéNAV.$"

FortreeCity_Gym_Text_217071: @ 8217071
	.string "Though I fell to you, I will remain\n"
	.string "devoted to BIRD POKéMON.$"

FortreeCity_Gym_Text_2170AE: @ 82170AE
	.string "FORTREE CITY POKéMON GYM$"

FortreeCity_Gym_Text_2170C7: @ 82170C7
	.string "FORTREE CITY POKéMON GYM\p"
	.string "WINONA’S CERTIFIED TRAINERS:\n"
	.string "{PLAYER}$"

FortreeCity_Gym_Text_217100: @ 8217100
	.string "WINONA: We humans can never escape\n"
	.string "gravity’s pull on the ground.\p"
	.string "But by striving for excellence,\n"
	.string "we have the power to soar!\p"
	.string "You have scaled the pinnacle as\n"
	.string "the reigning CHAMPION.\p"
	.string "Please, allow me to see your power\n"
	.string "at full flight!$"

FortreeCity_Gym_Text_2171E6: @ 82171E6
	.string "I failed to reach your height again…$"

FortreeCity_Gym_Text_21720B: @ 821720B
	.string "WINONA: Even though I have lost,\n"
	.string "the wings of my heart remain unbroken.\p"
	.string "I can rise and soar again and\n"
	.string "yet again.\p"
	.string "I am convinced of it!$"

FortreeCity_Gym_Text_217292: @ 8217292
	.string "WINONA: We humans can never escape\n"
	.string "gravity’s pull on the ground.\p"
	.string "But by striving for excellence,\n"
	.string "we have the power to soar!\p"
	.string "You have scaled the pinnacle as\n"
	.string "the reigning CHAMPION.\p"
	.string "Please, allow me to see your power\n"
	.string "at full flight!\p"
	.string "Oh, no… Do you have but one\n"
	.string "POKéMON with you?\p"
	.string "Please return with two POKéMON\n"
	.string "at the very least.$"