summaryrefslogtreecommitdiff
path: root/data/scripts/maps/BattleFrontier_BattlePikeThreePathRoom.inc
blob: c1dcce8225ab9e9d0d4a7a4e689e352625511c6b (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
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
BattleFrontier_BattlePikeThreePathRoom_MapScripts:: @ 825C843
	map_script 5, BattleFrontier_BattlePikeThreePathRoom_MapScript1_2C423E
	map_script 2, BattleFrontier_BattlePikeThreePathRoom_MapScript2_25C853
	map_script 4, BattleFrontier_BattlePikeThreePathRoom_MapScript2_25C87D
	.byte 0

BattleFrontier_BattlePikeThreePathRoom_MapScript2_25C853: @ 825C853
	map_script_2 VAR_0x4000, 0, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C891
	map_script_2 VAR_0x4000, 1, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C89A
	map_script_2 VAR_0x4000, 2, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C8A4
	map_script_2 VAR_0x4005, 0, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA78
	map_script_2 VAR_0x4005, 1, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA97
	.2byte 0

BattleFrontier_BattlePikeThreePathRoom_MapScript2_25C87D: @ 825C87D
	map_script_2 VAR_0x4004, 0, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C887
	.2byte 0

BattleFrontier_BattlePikeThreePathRoom_EventScript_25C887:: @ 825C887
	setvar VAR_0x4004, 1
	turnobject 255, 2
	end

BattleFrontier_BattlePikeThreePathRoom_EventScript_25C891:: @ 825C891
	setvar VAR_0x8004, 0
	special sub_81A1780
	end

BattleFrontier_BattlePikeThreePathRoom_EventScript_25C89A:: @ 825C89A
	warp BATTLE_FRONTIER_BATTLE_PIKE_LOBBY, 255, 5, 6
	waitstate
	end

BattleFrontier_BattlePikeThreePathRoom_EventScript_25C8A4:: @ 825C8A4
	lockall
	message BattleFrontier_BattlePikeThreePathRoom_Text_25CD75
	waitmessage
	setvar VAR_0x8004, 8
	setvar VAR_0x8005, 1
	special sub_81A703C
	playse SE_SAVE
	waitse
	setvar VAR_0x8004, 2
	setvar VAR_0x8005, 3
	setvar VAR_0x8006, 0
	special sub_81A1780
	setvar VAR_0x4000, 255
	special copy_player_party_to_sav1
	setvar VAR_0x8004, 3
	setvar VAR_0x8005, 3
	special sub_81A1780
	msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25CDDA, 4
	closemessage
	releaseall
	setvar VAR_0x8004, 5
	special sub_81A1780
	setvar VAR_0x8004, 2
	setvar VAR_0x8005, 0
	setvar VAR_0x8006, 99
	special sub_81A1780
	end

BattleFrontier_BattlePikeThreePathRoom_EventScript_25C908:: @ 825C908
	setvar VAR_0x8004, 1
	setvar VAR_0x8005, 2
	special sub_81A1780
	switch VAR_RESULT
	case 1, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C968
	case 3, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C978
	case 5, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C988
	case 7, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C998
	case 9, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9A8
	case 11, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9B8
	case 13, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9C8
	end

BattleFrontier_BattlePikeThreePathRoom_EventScript_25C968:: @ 825C968
	lock
	faceplayer
	msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25CBDD, 4
	goto BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9D8
	end

BattleFrontier_BattlePikeThreePathRoom_EventScript_25C978:: @ 825C978
	lock
	faceplayer
	msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25CC00, 4
	goto BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9D8
	end

BattleFrontier_BattlePikeThreePathRoom_EventScript_25C988:: @ 825C988
	lock
	faceplayer
	msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25CC23, 4
	goto BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9D8
	end

BattleFrontier_BattlePikeThreePathRoom_EventScript_25C998:: @ 825C998
	lock
	faceplayer
	msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25CC46, 4
	goto BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9D8
	end

BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9A8:: @ 825C9A8
	lock
	faceplayer
	msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25CC69, 4
	goto BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9D8
	end

BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9B8:: @ 825C9B8
	lock
	faceplayer
	msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25CC8C, 4
	goto BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9D8
	end

BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9C8:: @ 825C9C8
	lock
	faceplayer
	msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25CCB0, 4
	goto BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9D8
	end

BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9D8:: @ 825C9D8
	msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25CCD4, 5
	switch VAR_RESULT
	case 0, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA2A
	case 127, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA2A
	release
	end

BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9FD:: @ 825C9FD
	setvar VAR_0x8004, 6
	special sub_81A1780
	message BattleFrontier_BattlePikeThreePathRoom_Text_25CE08
	waitmessage
	special copy_player_party_from_sav1
	setvar VAR_0x8004, 8
	setvar VAR_0x8005, 2
	special sub_81A703C
	playse SE_SAVE
	waitse
	fadescreen 1
	setvar VAR_0x8004, 4
	special sub_81A1780
	end

BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA2A:: @ 825CA2A
	msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25CCFB, 5
	switch VAR_RESULT
	case 1, BattleFrontier_BattlePikeThreePathRoom_EventScript_25C9FD
	case 0, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA5A
	case 127, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA5A
	release
	end

BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA5A:: @ 825CA5A
	message BattleFrontier_BattlePikeThreePathRoom_Text_25CD3C
	waitmessage
	multichoicedefault 20, 8, 94, 1, 0
	switch VAR_RESULT
	case 0, BattleFrontier_BattlePikeThreePathRoom_EventScript_2C4222
	release
	end

BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA78:: @ 825CA78
	setvar VAR_0x8004, 17
	special sub_81A703C
	compare_var_to_value VAR_RESULT, 1
	goto_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA91
	setvar VAR_0x4005, 255
	end

BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA91:: @ 825CA91
	setvar VAR_0x4005, 1
	end

BattleFrontier_BattlePikeThreePathRoom_EventScript_25CA97:: @ 825CA97
	applymovement 2, BattleFrontier_BattlePikeThreePathRoom_Movement_25CBCE
	waitmovement 0
	lockall
	msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25D094, 4
	releaseall
	applymovement 2, BattleFrontier_BattlePikeThreePathRoom_Movement_25CBD5
	waitmovement 0
	setvar VAR_0x4005, 255
	end

BattleFrontier_BattlePikeThreePathRoom_EventScript_25CABB:: @ 825CABB
	setvar VAR_0x8004, 19
	special sub_81A703C
	compare_var_to_value VAR_RESULT, 4
	goto_eq BattleFrontier_BattlePikeThreePathRoom_EventScript_25CBC2
	lock
	faceplayer
	msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25CE69, 5
	switch VAR_RESULT
	case 1, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CB0A
	case 0, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CB00
	case 127, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CB00
	release
	end

BattleFrontier_BattlePikeThreePathRoom_EventScript_25CB00:: @ 825CB00
	msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25CEBB, 4
	release
	end

BattleFrontier_BattlePikeThreePathRoom_EventScript_25CB0A:: @ 825CB0A
	setvar VAR_0x8004, 18
	special sub_81A703C
	switch VAR_RESULT
	case 0, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CB39
	case 1, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CB46
	case 2, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CB53
	end

BattleFrontier_BattlePikeThreePathRoom_EventScript_25CB39:: @ 825CB39
	msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25CF64, 4
	goto BattleFrontier_BattlePikeThreePathRoom_EventScript_25CB60

BattleFrontier_BattlePikeThreePathRoom_EventScript_25CB46:: @ 825CB46
	msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25CF23, 4
	goto BattleFrontier_BattlePikeThreePathRoom_EventScript_25CB60

BattleFrontier_BattlePikeThreePathRoom_EventScript_25CB53:: @ 825CB53
	msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25CEE3, 4
	goto BattleFrontier_BattlePikeThreePathRoom_EventScript_25CB60

BattleFrontier_BattlePikeThreePathRoom_EventScript_25CB60:: @ 825CB60
	setvar VAR_0x8004, 19
	special sub_81A703C
	switch VAR_RESULT
	case 0, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CB9A
	case 1, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CBA4
	case 2, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CBAE
	case 3, BattleFrontier_BattlePikeThreePathRoom_EventScript_25CBB8
	end

BattleFrontier_BattlePikeThreePathRoom_EventScript_25CB9A:: @ 825CB9A
	msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25D054, 4
	release
	end

BattleFrontier_BattlePikeThreePathRoom_EventScript_25CBA4:: @ 825CBA4
	msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25D017, 4
	release
	end

BattleFrontier_BattlePikeThreePathRoom_EventScript_25CBAE:: @ 825CBAE
	msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25CFA3, 4
	release
	end

BattleFrontier_BattlePikeThreePathRoom_EventScript_25CBB8:: @ 825CBB8
	msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25CFE5, 4
	release
	end

BattleFrontier_BattlePikeThreePathRoom_EventScript_25CBC2:: @ 825CBC2
	lock
	faceplayer
	msgbox BattleFrontier_BattlePikeThreePathRoom_Text_25D125, 4
	release
	end

BattleFrontier_BattlePikeThreePathRoom_Movement_25CBCE: @ 825CBCE
	step_left
	step_left
	step_down
	step_down
	step_down
	step_down
	step_end

BattleFrontier_BattlePikeThreePathRoom_Movement_25CBD5: @ 825CBD5
	step_up
	step_up
	step_up
	step_up
	step_right
	step_right
	step_00
	step_end

BattleFrontier_BattlePikeThreePathRoom_Text_25CBDD: @ 825CBDD
	.string "You are currently in\n"
	.string "the 1st room…$"

BattleFrontier_BattlePikeThreePathRoom_Text_25CC00: @ 825CC00
	.string "You are currently in\n"
	.string "the 3rd room…$"

BattleFrontier_BattlePikeThreePathRoom_Text_25CC23: @ 825CC23
	.string "You are currently in\n"
	.string "the 5th room…$"

BattleFrontier_BattlePikeThreePathRoom_Text_25CC46: @ 825CC46
	.string "You are currently in\n"
	.string "the 7th room…$"

BattleFrontier_BattlePikeThreePathRoom_Text_25CC69: @ 825CC69
	.string "You are currently in\n"
	.string "the 9th room…$"

BattleFrontier_BattlePikeThreePathRoom_Text_25CC8C: @ 825CC8C
	.string "You are currently in\n"
	.string "the 11th room…$"

BattleFrontier_BattlePikeThreePathRoom_Text_25CCB0: @ 825CCB0
	.string "You are currently in\n"
	.string "the 13th room…$"

BattleFrontier_BattlePikeThreePathRoom_Text_25CCD4: @ 825CCD4
	.string "Will you continue with\n"
	.string "your challenge?$"

BattleFrontier_BattlePikeThreePathRoom_Text_25CCFB: @ 825CCFB
	.string "Would you like to save your challenge\n"
	.string "and quit the game for now?$"

BattleFrontier_BattlePikeThreePathRoom_Text_25CD3C: @ 825CD3C
	.string "Do you wish to retire from your\n"
	.string "Battle Choice challenge?$"

BattleFrontier_BattlePikeThreePathRoom_Text_25CD75: @ 825CD75
	.string "We’ve been awaiting your return…\p"
	.string "Before resuming your Battle Choice\n"
	.string "challenge, let me save the game…$"

BattleFrontier_BattlePikeThreePathRoom_Text_25CDDA: @ 825CDDA
	.string "Please do enjoy your Battle Choice\n"
	.string "challenge…$"

BattleFrontier_BattlePikeThreePathRoom_Text_25CE08: @ 825CE08
	.string "I am saving your data…\n"
	.string "A little time, please…$"

BattleFrontier_BattlePikeRandomRoom1_Text_25CE36: @ 825CE36
BattleFrontier_BattlePikeRandomRoom3_Text_25CE36: @ 825CE36
BattleFrontier_BattlePikeThreePathRoom_Text_25CE36: @ 825CE36
	.string "The path is blocked!\n"
	.string "And there is no turning back…$"

BattleFrontier_BattlePikeThreePathRoom_Text_25CE69: @ 825CE69
	.string "I beg your pardon, but…\p"
	.string "Are you perhaps finding it difficult\n"
	.string "to choose your path?$"

BattleFrontier_BattlePikeThreePathRoom_Text_25CEBB: @ 825CEBB
	.string "I see…\n"
	.string "I apologize for my impertinence…$"

BattleFrontier_BattlePikeThreePathRoom_Text_25CEE3: @ 825CEE3
	.string "Ah, let me see… There is something\n"
	.string "about the path on the right…$"

BattleFrontier_BattlePikeThreePathRoom_Text_25CF23: @ 825CF23
	.string "Ah, let me see… There is something\n"
	.string "about the path in the center…$"

BattleFrontier_BattlePikeThreePathRoom_Text_25CF64: @ 825CF64
	.string "Ah, let me see… There is something\n"
	.string "about the path on the left…$"

BattleFrontier_BattlePikeThreePathRoom_Text_25CFA3: @ 825CFA3
	.string "It seems to have the distinct aroma\n"
	.string "of POKéMON wafting around it…$"

BattleFrontier_BattlePikeThreePathRoom_Text_25CFE5: @ 825CFE5
	.string "Is it… A TRAINER?\n"
	.string "I sense the presence of people…$"

BattleFrontier_BattlePikeThreePathRoom_Text_25D017: @ 825D017
	.string "I seem to have heard something…\n"
	.string "It may have been whispering…$"

BattleFrontier_BattlePikeThreePathRoom_Text_25D054: @ 825D054
	.string "For some odd reason, I felt a wave\n"
	.string "of nostalgia coming from it…$"

BattleFrontier_BattlePikeThreePathRoom_Text_25D094: @ 825D094
	.string "I am sorry to say…\p"
	.string "A terrifying event, yes, a horrible one,\n"
	.string "is about to befall you…\p"
	.string "I urge you to pay the utmost care\n"
	.string "and prepare for the worst…$"

BattleFrontier_BattlePikeThreePathRoom_Text_25D125: @ 825D125
	.string "From every path I sense a dreadful\n"
	.string "presence…$"