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
|
BattleFrontier_BattlePyramidEmptySquare_MapScripts:: @ 8252A33
map_script 5, BattleFrontier_BattlePyramidEmptySquare_MapScript1_252AA2
map_script 2, BattleFrontier_BattlePyramidEmptySquare_MapScript2_252A43
map_script 3, BattleFrontier_BattlePyramidEmptySquare_MapScript1_252BCA
.byte 0
BattleFrontier_BattlePyramidEmptySquare_MapScript2_252A43: @ 8252A43
map_script_2 VAR_0x400D, 1, BattleFrontier_BattlePyramidEmptySquare_EventScript_252A5D
map_script_2 VAR_0x400E, 0, BattleFrontier_BattlePyramidEmptySquare_EventScript_252A98
map_script_2 VAR_0x400F, 1, BattleFrontier_BattlePyramidEmptySquare_EventScript_252A8F
.2byte 0
BattleFrontier_BattlePyramidEmptySquare_EventScript_252A5D:: @ 8252A5D
lockall
setvar VAR_0x8004, 13
setvar VAR_0x8005, 4
setvar VAR_0x8006, 1
setvar VAR_0x8007, 55
setvar VAR_RESULT, 0
BattleFrontier_BattlePyramidEmptySquare_EventScript_252A77:: @ 8252A77
special sub_81A8E7C
delay 2
compare_var_to_value VAR_RESULT, 2
goto_if 5, BattleFrontier_BattlePyramidEmptySquare_EventScript_252A77
setvar VAR_0x400D, 0
releaseall
end
BattleFrontier_BattlePyramidEmptySquare_EventScript_252A8F:: @ 8252A8F
special AddMapNamePopUpWindowTask
setvar VAR_0x400F, 0
end
BattleFrontier_BattlePyramidEmptySquare_EventScript_252A98:: @ 8252A98
playbgm BGM_BATTLE_PYRAMID, 0
setvar VAR_0x400E, 1
end
BattleFrontier_BattlePyramidEmptySquare_MapScript1_252AA2: @ 8252AA2
setvar VAR_0x8004, 15
special sub_81A8E7C
setvar VAR_0x8004, 0
special sub_81A1780
switch VAR_0x4000
case 0, BattleFrontier_BattlePyramidEmptySquare_EventScript_252B8D
case 1, BattleFrontier_BattlePyramidEmptySquare_EventScript_252B66
case 2, BattleFrontier_BattlePyramidEmptySquare_EventScript_252B8D
setvar VAR_0x8004, 1
setvar VAR_0x8005, 5
special sub_81A1780
compare_var_to_value VAR_RESULT, 4
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39
compare_var_to_value VAR_RESULT, 5
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39
compare_var_to_value VAR_RESULT, 0
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39
compare_var_to_value VAR_RESULT, 2
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42
compare_var_to_value VAR_RESULT, 3
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42
compare_var_to_value VAR_RESULT, 9
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42
setvar VAR_0x8004, 14
setvar VAR_0x8005, 8
special sub_81A1780
setvar VAR_0x400D, 1
BattleFrontier_BattlePyramidEmptySquare_EventScript_252B39:: @ 8252B39
setvar VAR_0x8004, 17
special sub_81A8E7C
end
BattleFrontier_BattlePyramidEmptySquare_EventScript_252B42:: @ 8252B42
BattleFrontier_BattlePyramidTop_EventScript_252B42:: @ 8252B42
setvar VAR_0x8004, 2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 4
special sub_81A1780
setvar VAR_0x8004, 2
setvar VAR_0x8005, 7
setvar VAR_0x8006, 255
special sub_81A8E7C
BattleFrontier_BattlePyramidEmptySquare_EventScript_252B66:: @ 8252B66
BattleFrontier_BattlePyramidTop_EventScript_252B66:: @ 8252B66
setvar VAR_0x8004, 13
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
special sub_81A8E7C
setvar VAR_0x8004, 14
special sub_81A8E7C
special sp000_heal_pokemon
warpsilent BATTLE_FRONTIER_BATTLE_PYRAMID_LOBBY, 255, 7, 13
waitstate
end
BattleFrontier_BattlePyramidEmptySquare_EventScript_252B8D:: @ 8252B8D
setvar VAR_0x8004, 3
setvar VAR_0x8005, 1
special sub_81A8E7C
special copy_player_party_to_sav1
setvar VAR_0x8004, 2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
special sub_81A1780
setvar VAR_0x8004, 9
special sub_81A8E7C
setvar VAR_0x8004, 3
setvar VAR_0x8005, 3
special sub_81A1780
setvar VAR_0x400F, 1
end
BattleFrontier_BattlePyramidEmptySquare_MapScript1_252BCA: @ 8252BCA
call BattleFrontier_BattlePyramidEmptySquare_EventScript_252BD5
setvar VAR_0x400F, 1
end
BattleFrontier_BattlePyramidEmptySquare_EventScript_252BD5:: @ 8252BD5
setvar VAR_0x8004, 13
setvar VAR_0x8005, 32
setvar VAR_0x8006, 0
special sub_81A8E7C
return
BattleFrontier_BattlePyramidEmptySquare_EventScript_252BE8:: @ 8252BE8
call BattleFrontier_BattlePalaceBattleRoom_EventScript_241EBA
setvar VAR_0x8004, 1
setvar VAR_0x8005, 2
special sub_81A1780
addvar VAR_RESULT, 1
setvar VAR_0x8004, 2
setvar VAR_0x8005, 2
copyvar VAR_0x8006, VAR_RESULT
special sub_81A1780
compare_var_to_value VAR_RESULT, 7
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252C45
setvar VAR_0x8004, 6
special sub_81A8E7C
setvar VAR_0x8004, 2
setvar VAR_0x8005, 0
setvar VAR_0x8006, 0
special sub_81A1780
setvar VAR_RESULT, 0
warp BATTLE_FRONTIER_BATTLE_PYRAMID_EMPTY_SQUARE, 255, 1, 1
waitstate
end
BattleFrontier_BattlePyramidEmptySquare_EventScript_252C45:: @ 8252C45
warp BATTLE_FRONTIER_BATTLE_PYRAMID_TOP, 255, 17, 17
waitstate
end
BattleFrontier_BattlePyramidEmptySquare_EventScript_252C4F:: @ 8252C4F
trainerbattle 9, TRAINER_PHILLIP, 0, BattleFrontier_BattlePyramidEmptySquare_Text_252C8D, BattleFrontier_BattlePyramidEmptySquare_Text_252C8D
setvar VAR_0x8004, 10
special sub_81A8E7C
waitmessage
waitbuttonpress
closemessage
releaseall
end
BattleFrontier_BattlePyramidEmptySquare_EventScript_252C6A:: @ 8252C6A
setvar VAR_0x8004, 7
special sub_81A8E7C
callstd 1
compare_var_to_value VAR_0x8007, 0
goto_eq BattleFrontier_BattlePyramidEmptySquare_EventScript_252C87
setvar VAR_0x8004, 8
special sub_81A8E7C
BattleFrontier_BattlePyramidEmptySquare_EventScript_252C87:: @ 8252C87
end
BattleFrontier_BattlePyramidEmptySquare_EventScript_252C88:: @ 8252C88
goto BattleFrontier_BattlePyramidTop_EventScript_252B42
BattleFrontier_BattlePyramidEmptySquare_Text_252C8D: @ 8252C8D
.string "This is a sample message.$"
BattleFrontier_BattlePyramidEmptySquare_Text_252CA7:: @ 8252CA7
.string "Your BATTLE PYRAMID quest will be\n"
.string "saved so that you may quit for now.\l"
.string "Is that okay?$"
BattleFrontier_BattlePyramidEmptySquare_Text_252CFB:: @ 8252CFB
.string "Are you sure you want to quit your\n"
.string "PYRAMID quest?$"
.string "This floor’s exit is in\n"
.string "that direction: {UP_ARROW}$"
.string "This floor’s exit is in\n"
.string "that direction: {LEFT_ARROW}$"
.string "This floor’s exit is in\n"
.string "that direction: {RIGHT_ARROW}$"
.string "This floor’s exit is in\n"
.string "that direction: {DOWN_ARROW}$"
.string "The exit on this floor is in\n"
.string "the {UP_ARROW} direction.$"
.string "The exit on this floor is in\n"
.string "the {LEFT_ARROW} direction.$"
.string "The exit on this floor is in\n"
.string "the {RIGHT_ARROW} direction.$"
.string "The exit on this floor is in\n"
.string "the {DOWN_ARROW} direction.$"
.string "The exit is over\n"
.string "that {UP_ARROW} way.$"
.string "The exit is over\n"
.string "that {LEFT_ARROW} way.$"
.string "The exit is over\n"
.string "that {RIGHT_ARROW} way.$"
.string "The exit is over\n"
.string "that {DOWN_ARROW} way.$"
.string "On this floor, the exit is somewhere\n"
.string "in the {UP_ARROW} direction.$"
.string "On this floor, the exit is somewhere\n"
.string "in the {LEFT_ARROW} direction.$"
.string "On this floor, the exit is somewhere\n"
.string "in the {RIGHT_ARROW} direction.$"
.string "On this floor, the exit is somewhere\n"
.string "in the {DOWN_ARROW} direction.$"
.string "The exit?\n"
.string "It’s that {UP_ARROW} way.$"
.string "The exit?\n"
.string "It’s that {LEFT_ARROW} way.$"
.string "The exit?\n"
.string "It’s that {RIGHT_ARROW} way.$"
.string "The exit?\n"
.string "It’s that {DOWN_ARROW} way.$"
.string "The exit happens to be in\n"
.string "the {UP_ARROW} direction.$"
.string "The exit happens to be in\n"
.string "the {LEFT_ARROW} direction.$"
.string "The exit happens to be in\n"
.string "the {RIGHT_ARROW} direction.$"
.string "The exit happens to be in\n"
.string "the {DOWN_ARROW} direction.$"
.string "Are you looking for items?\p"
.string "There are eight items left to\n"
.string "be found.$"
.string "Are you looking for items?\p"
.string "There are seven items left to\n"
.string "be found.$"
.string "Are you looking for items?\p"
.string "There are six items left to\n"
.string "be found.$"
.string "Are you looking for items?\p"
.string "There are five items left to\n"
.string "be found.$"
.string "Are you looking for items?\p"
.string "There are four items left to\n"
.string "be found.$"
.string "Are you looking for items?\p"
.string "There are three items left to\n"
.string "be found.$"
.string "Are you looking for items?\p"
.string "There are two items left to\n"
.string "be found.$"
.string "Are you looking for items?\p"
.string "There is one item left to\n"
.string "be found.$"
.string "Are you looking for items?\p"
.string "There isn’t anything left to\n"
.string "be found!$"
.string "Because you won, I’ll tell you\n"
.string "a little secret!\p"
.string "There are eight items\n"
.string "lying around here.$"
.string "Because you won, I’ll tell you\n"
.string "a little secret!\p"
.string "There are seven items left\n"
.string "lying around here.$"
.string "Because you won, I’ll tell you\n"
.string "a little secret!\p"
.string "There are six items left\n"
.string "lying around here.$"
.string "Because you won, I’ll tell you\n"
.string "a little secret!\p"
.string "There are five items left\n"
.string "lying around here.$"
.string "Because you won, I’ll tell you\n"
.string "a little secret!\p"
.string "There are four items left\n"
.string "lying around here.$"
.string "Because you won, I’ll tell you\n"
.string "a little secret!\p"
.string "There are three items left\n"
.string "lying around here.$"
.string "Because you won, I’ll tell you\n"
.string "a little secret!\p"
.string "There are two items left\n"
.string "lying around here.$"
.string "Because you won, I’ll tell you\n"
.string "a little secret!\p"
.string "There is just one item\n"
.string "lying around here.$"
.string "Because you won, I’ll tell you\n"
.string "a little secret!\p"
.string "There isn’t anything left\n"
.string "lying around here.$"
.string "How’s your stock of items holding up?\p"
.string "I reckon there are eight items left\n"
.string "waiting to be found on this floor.$"
.string "How’s your stock of items holding up?\p"
.string "I reckon there are seven items left\n"
.string "waiting to be found on this floor.$"
.string "How’s your stock of items holding up?\p"
.string "I reckon there are six items left\n"
.string "waiting to be found on this floor.$"
.string "How’s your stock of items holding up?\p"
.string "I reckon there are five items left\n"
.string "waiting to be found on this floor.$"
.string "How’s your stock of items holding up?\p"
.string "I reckon there are four items left\n"
.string "waiting to be found on this floor.$"
.string "How’s your stock of items holding up?\p"
.string "I reckon there are three items left\n"
.string "waiting to be found on this floor.$"
.string "How’s your stock of items holding up?\p"
.string "I reckon there are two items left\n"
.string "waiting to be found on this floor.$"
.string "How’s your stock of items holding up?\p"
.string "I reckon there’s but one item left\n"
.string "waiting to be found on this floor.$"
.string "How’s your stock of items holding up?\p"
.string "I reckon there are no more items\n"
.string "waiting to be found on this floor.\l"
.string "You take care now!$"
.string "You’re strong, so you’ve earned\n"
.string "a hint!\p"
.string "There appear to be eight more\n"
.string "items on the ground.$"
.string "You’re strong, so you’ve earned\n"
.string "a hint!\p"
.string "There appear to be seven more\n"
.string "items on the ground.$"
.string "You’re strong, so you’ve earned\n"
.string "a hint!\p"
.string "There appear to be six more\n"
.string "items on the ground.$"
.string "You’re strong, so you’ve earned\n"
.string "a hint!\p"
.string "There appear to be five more\n"
.string "items on the ground.$"
.string "You’re strong, so you’ve earned\n"
.string "a hint!\p"
.string "There appear to be four more\n"
.string "items on the ground.$"
.string "You’re strong, so you’ve earned\n"
.string "a hint!\p"
.string "There appear to be three more\n"
.string "items on the ground.$"
.string "You’re strong, so you’ve earned\n"
.string "a hint!\p"
.string "There appear to be two more\n"
.string "items on the ground.$"
.string "You’re strong, so you’ve earned\n"
.string "a hint!\p"
.string "There appears to be only one more\n"
.string "item on the ground.$"
.string "You’re strong, so you’ve earned\n"
.string "a hint!\p"
.string "There appear to be no more\n"
.string "items on the ground.$"
.string "On this floor of the PYRAMID,\n"
.string "I hear there are eight items…$"
.string "On this floor of the PYRAMID,\n"
.string "I hear there are seven items…$"
.string "On this floor of the PYRAMID,\n"
.string "I hear there are six items…$"
.string "On this floor of the PYRAMID,\n"
.string "I hear there are five items…$"
.string "On this floor of the PYRAMID,\n"
.string "I hear there are four items…$"
.string "On this floor of the PYRAMID,\n"
.string "I hear there are three items…$"
.string "On this floor of the PYRAMID,\n"
.string "I hear there are two items…$"
.string "On this floor of the PYRAMID,\n"
.string "I hear there is one item…$"
.string "On this floor of the PYRAMID,\n"
.string "I hear there are no items…$"
.string "Have you collected any items?\p"
.string "I believe there are eight more\n"
.string "items on this floor.$"
.string "Have you collected any items?\p"
.string "I believe there are seven more\n"
.string "items on this floor.$"
.string "Have you collected any items?\p"
.string "I believe there are six more\n"
.string "items on this floor.$"
.string "Have you collected any items?\p"
.string "I believe there are five more\n"
.string "items on this floor.$"
.string "Have you collected any items?\p"
.string "I believe there are four more\n"
.string "items on this floor.$"
.string "Have you collected any items?\p"
.string "I believe there are three more\n"
.string "items on this floor.$"
.string "Have you collected any items?\p"
.string "I believe there are two more\n"
.string "items on this floor.$"
.string "Have you collected any items?\p"
.string "I believe there is one more\n"
.string "item on this floor.$"
.string "Have you collected any items?\p"
.string "I believe there are no more\n"
.string "items on this floor.$"
.string "You were really awesome!\p"
.string "But there are still seven tough\n"
.string "TRAINERS other than me!$"
.string "You were really awesome!\p"
.string "But there are still six tough\n"
.string "TRAINERS other than me!$"
.string "You were really awesome!\p"
.string "But there are still five tough\n"
.string "TRAINERS other than me!$"
.string "You were really awesome!\p"
.string "But there are still four tough\n"
.string "TRAINERS other than me!$"
.string "You were really awesome!\p"
.string "But there are still three tough\n"
.string "TRAINERS other than me!$"
.string "You were really awesome!\p"
.string "But there are still two tough\n"
.string "TRAINERS other than me!$"
.string "You were really awesome!\p"
.string "But there’s still one tough\n"
.string "TRAINER other than me!$"
.string "You were really awesome!\p"
.string "There’s no one left that\n"
.string "can beat you!$"
.string "This is so upsetting!\p"
.string "But there are seven TRAINERS left!\n"
.string "Someone will humble you!$"
.string "This is so upsetting!\p"
.string "But there are six TRAINERS left!\n"
.string "Someone will humble you!$"
.string "This is so upsetting!\p"
.string "But there are five TRAINERS left!\n"
.string "Someone will humble you!$"
.string "This is so upsetting!\p"
.string "But there are four TRAINERS left!\n"
.string "Someone will humble you!$"
.string "This is so upsetting!\p"
.string "But there are three TRAINERS left!\n"
.string "Someone will humble you!$"
.string "This is so upsetting!\p"
.string "But there are two TRAINERS left!\n"
.string "Someone will humble you!$"
.string "This is so upsetting!\p"
.string "But there’s one TRAINER left!\n"
.string "I’m sure you will be humbled!$"
.string "This is so upsetting!\p"
.string "But there are no more TRAINERS\n"
.string "who can engage you!$"
.string "That’s pretty impressive!\p"
.string "But there are seven more TRAINERS\n"
.string "on this floor. Can you beat them all?$"
.string "That’s pretty impressive!\p"
.string "But there are six more TRAINERS\n"
.string "on this floor. Can you beat them all?$"
.string "That’s pretty impressive!\p"
.string "But there are five more TRAINERS\n"
.string "on this floor. Can you beat them all?$"
.string "That’s pretty impressive!\p"
.string "But there are four more TRAINERS\n"
.string "on this floor. Can you beat them all?$"
.string "That’s pretty impressive!\p"
.string "But there are three more TRAINERS\n"
.string "on this floor. Can you beat them all?$"
.string "That’s pretty impressive!\p"
.string "But there are two more TRAINERS\n"
.string "on this floor. Can you beat them both?$"
.string "That’s pretty impressive!\p"
.string "But there’s still one more TRAINER\n"
.string "on this floor. Can you prevail?$"
.string "That’s pretty impressive!\p"
.string "You’ve gone through all the TRAINERS\n"
.string "on this floor.$"
.string "Maybe you could sweep through\n"
.string "the seven TRAINERS left on this floor.$"
.string "Maybe you could sweep through\n"
.string "the six TRAINERS left on this floor.$"
.string "Maybe you could sweep through\n"
.string "the five TRAINERS left on this floor.$"
.string "Maybe you could sweep through\n"
.string "the four TRAINERS left on this floor.$"
.string "Maybe you could sweep through\n"
.string "the three TRAINERS left on this floor.$"
.string "Maybe you could sweep through\n"
.string "the two TRAINERS left on this floor.$"
.string "Maybe you could complete your sweep\n"
.string "with the one TRAINER left on this floor.$"
.string "There isn’t a single person left who\n"
.string "can defeat you now…$"
.string "You may have what it takes to beat\n"
.string "the seven expert TRAINERS who remain.$"
.string "You may have what it takes to beat\n"
.string "the six expert TRAINERS who remain.$"
.string "You may have what it takes to beat\n"
.string "the five expert TRAINERS who remain.$"
.string "You may have what it takes to beat\n"
.string "the four expert TRAINERS who remain.$"
.string "You may have what it takes to beat\n"
.string "the three expert TRAINERS who remain.$"
.string "You may have what it takes to beat\n"
.string "the two expert TRAINERS who remain.$"
.string "You may have what it takes to beat\n"
.string "the one expert TRAINER who remains.$"
.string "Your skills are beyond reproach.\p"
.string "There are no more TRAINERS here\n"
.string "who have any chance of beating you.$"
.string "Can you keep winning against\n"
.string "the seven remaining TRAINERS?$"
.string "Can you keep winning against\n"
.string "the six remaining TRAINERS?$"
.string "Can you keep winning against\n"
.string "the five remaining TRAINERS?$"
.string "Can you keep winning against\n"
.string "the four remaining TRAINERS?$"
.string "Can you keep winning against\n"
.string "the three remaining TRAINERS?$"
.string "Can you keep winning against\n"
.string "the two remaining TRAINERS?$"
.string "Can you keep winning against\n"
.string "the last remaining TRAINER?$"
.string "There aren’t any TRAINERS left that\n"
.string "can take you on now…$"
|