summaryrefslogtreecommitdiff
path: root/data/scripts/maps/BattleFrontier_BattleFactoryPreBattleRoom.inc
blob: 4c0528e34709ca2becccee8f845edeecc37a7af3 (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
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
BattleFrontier_BattleFactoryPreBattleRoom_MapScripts:: @ 8259ABA
	map_script 2, BattleFrontier_BattleFactoryPreBattleRoom_MapScript2_259AEF
	map_script 4, BattleFrontier_BattleFactoryPreBattleRoom_MapScript2_259AC5
	.byte 0

BattleFrontier_BattleFactoryPreBattleRoom_MapScript2_259AC5: @ 8259AC5
	map_script_2 VAR_0x4001, 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259ACF
	.2byte 0

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259ACF:: @ 8259ACF
	setvar VAR_0x4001, 1
	compare VAR_0x8006, 1
	goto_if 5, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259AEA
	setobjectxy 1, 8, 7
	turnobject 1, 1

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259AEA:: @ 8259AEA
	turnobject 255, 2
	end

BattleFrontier_BattleFactoryPreBattleRoom_MapScript2_259AEF: @ 8259AEF
	map_script_2 VAR_0x4000, 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259AF9
	.2byte 0

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259AF9:: @ 8259AF9
	compare VAR_0x8006, 1
	goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259BA5
	setvar VAR_0x4000, 1
	applymovement 1, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1AC
	applymovement 255, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A19A
	waitmovement 0
	compare VAR_0x8006, 2
	goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E69
	setvar VAR_0x8004, 13
	special sub_81A5E74
	setvar VAR_0x8004, 12
	special sub_81A5E74
	setvar VAR_0x8004, 14
	special sub_81A5E74
	setorcopyvar VAR_0x8005, VAR_RESULT
	setvar VAR_0x8004, 15
	special sub_81A5E74
	setorcopyvar VAR_0x8006, VAR_RESULT
	call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E93
	call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A004
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A1C8, 4
	fadescreen 1
	setvar VAR_0x8004, 8
	special sub_81A5E74
	setvar VAR_0x8004, 6
	special sub_81A5E74
	waitstate

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74:: @ 8259B74
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AB96, 4
	closemessage
	call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_23F2B7
	compare VAR_RESULT, 0
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A17C
	compare VAR_RESULT, 1
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A18B
	waitmovement 0
	warp BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM, 255, 6, 11
	waitstate
	end

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259BA5:: @ 8259BA5
	setvar VAR_0x8004, 9
	special sub_81A5E74
	setvar VAR_0x8004, 16
	special sub_81A5E74
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A22D, 4
	playfanfare MUS_ME_ASA
	waitfanfare
	special HealPlayerParty
	setvar VAR_0x8004, 9
	special sub_81A1780
	compare VAR_RESULT, 0
	goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C26
	playse 263
	waitse
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AC15, 4
	closemessage
	applymovement 1, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1BF
	waitmovement 0
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AC58, 4
	closemessage
	applymovement 1, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1C3
	waitmovement 0
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AC89, 4
	closemessage
	delay 16
	goto BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B9
	end

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13:: @ 8259C13
	setvar VAR_0x8004, 9
	special sub_81A1780
	compare VAR_RESULT, 0
	goto_if 5, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B9

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C26:: @ 8259C26
	setvar VAR_0x8004, 1
	setvar VAR_0x8005, 2
	special sub_81A1780
	compare VAR_RESULT, 1
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E1D
	compare VAR_RESULT, 2
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E24
	compare VAR_RESULT, 3
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E2B
	compare VAR_RESULT, 4
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E32
	compare VAR_RESULT, 5
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E39
	compare VAR_RESULT, 6
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E40
	call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_23E8E0
	compare VAR_RESULT, 1
	goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259CC6
	multichoice 19, 4, 103, 1
	switch VAR_RESULT
	case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D98
	case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259CFC
	case 2, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D38
	case 3, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D66
	case 127, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259CC6:: @ 8259CC6
	multichoice 20, 6, 104, 1
	switch VAR_RESULT
	case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D98
	case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D38
	case 2, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D66
	case 127, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259CFC:: @ 8259CFC
	message BattleFrontier_BattleFactoryPreBattleRoom_Text_25ABD2
	waitmessage
	multichoicedefault 20, 8, 94, 1, 0
	switch VAR_RESULT
	case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13
	case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D2E
	case 127, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D2E:: @ 8259D2E
	call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_23E8B4
	goto BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D38:: @ 8259D38
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A350, 5
	switch VAR_RESULT
	case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13
	case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E47
	case 127, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D66:: @ 8259D66
	message BattleFrontier_BattleFactoryPreBattleRoom_Text_25A37A
	waitmessage
	multichoicedefault 20, 8, 94, 1, 0
	switch VAR_RESULT
	case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13
	case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25AEF8
	case 127, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D98:: @ 8259D98
	setvar VAR_0x8004, 12
	special sub_81A5E74
	setvar VAR_0x8004, 14
	special sub_81A5E74
	setorcopyvar VAR_0x8005, VAR_RESULT
	setvar VAR_0x8004, 15
	special sub_81A5E74
	setorcopyvar VAR_0x8006, VAR_RESULT
	call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E93
	call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A004
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AB2E, 5
	switch VAR_RESULT
	case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74
	case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259DF2
	case 127, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259DF2:: @ 8259DF2
	fadescreen 1
	setvar VAR_0x8004, 7
	special sub_81A5E74
	waitstate
	compare VAR_RESULT, 1
	goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74
	setvar VAR_0x8004, 8
	special sub_81A5E74
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AB6C, 4
	goto BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E1D:: @ 8259E1D
	message BattleFrontier_BattleFactoryPreBattleRoom_Text_25A263
	waitmessage
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E24:: @ 8259E24
	message BattleFrontier_BattleFactoryPreBattleRoom_Text_25A289
	waitmessage
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E2B:: @ 8259E2B
	message BattleFrontier_BattleFactoryPreBattleRoom_Text_25A2AF
	waitmessage
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E32:: @ 8259E32
	message BattleFrontier_BattleFactoryPreBattleRoom_Text_25A2D5
	waitmessage
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E39:: @ 8259E39
	message BattleFrontier_BattleFactoryPreBattleRoom_Text_25A2FB
	waitmessage
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E40:: @ 8259E40
	message BattleFrontier_BattleFactoryPreBattleRoom_Text_25A321
	waitmessage
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E47:: @ 8259E47
	message BattleFrontier_BattleFactoryPreBattleRoom_Text_25ABAE
	waitmessage
	setvar VAR_0x8004, 3
	setvar VAR_0x8005, 2
	special sub_81A5E74
	playse SE_SAVE
	waitse
	fadescreen 1
	setvar VAR_0x8004, 4
	special sub_81A1780
	end

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E69:: @ 8259E69
	special copy_player_party_to_sav1
	setvar VAR_0x8004, 10
	setvar VAR_0x8005, 0
	special sub_81A5E74
	setvar VAR_0x8004, 2
	setvar VAR_0x8005, 6
	setvar VAR_0x8006, 1
	special sub_81A1780
	special CalculatePlayerPartyCount
	goto BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259C13

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259E93:: @ 8259E93
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A3B4, 4
	compare VAR_0x8005, 0
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F62
	compare VAR_0x8005, 1
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F6B
	compare VAR_0x8005, 2
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F74
	compare VAR_0x8005, 3
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F7D
	compare VAR_0x8005, 4
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F86
	compare VAR_0x8005, 5
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F8F
	compare VAR_0x8005, 6
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F98
	compare VAR_0x8005, 7
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FA1
	compare VAR_0x8005, 8
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FAA
	compare VAR_0x8005, 10
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FB3
	compare VAR_0x8005, 11
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FBC
	compare VAR_0x8005, 12
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FC5
	compare VAR_0x8005, 13
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FCE
	compare VAR_0x8005, 14
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FD7
	compare VAR_0x8005, 15
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FE0
	compare VAR_0x8005, 16
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FE9
	compare VAR_0x8005, 17
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FF2
	compare VAR_0x8005, 18
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FFB
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F62:: @ 8259F62
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A3F8, 4
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F6B:: @ 8259F6B
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A597, 4
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F74:: @ 8259F74
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A66B, 4
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F7D:: @ 8259F7D
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A5DF, 4
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F86:: @ 8259F86
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A625, 4
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F8F:: @ 8259F8F
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A73B, 4
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259F98:: @ 8259F98
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A6F8, 4
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FA1:: @ 8259FA1
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A77F, 4
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FAA:: @ 8259FAA
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A84E, 4
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FB3:: @ 8259FB3
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A43E, 4
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FBC:: @ 8259FBC
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A482, 4
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FC5:: @ 8259FC5
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A50F, 4
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FCE:: @ 8259FCE
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A4C7, 4
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FD7:: @ 8259FD7
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A6B1, 4
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FE0:: @ 8259FE0
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A554, 4
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FE9:: @ 8259FE9
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A7C4, 4
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FF2:: @ 8259FF2
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A80A, 4
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259FFB:: @ 8259FFB
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A893, 4
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A004:: @ 825A004
	compare VAR_0x8006, 0
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A068
	compare VAR_0x8006, 1
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A071
	compare VAR_0x8006, 2
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A07A
	compare VAR_0x8006, 3
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A083
	compare VAR_0x8006, 4
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A08C
	compare VAR_0x8006, 5
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A095
	compare VAR_0x8006, 6
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A09E
	compare VAR_0x8006, 7
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0A7
	compare VAR_0x8006, 8
	call_if 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B0
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A068:: @ 825A068
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AAE6, 4
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A071:: @ 825A071
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A9CE, 4
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A07A:: @ 825A07A
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A8D9, 4
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A083:: @ 825A083
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A912, 4
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A08C:: @ 825A08C
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A94C, 4
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A095:: @ 825A095
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AA16, 4
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A09E:: @ 825A09E
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AAA7, 4
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0A7:: @ 825A0A7
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25A98C, 4
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B0:: @ 825A0B0
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AA5A, 4
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B9:: @ 825A0B9
	message BattleFrontier_BattleFactoryPreBattleRoom_Text_25AD20
	waitmessage
	call BattleFrontier_BattleFactoryPreBattleRoom_EventScript_23E8E0
	compare VAR_RESULT, 1
	goto_eq BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A110
	multichoice 19, 4, 103, 1
	switch VAR_RESULT
	case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A146
	case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259CFC
	case 2, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D38
	case 3, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D66
	case 127, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B9

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A110:: @ 825A110
	multichoice 20, 6, 104, 1
	switch VAR_RESULT
	case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A146
	case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D38
	case 2, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259D66
	case 127, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A0B9

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A146:: @ 825A146
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AD61, 4
	msgbox BattleFrontier_BattleFactoryPreBattleRoom_Text_25AB2E, 5
	switch VAR_RESULT
	case 0, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74
	case 1, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259DF2
	case 127, BattleFrontier_BattleFactoryPreBattleRoom_EventScript_259B74

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A17C:: @ 825A17C
	applymovement 1, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1B3
	applymovement 255, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1A0
	return

BattleFrontier_BattleFactoryPreBattleRoom_EventScript_25A18B:: @ 825A18B
	applymovement 1, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1B9
	applymovement 255, BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1A6
	return

BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A19A: @ 825A19A
	step_up
	step_up
	step_up
	step_up
	step_up
	step_end

BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1A0: @ 825A1A0
	step_up
	step_left
	step_left
	step_up
	step_up
	step_end

BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1A6: @ 825A1A6
	step_up
	step_right
	step_right
	step_up
	step_up
	step_end

BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1AC: @ 825A1AC
	step_up
	step_up
	step_up
	step_up
	step_up
	step_00
	step_end

BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1B3: @ 825A1B3
	step_left
	step_left
	step_up
	step_up
	step_54
	step_end

BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1B9: @ 825A1B9
	step_right
	step_right
	step_up
	step_up
	step_54
	step_end

BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1BF: @ 825A1BF
	step_left
	step_left
	step_left
	step_end

BattleFrontier_BattleFactoryPreBattleRoom_Movement_25A1C3: @ 825A1C3
	step_right
	step_right
	step_right
	step_00
	step_end

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A1C8: @ 825A1C8
SlateportCity_BattleTentCorridor_Text_25A1C8: @ 825A1C8
	.string "First, we will hold your POKéMON for\n"
	.string "safekeeping.\p"
	.string "You may then choose from our\n"
	.string "selection of POKéMON.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A22D: @ 825A22D
SlateportCity_BattleTentCorridor_Text_25A22D: @ 825A22D
	.string "Thank you for competing!\n"
	.string "Let us restore your POKéMON!$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A263: @ 825A263
SlateportCity_BattleTentCorridor_Text_25A263: @ 825A263
	.string "The 2nd match is next!\n"
	.string "Are you ready?$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A289: @ 825A289
SlateportCity_BattleTentCorridor_Text_25A289: @ 825A289
	.string "The 3rd match is next!\n"
	.string "Are you ready?$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A2AF: @ 825A2AF
	.string "The 4th match is next!\n"
	.string "Are you ready?$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A2D5: @ 825A2D5
	.string "The 5th match is next!\n"
	.string "Are you ready?$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A2FB: @ 825A2FB
	.string "The 6th match is next!\n"
	.string "Are you ready?$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A321: @ 825A321
	.string "Finally, the 7th match is next!\n"
	.string "Are you ready?$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A350: @ 825A350
SlateportCity_BattleTentCorridor_Text_25A350: @ 825A350
	.string "Would you like to save and quit\n"
	.string "the game?$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A37A: @ 825A37A
SlateportCity_BattleTentCorridor_Text_25A37A: @ 825A37A
	.string "Would you like to retire from your\n"
	.string "Battle Swap challenge?$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A3B4: @ 825A3B4
	.string "I’ve conducted a little investigation\n"
	.string "about your upcoming opponent.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A3F8: @ 825A3F8
	.string "The TRAINER is apparently skilled\n"
	.string "in the handling of the NORMAL type.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A43E: @ 825A43E
	.string "The TRAINER is apparently skilled\n"
	.string "in the handling of the FIRE type.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A482: @ 825A482
	.string "The TRAINER is apparently skilled\n"
	.string "in the handling of the WATER type.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A4C7: @ 825A4C7
	.string "The TRAINER is apparently skilled\n"
	.string "in the handling of the ELECTRIC type.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A50F: @ 825A50F
	.string "The TRAINER is apparently skilled\n"
	.string "in the handling of the GRASS type.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A554: @ 825A554
	.string "The TRAINER is apparently skilled\n"
	.string "in the handling of the ICE type.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A597: @ 825A597
	.string "The TRAINER is apparently skilled\n"
	.string "in the handling of the FIGHTING type.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A5DF: @ 825A5DF
	.string "The TRAINER is apparently skilled\n"
	.string "in the handling of the POISON type.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A625: @ 825A625
	.string "The TRAINER is apparently skilled\n"
	.string "in the handling of the GROUND type.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A66B: @ 825A66B
	.string "The TRAINER is apparently skilled\n"
	.string "in the handling of the FLYING type.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A6B1: @ 825A6B1
	.string "The TRAINER is apparently skilled\n"
	.string "in the handling of the PSYCHIC type.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A6F8: @ 825A6F8
	.string "The TRAINER is apparently skilled\n"
	.string "in the handling of the BUG type.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A73B: @ 825A73B
	.string "The TRAINER is apparently skilled\n"
	.string "in the handling of the ROCK type.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A77F: @ 825A77F
	.string "The TRAINER is apparently skilled\n"
	.string "in the handling of the GHOST type.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A7C4: @ 825A7C4
	.string "The TRAINER is apparently skilled\n"
	.string "in the handling of the DRAGON type.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A80A: @ 825A80A
	.string "The TRAINER is apparently skilled\n"
	.string "in the handling of the DARK type.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A84E: @ 825A84E
	.string "The TRAINER is apparently skilled\n"
	.string "in the handling of the STEEL type.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A893: @ 825A893
	.string "The TRAINER appears to have no clear\n"
	.string "favorites when it comes to type.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A8D9: @ 825A8D9
	.string "The favorite battle style appears to\n"
	.string "be slow and steady.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A912: @ 825A912
	.string "The favorite battle style appears to\n"
	.string "be one of endurance.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A94C: @ 825A94C
	.string "The favorite battle style appears to\n"
	.string "be high risk, high return.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A98C: @ 825A98C
	.string "The favorite battle style appears to\n"
	.string "depend on the battle’s flow.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25A9CE: @ 825A9CE
	.string "The favorite battle style appears to\n"
	.string "be one based on total preparation.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25AA16: @ 825AA16
	.string "The favorite battle style appears\n"
	.string "to be weakening the foe to start.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25AA5A: @ 825AA5A
	.string "The favorite battle style appears to\n"
	.string "be flexibly adaptable to the situation.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25AAA7: @ 825AAA7
	.string "The favorite battle style appears to\n"
	.string "be impossible to predict.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25AAE6: @ 825AAE6
	.string "The favorite battle style appears to\n"
	.string "be free-spirited and unrestrained.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25AB2E: @ 825AB2E
SlateportCity_BattleTentCorridor_Text_25AB2E: @ 825AB2E
	.string "Before starting the battle, would you\n"
	.string "like to swap a POKéMON?$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25AB6C: @ 825AB6C
SlateportCity_BattleTentCorridor_Text_25AB6C: @ 825AB6C
	.string "Thank you!\n"
	.string "Your POKéMON swap is complete.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25AB96: @ 825AB96
SlateportCity_BattleTentCorridor_Text_25AB96: @ 825AB96
	.string "Right this way, please!$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25ABAE: @ 825ABAE
SlateportCity_BattleTentCorridor_Text_25ABAE: @ 825ABAE
	.string "I am saving your data.\n"
	.string "Please wait.$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25ABD2: @ 825ABD2
	.string "Would you like to record your latest\n"
	.string "battle on your FRONTIER PASS?$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25AC15: @ 825AC15
	.string "Excuse me! Excuse me, please!\n"
	.string "May I get you to wait a few moments?$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25AC58: @ 825AC58
	.string "…Uh-huh? What?! …Whoa!\n"
	.string "Understood, sir! Will do!$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25AC89: @ 825AC89
	.string "Oh, my…\n"
	.string "Sorry to keep you waiting!\p"
	.string "I have a message from this facility’s\n"
	.string "boss, the FACTORY HEAD.\p"
	.string "He says, “We’re going to do it!\n"
	.string "Come here right now!”$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25AD20: @ 825AD20
	.string "The FACTORY HEAD is demanding you.\n"
	.string "Are you prepared to face him?$"

BattleFrontier_BattleFactoryPreBattleRoom_Text_25AD61: @ 825AD61
	.string "I’m terribly sorry, but I can’t tell you\n"
	.string "anything about the FACTORY HEAD.$"