summaryrefslogtreecommitdiff
path: root/data/event_scripts.s
blob: 2a8e5ad697a8e2cbbc00ece2faf9212e794b82c9 (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
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
	.include "asm/macros.s"
	.include "constants/constants.s"

	.section event_script_data, "aw", %progbits

@ 814AE30
	.include "data/script_cmd_table.s"

gUnknown_0814B14C::
	.4byte 0x202e8c4
	.4byte 0x202e8c6
	.4byte 0x202e8c8
	.4byte 0x202e8ca
	.4byte 0x202e8cc
	.4byte 0x202e8ce
	.4byte 0x202e8d0
	.4byte 0x202e8d2
	.4byte 0x202e8d4
	.4byte 0x202e8d6
	.4byte 0x202e8d8
	.4byte 0x202e8da
	.4byte 0x202e8e0
	.4byte 0x202e8dc
	.4byte 0x203855e
	.4byte 0x202e8de
	.4byte 0x203869e
	.4byte 0x203869c

	.include "data/specials.s"

gStdScripts::
	.4byte Std_ObtainItem
	.4byte Std_FindItem
	.4byte Std_2
	.4byte Std_3
	.4byte Std_4
	.4byte Std_5
	.4byte Std_6
	.4byte Std_ObtainDecoration
gStdScripts_End::

	.include "data/scripts/maps/PetalburgCity.s"
	.include "data/scripts/maps/SlateportCity.s"
	.include "data/scripts/maps/MauvilleCity.s"
	.include "data/scripts/maps/RustboroCity.s"
	.include "data/scripts/maps/FortreeCity.s"
	.include "data/scripts/maps/LilycoveCity.s"
	.include "data/scripts/maps/MossdeepCity.s"
	.include "data/scripts/maps/SootopolisCity.s"
	.include "data/scripts/maps/EverGrandeCity.s"
	.include "data/scripts/maps/LittlerootTown.s"
	.include "data/scripts/maps/OldaleTown.s"
	.include "data/scripts/maps/DewfordTown.s"
	.include "data/scripts/maps/LavaridgeTown.s"
	.include "data/scripts/maps/FallarborTown.s"
	.include "data/scripts/maps/VerdanturfTown.s"
	.include "data/scripts/maps/PacifidlogTown.s"
	.include "data/scripts/maps/Route101.s"
	.include "data/scripts/maps/Route102.s"
	.include "data/scripts/maps/Route103.s"
	.include "data/scripts/maps/Route104.s"
	.include "data/scripts/maps/Route105.s"
	.include "data/scripts/maps/Route106.s"
	.include "data/scripts/maps/Route107.s"
	.include "data/scripts/maps/Route108.s"
	.include "data/scripts/maps/Route109.s"
	.include "data/scripts/maps/Route110.s"
	.include "data/scripts/maps/Route111.s"
	.include "data/scripts/maps/Route112.s"
	.include "data/scripts/maps/Route113.s"
	.include "data/scripts/maps/Route114.s"
	.include "data/scripts/maps/Route115.s"
	.include "data/scripts/maps/Route116.s"
	.include "data/scripts/maps/Route117.s"
	.include "data/scripts/maps/Route118.s"
	.include "data/scripts/maps/Route119.s"
	.include "data/scripts/maps/Route120.s"
	.include "data/scripts/maps/Route121.s"
	.include "data/scripts/maps/Route122.s"
	.include "data/scripts/maps/Route123.s"
	.include "data/scripts/maps/Route124.s"
	.include "data/scripts/maps/Route125.s"
	.include "data/scripts/maps/Route126.s"
	.include "data/scripts/maps/Route127.s"
	.include "data/scripts/maps/Route128.s"
	.include "data/scripts/maps/Route129.s"
	.include "data/scripts/maps/Route130.s"
	.include "data/scripts/maps/Route131.s"
	.include "data/scripts/maps/Route132.s"
	.include "data/scripts/maps/Route133.s"
	.include "data/scripts/maps/Route134.s"
	.include "data/scripts/maps/Underwater1.s"
	.include "data/scripts/maps/Underwater2.s"
	.include "data/scripts/maps/Underwater3.s"
	.include "data/scripts/maps/Underwater4.s"
	.include "data/scripts/maps/LittlerootTown_BrendansHouse_1F.s"
	.include "data/scripts/maps/LittlerootTown_BrendansHouse_2F.s"
	.include "data/scripts/maps/LittlerootTown_ProfessorBirchsLab.s"
	.include "data/scripts/maps/OldaleTown_House1.s"
	.include "data/scripts/maps/OldaleTown_House2.s"
	.include "data/scripts/maps/OldaleTown_PokemonCenter_1F.s"
	.include "data/scripts/maps/OldaleTown_PokemonCenter_2F.s"
	.include "data/scripts/maps/OldaleTown_Mart.s"
	.include "data/scripts/maps/DewfordTown_House1.s"
	.include "data/scripts/maps/DewfordTown_PokemonCenter_1F.s"
	.include "data/scripts/maps/DewfordTown_PokemonCenter_2F.s"
	.include "data/scripts/maps/DewfordTown_Gym.s"
	.include "data/scripts/maps/DewfordTown_Hall.s"
	.include "data/scripts/maps/DewfordTown_House2.s"
	.include "data/scripts/maps/LavaridgeTown_HerbShop.s"
	.include "data/scripts/maps/LavaridgeTown_Gym_1F.s"
	.include "data/scripts/maps/LavaridgeTown_Gym_B1F.s"
	.include "data/scripts/maps/LavaridgeTown_House.s"
	.include "data/scripts/maps/LavaridgeTown_Mart.s"
	.include "data/scripts/maps/LavaridgeTown_PokemonCenter_1F.s"
	.include "data/scripts/maps/LavaridgeTown_PokemonCenter_2F.s"
	.include "data/scripts/maps/FallarborTown_Mart.s"
	.include "data/scripts/maps/FallarborTown_ContestLobby.s"
	.include "data/scripts/maps/FallarborTown_ContestHall.s"
	.include "data/scripts/maps/FallarborTown_PokemonCenter_1F.s"
	.include "data/scripts/maps/FallarborTown_PokemonCenter_2F.s"
	.include "data/scripts/maps/FallarborTown_House1.s"
	.include "data/scripts/maps/FallarborTown_House2.s"
	.include "data/scripts/maps/VerdanturfTown_ContestLobby.s"
	.include "data/scripts/maps/VerdanturfTown_ContestHall.s"
	.include "data/scripts/maps/VerdanturfTown_Mart.s"
	.include "data/scripts/maps/VerdanturfTown_PokemonCenter_1F.s"
	.include "data/scripts/maps/VerdanturfTown_PokemonCenter_2F.s"
	.include "data/scripts/maps/VerdanturfTown_WandasHouse.s"
	.include "data/scripts/maps/VerdanturfTown_FriendshipRatersHouse.s"
	.include "data/scripts/maps/VerdanturfTown_House.s"
	.include "data/scripts/maps/PacifidlogTown_PokemonCenter_1F.s"
	.include "data/scripts/maps/PacifidlogTown_PokemonCenter_2F.s"
	.include "data/scripts/maps/PacifidlogTown_House1.s"
	.include "data/scripts/maps/PacifidlogTown_House2.s"
	.include "data/scripts/maps/PacifidlogTown_House3.s"
	.include "data/scripts/maps/PacifidlogTown_House4.s"
	.include "data/scripts/maps/PacifidlogTown_House5.s"
	.include "data/scripts/maps/PetalburgCity_WallysHouse.s"
	.include "data/scripts/maps/PetalburgCity_Gym.s"
	.include "data/scripts/maps/PetalburgCity_House1.s"
	.include "data/scripts/maps/PetalburgCity_House2.s"
	.include "data/scripts/maps/PetalburgCity_PokemonCenter_1F.s"
	.include "data/scripts/maps/PetalburgCity_PokemonCenter_2F.s"
	.include "data/scripts/maps/PetalburgCity_Mart.s"
	.include "data/scripts/maps/SlateportCity_SternsShipyard_1F.s"
	.include "data/scripts/maps/SlateportCity_SternsShipyard_2F.s"
	.include "data/scripts/maps/SlateportCity_ContestLobby.s"
	.include "data/scripts/maps/SlateportCity_ContestHall.s"
	.include "data/scripts/maps/SlateportCity_House1.s"
	.include "data/scripts/maps/SlateportCity_PokemonFanClub.s"
	.include "data/scripts/maps/SlateportCity_OceanicMuseum_1F.s"
	.include "data/scripts/maps/SlateportCity_OceanicMuseum_2F.s"
	.include "data/scripts/maps/SlateportCity_Harbor.s"
	.include "data/scripts/maps/SlateportCity_House2.s"
	.include "data/scripts/maps/SlateportCity_PokemonCenter_1F.s"
	.include "data/scripts/maps/SlateportCity_PokemonCenter_2F.s"
	.include "data/scripts/maps/SlateportCity_Mart.s"
	.include "data/scripts/maps/MauvilleCity_Gym.s"
	.include "data/scripts/maps/MauvilleCity_BikeShop.s"
	.include "data/scripts/maps/MauvilleCity_House1.s"
	.include "data/scripts/maps/MauvilleCity_GameCorner.s"
	.include "data/scripts/maps/MauvilleCity_House2.s"
	.include "data/scripts/maps/MauvilleCity_PokemonCenter_1F.s"
	.include "data/scripts/maps/MauvilleCity_PokemonCenter_2F.s"
	.include "data/scripts/maps/MauvilleCity_Mart.s"
	.include "data/scripts/maps/RustboroCity_DevonCorp_1F.s"
	.include "data/scripts/maps/RustboroCity_DevonCorp_2F.s"
	.include "data/scripts/maps/RustboroCity_DevonCorp_3F.s"
	.include "data/scripts/maps/RustboroCity_Gym.s"
	.include "data/scripts/maps/RustboroCity_PokemonSchool.s"
	.include "data/scripts/maps/RustboroCity_PokemonCenter_1F.s"
	.include "data/scripts/maps/RustboroCity_PokemonCenter_2F.s"
	.include "data/scripts/maps/RustboroCity_Mart.s"
	.include "data/scripts/maps/RustboroCity_Flat1_1F.s"
	.include "data/scripts/maps/RustboroCity_Flat1_2F.s"
	.include "data/scripts/maps/RustboroCity_House1.s"
	.include "data/scripts/maps/RustboroCity_CuttersHouse.s"
	.include "data/scripts/maps/RustboroCity_House2.s"
	.include "data/scripts/maps/RustboroCity_Flat2_1F.s"
	.include "data/scripts/maps/RustboroCity_Flat2_2F.s"
	.include "data/scripts/maps/RustboroCity_Flat2_3F.s"
	.include "data/scripts/maps/RustboroCity_House3.s"
	.include "data/scripts/maps/FortreeCity_House1.s"
	.include "data/scripts/maps/FortreeCity_Gym.s"
	.include "data/scripts/maps/FortreeCity_PokemonCenter_1F.s"
	.include "data/scripts/maps/FortreeCity_PokemonCenter_2F.s"
	.include "data/scripts/maps/FortreeCity_Mart.s"
	.include "data/scripts/maps/FortreeCity_House2.s"
	.include "data/scripts/maps/FortreeCity_House3.s"
	.include "data/scripts/maps/FortreeCity_House4.s"
	.include "data/scripts/maps/FortreeCity_House5.s"
	.include "data/scripts/maps/FortreeCity_DecorationShop.s"
	.include "data/scripts/maps/LilycoveCity_CoveLilyMotel_1F.s"
	.include "data/scripts/maps/LilycoveCity_CoveLilyMotel_2F.s"
	.include "data/scripts/maps/LilycoveCity_LilycoveMuseum_1F.s"
	.include "data/scripts/maps/LilycoveCity_LilycoveMuseum_2F.s"
	.include "data/scripts/maps/LilycoveCity_ContestLobby.s"
	.include "data/scripts/maps/LilycoveCity_ContestHall.s"
	.include "data/scripts/maps/LilycoveCity_PokemonCenter_1F.s"
	.include "data/scripts/maps/LilycoveCity_PokemonCenter_2F.s"
	.include "data/scripts/maps/LilycoveCity_UnusedMart.s"
	.include "data/scripts/maps/LilycoveCity_PokemonTrainerFanClub.s"
	.include "data/scripts/maps/LilycoveCity_Harbor.s"
	.include "data/scripts/maps/LilycoveCity_EmptyMap.s"
	.include "data/scripts/maps/LilycoveCity_MoveDeletersHouse.s"
	.include "data/scripts/maps/LilycoveCity_House1.s"
	.include "data/scripts/maps/LilycoveCity_House2.s"
	.include "data/scripts/maps/LilycoveCity_House3.s"
	.include "data/scripts/maps/LilycoveCity_House4.s"
	.include "data/scripts/maps/LilycoveCity_DepartmentStore_1F.s"
	.include "data/scripts/maps/LilycoveCity_DepartmentStore_2F.s"
	.include "data/scripts/maps/LilycoveCity_DepartmentStore_3F.s"
	.include "data/scripts/maps/LilycoveCity_DepartmentStore_4F.s"
	.include "data/scripts/maps/LilycoveCity_DepartmentStore_5F.s"
	.include "data/scripts/maps/LilycoveCity_DepartmentStoreRooftop.s"
	.include "data/scripts/maps/LilycoveCity_DepartmentStoreElevator.s"
	.include "data/scripts/maps/MossdeepCity_Gym.s"
	.include "data/scripts/maps/MossdeepCity_House1.s"
	.include "data/scripts/maps/MossdeepCity_House2.s"
	.include "data/scripts/maps/MossdeepCity_PokemonCenter_1F.s"
	.include "data/scripts/maps/MossdeepCity_PokemonCenter_2F.s"
	.include "data/scripts/maps/MossdeepCity_Mart.s"
	.include "data/scripts/maps/MossdeepCity_House3.s"
	.include "data/scripts/maps/MossdeepCity_StevensHouse.s"
	.include "data/scripts/maps/MossdeepCity_House4.s"
	.include "data/scripts/maps/MossdeepCity_SpaceCenter_1F.s"
	.include "data/scripts/maps/MossdeepCity_SpaceCenter_2F.s"
	.include "data/scripts/maps/MossdeepCity_GameCorner_1F.s"
	.include "data/scripts/maps/MossdeepCity_GameCorner_B1F.s"
	.include "data/scripts/maps/SootopolisCity_Gym_1F.s"
	.include "data/scripts/maps/SootopolisCity_Gym_B1F.s"
	.include "data/scripts/maps/SootopolisCity_PokemonCenter_1F.s"
	.include "data/scripts/maps/SootopolisCity_PokemonCenter_2F.s"
	.include "data/scripts/maps/SootopolisCity_Mart.s"
	.include "data/scripts/maps/SootopolisCity_House1.s"
	.include "data/scripts/maps/SootopolisCity_House2.s"
	.include "data/scripts/maps/SootopolisCity_House3.s"
	.include "data/scripts/maps/SootopolisCity_House4.s"
	.include "data/scripts/maps/SootopolisCity_House5.s"
	.include "data/scripts/maps/SootopolisCity_House6.s"
	.include "data/scripts/maps/SootopolisCity_House7.s"
	.include "data/scripts/maps/SootopolisCity_House8.s"
	.include "data/scripts/maps/EverGrandeCity_SidneysRoom.s"
	.include "data/scripts/maps/EverGrandeCity_PhoebesRoom.s"
	.include "data/scripts/maps/EverGrandeCity_GlaciasRoom.s"
	.include "data/scripts/maps/EverGrandeCity_DrakesRoom.s"
	.include "data/scripts/maps/EverGrandeCity_ChampionsRoom.s"
	.include "data/scripts/maps/EverGrandeCity_Corridor1.s"
	.include "data/scripts/maps/EverGrandeCity_Corridor2.s"
	.include "data/scripts/maps/EverGrandeCity_Corridor3.s"
	.include "data/scripts/maps/EverGrandeCity_Corridor4.s"
	.include "data/scripts/maps/EverGrandeCity_Corridor5.s"
	.include "data/scripts/maps/EverGrandeCity_PokemonLeague.s"
	.include "data/scripts/maps/EverGrandeCity_HallOfFame.s"
	.include "data/scripts/maps/EverGrandeCity_PokemonCenter_1F.s"
	.include "data/scripts/maps/EverGrandeCity_PokemonCenter_2F.s"
	.include "data/scripts/maps/Route104_MrBrineysHouse.s"
	.include "data/scripts/maps/Route104_PrettyPetalFlowerShop.s"
	.include "data/scripts/maps/Route111_WinstrateFamilysHouse.s"
	.include "data/scripts/maps/Route111_OldLadysRestStop.s"
	.include "data/scripts/maps/Route112_CableCarStation.s"
	.include "data/scripts/maps/MtChimney_CableCarStation.s"
	.include "data/scripts/maps/Route114_FossilManiacsHouse.s"
	.include "data/scripts/maps/Route114_FossilManiacsTunnel.s"
	.include "data/scripts/maps/Route114_LanettesHouse.s"
	.include "data/scripts/maps/Route116_TunnelersRestHouse.s"
	.include "data/scripts/maps/Route117_PokemonDayCare.s"
	.include "data/scripts/maps/Route121_SafariZoneEntrance.s"
	.include "data/scripts/maps/MeteorFalls_1F_1R.s"
	.include "data/scripts/maps/MeteorFalls_1F_2R.s"
	.include "data/scripts/maps/MeteorFalls_B1F_1R.s"
	.include "data/scripts/maps/MeteorFalls_B1F_2R.s"
	.include "data/scripts/maps/RusturfTunnel.s"
	.include "data/scripts/maps/Underwater_SootopolisCity.s"
	.include "data/scripts/maps/DesertRuins.s"
	.include "data/scripts/maps/GraniteCave_1F.s"
	.include "data/scripts/maps/GraniteCave_B1F.s"
	.include "data/scripts/maps/GraniteCave_B2F.s"
	.include "data/scripts/maps/GraniteCave_StevensRoom.s"
	.include "data/scripts/maps/PetalburgWoods.s"
	.include "data/scripts/maps/MtChimney.s"
	.include "data/scripts/maps/JaggedPass.s"
	.include "data/scripts/maps/FieryPath.s"
	.include "data/scripts/maps/MtPyre_1F.s"
	.include "data/scripts/maps/MtPyre_2F.s"
	.include "data/scripts/maps/MtPyre_3F.s"
	.include "data/scripts/maps/MtPyre_4F.s"
	.include "data/scripts/maps/MtPyre_5F.s"
	.include "data/scripts/maps/MtPyre_6F.s"
	.include "data/scripts/maps/MtPyre_Exterior.s"
	.include "data/scripts/maps/MtPyre_Summit.s"
	.include "data/scripts/maps/AquaHideout_1F.s"
	.include "data/scripts/maps/AquaHideout_B1F.s"
	.include "data/scripts/maps/AquaHideout_B2F.s"
	.include "data/scripts/maps/Underwater_SeafloorCavern.s"
	.include "data/scripts/maps/SeafloorCavern_Entrance.s"
	.include "data/scripts/maps/SeafloorCavern_Room1.s"
	.include "data/scripts/maps/SeafloorCavern_Room2.s"
	.include "data/scripts/maps/SeafloorCavern_Room3.s"
	.include "data/scripts/maps/SeafloorCavern_Room4.s"
	.include "data/scripts/maps/SeafloorCavern_Room5.s"
	.include "data/scripts/maps/SeafloorCavern_Room6.s"
	.include "data/scripts/maps/SeafloorCavern_Room7.s"
	.include "data/scripts/maps/SeafloorCavern_Room8.s"
	.include "data/scripts/maps/SeafloorCavern_Room9.s"
	.include "data/scripts/maps/CaveOfOrigin_Entrance.s"
	.include "data/scripts/maps/CaveOfOrigin_1F.s"
	.include "data/scripts/maps/CaveOfOrigin_B1F.s"
	.include "data/scripts/maps/CaveOfOrigin_B2F.s"
	.include "data/scripts/maps/CaveOfOrigin_B3F.s"
	.include "data/scripts/maps/CaveOfOrigin_B4F.s"
	.include "data/scripts/maps/VictoryRoad_1F.s"
	.include "data/scripts/maps/VictoryRoad_B1F.s"
	.include "data/scripts/maps/VictoryRoad_B2F.s"
	.include "data/scripts/maps/ShoalCave_LowTideEntranceRoom.s"
	.include "data/scripts/maps/ShoalCave_LowTideInnerRoom.s"
	.include "data/scripts/maps/ShoalCave_LowTideStairsRoom.s"
	.include "data/scripts/maps/ShoalCave_LowTideLowerRoom.s"
	.include "data/scripts/maps/ShoalCave_HighTideEntranceRoom.s"
	.include "data/scripts/maps/ShoalCave_HighTideInnerRoom.s"
	.include "data/scripts/maps/NewMauville_Entrance.s"
	.include "data/scripts/maps/NewMauville_Inside.s"
	.include "data/scripts/maps/AbandonedShip_Deck.s"
	.include "data/scripts/maps/AbandonedShip_Corridors_1F.s"
	.include "data/scripts/maps/AbandonedShip_Rooms_1F.s"
	.include "data/scripts/maps/AbandonedShip_Corridors_B1F.s"
	.include "data/scripts/maps/AbandonedShip_Rooms_B1F.s"
	.include "data/scripts/maps/AbandonedShip_Rooms2_B1F.s"
	.include "data/scripts/maps/AbandonedShip_Underwater1.s"
	.include "data/scripts/maps/AbandonedShip_Room_B1F.s"
	.include "data/scripts/maps/AbandonedShip_Rooms2_1F.s"
	.include "data/scripts/maps/AbandonedShip_CaptainsOffice.s"
	.include "data/scripts/maps/AbandonedShip_Underwater2.s"
	.include "data/scripts/maps/AbandonedShip_HiddenFloorCorridors.s"
	.include "data/scripts/maps/AbandonedShip_HiddenFloorRooms.s"
	.include "data/scripts/maps/IslandCave.s"
	.include "data/scripts/maps/AncientTomb.s"
	.include "data/scripts/maps/Underwater_Route134.s"
	.include "data/scripts/maps/Underwater_SealedChamber.s"
	.include "data/scripts/maps/SealedChamber_OuterRoom.s"
	.include "data/scripts/maps/SealedChamber_InnerRoom.s"
	.include "data/scripts/maps/ScorchedSlab.s"
	.include "data/scripts/maps/MagmaHideout_1F.s"
	.include "data/scripts/maps/MagmaHideout_B1F.s"
	.include "data/scripts/maps/MagmaHideout_B2F.s"
	.include "data/scripts/maps/SkyPillar_Entrance.s"
	.include "data/scripts/maps/SkyPillar_Outside.s"
	.include "data/scripts/maps/SkyPillar_1F.s"
	.include "data/scripts/maps/SkyPillar_2F.s"
	.include "data/scripts/maps/SkyPillar_3F.s"
	.include "data/scripts/maps/SkyPillar_4F.s"
	.include "data/scripts/maps/ShoalCave_LowTideIceRoom.s"
	.include "data/scripts/maps/SkyPillar_5F.s"
	.include "data/scripts/maps/SkyPillar_Top.s"
	.include "data/scripts/maps/SecretBase_BlueCave1.s"
	.include "data/scripts/maps/SecretBase_BlueCave2.s"
	.include "data/scripts/maps/SecretBase_BlueCave3.s"
	.include "data/scripts/maps/SecretBase_BlueCave4.s"
	.include "data/scripts/maps/SecretBase_BrownCave1.s"
	.include "data/scripts/maps/SecretBase_BrownCave2.s"
	.include "data/scripts/maps/SecretBase_BrownCave3.s"
	.include "data/scripts/maps/SecretBase_BrownCave4.s"
	.include "data/scripts/maps/SecretBase_RedCave1.s"
	.include "data/scripts/maps/SecretBase_RedCave2.s"
	.include "data/scripts/maps/SecretBase_RedCave3.s"
	.include "data/scripts/maps/SecretBase_RedCave4.s"
	.include "data/scripts/maps/SecretBase_Shrub1.s"
	.include "data/scripts/maps/SecretBase_Shrub2.s"
	.include "data/scripts/maps/SecretBase_Shrub3.s"
	.include "data/scripts/maps/SecretBase_Shrub4.s"
	.include "data/scripts/maps/SecretBase_Tree1.s"
	.include "data/scripts/maps/SecretBase_Tree2.s"
	.include "data/scripts/maps/SecretBase_Tree3.s"
	.include "data/scripts/maps/SecretBase_Tree4.s"
	.include "data/scripts/maps/SecretBase_YellowCave1.s"
	.include "data/scripts/maps/SecretBase_YellowCave2.s"
	.include "data/scripts/maps/SecretBase_YellowCave3.s"
	.include "data/scripts/maps/SecretBase_YellowCave4.s"

gUnknown_0815F36C:: @ 815F36C
	lockall
	playsfx 2
	message UnknownString_81A3A72
	doanimation 61
	waitstate
	waittext
	waitbutton
	playsfx 5
	jump EventScript_15F384
	end

EventScript_15F384:
	message UnknownString_81A3A87
	waittext
	checkflag 268
	jumpeq EventScript_15F3A0
	jump EventScript_15F3E2
	end

gUnknown_0815F399:: @ 815F399
	lockall
	jump EventScript_15F384
	end

EventScript_15F3A0:
	multichoice 0, 0, 6, 0
	switch RESULT
	case 0, EventScript_15F432
	case 1, EventScript_15F419
	case 2, EventScript_15F436
	case 3, EventScript_15F51D
	case 127, EventScript_15F51D
	end

EventScript_15F3E2:
	multichoice 0, 0, 5, 0
	switch RESULT
	case 0, EventScript_15F432
	case 1, EventScript_15F419
	case 2, EventScript_15F51D
	case 127, EventScript_15F51D
	end

EventScript_15F419:
	msgbox UnknownString_81A38FB, 5
	compare RESULT, 0
	jumpeq EventScript_15F384
	closebutton
	special 10
	releaseall
	end

EventScript_15F432:
	special 14
	end

EventScript_15F436:
	special 15
	end

gUnknown_0815F43A:: @ 815F43A
	lockall
	message UnknownString_81A3A72
	playsfx 2
	doanimation 61
	waitstate
	waittext
	waitbutton
	playsfx 5
	jump EventScript_15F452
	end

EventScript_15F452:
	message UnknownString_81A3A87
	waittext
	multichoice 0, 0, 7, 0
	switch RESULT
	case 0, EventScript_15F4A1
	case 1, EventScript_15F436
	case 2, EventScript_15F511
	case 3, EventScript_15F51D
	case 127, EventScript_15F51D
	end

gUnknown_0815F49A:: @ 815F49A
	lockall
	jump EventScript_15F452
	end

EventScript_15F4A1:
	special 12
	compare RESULT, 1
	jumpeq EventScript_15F4E0
	compare RESULT, 2
	jumpeq EventScript_15F503
	special 303
	msgbox UnknownString_81A3958, 5
	compare RESULT, 0
	jumpeq EventScript_15F452
	msgbox UnknownString_81A3A22, 3
	special 13
	special 26
	releaseall
	end

EventScript_15F4E0:
	msgbox UnknownString_81A3982, 5
	compare RESULT, 0
	jumpeq EventScript_15F452
	msgbox UnknownString_81A3A3A, 3
	special 13
	special 26
	releaseall
	end

EventScript_15F503:
	msgbox UnknownString_81A39C0, 3
	special 26
	closebutton
	releaseall
	end

EventScript_15F511:
	message UnknownString_81A3AA2
	waittext
	jump EventScript_15F452
	end

EventScript_15F51D:
	special 26
	closebutton
	releaseall
	end

gUnknown_0815F523:: @ 815F523
	doanimation 52
	waitstate
	end

gUnknown_0815F528:: @ 815F528
	special 307
	compare RESULT, 0
	jumpeq EventScript_15F558
	compare RESULT, 1
	jumpeq EventScript_15F561
	compare RESULT, 2
	jumpeq EventScript_15F56A
	compare RESULT, 3
	jumpeq EventScript_15F573
	end

EventScript_15F558:
	msgbox UnknownString_81A3B5B, 3
	end

EventScript_15F561:
	msgbox UnknownString_81A3BA4, 3
	end

EventScript_15F56A:
	msgbox UnknownString_81A3BE8, 3
	end

EventScript_15F573:
	msgbox UnknownString_81A3C31, 3
	end

	.include "data/scripts/maps/SingleBattleColosseum.s"
	.include "data/scripts/maps/TradeCenter.s"
	.include "data/scripts/maps/RecordCorner.s"
	.include "data/scripts/maps/DoubleBattleColosseum.s"
	.include "data/scripts/maps/LinkContestRoom1.s"
	.include "data/scripts/maps/LinkContestRoom2.s"
	.include "data/scripts/maps/LinkContestRoom3.s"
	.include "data/scripts/maps/LinkContestRoom4.s"
	.include "data/scripts/maps/LinkContestRoom5.s"
	.include "data/scripts/maps/LinkContestRoom6.s"
	.include "data/scripts/maps/UnknownMap_25_29.s"
	.include "data/scripts/maps/UnknownMap_25_30.s"
	.include "data/scripts/maps/UnknownMap_25_31.s"
	.include "data/scripts/maps/UnknownMap_25_32.s"
	.include "data/scripts/maps/UnknownMap_25_33.s"
	.include "data/scripts/maps/UnknownMap_25_34.s"
	.include "data/scripts/maps/InsideOfTruck.s"
	.include "data/scripts/maps/SSTidalCorridor.s"
	.include "data/scripts/maps/SSTidalLowerDeck.s"
	.include "data/scripts/maps/SSTidalRooms.s"
	.include "data/scripts/maps/SafariZone_Northwest.s"
	.include "data/scripts/maps/SafariZone_Northeast.s"
	.include "data/scripts/maps/SafariZone_Southwest.s"
	.include "data/scripts/maps/SafariZone_Southeast.s"
	.include "data/scripts/maps/BattleTower_Outside.s"
	.include "data/scripts/maps/BattleTower_Lobby.s"
	.include "data/scripts/maps/BattleTower_Elevator.s"
	.include "data/scripts/maps/BattleTower_Corridor.s"
	.include "data/scripts/maps/BattleTower_BattleRoom.s"
	.include "data/scripts/maps/SouthernIsland_Exterior.s"
	.include "data/scripts/maps/SouthernIsland_Interior.s"
	.include "data/scripts/maps/SafariZone_RestHouse.s"
	.include "data/scripts/maps/Route104_Prototype.s"
	.include "data/scripts/maps/Route104_PrototypePrettyPetalFlowerShop.s"
	.include "data/scripts/maps/Route109_SeashoreHouse.s"
	.include "data/scripts/maps/Route110_TrickHouseEntrance.s"
	.include "data/scripts/maps/Route110_TrickHouseEnd.s"
	.include "data/scripts/maps/Route110_TrickHouseCorridor.s"
	.include "data/scripts/maps/Route110_TrickHousePuzzle1.s"
	.include "data/scripts/maps/Route110_TrickHousePuzzle2.s"
	.include "data/scripts/maps/Route110_TrickHousePuzzle3.s"
	.include "data/scripts/maps/Route110_TrickHousePuzzle4.s"
	.include "data/scripts/maps/Route110_TrickHousePuzzle5.s"
	.include "data/scripts/maps/Route110_TrickHousePuzzle6.s"
	.include "data/scripts/maps/Route110_TrickHousePuzzle7.s"
	.include "data/scripts/maps/Route110_TrickHousePuzzle8.s"
	.include "data/scripts/maps/Route110_SeasideCyclingRoadSouthEntrance.s"
	.include "data/scripts/maps/Route110_SeasideCyclingRoadNorthEntrance.s"
	.include "data/scripts/maps/Route113_GlassWorkshop.s"
	.include "data/scripts/maps/Route123_BerryMastersHouse.s"
	.include "data/scripts/maps/Route119_WeatherInstitute_1F.s"
	.include "data/scripts/maps/Route119_WeatherInstitute_2F.s"
	.include "data/scripts/maps/Route119_House.s"
	.include "data/scripts/maps/Route124_DivingTreasureHuntersHouse.s"

	.include "data/text/maps/PetalburgCity.s"
	.include "data/text/maps/SlateportCity.s"
	.include "data/text/maps/MauvilleCity.s"
	.include "data/text/maps/RustboroCity.s"
	.include "data/text/maps/FortreeCity.s"
	.include "data/text/maps/LilycoveCity.s"
	.include "data/text/maps/MossdeepCity.s"
	.include "data/text/maps/SootopolisCity.s"
	.include "data/text/maps/EverGrandeCity.s"
	.include "data/text/maps/LittlerootTown.s"
	.include "data/text/maps/OldaleTown.s"
	.include "data/text/maps/DewfordTown.s"
	.include "data/text/maps/LavaridgeTown.s"
	.include "data/text/maps/FallarborTown.s"
	.include "data/text/maps/VerdanturfTown.s"
	.include "data/text/maps/PacifidlogTown.s"
	.include "data/text/maps/Route101.s"
	.include "data/text/maps/Route102.s"
	.include "data/text/maps/Route103.s"
	.include "data/text/maps/Route104.s"
	.include "data/text/maps/Route105.s"
	.include "data/text/maps/Route106.s"
	.include "data/text/maps/Route107.s"
	.include "data/text/maps/Route108.s"
	.include "data/text/maps/Route109.s"
	.include "data/text/maps/Route110.s"
	.include "data/text/maps/Route111.s"
	.include "data/text/maps/Route112.s"
	.include "data/text/maps/Route113.s"
	.include "data/text/maps/Route114.s"
	.include "data/text/maps/Route115.s"
	.include "data/text/maps/Route116.s"
	.include "data/text/maps/Route117.s"
	.include "data/text/maps/Route118.s"
	.include "data/text/maps/Route119.s"
	.include "data/text/maps/Route120.s"
	.include "data/text/maps/Route121.s"
	.include "data/text/maps/Route123.s"
	.include "data/text/maps/Route124.s"
	.include "data/text/maps/Route128.s"
	.include "data/text/maps/LittlerootTown_BrendansHouse_1F.s"
	.include "data/text/maps/LittlerootTown_BrendansHouse_2F.s"
	.include "data/text/maps/LittlerootTown_MaysHouse_1F.s"
	.include "data/text/maps/LittlerootTown_MaysHouse_2F.s"
	.include "data/text/maps/LittlerootTown_ProfessorBirchsLab.s"
	.include "data/text/maps/OldaleTown_House1.s"
	.include "data/text/maps/OldaleTown_House2.s"
	.include "data/text/maps/OldaleTown_PokemonCenter_1F.s"
	.include "data/text/maps/OldaleTown_Mart.s"
	.include "data/text/maps/DewfordTown_House1.s"
	.include "data/text/maps/DewfordTown_PokemonCenter_1F.s"
	.include "data/text/maps/DewfordTown_Gym.s"
	.include "data/text/maps/DewfordTown_Hall.s"
	.include "data/text/maps/DewfordTown_House2.s"
	.include "data/text/maps/LavaridgeTown_HerbShop.s"
	.include "data/text/maps/LavaridgeTown_Gym_1F.s"
	.include "data/text/maps/LavaridgeTown_House.s"
	.include "data/text/maps/LavaridgeTown_Mart.s"
	.include "data/text/maps/LavaridgeTown_PokemonCenter_1F.s"
	.include "data/text/maps/FallarborTown_Mart.s"
	.include "data/text/maps/FallarborTown_ContestLobby.s"
	.include "data/text/maps/FallarborTown_ContestHall.s"
	.include "data/text/maps/FallarborTown_PokemonCenter_1F.s"
	.include "data/text/maps/FallarborTown_House1.s"
	.include "data/text/maps/FallarborTown_House2.s"
	.include "data/text/maps/VerdanturfTown_ContestLobby.s"
	.include "data/text/maps/VerdanturfTown_ContestHall.s"
	.include "data/text/maps/VerdanturfTown_Mart.s"
	.include "data/text/maps/VerdanturfTown_PokemonCenter_1F.s"
	.include "data/text/maps/VerdanturfTown_WandasHouse.s"
	.include "data/text/maps/VerdanturfTown_FriendshipRatersHouse.s"
	.include "data/text/maps/VerdanturfTown_House.s"
	.include "data/text/maps/PacifidlogTown_PokemonCenter_1F.s"
	.include "data/text/maps/PacifidlogTown_House1.s"
	.include "data/text/maps/PacifidlogTown_House2.s"
	.include "data/text/maps/PacifidlogTown_House3.s"
	.include "data/text/maps/PacifidlogTown_House4.s"
	.include "data/text/maps/PacifidlogTown_House5.s"
	.include "data/text/maps/PetalburgCity_WallysHouse.s"
	.include "data/text/maps/PetalburgCity_Gym.s"
	.include "data/text/maps/PetalburgCity_House1.s"
	.include "data/text/maps/PetalburgCity_House2.s"
	.include "data/text/maps/PetalburgCity_PokemonCenter_1F.s"
	.include "data/text/maps/PetalburgCity_Mart.s"
	.include "data/text/maps/SlateportCity_SternsShipyard_1F.s"
	.include "data/text/maps/SlateportCity_SternsShipyard_2F.s"
	.include "data/text/maps/SlateportCity_ContestLobby.s"
	.include "data/text/maps/SlateportCity_ContestHall.s"
	.include "data/text/maps/SlateportCity_House1.s"
	.include "data/text/maps/SlateportCity_PokemonFanClub.s"
	.include "data/text/maps/SlateportCity_OceanicMuseum_1F.s"
	.include "data/text/maps/SlateportCity_OceanicMuseum_2F.s"
	.include "data/text/maps/SlateportCity_Harbor.s"
	.include "data/text/maps/SlateportCity_House2.s"
	.include "data/text/maps/SlateportCity_PokemonCenter_1F.s"
	.include "data/text/maps/SlateportCity_Mart.s"
	.include "data/text/maps/MauvilleCity_Gym.s"
	.include "data/text/maps/MauvilleCity_BikeShop.s"
	.include "data/text/maps/MauvilleCity_House1.s"
	.include "data/text/maps/MauvilleCity_GameCorner.s"
	.include "data/text/maps/MauvilleCity_House2.s"
	.include "data/text/maps/MauvilleCity_PokemonCenter_1F.s"
	.include "data/text/maps/MauvilleCity_PokemonCenter_2F.s"
	.include "data/text/maps/MauvilleCity_Mart.s"
	.include "data/text/maps/RustboroCity_DevonCorp_1F.s"
	.include "data/text/maps/RustboroCity_DevonCorp_2F.s"
	.include "data/text/maps/RustboroCity_DevonCorp_3F.s"
	.include "data/text/maps/RustboroCity_Gym.s"
	.include "data/text/maps/RustboroCity_PokemonSchool.s"
	.include "data/text/maps/RustboroCity_PokemonCenter_1F.s"
	.include "data/text/maps/RustboroCity_Mart.s"
	.include "data/text/maps/RustboroCity_Flat1_1F.s"
	.include "data/text/maps/RustboroCity_Flat1_2F.s"
	.include "data/text/maps/RustboroCity_House1.s"
	.include "data/text/maps/RustboroCity_CuttersHouse.s"
	.include "data/text/maps/RustboroCity_House2.s"
	.include "data/text/maps/RustboroCity_Flat2_1F.s"
	.include "data/text/maps/RustboroCity_Flat2_2F.s"
	.include "data/text/maps/RustboroCity_Flat2_3F.s"
	.include "data/text/maps/RustboroCity_House3.s"
	.include "data/text/maps/FortreeCity_House1.s"
	.include "data/text/maps/FortreeCity_Gym.s"
	.include "data/text/maps/FortreeCity_PokemonCenter_1F.s"
	.include "data/text/maps/FortreeCity_Mart.s"
	.include "data/text/maps/FortreeCity_House2.s"
	.include "data/text/maps/FortreeCity_House3.s"
	.include "data/text/maps/FortreeCity_House4.s"
	.include "data/text/maps/FortreeCity_House5.s"
	.include "data/text/maps/FortreeCity_DecorationShop.s"
	.include "data/text/maps/LilycoveCity_CoveLilyMotel_1F.s"
	.include "data/text/maps/LilycoveCity_CoveLilyMotel_2F.s"
	.include "data/text/maps/LilycoveCity_LilycoveMuseum_1F.s"
	.include "data/text/maps/LilycoveCity_LilycoveMuseum_2F.s"
	.include "data/text/maps/LilycoveCity_ContestLobby.s"
	.include "data/text/maps/LilycoveCity_ContestHall.s"
	.include "data/text/maps/LilycoveCity_PokemonCenter_1F.s"
	.include "data/text/maps/LilycoveCity_PokemonTrainerFanClub.s"
	.include "data/text/maps/LilycoveCity_Harbor.s"
	.include "data/text/maps/LilycoveCity_MoveDeletersHouse.s"
	.include "data/text/maps/LilycoveCity_House1.s"
	.include "data/text/maps/LilycoveCity_House2.s"
	.include "data/text/maps/LilycoveCity_House3.s"
	.include "data/text/maps/LilycoveCity_House4.s"
	.include "data/text/maps/LilycoveCity_DepartmentStore_1F.s"
	.include "data/text/maps/LilycoveCity_DepartmentStore_2F.s"
	.include "data/text/maps/LilycoveCity_DepartmentStore_3F.s"
	.include "data/text/maps/LilycoveCity_DepartmentStore_4F.s"
	.include "data/text/maps/LilycoveCity_DepartmentStore_5F.s"
	.include "data/text/maps/LilycoveCity_DepartmentStoreRooftop.s"
	.include "data/text/maps/MossdeepCity_Gym.s"
	.include "data/text/maps/MossdeepCity_House1.s"
	.include "data/text/maps/MossdeepCity_House2.s"
	.include "data/text/maps/MossdeepCity_PokemonCenter_1F.s"
	.include "data/text/maps/MossdeepCity_PokemonCenter_2F.s"
	.include "data/text/maps/MossdeepCity_Mart.s"
	.include "data/text/maps/MossdeepCity_House3.s"
	.include "data/text/maps/MossdeepCity_StevensHouse.s"
	.include "data/text/maps/MossdeepCity_House4.s"
	.include "data/text/maps/MossdeepCity_SpaceCenter_1F.s"
	.include "data/text/maps/MossdeepCity_SpaceCenter_2F.s"
	.include "data/text/maps/MossdeepCity_GameCorner_1F.s"
	.include "data/text/maps/MossdeepCity_GameCorner_B1F.s"
	.include "data/text/maps/SootopolisCity_Gym_1F.s"
	.include "data/text/maps/SootopolisCity_Gym_B1F.s"
	.include "data/text/maps/SootopolisCity_PokemonCenter_1F.s"
	.include "data/text/maps/SootopolisCity_Mart.s"
	.include "data/text/maps/SootopolisCity_House1.s"
	.include "data/text/maps/SootopolisCity_House2.s"
	.include "data/text/maps/SootopolisCity_House3.s"
	.include "data/text/maps/SootopolisCity_House4.s"
	.include "data/text/maps/SootopolisCity_House5.s"
	.include "data/text/maps/SootopolisCity_House6.s"
	.include "data/text/maps/SootopolisCity_House7.s"
	.include "data/text/maps/SootopolisCity_House8.s"
	.include "data/text/maps/EverGrandeCity_SidneysRoom.s"
	.include "data/text/maps/EverGrandeCity_PhoebesRoom.s"
	.include "data/text/maps/EverGrandeCity_GlaciasRoom.s"
	.include "data/text/maps/EverGrandeCity_DrakesRoom.s"
	.include "data/text/maps/EverGrandeCity_ChampionsRoom.s"
	.include "data/text/maps/EverGrandeCity_PokemonLeague.s"
	.include "data/text/maps/EverGrandeCity_HallOfFame.s"
	.include "data/text/maps/EverGrandeCity_PokemonCenter_1F.s"
	.include "data/text/maps/Route104_MrBrineysHouse.s"
	.include "data/text/maps/Route111_WinstrateFamilysHouse.s"
	.include "data/text/maps/Route111_OldLadysRestStop.s"
	.include "data/text/maps/Route112_CableCarStation.s"
	.include "data/text/maps/MtChimney_CableCarStation.s"
	.include "data/text/maps/Route114_FossilManiacsHouse.s"
	.include "data/text/maps/Route114_FossilManiacsTunnel.s"
	.include "data/text/maps/Route114_LanettesHouse.s"
	.include "data/text/maps/Route116_TunnelersRestHouse.s"
	.include "data/text/maps/MeteorFalls_1F_1R.s"
	.include "data/text/maps/MeteorFalls_1F_2R.s"
	.include "data/text/maps/RusturfTunnel.s"
	.include "data/text/maps/GraniteCave_1F.s"
	.include "data/text/maps/GraniteCave_StevensRoom.s"
	.include "data/text/maps/PetalburgWoods.s"
	.include "data/text/maps/MtChimney.s"
	.include "data/text/maps/JaggedPass.s"
	.include "data/text/maps/MtPyre_1F.s"
	.include "data/text/maps/MtPyre_2F.s"
	.include "data/text/maps/MtPyre_3F.s"
	.include "data/text/maps/MtPyre_4F.s"
	.include "data/text/maps/MtPyre_5F.s"
	.include "data/text/maps/MtPyre_6F.s"
	.include "data/text/maps/AquaHideout_1F.s"
	.include "data/text/maps/AquaHideout_B1F.s"
	.include "data/text/maps/AquaHideout_B2F.s"
	.include "data/text/maps/Underwater_SeafloorCavern.s"
	.include "data/text/maps/SeafloorCavern_Room1.s"
	.include "data/text/maps/SeafloorCavern_Room3.s"
	.include "data/text/maps/SeafloorCavern_Room4.s"
	.include "data/text/maps/VictoryRoad_1F.s"
	.include "data/text/maps/VictoryRoad_B1F.s"
	.include "data/text/maps/VictoryRoad_B2F.s"
	.include "data/text/maps/ShoalCave_LowTideEntranceRoom.s"
	.include "data/text/maps/ShoalCave_LowTideInnerRoom.s"
	.include "data/text/maps/ShoalCave_LowTideStairsRoom.s"
	.include "data/text/maps/ShoalCave_LowTideLowerRoom.s"
	.include "data/text/maps/NewMauville_Entrance.s"
	.include "data/text/maps/NewMauville_Inside.s"
	.include "data/text/maps/AbandonedShip_Corridors_1F.s"
	.include "data/text/maps/AbandonedShip_Rooms_1F.s"
	.include "data/text/maps/AbandonedShip_Corridors_B1F.s"
	.include "data/text/maps/AbandonedShip_HiddenFloorCorridors.s"
	.include "data/text/maps/AbandonedShip_Rooms_B1F.s"
	.include "data/text/maps/AbandonedShip_Rooms2_B1F.s"
	.include "data/text/maps/AbandonedShip_Rooms2_1F.s"
	.include "data/text/maps/AbandonedShip_CaptainsOffice.s"
	.include "data/text/maps/AbandonedShip_HiddenFloorRooms.s"
	.include "data/text/maps/SecretBase_RedCave1.s"
	.include "data/text/maps/InsideOfTruck.s"
	.include "data/text/maps/SSTidalCorridor.s"
	.include "data/text/maps/SSTidalLowerDeck.s"
	.include "data/text/maps/SSTidalRooms.s"
	.include "data/text/maps/BattleTower_Outside.s"
	.include "data/text/maps/BattleTower_Lobby.s"
	.include "data/text/maps/BattleTower_BattleRoom.s"
	.include "data/text/maps/SouthernIsland_Exterior.s"
	.include "data/text/maps/SouthernIsland_Interior.s"
	.include "data/text/maps/SafariZone_RestHouse.s"
	.include "data/text/maps/Route104_Prototype.s"
	.include "data/text/maps/Route104_PrototypePrettyPetalFlowerShop.s"
	.include "data/text/maps/Route109_SeashoreHouse.s"
	.include "data/text/maps/Route110_TrickHouseEntrance.s"

Route110_TrickHousePuzzle1_Text_19C1B8:: @ 819C1B8
	.string "{PLAYER} found a scroll.$"

Route110_TrickHousePuzzle1_Text_19C1CB:: @ 819C1CB
	.string "{PLAYER} memorized the secret code\n"
	.string "written on the scroll.$"

Route110_TrickHousePuzzle1_Text_19C1FF:: @ 819C1FF
	.string "A secret code is written on it.$"

UnknownString_819C21F: @ 819C21F
	.string "The door is locked.\p"
	.string "...On closer inspection, this is written\n"
	.string "on it: “Write the secret code here.”$"

	.include "data/text/maps/Route110_TrickHouseEnd.s"
	.include "data/text/maps/Route110_TrickHousePuzzle1.s"
	.include "data/text/maps/Route110_TrickHousePuzzle2.s"
	.include "data/text/maps/Route110_TrickHousePuzzle3.s"
	.include "data/text/maps/Route110_TrickHousePuzzle4.s"
	.include "data/text/maps/Route110_TrickHousePuzzle5.s"
	.include "data/text/maps/Route110_TrickHousePuzzle6.s"
	.include "data/text/maps/Route110_TrickHousePuzzle7.s"
	.include "data/text/maps/Route110_TrickHousePuzzle8.s"
	.include "data/text/maps/Route110_SeasideCyclingRoadSouthEntrance.s"
	.include "data/text/maps/Route110_SeasideCyclingRoadNorthEntrance.s"
	.include "data/text/maps/Route113_GlassWorkshop.s"
	.include "data/text/maps/Route123_BerryMastersHouse.s"
	.include "data/text/maps/Route119_WeatherInstitute_1F.s"
	.include "data/text/maps/Route119_WeatherInstitute_2F.s"
	.include "data/text/maps/Route119_House.s"
	.include "data/text/maps/Route124_DivingTreasureHuntersHouse.s"


Std_2:
	lock
	faceplayer
	message 0x0
	waittext
	waitbutton
	release
	return

Std_3:
	lockall
	message 0x0
	waittext
	waitbutton
	releaseall
	return

Std_4:
	message 0x0
	waittext
	waitbutton
	return

Std_5:
	message 0x0
	waittext
	yesnobox 20, 8
	return

	.incbin "baserom.gba", 0x19f805, 0x1

BattleTower_Lobby_EventScript_19F806:: @ 819F806
FallarborTown_ContestLobby_EventScript_19F806:: @ 819F806
LilycoveCity_ContestLobby_EventScript_19F806:: @ 819F806
MossdeepCity_GameCorner_1F_EventScript_19F806:: @ 819F806
OldaleTown_PokemonCenter_2F_EventScript_19F806:: @ 819F806
SecretBase_RedCave1_EventScript_19F806:: @ 819F806
	special 93
	waitstate
	return

gUnknown_0819F80B:: @ 819F80B
	lock
	special 56
	special 55
	waitstate
	jump EventScript_19F8F2

gUnknown_0819F818:: @ 819F818
	lock
	faceplayer
	move LAST_TALKED, Movement_19F8F0
	waitmove 0
	specialval RESULT, 54
	compare RESULT, 0
	jumpif 5, EventScript_19F83F
	special 56
	special 314
	jump EventScript_19F8F2

EventScript_19F83F:
	endtrainerbattle

gUnknown_0819F840:: @ 819F840
	lock
	faceplayer
	call EventScript_19F8E5
	specialval RESULT, 54
	compare RESULT, 0
	jumpif 5, EventScript_19F877
	special 61
	compare RESULT, 0
	jumpif 5, EventScript_19F870
	special 56
	special 314
	jump EventScript_19F8F2

EventScript_19F870:
	special 53
	waittext
	waitbutton
	release
	end

EventScript_19F877:
	endtrainerbattle

gUnknown_0819F878:: @ 819F878
	move LAST_TALKED, Movement_19F8F0
	waitmove 0
	special 56
	reptrainerbattle
	endtrainerbattle

gUnknown_0819F887:: @ 819F887
	call EventScript_19F8E5
	specialval RESULT, 58
	compare RESULT, 0
	jumpeq EventScript_19F8AD
	special 56
	special 314
	special 52
	waittext
	waitbutton
	special 59
	waitstate
	releaseall
	end

EventScript_19F8AD:
	endtrainerbattle

gUnknown_0819F8AE:: @ 819F8AE
	specialval RESULT, 58
	compare RESULT, 0
	jumpeq EventScript_19F8DD
	special 61
	compare RESULT, 0
	jumpif 5, EventScript_19F8DE
	special 56
	special 314
	special 52
	waittext
	waitbutton
	special 59
	waitstate
	releaseall
	end

EventScript_19F8DD:
	endtrainerbattle

EventScript_19F8DE:
	special 53
	waittext
	waitbutton
	release
	end

EventScript_19F8E5:
	move LAST_TALKED, Movement_19F8F0
	waitmove 0
	return

Movement_19F8F0::
	step_59
	step_end

EventScript_19F8F2:
	special 52
	waittext
	waitbutton
	reptrainerbattle
	specialval RESULT, 51
	compare RESULT, 0
	jumpeq EventScript_19F934
	compare RESULT, 2
	jumpeq EventScript_19F936
	compare RESULT, 1
	jumpeq EventScript_19F936
	compare RESULT, 6
	jumpeq EventScript_19F936
	compare RESULT, 8
	jumpeq EventScript_19F936

EventScript_19F934:
	releaseall
	end

EventScript_19F936:
	endtrainerbattle2

Std_6::
	message 0x0
	waittext
	waitbutton
	release
	return

Event_ResetBerryTrees: @ 19F940
	event_8a 2, 7, 5
	event_8a 1, 3, 5
	event_8a 11, 7, 5
	event_8a 13, 3, 5
	event_8a 4, 7, 5
	event_8a 76, 1, 5
	event_8a 8, 1, 5
	event_8a 10, 6, 5
	event_8a 25, 20, 5
	event_8a 26, 2, 5
	event_8a 66, 2, 5
	event_8a 67, 20, 5
	event_8a 69, 22, 5
	event_8a 70, 22, 5
	event_8a 71, 22, 5
	event_8a 55, 17, 5
	event_8a 56, 17, 5
	event_8a 5, 1, 5
	event_8a 6, 6, 5
	event_8a 7, 1, 5
	event_8a 16, 18, 5
	event_8a 17, 18, 5
	event_8a 18, 18, 5
	event_8a 29, 19, 5
	event_8a 28, 19, 5
	event_8a 27, 19, 5
	event_8a 24, 4, 5
	event_8a 23, 3, 5
	event_8a 22, 3, 5
	event_8a 21, 4, 5
	event_8a 19, 16, 5
	event_8a 20, 16, 5
	event_8a 80, 7, 5
	event_8a 81, 7, 5
	event_8a 77, 8, 5
	event_8a 78, 8, 5
	event_8a 68, 8, 5
	event_8a 31, 10, 5
	event_8a 33, 10, 5
	event_8a 34, 21, 5
	event_8a 35, 21, 5
	event_8a 36, 21, 5
	event_8a 83, 24, 5
	event_8a 84, 24, 5
	event_8a 85, 10, 5
	event_8a 86, 6, 5
	event_8a 37, 5, 5
	event_8a 38, 5, 5
	event_8a 39, 5, 5
	event_8a 40, 3, 5
	event_8a 41, 3, 5
	event_8a 42, 3, 5
	event_8a 46, 19, 5
	event_8a 45, 20, 5
	event_8a 44, 18, 5
	event_8a 43, 16, 5
	event_8a 47, 8, 5
	event_8a 48, 5, 5
	event_8a 49, 4, 5
	event_8a 50, 2, 5
	event_8a 52, 18, 5
	event_8a 53, 18, 5
	event_8a 62, 6, 5
	event_8a 64, 6, 5
	event_8a 58, 21, 5
	event_8a 59, 21, 5
	event_8a 60, 25, 5
	event_8a 61, 25, 5
	event_8a 79, 23, 5
	event_8a 14, 23, 5
	event_8a 15, 21, 5
	event_8a 30, 21, 5
	event_8a 65, 25, 5
	event_8a 72, 25, 5
	event_8a 73, 23, 5
	event_8a 74, 23, 5
	event_8a 87, 3, 5
	event_8a 88, 10, 5
	event_8a 89, 4, 5
	event_8a 82, 36, 5
	return

gUnknown_0819FA81:: @ 819FA81
	setflag 86
	setflag 769
	setflag 770
	setflag 771
	setflag 721
	setflag 889
	setflag 726
	setflag 867
	setflag 731
	setflag 732
	setflag 814
	setflag 868
	setflag 739
	setflag 881
	setflag 738
	setflag 740
	setflag 741
	setflag 743
	setflag 744
	setflag 906
	setflag 737
	setflag 747
	setflag 748
	setflag 749
	setflag 756
	setflag 774
	setflag 895
	setflag 776
	setflag 777
	setflag 778
	setflag 779
	setflag 780
	setflag 781
	setflag 782
	setflag 783
	setflag 734
	setflag 849
	setflag 789
	setflag 790
	setflag 791
	setflag 792
	setflag 797
	setflag 798
	setflag 799
	setflag 901
	setflag 902
	setflag 903
	setflag 904
	setflag 800
	setflag 801
	setflag 803
	setflag 802
	setflag 806
	setflag 808
	setflag 809
	setflag 984
	setflag 811
	setflag 812
	setflag 866
	setflag 815
	setflag 816
	setflag 869
	setflag 823
	setflag 828
	setflag 829
	setflag 831
	setflag 859
	setflag 841
	setflag 843
	setflag 844
	setflag 847
	setflag 845
	setflag 846
	setflag 860
	setflag 861
	setflag 835
	setflag 840
	setflag 848
	setflag 851
	setflag 855
	setflag 856
	setflag 973
	setflag 870
	setflag 872
	setflag 877
	setflag 879
	setflag 891
	setflag 880
	setflag 878
	setflag 807
	setflag 983
	setflag 886
	setflag 884
	setflag 885
	setflag 961
	setflag 888
	setflag 941
	setflag 752
	setflag 757
	setflag 892
	setflag 896
	setflag 897
	setflag 898
	setflag 909
	setflag 910
	setflag 911
	setflag 915
	setflag 912
	setflag 920
	setflag 921
	setflag 922
	setflag 923
	setflag 925
	setflag 929
	setflag 930
	setflag 934
	setflag 939
	setflag 940
	setflag 928
	setflag 834
	setflag 944
	setflag 945
	setflag 947
	setflag 948
	setflag 858
	setflag 950
	setflag 968
	setflag 1133
	setflag 727
	setflag 979
	setflag 751
	setflag 991
	call Event_ResetBerryTrees
	end

EverGrandeCity_HallOfFame_EventScript_19FC13:: @ 819FC13
	clearflag 925
	call EverGrandeCity_HallOfFame_EventScript_19FD09
	setflag 869
	clearflag 950
	clearflag 727
	setvar 0x40c6, 1
	clearflag 751
	clearflag 860
	clearflag 861
	special 169
	checkflag 291
	callif 0, EverGrandeCity_HallOfFame_EventScript_19FC62
	checkflag 255
	callif 0, EverGrandeCity_HallOfFame_EventScript_19FC70
	checkflag 298
	callif 0, EverGrandeCity_HallOfFame_EventScript_19FC5A
	checkflag 123
	callif 0, EverGrandeCity_HallOfFame_EventScript_19FC5E
	return

EverGrandeCity_HallOfFame_EventScript_19FC5A:: @ 819FC5A
	clearflag 968
	return

EverGrandeCity_HallOfFame_EventScript_19FC5E:: @ 819FC5E
	clearflag 1133
	return

EverGrandeCity_HallOfFame_EventScript_19FC62:: @ 819FC62
	setvar 0x4082, 3
	setvar 0x408c, 3
	clearflag 734
	return

EverGrandeCity_HallOfFame_EventScript_19FC70:: @ 819FC70
	setflag 2141
	return

gUnknown_0819FC74:: @ 819FC74
	call EverGrandeCity_HallOfFame_EventScript_19FD09
	call EventScript_19FC84
	jump gUnknown_0819FC9F
	end

EventScript_19FC84:
	checkflag 221
	jumpeq Route101_EventScript_1A14DC
	checkflag 1213
	jumpif 0, Route101_EventScript_1A14DC
	clearflag 929
	setvar 0x4053, 2
	return

gUnknown_0819FC9F:: @ 819FC9F
	compare 0x4096, 1
	jumpeq EventScript_19FCC1
	compare 0x4096, 2
	jumpeq EventScript_19FCD7
	compare 0x4096, 3
	jumpeq EventScript_19FCF0
	end

EventScript_19FCC1:
	setflag 740
	setflag 743
	setflag 741
	setflag 744
	clearflag 742
	clearflag 739
	clearflag 881
	end

EventScript_19FCD7:
	setflag 741
	setflag 744
	setflag 738
	setflag 742
	setflag 739
	setflag 881
	clearflag 740
	clearflag 743
	end

EventScript_19FCF0:
	setflag 738
	setflag 742
	setflag 739
	setflag 881
	setflag 740
	setflag 743
	clearflag 741
	clearflag 744
	end

EverGrandeCity_HallOfFame_EventScript_19FD09:: @ 819FD09
	clearflag 1245
	clearflag 1246
	clearflag 1247
	clearflag 1248
	setvar 0x409c, 0
	return

DewfordTown_PokemonCenter_1F_EventScript_19FD1B:: @ 819FD1B
FallarborTown_PokemonCenter_1F_EventScript_19FD1B:: @ 819FD1B
LavaridgeTown_PokemonCenter_1F_EventScript_19FD1B:: @ 819FD1B
MauvilleCity_PokemonCenter_1F_EventScript_19FD1B:: @ 819FD1B
OldaleTown_PokemonCenter_1F_EventScript_19FD1B:: @ 819FD1B
PetalburgCity_PokemonCenter_1F_EventScript_19FD1B:: @ 819FD1B
RustboroCity_PokemonCenter_1F_EventScript_19FD1B:: @ 819FD1B
SlateportCity_PokemonCenter_1F_EventScript_19FD1B:: @ 819FD1B
VerdanturfTown_PokemonCenter_1F_EventScript_19FD1B:: @ 819FD1B
	checkflag 188
	jumpif 0, OldaleTown_PokemonCenter_1F_EventScript_1A14DC
	checkflag 1217
	jumpeq OldaleTown_PokemonCenter_1F_EventScript_1A14DC
	checkflag 742
	jumpif 0, OldaleTown_PokemonCenter_1F_EventScript_19FD49
	checkflag 740
	jumpif 0, OldaleTown_PokemonCenter_1F_EventScript_19FD4F
	checkflag 741
	jumpif 0, OldaleTown_PokemonCenter_1F_EventScript_19FD55
	return

OldaleTown_PokemonCenter_1F_EventScript_19FD49:: @ 819FD49
	setvar 0x4096, 1
	return

OldaleTown_PokemonCenter_1F_EventScript_19FD4F:: @ 819FD4F
	setvar 0x4096, 2
	return

OldaleTown_PokemonCenter_1F_EventScript_19FD55:: @ 819FD55
	setvar 0x4096, 3
	return

DewfordTown_PokemonCenter_1F_EventScript_19FD5B:: @ 819FD5B
EverGrandeCity_PokemonLeague_EventScript_19FD5B:: @ 819FD5B
FallarborTown_PokemonCenter_1F_EventScript_19FD5B:: @ 819FD5B
FortreeCity_PokemonCenter_1F_EventScript_19FD5B:: @ 819FD5B
LavaridgeTown_PokemonCenter_1F_EventScript_19FD5B:: @ 819FD5B
LilycoveCity_PokemonCenter_1F_EventScript_19FD5B:: @ 819FD5B
MauvilleCity_PokemonCenter_1F_EventScript_19FD5B:: @ 819FD5B
MossdeepCity_PokemonCenter_1F_EventScript_19FD5B:: @ 819FD5B
OldaleTown_PokemonCenter_1F_EventScript_19FD5B:: @ 819FD5B
PetalburgCity_PokemonCenter_1F_EventScript_19FD5B:: @ 819FD5B
RustboroCity_PokemonCenter_1F_EventScript_19FD5B:: @ 819FD5B
SlateportCity_PokemonCenter_1F_EventScript_19FD5B:: @ 819FD5B
SootopolisCity_PokemonCenter_1F_EventScript_19FD5B:: @ 819FD5B
VerdanturfTown_PokemonCenter_1F_EventScript_19FD5B:: @ 819FD5B
	lock
	faceplayer
	msgbox OldaleTown_PokemonCenter_1F_Text_1A0A7D, 5
	compare RESULT, 1
	jumpeq OldaleTown_PokemonCenter_1F_EventScript_19FD7C
	compare RESULT, 0
	jumpeq OldaleTown_PokemonCenter_1F_EventScript_19FDC7
	end

OldaleTown_PokemonCenter_1F_EventScript_19FD7C:: @ 819FD7C
	inccounter 15
	message OldaleTown_PokemonCenter_1F_Text_1A1245
	waittext
	move 0x800b, OldaleTown_PokemonCenter_1F_Movement_1A083F
	waitmove 0
	doanimation 25
	checkanimation 25
	move 0x800b, OldaleTown_PokemonCenter_1F_Movement_1A0845
	waitmove 0
	special 0
	checkflag 273
	jumpif 0, OldaleTown_PokemonCenter_1F_EventScript_19FDCE
	jump OldaleTown_PokemonCenter_1F_EventScript_19FDB0
	end

OldaleTown_PokemonCenter_1F_EventScript_19FDB0:: @ 819FDB0
	message OldaleTown_PokemonCenter_1F_Text_1A0B14
	waittext
	move 0x800b, OldaleTown_PokemonCenter_1F_Movement_19FDF4
	waitmove 0
	message OldaleTown_PokemonCenter_1F_Text_1A0AFA
	waittext
	return

OldaleTown_PokemonCenter_1F_EventScript_19FDC7:: @ 819FDC7
	message OldaleTown_PokemonCenter_1F_Text_1A0AFA
	waittext
	return

OldaleTown_PokemonCenter_1F_EventScript_19FDCE:: @ 819FDCE
	specialval RESULT, 308
	compare RESULT, 1
	jumpeq OldaleTown_PokemonCenter_1F_EventScript_19FDEA
	compare RESULT, 0
	jumpeq OldaleTown_PokemonCenter_1F_EventScript_19FDB0
	end

OldaleTown_PokemonCenter_1F_EventScript_19FDEA:: @ 819FDEA
	message OldaleTown_PokemonCenter_1F_Text_1A1275
	waittext
	setflag 273
	return

OldaleTown_PokemonCenter_1F_Movement_19FDF4:: @ 819FDF4
	step_4f
	step_12
	step_end

Std_ObtainItem: @ 819FDF7
	additem 0x8000, 0x8001
	copyvar 0x8007, RESULT
	call Std_ObtainItem_
	return

Std_ObtainItem_: @ 819FE07
	bufferitem 1, 0x8000
	checkitemtype 0x8000
	call GetItem_HandlePocket
	compare 0x8007, 0x1
	callif 1, Std_ObtainItem_Success
	compare 0x8007, 0x0
	callif 1, Std_ObtainItem_Fail
	return

GetItem_HandlePocket:
	switch RESULT
	case POCKET_ITEMS,      GetItem_HandlePocket_Items
	case POCKET_KEY_ITEMS,  GetItem_HandlePocket_KeyItems
	case POCKET_POKE_BALLS, GetItem_HandlePocket_PokeBalls
	case POCKET_TM_HM,      GetItem_HandlePocket_TMsHMs
	case POCKET_BERRIES,    GetItem_HandlePocket_Berries
	end

GetItem_HandlePocket_Items:
	bufferstd 2, 0xE
	compare 0x8007, 1
	callif 1, PlayGetItemFanfare
	return

GetItem_HandlePocket_KeyItems:
	bufferstd 2, 0xF
	compare 0x8007, 1
	callif 1, PlayGetItemFanfare
	return

GetItem_HandlePocket_PokeBalls:
	bufferstd 2, 0x10
	compare 0x8007, 1
	callif 1, PlayGetItemFanfare
	return

GetItem_HandlePocket_TMsHMs:
	bufferstd 2, 0x11
	compare 0x8007, 1
	callif 1, PlayGetTMHMFanfare
	return

GetItem_HandlePocket_Berries:
	bufferstd 2, 0x12
	compare 0x8007, 1
	callif 1, PlayGetItemFanfare
	return

Std_ObtainItem_Success: @ 819FEB7
	message Message_ObtainedItem
	waitfanfare
	waittext
	msgbox Message_PutAwayItem
	setvar RESULT, 1
	return

Std_ObtainItem_Fail: @ 819FECC
	setvar RESULT, 0
	return

PlayGetItemFanfare:
	fanfare 0x172
	return

PlayGetTMHMFanfare:
	fanfare 0x174
	return

Std_ObtainDecoration: @ 819FEDA
	adddecor 0x8000
	copyvar 0x8007, RESULT
	call Std_ObtainDecoration_
	return

Std_ObtainDecoration_: @ 819FEE8
	bufferdecor 1, 0x8000
	compare 0x8007, 1
	callif 1, Std_ObtainDecoration_Success
	compare 0x8007, 0
	callif 1, Std_ObtainDecoration_Fail
	return

Std_ObtainDecoration_Success: @ 819FF03
	fanfare 0x172
	message Message_ObtainedDecoration
	waitfanfare
	waittext
	msgbox Message_TransferredToPC
	setvar RESULT, 1
	return

Std_ObtainDecoration_Fail: @ 819FF1B
	setvar RESULT, 0
	return

Std_FindItem: @ 819FF21
	lock
	faceplayer
	checksound
	additem 0x8000, 0x8001
	copyvar 0x8007, RESULT
	bufferitem 1, 0x8000
	checkitemtype 0x8000
	call GetItem_HandlePocket
	compare 0x8007, 1
	callif 1, Std_FindItem_Success
	compare 0x8007, 0
	callif 1, Std_FindItem_Fail
	release
	return

Std_FindItem_Success: @ 819FF52
	disappear LAST_TALKED
	message Message_FoundOneItem
	waitfanfare
	waittext
	msgbox Message_PutAwayItem
	return

Std_FindItem_Fail: @ 819FF65
	msgbox Message_ObtainedItem
	msgbox Message_BagFull
	setvar RESULT, 0
	return

HiddenItemScript:: @ 819FF7B
	lockall
	checksound
	additem 0x8005, 1
	copyvar 0x8007, RESULT
	bufferitem 0x1, 0x8005
	checkitemtype 0x8005
	call GetItem_HandlePocket
	compare 0x8007, 1
	jumpeq HiddenItemScript_Success
	compare 0x8007, 0
	jumpeq HiddenItemScript_Fail
	end

HiddenItemScript_Success:
	message Message_FoundOneItem
	waitfanfare
	waittext
	msgbox Message_PutAwayItem
	special 0x96
	releaseall
	end

HiddenItemScript_Fail:
	msgbox Message_FoundOneItem
	msgbox Message_BagFull
	setvar RESULT, 0
	releaseall
	end

UnusedMixRecordsScript: @ 819FFD5
	lock
	faceplayer
	msgbox UnusedMixRecordsPromptText, 5
	compare RESULT, 1
	jumpeq UnusedMixRecordsScript_Yes
	compare RESULT, 0
	jumpeq UnusedMixRecordsScript_Done
	jump UnusedMixRecordsScript_Done
UnusedMixRecordsScript_Yes: @ 819FFFA
	special 0x1B
	waitstate
	lock
	faceplayer
UnusedMixRecordsScript_Done: @ 81A0000
	message UnusedMixRecordsSeeYouAgainText
	waittext
	waitbutton
	release
	end

gUnknown_081A0009:: @ 81A0009
	lockall
	setvar 0x8004, 0
	special 214
	playsfx 4
	msgbox UnknownString_81A09EC, 4
	jump EventScript_1A0023
	end

EventScript_1A0023:
	message UnknownString_81A0A01
	waittext
	special 262
	waitstate
	jump EventScript_1A0033
	end

EventScript_1A0033:
	switch RESULT
	case 0, EventScript_1A0085
	case 1, EventScript_1A0070
	case 2, EventScript_1A00CB
	case 3, EventScript_1A00BE
	case 127, EventScript_1A00BE
	end

EventScript_1A0070:
	playsfx 2
	msgbox UnknownString_81A0A54, 4
	special 250
	waitstate
	jump EventScript_1A0023
	end

EventScript_1A0085:
	playsfx 2
	checkflag 2123
	callif 0, EventScript_1A00AC
	checkflag 2123
	callif 1, EventScript_1A00B5
	msgbox UnknownString_81A0A35, 4
	special 60
	waitstate
	jump EventScript_1A0023
	end

EventScript_1A00AC:
	msgbox UnknownString_81A0A1E, 4
	return

EventScript_1A00B5:
	msgbox UnknownString_81A0A66, 4
	return

EventScript_1A00BE:
	setvar 0x8004, 0
	playsfx 3
	special 215
	releaseall
	end

EventScript_1A00CB:
	checkflag 2052
	jumpif 0, EventScript_1A00BE
	playsfx 2
	special 263
	waitstate
	jump EventScript_1A0033
	end

FallarborTown_EventScript_1A00E1:: @ 81A00E1
FortreeCity_EventScript_1A00E1:: @ 81A00E1
LavaridgeTown_EventScript_1A00E1:: @ 81A00E1
MauvilleCity_EventScript_1A00E1:: @ 81A00E1
MossdeepCity_EventScript_1A00E1:: @ 81A00E1
OldaleTown_EventScript_1A00E1:: @ 81A00E1
PetalburgCity_EventScript_1A00E1:: @ 81A00E1
RustboroCity_EventScript_1A00E1:: @ 81A00E1
SlateportCity_EventScript_1A00E1:: @ 81A00E1
SootopolisCity_EventScript_1A00E1:: @ 81A00E1
VerdanturfTown_EventScript_1A00E1:: @ 81A00E1
	msgbox PetalburgCity_Text_1A0D41, 3
	end

DewfordTown_EventScript_1A00EA:: @ 81A00EA
EverGrandeCity_EventScript_1A00EA:: @ 81A00EA
FallarborTown_EventScript_1A00EA:: @ 81A00EA
FortreeCity_EventScript_1A00EA:: @ 81A00EA
LavaridgeTown_EventScript_1A00EA:: @ 81A00EA
LilycoveCity_EventScript_1A00EA:: @ 81A00EA
MauvilleCity_EventScript_1A00EA:: @ 81A00EA
MossdeepCity_EventScript_1A00EA:: @ 81A00EA
OldaleTown_EventScript_1A00EA:: @ 81A00EA
PacifidlogTown_EventScript_1A00EA:: @ 81A00EA
PetalburgCity_EventScript_1A00EA:: @ 81A00EA
RustboroCity_EventScript_1A00EA:: @ 81A00EA
SlateportCity_EventScript_1A00EA:: @ 81A00EA
SootopolisCity_EventScript_1A00EA:: @ 81A00EA
VerdanturfTown_EventScript_1A00EA:: @ 81A00EA
	msgbox PetalburgCity_Text_1A0D75, 3
	end

BattleTower_Lobby_EventScript_1A00F3:: @ 81A00F3
DewfordTown_EventScript_1A00F3:: @ 81A00F3
FallarborTown_ContestLobby_EventScript_1A00F3:: @ 81A00F3
MauvilleCity_PokemonCenter_1F_EventScript_1A00F3:: @ 81A00F3
PetalburgCity_PokemonCenter_1F_EventScript_1A00F3:: @ 81A00F3
Route111_EventScript_1A00F3:: @ 81A00F3
Route123_BerryMastersHouse_EventScript_1A00F3:: @ 81A00F3
SlateportCity_OceanicMuseum_1F_EventScript_1A00F3:: @ 81A00F3
SlateportCity_PokemonFanClub_EventScript_1A00F3:: @ 81A00F3
	fadescreen 1
	special 95
	fadescreen 0
	return

DewfordTown_Gym_EventScript_1A00FB:: @ 81A00FB
LavaridgeTown_Gym_1F_EventScript_1A00FB:: @ 81A00FB
MauvilleCity_Gym_EventScript_1A00FB:: @ 81A00FB
RustboroCity_Gym_EventScript_1A00FB:: @ 81A00FB
	clearflag 781
	setflag 296
	return

DewfordTown_EventScript_1A0102:: @ 81A0102
DewfordTown_Hall_EventScript_1A0102:: @ 81A0102
	checkdailyflags
	setvar 0x8004, 0
	special 126
	return

DewfordTown_EventScript_1A010C:: @ 81A010C
Route104_MrBrineysHouse_EventScript_1A010C:: @ 81A010C
Route109_EventScript_1A010C:: @ 81A010C
	copyvar 0x8008, 0x4096
	setvar 0x4096, 0
	return

UseSurfScript:: @ 81A0117
	checkattack MOVE_SURF
	compare RESULT, 6
	jumpeq UseSurfScript_NoMon
	bufferpartypoke 0, RESULT
	setanimation 0, RESULT
	lockall
	msgbox UseSurfPromptText, 5
	compare RESULT, 0
	jumpeq UseSurfScript_No
	msgbox UsedSurfText, 4
	doanimation 0x9
UseSurfScript_No: @ 81A014C
	releaseall
UseSurfScript_NoMon: @ 81A014D
	end

EverGrandeCity_ChampionsRoom_EventScript_1A014E:: @ 81A014E
LavaridgeTown_EventScript_1A014E:: @ 81A014E
LilycoveCity_EventScript_1A014E:: @ 81A014E
LittlerootTown_ProfessorBirchsLab_EventScript_1A014E:: @ 81A014E
OldaleTown_EventScript_1A014E:: @ 81A014E
Route103_EventScript_1A014E:: @ 81A014E
Route110_EventScript_1A014E:: @ 81A014E
Route119_EventScript_1A014E:: @ 81A014E
RustboroCity_EventScript_1A014E:: @ 81A014E
	checkgender
	compare RESULT, 0
	jumpeq RustboroCity_EventScript_1A0166
	compare RESULT, 1
	jumpeq RustboroCity_EventScript_1A016C
	end

RustboroCity_EventScript_1A0166:: @ 81A0166
	setvar 0x4010, 105
	return

RustboroCity_EventScript_1A016C:: @ 81A016C
	setvar 0x4010, 100
	return

LavaridgeTown_EventScript_1A0172:: @ 81A0172
Route110_EventScript_1A0172:: @ 81A0172
Route119_EventScript_1A0172:: @ 81A0172
	checkgender
	compare RESULT, 0
	jumpeq LavaridgeTown_EventScript_1A018A
	compare RESULT, 1
	jumpeq LavaridgeTown_EventScript_1A0190
	end

LavaridgeTown_EventScript_1A018A:: @ 81A018A
	setvar 0x4013, 106
	return

LavaridgeTown_EventScript_1A0190:: @ 81A0190
	setvar 0x4013, 101
	return

AquaHideout_1F_EventScript_1A0196:: @ 81A0196
AquaHideout_B1F_EventScript_1A0196:: @ 81A0196
AquaHideout_B2F_EventScript_1A0196:: @ 81A0196
LilycoveCity_EventScript_1A0196:: @ 81A0196
MeteorFalls_1F_1R_EventScript_1A0196:: @ 81A0196
MtChimney_EventScript_1A0196:: @ 81A0196
MtPyre_Summit_EventScript_1A0196:: @ 81A0196
PetalburgWoods_EventScript_1A0196:: @ 81A0196
Route110_EventScript_1A0196:: @ 81A0196
Route112_EventScript_1A0196:: @ 81A0196
Route113_EventScript_1A0196:: @ 81A0196
Route119_EventScript_1A0196:: @ 81A0196
Route119_WeatherInstitute_1F_EventScript_1A0196:: @ 81A0196
Route119_WeatherInstitute_2F_EventScript_1A0196:: @ 81A0196
Route121_EventScript_1A0196:: @ 81A0196
Route128_EventScript_1A0196:: @ 81A0196
RustboroCity_EventScript_1A0196:: @ 81A0196
RusturfTunnel_EventScript_1A0196:: @ 81A0196
SeafloorCavern_Room1_EventScript_1A0196:: @ 81A0196
SeafloorCavern_Room3_EventScript_1A0196:: @ 81A0196
SeafloorCavern_Room4_EventScript_1A0196:: @ 81A0196
SeafloorCavern_Room9_EventScript_1A0196:: @ 81A0196
SlateportCity_OceanicMuseum_2F_EventScript_1A0196:: @ 81A0196
	setvar 0x4011, 119
	setvar 0x4012, 120
	setvar 0x4014, 117
	setvar 0x4015, 118
	setvar 0x4016, 196
	setvar 0x4017, 195
	return

CaveOfOrigin_B4F_EventScript_1A01B5:: @ 81A01B5
SeafloorCavern_Room9_EventScript_1A01B5:: @ 81A01B5
	setvar 0x4018, 198
	setvar 0x4019, 206
	return

DewfordTown_Gym_EventScript_1A01C0:: @ 81A01C0
FortreeCity_Gym_EventScript_1A01C0:: @ 81A01C0
LavaridgeTown_Gym_1F_EventScript_1A01C0:: @ 81A01C0
MauvilleCity_Gym_EventScript_1A01C0:: @ 81A01C0
MossdeepCity_Gym_EventScript_1A01C0:: @ 81A01C0
PetalburgCity_Gym_EventScript_1A01C0:: @ 81A01C0
RustboroCity_Gym_EventScript_1A01C0:: @ 81A01C0
SootopolisCity_Gym_1F_EventScript_1A01C0:: @ 81A01C0
	switch 0x8008
	case 1, DewfordTown_Gym_EventScript_1A021E
	case 2, DewfordTown_Gym_EventScript_1A0225
	case 3, DewfordTown_Gym_EventScript_1A022F
	case 4, DewfordTown_Gym_EventScript_1A023C
	case 5, DewfordTown_Gym_EventScript_1A024C
	case 6, DewfordTown_Gym_EventScript_1A0262
	case 7, DewfordTown_Gym_EventScript_1A026F
	case 8, DewfordTown_Gym_EventScript_1A0282
	end

DewfordTown_Gym_EventScript_1A021E:: @ 81A021E
	cleartrainerflag 320
	cleartrainerflag 321
	return

DewfordTown_Gym_EventScript_1A0225:: @ 81A0225
	cleartrainerflag 179
	cleartrainerflag 425
	cleartrainerflag 426
	return

DewfordTown_Gym_EventScript_1A022F:: @ 81A022F
	cleartrainerflag 191
	cleartrainerflag 194
	cleartrainerflag 323
	cleartrainerflag 649
	return

DewfordTown_Gym_EventScript_1A023C:: @ 81A023C
	cleartrainerflag 201
	cleartrainerflag 203
	cleartrainerflag 205
	cleartrainerflag 648
	cleartrainerflag 650
	return

DewfordTown_Gym_EventScript_1A024C:: @ 81A024C
	cleartrainerflag 71
	cleartrainerflag 72
	cleartrainerflag 73
	cleartrainerflag 74
	cleartrainerflag 89
	cleartrainerflag 90
	cleartrainerflag 91
	return

DewfordTown_Gym_EventScript_1A0262:: @ 81A0262
	cleartrainerflag 401
	cleartrainerflag 654
	cleartrainerflag 655
	cleartrainerflag 404
	return

DewfordTown_Gym_EventScript_1A026F:: @ 81A026F
	cleartrainerflag 233
	cleartrainerflag 234
	cleartrainerflag 235
	cleartrainerflag 244
	cleartrainerflag 245
	cleartrainerflag 246
	return

DewfordTown_Gym_EventScript_1A0282:: @ 81A0282
	cleartrainerflag 613
	cleartrainerflag 614
	cleartrainerflag 118
	cleartrainerflag 128
	cleartrainerflag 129
	cleartrainerflag 130
	cleartrainerflag 131
	cleartrainerflag 301
	return

DewfordTown_Gym_EventScript_1A029B:: @ 81A029B
DewfordTown_Hall_EventScript_1A029B:: @ 81A029B
FallarborTown_House1_EventScript_1A029B:: @ 81A029B
FortreeCity_Gym_EventScript_1A029B:: @ 81A029B
FortreeCity_House2_EventScript_1A029B:: @ 81A029B
FortreeCity_House4_EventScript_1A029B:: @ 81A029B
LavaridgeTown_Gym_1F_EventScript_1A029B:: @ 81A029B
LavaridgeTown_HerbShop_EventScript_1A029B:: @ 81A029B
LilycoveCity_EventScript_1A029B:: @ 81A029B
LilycoveCity_House2_EventScript_1A029B:: @ 81A029B
LittlerootTown_BrendansHouse_1F_EventScript_1A029B:: @ 81A029B
MauvilleCity_EventScript_1A029B:: @ 81A029B
MauvilleCity_Gym_EventScript_1A029B:: @ 81A029B
MossdeepCity_EventScript_1A029B:: @ 81A029B
MossdeepCity_Gym_EventScript_1A029B:: @ 81A029B
MossdeepCity_SpaceCenter_1F_EventScript_1A029B:: @ 81A029B
MtPyre_1F_EventScript_1A029B:: @ 81A029B
PacifidlogTown_House2_EventScript_1A029B:: @ 81A029B
PetalburgCity_Gym_EventScript_1A029B:: @ 81A029B
PetalburgWoods_EventScript_1A029B:: @ 81A029B
Route104_EventScript_1A029B:: @ 81A029B
Route104_PrettyPetalFlowerShop_EventScript_1A029B:: @ 81A029B
Route109_EventScript_1A029B:: @ 81A029B
Route111_EventScript_1A029B:: @ 81A029B
Route111_WinstrateFamilysHouse_EventScript_1A029B:: @ 81A029B
Route114_EventScript_1A029B:: @ 81A029B
Route114_FossilManiacsHouse_EventScript_1A029B:: @ 81A029B
Route120_EventScript_1A029B:: @ 81A029B
Route123_BerryMastersHouse_EventScript_1A029B:: @ 81A029B
Route123_EventScript_1A029B:: @ 81A029B
RustboroCity_DevonCorp_3F_EventScript_1A029B:: @ 81A029B
RustboroCity_Flat2_2F_EventScript_1A029B:: @ 81A029B
RustboroCity_Gym_EventScript_1A029B:: @ 81A029B
RustboroCity_PokemonSchool_EventScript_1A029B:: @ 81A029B
SSTidalRooms_EventScript_1A029B:: @ 81A029B
ShoalCave_LowTideEntranceRoom_EventScript_1A029B:: @ 81A029B
ShoalCave_LowTideInnerRoom_EventScript_1A029B:: @ 81A029B
ShoalCave_LowTideLowerRoom_EventScript_1A029B:: @ 81A029B
ShoalCave_LowTideStairsRoom_EventScript_1A029B:: @ 81A029B
SlateportCity_ContestHall_EventScript_1A029B:: @ 81A029B
SlateportCity_Harbor_EventScript_1A029B:: @ 81A029B
SlateportCity_PokemonFanClub_EventScript_1A029B:: @ 81A029B
SootopolisCity_EventScript_1A029B:: @ 81A029B
SootopolisCity_Gym_1F_EventScript_1A029B:: @ 81A029B
VerdanturfTown_ContestLobby_EventScript_1A029B:: @ 81A029B
	msgbox MauvilleCity_Text_1A0CC2, 4
	release
	end

MauvilleCity_GameCorner_EventScript_1A02A5:: @ 81A02A5
Route110_TrickHouseEnd_EventScript_1A02A5:: @ 81A02A5
Route110_TrickHouseEntrance_EventScript_1A02A5:: @ 81A02A5
Route113_GlassWorkshop_EventScript_1A02A5:: @ 81A02A5
	msgbox MauvilleCity_GameCorner_Text_1A0CC2, 4
	return

Route114_LanettesHouse_EventScript_1A02AE:: @ 81A02AE
	msgbox Route114_LanettesHouse_Text_1A0CEF, 4
	release
	end

LilycoveCity_LilycoveMuseum_2F_EventScript_1A02B8:: @ 81A02B8
MauvilleCity_GameCorner_EventScript_1A02B8:: @ 81A02B8
Route110_TrickHouseEnd_EventScript_1A02B8:: @ 81A02B8
Route110_TrickHouseEntrance_EventScript_1A02B8:: @ 81A02B8
Route113_GlassWorkshop_EventScript_1A02B8:: @ 81A02B8
	msgbox MauvilleCity_GameCorner_Text_1A0CEF, 4
	return

EverGrandeCity_EventScript_1A02C1:: @ 81A02C1
LilycoveCity_EventScript_1A02C1:: @ 81A02C1
MossdeepCity_EventScript_1A02C1:: @ 81A02C1
Route124_EventScript_1A02C1:: @ 81A02C1
Route125_EventScript_1A02C1:: @ 81A02C1
Route126_EventScript_1A02C1:: @ 81A02C1
Route127_EventScript_1A02C1:: @ 81A02C1
Route128_EventScript_1A02C1:: @ 81A02C1
SootopolisCity_EventScript_1A02C1:: @ 81A02C1
	setweather 12
	return

DewfordTown_Gym_EventScript_1A02C5:: @ 81A02C5
FortreeCity_Gym_EventScript_1A02C5:: @ 81A02C5
LavaridgeTown_Gym_1F_EventScript_1A02C5:: @ 81A02C5
LilycoveCity_CoveLilyMotel_2F_EventScript_1A02C5:: @ 81A02C5
MauvilleCity_Gym_EventScript_1A02C5:: @ 81A02C5
MossdeepCity_Gym_EventScript_1A02C5:: @ 81A02C5
PetalburgCity_Gym_EventScript_1A02C5:: @ 81A02C5
RustboroCity_Gym_EventScript_1A02C5:: @ 81A02C5
SootopolisCity_Gym_1F_EventScript_1A02C5:: @ 81A02C5
	fanfare 369
	waitfanfare
	return

LittlerootTown_BrendansHouse_1F_EventScript_1A02CA:: @ 81A02CA
Route111_OldLadysRestStop_EventScript_1A02CA:: @ 81A02CA
Route119_WeatherInstitute_1F_EventScript_1A02CA:: @ 81A02CA
SSTidalRooms_EventScript_1A02CA:: @ 81A02CA
	fadescreen 1
	fanfare 368
	waitfanfare
	special 0
	fadescreen 0
	return

Event_WorldMap:: @ 81A02D6
	lockall
	msgbox UnknownString_817303D, 4
	fadescreen 1
	special 251
	waitstate
	releaseall
	end

DewfordTown_EventScript_1A02E7:: @ 81A02E7
Route104_EventScript_1A02E7:: @ 81A02E7
Route109_EventScript_1A02E7:: @ 81A02E7
	setflag 0x4001
	playmusic 431, 0
	return

DewfordTown_EventScript_1A02EF:: @ 81A02EF
Route104_EventScript_1A02EF:: @ 81A02EF
Route109_EventScript_1A02EF:: @ 81A02EF
	clearflag 0x4001
	fadedefault
	return

LittlerootTown_ProfessorBirchsLab_EventScript_1A02F4:: @ 81A02F4
Route101_EventScript_1A02F4:: @ 81A02F4
Route103_EventScript_1A02F4:: @ 81A02F4
	compare 0x4085, 0
	jumpeq Route101_EventScript_1A14DC
	compare 0x4049, 0
	callif 1, Route101_EventScript_1A0358
	compare 0x4049, 1
	callif 1, Route101_EventScript_1A0358
	compare 0x4049, 2
	callif 1, Route101_EventScript_1A0365
	compare 0x4049, 3
	callif 1, Route101_EventScript_1A0365
	compare 0x4049, 4
	callif 1, Route101_EventScript_1A0372
	compare 0x4049, 5
	callif 1, Route101_EventScript_1A0372
	compare 0x4049, 6
	callif 1, Route101_EventScript_1A0358
	compare 0x4049, 7
	callif 1, Route101_EventScript_1A0358
	return

Route101_EventScript_1A0358:: @ 81A0358
	clearflag 721
	clearflag 896
	setflag 897
	setflag 898
	return

Route101_EventScript_1A0365:: @ 81A0365
	clearflag 897
	setflag 721
	setflag 896
	setflag 898
	return

Route101_EventScript_1A0372:: @ 81A0372
	clearflag 898
	setflag 897
	setflag 721
	setflag 896
	return

LittlerootTown_ProfessorBirchsLab_EventScript_1A037F:: @ 81A037F
Route101_EventScript_1A037F:: @ 81A037F
Route103_EventScript_1A037F:: @ 81A037F
	lock
	faceplayer
	msgbox Route101_Text_1C4449, 5
	compare RESULT, 0
	jumpeq Route101_EventScript_1A039B
	call Route101_EventScript_1A03B0
	release
	end

Route101_EventScript_1A039B:: @ 81A039B
	msgbox Route101_Text_1C449B, 4
	release
	end

Route101_EventScript_1A03A5:: @ 81A03A5
	copyvar 0x8004, 0x8009
	special 213
	waittext
	waitbutton
	return

EverGrandeCity_ChampionsRoom_EventScript_1A03B0:: @ 81A03B0
Route101_EventScript_1A03B0:: @ 81A03B0
	setvar 0x8004, 0
	specialval RESULT, 212
	copyvar 0x8008, 0x8005
	copyvar 0x8009, 0x8006
	copyvar 0x800a, RESULT
	buffernum 0, 0x8008
	buffernum 1, 0x8009
	msgbox Route101_Text_1C44DC, 4
	call Route101_EventScript_1A03A5
	compare 0x800a, 0
	jumpeq Route101_EventScript_1A14DC
	setvar 0x8004, 1
	specialval RESULT, 212
	copyvar 0x8008, 0x8005
	copyvar 0x8009, 0x8006
	buffernum 0, 0x8008
	buffernum 1, 0x8009
	msgbox Route101_Text_1C4B05, 4
	return

BattleTower_Outside_EventScript_1A040E:: @ 81A040E
LilycoveCity_Harbor_EventScript_1A040E:: @ 81A040E
SlateportCity_Harbor_EventScript_1A040E:: @ 81A040E
	pause 60
	move 0x8004, SlateportCity_Harbor_Movement_1A041C
	waitmove 0
	return

SlateportCity_Harbor_Movement_1A041C:: @ 81A041C
	slow_step_right
	slow_step_right
	slow_step_right
	step_right
	step_right
	step_right
	step_right
	step_end

PetalburgCity_Gym_EventScript_1A0424:: @ 81A0424
	setflag 740
	setflag 743
	setflag 741
	setflag 744
	setflag 738
	setflag 742
	setflag 739
	setflag 881
	setvar 0x4096, 0
	return

RusturfTunnel_EventScript_1A0442:: @ 81A0442
	disappear 1
	disappear 10
	clearflag 808
	clearflag 984
	setvar 0x409a, 6
	setflag 199
	return

EventScript_1A0457: @ unreferenced?
	pause 30
	move 255, SlateportCity_OceanicMuseum_2F_Movement_1A0841
	waitmove 0
	spritevisible 255, 0, 0
	pause 30
	move 255, Movement_1A047A
	waitmove 0
	pause 30
	return

Movement_1A047A:
	step_up
	step_end

BattleTower_Outside_EventScript_1A047C:: @ 81A047C
SouthernIsland_Exterior_EventScript_1A047C:: @ 81A047C
	compare FACING, 1
	callif 1, BattleTower_Outside_EventScript_160B2F
	compare FACING, 3
	callif 1, BattleTower_Outside_EventScript_160B3A
	pause 30
	spriteinvisible 255, 0, 0
	call BattleTower_Outside_EventScript_1A040E
	return

CaveOfOrigin_B4F_EventScript_1A04A0:: @ 81A04A0
	lockall
	checksound
	pokecry SPECIES_GROUDON, 2
	waitpokecry
	setvar 0x4005, 1
	releaseall
	end

CaveOfOrigin_1F_EventScript_1A04AF:: @ 81A04AF
CaveOfOrigin_B1F_EventScript_1A04AF:: @ 81A04AF
CaveOfOrigin_B2F_EventScript_1A04AF:: @ 81A04AF
CaveOfOrigin_B3F_EventScript_1A04AF:: @ 81A04AF
	lockall
	setvar 0x4001, 1
	jump CaveOfOrigin_1F_EventScript_1A04D3
	end

CaveOfOrigin_B2F_EventScript_1A04BB:: @ 81A04BB
CaveOfOrigin_B3F_EventScript_1A04BB:: @ 81A04BB
	lockall
	setvar 0x4002, 1
	jump CaveOfOrigin_B2F_EventScript_1A04D3
	end

@ 81A04C7
	lockall
	setvar 0x4003, 1
	jump CaveOfOrigin_B2F_EventScript_1A04D3
	end

CaveOfOrigin_1F_EventScript_1A04D3:: @ 81A04D3
CaveOfOrigin_B2F_EventScript_1A04D3:: @ 81A04D3
	setvar 0x8004, 1
	setvar 0x8005, 1
	special 310
	waitstate
	releaseall
	end

CaveOfOrigin_1F_EventScript_1A04E3:: @ 81A04E3
CaveOfOrigin_B1F_EventScript_1A04E3:: @ 81A04E3
CaveOfOrigin_B2F_EventScript_1A04E3:: @ 81A04E3
CaveOfOrigin_B3F_EventScript_1A04E3:: @ 81A04E3
CaveOfOrigin_B4F_EventScript_1A04E3:: @ 81A04E3
	setvar 0x4001, 1
	setvar 0x4002, 1
	setvar 0x4003, 1
	setvar 0x4004, 1
	setvar 0x4005, 1
	return

AquaHideout_B1F_EventScript_1A04FD:: @ 81A04FD
MagmaHideout_B1F_EventScript_1A04FD:: @ 81A04FD
	lock
	faceplayer
	setwildbattle SPECIES_ELECTRODE, 30, ITEM_NONE
	checksound
	pokecry SPECIES_ELECTRODE, 2
	pause 40
	waitpokecry
	setflag 977
	setflag 2145
	dowildbattle
	clearflag 2145
	release
	end

AquaHideout_B1F_EventScript_1A051B:: @ 81A051B
MagmaHideout_B1F_EventScript_1A051B:: @ 81A051B
	lock
	faceplayer
	setwildbattle SPECIES_ELECTRODE, 30, ITEM_NONE
	checksound
	pokecry SPECIES_ELECTRODE, 2
	pause 40
	waitpokecry
	setflag 978
	setflag 2145
	dowildbattle
	clearflag 2145
	release
	end

Route120_EventScript_1A0539:: @ 81A0539
	lock
	faceplayer
	setvar 0x8004, 1
	jump Route120_EventScript_1A0594
	end

Route120_EventScript_1A0546:: @ 81A0546
	lock
	faceplayer
	setvar 0x8004, 2
	jump Route120_EventScript_1A0594
	end

Route120_EventScript_1A0553:: @ 81A0553
	lock
	faceplayer
	setvar 0x8004, 3
	jump Route120_EventScript_1A0594
	end

Route120_EventScript_1A0560:: @ 81A0560
	lock
	faceplayer
	setvar 0x8004, 4
	jump Route120_EventScript_1A0594
	end

Route120_EventScript_1A056D:: @ 81A056D
	lock
	faceplayer
	setvar 0x8004, 5
	jump Route120_EventScript_1A0594
	end

Route119_EventScript_1A057A:: @ 81A057A
	lock
	faceplayer
	setvar 0x8004, 6
	jump Route119_EventScript_1A0594
	end

Route119_EventScript_1A0587:: @ 81A0587
	lock
	faceplayer
	setvar 0x8004, 7
	jump Route119_EventScript_1A0594
	end

Route119_EventScript_1A0594:: @ 81A0594
Route120_EventScript_1A0594:: @ 81A0594
	checkitem ITEM_DEVON_SCOPE, 1
	compare RESULT, 1
	jumpeq Route119_EventScript_1A05AE
	msgbox Route119_Text_171B93, 4
	release
	end

Route119_EventScript_1A05AE:: @ 81A05AE
	msgbox Route119_Text_171BB6, 5
	compare RESULT, 1
	jumpeq Route119_EventScript_1A05C3
	release
	end

Route119_EventScript_1A05C3:: @ 81A05C3
	msgbox Route119_Text_171BF6, 4
	closebutton
	move LAST_TALKED, Route119_Movement_1A0839
	waitmove 0
	move LAST_TALKED, Route119_Movement_1A0662
	waitmove 0
	checksound
	pokecry SPECIES_KECLEON, 2
	pause 40
	waitpokecry
	setwildbattle SPECIES_KECLEON, 30, ITEM_NONE
	compare 0x8004, 1
	callif 1, Route119_EventScript_1A0646
	compare 0x8004, 2
	callif 1, Route119_EventScript_1A064A
	compare 0x8004, 3
	callif 1, Route119_EventScript_1A064E
	compare 0x8004, 4
	callif 1, Route119_EventScript_1A0652
	compare 0x8004, 5
	callif 1, Route119_EventScript_1A0656
	compare 0x8004, 6
	callif 1, Route119_EventScript_1A065A
	compare 0x8004, 7
	callif 1, Route119_EventScript_1A065E
	setflag 2145
	dowildbattle
	clearflag 2145
	release
	end

Route119_EventScript_1A0646:: @ 81A0646
	setflag 982
	return

Route119_EventScript_1A064A:: @ 81A064A
	setflag 985
	return

Route119_EventScript_1A064E:: @ 81A064E
	setflag 986
	return

Route119_EventScript_1A0652:: @ 81A0652
	setflag 987
	return

Route119_EventScript_1A0656:: @ 81A0656
	setflag 988
	return

Route119_EventScript_1A065A:: @ 81A065A
	setflag 989
	return

Route119_EventScript_1A065E:: @ 81A065E
	setflag 990
	return

FortreeCity_Movement_1A0662:: @ 81A0662
Route119_Movement_1A0662:: @ 81A0662
Route120_Movement_1A0662:: @ 81A0662
	step_55
	step_12
	step_54
	step_12
	step_55
	step_12
	step_54
	step_12
	step_55
	step_13
	step_54
	step_13
	step_55
	step_13
	step_54
	step_13
	step_55
	step_14
	step_54
	step_14
	step_55
	step_end

LittlerootTown_ProfessorBirchsLab_EventScript_1A0678:: @ 81A0678
MossdeepCity_StevensHouse_EventScript_1A0678:: @ 81A0678
RustboroCity_DevonCorp_2F_EventScript_1A0678:: @ 81A0678
SlateportCity_House1_EventScript_1A0678:: @ 81A0678
	fadescreen 1
	special 158
	waitstate
	return

FallarborTown_House1_EventScript_1A067F:: @ 81A067F
GraniteCave_StevensRoom_EventScript_1A067F:: @ 81A067F
MtPyre_Summit_EventScript_1A067F:: @ 81A067F
SlateportCity_OceanicMuseum_2F_EventScript_1A067F:: @ 81A067F
	bufferitem 0, 0x8004
	fanfare 372
	message FallarborTown_House1_Text_1A1498
	waittext
	waitfanfare
	removeitem 0x8004, 1
	return

EverGrandeCity_DrakesRoom_EventScript_1A0693:: @ 81A0693
EverGrandeCity_GlaciasRoom_EventScript_1A0693:: @ 81A0693
EverGrandeCity_PhoebesRoom_EventScript_1A0693:: @ 81A0693
EverGrandeCity_SidneysRoom_EventScript_1A0693:: @ 81A0693
	move 255, EverGrandeCity_SidneysRoom_Movement_1A0853
	waitmove 0
	playsfx 8
	setmaptile 6, 1, 836, 0
	setmaptile 6, 2, 837, 0
	setmaptile 0, 2, 734, 1
	setmaptile 1, 2, 733, 1
	setmaptile 2, 2, 734, 1
	setmaptile 3, 2, 733, 1
	setmaptile 4, 2, 734, 1
	setmaptile 8, 2, 733, 1
	setmaptile 9, 2, 734, 1
	setmaptile 10, 2, 733, 1
	setmaptile 11, 2, 734, 1
	setmaptile 12, 2, 733, 1
	special 142
	return

EverGrandeCity_DrakesRoom_EventScript_1A0710:: @ 81A0710
EverGrandeCity_GlaciasRoom_EventScript_1A0710:: @ 81A0710
EverGrandeCity_PhoebesRoom_EventScript_1A0710:: @ 81A0710
EverGrandeCity_SidneysRoom_EventScript_1A0710:: @ 81A0710
	move 255, EverGrandeCity_SidneysRoom_Movement_1A0847
	waitmove 0
	playsfx 52
	setmaptile 5, 12, 518, 1
	setmaptile 6, 12, 518, 1
	setmaptile 7, 12, 518, 1
	setmaptile 5, 13, 526, 1
	setmaptile 6, 13, 526, 1
	setmaptile 7, 13, 526, 1
	special 142
	return

EverGrandeCity_DrakesRoom_EventScript_1A0757:: @ 81A0757
EverGrandeCity_GlaciasRoom_EventScript_1A0757:: @ 81A0757
EverGrandeCity_PhoebesRoom_EventScript_1A0757:: @ 81A0757
EverGrandeCity_SidneysRoom_EventScript_1A0757:: @ 81A0757
	setmaptile 6, 1, 836, 0
	setmaptile 6, 2, 837, 0
	setmaptile 5, 12, 518, 1
	setmaptile 6, 12, 518, 1
	setmaptile 7, 12, 518, 1
	setmaptile 5, 13, 526, 1
	setmaptile 6, 13, 526, 1
	setmaptile 7, 13, 526, 1
	setmaptile 0, 2, 734, 1
	setmaptile 1, 2, 733, 1
	setmaptile 2, 2, 734, 1
	setmaptile 3, 2, 733, 1
	setmaptile 4, 2, 734, 1
	setmaptile 8, 2, 733, 1
	setmaptile 9, 2, 734, 1
	setmaptile 10, 2, 733, 1
	setmaptile 11, 2, 734, 1
	setmaptile 12, 2, 733, 1
	return

EverGrandeCity_DrakesRoom_EventScript_1A07FA:: @ 81A07FA
EverGrandeCity_GlaciasRoom_EventScript_1A07FA:: @ 81A07FA
EverGrandeCity_PhoebesRoom_EventScript_1A07FA:: @ 81A07FA
EverGrandeCity_SidneysRoom_EventScript_1A07FA:: @ 81A07FA
	setmaptile 5, 12, 518, 1
	setmaptile 6, 12, 518, 1
	setmaptile 7, 12, 518, 1
	setmaptile 5, 13, 526, 1
	setmaptile 6, 13, 526, 1
	setmaptile 7, 13, 526, 1
	return

SlateportCity_Movement_1A0831:: @ 81A0831
	step_57
	step_end

AquaHideout_B2F_Movement_1A0833:: @ 81A0833
EverGrandeCity_ChampionsRoom_Movement_1A0833:: @ 81A0833
LavaridgeTown_Movement_1A0833:: @ 81A0833
LilycoveCity_ContestLobby_Movement_1A0833:: @ 81A0833
LilycoveCity_CoveLilyMotel_1F_Movement_1A0833:: @ 81A0833
LittlerootTown_BrendansHouse_1F_Movement_1A0833:: @ 81A0833
LittlerootTown_BrendansHouse_2F_Movement_1A0833:: @ 81A0833
LittlerootTown_MaysHouse_1F_Movement_1A0833:: @ 81A0833
MauvilleCity_House2_Movement_1A0833:: @ 81A0833
MauvilleCity_Movement_1A0833:: @ 81A0833
MeteorFalls_1F_1R_Movement_1A0833:: @ 81A0833
MossdeepCity_StevensHouse_Movement_1A0833:: @ 81A0833
MtChimney_Movement_1A0833:: @ 81A0833
PetalburgCity_Movement_1A0833:: @ 81A0833
Route103_Movement_1A0833:: @ 81A0833
Route110_Movement_1A0833:: @ 81A0833
Route110_TrickHouseEnd_Movement_1A0833:: @ 81A0833
Route110_TrickHouseEntrance_Movement_1A0833:: @ 81A0833
Route110_TrickHousePuzzle5_Movement_1A0833:: @ 81A0833
RustboroCity_DevonCorp_2F_Movement_1A0833:: @ 81A0833
RustboroCity_Movement_1A0833:: @ 81A0833
RusturfTunnel_Movement_1A0833:: @ 81A0833
SeafloorCavern_Room9_Movement_1A0833:: @ 81A0833
SlateportCity_Movement_1A0833:: @ 81A0833
SlateportCity_OceanicMuseum_1F_Movement_1A0833:: @ 81A0833
SlateportCity_PokemonFanClub_Movement_1A0833:: @ 81A0833
SootopolisCity_Movement_1A0833:: @ 81A0833
	step_56
	step_end

EverGrandeCity_ChampionsRoom_Movement_1A0835:: @ 81A0835
LavaridgeTown_Movement_1A0835:: @ 81A0835
LilycoveCity_CoveLilyMotel_1F_Movement_1A0835:: @ 81A0835
LittlerootTown_BrendansHouse_1F_Movement_1A0835:: @ 81A0835
LittlerootTown_BrendansHouse_2F_Movement_1A0835:: @ 81A0835
LittlerootTown_MaysHouse_1F_Movement_1A0835:: @ 81A0835
MauvilleCity_House2_Movement_1A0835:: @ 81A0835
MauvilleCity_Movement_1A0835:: @ 81A0835
MeteorFalls_1F_1R_Movement_1A0835:: @ 81A0835
MossdeepCity_StevensHouse_Movement_1A0835:: @ 81A0835
MtChimney_Movement_1A0835:: @ 81A0835
PetalburgCity_Movement_1A0835:: @ 81A0835
Route103_Movement_1A0835:: @ 81A0835
Route110_Movement_1A0835:: @ 81A0835
Route110_TrickHouseEntrance_Movement_1A0835:: @ 81A0835
Route110_TrickHousePuzzle5_Movement_1A0835:: @ 81A0835
RustboroCity_DevonCorp_2F_Movement_1A0835:: @ 81A0835
RustboroCity_Movement_1A0835:: @ 81A0835
RusturfTunnel_Movement_1A0835:: @ 81A0835
SeafloorCavern_Room9_Movement_1A0835:: @ 81A0835
SlateportCity_Movement_1A0835:: @ 81A0835
SlateportCity_OceanicMuseum_1F_Movement_1A0835:: @ 81A0835
SlateportCity_PokemonFanClub_Movement_1A0835:: @ 81A0835
SootopolisCity_Movement_1A0835:: @ 81A0835
	step_14
	step_14
	step_14
	step_end

AquaHideout_B2F_Movement_1A0839:: @ 81A0839
EverGrandeCity_PokemonLeague_Movement_1A0839:: @ 81A0839
FallarborTown_House2_Movement_1A0839:: @ 81A0839
FortreeCity_House4_Movement_1A0839:: @ 81A0839
LilycoveCity_ContestHall_Movement_1A0839:: @ 81A0839
LilycoveCity_CoveLilyMotel_1F_Movement_1A0839:: @ 81A0839
LilycoveCity_DepartmentStore_1F_Movement_1A0839:: @ 81A0839
LilycoveCity_Harbor_Movement_1A0839:: @ 81A0839
LilycoveCity_LilycoveMuseum_1F_Movement_1A0839:: @ 81A0839
LilycoveCity_LilycoveMuseum_2F_Movement_1A0839:: @ 81A0839
LilycoveCity_MoveDeletersHouse_Movement_1A0839:: @ 81A0839
LilycoveCity_Movement_1A0839:: @ 81A0839
LittlerootTown_BrendansHouse_1F_Movement_1A0839:: @ 81A0839
LittlerootTown_BrendansHouse_2F_Movement_1A0839:: @ 81A0839
MauvilleCity_Movement_1A0839:: @ 81A0839
MtChimney_Movement_1A0839:: @ 81A0839
MtPyre_Summit_Movement_1A0839:: @ 81A0839
OldaleTown_Movement_1A0839:: @ 81A0839
PetalburgCity_Gym_Movement_1A0839:: @ 81A0839
PetalburgCity_Movement_1A0839:: @ 81A0839
Route103_Movement_1A0839:: @ 81A0839
Route110_TrickHouseEnd_Movement_1A0839:: @ 81A0839
Route110_TrickHouseEntrance_Movement_1A0839:: @ 81A0839
Route110_TrickHousePuzzle5_Movement_1A0839:: @ 81A0839
Route119_Movement_1A0839:: @ 81A0839
RusturfTunnel_Movement_1A0839:: @ 81A0839
SeafloorCavern_Room9_Movement_1A0839:: @ 81A0839
SlateportCity_ContestLobby_Movement_1A0839:: @ 81A0839
SlateportCity_Movement_1A0839:: @ 81A0839
SlateportCity_SternsShipyard_1F_Movement_1A0839:: @ 81A0839
	step_3e
	step_end

	.incbin "baserom.gba", 0x1a083b, 0x2

EverGrandeCity_PokemonLeague_Movement_1A083D:: @ 81A083D
LilycoveCity_ContestHall_Movement_1A083D:: @ 81A083D
LilycoveCity_ContestLobby_Movement_1A083D:: @ 81A083D
LilycoveCity_CoveLilyMotel_1F_Movement_1A083D:: @ 81A083D
LilycoveCity_House3_Movement_1A083D:: @ 81A083D
LilycoveCity_LilycoveMuseum_1F_Movement_1A083D:: @ 81A083D
LilycoveCity_Movement_1A083D:: @ 81A083D
LittlerootTown_Movement_1A083D:: @ 81A083D
MauvilleCity_GameCorner_Movement_1A083D:: @ 81A083D
MauvilleCity_Movement_1A083D:: @ 81A083D
MossdeepCity_Movement_1A083D:: @ 81A083D
MossdeepCity_SpaceCenter_1F_Movement_1A083D:: @ 81A083D
MtChimney_Movement_1A083D:: @ 81A083D
OldaleTown_Movement_1A083D:: @ 81A083D
PetalburgCity_Movement_1A083D:: @ 81A083D
Route109_Movement_1A083D:: @ 81A083D
Route110_Movement_1A083D:: @ 81A083D
Route111_WinstrateFamilysHouse_Movement_1A083D:: @ 81A083D
Route119_Movement_1A083D:: @ 81A083D
RustboroCity_DevonCorp_3F_Movement_1A083D:: @ 81A083D
RustboroCity_Movement_1A083D:: @ 81A083D
RusturfTunnel_Movement_1A083D:: @ 81A083D
SlateportCity_ContestHall_Movement_1A083D:: @ 81A083D
SlateportCity_ContestLobby_Movement_1A083D:: @ 81A083D
SlateportCity_Harbor_Movement_1A083D:: @ 81A083D
SlateportCity_Movement_1A083D:: @ 81A083D
SlateportCity_OceanicMuseum_2F_Movement_1A083D:: @ 81A083D
SlateportCity_SternsShipyard_1F_Movement_1A083D:: @ 81A083D
VerdanturfTown_Movement_1A083D:: @ 81A083D
	step_4e
	step_end

DewfordTown_Hall_Movement_1A083F:: @ 81A083F
EverGrandeCity_ChampionsRoom_Movement_1A083F:: @ 81A083F
EverGrandeCity_HallOfFame_Movement_1A083F:: @ 81A083F
LavaridgeTown_Movement_1A083F:: @ 81A083F
LilycoveCity_PokemonTrainerFanClub_Movement_1A083F:: @ 81A083F
LittlerootTown_BrendansHouse_1F_Movement_1A083F:: @ 81A083F
LittlerootTown_BrendansHouse_2F_Movement_1A083F:: @ 81A083F
LittlerootTown_MaysHouse_1F_Movement_1A083F:: @ 81A083F
LittlerootTown_Movement_1A083F:: @ 81A083F
MeteorFalls_1F_1R_Movement_1A083F:: @ 81A083F
MossdeepCity_StevensHouse_Movement_1A083F:: @ 81A083F
MtChimney_Movement_1A083F:: @ 81A083F
MtPyre_Summit_Movement_1A083F:: @ 81A083F
OldaleTown_PokemonCenter_1F_Movement_1A083F:: @ 81A083F
PetalburgCity_Gym_Movement_1A083F:: @ 81A083F
PetalburgCity_Movement_1A083F:: @ 81A083F
PetalburgWoods_Movement_1A083F:: @ 81A083F
Route101_Movement_1A083F:: @ 81A083F
Route110_TrickHouseEnd_Movement_1A083F:: @ 81A083F
Route111_Movement_1A083F:: @ 81A083F
Route116_Movement_1A083F:: @ 81A083F
Route120_Movement_1A083F:: @ 81A083F
Route128_Movement_1A083F:: @ 81A083F
RustboroCity_Movement_1A083F:: @ 81A083F
SeafloorCavern_Room9_Movement_1A083F:: @ 81A083F
SlateportCity_Movement_1A083F:: @ 81A083F
SlateportCity_OceanicMuseum_1F_Movement_1A083F:: @ 81A083F
SlateportCity_OceanicMuseum_2F_Movement_1A083F:: @ 81A083F
SootopolisCity_Movement_1A083F:: @ 81A083F
VictoryRoad_1F_Movement_1A083F:: @ 81A083F
	step_27
	step_end

AquaHideout_B2F_Movement_1A0841:: @ 81A0841
CaveOfOrigin_B4F_Movement_1A0841:: @ 81A0841
DewfordTown_Hall_Movement_1A0841:: @ 81A0841
EverGrandeCity_ChampionsRoom_Movement_1A0841:: @ 81A0841
EverGrandeCity_HallOfFame_Movement_1A0841:: @ 81A0841
LilycoveCity_Harbor_Movement_1A0841:: @ 81A0841
LittlerootTown_BrendansHouse_1F_Movement_1A0841:: @ 81A0841
LittlerootTown_Movement_1A0841:: @ 81A0841
MeteorFalls_1F_1R_Movement_1A0841:: @ 81A0841
MossdeepCity_GameCorner_1F_Movement_1A0841:: @ 81A0841
MtPyre_Summit_Movement_1A0841:: @ 81A0841
NewMauville_Entrance_Movement_1A0841:: @ 81A0841
PetalburgCity_Gym_Movement_1A0841:: @ 81A0841
PetalburgCity_Movement_1A0841:: @ 81A0841
PetalburgWoods_Movement_1A0841:: @ 81A0841
Route110_TrickHouseEnd_Movement_1A0841:: @ 81A0841
Route110_TrickHouseEntrance_Movement_1A0841:: @ 81A0841
Route111_Movement_1A0841:: @ 81A0841
Route118_Movement_1A0841:: @ 81A0841
Route120_Movement_1A0841:: @ 81A0841
Route121_SafariZoneEntrance_Movement_1A0841:: @ 81A0841
Route128_Movement_1A0841:: @ 81A0841
RustboroCity_Movement_1A0841:: @ 81A0841
RusturfTunnel_Movement_1A0841:: @ 81A0841
SeafloorCavern_Room9_Movement_1A0841:: @ 81A0841
SlateportCity_Harbor_Movement_1A0841:: @ 81A0841
SlateportCity_Movement_1A0841:: @ 81A0841
SlateportCity_OceanicMuseum_2F_Movement_1A0841:: @ 81A0841
	step_26
	step_end

AquaHideout_B2F_Movement_1A0843:: @ 81A0843
DewfordTown_Hall_Movement_1A0843:: @ 81A0843
EverGrandeCity_ChampionsRoom_Movement_1A0843:: @ 81A0843
EverGrandeCity_HallOfFame_Movement_1A0843:: @ 81A0843
LavaridgeTown_Movement_1A0843:: @ 81A0843
LilycoveCity_DepartmentStore_1F_Movement_1A0843:: @ 81A0843
LilycoveCity_PokemonTrainerFanClub_Movement_1A0843:: @ 81A0843
LittlerootTown_BrendansHouse_1F_Movement_1A0843:: @ 81A0843
LittlerootTown_BrendansHouse_2F_Movement_1A0843:: @ 81A0843
LittlerootTown_MaysHouse_1F_Movement_1A0843:: @ 81A0843
LittlerootTown_Movement_1A0843:: @ 81A0843
LittlerootTown_ProfessorBirchsLab_Movement_1A0843:: @ 81A0843
MauvilleCity_Movement_1A0843:: @ 81A0843
MtPyre_Summit_Movement_1A0843:: @ 81A0843
OldaleTown_Movement_1A0843:: @ 81A0843
PetalburgCity_Gym_Movement_1A0843:: @ 81A0843
PetalburgCity_Movement_1A0843:: @ 81A0843
Route101_Movement_1A0843:: @ 81A0843
Route110_Movement_1A0843:: @ 81A0843
Route110_TrickHouseEnd_Movement_1A0843:: @ 81A0843
Route116_Movement_1A0843:: @ 81A0843
Route120_Movement_1A0843:: @ 81A0843
Route128_Movement_1A0843:: @ 81A0843
RustboroCity_Movement_1A0843:: @ 81A0843
SlateportCity_Harbor_Movement_1A0843:: @ 81A0843
SlateportCity_Movement_1A0843:: @ 81A0843
SlateportCity_OceanicMuseum_1F_Movement_1A0843:: @ 81A0843
SlateportCity_OceanicMuseum_2F_Movement_1A0843:: @ 81A0843
SootopolisCity_Movement_1A0843:: @ 81A0843
	step_28
	step_end

BattleTower_Outside_Movement_1A0845:: @ 81A0845
DewfordTown_Hall_Movement_1A0845:: @ 81A0845
EverGrandeCity_ChampionsRoom_Movement_1A0845:: @ 81A0845
LilycoveCity_CoveLilyMotel_1F_Movement_1A0845:: @ 81A0845
LilycoveCity_DepartmentStoreElevator_Movement_1A0845:: @ 81A0845
LilycoveCity_Movement_1A0845:: @ 81A0845
LilycoveCity_PokemonTrainerFanClub_Movement_1A0845:: @ 81A0845
LittlerootTown_Movement_1A0845:: @ 81A0845
MauvilleCity_Movement_1A0845:: @ 81A0845
MeteorFalls_1F_1R_Movement_1A0845:: @ 81A0845
MtPyre_Summit_Movement_1A0845:: @ 81A0845
OldaleTown_PokemonCenter_1F_Movement_1A0845:: @ 81A0845
PetalburgCity_Gym_Movement_1A0845:: @ 81A0845
PetalburgCity_Movement_1A0845:: @ 81A0845
PetalburgWoods_Movement_1A0845:: @ 81A0845
Route110_Movement_1A0845:: @ 81A0845
Route110_TrickHouseEnd_Movement_1A0845:: @ 81A0845
Route119_Movement_1A0845:: @ 81A0845
Route120_Movement_1A0845:: @ 81A0845
Route128_Movement_1A0845:: @ 81A0845
RustboroCity_Movement_1A0845:: @ 81A0845
RustboroCity_PokemonSchool_Movement_1A0845:: @ 81A0845
RusturfTunnel_Movement_1A0845:: @ 81A0845
SeafloorCavern_Room9_Movement_1A0845:: @ 81A0845
SlateportCity_Harbor_Movement_1A0845:: @ 81A0845
SlateportCity_Movement_1A0845:: @ 81A0845
SlateportCity_OceanicMuseum_2F_Movement_1A0845:: @ 81A0845
SootopolisCity_Movement_1A0845:: @ 81A0845
SouthernIsland_Exterior_Movement_1A0845:: @ 81A0845
	step_25
	step_end

EverGrandeCity_SidneysRoom_Movement_1A0847:: @ 81A0847
	step_up
	step_up
	step_up
	step_up
	step_up
	step_up
	step_end

EverGrandeCity_ChampionsRoom_Movement_1A084E:: @ 81A084E
	step_up
	step_up
	step_up
	step_up
	step_end

EverGrandeCity_SidneysRoom_Movement_1A0853:: @ 81A0853
	step_14
	step_14
	step_end

Route110_TrickHouseEntrance_Movement_1A0856:: @ 81A0856
	step_up
	step_end

	.incbin "baserom.gba", 0x1a0858, 0x3

PictureBookShelfScript:: @ 81A085B
	msgbox PictureBookShelfText, 3
	end

BookshelfScript:: @ 81A0864
	msgbox BookshelfText, 3
	end

PokemonCenterBookshelfScript:: @ 81A086D
	msgbox PokemonCenterBookshelfText, 3
	end

VaseScript:: @ 81A0876
	msgbox VaseText, 3
	end

TrashCanScript:: @ 81A087F
	msgbox TrashCanText, 3
	end

ShopShelfScript:: @ 81A0888
	msgbox ShopShelfText, 3
	end

BlueprintScript:: @ 81A0891
	msgbox BlueprintText, 3
	end

SampleMessage1:: @ 81A089A
	.string "This is sample message 1.\p"
	.string "Welcome to the world of\n"
	.string "POKéMON AGB!\l"
	.string "We hope you enjoy this!$"

SampleMessage2:: @ 81A08F1
	.string "This is sample message 2.\p"
	.string "Welcome to the world of\n"
	.string "POKéMON AGB!\l"
	.string "We hope you enjoy this!$"

SampleMessage3:: @ 81A0948
	.string "This is sample message 3.\p"
	.string "Welcome to the world of\n"
	.string "POKéMON AGB!\l"
	.string "We hope you enjoy this!$"

UnusedMixRecordsPromptText: @ 81A099F
	.string "Would you like to mix records with other\n"
	.string "TRAINERS?$"

UnusedMixRecordsSeeYouAgainText: @ 81A09D2
	.string "We hope to see you again!$"

UnknownString_81A09EC: @ 81A09EC
	.string "{PLAYER} booted up the PC.$"

	.global gUnknown_081A0A01
gUnknown_081A0A01: @ 81A0A01

UnknownString_81A0A01: @ 81A0A01
	.string "Which PC should be accessed?$"

UnknownString_81A0A1E: @ 81A0A1E
	.string "Accessed someone’s PC.$"

UnknownString_81A0A35: @ 81A0A35
	.string "POKéMON Storage System opened.$"

UnknownString_81A0A54: @ 81A0A54
	.string "Accessed {PLAYER}’s PC.$"

UnknownString_81A0A66: @ 81A0A66
	.string "Accessed LANETTE’s PC.$"

OldaleTown_PokemonCenter_1F_Text_1A0A7D:: @ 81A0A7D
	.string "Hello, and welcome to the POKéMON\n"
	.string "CENTER.\p"
	.string "We restore your tired POKéMON to\n"
	.string "full health.\p"
	.string "Would you like to rest your POKéMON?$"

OldaleTown_PokemonCenter_1F_Text_1A0AFA:: @ 81A0AFA
	.string "We hope to see you again!$"

OldaleTown_PokemonCenter_1F_Text_1A0B14:: @ 81A0B14
	.string "Thank you for waiting.\p"
	.string "We’ve restored your POKéMON to\n"
	.string "full health.$"

UnknownString_81A0B57: @ 81A0B57
	.string "Welcome to the POKéMON CABLE CLUB\n"
	.string "TRADE CENTER.$"

UnknownString_81A0B87: @ 81A0B87
	.string "Welcome to the POKéMON CABLE CLUB\n"
	.string "COLOSSEUM.$"

UnknownString_81A0BB4: @ 81A0BB4
	.string "Welcome to the POKéMON CABLE CLUB\n"
	.string "TIME CAPSULE.$"

EverGrandeCity_PokemonLeague_Text_1A0BE4:: @ 81A0BE4
FallarborTown_Mart_Text_1A0BE4:: @ 81A0BE4
FortreeCity_DecorationShop_Text_1A0BE4:: @ 81A0BE4
FortreeCity_Mart_Text_1A0BE4:: @ 81A0BE4
LavaridgeTown_Mart_Text_1A0BE4:: @ 81A0BE4
LilycoveCity_DepartmentStoreRooftop_Text_1A0BE4:: @ 81A0BE4
LilycoveCity_DepartmentStore_2F_Text_1A0BE4:: @ 81A0BE4
LilycoveCity_DepartmentStore_3F_Text_1A0BE4:: @ 81A0BE4
LilycoveCity_DepartmentStore_4F_Text_1A0BE4:: @ 81A0BE4
LilycoveCity_DepartmentStore_5F_Text_1A0BE4:: @ 81A0BE4
MauvilleCity_Mart_Text_1A0BE4:: @ 81A0BE4
MossdeepCity_Mart_Text_1A0BE4:: @ 81A0BE4
OldaleTown_Mart_Text_1A0BE4:: @ 81A0BE4
PetalburgCity_Mart_Text_1A0BE4:: @ 81A0BE4
RustboroCity_Mart_Text_1A0BE4:: @ 81A0BE4
SlateportCity_Mart_Text_1A0BE4:: @ 81A0BE4
SlateportCity_Text_1A0BE4:: @ 81A0BE4
SootopolisCity_Mart_Text_1A0BE4:: @ 81A0BE4
VerdanturfTown_Mart_Text_1A0BE4:: @ 81A0BE4
	.string "Welcome!\p"
	.string "How may I serve you?$"

EverGrandeCity_PokemonLeague_Text_1A0C02:: @ 81A0C02
FallarborTown_Mart_Text_1A0C02:: @ 81A0C02
FortreeCity_DecorationShop_Text_1A0C02:: @ 81A0C02
FortreeCity_Mart_Text_1A0C02:: @ 81A0C02
LavaridgeTown_HerbShop_Text_1A0C02:: @ 81A0C02
LavaridgeTown_Mart_Text_1A0C02:: @ 81A0C02
LilycoveCity_DepartmentStoreRooftop_Text_1A0C02:: @ 81A0C02
LilycoveCity_DepartmentStore_2F_Text_1A0C02:: @ 81A0C02
LilycoveCity_DepartmentStore_3F_Text_1A0C02:: @ 81A0C02
LilycoveCity_DepartmentStore_4F_Text_1A0C02:: @ 81A0C02
LilycoveCity_DepartmentStore_5F_Text_1A0C02:: @ 81A0C02
MauvilleCity_Mart_Text_1A0C02:: @ 81A0C02
MossdeepCity_Mart_Text_1A0C02:: @ 81A0C02
OldaleTown_Mart_Text_1A0C02:: @ 81A0C02
PetalburgCity_Mart_Text_1A0C02:: @ 81A0C02
	.include "data/text/maps/Route104_PrettyPetalFlowerShop.s"
RustboroCity_Mart_Text_1A0C02:: @ 81A0C02
SlateportCity_Mart_Text_1A0C02:: @ 81A0C02
SlateportCity_Text_1A0C02:: @ 81A0C02
SootopolisCity_Mart_Text_1A0C02:: @ 81A0C02
VerdanturfTown_Mart_Text_1A0C02:: @ 81A0C02
	.string "Please come again!$"

UnknownString_81A0C15: @ 81A0C15
	.string "Welcome!\p"
	.string "We’re having a discount sale today!$"

Route104_PrettyPetalFlowerShop_Text_1A0C42:: @ 81A0C42
	.string "{PLAYER}{KUN}, welcome!\p"
	.string "What can I do for you?$"

Message_ObtainedItem: @ 81A0C68
	.string "Obtained the {STR_VAR_2}.$"

LilycoveCity_DepartmentStoreRooftop_Text_1A0C79:: @ 81A0C79
	.string "The BAG is full...$"

LilycoveCity_DepartmentStoreRooftop_Text_1A0C8C:: @ 81A0C8C
Message_PutAwayItem:
	.string "{PLAYER} put away the {STR_VAR_2}\n"
	.string "in the {STR_VAR_3} POCKET.$"

Message_FoundOneItem:
	.string "{PLAYER} found one {STR_VAR_2}!$"

MauvilleCity_GameCorner_Text_1A0CC2:: @ 81A0CC2
MauvilleCity_Text_1A0CC2:: @ 81A0CC2
MtChimney_Text_1A0CC2:: @ 81A0CC2
OldaleTown_Text_1A0CC2:: @ 81A0CC2
Route109_SeashoreHouse_Text_1A0CC2:: @ 81A0CC2
Message_BagFull:
	.string "Too bad!\n"
	.string "The BAG is full...$"

Message_ObtainedDecoration: @ 81A0CDE
	.string "Obtained the {STR_VAR_2}.$"

BattleTower_Lobby_Text_1A0CEF:: @ 81A0CEF
MauvilleCity_GameCorner_Text_1A0CEF:: @ 81A0CEF
Route114_LanettesHouse_Text_1A0CEF:: @ 81A0CEF
SootopolisCity_House6_Text_1A0CEF:: @ 81A0CEF
	.string "Too bad! There’s no room left for\n"
	.string "another {STR_VAR_2}...$"

Message_TransferredToPC: @ 81A0D1F
	.string "The {STR_VAR_2} was transferred\n"
	.string "to the PC.$"

PetalburgCity_Text_1A0D41:: @ 81A0D41
	.string "“Selected items for your convenience!”\n"
	.string "POKéMON MART$"

PetalburgCity_Text_1A0D75:: @ 81A0D75
	.string "“Rejuvenate your tired partners!”\n"
	.string "POKéMON CENTER$"

UnknownString_81A0DA6: @ 81A0DA6
	.string "Fufufu...$"

UnknownString_81A0DB0: @ 81A0DB0
	.string "Mumble, mumble...$"

UnknownString_81A0DC2: @ 81A0DC2
	.string "Oh!$"

UnknownString_81A0DC6: @ 81A0DC6
	.string "Closed today!$"

UnknownString_81A0DD4: @ 81A0DD4
	.string "You like the {STR_VAR_3}-type POKéMON\n"
	.string "{STR_VAR_1}?$"

UnknownString_81A0DF5: @ 81A0DF5
	.string "It contains a POKéMON!$"

UnknownString_81A0E0C: @ 81A0E0C
	.string "We’re making preparations.$"

UnknownString_81A0E27: @ 81A0E27
	.string "I’m a pseudo-GYM LEADER for\n"
	.string "interviews.$"

UnknownString_81A0E4F: @ 81A0E4F
	.string "Ready for a test battle.$"

UnknownString_81A0E68: @ 81A0E68
	.string "{STR_VAR_1} might like this program.\n"
	.string "... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...\p"
	.string "Better get going!$"

UnknownString_81A0ED6: @ 81A0ED6
	.string "What should I do for fun today?$"

	.include "data/text/maps/LilycoveCity_DepartmentStoreElevator.s"
Route111_Text_1A0F93:: @ 81A0F93
	.string "The sandstorm is vicious.\n"
	.string "It’s impossible to keep going.$"

Text_NoRegisteredItem: @ 81A0FCC
	.string "An item in the BAG can be registered\n"
	.string "on SELECT for convenience.$"

LittlerootTown_BrendansHouse_2F_Text_1A100C:: @ 81A100C
LittlerootTown_MaysHouse_2F_Text_1A100C:: @ 81A100C
	.string "There’s an e-mail from POKéMON TRAINER\n"
	.string "SCHOOL.\p"
	.string "... ... ... ... ... ...\p"
	.string "A POKéMON may learn up to four moves.\p"
	.string "A TRAINER’s expertise is tested on the\n"
	.string "move sets chosen for POKéMON.\p"
	.string "... ... ... ... ... ...$"

LittlerootTown_BrendansHouse_2F_Text_1A10D6:: @ 81A10D6
LittlerootTown_MaysHouse_2F_Text_1A10D6:: @ 81A10D6
	.string "{PLAYER} booted up the PC.$"

FallarborTown_ContestLobby_Text_1A10EB:: @ 81A10EB
	.string "The link was canceled.$"

MossdeepCity_StevensHouse_Text_1A1102:: @ 81A1102
RustboroCity_DevonCorp_2F_Text_1A1102:: @ 81A1102
	.string "Want to give a nickname to the\n"
	.string "{STR_VAR_2} you received?$"

UnknownString_81A1132:: @ 81A1132
	.string "{STR_VAR_1} fainted...\p$"

UnknownString_81A1141: @ 81A1141
	.string "{PLAYER} is out of useable POKéMON!\p"
	.string "{PLAYER} whited out!$"

SlateportCity_Text_1A116E:: @ 81A116E
	.string "Do you know the TM SECRET POWER?\p"
	.string "Our group, we love the TM SECRET\n"
	.string "POWER.\p"
	.string "One of our members will give it to you.\n"
	.string "Come back and show me if you get it.\p"
	.string "We’ll accept you as a member and sell\n"
	.string "you good stuff in secrecy.$"

OldaleTown_PokemonCenter_1F_Text_1A1245:: @ 81A1245
	.string "Okay, I’ll take your POKéMON for a\n"
	.string "few seconds.$"

OldaleTown_PokemonCenter_1F_Text_1A1275:: @ 81A1275
	.string "Your POKéMON may be infected with\n"
	.string "POKéRUS.\p"
	.string "Little is known about the POKéRUS\n"
	.string "except that they are microscopic life-\l"
	.string "forms that attach to POKéMON.\p"
	.string "While infected, POKéMON are said to\n"
	.string "grow exceptionally well.$"

UseSurfPromptText: @ 81A1344
	.string "The water is dyed a deep blue...\n"
	.string "Would you like to SURF?$"

UsedSurfText: @ 81A137D
	.string "{STR_VAR_1} used SURF!$"

	.include "data/text/maps/SealedChamber_InnerRoom.s"
	.include "data/text/maps/AncientTomb.s"
	.include "data/text/maps/DesertRuins.s"
	.include "data/text/maps/IslandCave.s"
	.include "data/text/maps/SealedChamber_OuterRoom.s"
	.include "data/text/maps/OldaleTown_PokemonCenter_2F.s"
FallarborTown_House1_Text_1A1498:: @ 81A1498
	.string "{PLAYER} handed over the\n"
	.string "{STR_VAR_1}.$"

Event_NoRegisteredItem:: @ 81A14AF
	msgbox Text_NoRegisteredItem, 3
	end

gUnknown_081A14B8:: @ 81A14B8
	lockall
	special 199
	waitstate
	compare RESULT, 1
	jumpeq EventScript_1A14CA
	releaseall
	end

EventScript_1A14CA::
	message UnknownString_81A1141
	waittext
	waitbutton
	special 332
	waitstate
	fadescreen 1
	special 200
	waitstate
	end

OldaleTown_PokemonCenter_1F_EventScript_1A14DC:: @ 81A14DC
PacifidlogTown_House2_EventScript_1A14DC:: @ 81A14DC
Route101_EventScript_1A14DC:: @ 81A14DC
	return

BerryTreeScript:: @ 81A14DD
	special 43
	switch 0x8004
	case 255, Route102_EventScript_1A1533
	case 0, Route102_EventScript_1A153D
	case 1, Route102_EventScript_1A1595
	case 2, Route102_EventScript_1A15A2
	case 3, Route102_EventScript_1A15AF
	case 4, Route102_EventScript_1A15BC
	case 5, Route102_EventScript_1A15F9
	end

Route102_EventScript_1A1533:: @ 81A1533
	lockall
	message Route102_Text_1A1946
	waittext
	waitbutton
	releaseall
	end

Route102_EventScript_1A153D:: @ 81A153D
	lock
	faceplayer
	specialval RESULT, 49
	compare RESULT, 1
	jumpeq Route102_EventScript_1A1558
	message Route102_Text_1A16B6
	waittext
	waitbutton
	release
	end

Route102_EventScript_1A1558:: @ 81A1558
	msgbox Route102_Text_1A16CD, 5
	compare RESULT, 1
	jumpeq Route102_EventScript_1A1577
	compare RESULT, 0
	jumpeq Route102_EventScript_1A1593
	end

Route102_EventScript_1A1577:: @ 81A1577
	fadescreen 1
	closebutton
	special 44
	waitstate
	compare 0x800e, 0
	jumpeq Route102_EventScript_1A1593
	removeitem 0x800e, 1
	call Route102_EventScript_1A16A9

Route102_EventScript_1A1593:: @ 81A1593
	release
	end

Route102_EventScript_1A1595:: @ 81A1595
	lockall
	message Route102_Text_1A172C
	waittext
	waitbutton
	jump Route102_EventScript_1A165F

Route102_EventScript_1A15A2:: @ 81A15A2
	lockall
	message Route102_Text_1A174B
	waittext
	waitbutton
	jump Route102_EventScript_1A165F

Route102_EventScript_1A15AF:: @ 81A15AF
	lockall
	message Route102_Text_1A175C
	waittext
	waitbutton
	jump Route102_EventScript_1A165F

Route102_EventScript_1A15BC:: @ 81A15BC
	call Route102_EventScript_1A15CE
	lockall
	message Route102_Text_1A177D
	waittext
	waitbutton
	jump Route102_EventScript_1A165F

Route102_EventScript_1A15CE:: @ 81A15CE
	compare 0x8005, 0
	jumpeq Route102_EventScript_1A15F2
	compare 0x8005, 4
	jumpeq Route102_EventScript_1A15EB
	buffertext 1, Route102_Text_1A17B7
	return

Route102_EventScript_1A15EB:: @ 81A15EB
	buffertext 1, Route102_Text_1A179F
	return

Route102_EventScript_1A15F2:: @ 81A15F2
	buffertext 1, Route102_Text_1A17B0
	return

Route102_EventScript_1A15F9:: @ 81A15F9
	buffernum 1, 0x8006
	lock
	faceplayer
	msgbox Route102_Text_1A17C0, 5
	compare RESULT, 1
	jumpeq Route102_EventScript_1A161D
	compare RESULT, 0
	jumpeq Route102_EventScript_1A164B

Route102_EventScript_1A161D:: @ 81A161D
	special 46
	compare 0x8004, 0
	jumpeq Route102_EventScript_1A1642
	special 47
	message Route102_Text_1A17FD
	fanfare 387
	waittext
	waitfanfare
	waitbutton
	message Route102_Text_1A181A
	waittext
	waitbutton
	release
	end

Route102_EventScript_1A1642:: @ 81A1642
	message Route102_Text_1A1881
	waittext
	waitbutton
	release
	end

Route102_EventScript_1A164B:: @ 81A164B
	message Route102_Text_1A18C5
	waittext
	waitbutton
	release
	end

gUnknown_081A1654:: @ 81A1654
	lockall
	special 43
	call Route102_EventScript_1A16A9
	releaseall
	end

Route102_EventScript_1A165F:: @ 81A165F
	checkitem ITEM_WAILMER_PAIL, 1
	compare RESULT, 0
	jumpeq Route102_EventScript_1A168D
	msgbox Route102_Text_1A18E6, 5
	compare RESULT, 1
	jumpeq Route102_EventScript_1A1693
	compare RESULT, 0
	jumpeq Route102_EventScript_1A168D

Route102_EventScript_1A168D:: @ 81A168D
	releaseall
	end

gUnknown_081A168F:: @ 81A168F
	special 43
	lockall

Route102_EventScript_1A1693:: @ 81A1693
	message Route102_Text_1A1912
	waittext
	special 48
	special 94
	waitstate
	message Route102_Text_1A1925
	waittext
	waitbutton
	releaseall
	end

Route102_EventScript_1A16A9:: @ 81A16A9
	special 45
	inccounter 3
	message Route102_Text_1A16FB
	waittext
	waitbutton
	return

Route102_Text_1A16B6:: @ 81A16B6
	.string "It’s soft, loamy soil.$"

Route102_Text_1A16CD:: @ 81A16CD
	.string "It’s soft, loamy soil.\n"
	.string "Want to plant a BERRY?$"

Route102_Text_1A16FB:: @ 81A16FB
	.string "{PLAYER} planted one {STR_VAR_1} BERRY in\n"
	.string "the soft, loamy soil.$"

Route102_Text_1A172C:: @ 81A172C
	.string "One {STR_VAR_1} BERRY was planted here.$"

Route102_Text_1A174B:: @ 81A174B
	.string "{STR_VAR_1} has sprouted.$"

Route102_Text_1A175C:: @ 81A175C
	.string "This {STR_VAR_1} plant is growing taller.$"

Route102_Text_1A177D:: @ 81A177D
	.string "These {STR_VAR_1} flowers are blooming\n"
	.string "{STR_VAR_2}.$"

Route102_Text_1A179F:: @ 81A179F
	.string "very beautifully$"

Route102_Text_1A17B0:: @ 81A17B0
	.string "cutely$"

Route102_Text_1A17B7:: @ 81A17B7
	.string "prettily$"

Route102_Text_1A17C0:: @ 81A17C0
	.string "There are {STR_VAR_2} {STR_VAR_1} BERRIES!\p"
	.string "Do you want to pick the\n"
	.string "{STR_VAR_1} BERRIES?$"

Route102_Text_1A17FD:: @ 81A17FD
	.string "{PLAYER} picked the {STR_VAR_2} {STR_VAR_1} BERRIES.$"

Route102_Text_1A181A:: @ 81A181A
	.string "{PLAYER} put away the {STR_VAR_1} BERRIES\n"
	.string "in the BAG’s BERRIES POCKET.\p"
	.string "The soil returned to its soft and\n"
	.string "loamy state.$"

Route102_Text_1A1881:: @ 81A1881
	.string "The BAG’s BERRIES POCKET is full.\p"
	.string "The {STR_VAR_1} BERRIES couldn’t be taken.$"

Route102_Text_1A18C5:: @ 81A18C5
	.string "{PLAYER} left the {STR_VAR_1} BERRIES\n"
	.string "unpicked.$"

Route102_Text_1A18E6:: @ 81A18E6
	.string "Want to water the {STR_VAR_1} with the\n"
	.string "WAILMER PAIL?$"

Route102_Text_1A1912:: @ 81A1912
	.string "{PLAYER} watered the {STR_VAR_1}.$"

Route102_Text_1A1925:: @ 81A1925
	.string "The plant seems to be delighted.$"

Route102_Text_1A1946:: @ 81A1946
	.string "!$"

UnknownString_81A1948: @ 81A1948
	.string "If some vines drop down, this tree can\n"
	.string "be climbed.$"

UnknownString_81A197B: @ 81A197B
	.string "If some vines drop down, this tree can\n"
	.string "be climbed.\p"
	.string "Use the SECRET POWER?$"

UnknownString_81A19C4: @ 81A19C4
	.string "A thick vine dropped down!$"

UnknownString_81A19DF: @ 81A19DF
	.string "Want to make your SECRET BASE here?$"

UnknownString_81A1A03: @ 81A1A03
	.string "If this clump of grass can be moved,\n"
	.string "it might be possible to go inside.$"

UnknownString_81A1A4B: @ 81A1A4B
	.string "If this clump of grass can be moved,\n"
	.string "it might be possible to go inside.\p"
	.string "Use the SECRET POWER?$"

UnknownString_81A1AA9: @ 81A1AA9
	.string "Discovered a small entrance!$"

UnknownString_81A1AC6: @ 81A1AC6
	.string "Want to make your SECRET BASE here?$"

SecretBase_RedCave1_Text_1A1AEA:: @ 81A1AEA
	.string "Have you made a SECRET BASE already?\p"
	.string "I went here, there, everywhere before\n"
	.string "choosing this place.\p"
	.string "Since you’re already here, how would\n"
	.string "you like to battle?$"

SecretBase_RedCave1_Text_1A1B83:: @ 81A1B83
	.string "Okay!\n"
	.string "Here we come!$"

SecretBase_RedCave1_Text_1A1B97:: @ 81A1B97
	.string "Hunh?\n"
	.string "Oh, you can’t now...$"

UnknownString_81A1BB2:: @ 81A1BB2
	.string "Waaargh! You’re too strong!\n"
	.string "About me losing... Please keep it secret!$"

SecretBase_RedCave1_Text_1A1BF8:: @ 81A1BF8
	.string "What do you think of my SECRET BASE?\n"
	.string "Come visit me again tomorrow.$"

SecretBase_RedCave1_Text_1A1C3B:: @ 81A1C3B
	.string "Have you made a SECRET BASE already?\p"
	.string "I went here, there, everywhere before\n"
	.string "choosing this place.\p"
	.string "Feel free to hang out!$"

SecretBase_RedCave1_Text_1A1CB2:: @ 81A1CB2
	.string "There’re a lot of places where you can\n"
	.string "make a SECRET BASE.\p"
	.string "But I like this spot best.\n"
	.string "Don’t you think it’s nice?\p"
	.string "Oh, would you like to have a battle?$"

SecretBase_RedCave1_Text_1A1D48:: @ 81A1D48
	.string "Okay, here goes!$"

SecretBase_RedCave1_Text_1A1D59:: @ 81A1D59
	.string "Oh...\n"
	.string "You can’t now, okay.$"

UnknownString_81A1D74:: @ 81A1D74
	.string "Hmmm... It’s our loss...\n"
	.string "But don’t tell anyone!\l"
	.string "It’s a confidential secret!$"

SecretBase_RedCave1_Text_1A1DC0:: @ 81A1DC0
	.string "If you’re in this area again, I hope\n"
	.string "you’ll visit me.$"

SecretBase_RedCave1_Text_1A1DF6:: @ 81A1DF6
	.string "There’re a lot of places where you can\n"
	.string "make a SECRET BASE.\p"
	.string "But I like this spot best.\n"
	.string "Don’t you think it’s nice?$"

SecretBase_RedCave1_Text_1A1E67:: @ 81A1E67
	.string "This is a popular spot.\n"
	.string "It’s always taken.\p"
	.string "Oh! Were you thinking about taking this\n"
	.string "spot, too?\p"
	.string "I’ll tell you what, you can have this\n"
	.string "spot if you can beat me.$"

SecretBase_RedCave1_Text_1A1F04:: @ 81A1F04
	.string "Okay!\n"
	.string "I’m going to defend my SECRET BASE!$"

SecretBase_RedCave1_Text_1A1F2E:: @ 81A1F2E
	.string "Hunh? Is that right?\n"
	.string "You’re not interested in this spot?$"

UnknownString_81A1F67:: @ 81A1F67
	.string "I can’t keep going!\n"
	.string "I surrender!$"

SecretBase_RedCave1_Text_1A1F88:: @ 81A1F88
	.string "Okay, when I move one day, this place\n"
	.string "will be yours!$"

SecretBase_RedCave1_Text_1A1FBD:: @ 81A1FBD
	.string "This is a popular spot.\n"
	.string "It’s always taken.\p"
	.string "I waited a long time for it to open.\n"
	.string "I finally got to use it!$"

SecretBase_RedCave1_Text_1A2026:: @ 81A2026
	.string "Welcome to my POKéMON LAB.\p"
	.string "I carry out research on battling in\n"
	.string "secrecy.\p"
	.string "Would you like to see how strong I am?$"

SecretBase_RedCave1_Text_1A2095:: @ 81A2095
	.string "I’m going to go all out!$"

SecretBase_RedCave1_Text_1A20AE:: @ 81A20AE
	.string "Oh.\n"
	.string "Some other time, then!$"

UnknownString_81A20C9:: @ 81A20C9
	.string "Hmm... I’ve still got lots to learn.\n"
	.string "I have to study some more.$"

SecretBase_RedCave1_Text_1A2109:: @ 81A2109
	.string "Thanks for battling with me.\n"
	.string "Please come back again tomorrow.$"

SecretBase_RedCave1_Text_1A2147:: @ 81A2147
	.string "Welcome to my POKéMON LAB.\p"
	.string "I carry out research on battling in\n"
	.string "secrecy.$"

SecretBase_RedCave1_Text_1A218F:: @ 81A218F
	.string "A big mansion is nice, but I like this\n"
	.string "sort of place more.\p"
	.string "I like it because all kinds of people\n"
	.string "come visit me.\p"
	.string "So, how would you like a battle?$"

SecretBase_RedCave1_Text_1A2220:: @ 81A2220
	.string "That’s the way!$"

SecretBase_RedCave1_Text_1A2230:: @ 81A2230
	.string "When you’re ready, give me a shout!$"

UnknownString_81A2254:: @ 81A2254
	.string "Aww! Done in!\n"
	.string "But it’s still fun to battle!$"

SecretBase_RedCave1_Text_1A2280:: @ 81A2280
	.string "Well, anyway, I should go buy some\n"
	.string "decorations and furniture.\p"
	.string "I want my SECRET BASE to be a place\n"
	.string "other people can enjoy.$"

SecretBase_RedCave1_Text_1A22FA:: @ 81A22FA
	.string "A big mansion is nice, but I like this\n"
	.string "sort of place more.\p"
	.string "I like it because all kinds of people\n"
	.string "come visit me.$"

SecretBase_RedCave1_Text_1A236A:: @ 81A236A
	.string "I simply adore shopping for decorations\n"
	.string "and furniture.\p"
	.string "I also love raising POKéMON just\n"
	.string "as much.\p"
	.string "If you would be so kind, will you battle\n"
	.string "with my POKéMON?$"

SecretBase_RedCave1_Text_1A2405:: @ 81A2405
	.string "Thank you.\n"
	.string "Shall we begin?$"

SecretBase_RedCave1_Text_1A2420:: @ 81A2420
	.string "Oh.\n"
	.string "How disappointing...$"

UnknownString_81A2439:: @ 81A2439
	.string "I concede...$"

SecretBase_RedCave1_Text_1A2446:: @ 81A2446
	.string "That was all in good fun!\n"
	.string "I should go enjoy shopping now.$"

SecretBase_RedCave1_Text_1A2480:: @ 81A2480
	.string "I simply adore shopping for decorations\n"
	.string "and furniture.\p"
	.string "I also love raising POKéMON just\n"
	.string "as much.$"

SecretBase_RedCave1_Text_1A24E1:: @ 81A24E1
	.string "Some people make their SECRET BASES in\n"
	.string "hard-to-find places.\l"
	.string "Do they want to just lie low?\p"
	.string "But since you found me, how about we\n"
	.string "have a battle?$"

SecretBase_RedCave1_Text_1A256F:: @ 81A256F
	.string "I’m not going down easily!$"

SecretBase_RedCave1_Text_1A258A:: @ 81A258A
	.string "Oh... Are you maybe tired from searching\n"
	.string "for this place?$"

UnknownString_81A25C3:: @ 81A25C3
	.string "I went down...$"

SecretBase_RedCave1_Text_1A25D2:: @ 81A25D2
	.string "Where’s your SECRET BASE?\n"
	.string "I should go visit you there.$"

SecretBase_RedCave1_Text_1A2609:: @ 81A2609
	.string "Some people make their SECRET BASES in\n"
	.string "hard-to-find places.\l"
	.string "Do they want to just lie low?$"

SecretBase_RedCave1_Text_1A2663:: @ 81A2663
	.string "People have told me that you can get\n"
	.string "decorations in several ways.\p"
	.string "We should have a race to see who can\n"
	.string "get nicer decorations and furniture!\p"
	.string "In the meantime, want to battle?$"

SecretBase_RedCave1_Text_1A2710:: @ 81A2710
	.string "This is my SECRET BASE.\n"
	.string "I can’t lose!$"

SecretBase_RedCave1_Text_1A2736:: @ 81A2736
	.string "I’ll battle with you anytime.$"

UnknownString_81A2754:: @ 81A2754
	.string "Huh?\n"
	.string "Did I just lose?$"

SecretBase_RedCave1_Text_1A276A:: @ 81A276A
	.string "I won’t lose at collecting decorations.\n"
	.string "Come visit again!$"

SecretBase_RedCave1_Text_1A27A4:: @ 81A27A4
	.string "People have told me that you can get\n"
	.string "decorations in several ways.\p"
	.string "We should have a race to see who can\n"
	.string "get nicer decorations and furniture!$"

SecretBase_RedCave1_Text_1A2830:: @ 81A2830
	.string "I found a spot I liked, and I did it up\n"
	.string "with my favorite decorations.\p"
	.string "I raise my favorite POKéMON and grow\n"
	.string "stronger with it.\p"
	.string "That’s what I do.\n"
	.string "Want to battle with me?$"

SecretBase_RedCave1_Text_1A28D7:: @ 81A28D7
	.string "Show me what you’re made of!$"

SecretBase_RedCave1_Text_1A28F4:: @ 81A28F4
	.string "I guess there are times when you’re not\n"
	.string "into it.$"

UnknownString_81A2925:: @ 81A2925
	.string "I know exactly what you’re made of now.$"

SecretBase_RedCave1_Text_1A294D:: @ 81A294D
	.string "We can both become stronger.\n"
	.string "Let’s keep at it!$"

SecretBase_RedCave1_Text_1A297C:: @ 81A297C
	.string "I found a spot I liked, and I did it up\n"
	.string "with my favorite decorations.\p"
	.string "I raise my favorite POKéMON and grow\n"
	.string "stronger with it.\p"
	.string "Every day is a great day.$"

SecretBase_RedCave1_Text_1A2A13:: @ 81A2A13
	.string "You can learn a lot about the taste\n"
	.string "and sense of people by the kinds of\l"
	.string "decorations they have, and how they\l"
	.string "display them.\p"
	.string "What do you think of my taste?\n"
	.string "Are you speechless?\p"
	.string "Want to see my taste in battling?$"

SecretBase_RedCave1_Text_1A2AE2:: @ 81A2AE2
	.string "There’s no holding back!$"

SecretBase_RedCave1_Text_1A2AFB:: @ 81A2AFB
	.string "I’ll be happy to demonstrate my style\n"
	.string "anytime.$"

UnknownString_81A2B2A:: @ 81A2B2A
	.string "You’re supremely talented!\n"
	.string "Your power seems to be limitless...$"

SecretBase_RedCave1_Text_1A2B69:: @ 81A2B69
	.string "What did you think of my style?\n"
	.string "I’ll keep on polishing it!$"

SecretBase_RedCave1_Text_1A2BA4:: @ 81A2BA4
	.string "You can learn a lot about the taste\n"
	.string "and sense of people by the kinds of\l"
	.string "decorations they have, and how they\l"
	.string "display them.\p"
	.string "What do you think of my taste?\n"
	.string "Are you speechless?$"

gUnknown_081A2C51:: @ 81A2C51
	special 21
	special 7
	compare RESULT, 1
	jumpeq EventScript_1A2E45
	checkattack MOVE_SECRET_POWER
	setanimation 0, RESULT
	bufferattack 1, MOVE_SECRET_POWER
	compare 0x8007, 1
	jumpeq EventScript_1A2CB0
	compare 0x8007, 2
	jumpeq EventScript_1A2CB0
	compare 0x8007, 3
	jumpeq EventScript_1A2CB0
	compare 0x8007, 4
	jumpeq EventScript_1A2CB0
	compare 0x8007, 5
	jumpeq EventScript_1A2D08
	compare 0x8007, 6
	jumpeq EventScript_1A2D60
	end

EventScript_1A2CB0:
	lockall
	compare RESULT, 6
	jumpeq EventScript_1A2CF1
	bufferpartypoke 0, RESULT
	msgbox UnknownString_8198F34, 5
	compare RESULT, 0
	jumpeq EventScript_1A2F3A
	msgbox UsedCutRockSmashText, 4
	closebutton
	doanimation 11
	waitstate
	jump EventScript_1A2CFA
	end

gUnknown_081A2CE6:: @ 81A2CE6
	lockall
	doanimation 11
	waitstate
	jump EventScript_1A2CFA
	end

EventScript_1A2CF1:
	msgbox UnknownString_8198F10, 3
	end

EventScript_1A2CFA:
	msgbox UnknownString_8198F6E, 4
	jump EventScript_1A2DB8
	end

EventScript_1A2D08:
	lockall
	compare RESULT, 6
	jumpeq EventScript_1A2D49
	bufferpartypoke 0, RESULT
	msgbox UnknownString_81A197B, 5
	compare RESULT, 0
	jumpeq EventScript_1A2F3A
	msgbox UsedCutRockSmashText, 4
	closebutton
	doanimation 26
	waitstate
	jump EventScript_1A2D52
	end

gUnknown_081A2D3E:: @ 81A2D3E
	lockall
	doanimation 26
	waitstate
	jump EventScript_1A2D52
	end

EventScript_1A2D49:
	msgbox UnknownString_81A1948, 3
	end

EventScript_1A2D52:
	msgbox UnknownString_81A19C4, 4
	jump EventScript_1A2DB8
	end

EventScript_1A2D60:
	lockall
	compare RESULT, 6
	jumpeq EventScript_1A2DA1
	bufferpartypoke 0, RESULT
	msgbox UnknownString_81A1A4B, 5
	compare RESULT, 0
	jumpeq EventScript_1A2F3A
	msgbox UsedCutRockSmashText, 4
	closebutton
	doanimation 27
	waitstate
	jump EventScript_1A2DAA
	end

gUnknown_081A2D96:: @ 81A2D96
	lockall
	doanimation 27
	waitstate
	jump EventScript_1A2DAA
	end

EventScript_1A2DA1:
	msgbox UnknownString_81A1A03, 3
	end

EventScript_1A2DAA:
	msgbox UnknownString_81A1AA9, 4
	jump EventScript_1A2DB8
	end

EventScript_1A2DB8:
	closebutton
	playsfx 9
	setvar 0x4097, 0
	setflag 173
	special 6
	special 8
	setvar 0x8004, 0
	setvar 0x8005, 0
	special 18
	setvar 0x4089, 1
	waitstate
	end

SecretBase_RedCave1_EventScript_1A2DDE:: @ 81A2DDE
	move 255, SecretBase_RedCave1_Movement_1A2E11
	waitmove 0
	setvar 0x4097, 1
	msgbox SecretBase_RedCave1_Text_198F89, 5
	compare RESULT, 1
	jumpeq SecretBase_RedCave1_EventScript_1A2E08
	closebutton
	playsfx 9
	special 9
	end

SecretBase_RedCave1_EventScript_1A2E08:: @ 81A2E08
	closebutton
	setflag 96
	special 24
	waitstate
	end

SecretBase_RedCave1_Movement_1A2E11:: @ 81A2E11
	step_up
	step_up
	step_end

gUnknown_081A2E14:: @ 81A2E14
	lockall
	setvar 0x4097, 1
	playsfx 9
	special 11
	compare RESULT, 0
	jumpeq EventScript_1A2E38
	clearflag 173
	special 8
	setvar 0x4089, 0
	waitstate
	end

EventScript_1A2E38:
	setflag 173
	special 8
	setvar 0x4089, 0
	waitstate
	end

EventScript_1A2E45:
	checkattack MOVE_SECRET_POWER
	compare RESULT, 6
	jumpeq EventScript_1A2EF7
	setanimation 0, RESULT
	setorcopyvar 0x8004, RESULT
	lockall
	special 278
	msgbox UnknownString_81A3C71, 5
	compare RESULT, 0
	jumpeq EventScript_1A2F3A
	msgbox UnknownString_81A38FB, 5
	compare RESULT, 0
	jumpeq EventScript_1A2F3A
	fadescreen 1
	special 330
	closebutton
	fadescreen 0
	msgbox UnknownString_81A3CC9, 5
	compare RESULT, 0
	jumpeq EventScript_1A2F3A
	bufferpartypoke 0, 0x8004
	bufferattack 1, MOVE_SECRET_POWER
	msgbox UsedCutRockSmashText, 4
	closebutton
	closebutton
	compare 0x8007, 1
	jumpeq gUnknown_081A2CE6
	compare 0x8007, 2
	jumpeq gUnknown_081A2CE6
	compare 0x8007, 3
	jumpeq gUnknown_081A2CE6
	compare 0x8007, 4
	jumpeq gUnknown_081A2CE6
	compare 0x8007, 5
	jumpeq gUnknown_081A2D3E
	compare 0x8007, 6
	jumpeq gUnknown_081A2D96
	releaseall
	end

EventScript_1A2EF7::
	compare 0x8007, 1
	jumpeq EventScript_1A2CF1
	compare 0x8007, 2
	jumpeq EventScript_1A2CF1
	compare 0x8007, 3
	jumpeq EventScript_1A2CF1
	compare 0x8007, 4
	jumpeq EventScript_1A2CF1
	compare 0x8007, 5
	jumpeq EventScript_1A2D49
	compare 0x8007, 6
	jumpeq EventScript_1A2DA1
	end

EventScript_1A2F3A::
	closebutton
	releaseall
	end

LittlerootTown_BrendansHouse_2F_EventScript_1A2F3D:: @ 81A2F3D
LittlerootTown_MaysHouse_2F_EventScript_1A2F3D:: @ 81A2F3D
SecretBase_RedCave1_EventScript_1A2F3D:: @ 81A2F3D
	setflag 174
	setflag 175
	setflag 176
	setflag 177
	setflag 178
	setflag 179
	setflag 180
	setflag 181
	setflag 182
	setflag 183
	setflag 184
	setflag 185
	setflag 186
	setflag 187
	return

LittlerootTown_BrendansHouse_2F_EventScript_1A2F68:: @ 81A2F68
LittlerootTown_MaysHouse_2F_EventScript_1A2F68:: @ 81A2F68
SecretBase_RedCave1_EventScript_1A2F68:: @ 81A2F68
	setvar 0x8004, 0
	setvar 0x8005, 0
	special 18
	setvar 0x4089, 1
	end

gUnknown_081A2F7B:: @ 81A2F7B
	setvar 0x8005, 0
	jump EventScript_1A2F86
	end

EventScript_1A2F86:
	special 19
	end

gUnknown_081A2F8A:: @ 81A2F8A
	setvar 0x8004, 0
	jump EventScript_1A2F95
	end

EventScript_1A2F95:
	special 23
	compare RESULT, 1
	jumpeq EventScript_1A2FBF
	addvar 0x8004, 1
	compare 0x8005, 0
	jumpeq EventScript_1A2F95
	disappear 0x8006
	setflag 0x8005
	jump EventScript_1A2F95
	end

EventScript_1A2FBF:
	end

SecretBase_BlueCave1_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_BlueCave2_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_BlueCave3_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_BlueCave4_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_BrownCave1_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_BrownCave2_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_BrownCave3_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_BrownCave4_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_RedCave1_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_RedCave2_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_RedCave3_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_RedCave4_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_Shrub1_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_Shrub2_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_Shrub3_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_Shrub4_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_Tree1_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_Tree2_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_Tree3_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_Tree4_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_YellowCave1_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_YellowCave2_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_YellowCave3_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_YellowCave4_EventScript_1A2FC0:: @ 81A2FC0
	special 17
	compare 0x8004, 0
	jumpeq SecretBase_RedCave1_EventScript_1A3032
	compare 0x8004, 1
	jumpeq SecretBase_RedCave1_EventScript_1A30AE
	compare 0x8004, 2
	jumpeq SecretBase_RedCave1_EventScript_1A312A
	compare 0x8004, 3
	jumpeq SecretBase_RedCave1_EventScript_1A31A6
	compare 0x8004, 4
	jumpeq SecretBase_RedCave1_EventScript_1A3222
	compare 0x8004, 5
	jumpeq SecretBase_RedCave1_EventScript_1A329E
	compare 0x8004, 6
	jumpeq SecretBase_RedCave1_EventScript_1A331A
	compare 0x8004, 7
	jumpeq SecretBase_RedCave1_EventScript_1A3396
	compare 0x8004, 8
	jumpeq SecretBase_RedCave1_EventScript_1A3412
	compare 0x8004, 9
	jumpeq SecretBase_RedCave1_EventScript_1A348E
	end

SecretBase_RedCave1_EventScript_1A3032:: @ 81A3032
	checkflag 2052
	jumpif 0, SecretBase_RedCave1_EventScript_1A3086
	compare RESULT, 1
	jumpeq SecretBase_RedCave1_EventScript_1A30A5
	lock
	faceplayer
	msgbox SecretBase_RedCave1_Text_1A1AEA, 5
	compare RESULT, 0
	jumpeq SecretBase_RedCave1_EventScript_1A308F
	setvar RESULT, 1
	special 25
	call SecretBase_RedCave1_EventScript_19F806
	compare RESULT, 0
	jumpeq SecretBase_RedCave1_EventScript_1A308F
	hidebox 0, 0, 15, 10
	msgbox SecretBase_RedCave1_Text_1A1B83, 4
	jump SecretBase_RedCave1_EventScript_1A350A
	end

SecretBase_RedCave1_EventScript_1A3086:: @ 81A3086
	msgbox SecretBase_RedCave1_Text_1A1C3B, 2
	end

SecretBase_RedCave1_EventScript_1A308F:: @ 81A308F
	setvar RESULT, 0
	special 25
	hidebox 0, 0, 15, 10
	msgbox SecretBase_RedCave1_Text_1A1B97, 2
	end

SecretBase_RedCave1_EventScript_1A30A5:: @ 81A30A5
	msgbox SecretBase_RedCave1_Text_1A1BF8, 2
	end

SecretBase_RedCave1_EventScript_1A30AE:: @ 81A30AE
	checkflag 2052
	jumpif 0, SecretBase_RedCave1_EventScript_1A3102
	compare RESULT, 1
	jumpeq SecretBase_RedCave1_EventScript_1A3121
	lock
	faceplayer
	msgbox SecretBase_RedCave1_Text_1A1E67, 5
	compare RESULT, 0
	jumpeq SecretBase_RedCave1_EventScript_1A310B
	setvar RESULT, 1
	special 25
	call SecretBase_RedCave1_EventScript_19F806
	compare RESULT, 0
	jumpeq SecretBase_RedCave1_EventScript_1A310B
	hidebox 0, 0, 15, 10
	msgbox SecretBase_RedCave1_Text_1A1F04, 4
	jump SecretBase_RedCave1_EventScript_1A350A
	end

SecretBase_RedCave1_EventScript_1A3102:: @ 81A3102
	msgbox SecretBase_RedCave1_Text_1A1FBD, 2
	end

SecretBase_RedCave1_EventScript_1A310B:: @ 81A310B
	setvar RESULT, 0
	special 25
	hidebox 0, 0, 15, 10
	msgbox SecretBase_RedCave1_Text_1A1F2E, 2
	end

SecretBase_RedCave1_EventScript_1A3121:: @ 81A3121
	msgbox SecretBase_RedCave1_Text_1A1F88, 2
	end

SecretBase_RedCave1_EventScript_1A312A:: @ 81A312A
	checkflag 2052
	jumpif 0, SecretBase_RedCave1_EventScript_1A317E
	compare RESULT, 1
	jumpeq SecretBase_RedCave1_EventScript_1A319D
	lock
	faceplayer
	msgbox SecretBase_RedCave1_Text_1A218F, 5
	compare RESULT, 0
	jumpeq SecretBase_RedCave1_EventScript_1A3187
	setvar RESULT, 1
	special 25
	call SecretBase_RedCave1_EventScript_19F806
	compare RESULT, 0
	jumpeq SecretBase_RedCave1_EventScript_1A3187
	hidebox 0, 0, 15, 10
	msgbox SecretBase_RedCave1_Text_1A2220, 4
	jump SecretBase_RedCave1_EventScript_1A350A
	end

SecretBase_RedCave1_EventScript_1A317E:: @ 81A317E
	msgbox SecretBase_RedCave1_Text_1A22FA, 2
	end

SecretBase_RedCave1_EventScript_1A3187:: @ 81A3187
	setvar RESULT, 0
	special 25
	hidebox 0, 0, 15, 10
	msgbox SecretBase_RedCave1_Text_1A2230, 2
	end

SecretBase_RedCave1_EventScript_1A319D:: @ 81A319D
	msgbox SecretBase_RedCave1_Text_1A2280, 2
	end

SecretBase_RedCave1_EventScript_1A31A6:: @ 81A31A6
	checkflag 2052
	jumpif 0, SecretBase_RedCave1_EventScript_1A31FA
	compare RESULT, 1
	jumpeq SecretBase_RedCave1_EventScript_1A3219
	lock
	faceplayer
	msgbox SecretBase_RedCave1_Text_1A24E1, 5
	compare RESULT, 0
	jumpeq SecretBase_RedCave1_EventScript_1A3203
	setvar RESULT, 1
	special 25
	call SecretBase_RedCave1_EventScript_19F806
	compare RESULT, 0
	jumpeq SecretBase_RedCave1_EventScript_1A3203
	hidebox 0, 0, 15, 10
	msgbox SecretBase_RedCave1_Text_1A256F, 4
	jump SecretBase_RedCave1_EventScript_1A350A
	end

SecretBase_RedCave1_EventScript_1A31FA:: @ 81A31FA
	msgbox SecretBase_RedCave1_Text_1A2609, 2
	end

SecretBase_RedCave1_EventScript_1A3203:: @ 81A3203
	setvar RESULT, 0
	special 25
	hidebox 0, 0, 15, 10
	msgbox SecretBase_RedCave1_Text_1A258A, 2
	end

SecretBase_RedCave1_EventScript_1A3219:: @ 81A3219
	msgbox SecretBase_RedCave1_Text_1A25D2, 2
	end

SecretBase_RedCave1_EventScript_1A3222:: @ 81A3222
	checkflag 2052
	jumpif 0, SecretBase_RedCave1_EventScript_1A3276
	compare RESULT, 1
	jumpeq SecretBase_RedCave1_EventScript_1A3295
	lock
	faceplayer
	msgbox SecretBase_RedCave1_Text_1A2830, 5
	compare RESULT, 0
	jumpeq SecretBase_RedCave1_EventScript_1A327F
	setvar RESULT, 1
	special 25
	call SecretBase_RedCave1_EventScript_19F806
	compare RESULT, 0
	jumpeq SecretBase_RedCave1_EventScript_1A327F
	hidebox 0, 0, 15, 10
	msgbox SecretBase_RedCave1_Text_1A28D7, 4
	jump SecretBase_RedCave1_EventScript_1A350A
	end

SecretBase_RedCave1_EventScript_1A3276:: @ 81A3276
	msgbox SecretBase_RedCave1_Text_1A297C, 2
	end

SecretBase_RedCave1_EventScript_1A327F:: @ 81A327F
	setvar RESULT, 0
	special 25
	hidebox 0, 0, 15, 10
	msgbox SecretBase_RedCave1_Text_1A28F4, 2
	end

SecretBase_RedCave1_EventScript_1A3295:: @ 81A3295
	msgbox SecretBase_RedCave1_Text_1A294D, 2
	end

SecretBase_RedCave1_EventScript_1A329E:: @ 81A329E
	checkflag 2052
	jumpif 0, SecretBase_RedCave1_EventScript_1A32F2
	compare RESULT, 1
	jumpeq SecretBase_RedCave1_EventScript_1A3311
	lock
	faceplayer
	msgbox SecretBase_RedCave1_Text_1A1CB2, 5
	compare RESULT, 0
	jumpeq SecretBase_RedCave1_EventScript_1A32FB
	setvar RESULT, 1
	special 25
	call SecretBase_RedCave1_EventScript_19F806
	compare RESULT, 0
	jumpeq SecretBase_RedCave1_EventScript_1A32FB
	hidebox 0, 0, 15, 10
	msgbox SecretBase_RedCave1_Text_1A1D48, 4
	jump SecretBase_RedCave1_EventScript_1A350A
	end

SecretBase_RedCave1_EventScript_1A32F2:: @ 81A32F2
	msgbox SecretBase_RedCave1_Text_1A1DF6, 2
	end

SecretBase_RedCave1_EventScript_1A32FB:: @ 81A32FB
	setvar RESULT, 0
	special 25
	hidebox 0, 0, 15, 10
	msgbox SecretBase_RedCave1_Text_1A1D59, 2
	end

SecretBase_RedCave1_EventScript_1A3311:: @ 81A3311
	msgbox SecretBase_RedCave1_Text_1A1DC0, 2
	end

SecretBase_RedCave1_EventScript_1A331A:: @ 81A331A
	checkflag 2052
	jumpif 0, SecretBase_RedCave1_EventScript_1A336E
	compare RESULT, 1
	jumpeq SecretBase_RedCave1_EventScript_1A338D
	lock
	faceplayer
	msgbox SecretBase_RedCave1_Text_1A2026, 5
	compare RESULT, 0
	jumpeq SecretBase_RedCave1_EventScript_1A3377
	setvar RESULT, 1
	special 25
	call SecretBase_RedCave1_EventScript_19F806
	compare RESULT, 0
	jumpeq SecretBase_RedCave1_EventScript_1A3377
	hidebox 0, 0, 15, 10
	msgbox SecretBase_RedCave1_Text_1A2095, 4
	jump SecretBase_RedCave1_EventScript_1A350A
	end

SecretBase_RedCave1_EventScript_1A336E:: @ 81A336E
	msgbox SecretBase_RedCave1_Text_1A2147, 2
	end

SecretBase_RedCave1_EventScript_1A3377:: @ 81A3377
	setvar RESULT, 0
	special 25
	hidebox 0, 0, 15, 10
	msgbox SecretBase_RedCave1_Text_1A20AE, 2
	end

SecretBase_RedCave1_EventScript_1A338D:: @ 81A338D
	msgbox SecretBase_RedCave1_Text_1A2109, 2
	end

SecretBase_RedCave1_EventScript_1A3396:: @ 81A3396
	checkflag 2052
	jumpif 0, SecretBase_RedCave1_EventScript_1A33EA
	compare RESULT, 1
	jumpeq SecretBase_RedCave1_EventScript_1A3409
	lock
	faceplayer
	msgbox SecretBase_RedCave1_Text_1A236A, 5
	compare RESULT, 0
	jumpeq SecretBase_RedCave1_EventScript_1A33F3
	setvar RESULT, 1
	special 25
	call SecretBase_RedCave1_EventScript_19F806
	compare RESULT, 0
	jumpeq SecretBase_RedCave1_EventScript_1A33F3
	hidebox 0, 0, 15, 10
	msgbox SecretBase_RedCave1_Text_1A2405, 4
	jump SecretBase_RedCave1_EventScript_1A350A
	end

SecretBase_RedCave1_EventScript_1A33EA:: @ 81A33EA
	msgbox SecretBase_RedCave1_Text_1A2480, 2
	end

SecretBase_RedCave1_EventScript_1A33F3:: @ 81A33F3
	setvar RESULT, 0
	special 25
	hidebox 0, 0, 15, 10
	msgbox SecretBase_RedCave1_Text_1A2420, 2
	end

SecretBase_RedCave1_EventScript_1A3409:: @ 81A3409
	msgbox SecretBase_RedCave1_Text_1A2446, 2
	end

SecretBase_RedCave1_EventScript_1A3412:: @ 81A3412
	checkflag 2052
	jumpif 0, SecretBase_RedCave1_EventScript_1A3466
	compare RESULT, 1
	jumpeq SecretBase_RedCave1_EventScript_1A3485
	lock
	faceplayer
	msgbox SecretBase_RedCave1_Text_1A2663, 5
	compare RESULT, 0
	jumpeq SecretBase_RedCave1_EventScript_1A346F
	setvar RESULT, 1
	special 25
	call SecretBase_RedCave1_EventScript_19F806
	compare RESULT, 0
	jumpeq SecretBase_RedCave1_EventScript_1A346F
	hidebox 0, 0, 15, 10
	msgbox SecretBase_RedCave1_Text_1A2710, 4
	jump SecretBase_RedCave1_EventScript_1A350A
	end

SecretBase_RedCave1_EventScript_1A3466:: @ 81A3466
	msgbox SecretBase_RedCave1_Text_1A27A4, 2
	end

SecretBase_RedCave1_EventScript_1A346F:: @ 81A346F
	setvar RESULT, 0
	special 25
	hidebox 0, 0, 15, 10
	msgbox SecretBase_RedCave1_Text_1A2736, 2
	end

SecretBase_RedCave1_EventScript_1A3485:: @ 81A3485
	msgbox SecretBase_RedCave1_Text_1A276A, 2
	end

SecretBase_RedCave1_EventScript_1A348E:: @ 81A348E
	checkflag 2052
	jumpif 0, SecretBase_RedCave1_EventScript_1A34E2
	compare RESULT, 1
	jumpeq SecretBase_RedCave1_EventScript_1A3501
	lock
	faceplayer
	msgbox SecretBase_RedCave1_Text_1A2A13, 5
	compare RESULT, 0
	jumpeq SecretBase_RedCave1_EventScript_1A34EB
	setvar RESULT, 1
	special 25
	call SecretBase_RedCave1_EventScript_19F806
	compare RESULT, 0
	jumpeq SecretBase_RedCave1_EventScript_1A34EB
	hidebox 0, 0, 15, 10
	msgbox SecretBase_RedCave1_Text_1A2AE2, 4
	jump SecretBase_RedCave1_EventScript_1A350A
	end

SecretBase_RedCave1_EventScript_1A34E2:: @ 81A34E2
	msgbox SecretBase_RedCave1_Text_1A2BA4, 2
	end

SecretBase_RedCave1_EventScript_1A34EB:: @ 81A34EB
	setvar RESULT, 0
	special 25
	hidebox 0, 0, 15, 10
	msgbox SecretBase_RedCave1_Text_1A2AFB, 2
	end

SecretBase_RedCave1_EventScript_1A3501:: @ 81A3501
	msgbox SecretBase_RedCave1_Text_1A2B69, 2
	end

SecretBase_RedCave1_EventScript_1A350A:: @ 81A350A
	special 16
	setvar 0x8004, 1
	setvar 0x8005, 0
	special 236
	waitstate
	special 0
	release
	end

Route111_Text_1A3520:: @ 81A3520
	.string "What’s that?\n"
	.string "What am I doing?\p"
	.string "I’m thinking about making my own room\n"
	.string "here using a POKéMON move.\p"
	.string "I know! I’ll give you this TM.\n"
	.string "Will you use it to make your own room?$"

Route111_Text_1A35C5:: @ 81A35C5
	.string "Find a big tree that looks like it might\n"
	.string "drop some vines.\p"
	.string "Use SECRET POWER in front of the tree.\n"
	.string "Some vines should get free and drop\l"
	.string "down, so you can climb the tree.\p"
	.string "You’ll find a lot of space for putting\n"
	.string "your favorite things.\p"
	.string "It’ll be your own secret room...\n"
	.string "A SECRET BASE!\p"
	.string "You should make one, too.\p"
	.string "Another thing, you don’t always have\n"
	.string "to make your SECRET BASE in a tree.\p"
	.string "Try using SECRET POWER on rock walls\n"
	.string "that have small indents in them.\p"
	.string "I’m going to look for other places, too.\n"
	.string "Okay, bye!$"

Route111_Text_1A37B5:: @ 81A37B5
	.string "Oh, you don’t want this?\n"
	.string "If you change your mind, tell me, okay?$"

Route111_Text_1A37F6:: @ 81A37F6
	.string "Oh, you don’t have any room for this.\p"
	.string "I’ll hold on to it, so come back for it\n"
	.string "another time, okay?$"

Route111_EventScript_1A3858:: @ 81A3858
	lock
	faceplayer
	msgbox Route111_Text_1A3520, 5
	compare RESULT, 1
	jumpeq Route111_EventScript_1A3877
	msgbox Route111_Text_1A37B5, 4
	release
	end

Route111_EventScript_1A3877:: @ 81A3877
	giveitem ITEM_TM43
	compare RESULT, 0
	jumpeq Route111_EventScript_1A38D9
	msgbox Route111_Text_1A35C5, 4
	closebutton
	setflag 96
	clearflag 948
	compare FACING, 3
	callif 1, Route111_EventScript_1A38C3
	compare FACING, 4
	callif 1, Route111_EventScript_1A38C3
	compare FACING, 2
	callif 1, Route111_EventScript_1A38CE
	disappear LAST_TALKED
	release
	end

Route111_EventScript_1A38C3:: @ 81A38C3
	move LAST_TALKED, Route111_Movement_1A38E3
	waitmove 0
	return

Route111_EventScript_1A38CE:: @ 81A38CE
	move LAST_TALKED, Route111_Movement_1A38EF
	waitmove 0
	return

Route111_EventScript_1A38D9:: @ 81A38D9
	msgbox Route111_Text_1A37F6, 4
	release
	end

Route111_Movement_1A38E3:: @ 81A38E3
	step_down
	step_down
	step_down
	step_down
	step_down
	step_left
	step_left
	step_left
	step_left
	step_down
	step_down
	step_end

Route111_Movement_1A38EF:: @ 81A38EF
	step_left
	step_down
	step_down
	step_down
	step_down
	step_down
	step_left
	step_left
	step_left
	step_down
	step_down
	step_end

UnknownString_81A38FB: @ 81A38FB
	.string "All decorations and furniture in your\n"
	.string "SECRET BASE will be returned to your PC.\p"
	.string "Is that okay?$"

UnknownString_81A3958: @ 81A3958
	.string "Do you want to register\n"
	.string "{STR_VAR_1}’s SECRET BASE?$"

UnknownString_81A3982: @ 81A3982
	.string "This data is already registered.\n"
	.string "Would you like to delete it?$"

UnknownString_81A39C0: @ 81A39C0
	.string "Up to 10 locations can be registered.\p"
	.string "Delete a location if you want to\n"
	.string "register another location.$"

UnknownString_81A3A22: @ 81A3A22
	.string "Registration completed.$"

UnknownString_81A3A3A: @ 81A3A3A
	.string "Data has been unregistered.$"

UnknownString_81A3A56: @ 81A3A56
	.string "There are no decorations...$"

UnknownString_81A3A72: @ 81A3A72
	.string "{PLAYER} booted up the PC.$"

UnknownString_81A3A87: @ 81A3A87
	.string "What would you like to do?$"

UnknownString_81A3AA2: @ 81A3AA2
	.string "The registered SECRET BASE will remain\n"
	.string "unless the owner moves away.\p"
	.string "If it is removed from the registry,\n"
	.string "another SECRET BASE may take its place.\p"
	.string "Up to ten locations can be registered.{PAUSE_UNTIL_PRESS}$"

UnknownString_81A3B5B: @ 81A3B5B
	.string "A shield of {STR_VAR_2} that marks winning\n"
	.string "{STR_VAR_1} times in a row at the BATTLE TOWER.$"

UnknownString_81A3BA4: @ 81A3BA4
	.string "A realistic toy TV. It could be easily\n"
	.string "mistaken for the real thing.$"

UnknownString_81A3BE8: @ 81A3BE8
	.string "A toy TV shaped like a SEEDOT.\n"
	.string "It looks ready to roll away on its own...$"

UnknownString_81A3C31: @ 81A3C31
	.string "A toy TV shaped like a SKITTY.\n"
	.string "It looks ready to stroll away...$"

UnknownString_81A3C71: @ 81A3C71
	.string "You may only make one SECRET BASE.\p"
	.string "Would you like to move from the SECRET\n"
	.string "BASE near {STR_VAR_1}?$"

UnknownString_81A3CC9: @ 81A3CC9
	.string "Moving completed.\p"
	.string "Would you like to use the SECRET POWER?$"

DewfordTown_PokemonCenter_2F_MapScript2_1A3D03:: @ 81A3D03
EverGrandeCity_PokemonCenter_2F_MapScript2_1A3D03:: @ 81A3D03
FallarborTown_PokemonCenter_2F_MapScript2_1A3D03:: @ 81A3D03
FortreeCity_PokemonCenter_2F_MapScript2_1A3D03:: @ 81A3D03
LavaridgeTown_PokemonCenter_2F_MapScript2_1A3D03:: @ 81A3D03
LilycoveCity_PokemonCenter_2F_MapScript2_1A3D03:: @ 81A3D03
MauvilleCity_PokemonCenter_2F_MapScript2_1A3D03:: @ 81A3D03
MossdeepCity_PokemonCenter_2F_MapScript2_1A3D03:: @ 81A3D03
OldaleTown_PokemonCenter_2F_MapScript2_1A3D03:: @ 81A3D03
PacifidlogTown_PokemonCenter_2F_MapScript2_1A3D03:: @ 81A3D03
PetalburgCity_PokemonCenter_2F_MapScript2_1A3D03:: @ 81A3D03
RustboroCity_PokemonCenter_2F_MapScript2_1A3D03:: @ 81A3D03
SlateportCity_PokemonCenter_2F_MapScript2_1A3D03:: @ 81A3D03
SootopolisCity_PokemonCenter_2F_MapScript2_1A3D03:: @ 81A3D03
VerdanturfTown_PokemonCenter_2F_MapScript2_1A3D03:: @ 81A3D03
	map_script_2 0x4087, 1, OldaleTown_PokemonCenter_2F_EventScript_1A3D2D
	map_script_2 0x4087, 2, OldaleTown_PokemonCenter_2F_EventScript_1A3D2D
	map_script_2 0x4087, 5, OldaleTown_PokemonCenter_2F_EventScript_1A3D2D
	map_script_2 0x4087, 3, OldaleTown_PokemonCenter_2F_EventScript_1A3D2D
	map_script_2 0x4087, 4, OldaleTown_PokemonCenter_2F_EventScript_1A3D2D
	.2byte 0

OldaleTown_PokemonCenter_2F_EventScript_1A3D2D:: @ 81A3D2D
	spriteface 0x8007, 4
	end

DewfordTown_PokemonCenter_2F_MapScript1_1A3D32:: @ 81A3D32
EverGrandeCity_PokemonCenter_2F_MapScript1_1A3D32:: @ 81A3D32
FallarborTown_PokemonCenter_2F_MapScript1_1A3D32:: @ 81A3D32
FortreeCity_PokemonCenter_2F_MapScript1_1A3D32:: @ 81A3D32
LavaridgeTown_PokemonCenter_2F_MapScript1_1A3D32:: @ 81A3D32
LilycoveCity_PokemonCenter_2F_MapScript1_1A3D32:: @ 81A3D32
MauvilleCity_PokemonCenter_2F_MapScript1_1A3D32:: @ 81A3D32
MossdeepCity_PokemonCenter_2F_MapScript1_1A3D32:: @ 81A3D32
OldaleTown_PokemonCenter_2F_MapScript1_1A3D32:: @ 81A3D32
PacifidlogTown_PokemonCenter_2F_MapScript1_1A3D32:: @ 81A3D32
PetalburgCity_PokemonCenter_2F_MapScript1_1A3D32:: @ 81A3D32
RustboroCity_PokemonCenter_2F_MapScript1_1A3D32:: @ 81A3D32
SlateportCity_PokemonCenter_2F_MapScript1_1A3D32:: @ 81A3D32
SootopolisCity_PokemonCenter_2F_MapScript1_1A3D32:: @ 81A3D32
VerdanturfTown_PokemonCenter_2F_MapScript1_1A3D32:: @ 81A3D32
	compare 0x4087, 1
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A3D6A
	compare 0x4087, 2
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A3D6A
	compare 0x4087, 5
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A3D6A
	compare 0x4087, 3
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A3D74
	compare 0x4087, 4
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A3D7E
	end

OldaleTown_PokemonCenter_2F_EventScript_1A3D6A:: @ 81A3D6A
	setmaptile 5, 3, 514, 0
	end

OldaleTown_PokemonCenter_2F_EventScript_1A3D74:: @ 81A3D74
	setmaptile 8, 3, 514, 0
	end

OldaleTown_PokemonCenter_2F_EventScript_1A3D7E:: @ 81A3D7E
	setmaptile 11, 3, 514, 0
	end

DewfordTown_PokemonCenter_2F_MapScript2_1A3D88:: @ 81A3D88
EverGrandeCity_PokemonCenter_2F_MapScript2_1A3D88:: @ 81A3D88
FallarborTown_PokemonCenter_2F_MapScript2_1A3D88:: @ 81A3D88
FortreeCity_PokemonCenter_2F_MapScript2_1A3D88:: @ 81A3D88
LavaridgeTown_PokemonCenter_2F_MapScript2_1A3D88:: @ 81A3D88
LilycoveCity_PokemonCenter_2F_MapScript2_1A3D88:: @ 81A3D88
MauvilleCity_PokemonCenter_2F_MapScript2_1A3D88:: @ 81A3D88
MossdeepCity_PokemonCenter_2F_MapScript2_1A3D88:: @ 81A3D88
OldaleTown_PokemonCenter_2F_MapScript2_1A3D88:: @ 81A3D88
PacifidlogTown_PokemonCenter_2F_MapScript2_1A3D88:: @ 81A3D88
PetalburgCity_PokemonCenter_2F_MapScript2_1A3D88:: @ 81A3D88
RustboroCity_PokemonCenter_2F_MapScript2_1A3D88:: @ 81A3D88
SlateportCity_PokemonCenter_2F_MapScript2_1A3D88:: @ 81A3D88
SootopolisCity_PokemonCenter_2F_MapScript2_1A3D88:: @ 81A3D88
VerdanturfTown_PokemonCenter_2F_MapScript2_1A3D88:: @ 81A3D88
	map_script_2 0x4087, 1, OldaleTown_PokemonCenter_2F_EventScript_1A3E8D
	map_script_2 0x4087, 2, OldaleTown_PokemonCenter_2F_EventScript_1A3E8D
	map_script_2 0x4087, 5, OldaleTown_PokemonCenter_2F_EventScript_1A3E8D
	map_script_2 0x4087, 3, OldaleTown_PokemonCenter_2F_EventScript_1A3E17
	map_script_2 0x4087, 4, OldaleTown_PokemonCenter_2F_EventScript_1A3E7B
	.2byte 0

OldaleTown_PokemonCenter_2F_EventScript_1A3DB2:: @ 81A3DB2
	special 31
	setvar 0x4087, 0
	move 255, OldaleTown_PokemonCenter_2F_Movement_1A4358
	waitmove 0
	compare 0x8007, 0
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A3DD9
	move 0x8007, OldaleTown_PokemonCenter_2F_Movement_1A4354
	waitmove 0

OldaleTown_PokemonCenter_2F_EventScript_1A3DD9:: @ 81A3DD9
	return

OldaleTown_PokemonCenter_2F_EventScript_1A3DDA:: @ 81A3DDA
	special 31
	setvar 0x4087, 0
	compare 0x8007, 0
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A3E0C
	move 0x8007, OldaleTown_PokemonCenter_2F_Movement_1A4356
	waitmove 0
	move 255, OldaleTown_PokemonCenter_2F_Movement_1A4358
	waitmove 0
	move 0x8007, OldaleTown_PokemonCenter_2F_Movement_1A4354
	waitmove 0
	return

OldaleTown_PokemonCenter_2F_EventScript_1A3E0C:: @ 81A3E0C
	move 255, OldaleTown_PokemonCenter_2F_Movement_1A4358
	waitmove 0
	return

OldaleTown_PokemonCenter_2F_EventScript_1A3E17:: @ 81A3E17
	lockall
	call OldaleTown_PokemonCenter_2F_EventScript_1A3E30
	setmaptile 8, 3, 605, 1
	special 142
	hidebox 0, 0, 29, 19
	releaseall
	end

OldaleTown_PokemonCenter_2F_EventScript_1A3E30:: @ 81A3E30
	special 31
	setvar 0x4087, 0
	compare 0x8007, 0
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A3E0C
	move 255, OldaleTown_PokemonCenter_2F_Movement_1A4361
	waitmove 0
	move 0x8007, OldaleTown_PokemonCenter_2F_Movement_1A4356
	waitmove 0
	message OldaleTown_PokemonCenter_2F_Text_1A4E50
	waittext
	playsfx 21
	message OldaleTown_PokemonCenter_2F_Text_1A4E79
	waittext
	move 255, OldaleTown_PokemonCenter_2F_Movement_1A4358
	waitmove 0
	move 0x8007, OldaleTown_PokemonCenter_2F_Movement_1A4354
	waitmove 0
	return

OldaleTown_PokemonCenter_2F_EventScript_1A3E7B:: @ 81A3E7B
	call OldaleTown_PokemonCenter_2F_EventScript_1A3DB2
	setmaptile 11, 3, 605, 1
	special 142
	end

OldaleTown_PokemonCenter_2F_EventScript_1A3E8D:: @ 81A3E8D
	lockall
	call OldaleTown_PokemonCenter_2F_EventScript_1A3DDA
	setmaptile 5, 3, 605, 1
	special 142
	hidebox 0, 0, 29, 19
	releaseall
	end

DewfordTown_PokemonCenter_2F_EventScript_1A3EA6:: @ 81A3EA6
EverGrandeCity_PokemonCenter_2F_EventScript_1A3EA6:: @ 81A3EA6
FallarborTown_PokemonCenter_2F_EventScript_1A3EA6:: @ 81A3EA6
FortreeCity_PokemonCenter_2F_EventScript_1A3EA6:: @ 81A3EA6
LavaridgeTown_PokemonCenter_2F_EventScript_1A3EA6:: @ 81A3EA6
LilycoveCity_PokemonCenter_2F_EventScript_1A3EA6:: @ 81A3EA6
MauvilleCity_PokemonCenter_2F_EventScript_1A3EA6:: @ 81A3EA6
MossdeepCity_PokemonCenter_2F_EventScript_1A3EA6:: @ 81A3EA6
OldaleTown_PokemonCenter_2F_EventScript_1A3EA6:: @ 81A3EA6
PetalburgCity_PokemonCenter_2F_EventScript_1A3EA6:: @ 81A3EA6
RustboroCity_PokemonCenter_2F_EventScript_1A3EA6:: @ 81A3EA6
SlateportCity_PokemonCenter_2F_EventScript_1A3EA6:: @ 81A3EA6
SootopolisCity_PokemonCenter_2F_EventScript_1A3EA6:: @ 81A3EA6
VerdanturfTown_PokemonCenter_2F_EventScript_1A3EA6:: @ 81A3EA6
	checkflag 2049
	jumpif 0, OldaleTown_PokemonCenter_2F_EventScript_1A4342
	copyvar 0x8007, LAST_TALKED
	lock
	faceplayer
	message OldaleTown_PokemonCenter_2F_Text_1A4510
	waittext

OldaleTown_PokemonCenter_2F_EventScript_1A3EBC:: @ 81A3EBC
	multichoice 17, 6, 17, 0
	switch RESULT
	case 0, OldaleTown_PokemonCenter_2F_EventScript_1A3EF2
	case 1, OldaleTown_PokemonCenter_2F_EventScript_1A4319
	case 2, OldaleTown_PokemonCenter_2F_EventScript_1A3FDD
	case 127, OldaleTown_PokemonCenter_2F_EventScript_1A4319

OldaleTown_PokemonCenter_2F_EventScript_1A3EF2:: @ 81A3EF2
	call OldaleTown_PokemonCenter_2F_EventScript_19F806
	compare RESULT, 0
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A4319
	call OldaleTown_PokemonCenter_2F_EventScript_1A3FEF
	compare 0x8004, 0
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A4319
	message OldaleTown_PokemonCenter_2F_Text_1A490C
	waittext
	special 28
	waitstate
	compare RESULT, 1
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A3F5E
	compare RESULT, 2
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A4301
	compare RESULT, 3
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A430D
	compare RESULT, 4
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A4068
	compare RESULT, 5
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A4319
	compare RESULT, 6
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A42F5

OldaleTown_PokemonCenter_2F_EventScript_1A3F5E:: @ 81A3F5E
	special 0
	special 39
	special 331
	copyvar 0x4087, 0x8004
	message2 OldaleTown_PokemonCenter_2F_Text_1A4A22
	waittext
	setmaptile 5, 3, 514, 0
	special 142
	pause 60
	move LAST_TALKED, OldaleTown_PokemonCenter_2F_Movement_1A4356
	waitmove 0
	closebutton
	move 255, OldaleTown_PokemonCenter_2F_Movement_1A435B
	waitmove 0
	setdooropened 5, 1
	doorchange
	move 255, OldaleTown_PokemonCenter_2F_Movement_1A435F
	waitmove 0
	spriteinvisible 255, 0, 0
	setdoorclosed 5, 1
	doorchange
	release
	compare 0x8004, 5
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A3FCD
	special 1
	warp SingleBattleColosseum, 255, 6, 8
	special 2
	waitstate
	end

OldaleTown_PokemonCenter_2F_EventScript_1A3FCD:: @ 81A3FCD
	special 1
	warp DoubleBattleColosseum, 255, 5, 8
	special 2
	waitstate
	end

OldaleTown_PokemonCenter_2F_EventScript_1A3FDD:: @ 81A3FDD
	message OldaleTown_PokemonCenter_2F_Text_1A4696
	waittext
	waitbutton
	message OldaleTown_PokemonCenter_2F_Text_1A4826
	waittext
	jump OldaleTown_PokemonCenter_2F_EventScript_1A3EBC

OldaleTown_PokemonCenter_2F_EventScript_1A3FEF:: @ 81A3FEF
	message OldaleTown_PokemonCenter_2F_Text_1A4840
	waittext
	multichoice 0, 0, 18, 0
	switch RESULT
	case 0, OldaleTown_PokemonCenter_2F_EventScript_1A4062
	case 1, OldaleTown_PokemonCenter_2F_EventScript_1A4042
	case 2, OldaleTown_PokemonCenter_2F_EventScript_1A403C
	case 3, OldaleTown_PokemonCenter_2F_EventScript_1A4036
	case 127, OldaleTown_PokemonCenter_2F_EventScript_1A4036

OldaleTown_PokemonCenter_2F_EventScript_1A4036:: @ 81A4036
	setvar 0x8004, 0
	return

OldaleTown_PokemonCenter_2F_EventScript_1A403C:: @ 81A403C
	setvar 0x8004, 5
	return

OldaleTown_PokemonCenter_2F_EventScript_1A4042:: @ 81A4042
	special 61
	compare RESULT, 0
	jumpif 5, OldaleTown_PokemonCenter_2F_EventScript_1A4056
	setvar 0x8004, 2
	return

OldaleTown_PokemonCenter_2F_EventScript_1A4056:: @ 81A4056
	message OldaleTown_PokemonCenter_2F_Text_1A486A
	waittext
	waitbutton
	jump OldaleTown_PokemonCenter_2F_EventScript_1A3FEF

OldaleTown_PokemonCenter_2F_EventScript_1A4062:: @ 81A4062
	setvar 0x8004, 1
	return

OldaleTown_PokemonCenter_2F_EventScript_1A4068:: @ 81A4068
	switch 0x8004
	case 1, OldaleTown_PokemonCenter_2F_EventScript_1A40B1
	case 2, OldaleTown_PokemonCenter_2F_EventScript_1A40A2
	case 5, OldaleTown_PokemonCenter_2F_EventScript_1A4093
	jump OldaleTown_PokemonCenter_2F_EventScript_1A432D

OldaleTown_PokemonCenter_2F_EventScript_1A4093:: @ 81A4093
	special 31
	message OldaleTown_PokemonCenter_2F_Text_1A4C03
	waittext
	waitbutton
	jump OldaleTown_PokemonCenter_2F_EventScript_1A40C0

OldaleTown_PokemonCenter_2F_EventScript_1A40A2:: @ 81A40A2
	special 31
	message OldaleTown_PokemonCenter_2F_Text_1A4BCC
	waittext
	waitbutton
	jump OldaleTown_PokemonCenter_2F_EventScript_1A40C0

OldaleTown_PokemonCenter_2F_EventScript_1A40B1:: @ 81A40B1
	special 31
	message OldaleTown_PokemonCenter_2F_Text_1A4B95
	waittext
	waitbutton
	jump OldaleTown_PokemonCenter_2F_EventScript_1A40C0

OldaleTown_PokemonCenter_2F_EventScript_1A40C0:: @ 81A40C0
	special 31
	message OldaleTown_PokemonCenter_2F_Text_1A4C38
	waittext
	waitbutton
	release
	end

DewfordTown_PokemonCenter_2F_EventScript_1A40CC:: @ 81A40CC
EverGrandeCity_PokemonCenter_2F_EventScript_1A40CC:: @ 81A40CC
FallarborTown_PokemonCenter_2F_EventScript_1A40CC:: @ 81A40CC
FortreeCity_PokemonCenter_2F_EventScript_1A40CC:: @ 81A40CC
LavaridgeTown_PokemonCenter_2F_EventScript_1A40CC:: @ 81A40CC
LilycoveCity_PokemonCenter_2F_EventScript_1A40CC:: @ 81A40CC
MauvilleCity_PokemonCenter_2F_EventScript_1A40CC:: @ 81A40CC
MossdeepCity_PokemonCenter_2F_EventScript_1A40CC:: @ 81A40CC
OldaleTown_PokemonCenter_2F_EventScript_1A40CC:: @ 81A40CC
PetalburgCity_PokemonCenter_2F_EventScript_1A40CC:: @ 81A40CC
RustboroCity_PokemonCenter_2F_EventScript_1A40CC:: @ 81A40CC
SlateportCity_PokemonCenter_2F_EventScript_1A40CC:: @ 81A40CC
SootopolisCity_PokemonCenter_2F_EventScript_1A40CC:: @ 81A40CC
VerdanturfTown_PokemonCenter_2F_EventScript_1A40CC:: @ 81A40CC
	checkflag 2049
	jumpif 0, OldaleTown_PokemonCenter_2F_EventScript_1A4339
	copyvar 0x8007, LAST_TALKED
	lock
	faceplayer
	msgbox OldaleTown_PokemonCenter_2F_Text_1A457E, 5
	compare RESULT, 0
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A4319
	compare RESULT, 1
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A40FA

OldaleTown_PokemonCenter_2F_EventScript_1A40FA:: @ 81A40FA
	call OldaleTown_PokemonCenter_2F_EventScript_1A41BB
	compare RESULT, 0
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A4319
	call OldaleTown_PokemonCenter_2F_EventScript_19F806
	compare RESULT, 0
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A4319
	message OldaleTown_PokemonCenter_2F_Text_1A490C
	waittext
	special 29
	waitstate
	compare RESULT, 1
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A4166
	compare RESULT, 2
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A4301
	compare RESULT, 3
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A430D
	compare RESULT, 4
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A432D
	compare RESULT, 5
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A4319
	compare RESULT, 6
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A42F5

OldaleTown_PokemonCenter_2F_EventScript_1A4166:: @ 81A4166
	setvar 0x8004, 3
	copyvar 0x4087, 0x8004
	message2 OldaleTown_PokemonCenter_2F_Text_1A4A22
	waittext
	setmaptile 8, 3, 514, 0
	special 142
	pause 60
	move LAST_TALKED, OldaleTown_PokemonCenter_2F_Movement_1A4356
	waitmove 0
	closebutton
	move 255, OldaleTown_PokemonCenter_2F_Movement_1A435B
	waitmove 0
	setdooropened 8, 1
	doorchange
	move 255, OldaleTown_PokemonCenter_2F_Movement_1A435F
	waitmove 0
	spriteinvisible 255, 0, 0
	setdoorclosed 8, 1
	doorchange
	release
	jump OldaleTown_PokemonCenter_2F_EventScript_1A4325

OldaleTown_PokemonCenter_2F_EventScript_1A41BB:: @ 81A41BB
	specialval RESULT, 131
	compare RESULT, 2
	jumpif 0, OldaleTown_PokemonCenter_2F_EventScript_1A41E1
	specialval RESULT, 339
	compare RESULT, 1
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A41EE
	setvar RESULT, 1
	return

OldaleTown_PokemonCenter_2F_EventScript_1A41E1:: @ 81A41E1
	message OldaleTown_PokemonCenter_2F_Text_1A48A3
	waittext
	waitbutton
	setvar RESULT, 0
	return

OldaleTown_PokemonCenter_2F_EventScript_1A41EE:: @ 81A41EE
	message OldaleTown_PokemonCenter_2F_Text_1A48DD
	waittext
	waitbutton
	setvar RESULT, 0
	return

DewfordTown_PokemonCenter_2F_EventScript_1A41FB:: @ 81A41FB
EverGrandeCity_PokemonCenter_2F_EventScript_1A41FB:: @ 81A41FB
FallarborTown_PokemonCenter_2F_EventScript_1A41FB:: @ 81A41FB
FortreeCity_PokemonCenter_2F_EventScript_1A41FB:: @ 81A41FB
LavaridgeTown_PokemonCenter_2F_EventScript_1A41FB:: @ 81A41FB
LilycoveCity_PokemonCenter_2F_EventScript_1A41FB:: @ 81A41FB
MauvilleCity_PokemonCenter_2F_EventScript_1A41FB:: @ 81A41FB
MossdeepCity_PokemonCenter_2F_EventScript_1A41FB:: @ 81A41FB
OldaleTown_PokemonCenter_2F_EventScript_1A41FB:: @ 81A41FB
PacifidlogTown_PokemonCenter_2F_EventScript_1A41FB:: @ 81A41FB
PetalburgCity_PokemonCenter_2F_EventScript_1A41FB:: @ 81A41FB
RustboroCity_PokemonCenter_2F_EventScript_1A41FB:: @ 81A41FB
SlateportCity_PokemonCenter_2F_EventScript_1A41FB:: @ 81A41FB
SootopolisCity_PokemonCenter_2F_EventScript_1A41FB:: @ 81A41FB
VerdanturfTown_PokemonCenter_2F_EventScript_1A41FB:: @ 81A41FB
	checkflag 2072
	jumpif 0, OldaleTown_PokemonCenter_2F_EventScript_1A434B
	copyvar 0x8007, LAST_TALKED
	lock
	faceplayer
	msgbox OldaleTown_PokemonCenter_2F_Text_1A45FE, 5
	compare RESULT, 0
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A4319
	compare RESULT, 1
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A4229

OldaleTown_PokemonCenter_2F_EventScript_1A4229:: @ 81A4229
	call OldaleTown_PokemonCenter_2F_EventScript_19F806
	compare RESULT, 0
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A4319
	message OldaleTown_PokemonCenter_2F_Text_1A490C
	waittext
	special 30
	waitstate
	special 341
	waitstate
	compare RESULT, 1
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A4294
	compare RESULT, 2
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A4301
	compare RESULT, 3
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A430D
	compare RESULT, 4
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A432D
	compare RESULT, 5
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A4319
	compare RESULT, 6
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A42F5
	compare RESULT, 7
	jumpeq OldaleTown_PokemonCenter_2F_EventScript_1A42E9

OldaleTown_PokemonCenter_2F_EventScript_1A4294:: @ 81A4294
	setvar 0x8004, 4
	copyvar 0x4087, 0x8004
	message2 OldaleTown_PokemonCenter_2F_Text_1A4A22
	waittext
	setmaptile 11, 3, 514, 0
	special 142
	pause 60
	move LAST_TALKED, OldaleTown_PokemonCenter_2F_Movement_1A4356
	waitmove 0
	closebutton
	move 255, OldaleTown_PokemonCenter_2F_Movement_1A435B
	waitmove 0
	setdooropened 11, 1
	doorchange
	move 255, OldaleTown_PokemonCenter_2F_Movement_1A435F
	waitmove 0
	spriteinvisible 255, 0, 0
	setdoorclosed 11, 1
	doorchange
	release
	jump OldaleTown_PokemonCenter_2F_EventScript_1A4325

OldaleTown_PokemonCenter_2F_EventScript_1A42E9:: @ 81A42E9
	special 31
	message OldaleTown_PokemonCenter_2F_Text_1A4AC8
	waittext
	waitbutton
	release
	end

OldaleTown_PokemonCenter_2F_EventScript_1A42F5:: @ 81A42F5
	special 31
	message OldaleTown_PokemonCenter_2F_Text_1A4A85
	waittext
	waitbutton
	release
	end

OldaleTown_PokemonCenter_2F_EventScript_1A4301:: @ 81A4301
	special 31
	message OldaleTown_PokemonCenter_2F_Text_1A4A30
	waittext
	waitbutton
	release
	end

OldaleTown_PokemonCenter_2F_EventScript_1A430D:: @ 81A430D
	special 31
	message OldaleTown_PokemonCenter_2F_Text_1A4B1D
	waittext
	waitbutton
	release
	end

OldaleTown_PokemonCenter_2F_EventScript_1A4319:: @ 81A4319
	special 31
	message OldaleTown_PokemonCenter_2F_Text_1A4B59
	waittext
	waitbutton
	release
	end

OldaleTown_PokemonCenter_2F_EventScript_1A4325:: @ 81A4325
	special 1
	special 2
	waitstate
	end

OldaleTown_PokemonCenter_2F_EventScript_1A432D:: @ 81A432D
	special 31
	message OldaleTown_PokemonCenter_2F_Text_1A4B6C
	waittext
	waitbutton
	release
	end

OldaleTown_PokemonCenter_2F_EventScript_1A4339:: @ 81A4339
	msgbox OldaleTown_PokemonCenter_2F_Text_1A141C, 2
	end

OldaleTown_PokemonCenter_2F_EventScript_1A4342:: @ 81A4342
	msgbox OldaleTown_PokemonCenter_2F_Text_1A13DF, 2
	end

OldaleTown_PokemonCenter_2F_EventScript_1A434B:: @ 81A434B
	msgbox OldaleTown_PokemonCenter_2F_Text_1A145C, 2
	end

OldaleTown_PokemonCenter_2F_Movement_1A4354:: @ 81A4354
	step_00
	step_end

OldaleTown_PokemonCenter_2F_Movement_1A4356:: @ 81A4356
	step_03
	step_end

OldaleTown_PokemonCenter_2F_Movement_1A4358:: @ 81A4358
	step_down
	step_down
	step_end

OldaleTown_PokemonCenter_2F_Movement_1A435B:: @ 81A435B
	step_right
	step_up
	step_up
	step_end

OldaleTown_PokemonCenter_2F_Movement_1A435F:: @ 81A435F
	step_up
	step_end

OldaleTown_PokemonCenter_2F_Movement_1A4361:: @ 81A4361
	step_02
	step_end

gUnknown_081A4363:: @ 81A4363
	lockall
	special 196
	waitbutton
	hidebox 0, 0, 29, 19
	releaseall
	end

	.global gUnknown_081A436F
gUnknown_081A436F: @ 81A436F

SingleBattleColosseum_EventScript_1A436F:: @ 81A436F
	setvar 0x8005, 0
	special 32
	waitstate
	end

	.global gUnknown_081A4379
gUnknown_081A4379: @ 81A4379

SingleBattleColosseum_EventScript_1A4379:: @ 81A4379
	setvar 0x8005, 1
	special 32
	waitstate
	end

	.global gUnknown_081A4383
gUnknown_081A4383: @ 81A4383

DoubleBattleColosseum_EventScript_1A4383:: @ 81A4383
	fadescreen 1
	special 41
	waitstate
	compare RESULT, 0
	jumpeq DoubleBattleColosseum_EventScript_1A43EF
	setvar 0x8005, 0
	special 32
	waitstate
	end

	.global gUnknown_081A439E
gUnknown_081A439E: @ 81A439E

DoubleBattleColosseum_EventScript_1A439E:: @ 81A439E
	fadescreen 1
	special 41
	waitstate
	compare RESULT, 0
	jumpeq DoubleBattleColosseum_EventScript_1A43EF
	setvar 0x8005, 1
	special 32
	waitstate
	end

	.global gUnknown_081A43B9
gUnknown_081A43B9: @ 81A43B9

DoubleBattleColosseum_EventScript_1A43B9:: @ 81A43B9
	fadescreen 1
	special 41
	waitstate
	compare RESULT, 0
	jumpeq DoubleBattleColosseum_EventScript_1A43EF
	setvar 0x8005, 2
	special 32
	waitstate
	end

	.global gUnknown_081A43D4
gUnknown_081A43D4: @ 81A43D4

DoubleBattleColosseum_EventScript_1A43D4:: @ 81A43D4
	fadescreen 1
	special 41
	waitstate
	compare RESULT, 0
	jumpeq DoubleBattleColosseum_EventScript_1A43EF
	setvar 0x8005, 3
	special 32
	waitstate
	end

DoubleBattleColosseum_EventScript_1A43EF:: @ 81A43EF
	end

	.global gUnknown_081A43F0
gUnknown_081A43F0: @ 81A43F0

TradeCenter_EventScript_1A43F0:: @ 81A43F0
	setvar 0x8005, 0
	special 33
	waitstate
	end

	.global gUnknown_081A43FA
gUnknown_081A43FA: @ 81A43FA

TradeCenter_EventScript_1A43FA:: @ 81A43FA
	setvar 0x8005, 1
	special 33
	waitstate
	end

@ 81A4404
	setvar 0x8005, 2
	special 33
	waitstate
	end

@ 81A440E
	setvar 0x8005, 3
	special 33
	waitstate
	end

	.global gUnknown_081A4418
gUnknown_081A4418: @ 81A4418

RecordCorner_EventScript_1A4418:: @ 81A4418
	setvar 0x8005, 0
	special 27
	waitstate
	compare 0x4001, 0
	jumpif 5, RecordCorner_EventScript_1A446C
	end

	.global gUnknown_081A442D
gUnknown_081A442D: @ 81A442D

RecordCorner_EventScript_1A442D:: @ 81A442D
	setvar 0x8005, 1
	special 27
	waitstate
	compare 0x4001, 0
	jumpif 5, RecordCorner_EventScript_1A446C
	end

	.global gUnknown_081A4442
gUnknown_081A4442: @ 81A4442

RecordCorner_EventScript_1A4442:: @ 81A4442
	setvar 0x8005, 2
	special 27
	waitstate
	compare 0x4001, 0
	jumpif 5, RecordCorner_EventScript_1A446C
	end

	.global gUnknown_081A4457
gUnknown_081A4457: @ 81A4457

RecordCorner_EventScript_1A4457:: @ 81A4457
	setvar 0x8005, 3
	special 27
	waitstate
	compare 0x4001, 0
	jumpif 5, RecordCorner_EventScript_1A446C
	end

RecordCorner_EventScript_1A446C:: @ 81A446C
	bufferitem 1, 0x4001
	message RecordCorner_Text_1A4E3B
	waittext
	waitbutton
	releaseall
	end

gUnknown_081A4479:: @ 81A4479
	message UnknownString_81A4D1C
	waittext
	waitbutton
	fadescreen 1
	special 42
	waitstate
	end

gUnknown_081A4487:: @ 81A4487
	message UnknownString_81A4D45
	waittext
	waitbutton
	fadescreen 1
	special 42
	waitstate
	end

gUnknown_081A4495:: @ 81A4495
	message UnknownString_81A4CF6
	waittext
	waitbutton
	closebutton
	end

SingleBattleColosseum_EventScript_1A449E:: @ 81A449E
	special 295
	message SingleBattleColosseum_Text_1A4D7E
	waittext
	waitbutton
	special 296
	closebutton
	end

TradeCenter_EventScript_1A44AD:: @ 81A44AD
	special 295
	message TradeCenter_Text_1A4DAB
	waittext
	waitbutton
	special 296
	closebutton
	end

RecordCorner_EventScript_1A44BC:: @ 81A44BC
	compare 0x4000, 0
	jumpif 5, RecordCorner_EventScript_1A44D6
	special 295
	message RecordCorner_Text_1A4DD7
	waittext
	waitbutton
	special 296
	closebutton
	end

RecordCorner_EventScript_1A44D6:: @ 81A44D6
	special 295
	message RecordCorner_Text_1A4DF7
	waittext
	waitbutton
	special 296
	closebutton
	end

gUnknown_081A44E5:: @ 81A44E5
	msgbox UnknownString_81A4C6E, 5
	compare RESULT, 1
	jumpeq gUnknown_081A44FE
	hidebox 0, 0, 29, 19
	end

gUnknown_081A44FE:: @ 81A44FE
	message2 UnknownString_81A4CAF
	waittext
	special 5
	end

gUnknown_081A4508:: @ 81A4508
	special 4
	special 3
	waitstate
	end

OldaleTown_PokemonCenter_2F_Text_1A4510:: @ 81A4510
	.string "Welcome to the POKéMON CABLE CLUB\n"
	.string "COLOSSEUM.\p"
	.string "You may battle with your friends here.\p"
	.string "Would you like to battle?$"

OldaleTown_PokemonCenter_2F_Text_1A457E:: @ 81A457E
	.string "Welcome to the POKéMON CABLE CLUB\n"
	.string "TRADE CENTER.\p"
	.string "You may trade your POKéMON here\n"
	.string "with a friend.\p"
	.string "Would you like to trade POKéMON?$"

OldaleTown_PokemonCenter_2F_Text_1A45FE:: @ 81A45FE
	.string "Welcome to the POKéMON CABLE CLUB\n"
	.string "RECORD CENTER.\p"
	.string "You may mix your records as a TRAINER\n"
	.string "with the records of your friends.\p"
	.string "Would you like to mix records?$"

OldaleTown_PokemonCenter_2F_Text_1A4696:: @ 81A4696
	.string "There are three link battle modes.\p"
	.string "SINGLE BATTLE is for two TRAINERS\n"
	.string "with one or more POKéMON each.\p"
	.string "Each TRAINER can have one POKéMON\n"
	.string "in battle at a time.\p"
	.string "DOUBLE BATTLE is for two TRAINERS\n"
	.string "with two or more POKéMON each.\p"
	.string "Each TRAINER will send out two\n"
	.string "POKéMON in battle at a time.\p"
	.string "MULTI BATTLE is for four TRAINERS\n"
	.string "with one or more POKéMON each.\p"
	.string "Each TRAINER can have one POKéMON\n"
	.string "in battle at a time.$"

OldaleTown_PokemonCenter_2F_Text_1A4826:: @ 81A4826
	.string "Would you like to battle?$"

OldaleTown_PokemonCenter_2F_Text_1A4840:: @ 81A4840
	.string "Which Battle Mode would you like\n"
	.string "to play?$"

OldaleTown_PokemonCenter_2F_Text_1A486A:: @ 81A486A
	.string "For a DOUBLE BATTLE, you must have\n"
	.string "at least two POKéMON.$"

OldaleTown_PokemonCenter_2F_Text_1A48A3:: @ 81A48A3
	.string "For trading, you must have at least\n"
	.string "two POKéMON with you.$"

OldaleTown_PokemonCenter_2F_Text_1A48DD:: @ 81A48DD
	.string "Your {STR_VAR_1} BERRY-holding POKéMON\n"
	.string "can’t be traded.$"

	.global gUnknown_081A490C
gUnknown_081A490C: @ 81A490C

OldaleTown_PokemonCenter_2F_Text_1A490C:: @ 81A490C
	.string "Please wait.\n"
	.string "... ... B Button: Cancel$"

	.global gUnknown_081A4932
gUnknown_081A4932: @ 81A4932
UnknownString_81A4932: @ 81A4932
	.string "When all players are ready...\n"
	.string "A Button: Confirm   B Button: Cancel$"

	.global gUnknown_081A4975
gUnknown_081A4975: @ 81A4975
UnknownString_81A4975: @ 81A4975
	.string "Start link with {STR_VAR_1} players.\n"
	.string "A Button: Confirm   B Button: Cancel$"

	.global gUnknown_081A49B6
gUnknown_081A49B6: @ 81A49B6

UnknownString_81A49B6: @ 81A49B6
	.string "Awaiting linkup...\n"
	.string "... ... B Button: Cancel$"

UnknownString_81A49E2: @ 81A49E2
	.string "Your progress must be saved before\n"
	.string "linking. Is it okay to save?$"

OldaleTown_PokemonCenter_2F_Text_1A4A22:: @ 81A4A22
	.string "Please enter.$"

FallarborTown_ContestLobby_Text_1A4A30:: @ 81A4A30
OldaleTown_PokemonCenter_2F_Text_1A4A30:: @ 81A4A30
	.string "Someone is not ready to link.\p"
	.string "Please come back after everyone has\n"
	.string "made preparations.$"

FallarborTown_ContestLobby_Text_1A4A85:: @ 81A4A85
OldaleTown_PokemonCenter_2F_Text_1A4A85:: @ 81A4A85
	.string "Sorry, we have a transmission error...\n"
	.string "Please reset and try again.$"

OldaleTown_PokemonCenter_2F_Text_1A4AC8:: @ 81A4AC8
	.string "Sorry, we have a transmission error.\n"
	.string "You may not mix records in different\l"
	.string "languages.$"

FallarborTown_ContestLobby_Text_1A4B1D:: @ 81A4B1D
OldaleTown_PokemonCenter_2F_Text_1A4B1D:: @ 81A4B1D
	.string "The link partners appear to have made\n"
	.string "different selections.$"

OldaleTown_PokemonCenter_2F_Text_1A4B59:: @ 81A4B59
	.string "Please come again.$"

OldaleTown_PokemonCenter_2F_Text_1A4B6C:: @ 81A4B6C
	.string "The number of participants is\n"
	.string "incorrect.$"

OldaleTown_PokemonCenter_2F_Text_1A4B95:: @ 81A4B95
	.string "The SINGLE Battle Mode cannot be\n"
	.string "played by {STR_VAR_1} players.$"

OldaleTown_PokemonCenter_2F_Text_1A4BCC:: @ 81A4BCC
	.string "The DOUBLE Battle Mode cannot be\n"
	.string "played by {STR_VAR_1} players.$"

OldaleTown_PokemonCenter_2F_Text_1A4C03:: @ 81A4C03
	.string "There must be four players to play\n"
	.string "this Battle Mode.$"

OldaleTown_PokemonCenter_2F_Text_1A4C38:: @ 81A4C38
	.string "Please confirm the number of players\n"
	.string "and start again.$"

UnknownString_81A4C6E: @ 81A4C6E
	.string "The link will be terminated if you\n"
	.string "leave the room. Is that okay?$"

UnknownString_81A4CAF: @ 81A4CAF
	.string "Terminating link... You will be\n"
	.string "escorted out of the room. Please wait.$"

UnknownString_81A4CF6: @ 81A4CF6
	.string "This TRAINER is too busy to notice...$"

UnknownString_81A4D1C: @ 81A4D1C
	.string "Score! Got to look at {STR_VAR_1}’s\n"
	.string "TRAINER CARD!$"

UnknownString_81A4D45: @ 81A4D45
	.string "Score! Got to look at {STR_VAR_1}’s\n"
	.string "TRAINER CARD! It’s a {STR_VAR_2} card!$"

	.include "data/text/maps/SingleBattleColosseum.s"
	.include "data/text/maps/TradeCenter.s"
	.include "data/text/maps/RecordCorner.s"
OldaleTown_PokemonCenter_2F_Text_1A4E50:: @ 81A4E50
	.string "The TRAINER CARD data will\n"
	.string "be rewritten.$"

OldaleTown_PokemonCenter_2F_Text_1A4E79:: @ 81A4E79
	.string "I hope to see you again!$"

FallarborTown_ContestLobby_EventScript_1A4E92:: @ 81A4E92
LilycoveCity_ContestLobby_EventScript_1A4E92:: @ 81A4E92
SlateportCity_ContestLobby_EventScript_1A4E92:: @ 81A4E92
VerdanturfTown_ContestLobby_EventScript_1A4E92:: @ 81A4E92
	lock
	faceplayer
	checkitem ITEM_CONTEST_PASS, 1
	compare RESULT, 0
	callif 1, FallarborTown_ContestLobby_EventScript_1A4EDD
	compare 0x408a, 0
	jumpif 5, FallarborTown_ContestLobby_EventScript_1A4F4E
	checkflag 1
	jumpeq FallarborTown_ContestLobby_EventScript_1A4F8F
	bufferstd 0, 0x800b
	msgbox FallarborTown_ContestLobby_Text_1A5DFC, 4
	checkitem ITEM_CONTEST_PASS, 1
	compare RESULT, 0
	jumpeq FallarborTown_ContestLobby_EventScript_1A4EE1
	setflag 1
	jump FallarborTown_ContestLobby_EventScript_1A4F8F
	end

FallarborTown_ContestLobby_EventScript_1A4EDD:: @ 81A4EDD
	clearflag 1
	return

FallarborTown_ContestLobby_EventScript_1A4EE1:: @ 81A4EE1
	compare 0x8010, 0
	jumpeq FallarborTown_ContestLobby_EventScript_1A4EF6
	msgbox FallarborTown_ContestLobby_Text_1A6340, 4
	releaseall
	end

FallarborTown_ContestLobby_EventScript_1A4EF6:: @ 81A4EF6
	msgbox FallarborTown_ContestLobby_Text_1A64F4, 5
	compare RESULT, 1
	jumpeq FallarborTown_ContestLobby_EventScript_1A4F13
	msgbox FallarborTown_ContestLobby_Text_1A65EA, 4
	releaseall
	end

FallarborTown_ContestLobby_EventScript_1A4F13:: @ 81A4F13
	checkflag 150
	jumpeq FallarborTown_ContestLobby_EventScript_1A4F44
	msgbox FallarborTown_ContestLobby_Text_1A6583, 4
	giveitem ITEM_CONTEST_PASS
	setflag 150
	setflag 1
	msgbox FallarborTown_ContestLobby_Text_1A5E98, 4
	jump FallarborTown_ContestLobby_EventScript_1A4F8F
	end

FallarborTown_ContestLobby_EventScript_1A4F44:: @ 81A4F44
	msgbox FallarborTown_ContestLobby_Text_1A6590, 4
	releaseall
	end

FallarborTown_ContestLobby_EventScript_1A4F4E:: @ 81A4F4E
	msgbox FallarborTown_ContestLobby_Text_1A685A, 4
	switch 0x408a
	case 4, FallarborTown_ContestLobby_EventScript_1A4F67
	end

FallarborTown_ContestLobby_EventScript_1A4F67:: @ 81A4F67
	giveitem ITEM_LUXURY_BALL
	compare RESULT, 0
	jumpeq FallarborTown_ContestLobby_EventScript_1A4F86
	setvar 0x408a, 0
	closebutton
	release
	end

FallarborTown_ContestLobby_EventScript_1A4F86:: @ 81A4F86
	msgbox FallarborTown_ContestLobby_Text_1A68C6, 2
	end

FallarborTown_ContestLobby_EventScript_1A4F8F:: @ 81A4F8F
	message FallarborTown_ContestLobby_Text_1A5E46
	waittext
	multichoice 0, 0, 2, 0
	switch RESULT
	case 0, FallarborTown_ContestLobby_EventScript_1A5097
	case 1, FallarborTown_ContestLobby_EventScript_1A4FCC
	case 2, FallarborTown_ContestLobby_EventScript_1A503E
	case 127, FallarborTown_ContestLobby_EventScript_1A503E
	end

FallarborTown_ContestLobby_EventScript_1A4FCC:: @ 81A4FCC
	message FallarborTown_ContestLobby_Text_1A5E7C
	waittext
	multichoice 0, 0, 3, 0
	switch RESULT
	case 0, FallarborTown_ContestLobby_EventScript_1A5014
	case 1, FallarborTown_ContestLobby_EventScript_1A5022
	case 2, FallarborTown_ContestLobby_EventScript_1A5030
	case 3, FallarborTown_ContestLobby_EventScript_1A4F8F
	case 127, FallarborTown_ContestLobby_EventScript_1A4F8F
	end

FallarborTown_ContestLobby_EventScript_1A5014:: @ 81A5014
	msgbox FallarborTown_ContestLobby_Text_1A5E98, 4
	jump FallarborTown_ContestLobby_EventScript_1A4FCC
	end

FallarborTown_ContestLobby_EventScript_1A5022:: @ 81A5022
	msgbox FallarborTown_ContestLobby_Text_1A609B, 4
	jump FallarborTown_ContestLobby_EventScript_1A4FCC
	end

FallarborTown_ContestLobby_EventScript_1A5030:: @ 81A5030
	msgbox FallarborTown_ContestLobby_Text_1A613F, 4
	jump FallarborTown_ContestLobby_EventScript_1A4FCC
	end

FallarborTown_ContestLobby_EventScript_1A503E:: @ 81A503E
	msgbox FallarborTown_ContestLobby_Text_188559, 4
	release
	end

FallarborTown_ContestLobby_EventScript_1A5048:: @ 81A5048
	msgbox FallarborTown_ContestLobby_Text_1A6319, 4
	choosecontestpkmn
	compare 0x8004, 255
	jumpeq FallarborTown_ContestLobby_EventScript_1A5097
	special 84
	compare RESULT, 0
	jumpeq FallarborTown_ContestLobby_EventScript_1A50C8
	compare RESULT, 1
	jumpeq FallarborTown_ContestLobby_EventScript_1A50D7
	compare RESULT, 2
	jumpeq FallarborTown_ContestLobby_EventScript_1A50FB
	compare RESULT, 3
	jumpeq FallarborTown_ContestLobby_EventScript_1A511F
	compare RESULT, 4
	jumpeq FallarborTown_ContestLobby_EventScript_1A512E
	end

FallarborTown_ContestLobby_EventScript_1A5097:: @ 81A5097
	message FallarborTown_ContestLobby_Text_1A6623
	waittext
	multichoice 0, 0, 4, 0
	switch RESULT
	case 5, FallarborTown_ContestLobby_EventScript_1A503E
	case 127, FallarborTown_ContestLobby_EventScript_1A503E
	copyvar 0x8011, RESULT
	jump FallarborTown_ContestLobby_EventScript_1A5048
	end

FallarborTown_ContestLobby_EventScript_1A50C8:: @ 81A50C8
	msgbox FallarborTown_ContestLobby_Text_1A664A, 4
	jump FallarborTown_ContestLobby_EventScript_1A5048

	.incbin "baserom.gba", 0x1a50d5, 0x2

FallarborTown_ContestLobby_EventScript_1A50D7:: @ 81A50D7
	msgbox FallarborTown_ContestLobby_Text_1A67A3, 5
	switch RESULT
	case 0, FallarborTown_ContestLobby_EventScript_1A5048
	case 1, FallarborTown_ContestLobby_EventScript_1A513D
	end

FallarborTown_ContestLobby_EventScript_1A50FB:: @ 81A50FB
	msgbox FallarborTown_ContestLobby_Text_1A6724, 5
	switch RESULT
	case 0, FallarborTown_ContestLobby_EventScript_1A5048
	case 1, FallarborTown_ContestLobby_EventScript_1A513D
	end

FallarborTown_ContestLobby_EventScript_1A511F:: @ 81A511F
	msgbox FallarborTown_ContestLobby_Text_1A669F, 4
	jump FallarborTown_ContestLobby_EventScript_1A5048

	.incbin "baserom.gba", 0x1a512c, 0x2

FallarborTown_ContestLobby_EventScript_1A512E:: @ 81A512E
	msgbox FallarborTown_ContestLobby_Text_1A66DC, 4
	jump FallarborTown_ContestLobby_EventScript_1A5048

	.incbin "baserom.gba", 0x1a513b, 0x2

FallarborTown_ContestLobby_EventScript_1A513D:: @ 81A513D
	msgbox FallarborTown_ContestLobby_Text_1A67C1, 4
	closebutton
	releaseall
	setvar 0x4086, 1
	return

LinkContestRoom1_EventScript_1A514D:: @ 81A514D
	setvar 0x8006, 0
	lockall
	move 14, LinkContestRoom1_Movement_1A5DBF
	waitmove 0
	move 1, LinkContestRoom1_Movement_1A5D85
	waitmove 0
	releaseall
	call LinkContestRoom1_EventScript_1A51A0
	call LinkContestRoom1_EventScript_1A51EA
	call LinkContestRoom1_EventScript_1A5245
	call LinkContestRoom1_EventScript_1A527A
	call LinkContestRoom1_EventScript_1A58EE
	call LinkContestRoom1_EventScript_1A594A
	call LinkContestRoom1_EventScript_1A59FC
	call LinkContestRoom1_EventScript_1A5A49
	call LinkContestRoom1_EventScript_1A5A90
	call LinkContestRoom1_EventScript_1A5BAB
	setvar 0x4086, 2
	return

LinkContestRoom1_EventScript_1A51A0:: @ 81A51A0
	switch 0x8010
	case 0, LinkContestRoom1_EventScript_1A51D2
	case 1, LinkContestRoom1_EventScript_1A51D8
	case 2, LinkContestRoom1_EventScript_1A51DE
	case 3, LinkContestRoom1_EventScript_1A51E4
	return

LinkContestRoom1_EventScript_1A51D2:: @ 81A51D2
	setvar 0x8009, 5
	return

LinkContestRoom1_EventScript_1A51D8:: @ 81A51D8
	setvar 0x8009, 6
	return

LinkContestRoom1_EventScript_1A51DE:: @ 81A51DE
	setvar 0x8009, 7
	return

LinkContestRoom1_EventScript_1A51E4:: @ 81A51E4
	setvar 0x8009, 8
	return

LinkContestRoom1_EventScript_1A51EA:: @ 81A51EA
	switch 0x8011
	case 0, LinkContestRoom1_EventScript_1A5227
	case 1, LinkContestRoom1_EventScript_1A522D
	case 2, LinkContestRoom1_EventScript_1A5233
	case 3, LinkContestRoom1_EventScript_1A5239
	case 4, LinkContestRoom1_EventScript_1A523F
	return

LinkContestRoom1_EventScript_1A5227:: @ 81A5227
	setvar 0x8008, 0
	return

LinkContestRoom1_EventScript_1A522D:: @ 81A522D
	setvar 0x8008, 1
	return

LinkContestRoom1_EventScript_1A5233:: @ 81A5233
	setvar 0x8008, 2
	return

LinkContestRoom1_EventScript_1A5239:: @ 81A5239
	setvar 0x8008, 3
	return

LinkContestRoom1_EventScript_1A523F:: @ 81A523F
	setvar 0x8008, 4
	return

LinkContestRoom1_EventScript_1A5245:: @ 81A5245
	bufferstd 1, 0x8008
	bufferstd 2, 0x8009
	call LinkContestRoom1_EventScript_1A525F
	lockall
	move 1, LinkContestRoom1_Movement_1A5D87
	waitmove 0
	releaseall
	return

LinkContestRoom1_EventScript_1A525F:: @ 81A525F
	compare 0x4088, 5
	jumpeq LinkContestRoom1_EventScript_1A5273
	msgbox LinkContestRoom1_Text_1A68F0, 3
	return

LinkContestRoom1_EventScript_1A5273:: @ 81A5273
	message2 LinkContestRoom1_Text_1A6976
	waittext
	return

LinkContestRoom1_EventScript_1A527A:: @ 81A527A
	call LinkContestRoom1_EventScript_1A52AE
	call LinkContestRoom1_EventScript_1A5323
	call LinkContestRoom1_EventScript_1A5455
	call LinkContestRoom1_EventScript_1A53E5
	call LinkContestRoom1_EventScript_1A5880
	addvar 0x8006, 1
	compare 0x8006, 4
	jumpif 5, LinkContestRoom1_EventScript_1A527A
	call LinkContestRoom1_EventScript_1A5377
	setvar 0x4001, 6
	return

LinkContestRoom1_EventScript_1A52AE:: @ 81A52AE
	compare 0x8006, 0
	jumpeq LinkContestRoom1_EventScript_1A52DB
	compare 0x8006, 1
	jumpeq LinkContestRoom1_EventScript_1A52ED
	compare 0x8006, 2
	jumpeq LinkContestRoom1_EventScript_1A52FF
	compare 0x8006, 3
	jumpeq LinkContestRoom1_EventScript_1A5311
	return

LinkContestRoom1_EventScript_1A52DB:: @ 81A52DB
	lockall
	move 3, LinkContestRoom1_Movement_1A5DCE
	waitmove 0
	releaseall
	setvar 0x800b, 3
	return

LinkContestRoom1_EventScript_1A52ED:: @ 81A52ED
	lockall
	move 4, LinkContestRoom1_Movement_1A5DDA
	waitmove 0
	releaseall
	setvar 0x800b, 4
	return

LinkContestRoom1_EventScript_1A52FF:: @ 81A52FF
	lockall
	move 5, LinkContestRoom1_Movement_1A5DE2
	waitmove 0
	releaseall
	setvar 0x800b, 5
	return

LinkContestRoom1_EventScript_1A5311:: @ 81A5311
	lockall
	move 14, LinkContestRoom1_Movement_1A5DEA
	waitmove 0
	releaseall
	setvar 0x800b, 14
	return

LinkContestRoom1_EventScript_1A5323:: @ 81A5323
	special 81
	addvar 0x8006, 1
	buffernum 1, 0x8006
	lockall
	move 0x800b, LinkContestRoom1_Movement_1A5D9C
	waitmove 0
	releaseall
	reappear 13
	playsfx 10
	lockall
	move 0x800b, LinkContestRoom1_Movement_1A5D9C
	waitmove 0
	releaseall
	addvar 0x8006, -1
	playsfx 15
	special 320
	call LinkContestRoom1_EventScript_1A535E
	return

LinkContestRoom1_EventScript_1A535E:: @ 81A535E
	compare 0x4088, 5
	jumpeq LinkContestRoom1_EventScript_1A5370
	message LinkContestRoom1_Text_1A6A04
	waittext
	return

LinkContestRoom1_EventScript_1A5370:: @ 81A5370
	message2 LinkContestRoom1_Text_1A6A04
	waittext
	return

LinkContestRoom1_EventScript_1A5377:: @ 81A5377
	call LinkContestRoom1_EventScript_1A53B3
	call LinkContestRoom1_EventScript_1A53CE
	playsfx 223
	waittext
	call LinkContestRoom1_EventScript_1A5A90
	move 1, LinkContestRoom1_Movement_1A5D9F
	waitmove 0
	move 2, LinkContestRoom1_Movement_1A5DA1
	waitmove 0
	pause 20
	move 1, LinkContestRoom1_Movement_1A5D8F
	move 2, LinkContestRoom1_Movement_1A5D8F
	waitmove 0
	return

LinkContestRoom1_EventScript_1A53B3:: @ 81A53B3
	compare 0x4088, 5
	jumpeq LinkContestRoom1_EventScript_1A53C7
	msgbox LinkContestRoom1_Text_1A6A1F, 4
	return

LinkContestRoom1_EventScript_1A53C7:: @ 81A53C7
	message2 LinkContestRoom1_Text_1A6A1F
	waittext
	return

LinkContestRoom1_EventScript_1A53CE:: @ 81A53CE
	compare 0x4088, 5
	jumpeq LinkContestRoom1_EventScript_1A53DF
	message LinkContestRoom1_Text_1A6AE1
	return

LinkContestRoom1_EventScript_1A53DF:: @ 81A53DF
	message2 LinkContestRoom1_Text_1A6AE1
	return

LinkContestRoom1_EventScript_1A53E5:: @ 81A53E5
	move 1, LinkContestRoom1_Movement_1A5DAF
	waitmove 0
	playsfx 223
	call LinkContestRoom1_EventScript_1A5AE4
	move 9, LinkContestRoom1_Movement_1A5DB7
	move 12, LinkContestRoom1_Movement_1A5DBB
	move 7, LinkContestRoom1_Movement_1A5DB7
	waitmove 0
	move 1, LinkContestRoom1_Movement_1A5DB7
	waitmove 0
	move 10, LinkContestRoom1_Movement_1A5DAF
	move 11, LinkContestRoom1_Movement_1A5DBB
	move 6, LinkContestRoom1_Movement_1A5DB3
	move 8, LinkContestRoom1_Movement_1A5DAF
	waitmove 0
	move 1, LinkContestRoom1_Movement_1A5DC1
	waitmove 0
	move 1, LinkContestRoom1_Movement_1A5DCA
	move 2, LinkContestRoom1_Movement_1A5DC5
	waitmove 0
	releaseall
	return

LinkContestRoom1_EventScript_1A5455:: @ 81A5455
	special 87
	compare 0x4088, 1
	callif 1, LinkContestRoom1_EventScript_1A555A
	compare 0x4088, 2
	callif 1, LinkContestRoom1_EventScript_1A55B8
	compare 0x4088, 3
	callif 1, LinkContestRoom1_EventScript_1A5616
	compare 0x4088, 4
	callif 1, LinkContestRoom1_EventScript_1A5674
	compare 0x4088, 5
	callif 1, LinkContestRoom1_EventScript_1A56D2
	setvar 0x4001, 9
	setvar 0x4002, 9
	setvar 0x4003, 9
	setvar 0x4004, 9
	setvar 0x4005, 9
	setvar 0x4006, 9
	setvar 0x4007, 9
	setvar 0x4008, 9
	compare 0x4000, 0
	callif 2, LinkContestRoom1_EventScript_1A54EB
	setvar 0x4001, 0
	setvar 0x4002, 0
	setvar 0x4003, 0
	setvar 0x4004, 0
	setvar 0x4005, 0
	setvar 0x4006, 0
	setvar 0x4007, 0
	setvar 0x4008, 0
	return

LinkContestRoom1_EventScript_1A54EB:: @ 81A54EB
	setvar RESULT, 8
	special 340
	compare RESULT, 0
	callif 1, LinkContestRoom1_EventScript_1A5760
	compare RESULT, 1
	callif 1, LinkContestRoom1_EventScript_1A5784
	compare RESULT, 2
	callif 1, LinkContestRoom1_EventScript_1A57A8
	compare RESULT, 3
	callif 1, LinkContestRoom1_EventScript_1A57CC
	compare RESULT, 4
	callif 1, LinkContestRoom1_EventScript_1A57F0
	compare RESULT, 5
	callif 1, LinkContestRoom1_EventScript_1A5814
	compare RESULT, 6
	callif 1, LinkContestRoom1_EventScript_1A5838
	compare RESULT, 7
	callif 1, LinkContestRoom1_EventScript_1A585C
	compare 0x4000, 0
	jumpif 2, LinkContestRoom1_EventScript_1A54EB
	waitmove 0
	return

LinkContestRoom1_EventScript_1A555A:: @ 81A555A
	compare 0x8004, 80
	jumpif 2, LinkContestRoom1_EventScript_1A575A
	compare 0x8004, 70
	jumpif 2, LinkContestRoom1_EventScript_1A5754
	compare 0x8004, 60
	jumpif 2, LinkContestRoom1_EventScript_1A574E
	compare 0x8004, 50
	jumpif 2, LinkContestRoom1_EventScript_1A5748
	compare 0x8004, 40
	jumpif 2, LinkContestRoom1_EventScript_1A5742
	compare 0x8004, 30
	jumpif 2, LinkContestRoom1_EventScript_1A573C
	compare 0x8004, 20
	jumpif 2, LinkContestRoom1_EventScript_1A5736
	compare 0x8004, 10
	jumpif 2, LinkContestRoom1_EventScript_1A5730
	setvar 0x4000, 0
	return

LinkContestRoom1_EventScript_1A55B8:: @ 81A55B8
	compare 0x8004, 230
	jumpif 2, LinkContestRoom1_EventScript_1A575A
	compare 0x8004, 210
	jumpif 2, LinkContestRoom1_EventScript_1A5754
	compare 0x8004, 190
	jumpif 2, LinkContestRoom1_EventScript_1A574E
	compare 0x8004, 170
	jumpif 2, LinkContestRoom1_EventScript_1A5748
	compare 0x8004, 150
	jumpif 2, LinkContestRoom1_EventScript_1A5742
	compare 0x8004, 130
	jumpif 2, LinkContestRoom1_EventScript_1A573C
	compare 0x8004, 110
	jumpif 2, LinkContestRoom1_EventScript_1A5736
	compare 0x8004, 90
	jumpif 2, LinkContestRoom1_EventScript_1A5730
	setvar 0x4000, 0
	return

LinkContestRoom1_EventScript_1A5616:: @ 81A5616
	compare 0x8004, 380
	jumpif 2, LinkContestRoom1_EventScript_1A575A
	compare 0x8004, 350
	jumpif 2, LinkContestRoom1_EventScript_1A5754
	compare 0x8004, 320
	jumpif 2, LinkContestRoom1_EventScript_1A574E
	compare 0x8004, 290
	jumpif 2, LinkContestRoom1_EventScript_1A5748
	compare 0x8004, 260
	jumpif 2, LinkContestRoom1_EventScript_1A5742
	compare 0x8004, 230
	jumpif 2, LinkContestRoom1_EventScript_1A573C
	compare 0x8004, 200
	jumpif 2, LinkContestRoom1_EventScript_1A5736
	compare 0x8004, 170
	jumpif 2, LinkContestRoom1_EventScript_1A5730
	setvar 0x4000, 0
	return

LinkContestRoom1_EventScript_1A5674:: @ 81A5674
	compare 0x8004, 600
	jumpif 2, LinkContestRoom1_EventScript_1A575A
	compare 0x8004, 560
	jumpif 2, LinkContestRoom1_EventScript_1A5754
	compare 0x8004, 520
	jumpif 2, LinkContestRoom1_EventScript_1A574E
	compare 0x8004, 480
	jumpif 2, LinkContestRoom1_EventScript_1A5748
	compare 0x8004, 440
	jumpif 2, LinkContestRoom1_EventScript_1A5742
	compare 0x8004, 400
	jumpif 2, LinkContestRoom1_EventScript_1A573C
	compare 0x8004, 360
	jumpif 2, LinkContestRoom1_EventScript_1A5736
	compare 0x8004, 320
	jumpif 2, LinkContestRoom1_EventScript_1A5730
	setvar 0x4000, 0
	return

LinkContestRoom1_EventScript_1A56D2:: @ 81A56D2
	compare 0x8004, 600
	jumpif 2, LinkContestRoom1_EventScript_1A575A
	compare 0x8004, 550
	jumpif 2, LinkContestRoom1_EventScript_1A5754
	compare 0x8004, 500
	jumpif 2, LinkContestRoom1_EventScript_1A574E
	compare 0x8004, 450
	jumpif 2, LinkContestRoom1_EventScript_1A5748
	compare 0x8004, 400
	jumpif 2, LinkContestRoom1_EventScript_1A5742
	compare 0x8004, 300
	jumpif 2, LinkContestRoom1_EventScript_1A573C
	compare 0x8004, 200
	jumpif 2, LinkContestRoom1_EventScript_1A5736
	compare 0x8004, 100
	jumpif 2, LinkContestRoom1_EventScript_1A5730
	setvar 0x4000, 0
	return

LinkContestRoom1_EventScript_1A5730:: @ 81A5730
	setvar 0x4000, 1
	return

LinkContestRoom1_EventScript_1A5736:: @ 81A5736
	setvar 0x4000, 2
	return

LinkContestRoom1_EventScript_1A573C:: @ 81A573C
	setvar 0x4000, 3
	return

LinkContestRoom1_EventScript_1A5742:: @ 81A5742
	setvar 0x4000, 4
	return

LinkContestRoom1_EventScript_1A5748:: @ 81A5748
	setvar 0x4000, 5
	return

LinkContestRoom1_EventScript_1A574E:: @ 81A574E
	setvar 0x4000, 6
	return

LinkContestRoom1_EventScript_1A5754:: @ 81A5754
	setvar 0x4000, 7
	return

LinkContestRoom1_EventScript_1A575A:: @ 81A575A
	setvar 0x4000, 8
	return

LinkContestRoom1_EventScript_1A5760:: @ 81A5760
	compare 0x4001, 1
	jumpeq LinkContestRoom1_EventScript_1A5783
	move 6, LinkContestRoom1_Movement_1A5D8D
	playsfx 21
	pause 14
	setvar 0x4001, 1
	addvar 0x4000, 65535
	return

LinkContestRoom1_EventScript_1A5783:: @ 81A5783
	return

LinkContestRoom1_EventScript_1A5784:: @ 81A5784
	compare 0x4002, 1
	jumpeq LinkContestRoom1_EventScript_1A57A7
	move 12, LinkContestRoom1_Movement_1A5D8D
	playsfx 21
	pause 14
	setvar 0x4002, 1
	addvar 0x4000, 65535
	return

LinkContestRoom1_EventScript_1A57A7:: @ 81A57A7
	return

LinkContestRoom1_EventScript_1A57A8:: @ 81A57A8
	compare 0x4003, 1
	jumpeq LinkContestRoom1_EventScript_1A57CB
	move 7, LinkContestRoom1_Movement_1A5D8D
	playsfx 21
	pause 14
	setvar 0x4003, 1
	addvar 0x4000, 65535
	return

LinkContestRoom1_EventScript_1A57CB:: @ 81A57CB
	return

LinkContestRoom1_EventScript_1A57CC:: @ 81A57CC
	compare 0x4004, 1
	jumpeq LinkContestRoom1_EventScript_1A57EF
	move 8, LinkContestRoom1_Movement_1A5D8D
	playsfx 21
	pause 14
	setvar 0x4004, 1
	addvar 0x4000, 65535
	return

LinkContestRoom1_EventScript_1A57EF:: @ 81A57EF
	return

LinkContestRoom1_EventScript_1A57F0:: @ 81A57F0
	compare 0x4005, 1
	jumpeq LinkContestRoom1_EventScript_1A5813
	move 9, LinkContestRoom1_Movement_1A5D8D
	playsfx 21
	pause 14
	setvar 0x4005, 1
	addvar 0x4000, 65535
	return

LinkContestRoom1_EventScript_1A5813:: @ 81A5813
	return

LinkContestRoom1_EventScript_1A5814:: @ 81A5814
	compare 0x4006, 1
	jumpeq LinkContestRoom1_EventScript_1A5837
	move 10, LinkContestRoom1_Movement_1A5D8D
	playsfx 21
	pause 14
	setvar 0x4006, 1
	addvar 0x4000, 65535
	return

LinkContestRoom1_EventScript_1A5837:: @ 81A5837
	return

LinkContestRoom1_EventScript_1A5838:: @ 81A5838
	compare 0x4007, 1
	jumpeq LinkContestRoom1_EventScript_1A585B
	move 11, LinkContestRoom1_Movement_1A5D8D
	playsfx 21
	pause 14
	setvar 0x4007, 1
	addvar 0x4000, 65535
	return

LinkContestRoom1_EventScript_1A585B:: @ 81A585B
	return

LinkContestRoom1_EventScript_1A585C:: @ 81A585C
	compare 0x4008, 1
	jumpeq LinkContestRoom1_EventScript_1A587F
	move 15, LinkContestRoom1_Movement_1A5D8D
	playsfx 21
	pause 14
	setvar 0x4008, 1
	addvar 0x4000, 65535
	return

LinkContestRoom1_EventScript_1A587F:: @ 81A587F
	return

LinkContestRoom1_EventScript_1A5880:: @ 81A5880
	closebutton
	release
	disappear 13
	special 321
	switch 0x8006
	case 0, LinkContestRoom1_EventScript_1A58BA
	case 1, LinkContestRoom1_EventScript_1A58C7
	case 2, LinkContestRoom1_EventScript_1A58D4
	case 3, LinkContestRoom1_EventScript_1A58E1
	return

LinkContestRoom1_EventScript_1A58BA:: @ 81A58BA
	lockall
	move 0x800b, LinkContestRoom1_Movement_1A5DD4
	waitmove 0
	releaseall
	return

LinkContestRoom1_EventScript_1A58C7:: @ 81A58C7
	lockall
	move 0x800b, LinkContestRoom1_Movement_1A5DDE
	waitmove 0
	releaseall
	return

LinkContestRoom1_EventScript_1A58D4:: @ 81A58D4
	lockall
	move 0x800b, LinkContestRoom1_Movement_1A5DE6
	waitmove 0
	releaseall
	return

LinkContestRoom1_EventScript_1A58E1:: @ 81A58E1
	lockall
	move 0x800b, LinkContestRoom1_Movement_1A5DF0
	waitmove 0
	releaseall
	return

LinkContestRoom1_EventScript_1A58EE:: @ 81A58EE
	lockall
	move 1, LinkContestRoom1_Movement_1A5DA3
	waitmove 0
	call LinkContestRoom1_EventScript_1A5930
	waittext
	move 1, LinkContestRoom1_Movement_1A5D91
	move 2, LinkContestRoom1_Movement_1A5D95
	waitmove 0
	releaseall
	setvar 0x4009, 1
	startcontest
	setvar 0x4009, 0
	lockall
	move 1, LinkContestRoom1_Movement_1A5D95
	move 2, LinkContestRoom1_Movement_1A5D91
	waitmove 0
	releaseall
	return

LinkContestRoom1_EventScript_1A5930:: @ 81A5930
	compare 0x4088, 5
	jumpeq LinkContestRoom1_EventScript_1A5944
	msgbox LinkContestRoom1_Text_1A6AF5, 3
	return

LinkContestRoom1_EventScript_1A5944:: @ 81A5944
	message2 LinkContestRoom1_Text_1A6AF5
	return

LinkContestRoom1_EventScript_1A594A:: @ 81A594A
	call LinkContestRoom1_EventScript_1A5984
	call LinkContestRoom1_EventScript_1A59A2
	move 1, LinkContestRoom1_Movement_1A5D8B
	waitmove 0
	call LinkContestRoom1_EventScript_1A59C0
	call LinkContestRoom1_EventScript_1A59DE
	move 1, LinkContestRoom1_Movement_1A5D8F
	waitmove 0
	closebutton
	releaseall
	setvar 0x4009, 1
	showcontestresults
	setvar 0x4009, 0
	playmusic 439, 0
	return

LinkContestRoom1_EventScript_1A5984:: @ 81A5984
	compare 0x4088, 5
	jumpeq LinkContestRoom1_EventScript_1A5998
	msgbox LinkContestRoom1_Text_1A6C06, 4
	return

LinkContestRoom1_EventScript_1A5998:: @ 81A5998
	message2 LinkContestRoom1_Text_1A6C06
	waittext
	pause 30
	return

LinkContestRoom1_EventScript_1A59A2:: @ 81A59A2
	compare 0x4088, 5
	jumpeq LinkContestRoom1_EventScript_1A59B6
	msgbox LinkContestRoom1_Text_1A6C21, 4
	return

LinkContestRoom1_EventScript_1A59B6:: @ 81A59B6
	message2 LinkContestRoom1_Text_1A6C21
	waittext
	pause 30
	return

LinkContestRoom1_EventScript_1A59C0:: @ 81A59C0
	compare 0x4088, 5
	jumpeq LinkContestRoom1_EventScript_1A59D4
	msgbox LinkContestRoom1_Text_1A6C9D, 4
	return

LinkContestRoom1_EventScript_1A59D4:: @ 81A59D4
	message2 LinkContestRoom1_Text_1A6C9D
	waittext
	pause 30
	return

LinkContestRoom1_EventScript_1A59DE:: @ 81A59DE
	compare 0x4088, 5
	jumpeq LinkContestRoom1_EventScript_1A59F2
	msgbox LinkContestRoom1_Text_1A6D16, 4
	return

LinkContestRoom1_EventScript_1A59F2:: @ 81A59F2
	message2 LinkContestRoom1_Text_1A6D16
	waittext
	pause 30
	return

LinkContestRoom1_EventScript_1A59FC:: @ 81A59FC
	special 76
	switch 0x8005
	case 0, LinkContestRoom1_EventScript_1A5A31
	case 1, LinkContestRoom1_EventScript_1A5A37
	case 2, LinkContestRoom1_EventScript_1A5A3D
	case 3, LinkContestRoom1_EventScript_1A5A43
	return

LinkContestRoom1_EventScript_1A5A31:: @ 81A5A31
	setvar 0x4003, 3
	return

LinkContestRoom1_EventScript_1A5A37:: @ 81A5A37
	setvar 0x4003, 4
	return

LinkContestRoom1_EventScript_1A5A3D:: @ 81A5A3D
	setvar 0x4003, 5
	return

LinkContestRoom1_EventScript_1A5A43:: @ 81A5A43
	setvar 0x4003, 14
	return

LinkContestRoom1_EventScript_1A5A49:: @ 81A5A49
	special 79
	special 80
	addvar 0x8005, 1
	buffernum 1, 0x8005
	addvar 0x8005, -1
	call LinkContestRoom1_EventScript_1A5A75
	move 0x4003, LinkContestRoom1_Movement_1A5D99
	waitmove 0
	playsfx 223
	setvar 0x4001, 0
	return

LinkContestRoom1_EventScript_1A5A75:: @ 81A5A75
	compare 0x4088, 5
	jumpeq LinkContestRoom1_EventScript_1A5A89
	msgbox LinkContestRoom1_Text_1A6D3C, 4
	return

LinkContestRoom1_EventScript_1A5A89:: @ 81A5A89
	message2 LinkContestRoom1_Text_1A6D3C
	waittext
	return

LinkContestRoom1_EventScript_1A5A90:: @ 81A5A90
	addvar 0x4001, 1
	lockall
	compare 0x4088, 1
	callif 2, LinkContestRoom1_EventScript_1A5AE4
	move 9, LinkContestRoom1_Movement_1A5DB7
	move 12, LinkContestRoom1_Movement_1A5DBB
	move 7, LinkContestRoom1_Movement_1A5DB7
	pause 30
	move 10, LinkContestRoom1_Movement_1A5DAF
	move 11, LinkContestRoom1_Movement_1A5DBB
	move 6, LinkContestRoom1_Movement_1A5DB3
	move 8, LinkContestRoom1_Movement_1A5DAF
	compare 0x4001, 4
	jumpif 5, LinkContestRoom1_EventScript_1A5A90
	pause 30
	return

LinkContestRoom1_EventScript_1A5AE4:: @ 81A5AE4
	vspriteface 0, 1
	vspriteface 2, 1
	vspriteface 4, 4
	vspriteface 6, 1
	vspriteface 8, 1
	vspriteface 10, 1
	vspriteface 12, 1
	vspriteface 14, 1
	vspriteface 16, 1
	vspriteface 18, 1
	vspriteface 20, 4
	vspriteface 22, 4
	vspriteface 25, 4
	vspriteface 27, 3
	vspriteface 28, 4
	pause 10
	vspriteface 0, 4
	vspriteface 2, 4
	vspriteface 4, 4
	vspriteface 6, 4
	vspriteface 8, 4
	vspriteface 10, 3
	vspriteface 12, 3
	vspriteface 14, 3
	vspriteface 16, 3
	vspriteface 18, 3
	vspriteface 20, 1
	vspriteface 22, 1
	vspriteface 25, 2
	vspriteface 27, 2
	vspriteface 28, 2
	pause 10
	vspriteface 1, 2
	vspriteface 3, 2
	vspriteface 5, 2
	vspriteface 7, 2
	vspriteface 9, 4
	vspriteface 11, 2
	vspriteface 15, 2
	vspriteface 13, 2
	vspriteface 17, 2
	vspriteface 19, 2
	vspriteface 21, 3
	vspriteface 23, 3
	vspriteface 24, 3
	vspriteface 26, 4
	vspriteface 29, 3
	vspriteface 30, 3
	pause 10
	vspriteface 1, 4
	vspriteface 3, 4
	vspriteface 5, 4
	vspriteface 7, 4
	vspriteface 9, 4
	vspriteface 11, 3
	vspriteface 15, 3
	vspriteface 13, 3
	vspriteface 17, 3
	vspriteface 19, 3
	vspriteface 21, 1
	vspriteface 23, 1
	vspriteface 24, 1
	vspriteface 26, 2
	vspriteface 29, 2
	vspriteface 30, 2
	pause 10
	return

LinkContestRoom1_EventScript_1A5BAB:: @ 81A5BAB
	compare 0x4088, 5
	jumpeq LinkContestRoom1_EventScript_1A5C4C
	call LinkContestRoom1_EventScript_1A5C12
	checkflag 2
	jumpeq LinkContestRoom1_EventScript_1A5BF6
	msgbox LinkContestRoom1_Text_1A6DC5, 3
	waittext
	call LinkContestRoom1_EventScript_1A5C7F
	call LinkContestRoom1_EventScript_1A5CE5
	playsfx 223
	setvar 0x4001, 0
	call LinkContestRoom1_EventScript_1A5A90
	pause 30
	special 134
	compare 0x8004, 1
	jumpeq LinkContestRoom1_EventScript_1A5C46
	return

LinkContestRoom1_EventScript_1A5BF6:: @ 81A5BF6
	inccounter 37
	msgbox LinkContestRoom1_Text_1A6DF1, 3
	pause 90
	special 134
	compare 0x8004, 1
	jumpeq LinkContestRoom1_EventScript_1A5C46
	return

LinkContestRoom1_EventScript_1A5C12:: @ 81A5C12
	specialval RESULT, 88
	compare RESULT, 1
	jumpeq LinkContestRoom1_EventScript_1A5C23
	return

LinkContestRoom1_EventScript_1A5C23:: @ 81A5C23
	special 76
	compare 0x8005, 3
	jumpeq LinkContestRoom1_EventScript_1A5C32
	return

LinkContestRoom1_EventScript_1A5C32:: @ 81A5C32
	compare 0x8010, 3
	jumpeq LinkContestRoom1_EventScript_1A5C41
	setflag 2
	return

LinkContestRoom1_EventScript_1A5C41:: @ 81A5C41
	return

LinkContestRoom1_EventScript_1A5C42:: @ 81A5C42
	setflag 270
	return

LinkContestRoom1_EventScript_1A5C46:: @ 81A5C46
	setvar 0x4099, 1
	return

LinkContestRoom1_EventScript_1A5C4C:: @ 81A5C4C
	pause 60
	call LinkContestRoom1_EventScript_1A5C6A
	special 134
	compare 0x8004, 1
	jumpeq LinkContestRoom1_EventScript_1A5C64
	closebutton
	return

LinkContestRoom1_EventScript_1A5C64:: @ 81A5C64
	setvar 0x4099, 2
	return

LinkContestRoom1_EventScript_1A5C6A:: @ 81A5C6A
	special 77
	special 76
	comparevars 0x8004, 0x8005
	jumpeq LinkContestRoom1_EventScript_1A5C7C
	return

LinkContestRoom1_EventScript_1A5C7C:: @ 81A5C7C
	inccounter 35
	return

LinkContestRoom1_EventScript_1A5C7F:: @ 81A5C7F
	switch 0x8005
	case 0, LinkContestRoom1_EventScript_1A5CB1
	case 1, LinkContestRoom1_EventScript_1A5CBE
	case 2, LinkContestRoom1_EventScript_1A5CCB
	case 3, LinkContestRoom1_EventScript_1A5CD8
	return

LinkContestRoom1_EventScript_1A5CB1:: @ 81A5CB1
	lockall
	move 0x4003, LinkContestRoom1_Movement_1A5DF6
	waitmove 0
	releaseall
	return

LinkContestRoom1_EventScript_1A5CBE:: @ 81A5CBE
	lockall
	move 0x4003, LinkContestRoom1_Movement_1A5DFA
	waitmove 0
	releaseall
	return

LinkContestRoom1_EventScript_1A5CCB:: @ 81A5CCB
	lockall
	move 0x4003, LinkContestRoom1_Movement_1A5DA5
	waitmove 0
	releaseall
	return

LinkContestRoom1_EventScript_1A5CD8:: @ 81A5CD8
	lockall
	move 0x4003, LinkContestRoom1_Movement_1A5DA9
	waitmove 0
	releaseall
	return

LinkContestRoom1_EventScript_1A5CE5:: @ 81A5CE5
	special 76
	compare 0x8005, 3
	jumpeq LinkContestRoom1_EventScript_1A5CFC
	msgbox LinkContestRoom1_Text_1A6DF1, 3
	return

LinkContestRoom1_EventScript_1A5CFC:: @ 81A5CFC
	compare 0x4088, 2
	callif 1, LinkContestRoom1_EventScript_1A5C42
	inccounter 37
	specialval RESULT, 88
	compare RESULT, 0
	jumpeq LinkContestRoom1_EventScript_1A5D5B
	compare 0x8010, 3
	jumpeq LinkContestRoom1_EventScript_1A5D3B
	msgbox LinkContestRoom1_Text_1A6DF1, 3
	return

LinkContestRoom1_EventScript_1A5D2D:: @ 81A5D2D
	msgbox LinkContestRoom1_Text_1A6E1F, 3
	setvar 0x408a, 4
	return

LinkContestRoom1_EventScript_1A5D3B:: @ 81A5D3B
	giveitem ITEM_LUXURY_BALL
	compare RESULT, 0
	jumpeq LinkContestRoom1_EventScript_1A5D2D
	msgbox LinkContestRoom1_Text_1A6DF1, 3
	return

LinkContestRoom1_EventScript_1A5D5B:: @ 81A5D5B
	special 89
	inccounter 42
	setflag 2107
	lockall
	msgbox LinkContestRoom1_Text_1A6D6A, 4
	fanfare 370
	msgbox LinkContestRoom1_Text_1A6D96, 4
	waitfanfare
	special 80
	msgbox LinkContestRoom1_Text_1A6DAC, 4
	releaseall
	return

LinkContestRoom1_Movement_1A5D85:: @ 81A5D85
	step_down
	step_end

LinkContestRoom1_Movement_1A5D87:: @ 81A5D87
	step_40
	step_up
	step_41
	step_end

LinkContestRoom1_Movement_1A5D8B:: @ 81A5D8B
	step_28
	step_end

LinkContestRoom1_Movement_1A5D8D:: @ 81A5D8D
	step_58
	step_end

LinkContestRoom1_Movement_1A5D8F:: @ 81A5D8F
	step_25
	step_end

LinkContestRoom1_Movement_1A5D91:: @ 81A5D91
	step_left
	step_left
	step_25
	step_end

LinkContestRoom1_Movement_1A5D95:: @ 81A5D95
	step_right
	step_right
	step_25
	step_end

LinkContestRoom1_Movement_1A5D99:: @ 81A5D99
	step_up
	step_25
	step_end

LinkContestRoom1_Movement_1A5D9C:: @ 81A5D9C
	step_14
	step_14
	step_end

LinkContestRoom1_Movement_1A5D9F:: @ 81A5D9F
	step_28
	step_end

LinkContestRoom1_Movement_1A5DA1:: @ 81A5DA1
	step_27
	step_end

LinkContestRoom1_Movement_1A5DA3:: @ 81A5DA3
	step_25
	step_end

LinkContestRoom1_Movement_1A5DA5:: @ 81A5DA5
	step_left
	step_left
	step_up
	step_end

LinkContestRoom1_Movement_1A5DA9:: @ 81A5DA9
	step_left
	step_left
	step_left
	step_left
	step_up
	step_end

LinkContestRoom1_Movement_1A5DAF:: @ 81A5DAF
	step_02
	step_14
	step_4e
	step_end

LinkContestRoom1_Movement_1A5DB3:: @ 81A5DB3
	step_01
	step_14
	step_4e
	step_end

LinkContestRoom1_Movement_1A5DB7:: @ 81A5DB7
	step_03
	step_14
	step_4e
	step_end

LinkContestRoom1_Movement_1A5DBB:: @ 81A5DBB
	step_00
	step_14
	step_4e
	step_end

LinkContestRoom1_Movement_1A5DBF:: @ 81A5DBF
	step_01
	step_end

LinkContestRoom1_Movement_1A5DC1:: @ 81A5DC1
	step_01
	step_14
	step_28
	step_end

LinkContestRoom1_Movement_1A5DC5:: @ 81A5DC5
	step_27
	step_14
	step_14
	step_25
	step_end

LinkContestRoom1_Movement_1A5DCA:: @ 81A5DCA
	step_14
	step_14
	step_25
	step_end

LinkContestRoom1_Movement_1A5DCE:: @ 81A5DCE
	step_up
	step_right
	step_right
	step_right
	step_26
	step_end

LinkContestRoom1_Movement_1A5DD4:: @ 81A5DD4
	step_17
	step_17
	step_17
	step_15
	step_26
	step_end

LinkContestRoom1_Movement_1A5DDA:: @ 81A5DDA
	step_up
	step_right
	step_26
	step_end

LinkContestRoom1_Movement_1A5DDE:: @ 81A5DDE
	step_17
	step_15
	step_26
	step_end

LinkContestRoom1_Movement_1A5DE2:: @ 81A5DE2
	step_up
	step_left
	step_26
	step_end

LinkContestRoom1_Movement_1A5DE6:: @ 81A5DE6
	step_18
	step_15
	step_26
	step_end

LinkContestRoom1_Movement_1A5DEA:: @ 81A5DEA
	step_up
	step_left
	step_left
	step_left
	step_26
	step_end

LinkContestRoom1_Movement_1A5DF0:: @ 81A5DF0
	step_18
	step_18
	step_18
	step_15
	step_26
	step_end

LinkContestRoom1_Movement_1A5DF6:: @ 81A5DF6
	step_right
	step_right
	step_up
	step_end

LinkContestRoom1_Movement_1A5DFA:: @ 81A5DFA
	step_up
	step_end

FallarborTown_ContestLobby_Text_1A5DFC:: @ 81A5DFC
	.string "Hello, there!\p"
	.string "We’re accepting registrations for\n"
	.string "{STR_VAR_1} Rank POKéMON CONTESTS.$"

FallarborTown_ContestLobby_Text_1A5E46:: @ 81A5E46
	.string "Would you like to enter your POKéMON\n"
	.string "in our CONTESTS?$"

FallarborTown_ContestLobby_Text_1A5E7C:: @ 81A5E7C
	.string "Which topic would you like?$"

FallarborTown_ContestLobby_Text_1A5E98:: @ 81A5E98
	.string "A POKéMON CONTEST involves four\n"
	.string "TRAINERS entering one POKéMON each\l"
	.string "in competitive judging.\p"
	.string "A CONTEST has two stages of judging,\n"
	.string "primary and secondary.\p"
	.string "Primary judging is a popularity poll\n"
	.string "involving the audience.\p"
	.string "Secondary judging features appeals\n"
	.string "by the POKéMON using their moves.\p"
	.string "Plan appeals carefully to earn the\n"
	.string "most attention of the JUDGE and\l"
	.string "excite the audience.\l"
	.string "Do your best to stand out.\p"
	.string "The primary and secondary scores are\n"
	.string "added at the end.\p"
	.string "The POKéMON garnering the highest\n"
	.string "score is declared the winner.$"

FallarborTown_ContestLobby_Text_1A609B:: @ 81A609B
	.string "There are five kinds of CONTESTS.\p"
	.string "COOL, BEAUTY, CUTE, SMART, and\n"
	.string "TOUGH are the five categories.\p"
	.string "Choose the CONTEST that is right for\n"
	.string "the POKéMON you plan to enter.$"

FallarborTown_ContestLobby_Text_1A613F:: @ 81A613F
	.string "There are four ranks of POKéMON\n"
	.string "CONTESTS.\p"
	.string "NORMAL, SUPER, HYPER and MASTER\n"
	.string "are the four ranks.\p"
	.string "In the NORMAL Rank, any POKéMON may\n"
	.string "enter.\p"
	.string "Any POKéMON that won a NORMAL Rank\n"
	.string "CONTEST may move up the SUPER Rank in\l"
	.string "the same category.\p"
	.string "In the same way, a SUPER Rank winner\n"
	.string "can move up to the HYPER Rank, and a\l"
	.string "HYPER Rank winner can advance to the\l"
	.string "MASTER Rank in the same category.\p"
	.string "A POKéMON that won in the MASTER Rank\n"
	.string "may compete in the MASTER Rank as\l"
	.string "often as its TRAINER wants.$"

FallarborTown_ContestLobby_Text_1A6319:: @ 81A6319
	.string "Which POKéMON would you like to enter?$"

FallarborTown_ContestLobby_Text_1A6340:: @ 81A6340
	.string "Anyone with a CONTEST PASS may enter.\p"
	.string "You may obtain a CONTEST PASS at the\n"
	.string "NORMAL RANK CONTEST HALL in\l"
	.string "VERDANTURF TOWN free of charge.\p"
	.string "Please obtain a CONTEST PASS and\n"
	.string "come again.$"

LilycoveCity_ContestLobby_Text_1A63F4:: @ 81A63F4
	.string "I accept registrations only from four\n"
	.string "linked players for a POKéMON CONTEST.\p"
	.string "Anyone with a CONTEST PASS may enter.\p"
	.string "You may obtain a CONTEST PASS at the\n"
	.string "NORMAL RANK CONTEST HALL in\l"
	.string "VERDANTURF TOWN free of charge.\p"
	.string "Please obtain a CONTEST PASS and\n"
	.string "come again.$"

FallarborTown_ContestLobby_Text_1A64F4:: @ 81A64F4
	.string "Anyone with a CONTEST PASS may enter.\p"
	.string "If you don’t have one, I can issue one\n"
	.string "for you right now.\p"
	.string "Would you like me to issue you a\n"
	.string "CONTEST PASS?$"

FallarborTown_ContestLobby_Text_1A6583:: @ 81A6583
	.string "Here you go!$"

FallarborTown_ContestLobby_Text_1A6590:: @ 81A6590
	.string "Oh?\p"
	.string "We’ve already issued you a CONTEST\n"
	.string "PASS, {PLAYER}.\p"
	.string "Please come back with your CONTEST\n"
	.string "PASS.$"

FallarborTown_ContestLobby_Text_1A65EA:: @ 81A65EA
	.string "Please visit whenever you would like\n"
	.string "to enter a CONTEST.$"

FallarborTown_ContestLobby_Text_1A6623:: @ 81A6623
	.string "Which CONTEST would you like to enter?$"

FallarborTown_ContestLobby_Text_1A664A:: @ 81A664A
LilycoveCity_ContestLobby_Text_1A664A:: @ 81A664A
	.string "I’m terribly sorry, but your POKéMON\n"
	.string "is not qualified to compete at this\l"
	.string "Rank yet...$"

FallarborTown_ContestLobby_Text_1A669F:: @ 81A669F
LilycoveCity_ContestLobby_Text_1A669F:: @ 81A669F
	.string "I’m sorry, but an EGG cannot take part\n"
	.string "in a POKéMON CONTEST.$"

FallarborTown_ContestLobby_Text_1A66DC:: @ 81A66DC
LilycoveCity_ContestLobby_Text_1A66DC:: @ 81A66DC
	.string "Your POKéMON appears to be in no\n"
	.string "condition to take part in a CONTEST...$"

FallarborTown_ContestLobby_Text_1A6724:: @ 81A6724
	.string "Oh, but that RIBBON...\p"
	.string "Your POKéMON has won this CONTEST\n"
	.string "before, hasn’t it?\p"
	.string "Would you like to enter it in this\n"
	.string "CONTEST anyway?$"

FallarborTown_ContestLobby_Text_1A67A3:: @ 81A67A3
LilycoveCity_ContestLobby_Text_1A67A3:: @ 81A67A3
	.string "Is that your CONTEST POKéMON?$"

FallarborTown_ContestLobby_Text_1A67C1:: @ 81A67C1
	.string "Okay, your POKéMON will be entered\n"
	.string "in this CONTEST.\p"
	.string "Your POKéMON is Entry No. 4.\n"
	.string "The CONTEST will begin shortly.$"

FallarborTown_ContestLobby_Text_1A6832:: @ 81A6832
LilycoveCity_ContestLobby_Text_1A6832:: @ 81A6832
SlateportCity_ContestLobby_Text_1A6832:: @ 81A6832
VerdanturfTown_ContestLobby_Text_1A6832:: @ 81A6832
	.string "Please come in through here.\n"
	.string "Good luck!$"

FallarborTown_ContestLobby_Text_1A685A:: @ 81A685A
	.string "Congratulations! Your POKéMON is the\n"
	.string "CONTEST winner!\p"
	.string "We have your prize right here.\n"
	.string "Please, right this way!$"

FallarborTown_ContestLobby_Text_1A68C6:: @ 81A68C6
	.string "Please come back for your prize\n"
	.string "later on.$"

	.include "data/text/maps/LinkContestRoom1.s"

Event_TV:: @ 81A6E72
	lockall
	inccounter 44
	special 75
	specialval RESULT, 73
	compare RESULT, 2
	jumpeq EventScript_1A6F01
	compare RESULT, 1
	jumpeq EventScript_1A6F0B
	checkflag 2098
	jumpif 0, EventScript_1A6EF1
	checkflag 2097
	jumpeq EventScript_1A6EF1
	specialval RESULT, 176
	compare RESULT, 1
	jumpeq EventScript_1A6F66
	jump EventScript_1A6F50
	end

EventScript_1A6EBB:
	specialval 0x8004, 65
	compare 0x8004, 255
	jumpeq EventScript_1A6F3F
	specialval RESULT, 71
	compare RESULT, 255
	jumpeq EventScript_1A6F3F
	copyvar 0x8004, RESULT
	specialval RESULT, 66
	compare RESULT, 0
	jumpif 5, EventScript_1A6F21
	end

EventScript_1A6EF1:
	special 74
	msgbox UnknownString_81A0E68, 4
	special 62
	releaseall
	end

EventScript_1A6F01:
	msgbox UnknownString_817288C, 4
	releaseall
	end

EventScript_1A6F0B:
	msgbox UnknownString_8172C50, 4
	special 297
	clearflag 2141
	setflag 255
	special 62
	releaseall
	end

EventScript_1A6F21:
	special 63
	waittext
	waitbutton
	compare RESULT, 1
	jumpif 5, EventScript_1A6F21
	jump EventScript_1A6F37
	end

EventScript_1A6F37:
	special 62
	setflag 2097
	releaseall
	end

EventScript_1A6F3F:
	special 74
	msgbox UnknownString_81A0E68, 4
	jump EventScript_1A6F37
	end

EventScript_1A6F50:
	special 64
	compare RESULT, 0
	jumpeq EventScript_1A6EBB
	waittext
	waitbutton
	jump EventScript_1A6F37
	end

EventScript_1A6F66:
	special 175
	waittext
	waitbutton
	compare RESULT, 0
	jumpeq EventScript_1A6F66
	jump EventScript_1A6F37
	end

FallarborTown_ContestLobby_Text_1A6F7C:: @ 81A6F7C
	.string "Oh, hello! You were in a POKéMON CONTEST,\n"
	.string "weren’t you?\l"
	.string "It’s easy to tell from your POKéMON.\p"
	.string "I’m a reporter. I’m working on a story\n"
	.string "on POKéMON CONTESTS.\p"
	.string "If I may, would you be willing to answer\n"
	.string "a few questions?$"

FallarborTown_ContestLobby_Text_1A704E:: @ 81A704E
	.string "Oh, you will?\n"
	.string "Thank you.\p"
	.string "Briefly, how would you describe the\n"
	.string "CONTEST you just entered?$"

FallarborTown_ContestLobby_Text_1A70A5:: @ 81A70A5
	.string "Ah, I see.\n"
	.string "That’s a very edifying comment.\p"
	.string "You get a good feel for what the\n"
	.string "CONTEST was like.\p"
	.string "I’ve got one last question.\p"
	.string "When you hear the word “{STR_VAR_2},”\n"
	.string "what image do you get?$"

FallarborTown_ContestLobby_Text_1A7153:: @ 81A7153
	.string "I see!\p"
	.string "So that’s how you imagine the concept\n"
	.string "of “{STR_VAR_2}” to be.\p"
	.string "Thank you!\n"
	.string "You’ve given me some good ideas.\p"
	.string "I think I can write a good story on\n"
	.string "POKéMON CONTESTS now.\p"
	.string "Maybe, just maybe, this story will even\n"
	.string "make it to television.\l"
	.string "I hope you’ll look forward to it!$"

FallarborTown_ContestLobby_Text_1A7256:: @ 81A7256
	.string "Oh, too bad...\p"
	.string "Well, if you come across a good story,\n"
	.string "please do share it with me.$"

FallarborTown_ContestLobby_Text_1A72A8:: @ 81A72A8
	.string "I’ll be looking forward to your next\n"
	.string "POKéMON CONTEST.$"

UnknownString_81A72DE: @ 81A72DE
	.string "Yeah!\n"
	.string "It’s BRAVO TRAINER time!\p"
	.string "Today, we’re going to profile a POKéMON\n"
	.string "belonging to {STR_VAR_1}.\p"
	.string "Now, this POKéMON boasts a {STR_VAR_2}\n"
	.string "rating in the {STR_VAR_3} Rank.$"

UnknownString_81A736B: @ 81A736B
	.string "Introducing {STR_VAR_2} the\n"
	.string "{STR_VAR_1}!\p"
	.string "The nickname {STR_VAR_2}...\p"
	.string "Even the nickname exudes an air that\n"
	.string "proclaims “{STR_VAR_3}”!$"

UnknownString_81A73CA: @ 81A73CA
	.string "Anyway, when the TRAINER {STR_VAR_1}\n"
	.string "entered the POKéMON in a CONTEST,\l"
	.string "we managed to get a few impassioned\l"
	.string "quotes about the trusty partner.$"

UnknownString_81A744D: @ 81A744D
	.string "Asked about the CONTEST afterwards,\n"
	.string "{STR_VAR_1} happily replied with a huge\l"
	.string "grin, “{STR_VAR_2}!”\p"
	.string "Well, sure, {STR_VAR_1}’s POKéMON came in\n"
	.string "number {STR_VAR_3} in the CONTEST.\p"
	.string "That line perfectly suits {STR_VAR_1}\n"
	.string "right now, I’d say!$"

UnknownString_81A7508: @ 81A7508
	.string "Asked about the CONTEST afterwards,\n"
	.string "{STR_VAR_1} replied with a tinge of\l"
	.string "bitterness, “{STR_VAR_2}.”\p"
	.string "Well, sure, {STR_VAR_1}’s POKéMON came in\n"
	.string "number {STR_VAR_3} in the CONTEST.\p"
	.string "{STR_VAR_1}’s disappointment comes across\n"
	.string "loud and clear, I’d say!$"

UnknownString_81A75CE: @ 81A75CE
	.string "Wouldn’t you also like to know what\n"
	.string "{STR_VAR_1} imagines {STR_VAR_2} to be?\p"
	.string "You bet we did!\n"
	.string "So we asked, of course!\p"
	.string "The answer is all perfectly condensed:\n"
	.string "“{STR_VAR_3}!”\p"
	.string "That’s what the concept of {STR_VAR_2}\n"
	.string "represents to {STR_VAR_1}!$"

UnknownString_81A768D: @ 81A768D
	.string "The last move {STR_VAR_2} used by\n"
	.string "the {STR_VAR_1} is entirely about\l"
	.string "“{STR_VAR_3}”!$"

UnknownString_81A76C5: @ 81A76C5
	.string "Bravo, {STR_VAR_1}!\n"
	.string "Bravo, {STR_VAR_2}!\p"
	.string "I hope we can count on seeing\n"
	.string "{STR_VAR_1} scale even greater heights!\p"
	.string "That’s all the time we have!\n"
	.string "Until next time, see you!$"

UnknownString_81A774F: @ 81A774F
	.string "Introducing the TRAINER’s {STR_VAR_1}!$"

BattleTower_Lobby_Text_1A776D:: @ 81A776D
	.string "Hello! You’re the TRAINER who just had\n"
	.string "a battle, right?\p"
	.string "I’m gathering interviews with TRAINERS\n"
	.string "all over the place.\p"
	.string "May I get a few words from you about\n"
	.string "your impressions on battling?$"

BattleTower_Lobby_Text_1A7823:: @ 81A7823
	.string "You will? Really?\n"
	.string "Thank you!\l"
	.string "Then, uh...\p"
	.string "How did things turn out in the BATTLE\n"
	.string "TOWER today?\p"
	.string "Were you satisfied with the battle?\n"
	.string "Or are you unhappy?$"

BattleTower_Lobby_Text_1A78B7:: @ 81A78B7
	.string "Oh...\n"
	.string "Sorry we disturbed you.\p"
	.string "Please give us an interview the next\n"
	.string "time you visit the BATTLE TOWER.$"

BattleTower_Lobby_Text_1A791B:: @ 81A791B
	.string "Well, of course!\p"
	.string "That unmistakable look of satisfaction\n"
	.string "on your face...\p"
	.string "It’s obvious that you’ve had a great\n"
	.string "battle.$"

BattleTower_Lobby_Text_1A7990:: @ 81A7990
	.string "Oh, I see...\p"
	.string "Well, it certainly is difficult to make a\n"
	.string "battle turn out exactly as planned.$"

BattleTower_Lobby_Text_1A79EB:: @ 81A79EB
	.string "Oh, oh, may I ask one more question?\p"
	.string "If you were to describe your\n"
	.string "impressions about this battle with one\l"
	.string "saying, what would it be?$"

BattleTower_Lobby_Text_1A7A6E:: @ 81A7A6E
	.string "Oh, that is stunningly cool!\p"
	.string "That’s a great line!\n"
	.string "I hope you’ll do great next time, too.\p"
	.string "I hope to see you again!$"

BattleTower_Lobby_Text_1A7AE0:: @ 81A7AE0
	.string "Oh, I see...\p"
	.string "Still, being the silent type is also cool,\n"
	.string "isn’t it?\p"
	.string "I hope you’ll give me the opportunity to\n"
	.string "share your thoughts again!$"

BattleTower_Lobby_Text_1A7B66:: @ 81A7B66
	.string "I’ll be looking forward to your next\n"
	.string "battle!$"

UnknownString_81A7B93: @ 81A7B93
	.string "Yeah!\n"
	.string "It’s BRAVO TRAINER time!\p"
	.string "Today, we’re going to profile {STR_VAR_1},\n"
	.string "who took the BATTLE TOWER challenge!\p"
	.string "For the challenge, {STR_VAR_1} entered one\n"
	.string "wicked {STR_VAR_2}.$"

UnknownString_81A7C26: @ 81A7C26
	.string "The pair set a new record of {STR_VAR_2} wins\n"
	.string "in a row in Level {STR_VAR_1} competition!\l"
	.string "Bravo, TRAINER!$"

UnknownString_81A7C7D: @ 81A7C7D
	.string "The twosome finally succumbed to\n"
	.string "{STR_VAR_1} in match number {STR_VAR_2}.\l"
	.string "Nice try, TRAINER!\p"
	.string "But, hey, it’s just bad luck to run into\n"
	.string "{STR_VAR_1} so early in the challenge.\p"
	.string "We asked the TRAINER for impressions\n"
	.string "on the match with {STR_VAR_1}.$"

UnknownString_81A7D4A: @ 81A7D4A
	.string "The twosome won it all by defeating\n"
	.string "{STR_VAR_1}’s {STR_VAR_2} thoroughly.\l"
	.string "Bravo, TRAINER!\p"
	.string "Knocking off even {STR_VAR_1}...\n"
	.string "It defies belief! Simply astounding!\p"
	.string "We asked the TRAINER for impressions\n"
	.string "on the moment of glory.$"

UnknownString_81A7E0C: @ 81A7E0C
	.string "After a string of wins, the pair finally\n"
	.string "succumbed to {STR_VAR_1}’s {STR_VAR_2},\l"
	.string "their final hurdle.\p"
	.string "Nice try, TRAINER!\p"
	.string "Still, you have to give credit.\n"
	.string "You don’t see many famous combinations\l"
	.string "like {STR_VAR_1} and {STR_VAR_2}.\p"
	.string "We asked the TRAINER for impressions\n"
	.string "on battling the celebrity pair.$"

UnknownString_81A7F0E: @ 81A7F0E
	.string "This is what the TRAINER had to say:\n"
	.string "“I’m satisfied!”\p"
	.string "Now isn’t that a refreshing reply?\n"
	.string "Bravo, TRAINER!\p"
	.string "Isn’t it out-and-out awesome to be able\n"
	.string "to battle to full satisfaction?\p"
	.string "I found out exactly how satisfied\n"
	.string "when I heard the TRAINER say this:$"

UnknownString_81A8004: @ 81A8004
	.string "This is what the TRAINER had to say:\n"
	.string "“I’m not satisfied...”\p"
	.string "Our TRAINER was obviously a little down\n"
	.string "when that was uttered.\p"
	.string "Still, it’s not easy to be able to battle\n"
	.string "with complete satisfaction, am I right?\p"
	.string "Anyway, I found out how dissatisfied\n"
	.string "our TRAINER was when I heard this:$"

UnknownString_81A8119: @ 81A8119
	.string "None$"

UnknownString_81A811E: @ 81A811E
	.string "None$"

UnknownString_81A8123: @ 81A8123
	.string "None$"

UnknownString_81A8128: @ 81A8128
	.string "None$"

UnknownString_81A812D: @ 81A812D
	.string "“{STR_VAR_1}.”$"

UnknownString_81A8133: @ 81A8133
	.string "“{STR_VAR_1}.”\n"
	.string "Now isn’t that great?\p"
	.string "It really expresses {STR_VAR_2}’s joy,\n"
	.string "I’d say.\p"
	.string "That battle with {STR_VAR_3} at the\n"
	.string "end... It really was what you’d call\l"
	.string "“{STR_VAR_1}”!$"

UnknownString_81A81BC: @ 81A81BC
	.string "“{STR_VAR_1}.”\n"
	.string "Now isn’t that fitting?\p"
	.string "That battle with {STR_VAR_3} at the\n"
	.string "end... You can’t describe it as anything\l"
	.string "else but “{STR_VAR_1}”!\p"
	.string "{STR_VAR_2}’s disappointment comes across\n"
	.string "loud and clear, I’d say!$"

UnknownString_81A8267: @ 81A8267
	.string "Bravo, {STR_VAR_1}!\n"
	.string "Bravo, {STR_VAR_2}!\p"
	.string "I hope we can count on seeing\n"
	.string "{STR_VAR_1} scale even greater heights!\p"
	.string "That’s all the time we have!\n"
	.string "Until next time, see you!$"

SlateportCity_PokemonFanClub_Text_1A82F1:: @ 81A82F1
	.string "Wow!\p"
	.string "It’s plain to see that you lavish your\n"
	.string "love on your {STR_VAR_1}.\p"
	.string "Okay, it’s named {STR_VAR_2}.\p"
	.string "Can I ask you a favor?\p"
	.string "I’m a TV reporter, and I’m running\n"
	.string "a survey on POKéMON.\p"
	.string "Would you be willing to answer a few\n"
	.string "simple questions for me?$"

SlateportCity_PokemonFanClub_Text_1A83D0:: @ 81A83D0
	.string "Great! Thank you!\p"
	.string "Okay, here goes.\n"
	.string "I just need quick answers, okay?$"

SlateportCity_PokemonFanClub_Text_1A8414:: @ 81A8414
	.string "When you first met {STR_VAR_1}, what\n"
	.string "did you feel?\p"
	.string "How would you describe your feelings\n"
	.string "at the time?$"

SlateportCity_PokemonFanClub_Text_1A8470:: @ 81A8470
	.string "Your {STR_VAR_1} is cared for lovingly.\p"
	.string "If you were to liken it to something\n"
	.string "that you like, what would it be?$"

SlateportCity_PokemonFanClub_Text_1A84D5:: @ 81A84D5
	.string "This question also relates to your\n"
	.string "beloved {STR_VAR_1}.\p"
	.string "What was it about {STR_VAR_1} that\n"
	.string "attracted you?$"

SlateportCity_PokemonFanClub_Text_1A852D:: @ 81A852D
	.string "Okay, that makes sense.\p"
	.string "The next question might be a little\n"
	.string "on the tough side.\p"
	.string "Here goes...\p"
	.string "What do POKéMON mean to you?$"

SlateportCity_PokemonFanClub_Text_1A85A6:: @ 81A85A6
	.string "I see!\p"
	.string "Hmhm...\p"
	.string "Okay!\n"
	.string "Thanks for helping me out.\p"
	.string "It was fun and enlightening chatting\n"
	.string "with you.\p"
	.string "It’s possible that our interview will end\n"
	.string "up on TV. Tune in and check!\p"
	.string "Okay, that’s all.\n"
	.string "Bye-bye!$"

SlateportCity_PokemonFanClub_Text_1A8667:: @ 81A8667
	.string "Oh, okay...\p"
	.string "Well, if you get the urge to tell me\n"
	.string "about POKéMON, I’ll be here!$"

SlateportCity_PokemonFanClub_Text_1A86B5:: @ 81A86B5
	.string "I enjoy this job - you get to learn so\n"
	.string "much about POKéMON by doing\l"
	.string "interviews.$"

SlateportCity_PokemonFanClub_Text_1A8704:: @ 81A8704
	.string "Hi, you seem to be very close to your\n"
	.string "{STR_VAR_1}.\p"
	.string "Do you know what?\n"
	.string "I’m a TV reporter.\p"
	.string "I travel around interviewing people\n"
	.string "about POKéMON.\p"
	.string "I’m wondering if you’d be willing to tell\n"
	.string "me a little abut your {STR_VAR_1}?$"

SlateportCity_PokemonFanClub_Text_1A87CA:: @ 81A87CA
	.string "Wow, thank you!\p"
	.string "Okay, then, please tell me anything you’d\n"
	.string "like about your {STR_VAR_1}.$"

SlateportCity_PokemonFanClub_Text_1A8818:: @ 81A8818
	.string "Wow...\n"
	.string "That’s an interesting account.\p"
	.string "You really are tight with {STR_VAR_1},\n"
	.string "aren’t you?\p"
	.string "I get the feeling that your account\n"
	.string "will make a great TV story.\p"
	.string "I promise that I’ll turn this into\n"
	.string "an entertaining show.\l"
	.string "Keep your eyes out for it.\p"
	.string "Okay, that’s all.\n"
	.string "Bye-bye!$"

UnknownString_81A8917: @ 81A8917
	.string "WE ARE THE POKéMON FAN CLUB!\p"
	.string "We’re on the air!\p"
	.string "On this program, we get your opinions,\n"
	.string "and I shout them out on your behalf!\l"
	.string "Isn’t it a fantastic program concept?\p"
	.string "Today, we bring you this report from\n"
	.string "our reporter, who we sent out to the\l"
	.string "POKéMON FAN CLUB.\p"
	.string "So, just who is today’s featured\n"
	.string "POKéMON fan?\p"
	.string "... ... ... ... ... ... ... ...\p"
	.string "{STR_VAR_1}!\p"
	.string "So, let’s hear what {STR_VAR_1} has to\n"
	.string "say about {STR_VAR_3} the {STR_VAR_2}.\p"
	.string "And, I will shout those words of love\n"
	.string "out loud on TV!\p"
	.string "Hoo-hah!\p"
	.string "Let’s shout!$"

UnknownString_81A8AE5: @ 81A8AE5
	.string "We asked {STR_VAR_1}, “When you first\n"
	.string "laid eyes on your {STR_VAR_2}, what was\l"
	.string "your initial thought?“\p"
	.string "“{STR_VAR_3}!“\p"
	.string "Yeahah! That’s a mighty fine shout!\p"
	.string "Doesn’t it bring back memories of those\n"
	.string "days long gone by?$"

UnknownString_81A8B9D: @ 81A8B9D
	.string "We asked {STR_VAR_1}, “If you were to\n"
	.string "liken your {STR_VAR_2} to something,\l"
	.string "it would be...”\p"
	.string "... ... ... ... ... ... ... ...\p"
	.string "“{STR_VAR_3}!”\p"
	.string "Whoah-oh, now that’s an original idea!\p"
	.string "You sure can sense the intensity of\n"
	.string "feeling the TRAINER has for\l"
	.string "{STR_VAR_2}.$"

UnknownString_81A8C77: @ 81A8C77
	.string "And let’s see...\n"
	.string "What was it about that {STR_VAR_2}\l"
	.string "that so attracted {STR_VAR_1}?\p"
	.string "... ... ... ... ... ... ... ...\p"
	.string "“{STR_VAR_3}!”\p"
	.string "Whoa! Such a spectacular declaration!\p"
	.string "The love of this TRAINER for the\n"
	.string "{STR_VAR_2} comes across loud and clear!$"

UnknownString_81A8D45: @ 81A8D45
	.string "Hm? Oh, there’s still more.\n"
	.string "Let’s check it out!\p"
	.string "Let me see, now...\p"
	.string "We asked {STR_VAR_1}, “What do POKéMON\n"
	.string "mean to you?”\p"
	.string "... ... ... ... ... ...\p"
	.string "“{STR_VAR_3}!”\p"
	.string "Bravo!\p"
	.string "That’s the best shout I’ve had all day!\p"
	.string "“{STR_VAR_3}!”\p"
	.string "It makes you want to shout it out loud\n"
	.string "again and again!\p"
	.string "Now that we’ve had a great shout, it’s\n"
	.string "time to say good-bye until next time!\p"
	.string "So, let’s all have one last shout!\n"
	.string "All together now...\p"
	.string "“{STR_VAR_3}!”$"

UnknownString_81A8EC9: @ 81A8EC9
	.string "WE ARE THE POKéMON FAN CLUB!\p"
	.string "We’re on the air!\p"
	.string "Today, we’ll get rolling with the POKéMON\n"
	.string "SURVEY CORNER.\p"
	.string "Out of all the tales woven by POKéMON\n"
	.string "and TRAINERS, what startling new drama\l"
	.string "will grab our attention today?\p"
	.string "Let me see...\p"
	.string "This one!\p"
	.string "We’ll start with this letter!\p"
	.string "It’s a letter from {STR_VAR_1} about a\n"
	.string "beloved {STR_VAR_2}.\p"
	.string "Let’s see how passionately our writer\n"
	.string "can express love for the {STR_VAR_2}!\l"
	.string "Hmhm...$"

UnknownString_81A9048: @ 81A9048
	.string "Whoah!\n"
	.string "What an amazing letter!$"

UnknownString_81A9067: @ 81A9067
	.string "I loved it, so here it is again!$"

UnknownString_81A9088: @ 81A9088
	.string "A great letter bears reading over\n"
	.string "and over!$"

UnknownString_81A90B4: @ 81A90B4
	.string "The bit “{STR_VAR_3},” that really\n"
	.string "accentuates emotional impact!\p"
	.string "It’s a great letter that has real\n"
	.string "heartfelt depth!$"

UnknownString_81A911F: @ 81A911F
	.string "Especially that “{STR_VAR_3}” bit!\p"
	.string "I love how “{STR_VAR_3}” is used!$"

UnknownString_81A9152: @ 81A9152
	.string "By the way, and it’s not important,\n"
	.string "but “{STR_VAR_3}” is a great saying.\p"
	.string "I’ve been using “{STR_VAR_3}” a lot\n"
	.string "in conversations lately.$"

UnknownString_81A91C6: @ 81A91C6
	.string "If I had to score this letter,\n"
	.string "I’d give it {STR_VAR_3} points.\p"
	.string "Next time, I’ll be expecting an even\n"
	.string "better letter, {STR_VAR_1}!\p"
	.string "A-whoops, will you look at the time?\n"
	.string "Time to say good-bye until next time!$"

SlateportCity_OceanicMuseum_1F_Text_1A927F:: @ 81A927F
	.string "Oh?\n"
	.string "Do you perhaps like POKéMON?\p"
	.string "I’m on assignment with the TV network.\p"
	.string "I’m gathering stories on POKéMON and\n"
	.string "TRAINERS that occurred recently.\p"
	.string "If you don’t mind, could you tell me\n"
	.string "something about yourself?$"

SlateportCity_OceanicMuseum_1F_Text_1A934C:: @ 81A934C
	.string "I’m gathering stories on POKéMON and\n"
	.string "TRAINERS that occurred recently.\p"
	.string "If you don’t mind, could you tell me\n"
	.string "something about yourself?$"

SlateportCity_OceanicMuseum_1F_Text_1A93D1:: @ 81A93D1
	.string "Oh, you will?\n"
	.string "Thank you!\p"
	.string "Then, please, tell me anything of\n"
	.string "interest that you experienced recently\l"
	.string "involving POKéMON.$"

SlateportCity_OceanicMuseum_1F_Text_1A9446:: @ 81A9446
	.string "Oh, I see...\p"
	.string "Well, if you do have an interesting\n"
	.string "story to tell, please let me know.$"

SlateportCity_OceanicMuseum_1F_Text_1A949A:: @ 81A949A
	.string "Oh, what an uplifting story!\p"
	.string "I’ll be sure to get your story told\n"
	.string "on television.\p"
	.string "It should be aired sometime, I think,\n"
	.string "so please look forward to it.$"

SlateportCity_OceanicMuseum_1F_Text_1A952E:: @ 81A952E
	.string "Hmmm...\n"
	.string "I’ve got a good story for a TV program.\p"
	.string "I’d better write it up in a hurry!$"

UnknownString_81A9581: @ 81A9581
	.string "Hello, it’s time for RECENT HAPPENINGS.\p"
	.string "For POKéMON TRAINERS, every day is\n"
	.string "a storybook tale.\p"
	.string "What we want to do is to introduce you\n"
	.string "to some of these POKéMON tales.\p"
	.string "Today, we bring you the story of the\n"
	.string "TRAINER {STR_VAR_1}.\p"
	.string "What did {STR_VAR_1} experience recently?\n"
	.string "Let’s find out.\p"
	.string "Let’s see...$"

UnknownString_81A9694: @ 81A9694
	.string "Wasn’t that enlightening?\p"
	.string "The story gives you a clear idea of what\n"
	.string "{STR_VAR_1} has experienced recently.\l"
	.string "It’s as if we were there as witnesses!$"

UnknownString_81A971B: @ 81A971B
	.string "“{STR_VAR_3}.” That\n"
	.string "accents the tale and gives it depth.$"

UnknownString_81A974B: @ 81A974B
	.string "“{STR_VAR_3}.”\n"
	.string "That gives the tale a sense of place.\l"
	.string "It lets us envision the tale’s setting.$"

UnknownString_81A979F: @ 81A979F
	.string "The “{STR_VAR_3}”\n"
	.string "section of the tale is very expressive.$"

UnknownString_81A97D0: @ 81A97D0
	.string "{STR_VAR_1} has recounted a wonderful\n"
	.string "tale involving POKéMON.\p"
	.string "And now {STR_VAR_1}’s tale is indelibly\n"
	.string "etched into your soul, too.\p"
	.string "That’s it for today.\n"
	.string "Please tune in next time.$"

UnknownString_81A986F: @ 81A986F
	.string "Greetings!\n"
	.string "It’s time for POKéMON NEWS.\p"
	.string "We’ve just received word of a very\n"
	.string "rare occurrence.\p"
	.string "There have been reports of a mass\n"
	.string "outbreak of {STR_VAR_2} in the vicinity\l"
	.string "of {STR_VAR_1}.\p"
	.string "{STR_VAR_2}, as you’re probably aware,\n"
	.string "is known as a POKéMON that’s rare\l"
	.string "and hard to find.\p"
	.string "It sounds like a rare opportunity to\n"
	.string "see the mystifying outbreak of\l"
	.string "{STR_VAR_2} in the wild.\p"
	.string "That’s the news on POKéMON NEWS.$"

UnknownString_81A99D9: @ 81A99D9
	.string "And now, it’s time for...\n"
	.string "THE NAME RATER SHOW.\p"
	.string "I tell your POKéMON’s fortune from\n"
	.string "the nickname you’ve bestowed.\p"
	.string "Advice is what I have to give, and it is\n"
	.string "helpful advice that I offer.\p"
	.string "Today, I shall prophesize the nickname\n"
	.string "{STR_VAR_3} of {STR_VAR_1}’s POKéMON\l"
	.string "{STR_VAR_2}.\p"
	.string "Hmhm...\p"
	.string "Hmm...\n"
	.string "This nickname is...$"

UnknownString_81A9AF0: @ 81A9AF0
	.string "A nickname that hints at talent in many\n"
	.string "different ways.\p"
	.string "I urge this TRAINER to take courage\n"
	.string "and take on many challenges.$"

UnknownString_81A9B69: @ 81A9B69
	.string "A nickname that perfectly complements\n"
	.string "{STR_VAR_1}, the TRAINER’s name.\p"
	.string "It suggests that you will forge a fine\n"
	.string "partnership with precise timing.$"

UnknownString_81A9BEF: @ 81A9BEF
	.string "A nickname fit for a unique individual\n"
	.string "of a POKéMON!\p"
	.string "If raised properly, this POKéMON’s\n"
	.string "uniqueness will bloom excessively!$"

UnknownString_81A9C6A: @ 81A9C6A
	.string "A nickname that will nurture the caring\n"
	.string "and compassionate side of POKéMON.\p"
	.string "If raised properly, this POKéMON will\n"
	.string "come to exhibit real warmth!$"

UnknownString_81A9CF8: @ 81A9CF8
	.string "A very fine nickname that hints at\n"
	.string "greatness to come.\p"
	.string "I am intrigued about what the future\n"
	.string "holds in store for this POKéMON.$"

UnknownString_81A9D74: @ 81A9D74
	.string "A good nickname that should make the\n"
	.string "POKéMON hale and hearty!\p"
	.string "That POKéMON should remain fit and\n"
	.string "robust for a long, long time.$"

UnknownString_81A9DF3: @ 81A9DF3
	.string "A good nickname that should make the\n"
	.string "POKéMON very active!\p"
	.string "I should think that this POKéMON will be\n"
	.string "a strong performer in battles.$"

UnknownString_81A9E75: @ 81A9E75
	.string "An appealing nickname that should make\n"
	.string "the POKéMON very charming!\p"
	.string "I don’t doubt that this POKéMON will be\n"
	.string "quite the charmer in POKéMON CONTESTS.$"

UnknownString_81A9F06: @ 81A9F06
	.string "The nickname {STR_VAR_1} is rooted by\n"
	.string "the letter “{STR_VAR_3}.”\p"
	.string "That letter is supported by the first\n"
	.string "letter “{STR_VAR_2},” which gives it a solid sense\l"
	.string "of presence as a nickname.$"

UnknownString_81A9F9F: @ 81A9F9F
	.string "The nickname {STR_VAR_1} is very\n"
	.string "shapely in a pleasing manner.\p"
	.string "The presence of the letters “{STR_VAR_2}” and\n"
	.string "“{STR_VAR_3}” - now that is remarkably good!$"

UnknownString_81AA01E: @ 81AA01E
	.string "The nickname {STR_VAR_1} - it has a\n"
	.string "sublime, flowing feel to it.\p"
	.string "The flow from the initial letter “{STR_VAR_2}” to\n"
	.string "“{STR_VAR_3}” is especially wonderful.$"

UnknownString_81AA09D: @ 81AA09D
	.string "Let’s examine other examples of fine\n"
	.string "nicknames, shall we?$"

UnknownString_81AA0D7: @ 81AA0D7
	.string "Try this example. Take a part of the\n"
	.string "TRAINER name of {STR_VAR_1}, and end\l"
	.string "up with the fine nickname {STR_VAR_2}{STR_VAR_3}.$"

UnknownString_81AA138: @ 81AA138
	.string "The nickname {STR_VAR_2}{STR_VAR_3} would also work\n"
	.string "quite well.$"

UnknownString_81AA166: @ 81AA166
	.string "The POKéMON’s species name of\n"
	.string "{STR_VAR_2} could be used as the basis\l"
	.string "for making the nickname {STR_VAR_1}{STR_VAR_3}.$"

UnknownString_81AA1C0: @ 81AA1C0
	.string "{STR_VAR_1}{STR_VAR_3} would also be an effective\n"
	.string "nickname.$"

UnknownString_81AA1EA: @ 81AA1EA
	.string "What should always be avoided is using\n"
	.string "another POKéMON species name.\p"
	.string "For instance, avoid taking the name of\n"
	.string "{STR_VAR_2} to make the nickname {STR_VAR_1}{STR_VAR_3}.\l"
	.string "That is unacceptable.$"

UnknownString_81AA28A: @ 81AA28A
	.string "But I must say, {STR_VAR_2} has a most\n"
	.string "remarkable flair for devising nicknames.\p"
	.string "It is my hope that the TRAINER will\n"
	.string "continue to treat {STR_VAR_1} with love.\p"
	.string "That’s it for today’s show.\n"
	.string "May we meet again.$"

UnknownString_81AA344: @ 81AA344
	.string "{STR_VAR_2} ANGLER\p"
	.string "ANNOUNCER: Hello! Today, we’ll get tips\n"
	.string "on fishing for {STR_VAR_2}.\p"
	.string "GURU, what advice can you give for\n"
	.string "catching {STR_VAR_2}?\p"
	.string "GURU: Hm? Catching {STR_VAR_2}?\n"
	.string "Well, let me tell you, be patient and wait.\l"
	.string "That’s the bottom line.\p"
	.string "Do you see {STR_VAR_1} over there?\n"
	.string "That TRAINER makes a good example.\p"
	.string "That TRAINER’s already had {STR_VAR_3}\n"
	.string "POKéMON get away.\p"
	.string "But there {STR_VAR_1} waits. No giving up.\n"
	.string "That’s the law for catching {STR_VAR_2}.\p"
	.string "ANNOUNCER: I see...\p"
	.string "Oh! {STR_VAR_1} has finally landed an\n"
	.string "elusive {STR_VAR_2}!\p"
	.string "The TRAINER appears close to tears\n"
	.string "out of sheer joy!\p"
	.string "Seeing that elated look, I’m getting\n"
	.string "the itch to go fishing, too!\p"
	.string "Viewers, why not take this as a cue to\n"
	.string "try some {STR_VAR_2} fishing?\p"
	.string "Until our next broadcast, farewell and\n"
	.string "good fishing to you all!$"

UnknownString_81AA5F3: @ 81AA5F3
	.string "{STR_VAR_2} ANGLER\p"
	.string "ANNOUNCER: Hello! Today, we’ll get tips\n"
	.string "on fishing for {STR_VAR_2}.\p"
	.string "GURU, what advice can you give for\n"
	.string "catching {STR_VAR_2}?\p"
	.string "GURU: Hm? Catching {STR_VAR_2}?\n"
	.string "Well, let me tell you, use your fishing\l"
	.string "ROD with vigor!\p"
	.string "Do you see {STR_VAR_1} over there?\n"
	.string "See how the ROD is handled?\p"
	.string "That TRAINER’s already caught\n"
	.string "{STR_VAR_3} in a row.\p"
	.string "ANNOUNCER: It’s incredible!\n"
	.string "It looks like a storm...\p"
	.string "Seeing technique of that caliber, I’m\n"
	.string "getting the itch to go fishing, too.\p"
	.string "Viewers, why not take this as a cue to\n"
	.string "try some {STR_VAR_2} fishing?\p"
	.string "Until our next broadcast, farewell and\n"
	.string "good fishing to you all!$"

UnknownString_81AA814: @ 81AA814
	.string "Hello!\p"
	.string "It’s time for POKéMON TODAY!\p"
	.string "BIG SIS: Hi! Is everyone peachy and\n"
	.string "perky today?\p"
	.string "Today, we’re going to look at {STR_VAR_1}’s\n"
	.string "POKéMON {STR_VAR_2}!\p"
	.string "BIG BRO: Yeah! That’s what we’re going\n"
	.string "to do!$"

UnknownString_81AA8C6: @ 81AA8C6
	.string "Oh!\n"
	.string "Speaking of {STR_VAR_1}...\p"
	.string "BIG SIS, I saw the TRAINER with my very\n"
	.string "own eyes!\p"
	.string "BIG SIS: Oh, what did you see?\p"
	.string "BIG BRO: Well, I had to go on a trip to\n"
	.string "{STR_VAR_2}.\p"
	.string "That’s when I happened to come across\n"
	.string "{STR_VAR_1}, who was trying to catch the\l"
	.string "POKéMON {STR_VAR_3}, but...$"

UnknownString_81AA9B2: @ 81AA9B2
	.string "The POKéMON managed to get away!\p"
	.string "It ended up wasting this many\n"
	.string "POKé BALLS: {STR_VAR_2}!\p"
	.string "You should have seen the expression\n"
	.string "of frustration on {STR_VAR_1}’s face when\l"
	.string "the POKéMON took off!$"

UnknownString_81AAA5C: @ 81AAA5C
	.string "But {STR_VAR_1} goofed and made the\n"
	.string "POKéMON faint!\p"
	.string "It ended up wasting this many\n"
	.string "POKé BALLS: {STR_VAR_2}!\p"
	.string "You should have seen the expression\n"
	.string "of stunned dismay on {STR_VAR_1}’s face\l"
	.string "when the POKéMON fainted!$"

UnknownString_81AAB11: @ 81AAB11
	.string "BIG SIS: Hey, there!\n"
	.string "That’s not nice!\p"
	.string "You shouldn’t be laughing at other\n"
	.string "people’s misfortune!\p"
	.string "Oh, poor {STR_VAR_1}.\n"
	.string "What a shame!\p"
	.string "BIG BRO: That’s true!\n"
	.string "Sorry for laughing.$"

UnknownString_81AABB4: @ 81AABB4
	.string "BIG SIS: Bufufu...\p"
	.string "BIG BRO: Hey!\n"
	.string "You just laughed, too!\p"
	.string "BIG SIS: Huh?!\p"
	.string "I didn’t laugh!\n"
	.string "Honestly, I didn’t!\p"
	.string "Oh, poor {STR_VAR_1}.\n"
	.string "What a shame!\p"
	.string "BIG BRO: ...$"

UnknownString_81AAC47: @ 81AAC47
	.string "BIG SIS: That’s enough silliness!\n"
	.string "Let’s look at today’s POKéMON...\p"
	.string "Huh?\n"
	.string "We’re out of time already?\p"
	.string "Aww!\n"
	.string "We couldn’t profile a POKéMON today!\p"
	.string "BIG BRO: See you again next time!\p"
	.string "BIG SIS: Hey, don’t end the show\n"
	.string "without me!$"

UnknownString_81AAD23: @ 81AAD23
	.string "Hello!\p"
	.string "It’s time for POKéMON TODAY!\p"
	.string "BIG SIS: Hi! Is everyone peachy and\n"
	.string "perky today?\p"
	.string "Today, we’re going to look at {STR_VAR_1}’s\n"
	.string "POKéMON {STR_VAR_2}!\p"
	.string "BIG BRO: Yeah! That’s what we’re going\n"
	.string "to do!$"

UnknownString_81AADD5: @ 81AADD5
	.string "BIG SIS: {STR_VAR_1} gave the nickname\n"
	.string "{STR_VAR_3} to the {STR_VAR_2}!\p"
	.string "It sounds like {STR_VAR_3} is getting\n"
	.string "good, loving care!$"

UnknownString_81AAE31: @ 81AAE31
	.string "BIG BRO: The TRAINER had to throw this\n"
	.string "many BALLS to catch it: {STR_VAR_3}!\p"
	.string "It finally took a single {STR_VAR_2}\n"
	.string "to catch it!$"

UnknownString_81AAE9D: @ 81AAE9D
	.string "BIG SIS: If it was that easy to catch,\n"
	.string "it must have been destiny that brought\l"
	.string "{STR_VAR_1} and the {STR_VAR_2} together!$"

UnknownString_81AAF03: @ 81AAF03
	.string "BIG SIS: Wow! That’s so neat!\p"
	.string "But you know what they say, a POKéMON\n"
	.string "that takes a lot of effort to catch\l"
	.string "earns the love of its TRAINER!$"

UnknownString_81AAF8A: @ 81AAF8A
	.string "BIG SIS: {STR_VAR_1}’s {STR_VAR_2} is a\n"
	.string "memorable POKéMON because it took an\l"
	.string "invaluable MASTER BALL to catch!\p"
	.string "BIG BRO: Wow! That’s mega-awesome!\p"
	.string "BIG SIS: {STR_VAR_1} must have really\n"
	.string "wanted that {STR_VAR_2}, for sure!$"

UnknownString_81AB040: @ 81AB040
	.string "BIG BRO: Then to give the nickname\n"
	.string "{STR_VAR_3} to that {STR_VAR_2}...\p"
	.string "You really get a good idea about\n"
	.string "{STR_VAR_1}’s TRAINER sense.\p"
	.string "BIG SIS: I second that notion!$"

UnknownString_81AB0C8: @ 81AB0C8
	.string "If it were me, I’d give that\n"
	.string "nickname to something like {STR_VAR_3}!\p"
	.string "BIG BRO: Whoa! That could be the start\n"
	.string "of something new!$"

UnknownString_81AB13D: @ 81AB13D
	.string "{STR_VAR_2} the {STR_VAR_1}?\n"
	.string "Doesn’t that sound perfect?\p"
	.string "The letters and everything - they sound\n"
	.string "just right for the POKéMON {STR_VAR_1}!\p"
	.string "BIG BRO: Yeah, true, that!$"

UnknownString_81AB1C6: @ 81AB1C6
	.string "As far as I know, no TRAINER has ever\n"
	.string "given the nickname {STR_VAR_2} to their\l"
	.string "{STR_VAR_1}!\p"
	.string "BIG BRO: That just goes to show what\n"
	.string "great taste the TRAINER has in picking\l"
	.string "nicknames!$"

UnknownString_81AB266: @ 81AB266
	.string "The next time I catch a POKéMON,\n"
	.string "I should give it the name {STR_VAR_2}.\p"
	.string "BIG BRO: Huh? Me, too!\n"
	.string "I’ll use the nickname {STR_VAR_2}, too!$"

UnknownString_81AB2DB: @ 81AB2DB
	.string "BIG SIS: Oh, no!\n"
	.string "Look at the time!\p"
	.string "Well, gang, this is it for today.\n"
	.string "See you again next time!\p"
	.string "BIG BRO: Remember, it could be your\n"
	.string "POKéMON in the spotlight next time!$"

UnknownString_81AB381: @ 81AB381
	.string "Hello!\p"
	.string "It’s time for TODAY’S SMART SHOPPER.\p"
	.string "INTERVIEWER: How are you, viewers?\p"
	.string "Today we’re visiting the POKéMON MART\n"
	.string "in {STR_VAR_2}.\p"
	.string "Let’s check on what the hot sellers\n"
	.string "have been recently.$"

UnknownString_81AB435: @ 81AB435
	.string "Let’s interview the clerk to get the\n"
	.string "lowdown.\p"
	.string "Hi, how’s your business?\p"
	.string "CLERK: Oh, we’re doing excellent.\p"
	.string "Recently, {STR_VAR_2} has been selling\n"
	.string "especially strongly.\p"
	.string "Why, just the other day a TRAINER\n"
	.string "named {STR_VAR_1} bought {STR_VAR_3}.$"

UnknownString_81AB507: @ 81AB507
	.string "INTERVIEWER: The TRAINER bought\n"
	.string "{STR_VAR_3} {STR_VAR_2}S? That’s a haul!\p"
	.string "If I may say so, {STR_VAR_1} must have\n"
	.string "been stocking up for a long journey\l"
	.string "to far-off places.\p"
	.string "For traveling, {STR_VAR_2}S are so\n"
	.string "important!$"

UnknownString_81AB5B8: @ 81AB5B8
	.string "INTERVIEWER: Speaking of the item\n"
	.string "{STR_VAR_2}, I just bought {STR_VAR_3} of\l"
	.string "them recently.\p"
	.string "After all, {STR_VAR_2}’s a great item!$"

UnknownString_81AB61F: @ 81AB61F
	.string "INTERVIEWER: {STR_VAR_2}?!\n"
	.string "But {STR_VAR_3} of them?!\p"
	.string "I didn’t think there would be anyone\n"
	.string "buying that many.\p"
	.string "My goodness, I can only afford one or\n"
	.string "two at a time...$"

UnknownString_81AB6B0: @ 81AB6B0
	.string "INTERVIEWER: One time, I bought\n"
	.string "a whole lot of the item {STR_VAR_2}.\p"
	.string "But it turned out to be too many.\n"
	.string "I ended up regretting it...\p"
	.string "Since then, I only buy strictly what\n"
	.string "I absolutely need...\p"
	.string "Oops!\p"
	.string "There’s no point talking about me!$"

UnknownString_81AB78D: @ 81AB78D
	.string "CLERK: {STR_VAR_1} also bought the item\n"
	.string "{STR_VAR_2} in bulk, taking {STR_VAR_3}.\p"
	.string "INTERVIEWER: Oh, that’s smart.\n"
	.string "{STR_VAR_2}’s a very good item, too.$"

UnknownString_81AB7FE: @ 81AB7FE
	.string "CLERK: And, the TRAINER also bought\n"
	.string "{STR_VAR_3} of the item {STR_VAR_2}.$"

UnknownString_81AB835: @ 81AB835
	.string "CLERK: Plus, it was during a big sale.\n"
	.string "That’s smart shopping.$"

UnknownString_81AB873: @ 81AB873
	.string "INTERVIEWER: Hmm... {STR_VAR_1} sounds like\n"
	.string "quite the shrewd bargain hunter!\p"
	.string "In total, {STR_VAR_1}’s purchases came to...\p"
	.string "¥{STR_VAR_2}?!\n"
	.string "What an amazing sum!\p"
	.string "Oops! We’re out of time!\n"
	.string "See you on our next broadcast!$"

UnknownString_81AB92E: @ 81AB92E
	.string "CLERK: {STR_VAR_1} is a VIP customer,\n"
	.string "no doubt about it.$"

UnknownString_81AB95E: @ 81AB95E
	.string "Let’s interview the clerk to get the\n"
	.string "lowdown.\p"
	.string "Hi, how’s your business?\p"
	.string "CLERK: Oh, we’re doing unbelievable\n"
	.string "business. It’s almost overwhelming.\p"
	.string "Recently, a TRAINER named {STR_VAR_1}\n"
	.string "bought the item {STR_VAR_2}in bulk.\p"
	.string "The TRAINER almost cleared out our\n"
	.string "entire stock of {STR_VAR_2}S.\p"
	.string "I never dreamt that any customer\n"
	.string "would ever need so many {STR_VAR_2}S.\l"
	.string "It’s just unheard of!\p"
	.string "INTERVIEWER: So that would be like 100\n"
	.string "or 200 sold?\p"
	.string "CLERK: Oh, no, much more than that!\p"
	.string "INTERVIEWER: Oh, my goodness!\n"
	.string "{STR_VAR_1} must be a special shopper!\p"
	.string "CLERK: {STR_VAR_1} is a VIP customer,\n"
	.string "no doubt about it.$"

UnknownString_81ABB75: @ 81ABB75
	.string "INTERVIEWER: Hmm...\n"
	.string "That is amazing.\p"
	.string "But why would the TRAINER need to buy\n"
	.string "so many?\p"
	.string "... ...\p"
	.string "The mystery deepens, but this is all\n"
	.string "the time we have today.\l"
	.string "See you on our next broadcast!\p"
	.string "Still, {STR_VAR_1} is certainly an enigma...$"

UnknownString_81ABC51: @ 81ABC51
	.string "THE WORLD OF MASTERS\p"
	.string "Hello, viewers.\p"
	.string "Perhaps you are aware of a TRAINER\n"
	.string "named {STR_VAR_1}.\p"
	.string "{STR_VAR_1} is famous as a master at\n"
	.string "catching POKéMON.\p"
	.string "{STR_VAR_1}’s quest for POKéMON depends\n"
	.string "entirely on a careful search on foot.\p"
	.string "On one memorable day, the TRAINER\n"
	.string "walked some {STR_VAR_2} steps.\p"
	.string "The total number of POKéMON caught\n"
	.string "that day reached an impressive {STR_VAR_3}!$"

UnknownString_81ABD94: @ 81ABD94
	.string "That remarkable feat must have been\n"
	.string "possible because of the trust between\l"
	.string "the TRAINER and {STR_VAR_1}.$"

UnknownString_81ABDF2: @ 81ABDF2
	.string "The master caught the day’s last\n"
	.string "{STR_VAR_3} near {STR_VAR_2}.\p"
	.string "That POKéMON apparently enjoys\n"
	.string "a special status as a record holder.\p"
	.string "Skilled TRAINERS should be encouraged\n"
	.string "to challenge this fine record.\p"
	.string "That’s all for today.\n"
	.string "Please tune in next time.$"

Route111_Text_1ABED8:: @ 81ABED8
	.string "GABBY: Oh! We’ve just spotted a tough-\n"
	.string "looking TRAINER here of all places!\p"
	.string "Okay, roll camera!\n"
	.string "Let’s get this interview.$"

Route111_Text_1ABF50:: @ 81ABF50
Route118_Text_1ABF50:: @ 81ABF50
Route120_Text_1ABF50:: @ 81ABF50
	.string "GABBY: Oh! You’re {PLAYER}! Hi!\n"
	.string "Do you remember us from last time?\p"
	.string "Can you show us how much stronger\n"
	.string "you’ve become? Okay, cue interview!$"

Route111_Text_1ABFD3:: @ 81ABFD3
	.string "GABBY: My eyes didn’t lie!\n"
	.string "I did discover an astonishing TRAINER!$"

Route111_Text_1AC015:: @ 81AC015
	.string "GABBY: Awesome! Awesome!\n"
	.string "Who are you?!\p"
	.string "I knew we were onto something wild\n"
	.string "when we spotted you!\p"
	.string "Oh, please let me explain. We travel\n"
	.string "around everywhere interviewing all\l"
	.string "sorts of TRAINERS.\p"
	.string "So, would you give us a bit of your time\n"
	.string "for an interview?$"

Route111_Text_1AC10A:: @ 81AC10A
	.string "GABBY: “{STR_VAR_1}!”\p"
	.string "Do you remember? That’s the quote you\n"
	.string "gave us as the battle clincher last time.\p"
	.string "I never, ever forget stuff like that!$"

Route111_Text_1AC18D:: @ 81AC18D
	.string "The last time we battled, you stomped\n"
	.string "us before we could brace ourselves...\p"
	.string "Anyway, what do you think?\n"
	.string "Do you want to be interviewed again?$"

Route111_Text_1AC219:: @ 81AC219
	.string "The last time we battled, didn’t you\n"
	.string "throw a POKé BALL at us?\p"
	.string "We were shocked! So we told everyone,\n"
	.string "just everyone, about it!\p"
	.string "Anyway, what do you think?\n"
	.string "Do you want to be interviewed again?$"

Route111_Text_1AC2D6:: @ 81AC2D6
	.string "The last time we battled, your item\n"
	.string "skills cleverly did us in.\p"
	.string "Anyway, what do you think?\n"
	.string "Do you want to be interviewed again?$"

Route111_Text_1AC355:: @ 81AC355
	.string "The last time we battled, we managed\n"
	.string "to look respectable.\p"
	.string "Anyway, what do you think?\n"
	.string "Do you want to be interviewed again?$"

Route111_Text_1AC3CF:: @ 81AC3CF
	.string "Anyway, what do you think?\n"
	.string "Do you want to be interviewed again?$"

Route111_Text_1AC40F:: @ 81AC40F
	.string "You will?\n"
	.string "Thank you!\p"
	.string "Okay, I need you to describe your\n"
	.string "feelings about our battle, but it\l"
	.string "has to be short and sweet. Go!$"

Route111_Text_1AC487:: @ 81AC487
	.string "GABBY: Mmm, yeah!\n"
	.string "That’s the perfect clincher!\p"
	.string "I get the feeling that this will make\n"
	.string "a great TV show.\p"
	.string "There’s a chance that they’ll air this\n"
	.string "on TV, so make sure to look for us!\p"
	.string "Okay!\n"
	.string "We’ll be seeing you!$"

Route111_Text_1AC553:: @ 81AC553
	.string "GABBY: Oh...\p"
	.string "Okay, but don’t give up!\n"
	.string "We’ll be keeping an eye out for you!$"

Route111_Text_1AC59E:: @ 81AC59E
Route118_Text_1AC59E:: @ 81AC59E
Route120_Text_1AC59E:: @ 81AC59E
	.string "GABBY: We’ll be keeping an eye out\n"
	.string "for you!$"

Route111_Text_1AC5CA:: @ 81AC5CA
Route118_Text_1AC5CA:: @ 81AC5CA
Route120_Text_1AC5CA:: @ 81AC5CA
	.string "GABBY: Is there a strong TRAINER\n"
	.string "anywhere with a lot of POKéMON?$"

Route111_Text_1AC60B:: @ 81AC60B
	.string "GABBY: Wow, you are something!\p"
	.string "You’ve gotten a lot stronger - a lot -\n"
	.string "since we last battled.\p"
	.string "We were right about you when we\n"
	.string "spotted you as a hot TRAINER.\p"
	.string "So, anyway, what do you think?\n"
	.string "Are you willing to give us an interview\l"
	.string "this time?$"

Route111_Text_1AC6F8:: @ 81AC6F8
Route118_Text_1AC6F8:: @ 81AC6F8
Route120_Text_1AC6F8:: @ 81AC6F8
	.string "GABBY: That was an intense battle!\n"
	.string "Did you get all that on camera?$"

Route111_Text_1AC73B:: @ 81AC73B
	.string "TY: Hey, lookie here! A tough-looking\n"
	.string "TRAINER here, of all places!\l"
	.string "Camera’s rolling!$"

Route111_Text_1AC790:: @ 81AC790
Route118_Text_1AC790:: @ 81AC790
Route120_Text_1AC790:: @ 81AC790
	.string "TY: Hey, lookie here!\n"
	.string "I remember you!\p"
	.string "I’ll get this battle all on this\n"
	.string "here camera!$"

Route111_Text_1AC7E4:: @ 81AC7E4
Route118_Text_1AC7E4:: @ 81AC7E4
Route120_Text_1AC7E4:: @ 81AC7E4
	.string "TY: You’re a natural!\n"
	.string "Got me some prime footage right here!$"

Route111_Text_1AC820:: @ 81AC820
Route118_Text_1AC820:: @ 81AC820
Route120_Text_1AC820:: @ 81AC820
	.string "TY: Do you only have the one POKéMON\n"
	.string "and that’s it?\p"
	.string "If you had more POKéMON, it’d make for\n"
	.string "better footage, but...$"

Route111_Text_1AC892:: @ 81AC892
	.string "TY: Yep, we sure spotted a hot TRAINER.\n"
	.string "This is a huge scoop for us!$"

Route111_Text_1AC8D7:: @ 81AC8D7
Route118_Text_1AC8D7:: @ 81AC8D7
Route120_Text_1AC8D7:: @ 81AC8D7
	.string "TY: Yep, I got it all.\n"
	.string "That whole battle’s on camera.$"

UnknownString_81AC90D: @ 81AC90D
	.string "IN SEARCH OF TRAINERS...\p"
	.string "GABBY: Hi! Today I’m visiting an area\n"
	.string "near {STR_VAR_1}.\p"
	.string "We’re trying to spot some up-and-coming\n"
	.string "new talent in the field.\p"
	.string "Today, we turned our lens on the\n"
	.string "TRAINER {PLAYER}.\p"
	.string "There’s something about this TRAINER\n"
	.string "that piqued our interest.$"

UnknownString_81ACA02: @ 81ACA02
	.string "We’ve battled {PLAYER} before, but we\n"
	.string "can attest that the TRAINER has most\l"
	.string "definitely improved from before.\p"
	.string "I knew we were onto someone special\n"
	.string "when we spotted this TRAINER!$"

UnknownString_81ACAAA: @ 81ACAAA
	.string "The best way to determine how strong\n"
	.string "a TRAINER is...\p"
	.string "Well, the fastest way is to battle.\n"
	.string "And so we began our investigation!\p"
	.string "... ...\p"
	.string "That’s how we ended up in battle\n"
	.string "with {PLAYER}.\p"
	.string "In a dominating performance, we were\n"
	.string "flattened, rolled up, and tossed aside!\p"
	.string "{PLAYER} is ruthlessly strong...\p"
	.string "We asked the TRAINER for a succinct\n"
	.string "summation of the battle we shared.$"

UnknownString_81ACC07: @ 81ACC07
	.string "The combination of {STR_VAR_1} and\n"
	.string "{STR_VAR_3} was divine!\p"
	.string "The sight of them - {STR_VAR_1} and\n"
	.string "{STR_VAR_3} - selflessly supporting\l"
	.string "each other in the thick of battle...\p"
	.string "It was a marvelous sight to behold!\p"
	.string "{STR_VAR_2} was the move the TRAINER\n"
	.string "used last in our battle.\p"
	.string "The move {STR_VAR_2} is {STR_VAR_1}\n"
	.string "and {STR_VAR_3}’s sign of friendship!$"

UnknownString_81ACD13: @ 81ACD13
	.string "...I lost confidence in myself as\n"
	.string "a result of our encounter.\p"
	.string "We were beaten before we could launch\n"
	.string "a single attack.\l"
	.string "Ohhh... Snivel...\p"
	.string "In spite of that, {PLAYER}’s battles\n"
	.string "are worth seeing.\p"
	.string "I recommend confident TRAINERS to\n"
	.string "challenge {PLAYER}.$"

UnknownString_81ACDFA: @ 81ACDFA
	.string "There’s only one thing to be said.\n"
	.string "Don’t you dare throw a POKé BALL during\l"
	.string "a TRAINER battle!\p"
	.string "{PLAYER} is certainly strong, but has\n"
	.string "no clue about the basic rules.\p"
	.string "To our TV audience, I have a request.\p"
	.string "If you see {PLAYER}, please caution\n"
	.string "the TRAINER!$"

UnknownString_81ACEE7: @ 81ACEE7
	.string "{PLAYER} is adept at reading the\n"
	.string "opponent’s actions.\p"
	.string "The timing of item usage was remarkably\n"
	.string "effective!$"

UnknownString_81ACF49: @ 81ACF49
	.string "Honestly speaking, I thought that\n"
	.string "I might even be pretty good.\p"
	.string "While we did end up losing, we did have\n"
	.string "a hotly contested battle.\p"
	.string "But if you’re struggling against me,\n"
	.string "you have a ways to go, {PLAYER}!$"

UnknownString_81AD00A: @ 81AD00A
	.string "After our battle, we asked {PLAYER} for\n"
	.string "a succinct summary.\p"
	.string "The TRAINER replied, “{STR_VAR_1}.”\p"
	.string "{PLAYER}’s POKéMON {STR_VAR_2} and\n"
	.string "{STR_VAR_3}...\l"
	.string "And “{STR_VAR_1}”...\p"
	.string "Mmm! That’s deep! There’s deep\n"
	.string "significance behind that quote!\p"
	.string "It’s no surprise - a good TRAINER has\n"
	.string "good things to say.\p"
	.string "That’s all for today!\n"
	.string "See you again on our next broadcast!$"

UnknownString_81AD135: @ 81AD135
	.string "Greetings!\n"
	.string "It’s time for POKéMON NEWS.\p"
	.string "SLATEPORT’s most popular kind of guy,\n"
	.string "the ENERGY GURU, is in the news again!\p"
	.string "He promises to, “Stupendously go for\n"
	.string "it in just this many days: {STR_VAR_1}!”\p"
	.string "While he refused to elaborate on what\n"
	.string "he will stupendously go for, the\l"
	.string "ENERGY GURU advised, “Save up your\l"
	.string "money. That’ll be good...”\p"
	.string "It sounds like a trip to SLATEPORT\n"
	.string "would be well worth your while that day.\p"
	.string "That’s the news on POKéMON NEWS.$"

UnknownString_81AD2E0: @ 81AD2E0
	.string "Greetings!\n"
	.string "It’s time for POKéMON NEWS.\p"
	.string "This is the news you’ve all been\n"
	.string "waiting for!\p"
	.string "SLATEPORT’S ENERGY GURU is going\n"
	.string "for it stupendously in the MARKET!\p"
	.string "He promises unbeatable bargain\n"
	.string "prices on CALCIUM and PROTEIN!\p"
	.string "A trip to SLATEPORT CITY sounds\n"
	.string "worthwhile. Why not visit and shop\l"
	.string "to your heart’s content?\p"
	.string "That’s the news on POKéMON NEWS.$"

UnknownString_81AD434: @ 81AD434
	.string "Greetings!\n"
	.string "It’s time for POKéMON NEWS.\p"
	.string "This is the news you’ve all been\n"
	.string "waiting for!\p"
	.string "SLATEPORT’S ENERGY GURU is going\n"
	.string "for it stupendously in the MARKET!\p"
	.string "He promises unbeatable bargain\n"
	.string "prices on CALCIUM and PROTEIN!\p"
	.string "According to the ENERGY GURU, he\n"
	.string "still has ample merchandise left.\p"
	.string "Why not visit SLATEPORT CITY for\n"
	.string "a most enjoyable shopping trip?\p"
	.string "That’s the news on POKéMON NEWS.$"

UnknownString_81AD5B0: @ 81AD5B0
	.string "Greetings!\n"
	.string "It’s time for POKéMON NEWS.\p"
	.string "It’s approaching!\n"
	.string "It’s finally coming!\p"
	.string "The GAME CORNER’s service day will be\n"
	.string "here in just this many days: {STR_VAR_1}!\p"
	.string "Even those who are usually unlucky\n"
	.string "may be lucky on this particular day!\p"
	.string "That’s the news on POKéMON NEWS.$"

UnknownString_81AD6AE: @ 81AD6AE
	.string "Greetings!\n"
	.string "It’s time for POKéMON NEWS.\p"
	.string "It’s here!\n"
	.string "It’s finally arrived!\p"
	.string "GAME CORNER’s service day has finally\n"
	.string "arrived!\p"
	.string "Could you be lucky at the SLOTS \n"
	.string "and ROULETTE?\p"
	.string "The location is MAUVILLE CITY.\n"
	.string "This is the place!\p"
	.string "That’s the news on POKéMON NEWS.$"

UnknownString_81AD7A7: @ 81AD7A7
	.string "Greetings!\n"
	.string "It’s time for POKéMON NEWS.\p"
	.string "It’s here!\n"
	.string "It’s finally arrived!\p"
	.string "GAME CORNER’s service day has finally\n"
	.string "arrived!\p"
	.string "Could you be lucky at the SLOTS\n"
	.string "and ROULETTE?\p"
	.string "Time is limited and has almost run out.\n"
	.string "The location is MAUVILLE CITY.\p"
	.string "That’s the news on POKéMON NEWS.$"

UnknownString_81AD8B4: @ 81AD8B4
	.string "Greetings!\n"
	.string "It’s time for POKéMON NEWS.\p"
	.string "We’ve just received wonderful news\n"
	.string "from LILYCOVE DEPARTMENT STORE.\p"
	.string "The DEPARTMENT STORE’s clear-out sale\n"
	.string "will be in just this many days: {STR_VAR_1}!\p"
	.string "That thingamajig or that doodad that\n"
	.string "you’ve always wanted could be yours!\p"
	.string "That’s the news on POKéMON NEWS.$"

UnknownString_81AD9D3: @ 81AD9D3
	.string "Greetings!\n"
	.string "It’s time for POKéMON NEWS.\p"
	.string "This is the news you’ve all been\n"
	.string "waiting for!\p"
	.string "LILYCOVE DEPARTMENT STORE’s clear-out\n"
	.string "sale has finally arrived!\p"
	.string "All the thingamajigs and doodads that\n"
	.string "you’ve always dreamt about...\p"
	.string "You may be in for fateful encounters\n"
	.string "with them all!\p"
	.string "That’s the news on POKéMON NEWS.$"

UnknownString_81ADB01: @ 81ADB01
	.string "Greetings!\n"
	.string "It’s time for POKéMON NEWS.\p"
	.string "This is the news you’ve all been\n"
	.string "waiting for!\p"
	.string "LILYCOVE DEPARTMENT STORE’s clear-out\n"
	.string "sale has finally arrived!\p"
	.string "All the thingamajigs and doodads that\n"
	.string "you’ve always dreamt about...\p"
	.string "You may be in for fateful encounters\n"
	.string "with them all!\p"
	.string "That’s the news on POKéMON NEWS.$"

UnknownString_81ADC2F: @ 81ADC2F
	.string "This program has been brought to you\n"
	.string "by the DEVON CORPORATION.$"

UnknownString_81ADC6E: @ 81ADC6E
	.string "What’s important is love for POKéMON.\p"
	.string "What you need is a little courage.\p"
	.string "Let your cherished POKéMON take\n"
	.string "center stage! POKéMON CONTESTS!$"

UnknownString_81ADCF7: @ 81ADCF7
	.string "We raise your beloved POKéMON with\n"
	.string "all of our love!\p"
	.string "For all your POKéMON-training needs,\n"
	.string "visit our DAY CARE on ROUTE 117.$"

UnknownString_81ADD71: @ 81ADD71
	.string "The cauldron of good times and laughs!\n"
	.string "LAVARIDGE SPA.$"

UnknownString_81ADDA7: @ 81ADDA7
	.string "Overflowing with great merchandise\n"
	.string "and excitement!\p"
	.string "A great place to find that something\n"
	.string "you need!\p"
	.string "Visit LILYCOVE DEPARTMENT STORE for\n"
	.string "all your shopping needs!$"

BattleTower_Lobby_EventScript_1ADE46:: @ 81ADE46
FallarborTown_ContestLobby_EventScript_1ADE46:: @ 81ADE46
SlateportCity_OceanicMuseum_1F_EventScript_1ADE46:: @ 81ADE46
SlateportCity_PokemonFanClub_EventScript_1ADE46:: @ 81ADE46
	special 68
	inccounter 6
	release
	end

SlateportCity_PokemonFanClub_EventScript_1ADE4D:: @ 81ADE4D
	setvar 0x8005, 1
	special 67
	compare RESULT, 1
	jumpeq SlateportCity_PokemonFanClub_EventScript_1ADED6
	copyvar 0x8009, 0x8006
	msgbox SlateportCity_PokemonFanClub_Text_1A8704, 5
	compare RESULT, 1
	jumpeq SlateportCity_PokemonFanClub_EventScript_1ADE84
	compare RESULT, 0
	jumpeq SlateportCity_PokemonFanClub_EventScript_1ADEB9
	end

SlateportCity_PokemonFanClub_EventScript_1ADE84:: @ 81ADE84
	msgbox SlateportCity_PokemonFanClub_Text_1A87CA, 4
	setvar 0x8004, 5
	copyvar 0x8005, 0x8009
	setvar 0x8006, 1
	call SlateportCity_PokemonFanClub_EventScript_1A00F3
	lock
	faceplayer
	compare RESULT, 1
	jumpeq SlateportCity_PokemonFanClub_EventScript_1ADEC3
	compare RESULT, 0
	jumpeq SlateportCity_PokemonFanClub_EventScript_1ADEB9
	end

SlateportCity_PokemonFanClub_EventScript_1ADEB9:: @ 81ADEB9
	msgbox SlateportCity_PokemonFanClub_Text_1A8667, 4
	release
	end

SlateportCity_PokemonFanClub_EventScript_1ADEC3:: @ 81ADEC3
	msgbox SlateportCity_PokemonFanClub_Text_1A8818, 4
	setvar 0x8005, 1
	jump SlateportCity_PokemonFanClub_EventScript_1ADE46
	end

SlateportCity_PokemonFanClub_EventScript_1ADED6:: @ 81ADED6
	msgbox SlateportCity_PokemonFanClub_Text_1A86B5, 4
	release
	end

SlateportCity_OceanicMuseum_1F_EventScript_1ADEE0:: @ 81ADEE0
	lock
	faceplayer
	setvar 0x8005, 2
	special 67
	compare RESULT, 1
	jumpeq SlateportCity_OceanicMuseum_1F_EventScript_1ADF96
	copyvar 0x8009, 0x8006
	checkflag 105
	jumpeq SlateportCity_OceanicMuseum_1F_EventScript_1ADF25
	setflag 105
	msgbox SlateportCity_OceanicMuseum_1F_Text_1A927F, 5
	compare RESULT, 1
	jumpeq SlateportCity_OceanicMuseum_1F_EventScript_1ADF44
	compare RESULT, 0
	jumpeq SlateportCity_OceanicMuseum_1F_EventScript_1ADF79
	end

SlateportCity_OceanicMuseum_1F_EventScript_1ADF25:: @ 81ADF25
	msgbox SlateportCity_OceanicMuseum_1F_Text_1A934C, 5
	compare RESULT, 1
	jumpeq SlateportCity_OceanicMuseum_1F_EventScript_1ADF44
	compare RESULT, 0
	jumpeq SlateportCity_OceanicMuseum_1F_EventScript_1ADF79
	end

SlateportCity_OceanicMuseum_1F_EventScript_1ADF44:: @ 81ADF44
	msgbox SlateportCity_OceanicMuseum_1F_Text_1A93D1, 4
	setvar 0x8004, 5
	copyvar 0x8005, 0x8009
	setvar 0x8006, 0
	call SlateportCity_OceanicMuseum_1F_EventScript_1A00F3
	lock
	faceplayer
	compare RESULT, 1
	jumpeq SlateportCity_OceanicMuseum_1F_EventScript_1ADF83
	compare RESULT, 0
	jumpeq SlateportCity_OceanicMuseum_1F_EventScript_1ADF79
	end

SlateportCity_OceanicMuseum_1F_EventScript_1ADF79:: @ 81ADF79
	msgbox SlateportCity_OceanicMuseum_1F_Text_1A9446, 4
	release
	end

SlateportCity_OceanicMuseum_1F_EventScript_1ADF83:: @ 81ADF83
	msgbox SlateportCity_OceanicMuseum_1F_Text_1A949A, 4
	setvar 0x8005, 2
	jump SlateportCity_OceanicMuseum_1F_EventScript_1ADE46
	end

SlateportCity_OceanicMuseum_1F_EventScript_1ADF96:: @ 81ADF96
	msgbox SlateportCity_OceanicMuseum_1F_Text_1A952E, 4
	release
	end

SlateportCity_PokemonFanClub_EventScript_1ADFA0:: @ 81ADFA0
	lock
	faceplayer
	specialval RESULT, 69
	compare RESULT, 0
	jumpeq SlateportCity_PokemonFanClub_EventScript_1ADE4D
	setvar 0x8005, 3
	special 67
	compare RESULT, 1
	jumpeq SlateportCity_PokemonFanClub_EventScript_1AE0AC
	copyvar 0x8009, 0x8006
	msgbox SlateportCity_PokemonFanClub_Text_1A82F1, 5
	compare RESULT, 1
	jumpeq SlateportCity_PokemonFanClub_EventScript_1ADFE9
	compare RESULT, 0
	jumpeq SlateportCity_PokemonFanClub_EventScript_1AE0A2
	end

SlateportCity_PokemonFanClub_EventScript_1ADFE9:: @ 81ADFE9
	msgbox SlateportCity_PokemonFanClub_Text_1A83D0, 4
	random 3
	copyvar 0x800a, RESULT
	switch RESULT
	case 0, SlateportCity_PokemonFanClub_EventScript_1AE020
	case 1, SlateportCity_PokemonFanClub_EventScript_1AE02E
	case 2, SlateportCity_PokemonFanClub_EventScript_1AE03C
	end

SlateportCity_PokemonFanClub_EventScript_1AE020:: @ 81AE020
	msgbox SlateportCity_PokemonFanClub_Text_1A8414, 4
	jump SlateportCity_PokemonFanClub_EventScript_1AE04A
	end

SlateportCity_PokemonFanClub_EventScript_1AE02E:: @ 81AE02E
	msgbox SlateportCity_PokemonFanClub_Text_1A8470, 4
	jump SlateportCity_PokemonFanClub_EventScript_1AE04A
	end

SlateportCity_PokemonFanClub_EventScript_1AE03C:: @ 81AE03C
	msgbox SlateportCity_PokemonFanClub_Text_1A84D5, 4
	jump SlateportCity_PokemonFanClub_EventScript_1AE04A
	end

SlateportCity_PokemonFanClub_EventScript_1AE04A:: @ 81AE04A
	setvar 0x8004, 7
	copyvar 0x8005, 0x8009
	setvar 0x8006, 0
	call SlateportCity_PokemonFanClub_EventScript_1A00F3
	lock
	faceplayer
	compare RESULT, 0
	jumpeq SlateportCity_PokemonFanClub_EventScript_1AE0A2
	msgbox SlateportCity_PokemonFanClub_Text_1A852D, 4
	setvar 0x8006, 1
	call SlateportCity_PokemonFanClub_EventScript_1A00F3
	lock
	faceplayer
	compare RESULT, 0
	jumpeq SlateportCity_PokemonFanClub_EventScript_1AE0A2
	msgbox SlateportCity_PokemonFanClub_Text_1A85A6, 4
	copyvar 0x8007, 0x800a
	setvar 0x8005, 3
	jump SlateportCity_PokemonFanClub_EventScript_1ADE46
	end

SlateportCity_PokemonFanClub_EventScript_1AE0A2:: @ 81AE0A2
	msgbox SlateportCity_PokemonFanClub_Text_1A8667, 4
	release
	end

SlateportCity_PokemonFanClub_EventScript_1AE0AC:: @ 81AE0AC
	msgbox SlateportCity_PokemonFanClub_Text_1A86B5, 4
	release
	end

FallarborTown_ContestLobby_EventScript_1AE0B6:: @ 81AE0B6
LilycoveCity_ContestLobby_EventScript_1AE0B6:: @ 81AE0B6
SlateportCity_ContestLobby_EventScript_1AE0B6:: @ 81AE0B6
VerdanturfTown_ContestLobby_EventScript_1AE0B6:: @ 81AE0B6
	lock
	faceplayer
	checkflag 2
	jumpeq FallarborTown_ContestLobby_EventScript_1AE17E
	setvar 0x8005, 6
	special 67
	compare RESULT, 1
	jumpeq FallarborTown_ContestLobby_EventScript_1AE17E
	copyvar 0x8009, 0x8006
	msgbox FallarborTown_ContestLobby_Text_1A6F7C, 5
	compare RESULT, 1
	jumpeq FallarborTown_ContestLobby_EventScript_1AE0F8
	compare RESULT, 0
	jumpeq FallarborTown_ContestLobby_EventScript_1AE12D
	end

FallarborTown_ContestLobby_EventScript_1AE0F8:: @ 81AE0F8
	msgbox FallarborTown_ContestLobby_Text_1A704E, 4
	setvar 0x8004, 11
	copyvar 0x8005, 0x8009
	setvar 0x8006, 0
	call FallarborTown_ContestLobby_EventScript_1A00F3
	lock
	faceplayer
	compare RESULT, 1
	jumpeq FallarborTown_ContestLobby_EventScript_1AE137
	compare RESULT, 0
	jumpeq FallarborTown_ContestLobby_EventScript_1AE12D
	end

FallarborTown_ContestLobby_EventScript_1AE12D:: @ 81AE12D
	msgbox FallarborTown_ContestLobby_Text_1A7256, 4
	release
	end

FallarborTown_ContestLobby_EventScript_1AE137:: @ 81AE137
	setvar 0x8004, 24
	special 70
	msgbox FallarborTown_ContestLobby_Text_1A70A5, 4
	setvar 0x8004, 11
	copyvar 0x8005, 0x8009
	setvar 0x8006, 1
	call FallarborTown_ContestLobby_EventScript_1A00F3
	lock
	faceplayer
	compare RESULT, 0
	jumpeq FallarborTown_ContestLobby_EventScript_1AE12D
	msgbox FallarborTown_ContestLobby_Text_1A7153, 4
	setflag 2
	setvar 0x8005, 6
	jump FallarborTown_ContestLobby_EventScript_1ADE46
	end

FallarborTown_ContestLobby_EventScript_1AE17E:: @ 81AE17E
	msgbox FallarborTown_ContestLobby_Text_1A72A8, 4
	release
	end

FallarborTown_ContestLobby_EventScript_1AE188:: @ 81AE188
LilycoveCity_ContestLobby_EventScript_1AE188:: @ 81AE188
SlateportCity_ContestLobby_EventScript_1AE188:: @ 81AE188
VerdanturfTown_ContestLobby_EventScript_1AE188:: @ 81AE188
	compare 0x4086, 2
	jumpif 5, FallarborTown_ContestLobby_EventScript_1AE1FE
	setvar 0x8005, 6
	special 67
	compare RESULT, 1
	jumpeq FallarborTown_ContestLobby_EventScript_1AE1FE
	switch 0x4088
	case 0, FallarborTown_ContestLobby_EventScript_1AE1FE
	case 2, FallarborTown_ContestLobby_EventScript_1AE1EE
	case 1, FallarborTown_ContestLobby_EventScript_1AE1F2
	case 3, FallarborTown_ContestLobby_EventScript_1AE1F6
	case 4, FallarborTown_ContestLobby_EventScript_1AE1FA
	case 5, FallarborTown_ContestLobby_EventScript_1AE1FE
	end

FallarborTown_ContestLobby_EventScript_1AE1EE:: @ 81AE1EE
	clearflag 800
	return

FallarborTown_ContestLobby_EventScript_1AE1F2:: @ 81AE1F2
	clearflag 801
	return

FallarborTown_ContestLobby_EventScript_1AE1F6:: @ 81AE1F6
	clearflag 803
	return

FallarborTown_ContestLobby_EventScript_1AE1FA:: @ 81AE1FA
	clearflag 802
	return

FallarborTown_ContestLobby_EventScript_1AE1FE:: @ 81AE1FE
	return

BattleTower_Lobby_EventScript_1AE1FF:: @ 81AE1FF
	lock
	faceplayer
	checkflag 2
	jumpeq BattleTower_Lobby_EventScript_1AE2E3
	setvar 0x8005, 7
	special 67
	compare RESULT, 1
	jumpeq BattleTower_Lobby_EventScript_1AE2E3
	copyvar 0x8009, 0x8006
	msgbox BattleTower_Lobby_Text_1A776D, 5
	compare RESULT, 1
	jumpeq BattleTower_Lobby_EventScript_1AE241
	compare RESULT, 0
	jumpeq BattleTower_Lobby_EventScript_1AE297
	end

BattleTower_Lobby_EventScript_1AE241:: @ 81AE241
	message BattleTower_Lobby_Text_1A7823
	waittext
	multichoice 19, 8, 45, 1
	copyvar 0x8008, RESULT
	compare RESULT, 0
	callif 1, BattleTower_Lobby_EventScript_1AE2A1
	compare RESULT, 1
	callif 1, BattleTower_Lobby_EventScript_1AE2AA
	msgbox BattleTower_Lobby_Text_1A79EB, 4
	setvar 0x8004, 12
	copyvar 0x8005, 0x8009
	call BattleTower_Lobby_EventScript_1A00F3
	lock
	faceplayer
	compare RESULT, 1
	jumpeq BattleTower_Lobby_EventScript_1AE2B3
	compare RESULT, 0
	jumpeq BattleTower_Lobby_EventScript_1AE2D9
	end

BattleTower_Lobby_EventScript_1AE297:: @ 81AE297
	msgbox BattleTower_Lobby_Text_1A78B7, 4
	release
	end

BattleTower_Lobby_EventScript_1AE2A1:: @ 81AE2A1
	msgbox BattleTower_Lobby_Text_1A791B, 4
	return

BattleTower_Lobby_EventScript_1AE2AA:: @ 81AE2AA
	msgbox BattleTower_Lobby_Text_1A7990, 4
	return

BattleTower_Lobby_EventScript_1AE2B3:: @ 81AE2B3
	compare RESULT, 0
	jumpeq BattleTower_Lobby_EventScript_1AE2D9
	msgbox BattleTower_Lobby_Text_1A7A6E, 4
	setflag 2
	copyvar 0x8004, 0x8008
	setvar 0x8005, 7
	jump BattleTower_Lobby_EventScript_1ADE46
	end

BattleTower_Lobby_EventScript_1AE2D9:: @ 81AE2D9
	msgbox BattleTower_Lobby_Text_1A7AE0, 4
	release
	end

BattleTower_Lobby_EventScript_1AE2E3:: @ 81AE2E3
	msgbox BattleTower_Lobby_Text_1A7B66, 4
	release
	end

BattleTower_Lobby_EventScript_1AE2ED:: @ 81AE2ED
	compare 0x40bc, 0
	jumpeq BattleTower_Lobby_EventScript_1AE30F
	setvar 0x8005, 7
	special 67
	compare RESULT, 1
	jumpeq BattleTower_Lobby_EventScript_1AE30F
	clearflag 918
	return

BattleTower_Lobby_EventScript_1AE30F:: @ 81AE30F
	setflag 918
	return

Route111_EventScript_1AE313:: @ 81AE313
Route118_EventScript_1AE313:: @ 81AE313
Route120_EventScript_1AE313:: @ 81AE313
	settrainerflag 56
	specialval RESULT, 172
	switch RESULT
	case 0, Route111_EventScript_1AE384
	case 1, Route111_EventScript_1AE38A
	case 2, Route111_EventScript_1AE395
	case 3, Route111_EventScript_1AE3A0
	case 4, Route111_EventScript_1AE3AB
	case 5, Route111_EventScript_1AE3B6
	case 6, Route111_EventScript_1AE3C1
	case 7, Route111_EventScript_1AE3CC
	case 8, Route111_EventScript_1AE3D7
	end

Route111_EventScript_1AE384:: @ 81AE384
	call Route111_EventScript_1AE3E6
	return

Route111_EventScript_1AE38A:: @ 81AE38A
	call Route111_EventScript_1AE3EE
	call Route111_EventScript_1AE3E2
	return

Route111_EventScript_1AE395:: @ 81AE395
	call Route111_EventScript_1AE3F6
	call Route111_EventScript_1AE3EA
	return

Route111_EventScript_1AE3A0:: @ 81AE3A0
	call Route111_EventScript_1AE3FE
	call Route111_EventScript_1AE3F2
	return

Route111_EventScript_1AE3AB:: @ 81AE3AB
	call Route111_EventScript_1AE406
	call Route111_EventScript_1AE3FA
	return

Route111_EventScript_1AE3B6:: @ 81AE3B6
	call Route111_EventScript_1AE40E
	call Route111_EventScript_1AE402
	return

Route111_EventScript_1AE3C1:: @ 81AE3C1
	call Route111_EventScript_1AE416
	call Route111_EventScript_1AE40A
	return

Route111_EventScript_1AE3CC:: @ 81AE3CC
	call Route111_EventScript_1AE41E
	call Route111_EventScript_1AE412
	return

Route111_EventScript_1AE3D7:: @ 81AE3D7
	call Route111_EventScript_1AE40E
	call Route111_EventScript_1AE41A
	return

Route111_EventScript_1AE3E2:: @ 81AE3E2
	setflag 796
	return

Route111_EventScript_1AE3E6:: @ 81AE3E6
	clearflag 796
	return

Route111_EventScript_1AE3EA:: @ 81AE3EA
	setflag 797
	return

Route111_EventScript_1AE3EE:: @ 81AE3EE
	clearflag 797
	return

Route111_EventScript_1AE3F2:: @ 81AE3F2
	setflag 798
	return

Route111_EventScript_1AE3F6:: @ 81AE3F6
	clearflag 798
	return

Route111_EventScript_1AE3FA:: @ 81AE3FA
	setflag 799
	return

Route111_EventScript_1AE3FE:: @ 81AE3FE
	clearflag 799
	return

Route111_EventScript_1AE402:: @ 81AE402
	setflag 901
	return

Route111_EventScript_1AE406:: @ 81AE406
	clearflag 901
	return

Route111_EventScript_1AE40A:: @ 81AE40A
	setflag 902
	return

Route111_EventScript_1AE40E:: @ 81AE40E
	clearflag 902
	return

Route111_EventScript_1AE412:: @ 81AE412
	setflag 903
	return

Route111_EventScript_1AE416:: @ 81AE416
	clearflag 903
	return

Route111_EventScript_1AE41A:: @ 81AE41A
	setflag 904
	return

Route111_EventScript_1AE41E:: @ 81AE41E
	clearflag 904
	return

Route111_EventScript_1AE422:: @ 81AE422
	trainerbattle 6, 51, 0, Route111_Text_1ABED8, Route111_Text_1ABFD3, Route111_Text_1AC5CA, Route111_EventScript_1AE5A2
	msgbox Route111_Text_1AC59E, 4
	release
	end

Route111_EventScript_1AE442:: @ 81AE442
	trainerbattle 6, 51, 0, Route111_Text_1AC73B, Route111_Text_1AC892, Route111_Text_1AC820, Route111_EventScript_1AE5A2
	msgbox Route111_Text_1AC7E4, 4
	release
	end

Route118_EventScript_1AE462:: @ 81AE462
	trainerbattle 6, 52, 0, Route118_Text_1ABF50, Route118_Text_1AC6F8, Route118_Text_1AC5CA, Route118_EventScript_1AE60F
	msgbox Route118_Text_1AC59E, 4
	release
	end

Route118_EventScript_1AE482:: @ 81AE482
	trainerbattle 6, 52, 0, Route118_Text_1AC790, Route118_Text_1AC8D7, Route118_Text_1AC820, Route118_EventScript_1AE60F
	msgbox Route118_Text_1AC7E4, 4
	release
	end

Route120_EventScript_1AE4A2:: @ 81AE4A2
	trainerbattle 6, 53, 0, Route120_Text_1ABF50, Route120_Text_1AC6F8, Route120_Text_1AC5CA, Route120_EventScript_1AE60F
	msgbox Route120_Text_1AC59E, 4
	release
	end

Route120_EventScript_1AE4C2:: @ 81AE4C2
	trainerbattle 6, 53, 0, Route120_Text_1AC790, Route120_Text_1AC8D7, Route120_Text_1AC820, Route120_EventScript_1AE60F
	msgbox Route120_Text_1AC7E4, 4
	release
	end

Route111_EventScript_1AE4E2:: @ 81AE4E2
	trainerbattle 6, 54, 0, Route111_Text_1ABF50, Route111_Text_1AC6F8, Route111_Text_1AC5CA, Route111_EventScript_1AE60F
	msgbox Route111_Text_1AC59E, 4
	release
	end

Route111_EventScript_1AE502:: @ 81AE502
	trainerbattle 6, 54, 0, Route111_Text_1AC790, Route111_Text_1AC8D7, Route111_Text_1AC820, Route111_EventScript_1AE60F
	msgbox Route111_Text_1AC7E4, 4
	release
	end

Route118_EventScript_1AE522:: @ 81AE522
	trainerbattle 6, 55, 0, Route118_Text_1ABF50, Route118_Text_1AC6F8, Route118_Text_1AC5CA, Route118_EventScript_1AE60F
	msgbox Route118_Text_1AC59E, 4
	release
	end

Route118_EventScript_1AE542:: @ 81AE542
	trainerbattle 6, 55, 0, Route118_Text_1AC790, Route118_Text_1AC8D7, Route118_Text_1AC820, Route118_EventScript_1AE60F
	msgbox Route118_Text_1AC7E4, 4
	release
	end

Route111_EventScript_1AE562:: @ 81AE562
Route118_EventScript_1AE562:: @ 81AE562
Route120_EventScript_1AE562:: @ 81AE562
	trainerbattle 6, 56, 0, Route111_Text_1ABF50, Route111_Text_1AC6F8, Route111_Text_1AC5CA, Route111_EventScript_1AE60F
	msgbox Route111_Text_1AC59E, 4
	release
	end

Route111_EventScript_1AE582:: @ 81AE582
Route118_EventScript_1AE582:: @ 81AE582
Route120_EventScript_1AE582:: @ 81AE582
	trainerbattle 6, 56, 0, Route111_Text_1AC790, Route111_Text_1AC8D7, Route111_Text_1AC820, Route111_EventScript_1AE60F
	msgbox Route111_Text_1AC7E4, 4
	release
	end

Route111_EventScript_1AE5A2:: @ 81AE5A2
	special 174
	special 179
	compare FACING, 2
	callif 1, Route111_EventScript_1AE5E0
	compare FACING, 1
	callif 1, Route111_EventScript_1AE5EB
	compare FACING, 4
	callif 1, Route111_EventScript_1AE5FD
	checkflag 1
	jumpeq Route111_EventScript_1AE73A
	msgbox Route111_Text_1AC015, 5
	jump Route111_EventScript_1AE6F3
	end

Route111_EventScript_1AE5E0:: @ 81AE5E0
	move 0x8004, Route111_Movement_1AE699
	waitmove 0
	return

Route111_EventScript_1AE5EB:: @ 81AE5EB
	move 0x8004, Route111_Movement_1AE69B
	move 0x8005, Route111_Movement_1A0841
	waitmove 0
	return

Route111_EventScript_1AE5FD:: @ 81AE5FD
	move 0x8004, Route111_Movement_1AE69D
	move 0x8005, Route111_Movement_1A083F
	waitmove 0
	return

Route111_EventScript_1AE60F:: @ 81AE60F
Route118_EventScript_1AE60F:: @ 81AE60F
Route120_EventScript_1AE60F:: @ 81AE60F
	special 174
	special 179
	compare FACING, 2
	callif 1, Route111_EventScript_1AE5E0
	compare FACING, 1
	callif 1, Route111_EventScript_1AE5EB
	compare FACING, 4
	callif 1, Route111_EventScript_1AE5FD
	checkflag 1
	jumpeq Route111_EventScript_1AE73A
	specialval RESULT, 177
	compare RESULT, 0
	jumpeq Route111_EventScript_1AE69F
	msgbox Route111_Text_1AC10A, 4
	specialval RESULT, 178
	switch RESULT
	case 0, Route111_EventScript_1AE6AD
	case 1, Route111_EventScript_1AE6BB
	case 2, Route111_EventScript_1AE6C9
	case 3, Route111_EventScript_1AE6D7
	case 4, Route111_EventScript_1AE6E5
	end

Route111_Movement_1AE699:: @ 81AE699
	step_1d
	step_end

Route111_Movement_1AE69B:: @ 81AE69B
	step_1e
	step_end

Route111_Movement_1AE69D:: @ 81AE69D
	step_1f
	step_end

Route111_EventScript_1AE69F:: @ 81AE69F
	msgbox Route111_Text_1AC60B, 5
	jump Route111_EventScript_1AE6F3
	end

Route111_EventScript_1AE6AD:: @ 81AE6AD
	msgbox Route111_Text_1AC3CF, 5
	jump Route111_EventScript_1AE6F3
	end

Route111_EventScript_1AE6BB:: @ 81AE6BB
	msgbox Route111_Text_1AC18D, 5
	jump Route111_EventScript_1AE6F3
	end

Route111_EventScript_1AE6C9:: @ 81AE6C9
	msgbox Route111_Text_1AC219, 5
	jump Route111_EventScript_1AE6F3
	end

Route111_EventScript_1AE6D7:: @ 81AE6D7
	msgbox Route111_Text_1AC2D6, 5
	jump Route111_EventScript_1AE6F3
	end

Route111_EventScript_1AE6E5:: @ 81AE6E5
	msgbox Route111_Text_1AC355, 5
	jump Route111_EventScript_1AE6F3
	end

Route111_EventScript_1AE6F3:: @ 81AE6F3
	compare RESULT, 0
	jumpeq Route111_EventScript_1AE72D
	msgbox Route111_Text_1AC40F, 4
	setvar 0x8004, 10
	call Route111_EventScript_1A00F3
	lock
	faceplayer
	compare RESULT, 0
	jumpeq Route111_EventScript_1AE72D
	msgbox Route111_Text_1AC487, 4
	special 173
	setflag 1
	release
	end

Route111_EventScript_1AE72D:: @ 81AE72D
	msgbox Route111_Text_1AC553, 4
	setflag 1
	release
	end

Route111_EventScript_1AE73A:: @ 81AE73A
	msgbox Route111_Text_1AC59E, 4
	release
	end

MauvilleCity_PokemonCenter_1F_EventScript_1AE744:: @ 81AE744
	special 97
	switch RESULT
	case 0, MauvilleCity_PokemonCenter_1F_EventScript_1AE784
	case 1, MauvilleCity_PokemonCenter_1F_EventScript_1AE845
	case 2, MauvilleCity_PokemonCenter_1F_EventScript_1AEBAB
	case 3, MauvilleCity_PokemonCenter_1F_EventScript_1B0816
	case 4, MauvilleCity_PokemonCenter_1F_EventScript_1B09EB
	end

MauvilleCity_PokemonCenter_1F_EventScript_1AE784:: @ 81AE784
	lock
	faceplayer
	msgbox MauvilleCity_PokemonCenter_1F_Text_1B0A91, 5
	compare RESULT, 1
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1AE7A5
	compare RESULT, 0
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1AE7C8
	end

MauvilleCity_PokemonCenter_1F_EventScript_1AE7A5:: @ 81AE7A5
	setvar 0x8004, 0
	special 103
	pause 60
	special 98
	compare RESULT, 0
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1AE7D2
	msgbox MauvilleCity_PokemonCenter_1F_Text_1B0AED, 4
	release
	end

MauvilleCity_PokemonCenter_1F_EventScript_1AE7C8:: @ 81AE7C8
	msgbox MauvilleCity_PokemonCenter_1F_Text_1B0AC3, 4
	release
	end

MauvilleCity_PokemonCenter_1F_EventScript_1AE7D2:: @ 81AE7D2
	msgbox MauvilleCity_PokemonCenter_1F_Text_1B0B2C, 5
	compare RESULT, 1
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1AE7F1
	compare RESULT, 0
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1AE83B
	end

MauvilleCity_PokemonCenter_1F_EventScript_1AE7F1:: @ 81AE7F1
	setvar 0x8004, 6
	call MauvilleCity_PokemonCenter_1F_EventScript_1A00F3
	lock
	faceplayer
	compare RESULT, 0
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1AE83B
	msgbox MauvilleCity_PokemonCenter_1F_Text_1B0BD0, 4
	setvar 0x8004, 1
	special 103
	pause 60
	msgbox MauvilleCity_PokemonCenter_1F_Text_1B0BFA, 5
	compare RESULT, 0
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1AE7F1
	special 99
	msgbox MauvilleCity_PokemonCenter_1F_Text_1B0C23, 4
	release
	end

MauvilleCity_PokemonCenter_1F_EventScript_1AE83B:: @ 81AE83B
	msgbox MauvilleCity_PokemonCenter_1F_Text_1B0BA6, 4
	release
	end

MauvilleCity_PokemonCenter_1F_EventScript_1AE845:: @ 81AE845
	lock
	faceplayer
	setflag 2054
	msgbox MauvilleCity_PokemonCenter_1F_Text_1B0C5B, 4
	special 100
	compare RESULT, 0
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1AE86A
	msgbox MauvilleCity_PokemonCenter_1F_Text_1B0CA7, 4
	release
	end

MauvilleCity_PokemonCenter_1F_EventScript_1AE86A:: @ 81AE86A
	special 102
	compare RESULT, 1
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1AE882
	msgbox MauvilleCity_PokemonCenter_1F_Text_1B0D11, 4
	release
	end

MauvilleCity_PokemonCenter_1F_EventScript_1AE882:: @ 81AE882
	msgbox MauvilleCity_PokemonCenter_1F_Text_1B0D75, 4
	special 101
	release
	end

MauvilleCity_PokemonCenter_1F_Text_1AE88F:: @ 81AE88F
	.string "Hi, I’m the TRADER.\n"
	.string "Want to trade decorations with me?$"

MauvilleCity_PokemonCenter_1F_Text_1AE8C6:: @ 81AE8C6
	.string "Oh...\n"
	.string "I feel unwanted...$"

MauvilleCity_PokemonCenter_1F_Text_1AE8DF:: @ 81AE8DF
	.string "But we’ve traded decorations already,\n"
	.string "you and I.$"

MauvilleCity_PokemonCenter_1F_Text_1AE910:: @ 81AE910
	.string "If you see any decorative item that\n"
	.string "you want of mine, speak up.$"

MauvilleCity_PokemonCenter_1F_Text_1AE950:: @ 81AE950
	.string "You don’t want anything?\n"
	.string "I feel unwanted...$"

MauvilleCity_PokemonCenter_1F_Text_1AE97C:: @ 81AE97C
	.string "That decorative item once belonged\n"
	.string "to {STR_VAR_1}.\p"
	.string "Do you want it?$"

MauvilleCity_PokemonCenter_1F_Text_1AE9B6:: @ 81AE9B6
	.string "Uh... Wait a second. You don’t have a\n"
	.string "single piece of decoration!$"

MauvilleCity_PokemonCenter_1F_Text_1AE9F8:: @ 81AE9F8
	.string "Okay, pick the decoration that you’ll\n"
	.string "trade to me.$"

MauvilleCity_PokemonCenter_1F_Text_1AEA2B:: @ 81AEA2B
	.string "You won’t trade with me?\n"
	.string "I feel unwanted...$"

MauvilleCity_PokemonCenter_1F_Text_1AEA57:: @ 81AEA57
	.string "You’ve got all the {STR_VAR_2}S that can\n"
	.string "be stored. You’ve no room for this.$"

MauvilleCity_PokemonCenter_1F_Text_1AEA9B:: @ 81AEA9B
	.string "Okay, so we’ll trade my {STR_VAR_3}\n"
	.string "for your {STR_VAR_2}?$"

MauvilleCity_PokemonCenter_1F_Text_1AEAC3:: @ 81AEAC3
	.string "That piece of decoration is in use.\n"
	.string "You can’t trade it.$"

MauvilleCity_PokemonCenter_1F_Text_1AEAFB:: @ 81AEAFB
	.string "Then we’ll trade!\n"
	.string "I’ll send my decoration to your PC.$"

MauvilleCity_PokemonCenter_1F_Text_1AEB31:: @ 81AEB31
	.string "Oops! Sorry!\n"
	.string "That’s a really rare piece of decoration.\l"
	.string "I can’t trade that one away!\p"
	.string "Can I interest you in something else?$"

MauvilleCity_PokemonCenter_1F_EventScript_1AEBAB:: @ 81AEBAB
	lock
	faceplayer
	msgbox MauvilleCity_PokemonCenter_1F_Text_1AE88F, 5
	compare RESULT, 0
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1AEBDA
	special 114
	compare RESULT, 1
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1AEBE3
	message MauvilleCity_PokemonCenter_1F_Text_1AE910
	waittext
	jump MauvilleCity_PokemonCenter_1F_EventScript_1AEBEC
	end

MauvilleCity_PokemonCenter_1F_EventScript_1AEBDA:: @ 81AEBDA
	msgbox MauvilleCity_PokemonCenter_1F_Text_1AE8C6, 2
	end

MauvilleCity_PokemonCenter_1F_EventScript_1AEBE3:: @ 81AEBE3
	msgbox MauvilleCity_PokemonCenter_1F_Text_1AE8DF, 2
	end

MauvilleCity_PokemonCenter_1F_EventScript_1AEBEC:: @ 81AEBEC
	special 113
	waitstate
	compare 0x8004, 0
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1AEC2D
	compare 0x8004, 65535
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1AEC36
	msgbox MauvilleCity_PokemonCenter_1F_Text_1AE97C, 5
	compare RESULT, 0
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1AEC42
	special 115
	compare RESULT, 1
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1AEC4E
	jump MauvilleCity_PokemonCenter_1F_EventScript_1AEC57
	end

MauvilleCity_PokemonCenter_1F_EventScript_1AEC2D:: @ 81AEC2D
	msgbox MauvilleCity_PokemonCenter_1F_Text_1AE950, 2
	end

MauvilleCity_PokemonCenter_1F_EventScript_1AEC36:: @ 81AEC36
	message MauvilleCity_PokemonCenter_1F_Text_1AEB31
	waittext
	jump MauvilleCity_PokemonCenter_1F_EventScript_1AEBEC
	end

MauvilleCity_PokemonCenter_1F_EventScript_1AEC42:: @ 81AEC42
	message MauvilleCity_PokemonCenter_1F_Text_1AE910
	waittext
	jump MauvilleCity_PokemonCenter_1F_EventScript_1AEBEC
	end

MauvilleCity_PokemonCenter_1F_EventScript_1AEC4E:: @ 81AEC4E
	msgbox MauvilleCity_PokemonCenter_1F_Text_1AE9B6, 2
	end

MauvilleCity_PokemonCenter_1F_EventScript_1AEC57:: @ 81AEC57
	msgbox MauvilleCity_PokemonCenter_1F_Text_1AE9F8, 4
	special 117
	waitstate
	compare 0x8006, 0
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1AECA6
	compare 0x8006, 65535
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1AECAF
	special 116
	compare RESULT, 1
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1AECBD
	msgbox MauvilleCity_PokemonCenter_1F_Text_1AEA9B, 5
	compare RESULT, 0
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1AEC57
	special 118
	msgbox MauvilleCity_PokemonCenter_1F_Text_1AEAFB, 2
	end

MauvilleCity_PokemonCenter_1F_EventScript_1AECA6:: @ 81AECA6
	msgbox MauvilleCity_PokemonCenter_1F_Text_1AEA2B, 2
	end

MauvilleCity_PokemonCenter_1F_EventScript_1AECAF:: @ 81AECAF
	msgbox MauvilleCity_PokemonCenter_1F_Text_1AEAC3, 4
	jump MauvilleCity_PokemonCenter_1F_EventScript_1AEC57
	end

MauvilleCity_PokemonCenter_1F_EventScript_1AECBD:: @ 81AECBD
	msgbox MauvilleCity_PokemonCenter_1F_Text_1AEA57, 2
	end

MauvilleCity_PokemonCenter_1F_Text_1AECC6:: @ 81AECC6
	.string "I’m the STORYTELLER.\n"
	.string "I’ll tell you tales of legendary\l"
	.string "TRAINERS.\p"
	.string "Will you hear my tale?$"

MauvilleCity_PokemonCenter_1F_Text_1AED1D:: @ 81AED1D
	.string "Oh...\n"
	.string "I feel stifled...$"

MauvilleCity_PokemonCenter_1F_Text_1AED35:: @ 81AED35
	.string "I know of these legends.\n"
	.string "Which tale will you have me tell?$"

MauvilleCity_PokemonCenter_1F_Text_1AED70:: @ 81AED70
	.string "But, I know of no legendary TRAINERS.\n"
	.string "Hence, I know no tales.\p"
	.string "Where does one find a TRAINER worthy\n"
	.string "of a legendary tale?$"

MauvilleCity_PokemonCenter_1F_Text_1AEDE8:: @ 81AEDE8
	.string "What’s that?!\n"
	.string "You... You...\p"
	.string "{STR_VAR_2}\n"
	.string "{STR_VAR_1} time(s)?!\p"
	.string "That is indeed magnificent!\n"
	.string "It’s the birth of a new legend!$"

MauvilleCity_PokemonCenter_1F_Text_1AEE50:: @ 81AEE50
	.string "It gets me thinking, could there be\n"
	.string "other TRAINERS with more impressive\l"
	.string "legends awaiting discovery?$"

MauvilleCity_PokemonCenter_1F_Text_1AEEB4:: @ 81AEEB4
	.string "Are you a TRAINER?\p"
	.string "Then tell me, have you any tales that\n"
	.string "are even remotely legendary?$"

MauvilleCity_PokemonCenter_1F_Text_1AEF0A:: @ 81AEF0A
	.string "Incidentally... Would you care to hear\n"
	.string "another legendary tale?$"

MauvilleCity_PokemonCenter_1F_Text_1AEF49:: @ 81AEF49
	.string "Hmm...\n"
	.string "I’m not satisfied...\p"
	.string "I wish you would bring me news worthy\n"
	.string "of being called a legend.$"

MauvilleCity_PokemonCenter_1F_Text_1AEFA5:: @ 81AEFA5
	.string "I wish more people would be interested\n"
	.string "in hearing my epic tales of legendary\l"
	.string "TRAINERS.$"

UnknownString_81AEFFC: @ 81AEFFC
	.string "The Save-Happy TRAINER$"

UnknownString_81AF013: @ 81AF013
	.string "Saved the game$"

UnknownString_81AF022: @ 81AF022
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER saved the game\n"
	.string "{STR_VAR_1} times!\p"
	.string "A more cautious TRAINER than\n"
	.string "{STR_VAR_3} one will never find!$"

UnknownString_81AF0A3: @ 81AF0A3
	.string "The Trendsetter TRAINER$"

UnknownString_81AF0BB: @ 81AF0BB
	.string "Started trends$"

UnknownString_81AF0CA: @ 81AF0CA
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER started new trends\n"
	.string "{STR_VAR_1} times!\p"
	.string "{STR_VAR_3} is setting trends for all\n"
	.string "the HOENN region!$"

UnknownString_81AF149: @ 81AF149
	.string "The BERRY-Planting TRAINER$"

UnknownString_81AF164: @ 81AF164
	.string "Planted BERRIES$"

UnknownString_81AF174: @ 81AF174
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER planted BERRIES\n"
	.string "{STR_VAR_1} times!\p"
	.string "{STR_VAR_3} is a legendary lover of\n"
	.string "BERRIES!$"

UnknownString_81AF1E5: @ 81AF1E5
	.string "The BIKE-Loving TRAINER$"

UnknownString_81AF1FD: @ 81AF1FD
	.string "Traded BIKES$"

UnknownString_81AF20A: @ 81AF20A
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER swapped BIKES\n"
	.string "{STR_VAR_1} times!\p"
	.string "{STR_VAR_3} must love BIKES deeply\n"
	.string "and passionately!$"

UnknownString_81AF281: @ 81AF281
	.string "The Interviewed TRAINER$"

UnknownString_81AF299: @ 81AF299
	.string "Got interviewed$"

UnknownString_81AF2A9: @ 81AF2A9
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER got interviewed\n"
	.string "{STR_VAR_1} times!\p"
	.string "{STR_VAR_3} must be a TRAINER who’s\n"
	.string "attracting much attention!$"

UnknownString_81AF32C: @ 81AF32C
	.string "The Battle-Happy TRAINER$"

UnknownString_81AF345: @ 81AF345
	.string "Battled$"

UnknownString_81AF34D: @ 81AF34D
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER battled {STR_VAR_1} times!\p"
	.string "{STR_VAR_3} must be a TRAINER who can\n"
	.string "never refuse a chance to battle!$"

UnknownString_81AF3D0: @ 81AF3D0
	.string "The POKéMON-Catching TRAINER$"

UnknownString_81AF3ED: @ 81AF3ED
	.string "Caught POKéMON$"

UnknownString_81AF3FC: @ 81AF3FC
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER caught\n"
	.string "{STR_VAR_1} POKéMON!\p"
	.string "{STR_VAR_3} is a legendary catcher of\n"
	.string "wild POKéMON!$"

UnknownString_81AF46D: @ 81AF46D
	.string "The Fishing TRAINER$"

UnknownString_81AF481: @ 81AF481
	.string "Caught POKéMON with a ROD$"

UnknownString_81AF49B: @ 81AF49B
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER caught\n"
	.string "{STR_VAR_1} POKéMON while fishing!\p"
	.string "{STR_VAR_3} is a legendary fishing\n"
	.string "expert!$"

UnknownString_81AF511: @ 81AF511
	.string "The EGG-Warming TRAINER$"

UnknownString_81AF529: @ 81AF529
	.string "Hatched EGGS$"

UnknownString_81AF536: @ 81AF536
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER hatched {STR_VAR_1} POKéMON\n"
	.string "from EGGS!\p"
	.string "{STR_VAR_3} is a legendary warmer\n"
	.string "of EGGS!$"

UnknownString_81AF5A9: @ 81AF5A9
	.string "The Evolver TRAINER$"

UnknownString_81AF5BD: @ 81AF5BD
	.string "Evolved POKéMON$"

UnknownString_81AF5CD: @ 81AF5CD
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER made {STR_VAR_1} POKéMON\n"
	.string "evolve!\p"
	.string "{STR_VAR_3} is the ultimate evolver\n"
	.string "of POKéMON!$"

UnknownString_81AF63F: @ 81AF63F
	.string "The POKéMON CENTER-Loving TRAINER$"

UnknownString_81AF661: @ 81AF661
	.string "Used POKéMON CENTERS$"

UnknownString_81AF676: @ 81AF676
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER healed POKéMON\n"
	.string "{STR_VAR_1} times at POKéMON CENTERS!\p"
	.string "There could be no greater lover of\n"
	.string "POKéMON CENTERS than {STR_VAR_3}!$"

UnknownString_81AF711: @ 81AF711
	.string "The Homebody TRAINER$"

UnknownString_81AF726: @ 81AF726
	.string "Rested POKéMON at home$"

UnknownString_81AF73D: @ 81AF73D
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER healed POKéMON\n"
	.string "{STR_VAR_1} times at home!\p"
	.string "There could be no more of a homebody\n"
	.string "than {STR_VAR_3}!$"

UnknownString_81AF7BF: @ 81AF7BF
	.string "The SAFARI-Loving TRAINER$"

UnknownString_81AF7D9: @ 81AF7D9
	.string "Entered the SAFARI ZONE$"

UnknownString_81AF7F1: @ 81AF7F1
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER went into the SAFARI ZONE\n"
	.string "{STR_VAR_1} times!\p"
	.string "{STR_VAR_3} is a TRAINER whose wild side\n"
	.string "must come out in the SAFARI ZONE!$"

UnknownString_81AF88A: @ 81AF88A
	.string "The CUT-Frenzy TRAINER$"

UnknownString_81AF8A1: @ 81AF8A1
	.string "Used CUT$"

UnknownString_81AF8AA: @ 81AF8AA
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER used CUT\n"
	.string "{STR_VAR_1} times!\p"
	.string "{STR_VAR_3} is a TRAINER who just must\n"
	.string "love to CUT!$"

UnknownString_81AF91B: @ 81AF91B
	.string "The ROCK-SMASHING TRAINER$"

UnknownString_81AF935: @ 81AF935
	.string "Smashed rocks$"

UnknownString_81AF943: @ 81AF943
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER used ROCK SMASH\n"
	.string "{STR_VAR_1} times!\p"
	.string "{STR_VAR_3} must be a TRAINER who\n"
	.string "can’t leave a stone unsmashed!$"

UnknownString_81AF9C8: @ 81AF9C8
	.string "The Move-Loving TRAINER$"

UnknownString_81AF9E0: @ 81AF9E0
	.string "Moved the SECRET BASE$"

UnknownString_81AF9F6: @ 81AF9F6
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER moved the SECRET BASE\n"
	.string "{STR_VAR_1} times!\p"
	.string "{STR_VAR_3} is a TRAINER who loves\n"
	.string "to move houses often!$"

UnknownString_81AFA79: @ 81AFA79
	.string "The SPLASH-Happy TRAINER$"

UnknownString_81AFA92: @ 81AFA92
	.string "Used SPLASH$"

UnknownString_81AFA9E: @ 81AFA9E
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER used SPLASH\n"
	.string "{STR_VAR_1} times!\p"
	.string "{STR_VAR_3} is a TRAINER who must love\n"
	.string "SPLASHING around!$"

UnknownString_81AFB17: @ 81AFB17
	.string "The Tenacious TRAINER$"

UnknownString_81AFB2D: @ 81AFB2D
	.string "Resorted to using STRUGGLE$"

UnknownString_81AFB48: @ 81AFB48
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER had to rely on STRUGGLE\n"
	.string "{STR_VAR_1} times!\p"
	.string "{STR_VAR_3} is a tenacious TRAINER\n"
	.string "who never gives in to adversity!$"

UnknownString_81AFBD8: @ 81AFBD8
	.string "The SLOT Champ$"

UnknownString_81AFBE7: @ 81AFBE7
	.string "Won the jackpot on the SLOTS$"

UnknownString_81AFC04: @ 81AFC04
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER won the jackpot on\n"
	.string "the SLOTS {STR_VAR_1} times.\p"
	.string "{STR_VAR_3} is a TRAINER who was lucky\n"
	.string "on the SLOTS!$"

UnknownString_81AFC8A: @ 81AFC8A
	.string "The ROULETTE Champ$"

UnknownString_81AFC9D: @ 81AFC9D
	.string "Had consecutive ROULETTE wins of$"

UnknownString_81AFCBE: @ 81AFCBE
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER won in ROULETTE\n"
	.string "{STR_VAR_1} times in a row.\p"
	.string "{STR_VAR_3} was lucky when the ball\n"
	.string "bounced in ROULETTE!$"

UnknownString_81AFD44: @ 81AFD44
	.string "The BATTLE TOWER Challenger$"

UnknownString_81AFD60: @ 81AFD60
	.string "Took the BATTLE TOWER challenge$"

UnknownString_81AFD80: @ 81AFD80
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER took the BATTLE TOWER\n"
	.string "challenge {STR_VAR_1} times!\p"
	.string "{STR_VAR_3} is a TRAINER who aspires\n"
	.string "for excellence in the BATTLE TOWER!$"

UnknownString_81AFE1D: @ 81AFE1D
	.string "The Blend-Loving TRAINER$"

UnknownString_81AFE36: @ 81AFE36
	.string "Made {POKEBLOCK}S$"

UnknownString_81AFE42: @ 81AFE42
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER made {POKEBLOCK}S\n"
	.string "{STR_VAR_1} times!\p"
	.string "There is none better at using a BERRY\n"
	.string "BLENDER than {STR_VAR_3}!$"

UnknownString_81AFEC2: @ 81AFEC2
	.string "The CONTEST-Loving TRAINER$"

UnknownString_81AFEDD: @ 81AFEDD
	.string "Entered CONTESTS$"

UnknownString_81AFEEE: @ 81AFEEE
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER entered CONTESTS\n"
	.string "{STR_VAR_1} times!\p"
	.string "{STR_VAR_3} must love showing off\n"
	.string "POKéMON to others!$"

UnknownString_81AFF68: @ 81AFF68
	.string "The CONTEST Master$"

UnknownString_81AFF7B: @ 81AFF7B
	.string "Won CONTESTS$"

UnknownString_81AFF88: @ 81AFF88
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER won CONTESTS\n"
	.string "{STR_VAR_1} times!\p"
	.string "{STR_VAR_3} must be an incredible\n"
	.string "CONTEST master!$"

UnknownString_81AFFFB: @ 81AFFFB
	.string "The Happy Shopper$"

UnknownString_81B000D: @ 81B000D
	.string "Shopped$"

UnknownString_81B0015: @ 81B0015
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER bought items in shops\n"
	.string "{STR_VAR_1} times!\p"
	.string "{STR_VAR_3} must be one of those\n"
	.string "people who are born to shop.$"

UnknownString_81B009D: @ 81B009D
	.string "The Item-Finding TRAINER$"

UnknownString_81B00B6: @ 81B00B6
	.string "Used an ITEMFINDER$"

UnknownString_81B00C9: @ 81B00C9
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER used an ITEMFINDER\n"
	.string "{STR_VAR_1} times!\p"
	.string "{STR_VAR_3} must enjoy scouring the\n"
	.string "ground for hidden items!$"

UnknownString_81B014D: @ 81B014D
	.string "The Rain-Soaked TRAINER$"

UnknownString_81B0165: @ 81B0165
	.string "Got rained on$"

UnknownString_81B0173: @ 81B0173
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER got soaked by rain\n"
	.string "{STR_VAR_1} times!\p"
	.string "{STR_VAR_3}’s charisma must even\n"
	.string "attract rain!$"

UnknownString_81B01E9: @ 81B01E9
	.string "The Avid POKéDEX Reader$"

UnknownString_81B0201: @ 81B0201
	.string "Checked a POKéDEX$"

UnknownString_81B0213: @ 81B0213
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER checked a POKéDEX\n"
	.string "{STR_VAR_1} times!\p"
	.string "{STR_VAR_3} must love inspecting\n"
	.string "POKéMON in a POKéDEX!$"

UnknownString_81B0290: @ 81B0290
	.string "The RIBBON Collector$"

UnknownString_81B02A5: @ 81B02A5
	.string "Received RIBBONS$"

UnknownString_81B02B6: @ 81B02B6
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER received RIBBONS\n"
	.string "{STR_VAR_1} times!\p"
	.string "{STR_VAR_3} must be a TRAINER who\n"
	.string "loves to collect RIBBONS!$"

UnknownString_81B0337: @ 81B0337
	.string "The Ledge-Jumping TRAINER$"

UnknownString_81B0351: @ 81B0351
	.string "Jumped down ledges$"

UnknownString_81B0364: @ 81B0364
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER jumped down ledges\n"
	.string "{STR_VAR_1} times!\p"
	.string "If there’s a ledge to be jumped,\n"
	.string "{STR_VAR_3} can’t ignore it!$"

UnknownString_81B03E9: @ 81B03E9
	.string "The Legendary TV Viewer$"

UnknownString_81B0401: @ 81B0401
	.string "Watched TV$"

UnknownString_81B040C: @ 81B040C
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER watched TV\n"
	.string "{STR_VAR_1} times!\p"
	.string "{STR_VAR_3} must love watching TV!$"

UnknownString_81B046E: @ 81B046E
	.string "The Time-Conscious TRAINER$"

UnknownString_81B0489: @ 81B0489
	.string "Checked the time$"

UnknownString_81B049A: @ 81B049A
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER checked the time\n"
	.string "{STR_VAR_1} times!\p"
	.string "{STR_VAR_3} must be a punctual TRAINER\n"
	.string "who’s conscious of the time.$"

UnknownString_81B0523: @ 81B0523
	.string "The POKéMON LOTTERY Wizard$"

UnknownString_81B053E: @ 81B053E
	.string "Won POKéMON LOTTERIES$"

UnknownString_81B0554: @ 81B0554
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER won POKéMON LOTTERIES\n"
	.string "{STR_VAR_1} times!\p"
	.string "{STR_VAR_3} must have many friends\n"
	.string "to trade POKéMON with!$"

UnknownString_81B05D8: @ 81B05D8
	.string "The DAY CARE-Using Trainer$"

UnknownString_81B05F3: @ 81B05F3
	.string "Left POKéMON at the DAY CARE$"

UnknownString_81B0610: @ 81B0610
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER left POKéMON with the\n"
	.string "DAY CARE {STR_VAR_1} times!\p"
	.string "{STR_VAR_3} must be a real go-getter\n"
	.string "who raises POKéMON aggressively!$"

UnknownString_81B06A9: @ 81B06A9
	.string "The CABLE CAR-Loving TRAINER$"

UnknownString_81B06C6: @ 81B06C6
	.string "Rode the CABLE CAR$"

UnknownString_81B06D9: @ 81B06D9
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER rode the CABLE CAR\n"
	.string "{STR_VAR_1} times!\p"
	.string "{STR_VAR_3} must be a busy TRAINER\n"
	.string "who’s up and down all the time!$"

UnknownString_81B0763: @ 81B0763
	.string "The Hot Spring-Loving TRAINER$"

UnknownString_81B0781: @ 81B0781
	.string "Bathed in hot springs$"

UnknownString_81B0797: @ 81B0797
	.string "This is a tale of a TRAINER\n"
	.string "named {STR_VAR_3}.\p"
	.string "This TRAINER bathed in hot springs\n"
	.string "{STR_VAR_1} times!\p"
	.string "{STR_VAR_3} must be a TRAINER with\n"
	.string "baby-smooth skin!$"

MauvilleCity_PokemonCenter_1F_EventScript_1B0816:: @ 81B0816
	setvar 0x8008, 0
	setvar 0x8009, 0
	setvar 0x800a, 0
	setvar 0x800b, 0
	lock
	faceplayer
	msgbox MauvilleCity_PokemonCenter_1F_Text_1AECC6, 5
	compare RESULT, 0
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1B0914
	specialval RESULT, 107
	compare RESULT, 0
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1B08D3

MauvilleCity_PokemonCenter_1F_EventScript_1B084F:: @ 81B084F
	message MauvilleCity_PokemonCenter_1F_Text_1AED35
	waittext
	special 109
	waitstate
	compare RESULT, 0
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1B0883
	setvar 0x8008, 1
	special 108
	waittext
	waitbutton
	specialval RESULT, 110
	compare RESULT, 0
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1B0893
	jump MauvilleCity_PokemonCenter_1F_EventScript_1B0909

MauvilleCity_PokemonCenter_1F_EventScript_1B0883:: @ 81B0883
	compare 0x8008, 0
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1B0914
	jump MauvilleCity_PokemonCenter_1F_EventScript_1B08AE

MauvilleCity_PokemonCenter_1F_EventScript_1B0893:: @ 81B0893
	msgbox MauvilleCity_PokemonCenter_1F_Text_1AEE50, 4
	msgbox MauvilleCity_PokemonCenter_1F_Text_1AEF0A, 5
	compare RESULT, 1
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1B084F

MauvilleCity_PokemonCenter_1F_EventScript_1B08AE:: @ 81B08AE
	specialval RESULT, 112
	compare RESULT, 1
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1B091F
	specialval RESULT, 107
	compare RESULT, 4
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1B091F
	jump MauvilleCity_PokemonCenter_1F_EventScript_1B08DB

MauvilleCity_PokemonCenter_1F_EventScript_1B08D3:: @ 81B08D3
	msgbox MauvilleCity_PokemonCenter_1F_Text_1AED70, 4

MauvilleCity_PokemonCenter_1F_EventScript_1B08DB:: @ 81B08DB
	msgbox MauvilleCity_PokemonCenter_1F_Text_1AEEB4, 5
	compare RESULT, 0
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1B0914
	specialval RESULT, 111
	compare RESULT, 1
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1B0909
	msgbox MauvilleCity_PokemonCenter_1F_Text_1AEF49, 4
	closebutton
	release
	end

MauvilleCity_PokemonCenter_1F_EventScript_1B0909:: @ 81B0909
	msgbox MauvilleCity_PokemonCenter_1F_Text_1AEDE8, 4
	closebutton
	release
	end

MauvilleCity_PokemonCenter_1F_EventScript_1B0914:: @ 81B0914
	msgbox MauvilleCity_PokemonCenter_1F_Text_1AED1D, 4
	closebutton
	release
	end

MauvilleCity_PokemonCenter_1F_EventScript_1B091F:: @ 81B091F
	msgbox MauvilleCity_PokemonCenter_1F_Text_1AEFA5, 4
	closebutton
	release
	end

MauvilleCity_PokemonCenter_1F_Text_1B092A:: @ 81B092A
	.string "I’m GIDDY!\n"
	.string "I have a scintillating story for you!\p"
	.string "Would you like to hear my story?$"

MauvilleCity_PokemonCenter_1F_Text_1B097C:: @ 81B097C
	.string "Oh...\n"
	.string "You’ve deflated me...$"

MauvilleCity_PokemonCenter_1F_Text_1B0998:: @ 81B0998
	.string "Also, I was thinking...$"

MauvilleCity_PokemonCenter_1F_Text_1B09B0:: @ 81B09B0
	.string "That’s about it, I think...\p"
	.string "We should chat again!\n"
	.string "Bye-bye!$"

MauvilleCity_PokemonCenter_1F_EventScript_1B09EB:: @ 81B09EB
	lock
	faceplayer
	msgbox MauvilleCity_PokemonCenter_1F_Text_1B092A, 5
	compare RESULT, 1
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1B0A0C
	compare RESULT, 0
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1B0A6F
	end

MauvilleCity_PokemonCenter_1F_EventScript_1B0A0C:: @ 81B0A0C
	special 106
	compare RESULT, 1
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1B0A4E
	compare RESULT, 0
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1B0A79
	end

MauvilleCity_PokemonCenter_1F_EventScript_1B0A26:: @ 81B0A26
	special 106
	compare RESULT, 1
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1B0A40
	compare RESULT, 0
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1B0A79
	end

MauvilleCity_PokemonCenter_1F_EventScript_1B0A40:: @ 81B0A40
	msgbox MauvilleCity_PokemonCenter_1F_Text_1B0998, 4
	jump MauvilleCity_PokemonCenter_1F_EventScript_1B0A4E
	end

MauvilleCity_PokemonCenter_1F_EventScript_1B0A4E:: @ 81B0A4E
	special 105
	special 141
	waittext
	yesnobox 20, 8
	compare RESULT, 1
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1B0A26
	compare RESULT, 0
	jumpeq MauvilleCity_PokemonCenter_1F_EventScript_1B0A26
	end

MauvilleCity_PokemonCenter_1F_EventScript_1B0A6F:: @ 81B0A6F
	msgbox MauvilleCity_PokemonCenter_1F_Text_1B097C, 4
	release
	end

MauvilleCity_PokemonCenter_1F_EventScript_1B0A79:: @ 81B0A79
	msgbox MauvilleCity_PokemonCenter_1F_Text_1B09B0, 4
	release
	end

UnknownString_81B0A83: @ 81B0A83
	.string "BARD testing!$"

MauvilleCity_PokemonCenter_1F_Text_1B0A91:: @ 81B0A91
	.string "Hi, I’m the BARD.\n"
	.string "Would you like to hear my song?$"

MauvilleCity_PokemonCenter_1F_Text_1B0AC3:: @ 81B0AC3
	.string "Oh...\n"
	.string "You’ve left me feeling the blues...$"

MauvilleCity_PokemonCenter_1F_Text_1B0AED:: @ 81B0AED
	.string "Oh, what a moving song...\n"
	.string "I wish I could play it for others...$"

MauvilleCity_PokemonCenter_1F_Text_1B0B2C:: @ 81B0B2C
	.string "So?\n"
	.string "How do you like my song?\p"
	.string "But I’m none too happy about the\n"
	.string "lyrics.\p"
	.string "How would you like to write some new\n"
	.string "lyrics for me?$"

MauvilleCity_PokemonCenter_1F_Text_1B0BA6:: @ 81B0BA6
	.string "Oh...\n"
	.string "You’ve left me feeling the blues...$"

MauvilleCity_PokemonCenter_1F_Text_1B0BD0:: @ 81B0BD0
	.string "Thank you kindly!\n"
	.string "Let me sing it for you.$"

MauvilleCity_PokemonCenter_1F_Text_1B0BFA:: @ 81B0BFA
	.string "Was that how you wanted your song\n"
	.string "to go?$"

MauvilleCity_PokemonCenter_1F_Text_1B0C23:: @ 81B0C23
	.string "Okay! That’s it, then.\n"
	.string "I’ll sing this song for a while.$"

MauvilleCity_PokemonCenter_1F_Text_1B0C5B:: @ 81B0C5B
	.string "Hey, yo! They call me the HIPSTER.\n"
	.string "I’ll teach you what’s hip and happening.$"

MauvilleCity_PokemonCenter_1F_Text_1B0CA7:: @ 81B0CA7
	.string "But, hey, I taught you what’s hip and\n"
	.string "happening already.\p"
	.string "I’d like to spread the good word to\n"
	.string "other folks.$"

MauvilleCity_PokemonCenter_1F_Text_1B0D11:: @ 81B0D11
	.string "But, hey, you already know a lot about\n"
	.string "what’s hip and happening.\p"
	.string "I’ve got nothing new to teach you!$"

MauvilleCity_PokemonCenter_1F_Text_1B0D75:: @ 81B0D75
	.string "Hey, have you heard about\n"
	.string "“{STR_VAR_1}”?\p"
	.string "What’s it mean? Well...\n"
	.string "Ask your daddy or mommy, okay?$"

	.include "data/field_move_scripts.s"
	.include "data/item_ball_scripts.s"

PetalburgCity_PokemonCenter_1F_EventScript_1B1B14:: @ 81B1B14
	lock
	faceplayer
	checkflag 2053
	jumpeq PetalburgCity_PokemonCenter_1F_EventScript_1B1BDB
	msgbox PetalburgCity_PokemonCenter_1F_Text_1B1C97, 4
	jump PetalburgCity_PokemonCenter_1F_EventScript_1B1B2D
	end

PetalburgCity_PokemonCenter_1F_EventScript_1B1B2D:: @ 81B1B2D
	msgbox PetalburgCity_PokemonCenter_1F_Text_1B1D10, 4
	multichoice 17, 6, 20, 0
	switch RESULT
	case 0, PetalburgCity_PokemonCenter_1F_EventScript_1B1B7A
	case 1, PetalburgCity_PokemonCenter_1F_EventScript_1B1BD1
	case 2, PetalburgCity_PokemonCenter_1F_EventScript_1B1B6C
	case 127, PetalburgCity_PokemonCenter_1F_EventScript_1B1BD1
	end

PetalburgCity_PokemonCenter_1F_EventScript_1B1B6C:: @ 81B1B6C
	msgbox PetalburgCity_PokemonCenter_1F_Text_1B1D3A, 4
	jump PetalburgCity_PokemonCenter_1F_EventScript_1B1B2D
	end

PetalburgCity_PokemonCenter_1F_EventScript_1B1B7A:: @ 81B1B7A
	msgbox PetalburgCity_PokemonCenter_1F_Text_1B1F7B, 4
	closebutton
	setvar 0x8004, 0
	call PetalburgCity_PokemonCenter_1F_EventScript_1A00F3
	lock
	faceplayer
	compare 0x8004, 1
	callif 1, PetalburgCity_PokemonCenter_1F_EventScript_1B1C77
	compare RESULT, 0
	jumpeq PetalburgCity_PokemonCenter_1F_EventScript_1B1BB1
	compare RESULT, 1
	jumpeq PetalburgCity_PokemonCenter_1F_EventScript_1B1BBB
	end

PetalburgCity_PokemonCenter_1F_EventScript_1B1BB1:: @ 81B1BB1
	msgbox PetalburgCity_PokemonCenter_1F_Text_1B1FF0, 4
	release
	end

PetalburgCity_PokemonCenter_1F_EventScript_1B1BBB:: @ 81B1BBB
	setvar 0x8004, 0
	special 96
	waittext
	pause 80
	msgbox PetalburgCity_PokemonCenter_1F_Text_1B2137, 4
	release
	end

PetalburgCity_PokemonCenter_1F_EventScript_1B1BD1:: @ 81B1BD1
	msgbox PetalburgCity_PokemonCenter_1F_Text_1B1FA3, 4
	release
	end

PetalburgCity_PokemonCenter_1F_EventScript_1B1BDB:: @ 81B1BDB
	msgbox PetalburgCity_PokemonCenter_1F_Text_1B202F, 4
	jump PetalburgCity_PokemonCenter_1F_EventScript_1B1BE9
	end

PetalburgCity_PokemonCenter_1F_EventScript_1B1BE9:: @ 81B1BE9
	msgbox PetalburgCity_PokemonCenter_1F_Text_1B2063, 4
	multichoice 17, 6, 20, 0
	switch RESULT
	case 0, PetalburgCity_PokemonCenter_1F_EventScript_1B1C36
	case 1, PetalburgCity_PokemonCenter_1F_EventScript_1B1C6D
	case 2, PetalburgCity_PokemonCenter_1F_EventScript_1B1C28
	case 127, PetalburgCity_PokemonCenter_1F_EventScript_1B1C6D
	end

PetalburgCity_PokemonCenter_1F_EventScript_1B1C28:: @ 81B1C28
	msgbox PetalburgCity_PokemonCenter_1F_Text_1B1D3A, 4
	jump PetalburgCity_PokemonCenter_1F_EventScript_1B1BE9
	end

PetalburgCity_PokemonCenter_1F_EventScript_1B1C36:: @ 81B1C36
	msgbox PetalburgCity_PokemonCenter_1F_Text_1B207F, 4
	closebutton
	setvar 0x8004, 0
	call PetalburgCity_PokemonCenter_1F_EventScript_1A00F3
	lock
	faceplayer
	compare 0x8004, 1
	callif 1, PetalburgCity_PokemonCenter_1F_EventScript_1B1C77
	compare RESULT, 0
	jumpeq PetalburgCity_PokemonCenter_1F_EventScript_1B1BB1
	compare RESULT, 1
	jumpeq PetalburgCity_PokemonCenter_1F_EventScript_1B1BBB
	end

PetalburgCity_PokemonCenter_1F_EventScript_1B1C6D:: @ 81B1C6D
	msgbox PetalburgCity_PokemonCenter_1F_Text_1B20CE, 4
	release
	end

PetalburgCity_PokemonCenter_1F_EventScript_1B1C77:: @ 81B1C77
	checkflag 2059
	jumpif 0, PetalburgCity_PokemonCenter_1F_EventScript_1B1C96
	checkflag 2124
	jumpeq PetalburgCity_PokemonCenter_1F_EventScript_1B1C96
	setflag 2124
	msgbox PetalburgCity_PokemonCenter_1F_Text_1B21CC, 3
	release
	end

PetalburgCity_PokemonCenter_1F_EventScript_1B1C96:: @ 81B1C96
	return

PetalburgCity_PokemonCenter_1F_Text_1B1C97:: @ 81B1C97
	.string "Hello there, TRAINER!\n"
	.string "You’ve got a wonderful smile, there.\p"
	.string "I have a hobby - collecting the profiles\n"
	.string "of POKéMON TRAINERS.$"

PetalburgCity_PokemonCenter_1F_Text_1B1D10:: @ 81B1D10
	.string "So, how about it?\n"
	.string "May I see your profile?$"

PetalburgCity_PokemonCenter_1F_Text_1B1D3A:: @ 81B1D3A
	.string "You make your own profile by putting\n"
	.string "together four words or phrases.\p"
	.string "Here, I’ll show you an example of a\n"
	.string "profile using four pieces of text.\p"
	.string "You can switch those four pieces with\n"
	.string "other text pieces any which way you\l"
	.string "like to make your own profile.\p"
	.string "There are a lot of text pieces that you\n"
	.string "can use.\p"
	.string "They are arranged in groups like\n"
	.string "POKéMON, lifestyles, and hobbies so\l"
	.string "it is easier to look them up.\p"
	.string "So, first, choose the group of text\n"
	.string "pieces to display a list of choices.\p"
	.string "Then, pick the choice you want.\p"
	.string "Repeat for the remaining text choices,\n"
	.string "and you’ll have your very own profile.$"

UnknownString_81B1F7A: @ 81B1F7A
	.string "$"

PetalburgCity_PokemonCenter_1F_Text_1B1F7B:: @ 81B1F7B
	.string "Yes! Thank you!\n"
	.string "May I see your profile?$"

PetalburgCity_PokemonCenter_1F_Text_1B1FA3:: @ 81B1FA3
	.string "Oh, no, really?\p"
	.string "I imagine someone like you would have\n"
	.string "a wonderful profile...$"

PetalburgCity_PokemonCenter_1F_Text_1B1FF0:: @ 81B1FF0
	.string "Oh? You’re not into it right now?\p"
	.string "Well, anytime is good by me!$"

PetalburgCity_PokemonCenter_1F_Text_1B202F:: @ 81B202F
	.string "Hello there, TRAINER!\n"
	.string "You’ve got a wonderful smile.$"

PetalburgCity_PokemonCenter_1F_Text_1B2063:: @ 81B2063
	.string "May I see your new profile?$"

PetalburgCity_PokemonCenter_1F_Text_1B207F:: @ 81B207F
	.string "Yes! Thank you!\p"
	.string "I hope it’s even better than the profile\n"
	.string "you showed me before.$"

PetalburgCity_PokemonCenter_1F_Text_1B20CE:: @ 81B20CE
	.string "Oh, you like your profile the way it is.\p"
	.string "I don’t blame you - it’s a wonderful\n"
	.string "profile the way it is now.$"

PetalburgCity_PokemonCenter_1F_Text_1B2137:: @ 81B2137
	.string "F-fantastic!\p"
	.string "Your profile, it’s wonderful!\n"
	.string "It really says what you’re about.\p"
	.string "Why, anyone hearing this profile would\n"
	.string "be captivated by you!\p"
	.string "Thank you!$"

PetalburgCity_PokemonCenter_1F_Text_1B21CC:: @ 81B21CC
	.string "Oh?\n"
	.string "You know the secret saying!\p"
	.string "That means you’re now a fellow member\n"
	.string "of the MYSTERY EVENT CLUB!$"

Route117_EventScript_1B222D:: @ 81B222D
	lock
	faceplayer
	special 181
	specialval RESULT, 182
	compare RESULT, 1
	jumpeq Route117_EventScript_1B2262
	compare RESULT, 2
	jumpeq Route117_EventScript_1B22E7
	compare RESULT, 3
	jumpeq Route117_EventScript_1B22FE
	msgbox Route117_Text_1B25CB, 4
	release
	end

Route117_EventScript_1B2262:: @ 81B2262
	msgbox Route117_Text_1B2659, 5
	compare RESULT, 1
	jumpeq Route117_EventScript_1B2298
	msgbox Route117_Text_1B28C4, 5
	compare RESULT, 1
	jumpeq Route117_EventScript_1B2298
	msgbox Route117_Text_1B2745, 4
	clearflag 134
	special 183
	release
	end

Route117_EventScript_1B2298:: @ 81B2298
	specialval RESULT, 131
	compare RESULT, 6
	jumpif 5, Route117_EventScript_1B22B2
	msgbox Route117_Text_1B2766, 4
	release
	end

Route117_EventScript_1B22B2:: @ 81B22B2
	message Route117_Text_1B27A2
	fanfare 367
	waitfanfare
	waittext
	waitbutton
	msgbox Route117_Text_1B27CD, 4
	special 184
	clearflag 134
	release
	end

Route117_EventScript_1B22CD:: @ 81B22CD
	specialval RESULT, 195
	compare RESULT, 1
	callif 1, Route117_EventScript_1B22DE
	return

Route117_EventScript_1B22DE:: @ 81B22DE
	msgbox Route117_Text_1B27E3, 4
	return

Route117_EventScript_1B22E7:: @ 81B22E7
	special 181
	msgbox Route117_Text_1B2710, 4
	setvar 0x8004, 0
	call Route117_EventScript_1B22CD
	release
	end

Route117_EventScript_1B22FE:: @ 81B22FE
	special 181
	msgbox Route117_Text_1B2897, 4
	special 185
	special 141
	waittext
	waitbutton
	setvar 0x8004, 0
	call Route117_EventScript_1B22CD
	setvar 0x8004, 1
	call Route117_EventScript_1B22CD
	release
	end

Route117_PokemonDayCare_EventScript_1B2327:: @ 81B2327
	lock
	faceplayer
	specialval RESULT, 182
	compare RESULT, 1
	jumpeq Route117_PokemonDayCare_EventScript_1B2407
	compare RESULT, 2
	jumpeq Route117_PokemonDayCare_EventScript_1B242B
	compare RESULT, 3
	jumpeq Route117_PokemonDayCare_EventScript_1B2558
	msgbox Route117_PokemonDayCare_Text_1B28F2, 5
	compare RESULT, 1
	jumpeq Route117_PokemonDayCare_EventScript_1B236C
	msgbox Route117_PokemonDayCare_Text_1B2A14, 4
	release
	end

Route117_PokemonDayCare_EventScript_1B236C:: @ 81B236C
	specialval RESULT, 132
	compare RESULT, 1
	jumpeq Route117_PokemonDayCare_EventScript_1B23F3
	msgbox Route117_PokemonDayCare_Text_1B2947, 4
	fadescreen 1
	special 188
	waitstate
	compare 0x8004, 255
	jumpeq Route117_PokemonDayCare_EventScript_1B23D0
	specialval RESULT, 133
	compare RESULT, 0
	jumpeq Route117_PokemonDayCare_EventScript_1B23FD
	specialval 0x8005, 186
	checksound
	pokecry 0x8005, 0
	msgbox Route117_PokemonDayCare_Text_1B296E, 4
	waitpokecry
	special 187
	inccounter 47
	specialval RESULT, 182
	compare RESULT, 2
	jumpeq Route117_PokemonDayCare_EventScript_1B23DA
	release
	end

Route117_PokemonDayCare_EventScript_1B23D0:: @ 81B23D0
	msgbox Route117_PokemonDayCare_Text_1B2A76, 4
	release
	end

Route117_PokemonDayCare_EventScript_1B23DA:: @ 81B23DA
	msgbox Route117_PokemonDayCare_Text_1B29AD, 5
	compare RESULT, 1
	jumpeq Route117_PokemonDayCare_EventScript_1B236C
	jump Route117_PokemonDayCare_EventScript_1B23D0
	end

Route117_PokemonDayCare_EventScript_1B23F3:: @ 81B23F3
	msgbox Route117_PokemonDayCare_Text_1B2BBB, 4
	release
	end

Route117_PokemonDayCare_EventScript_1B23FD:: @ 81B23FD
	msgbox Route117_PokemonDayCare_Text_1B2C17, 4
	release
	end

Route117_PokemonDayCare_EventScript_1B2407:: @ 81B2407
	msgbox Route117_PokemonDayCare_Text_1B29F4, 4
	release
	end

Route117_PokemonDayCare_EventScript_1B2411:: @ 81B2411
	msgbox Route117_PokemonDayCare_Text_1B2ACC, 4
	return

Route117_PokemonDayCare_EventScript_1B241A:: @ 81B241A
	specialval RESULT, 190
	compare RESULT, 0
	callif 5, Route117_PokemonDayCare_EventScript_1B2411
	return

Route117_PokemonDayCare_EventScript_1B242B:: @ 81B242B
	msgbox Route117_PokemonDayCare_Text_1B2A88, 4
	setvar 0x8004, 0
	call Route117_PokemonDayCare_EventScript_1B241A
	msgbox Route117_PokemonDayCare_Text_1B29AD, 5
	compare RESULT, 1
	jumpeq Route117_PokemonDayCare_EventScript_1B236C
	msgbox Route117_PokemonDayCare_Text_1B2BF6, 5
	compare RESULT, 1
	jumpeq Route117_PokemonDayCare_EventScript_1B2469
	jump Route117_PokemonDayCare_EventScript_1B23D0
	end

Route117_PokemonDayCare_EventScript_1B2469:: @ 81B2469
	specialval RESULT, 131
	compare RESULT, 6
	jumpeq Route117_PokemonDayCare_EventScript_1B2539
	specialval RESULT, 182
	setvar 0x8004, 0
	compare RESULT, 2
	jumpeq Route117_PokemonDayCare_EventScript_1B24A8
	special 189
	waitstate
	copyvar 0x8004, RESULT
	compare RESULT, 2
	jumpeq Route117_PokemonDayCare_EventScript_1B23D0
	jump Route117_PokemonDayCare_EventScript_1B24A8
	end

Route117_PokemonDayCare_EventScript_1B24A8:: @ 81B24A8
	special 191
	msgbox Route117_PokemonDayCare_Text_1B2B49, 5
	compare RESULT, 1
	jumpeq Route117_PokemonDayCare_EventScript_1B24C4
	jump Route117_PokemonDayCare_EventScript_1B23D0
	end

Route117_PokemonDayCare_EventScript_1B24C4:: @ 81B24C4
	specialval RESULT, 197
	compare RESULT, 1
	jumpeq Route117_PokemonDayCare_EventScript_1B24DE
	msgbox Route117_PokemonDayCare_Text_1B2A30, 4
	release
	end

Route117_PokemonDayCare_EventScript_1B24DE:: @ 81B24DE
	move 1, Route117_PokemonDayCare_Movement_1B2543
	waitmove 0
	specialval RESULT, 192
	special 198
	playsfx 95
	msgbox Route117_PokemonDayCare_Text_1B2B75, 4
	checksound
	pokecry RESULT, 0
	msgbox Route117_PokemonDayCare_Text_1B2B93, 4
	waitpokecry
	specialval RESULT, 182
	compare RESULT, 2
	jumpeq Route117_PokemonDayCare_EventScript_1B2520
	jump Route117_PokemonDayCare_EventScript_1B23D0
	end

Route117_PokemonDayCare_EventScript_1B2520:: @ 81B2520
	msgbox Route117_PokemonDayCare_Text_1B2A4F, 5
	compare RESULT, 1
	jumpeq Route117_PokemonDayCare_EventScript_1B2469
	jump Route117_PokemonDayCare_EventScript_1B23D0
	end

Route117_PokemonDayCare_EventScript_1B2539:: @ 81B2539
	msgbox Route117_PokemonDayCare_Text_1B2AEF, 4
	release
	end

Route117_PokemonDayCare_Movement_1B2543:: @ 81B2543
	step_14
	step_14
	step_02
	step_14
	step_14
	step_03
	step_14
	step_14
	step_01
	slow_step_up
	step_54
	step_14
	step_14
	step_14
	step_14
	step_14
	step_00
	step_55
	slow_step_down
	step_end

	.incbin "baserom.gba", 0x1b2557, 0x1

Route117_PokemonDayCare_EventScript_1B2558:: @ 81B2558
	msgbox Route117_PokemonDayCare_Text_1B2A88, 4
	setvar 0x8004, 0
	call Route117_PokemonDayCare_EventScript_1B241A
	setvar 0x8004, 1
	call Route117_PokemonDayCare_EventScript_1B241A
	msgbox Route117_PokemonDayCare_Text_1B2BF6, 5
	compare RESULT, 1
	jumpeq Route117_PokemonDayCare_EventScript_1B2469
	msgbox Route117_PokemonDayCare_Text_1B2A76, 4
	release
	end

@ 81B2591
	special 189
	waitstate
	compare RESULT, 2
	jumpeq Route117_PokemonDayCare_EventScript_1B23D0
	copyvar 0x8004, RESULT
	specialval RESULT, 192
	msgbox Route117_PokemonDayCare_Text_1B2B75, 4
	msgbox Route117_PokemonDayCare_Text_1B2A76, 4
	release
	end

Event_EggHatch:: @ 81B25BC
	lockall
	msgbox UnknownString_81B2C68, 4
	special 194
	waitstate
	releaseall
	end

Route117_Text_1B25CB:: @ 81B25CB
	.string "I’m the DAY-CARE MAN.\p"
	.string "I help take care of the precious\n"
	.string "POKéMON of TRAINERS.\p"
	.string "If you’d like me to raise your POKéMON,\n"
	.string "have a word with my wife.$"

Route117_Text_1B2659:: @ 81B2659
	.string "Ah, it’s you!\p"
	.string "We were raising your POKéMON, and my\n"
	.string "goodness, were we surprised!\p"
	.string "Your POKéMON had an EGG!\p"
	.string "We don’t know how it got there,\n"
	.string "but your POKéMON had it.\p"
	.string "You do want it, yes?$"

Route117_Text_1B2710:: @ 81B2710
	.string "Ah, it’s you! Good to see you.\n"
	.string "Your {STR_VAR_1}’s doing fine.$"

Route117_Text_1B2745:: @ 81B2745
	.string "Well then, I’ll keep it.\n"
	.string "Thanks!$"

Route117_Text_1B2766:: @ 81B2766
	.string "You have no room for it...\n"
	.string "Come back when you’ve made room.$"

Route117_Text_1B27A2:: @ 81B27A2
	.string "{PLAYER} received the EGG from\n"
	.string "the DAY-CARE MAN.$"

Route117_Text_1B27CD:: @ 81B27CD
	.string "Take good care of it.$"

Route117_Text_1B27E3:: @ 81B27E3
	.string "By the way, about your {STR_VAR_1},\n"
	.string "it seemed to be friendly with\l"
	.string "{STR_VAR_2}’s {STR_VAR_3}.\p"
	.string "I may even have seen it receiving\n"
	.string "a piece of MAIL.$"

UnknownString_81B2858: @ 81B2858
	.string "If you want to pick up your POKéMON,\n"
	.string "have a word with my wife.$"

Route117_Text_1B2897:: @ 81B2897
	.string "Ah, it’s you! Your {STR_VAR_1} and\n"
	.string "{STR_VAR_2} are doing fine.$"

Route117_Text_1B28C4:: @ 81B28C4
	.string "I really will keep it.\n"
	.string "You do want this, yes?$"

	.include "data/text/maps/Route117_PokemonDayCare.s"
MtChimney_EventScript_1B2C95:: @ 81B2C95
	lock
	faceplayer
	checkflag 219
	callif 0, MtChimney_EventScript_1B2CB9
	checkflag 219
	callif 1, MtChimney_EventScript_1B2CC2
	closebutton
	move 1, MtChimney_Movement_1A083D
	waitmove 0
	setflag 219
	release
	end

MtChimney_EventScript_1B2CB9:: @ 81B2CB9
	msgbox MtChimney_Text_1B3EC1, 4
	return

MtChimney_EventScript_1B2CC2:: @ 81B2CC2
	msgbox MtChimney_Text_1B3F8C, 4
	return

MtChimney_EventScript_1B2CCB:: @ 81B2CCB
	lockall
	msgbox MtChimney_Text_1B37BB, 4
	move 2, MtChimney_Movement_1A0839
	waitmove 0
	playsfx 21
	move 2, MtChimney_Movement_1A0833
	waitmove 0
	move 2, MtChimney_Movement_1A0835
	waitmove 0
	msgbox MtChimney_Text_1B38B3, 4
	trainerbattle 3, 602, 0, MtChimney_Text_1B3A68
	msgbox MtChimney_Text_1B3A90, 4
	closebutton
	pause 30
	fadescreen 1
	disappear 2
	disappear 3
	disappear 22
	setflag 926
	fadescreen 0
	movespriteperm 1, 10, 12
	reappear 1
	compare FACING, 4
	callif 1, MtChimney_EventScript_1B2D7D
	compare FACING, 2
	callif 1, MtChimney_EventScript_1B2D88
	move 255, MtChimney_Movement_1A083F
	waitmove 0
	msgbox MtChimney_Text_1B3FFE, 4
	closebutton
	compare FACING, 4
	callif 1, MtChimney_EventScript_1B2D93
	compare FACING, 2
	callif 1, MtChimney_EventScript_1B2D9E
	disappear 1
	setflag 927
	setflag 139
	clearflag 928
	setflag 942
	releaseall
	end

MtChimney_EventScript_1B2D7D:: @ 81B2D7D
	move 1, MtChimney_Movement_15D025
	waitmove 0
	return

MtChimney_EventScript_1B2D88:: @ 81B2D88
	move 1, MtChimney_Movement_15D036
	waitmove 0
	return

MtChimney_EventScript_1B2D93:: @ 81B2D93
	move 1, MtChimney_Movement_15D02D
	waitmove 0
	return

MtChimney_EventScript_1B2D9E:: @ 81B2D9E
	move 1, MtChimney_Movement_15D03E
	waitmove 0
	return

MtPyre_Summit_EventScript_1B2DA9:: @ 81B2DA9
	trainerbattle 0, 588, 0, MtPyre_Summit_Text_1B5CFD, MtPyre_Summit_Text_1B5D30
	msgbox MtPyre_Summit_Text_1B5D6D, 6
	end

MtPyre_Summit_EventScript_1B2DC0:: @ 81B2DC0
	trainerbattle 0, 589, 0, MtPyre_Summit_Text_1B5DA2, MtPyre_Summit_Text_1B5DDB
	msgbox MtPyre_Summit_Text_1B5DF1, 6
	end

MtPyre_Summit_EventScript_1B2DD7:: @ 81B2DD7
	trainerbattle 0, 590, 0, MtPyre_Summit_Text_1B5E27, MtPyre_Summit_Text_1B5E60
	msgbox MtPyre_Summit_Text_1B5E84, 6
	end

UnknownString_81B2DEE: @ 81B2DEE
	.string "The power contained in the\n"
	.string "METEORITE...\p"
	.string "By amplifying its power with this\n"
	.string "machine, MT. CHIMNEY’s volcanic activity\l"
	.string "will stop.\p"
	.string "Fufufu... Eventually, the cooled-down\n"
	.string "crater will fill with rainwater, giving\l"
	.string "WATER POKéMON a place to live.$"

UnknownString_81B2ED9: @ 81B2ED9
	.string "ARCHIE: You again...\p"
	.string "Now listen.\n"
	.string "All life depends on the sea.\p"
	.string "The sea is everything!\n"
	.string "Its importance is paramount!\p"
	.string "That is why we of TEAM AQUA are\n"
	.string "committed to expanding the sea.\p"
	.string "Doing so will result in the emergence\n"
	.string "of new POKéMON species.\p"
	.string "We will return the world back to\n"
	.string "nature for the good of POKéMON.\p"
	.string "That is TEAM AQUA’s vision!\p"
	.string "I can’t allow an ignorant child like\n"
	.string "you to get in our way.\p"
	.string "I, ARCHIE, will show you the\n"
	.string "consequences of meddling!$"

UnknownString_81B3099: @ 81B3099
	.string "What?!\p"
	.string "I, ARCHIE, was caught off guard?!$"

UnknownString_81B30C2: @ 81B30C2
	.string "ARCHIE: Ah, whatever.\n"
	.string "I will give up our plans for MT.\l"
	.string "CHIMNEY for the time being...\p"
	.string "But no one can ever stop us!\n"
	.string "TEAM AQUA will prevail!\p"
	.string "Don’t you ever forget that!$"

UnknownString_81B3168: @ 81B3168
	.string "Hehehe!\p"
	.string "So you’ve come all the way here!\p"
	.string "But you’re too late!\n"
	.string "I’ve already delivered the METEORITE\l"
	.string "from METEOR FALLS to the BOSS!$"

UnknownString_81B31EA: @ 81B31EA
	.string "Hehehe...\n"
	.string "So I lost...\p"
	.string "I’m sure glad I never took you on back\n"
	.string "at METEOR FALLS.$"

UnknownString_81B3239: @ 81B3239
	.string "Hehehe!\p"
	.string "You might have beaten me, but you don’t\n"
	.string "stand a chance against the BOSS!\p"
	.string "If you get lost now, you won’t have to\n"
	.string "face a sound whipping!$"

UnknownString_81B32C8: @ 81B32C8
	.string "We of TEAM AQUA are working hard for\n"
	.string "everyone’s sake.\p"
	.string "Like, if there’s more water around,\n"
	.string "WATER POKéMON will be happy, and it’ll\l"
	.string "give people more fun places to swim!$"

UnknownString_81B336E: @ 81B336E
	.string "Hunh?\n"
	.string "What do you mean I lost?$"

UnknownString_81B338D: @ 81B338D
	.string "Our BOSS says, “It will make everyone\n"
	.string "happy.”\p"
	.string "But why does everyone keep getting\n"
	.string "in our way?$"

UnknownString_81B33EA: @ 81B33EA
	.string "That annoying TEAM MAGMA...\n"
	.string "They always mess with our plans!$"

UnknownString_81B3427: @ 81B3427
	.string "METEORITES pack amazing power!$"

UnknownString_81B3446: @ 81B3446
	.string "Go! Stomp TEAM MAGMA!\n"
	.string "And expand the sea!$"

UnknownString_81B3470: @ 81B3470
	.string "Stay out of our way, okay?\p"
	.string "We’re trying to enlarge the sea for\n"
	.string "the good of everybody!$"

UnknownString_81B34C6: @ 81B34C6
	.string "Yeah!\n"
	.string "Hose them down!$"

UnknownString_81B34DC: @ 81B34DC
	.string "We’re going to keep expanding the sea!$"

UnknownString_81B3503: @ 81B3503
	.string "Bushaa!$"

UnknownString_81B350B: @ 81B350B
	.string "MAXIE: Oh, {PLAYER}{KUN}!\p"
	.string "Please, you must stop TEAM AQUA\n"
	.string "for me!\p"
	.string "They’re trying to make this volcano\n"
	.string "inactive by using the stolen\l"
	.string "METEORITE’s power!$"

UnknownString_81B3598: @ 81B3598
	.string "MAXIE: {PLAYER}{KUN}!\p"
	.string "Please, you’ve got to stop TEAM AQUA\n"
	.string "for me!\p"
	.string "Dealing with these three thugs is\n"
	.string "a lot, even for me!$"

UnknownString_81B3608: @ 81B3608
	.string "MAXIE: {PLAYER}{KUN}! Thank you!\p"
	.string "With your help, we thwarted TEAM\n"
	.string "AQUA’s destructive plan!\p"
	.string "But... This victory doesn’t mean the\n"
	.string "end of their evil plans.\p"
	.string "We will remain vigilant and keep up\n"
	.string "our pursuit of TEAM AQUA.\p"
	.string "{PLAYER}{KUN}, we shall meet again!$"

UnknownString_81B36F1: @ 81B36F1
	.string "Darn... TEAM AQUA outnumbers us!\n"
	.string "We can’t keep up with them!$"

UnknownString_81B372E: @ 81B372E
	.string "If they expand the sea, there’ll be less\n"
	.string "habitats for POKéMON and people!$"

UnknownString_81B3778: @ 81B3778
	.string "TEAM AQUA wants to expand the sea...\n"
	.string "How’s that for insane?$"

UnknownString_81B37B4: @ 81B37B4
	.string "Bufoh!$"

MtChimney_Text_1B37BB:: @ 81B37BB
	.string "The power contained in the METEORITE...\p"
	.string "By amplifying its power with this\n"
	.string "machine, MT. CHIMNEY’s volcanic activity\l"
	.string "will instantly intensify...\p"
	.string "Fufufu... The volcano will erupt, spewing\n"
	.string "lava that will cool and harden.\l"
	.string "It will expand the landmass...$"

MtChimney_Text_1B38B3:: @ 81B38B3
	.string "MAXIE: You again...\p"
	.string "Now listen.\n"
	.string "We humans have grown on dry land.\p"
	.string "The land is everything!\n"
	.string "Its importance is paramount!\p"
	.string "That is why we of TEAM MAGMA are\n"
	.string "committed to expanding the landmass.\p"
	.string "It will create space for new species\n"
	.string "of POKéMON to evolve.\p"
	.string "It will give us humans more space to\n"
	.string "advance.\p"
	.string "That is TEAM MAGMA’s vision!\p"
	.string "I can’t allow an ignorant child like\n"
	.string "you to get in our way.\p"
	.string "I, MAXIE, will show you the\n"
	.string "consequences of meddling!$"

MtChimney_Text_1B3A68:: @ 81B3A68
	.string "What?!\p"
	.string "I, MAXIE, was caught off guard?!$"

MtChimney_Text_1B3A90:: @ 81B3A90
	.string "MAXIE: Ah, whatever.\n"
	.string "I will give up our plans for MT. CHIMNEY\l"
	.string "for the time being...\p"
	.string "But no one can ever stop us!\n"
	.string "TEAM MAGMA will prevail!\p"
	.string "Don’t you ever forget that!$"

MtChimney_Text_1B3B36:: @ 81B3B36
	.string "Hehehe!\p"
	.string "So you’ve come all the way here!\p"
	.string "But you’re too late!\n"
	.string "I’ve already delivered the METEORITE\l"
	.string "from METEOR FALLS to the BOSS!$"

MtChimney_Text_1B3BB8:: @ 81B3BB8
	.string "Hehehe...\n"
	.string "So I lost...\p"
	.string "I’m sure glad I never took you on back\n"
	.string "at METEOR FALLS.$"

MtChimney_Text_1B3C07:: @ 81B3C07
	.string "Hehehe!\p"
	.string "You might have beaten me, but you don’t\n"
	.string "stand a chance against the BOSS!\p"
	.string "If you get lost now, you won’t have to\n"
	.string "face a sound whipping!$"

MtChimney_Text_1B3C96:: @ 81B3C96
	.string "We of TEAM MAGMA are working hard for\n"
	.string "everyone’s sake.\p"
	.string "Like, if there’s more land, there’d be\n"
	.string "more places to live.\l"
	.string "Everyone’d be happy!$"

MtChimney_Text_1B3D1E:: @ 81B3D1E
	.string "Hunh?\n"
	.string "What do you mean I lost?$"

MtChimney_Text_1B3D3D:: @ 81B3D3D
	.string "Our BOSS says, “It will make everyone\n"
	.string "happy.”\p"
	.string "But why does everyone keep getting\n"
	.string "in our way?$"

MtChimney_Text_1B3D9A:: @ 81B3D9A
	.string "That annoying TEAM AQUA...\n"
	.string "They always mess with our plans!$"

UnknownString_81B3DD6: @ 81B3DD6
	.string "METEORITES pack amazing power!$"

MtChimney_Text_1B3DF5:: @ 81B3DF5
	.string "Go! Stomp TEAM AQUA!\n"
	.string "And expand the land!$"

MtChimney_Text_1B3E1F:: @ 81B3E1F
	.string "Stay out of our way, okay?\p"
	.string "We’re trying to enlarge the landmass\n"
	.string "for the good of everybody!$"

MtChimney_Text_1B3E7A:: @ 81B3E7A
	.string "Yeah!\n"
	.string "Douse them in fire!$"

UnknownString_81B3E94: @ 81B3E94
	.string "We’re going to keep making more land!$"

MtChimney_Text_1B3EBA:: @ 81B3EBA
	.string "Bufoh!$"

MtChimney_Text_1B3EC1:: @ 81B3EC1
	.string "ARCHIE: Oh, {PLAYER}{KUN}!\p"
	.string "Please, you must stop TEAM MAGMA\n"
	.string "for me!\p"
	.string "They’re trying to make this volcano\n"
	.string "erupt by using the stolen METEORITE’s\l"
	.string "power!\p"
	.string "It’s all a part of their plans to\n"
	.string "expand the world’s landmass!$"

MtChimney_Text_1B3F8C:: @ 81B3F8C
	.string "ARCHIE: {PLAYER}{KUN}!\p"
	.string "Please, you’ve got to stop TEAM MAGMA\n"
	.string "for me!\p"
	.string "Dealing with these three thugs is\n"
	.string "a lot, even for me!$"

MtChimney_Text_1B3FFE:: @ 81B3FFE
	.string "ARCHIE: {PLAYER}{KUN}! Thank you!\p"
	.string "With your help, we thwarted TEAM\n"
	.string "MAGMA’s destructive plan!\p"
	.string "But... This victory doesn’t mean the\n"
	.string "end of their evil plans.\p"
	.string "We will remain vigilant and keep up\n"
	.string "our pursuit of TEAM MAGMA.\p"
	.string "{PLAYER}{KUN}, we shall meet again!$"

MtChimney_Text_1B40EA:: @ 81B40EA
	.string "Darn... TEAM MAGMA outnumbers us!\n"
	.string "We can’t keep up with them!$"

MtChimney_Text_1B4128:: @ 81B4128
	.string "If they expand the land, there’ll be\n"
	.string "less habitats for WATER POKéMON!$"

MtChimney_Text_1B416E:: @ 81B416E
	.string "TEAM MAGMA wants to expand the\n"
	.string "landmass... How’s that for insane?$"

MtChimney_Text_1B41B0:: @ 81B41B0
	.string "Bushaa!$"

UnknownString_81B41B8: @ 81B41B8
	.string "ARCHIE: Hold it right there.$"

UnknownString_81B41D5: @ 81B41D5
	.string "ARCHIE: Fufufu...\n"
	.string "So it was you, after all.$"

UnknownString_81B4201: @ 81B4201
	.string "ARCHIE: Behold!\p"
	.string "See how beautiful it is, the sleeping\n"
	.string "form of the ancient POKéMON KYOGRE!\p"
	.string "I have waited so long for this day to\n"
	.string "come...$"

UnknownString_81B4289: @ 81B4289
	.string "ARCHIE: It surprises me, how you’ve\n"
	.string "managed to chase me here.\p"
	.string "But that’s all over now.\p"
	.string "For the realization of my dream,\n"
	.string "you must disappear now!$"

UnknownString_81B4319: @ 81B4319
	.string "I...\n"
	.string "I lost again?$"

UnknownString_81B432C: @ 81B432C
	.string "ARCHIE: Fufufu...\p"
	.string "I commend you. I must recognize that\n"
	.string "you are truly gifted.\p"
	.string "But!\n"
	.string "I have this in my possession!\p"
	.string "With this RED ORB, I can make KYOGRE...$"

UnknownString_81B43C4: @ 81B43C4
	.string "The RED ORB suddenly began shining\n"
	.string "by itself!$"

UnknownString_81B43F2: @ 81B43F2
	.string "ARCHIE: What?!\p"
	.string "I didn’t do anything.\n"
	.string "Why did the RED ORB...\p"
	.string "Where did KYOGRE go?$"

UnknownString_81B4443: @ 81B4443
	.string "ARCHIE: Hm? It’s a message from our\n"
	.string "members outside...$"

UnknownString_81B447A: @ 81B447A
	.string "ARCHIE: Yes, what is it?\p"
	.string "Hm...\n"
	.string "It’s raining heavily?\p"
	.string "Good... That should have happened.\n"
	.string "That is why we awakened KYOGRE,\l"
	.string "to realize TEAM AQUA’s vision of\l"
	.string "expanding the sea.\p"
	.string "What?!\p"
	.string "It’s raining far harder than we\n"
	.string "envisioned? You’re in danger?\p"
	.string "That can’t be...\n"
	.string "That’s just not possible...\p"
	.string "Hold your position and monitor the\n"
	.string "situation!$"

UnknownString_81B45C6: @ 81B45C6
	.string "ARCHIE: There’s something wrong...\p"
	.string "The RED ORB is supposed to awaken\n"
	.string "and control KYOGRE...\p"
	.string "But... Why?\n"
	.string "Why did KYOGRE disappear?\p"
	.string "Why?!$"

UnknownString_81B464D: @ 81B464D
	.string "MAXIE: What have you wrought?\p"
	.string "ARCHIE... You’ve finally awoken KYOGRE,\n"
	.string "haven’t you?\p"
	.string "What will happen to the world if this\n"
	.string "downpour continues for all eternity?\p"
	.string "The world’s landmass will drown in\n"
	.string "the deepening sea...$"

UnknownString_81B4723: @ 81B4723
	.string "ARCHIE: What are you saying?\p"
	.string "The RED ORB should let me control\n"
	.string "KYOGRE...\l"
	.string "That can’t be possible...$"

UnknownString_81B4786: @ 81B4786
	.string "MAXIE: We don’t have the time to\n"
	.string "argue about it here!\p"
	.string "Get outside and see for yourself!\p"
	.string "See if what you’ve wrought is the\n"
	.string "world that you desired!$"

UnknownString_81B4818: @ 81B4818
	.string "MAXIE: {PLAYER}{KUN}, come on, you have\n"
	.string "to get out of here, too!$"

	.include "data/text/maps/SeafloorCavern_Room9.s"
	.include "data/text/maps/CaveOfOrigin_B4F.s"
	.include "data/text/maps/MtPyre_Summit.s"

gUnknown_081B694A:: @ 81B694A
	lighten 1
	darken 1
	end

LittlerootTown_BrendansHouse_2F_EventScript_1B6950:: @ 81B6950
LittlerootTown_MaysHouse_2F_EventScript_1B6950:: @ 81B6950
	setvar 0x4092, 5
	return

LittlerootTown_BrendansHouse_1F_EventScript_1B6956:: @ 81B6956
LittlerootTown_MaysHouse_1F_EventScript_1B6956:: @ 81B6956
	msgbox LittlerootTown_BrendansHouse_1F_Text_172429, 4
	move 0x8004, LittlerootTown_BrendansHouse_1F_Movement_1A0839
	waitmove 0
	compare 0x8005, 0
	callif 1, LittlerootTown_BrendansHouse_1F_EventScript_1B699F
	compare 0x8005, 1
	callif 1, LittlerootTown_BrendansHouse_1F_EventScript_1B69AA
	msgbox LittlerootTown_BrendansHouse_1F_Text_172453, 4
	closebutton
	setvar 0x4092, 4
	move 255, LittlerootTown_BrendansHouse_1F_Movement_1B69B5
	move 0x8004, LittlerootTown_BrendansHouse_1F_Movement_1A0841
	waitmove 0
	releaseall
	end

LittlerootTown_BrendansHouse_1F_EventScript_1B699F:: @ 81B699F
	move 255, LittlerootTown_BrendansHouse_1F_Movement_1A0843
	waitmove 0
	return

LittlerootTown_BrendansHouse_1F_EventScript_1B69AA:: @ 81B69AA
	move 255, LittlerootTown_BrendansHouse_1F_Movement_1A083F
	waitmove 0
	return

LittlerootTown_BrendansHouse_1F_Movement_1B69B5:: @ 81B69B5
	step_up
	step_end

LittlerootTown_BrendansHouse_1F_EventScript_1B69B7:: @ 81B69B7
LittlerootTown_MaysHouse_1F_EventScript_1B69B7:: @ 81B69B7
	msgbox LittlerootTown_BrendansHouse_1F_Text_172531, 4
	closebutton
	move 0x8004, LittlerootTown_BrendansHouse_1F_Movement_1A0841
	move 255, LittlerootTown_BrendansHouse_1F_Movement_1B6CDC
	waitmove 0
	releaseall
	end

LittlerootTown_BrendansHouse_2F_EventScript_1B69D3:: @ 81B69D3
	lockall
	setvar 0x8004, 0
	jump LittlerootTown_BrendansHouse_2F_EventScript_1B69EB
	end

LittlerootTown_MaysHouse_2F_EventScript_1B69DF:: @ 81B69DF
	lockall
	setvar 0x8004, 1
	jump LittlerootTown_MaysHouse_2F_EventScript_1B69EB
	end

LittlerootTown_BrendansHouse_2F_EventScript_1B69EB:: @ 81B69EB
LittlerootTown_MaysHouse_2F_EventScript_1B69EB:: @ 81B69EB
	checkflag 81
	jumpeq LittlerootTown_BrendansHouse_2F_EventScript_1B6A91
	msgbox LittlerootTown_BrendansHouse_2F_Text_172E18, 4
	call LittlerootTown_BrendansHouse_2F_EventScript_1B6A9B
	pause 30
	setvar 0x4092, 6
	setflag 81
	setflag 754
	setflag 755
	checkgender
	compare RESULT, 0
	callif 1, LittlerootTown_BrendansHouse_2F_EventScript_1B6A31
	compare RESULT, 1
	callif 1, LittlerootTown_BrendansHouse_2F_EventScript_1B6A61
	playsfx 9
	disappear 0x8008
	releaseall
	end

LittlerootTown_BrendansHouse_2F_EventScript_1B6A31:: @ 81B6A31
	setvar 0x8008, 14
	reappear 0x8008
	move 0x8008, LittlerootTown_BrendansHouse_2F_Movement_1B6AA2
	waitmove 0
	move 255, LittlerootTown_BrendansHouse_2F_Movement_1A0843
	waitmove 0
	msgbox LittlerootTown_BrendansHouse_2F_Text_172E4C, 4
	closebutton
	move 0x8008, LittlerootTown_BrendansHouse_2F_Movement_1B6AA9
	waitmove 0
	return

LittlerootTown_BrendansHouse_2F_EventScript_1B6A61:: @ 81B6A61
	setvar 0x8008, 14
	reappear 0x8008
	move 0x8008, LittlerootTown_BrendansHouse_2F_Movement_1B6AAD
	waitmove 0
	move 255, LittlerootTown_BrendansHouse_2F_Movement_1A083F
	waitmove 0
	msgbox LittlerootTown_BrendansHouse_2F_Text_172E4C, 4
	closebutton
	move 0x8008, LittlerootTown_BrendansHouse_2F_Movement_1B6AB4
	waitmove 0
	return

LittlerootTown_BrendansHouse_2F_EventScript_1B6A91:: @ 81B6A91
	inccounter 45
	fadescreen 1
	special 155
	waitstate
	releaseall
	end

LittlerootTown_BrendansHouse_2F_EventScript_1B6A9B:: @ 81B6A9B
	fadescreen 1
	special 154
	waitstate
	return

LittlerootTown_BrendansHouse_2F_Movement_1B6AA2:: @ 81B6AA2
	step_13
	step_down
	step_27
	step_14
	step_13
	step_left
	step_end

LittlerootTown_BrendansHouse_2F_Movement_1B6AA9:: @ 81B6AA9
	step_right
	step_up
	step_13
	step_end

LittlerootTown_BrendansHouse_2F_Movement_1B6AAD:: @ 81B6AAD
	step_13
	step_down
	step_28
	step_14
	step_13
	step_right
	step_end

LittlerootTown_BrendansHouse_2F_Movement_1B6AB4:: @ 81B6AB4
	step_left
	step_up
	step_13
	step_end

LittlerootTown_BrendansHouse_1F_EventScript_1B6AB8:: @ 81B6AB8
LittlerootTown_MaysHouse_1F_EventScript_1B6AB8:: @ 81B6AB8
	setvar 0x4092, 7
	releaseall
	end

LittlerootTown_BrendansHouse_1F_EventScript_1B6ABF:: @ 81B6ABF
	move 0x8005, LittlerootTown_BrendansHouse_1F_Movement_1A0843
	waitmove 0
	call LittlerootTown_BrendansHouse_1F_EventScript_1B6B9D
	move 255, LittlerootTown_BrendansHouse_1F_Movement_1B6CCC
	waitmove 0
	playmusic 453, 0
	msgbox LittlerootTown_BrendansHouse_1F_Text_1725C9, 4
	closebutton
	move 0x8005, LittlerootTown_BrendansHouse_1F_Movement_1B6BDB
	waitmove 0
	move 255, LittlerootTown_BrendansHouse_1F_Movement_1B6CD2
	waitmove 0
	call LittlerootTown_BrendansHouse_1F_EventScript_1B6BBE
	move 255, LittlerootTown_BrendansHouse_1F_Movement_1A083F
	waitmove 0
	msgbox LittlerootTown_BrendansHouse_1F_Text_1725FE, 4
	msgbox LittlerootTown_BrendansHouse_1F_Text_172644, 4
	closebutton
	setvar 0x4001, 1
	move 0x8005, LittlerootTown_BrendansHouse_1F_Movement_1B6BE1
	waitmove 0
	jump LittlerootTown_BrendansHouse_1F_EventScript_1B6AB8
	end

LittlerootTown_MaysHouse_1F_EventScript_1B6B2E:: @ 81B6B2E
	move 0x8005, LittlerootTown_MaysHouse_1F_Movement_1A083F
	waitmove 0
	call LittlerootTown_MaysHouse_1F_EventScript_1B6B9D
	move 255, LittlerootTown_MaysHouse_1F_Movement_1B6CD4
	waitmove 0
	playmusic 453, 0
	msgbox LittlerootTown_MaysHouse_1F_Text_1725C9, 4
	closebutton
	move 0x8005, LittlerootTown_MaysHouse_1F_Movement_1B6BDE
	waitmove 0
	move 255, LittlerootTown_MaysHouse_1F_Movement_1B6CDA
	waitmove 0
	call LittlerootTown_MaysHouse_1F_EventScript_1B6BBE
	move 255, LittlerootTown_MaysHouse_1F_Movement_1A0843
	waitmove 0
	msgbox LittlerootTown_MaysHouse_1F_Text_1725FE, 4
	msgbox LittlerootTown_MaysHouse_1F_Text_172644, 4
	closebutton
	setvar 0x4001, 1
	move 0x8005, LittlerootTown_MaysHouse_1F_Movement_1B6BE5
	waitmove 0
	jump LittlerootTown_MaysHouse_1F_EventScript_1B6AB8
	end

LittlerootTown_BrendansHouse_1F_EventScript_1B6B9D:: @ 81B6B9D
LittlerootTown_MaysHouse_1F_EventScript_1B6B9D:: @ 81B6B9D
	playsfx 21
	move 0x8005, LittlerootTown_BrendansHouse_1F_Movement_1A0833
	waitmove 0
	move 0x8005, LittlerootTown_BrendansHouse_1F_Movement_1A0835
	waitmove 0
	msgbox LittlerootTown_BrendansHouse_1F_Text_1725A3, 4
	closebutton
	return

LittlerootTown_BrendansHouse_1F_EventScript_1B6BBE:: @ 81B6BBE
LittlerootTown_MaysHouse_1F_EventScript_1B6BBE:: @ 81B6BBE
	move 255, LittlerootTown_BrendansHouse_1F_Movement_1A0841
	waitmove 0
	msgbox LittlerootTown_BrendansHouse_1F_Text_172841, 4
	fadedefault
	special 62
	setflag 2096
	pause 35
	return

LittlerootTown_BrendansHouse_1F_Movement_1B6BDB:: @ 81B6BDB
	step_left
	step_28
	step_end

LittlerootTown_MaysHouse_1F_Movement_1B6BDE:: @ 81B6BDE
	step_right
	step_27
	step_end

LittlerootTown_BrendansHouse_1F_Movement_1B6BE1:: @ 81B6BE1
	step_left
	step_down
	step_28
	step_end

LittlerootTown_MaysHouse_1F_Movement_1B6BE5:: @ 81B6BE5
	step_right
	step_down
	step_27
	step_end

LittlerootTown_BrendansHouse_1F_EventScript_1B6BE9:: @ 81B6BE9
LittlerootTown_MaysHouse_1F_EventScript_1B6BE9:: @ 81B6BE9
	lock
	faceplayer
	compare 0x4082, 4
	jumpeq LittlerootTown_BrendansHouse_1F_EventScript_1B6C33
	compare 0x408c, 4
	jumpeq LittlerootTown_BrendansHouse_1F_EventScript_1B6C33
	checkflag 2059
	jumpeq LittlerootTown_BrendansHouse_1F_EventScript_1B6C3D
	checkflag 82
	jumpeq LittlerootTown_BrendansHouse_1F_EventScript_1B6C72
	compare 0x4001, 1
	jumpeq LittlerootTown_BrendansHouse_1F_EventScript_1B6C80
	compare 0x4092, 7
	jumpif 4, LittlerootTown_BrendansHouse_1F_EventScript_1B6C9C
	msgbox LittlerootTown_BrendansHouse_1F_Text_172429, 4
	release
	end

LittlerootTown_BrendansHouse_1F_EventScript_1B6C33:: @ 81B6C33
	msgbox LittlerootTown_BrendansHouse_1F_Text_172BBC, 4
	release
	end

LittlerootTown_BrendansHouse_1F_EventScript_1B6C3D:: @ 81B6C3D
	checkflag 133
	jumpeq LittlerootTown_BrendansHouse_1F_EventScript_1B6C72
	msgbox LittlerootTown_BrendansHouse_1F_Text_172782, 4
	giveitem ITEM_AMULET_COIN
	compare RESULT, 0
	jumpeq LittlerootTown_BrendansHouse_1F_EventScript_1A029B
	msgbox LittlerootTown_BrendansHouse_1F_Text_1727CD, 4
	setflag 133
	release
	end

LittlerootTown_BrendansHouse_1F_EventScript_1B6C72:: @ 81B6C72
	msgbox LittlerootTown_BrendansHouse_1F_Text_172717, 4
	jump LittlerootTown_BrendansHouse_1F_EventScript_1B6C8A
	end

LittlerootTown_BrendansHouse_1F_EventScript_1B6C80:: @ 81B6C80
	msgbox LittlerootTown_BrendansHouse_1F_Text_1726D2, 4
	release
	end

LittlerootTown_BrendansHouse_1F_EventScript_1B6C8A:: @ 81B6C8A
	closebutton
	call LittlerootTown_BrendansHouse_1F_EventScript_1A02CA
	inccounter 16
	msgbox LittlerootTown_BrendansHouse_1F_Text_17276B, 4
	release
	end

LittlerootTown_BrendansHouse_1F_EventScript_1B6C9C:: @ 81B6C9C
	msgbox LittlerootTown_BrendansHouse_1F_Text_1726E7, 4
	release
	end

LittlerootTown_BrendansHouse_1F_EventScript_1B6CA6:: @ 81B6CA6
LittlerootTown_MaysHouse_1F_EventScript_1B6CA6:: @ 81B6CA6
	lock
	faceplayer
	checksound
	pokecry SPECIES_MACHOKE, 0
	msgbox LittlerootTown_BrendansHouse_1F_Text_17281D, 4
	waitpokecry
	release
	end

LittlerootTown_BrendansHouse_1F_EventScript_1B6CB9:: @ 81B6CB9
LittlerootTown_MaysHouse_1F_EventScript_1B6CB9:: @ 81B6CB9
	lock
	faceplayer
	checksound
	pokecry SPECIES_MACHOKE, 0
	msgbox LittlerootTown_BrendansHouse_1F_Text_172831, 4
	waitpokecry
	release
	end

LittlerootTown_BrendansHouse_1F_Movement_1B6CCC:: @ 81B6CCC
	step_down
	step_down
	step_left
	step_left
	step_left
	step_end

LittlerootTown_BrendansHouse_1F_Movement_1B6CD2:: @ 81B6CD2
	step_left
	step_end

LittlerootTown_MaysHouse_1F_Movement_1B6CD4:: @ 81B6CD4
	step_down
	step_down
	step_right
	step_right
	step_right
	step_end

LittlerootTown_MaysHouse_1F_Movement_1B6CDA:: @ 81B6CDA
	step_right
	step_end

LittlerootTown_BrendansHouse_1F_Movement_1B6CDC:: @ 81B6CDC
	step_up
	step_end

LittlerootTown_BrendansHouse_1F_EventScript_1B6CDE:: @ 81B6CDE
LittlerootTown_MaysHouse_1F_EventScript_1B6CDE:: @ 81B6CDE
	lockall
	checkgender
	compare RESULT, 0
	callif 1, LittlerootTown_BrendansHouse_1F_EventScript_1B6DAD
	compare RESULT, 1
	callif 1, LittlerootTown_BrendansHouse_1F_EventScript_1B6DBD
	compare 0x8008, 0
	callif 1, LittlerootTown_BrendansHouse_1F_EventScript_1B6E1D
	compare 0x8008, 1
	callif 1, LittlerootTown_BrendansHouse_1F_EventScript_1B6E28
	move 0x8009, LittlerootTown_BrendansHouse_1F_Movement_1A0839
	waitmove 0
	playsfx 21
	move 0x8009, LittlerootTown_BrendansHouse_1F_Movement_1A0833
	waitmove 0
	move 0x8009, LittlerootTown_BrendansHouse_1F_Movement_1A0835
	waitmove 0
	pause 20
	compare 0x8008, 0
	callif 1, LittlerootTown_BrendansHouse_1F_EventScript_1B6DCD
	compare 0x8008, 1
	callif 1, LittlerootTown_BrendansHouse_1F_EventScript_1B6DD8
	msgbox LittlerootTown_BrendansHouse_1F_Text_17298B, 4
	giveitem ITEM_SS_TICKET
	msgbox LittlerootTown_BrendansHouse_1F_Text_172A7D, 4
	closebutton
	compare 0x8008, 0
	callif 1, LittlerootTown_BrendansHouse_1F_EventScript_1B6DE3
	compare 0x8008, 1
	callif 1, LittlerootTown_BrendansHouse_1F_EventScript_1B6DEE
	msgbox LittlerootTown_BrendansHouse_1F_Text_172B5E, 4
	closebutton
	compare 0x8008, 0
	callif 1, LittlerootTown_BrendansHouse_1F_EventScript_1B6DF9
	compare 0x8008, 1
	callif 1, LittlerootTown_BrendansHouse_1F_EventScript_1B6E0B
	playsfx 8
	disappear 0x8009
	setflag 291
	setvar 0x4082, 4
	setvar 0x408c, 4
	releaseall
	end

LittlerootTown_BrendansHouse_1F_EventScript_1B6DAD:: @ 81B6DAD
	setvar 0x8008, 0
	setvar 0x8009, 5
	setvar 0x800a, 1
	return

LittlerootTown_BrendansHouse_1F_EventScript_1B6DBD:: @ 81B6DBD
	setvar 0x8008, 1
	setvar 0x8009, 5
	setvar 0x800a, 1
	return

LittlerootTown_BrendansHouse_1F_EventScript_1B6DCD:: @ 81B6DCD
	move 0x8009, LittlerootTown_BrendansHouse_1F_Movement_1B6E33
	waitmove 0
	return

LittlerootTown_BrendansHouse_1F_EventScript_1B6DD8:: @ 81B6DD8
	move 0x8009, LittlerootTown_BrendansHouse_1F_Movement_1B6E36
	waitmove 0
	return

LittlerootTown_BrendansHouse_1F_EventScript_1B6DE3:: @ 81B6DE3
	move 0x8009, LittlerootTown_BrendansHouse_1F_Movement_1B6E39
	waitmove 0
	return

LittlerootTown_BrendansHouse_1F_EventScript_1B6DEE:: @ 81B6DEE
	move 0x8009, LittlerootTown_BrendansHouse_1F_Movement_1B6E3B
	waitmove 0
	return

LittlerootTown_BrendansHouse_1F_EventScript_1B6DF9:: @ 81B6DF9
	move 255, LittlerootTown_BrendansHouse_1F_Movement_1B6E4F
	move 0x8009, LittlerootTown_BrendansHouse_1F_Movement_1B6E3D
	waitmove 0
	return

LittlerootTown_BrendansHouse_1F_EventScript_1B6E0B:: @ 81B6E0B
	move 255, LittlerootTown_BrendansHouse_1F_Movement_1B6E4F
	move 0x8009, LittlerootTown_BrendansHouse_1F_Movement_1B6E43
	waitmove 0
	return

LittlerootTown_BrendansHouse_1F_EventScript_1B6E1D:: @ 81B6E1D
	move 255, LittlerootTown_BrendansHouse_1F_Movement_1B6E49
	waitmove 0
	return

LittlerootTown_BrendansHouse_1F_EventScript_1B6E28:: @ 81B6E28
	move 255, LittlerootTown_BrendansHouse_1F_Movement_1B6E54
	waitmove 0
	return

LittlerootTown_BrendansHouse_1F_Movement_1B6E33:: @ 81B6E33
	step_right
	step_right
	step_end

LittlerootTown_BrendansHouse_1F_Movement_1B6E36:: @ 81B6E36
	step_left
	step_left
	step_end

LittlerootTown_BrendansHouse_1F_Movement_1B6E39:: @ 81B6E39
	step_left
	step_end

LittlerootTown_BrendansHouse_1F_Movement_1B6E3B:: @ 81B6E3B
	step_right
	step_end

LittlerootTown_BrendansHouse_1F_Movement_1B6E3D:: @ 81B6E3D
	step_down
	step_right
	step_right
	step_down
	step_13
	step_end

LittlerootTown_BrendansHouse_1F_Movement_1B6E43:: @ 81B6E43
	step_down
	step_left
	step_left
	step_down
	step_13
	step_end

LittlerootTown_BrendansHouse_1F_Movement_1B6E49:: @ 81B6E49
	step_14
	step_down
	step_down
	step_down
	step_27
	step_end

LittlerootTown_BrendansHouse_1F_Movement_1B6E4F:: @ 81B6E4F
	step_14
	step_14
	step_14
	step_25
	step_end

LittlerootTown_BrendansHouse_1F_Movement_1B6E54:: @ 81B6E54
	step_14
	step_down
	step_down
	step_down
	step_28
	step_end

Event_RunningShoesManual:: @ 81B6E5A
	msgbox UnknownString_81728E3, 3
	end

FallarborTown_ContestLobby_Text_1B6E63:: @ 81B6E63
	.string "Oh? Did you want to make some {POKEBLOCK}S\n"
	.string "with this old-timer?$"

FallarborTown_ContestLobby_Text_1B6E9D:: @ 81B6E9D
	.string "Excellent!$"

FallarborTown_ContestLobby_Text_1B6EA8:: @ 81B6EA8
	.string "Oh...\n"
	.string "You’ve made this old-timer sad...$"

FallarborTown_ContestLobby_Text_1B6ED0:: @ 81B6ED0
	.string "Do you know how to make a {POKEBLOCK}?$"

FallarborTown_ContestLobby_Text_1B6EF1:: @ 81B6EF1
	.string "Let’s get started, then!\p"
	.string "Let’s BERRY BLENDER!$"

FallarborTown_ContestLobby_Text_1B6F1F:: @ 81B6F1F
	.string "Okay, a little explanation, then.\p"
	.string "Oh, don’t worry, it’s quite simple.\p"
	.string "When the BLENDER’s arrow comes to\n"
	.string "your marker, just press the A Button.\p"
	.string "That’s all you have to do.\n"
	.string "You’ll see how easy it is when you try.$"

FallarborTown_ContestLobby_Text_1B6FF0:: @ 81B6FF0
	.string "Oh?\n"
	.string "You don’t have any BERRIES?\p"
	.string "If you don’t have any BERRIES,\n"
	.string "you can’t make any {POKEBLOCK}S.$"

FallarborTown_ContestLobby_Text_1B704A:: @ 81B704A
	.string "Well, that won’t do at all now, will it?\p"
	.string "If you don’t mind leftovers, you can\n"
	.string "have one of my BERRIES.\p"
	.string "That way, we could make some {POKEBLOCK}S\n"
	.string "together using the BERRY BLENDER.$"

FallarborTown_ContestLobby_Text_1B70F6:: @ 81B70F6
	.string "If I had some BERRIES left over,\n"
	.string "I’d gladly give you one...\p"
	.string "But, I don’t have any to spare today.\n"
	.string "We’ll have to do this another time.$"

FallarborTown_ContestLobby_Text_1B717C:: @ 81B717C
	.string "But your {POKEBLOCK} CASE is full.\p"
	.string "You should use some {POKEBLOCK}S before\n"
	.string "you come see me again.$"

FallarborTown_ContestLobby_Text_1B71D2:: @ 81B71D2
	.string "But you don’t have a {POKEBLOCK} CASE.\p"
	.string "You should get a {POKEBLOCK} CASE and then\n"
	.string "come see me.$"

LilycoveCity_ContestLobby_Text_1B7225:: @ 81B7225
SlateportCity_ContestLobby_Text_1B7225:: @ 81B7225
	.string "Let’s get blending already!$"

LilycoveCity_ContestLobby_Text_1B7241:: @ 81B7241
	.string "I wonder what kind of {POKEBLOCK} I’ll get?\n"
	.string "This is so exciting!$"

FallarborTown_ContestLobby_Text_1B727C:: @ 81B727C
	.string "{POKEBLOCK}S will be made with your friends \n"
	.string "from BERRIES in the BERRY BLENDER.\p"
	.string "Is it okay to save the game before\n"
	.string "linking with your friends?$"

FallarborTown_ContestLobby_Text_1B7304:: @ 81B7304
	.string "Searching for your friends...\n"
	.string "... ... B Button: Cancel$"

FallarborTown_ContestLobby_Text_1B733B:: @ 81B733B
	.string "{STR_VAR_1} arrived.$"

FallarborTown_ContestLobby_Text_1B7347:: @ 81B7347
	.string "{STR_VAR_1} and {STR_VAR_2} arrived.$"

FallarborTown_ContestLobby_Text_1B735A:: @ 81B735A
	.string "{STR_VAR_1}, {STR_VAR_2}, and\n"
	.string "{STR_VAR_3} arrived.$"

UnknownString_81B7372: @ 81B7372
	.string "Nobody came...$"

FallarborTown_ContestLobby_Text_1B7381:: @ 81B7381
	.string "You have no BERRIES.\n"
	.string "The BERRY BLENDER can’t be used.$"

FallarborTown_ContestLobby_Text_1B73B7:: @ 81B73B7
	.string "Your {POKEBLOCK} CASE is full.\n"
	.string "The BERRY BLENDER can’t be used.$"

FallarborTown_ContestLobby_Text_1B73F1:: @ 81B73F1
	.string "You don’t have a {POKEBLOCK} CASE.\n"
	.string "The BERRY BLENDER can’t be used.$"

FallarborTown_ContestLobby_Text_1B742F:: @ 81B742F
	.string "I love making {POKEBLOCK}S.\p"
	.string "I always have some BERRIES with me.$"

FallarborTown_ContestLobby_Text_1B7469:: @ 81B7469
	.string "If you’d like, we could make some\n"
	.string "{POKEBLOCK}S together using the\l"
	.string "BERRY BLENDER.$"

FallarborTown_ContestLobby_Text_1B74B4:: @ 81B74B4
	.string "Oh?\n"
	.string "You don’t have any BERRIES?\p"
	.string "Well, that won’t do at all now, will it?\p"
	.string "If you don’t mind leftovers, you can\n"
	.string "have one of my BERRIES.$"

FallarborTown_ContestLobby_Text_1B753A:: @ 81B753A
	.string "We’ll use it to make {POKEBLOCK}S together\n"
	.string "using the BERRY BLENDER.$"

FallarborTown_ContestLobby_Text_1B7578:: @ 81B7578
	.string "Oh?\n"
	.string "You don’t have any BERRIES?\p"
	.string "If I had some left over, I’d gladly\n"
	.string "give you one...\p"
	.string "But, I don’t have any to spare today.\n"
	.string "Sorry about that.$"

FallarborTown_ContestLobby_EventScript_1B7604:: @ 81B7604
	setvar 0x8008, 4
	setvar 0x8009, 1
	move 0x8008, FallarborTown_ContestLobby_Movement_1B7821
	waitmove 0
	jump FallarborTown_ContestLobby_EventScript_1B7681
	end

SlateportCity_ContestLobby_EventScript_1B761E:: @ 81B761E
	setvar 0x8008, 2
	setvar 0x8009, 2
	move 6, SlateportCity_ContestLobby_Movement_1A083D
	move 0x8008, SlateportCity_ContestLobby_Movement_1B7821
	waitmove 0
	jump SlateportCity_ContestLobby_EventScript_1B7681
	end

VerdanturfTown_ContestLobby_EventScript_1B763F:: @ 81B763F
	setvar 0x8008, 2
	setvar 0x8009, 1
	move 0x8008, VerdanturfTown_ContestLobby_Movement_1B7821
	waitmove 0
	jump VerdanturfTown_ContestLobby_EventScript_1B7681
	end

LilycoveCity_ContestLobby_EventScript_1B7659:: @ 81B7659
	setvar 0x8008, 3
	setvar 0x8009, 3
	move 9, LilycoveCity_ContestLobby_Movement_1A083D
	move 10, LilycoveCity_ContestLobby_Movement_1A083D
	move 0x8008, LilycoveCity_ContestLobby_Movement_1B7821
	waitmove 0
	jump LilycoveCity_ContestLobby_EventScript_1B7681
	end

FallarborTown_ContestLobby_EventScript_1B7681:: @ 81B7681
LilycoveCity_ContestLobby_EventScript_1B7681:: @ 81B7681
SlateportCity_ContestLobby_EventScript_1B7681:: @ 81B7681
VerdanturfTown_ContestLobby_EventScript_1B7681:: @ 81B7681
	lockall
	msgbox FallarborTown_ContestLobby_Text_1B6E63, 5
	compare RESULT, 1
	jumpeq FallarborTown_ContestLobby_EventScript_1B76A1
	compare RESULT, 0
	jumpeq FallarborTown_ContestLobby_EventScript_1B76E5
	end

FallarborTown_ContestLobby_EventScript_1B76A1:: @ 81B76A1
	checkitem ITEM_POKEBLOCK_CASE, 1
	compare RESULT, 0
	jumpeq FallarborTown_ContestLobby_EventScript_1B7780
	specialval RESULT, 49
	compare RESULT, 0
	jumpeq FallarborTown_ContestLobby_EventScript_1B770E
	msgbox FallarborTown_ContestLobby_Text_1B6E9D, 4
	specialval RESULT, 160
	compare RESULT, 65535
	jumpif 5, FallarborTown_ContestLobby_EventScript_1B76EF
	compare RESULT, 65535
	jumpeq FallarborTown_ContestLobby_EventScript_1B7776
	end

FallarborTown_ContestLobby_EventScript_1B76E5:: @ 81B76E5
	msgbox FallarborTown_ContestLobby_Text_1B6EA8, 4
	releaseall
	end

FallarborTown_ContestLobby_EventScript_1B76EF:: @ 81B76EF
	msgbox FallarborTown_ContestLobby_Text_1B6ED0, 5
	compare RESULT, 1
	jumpeq FallarborTown_ContestLobby_EventScript_1B7734
	compare RESULT, 0
	jumpeq FallarborTown_ContestLobby_EventScript_1B7726
	end

FallarborTown_ContestLobby_EventScript_1B770E:: @ 81B770E
	msgbox FallarborTown_ContestLobby_Text_1B6FF0, 4
	checkdailyflags
	checkflag 2241
	jumpeq FallarborTown_ContestLobby_EventScript_1B774F
	jump FallarborTown_ContestLobby_EventScript_1B7759
	end

FallarborTown_ContestLobby_EventScript_1B7726:: @ 81B7726
	msgbox FallarborTown_ContestLobby_Text_1B6F1F, 4
	jump FallarborTown_ContestLobby_EventScript_1B7734
	end

FallarborTown_ContestLobby_EventScript_1B7734:: @ 81B7734
	msgbox FallarborTown_ContestLobby_Text_1B6EF1, 4
	jump FallarborTown_ContestLobby_EventScript_1B7742
	end

FallarborTown_ContestLobby_EventScript_1B7742:: @ 81B7742
	copyvar 0x8004, 0x8009
	fadescreen 1
	special 161
	waitstate
	releaseall
	end

FallarborTown_ContestLobby_EventScript_1B774F:: @ 81B774F
	msgbox FallarborTown_ContestLobby_Text_1B70F6, 4
	releaseall
	end

FallarborTown_ContestLobby_EventScript_1B7759:: @ 81B7759
	msgbox FallarborTown_ContestLobby_Text_1B704A, 4
	giveitem ITEM_PECHA_BERRY
	setflag 2241
	jump FallarborTown_ContestLobby_EventScript_1B76EF
	end

FallarborTown_ContestLobby_EventScript_1B7776:: @ 81B7776
	msgbox FallarborTown_ContestLobby_Text_1B717C, 4
	releaseall
	end

FallarborTown_ContestLobby_EventScript_1B7780:: @ 81B7780
	msgbox FallarborTown_ContestLobby_Text_1B71D2, 4
	releaseall
	end

FallarborTown_ContestLobby_EventScript_1B778A:: @ 81B778A
	setvar 0x8008, 4
	jump FallarborTown_ContestLobby_EventScript_1B77B6
	end

SlateportCity_ContestLobby_EventScript_1B7795:: @ 81B7795
	setvar 0x8008, 2
	jump SlateportCity_ContestLobby_EventScript_1B77B6
	end

VerdanturfTown_ContestLobby_EventScript_1B77A0:: @ 81B77A0
	setvar 0x8008, 2
	jump VerdanturfTown_ContestLobby_EventScript_1B77B6
	end

LilycoveCity_ContestLobby_EventScript_1B77AB:: @ 81B77AB
	setvar 0x8008, 3
	jump LilycoveCity_ContestLobby_EventScript_1B77B6
	end

FallarborTown_ContestLobby_EventScript_1B77B6:: @ 81B77B6
LilycoveCity_ContestLobby_EventScript_1B77B6:: @ 81B77B6
SlateportCity_ContestLobby_EventScript_1B77B6:: @ 81B77B6
VerdanturfTown_ContestLobby_EventScript_1B77B6:: @ 81B77B6
	lock
	faceplayer
	msgbox FallarborTown_ContestLobby_Text_1B742F, 4
	specialval RESULT, 49
	compare RESULT, 1
	jumpeq FallarborTown_ContestLobby_EventScript_1B77DC
	compare RESULT, 0
	jumpeq FallarborTown_ContestLobby_EventScript_1B77E6
	end

FallarborTown_ContestLobby_EventScript_1B77DC:: @ 81B77DC
	msgbox FallarborTown_ContestLobby_Text_1B7469, 4
	release
	end

FallarborTown_ContestLobby_EventScript_1B77E6:: @ 81B77E6
	checkdailyflags
	checkflag 2241
	jumpeq FallarborTown_ContestLobby_EventScript_1B77F6
	jump FallarborTown_ContestLobby_EventScript_1B7800
	end

FallarborTown_ContestLobby_EventScript_1B77F6:: @ 81B77F6
	msgbox FallarborTown_ContestLobby_Text_1B7578, 4
	release
	end

FallarborTown_ContestLobby_EventScript_1B7800:: @ 81B7800
	msgbox FallarborTown_ContestLobby_Text_1B74B4, 4
	giveitem ITEM_PECHA_BERRY
	setflag 2241
	msgbox FallarborTown_ContestLobby_Text_1B753A, 4
	release
	end

FallarborTown_ContestLobby_Movement_1B7821:: @ 81B7821
LilycoveCity_ContestLobby_Movement_1B7821:: @ 81B7821
SlateportCity_ContestLobby_Movement_1B7821:: @ 81B7821
VerdanturfTown_ContestLobby_Movement_1B7821:: @ 81B7821
	step_28
	step_end

FallarborTown_ContestLobby_EventScript_1B7823:: @ 81B7823
	jump FallarborTown_ContestLobby_EventScript_1B783B
	end

SlateportCity_ContestLobby_EventScript_1B7829:: @ 81B7829
	jump SlateportCity_ContestLobby_EventScript_1B783B
	end

VerdanturfTown_ContestLobby_EventScript_1B782F:: @ 81B782F
	jump VerdanturfTown_ContestLobby_EventScript_1B783B
	end

LilycoveCity_ContestLobby_EventScript_1B7835:: @ 81B7835
	jump LilycoveCity_ContestLobby_EventScript_1B783B
	end

FallarborTown_ContestLobby_EventScript_1B783B:: @ 81B783B
LilycoveCity_ContestLobby_EventScript_1B783B:: @ 81B783B
SlateportCity_ContestLobby_EventScript_1B783B:: @ 81B783B
VerdanturfTown_ContestLobby_EventScript_1B783B:: @ 81B783B
	lockall
	specialval RESULT, 49
	compare RESULT, 0
	jumpeq FallarborTown_ContestLobby_EventScript_1B7897
	checkitem ITEM_POKEBLOCK_CASE, 1
	compare RESULT, 0
	jumpeq FallarborTown_ContestLobby_EventScript_1B7942
	specialval RESULT, 160
	compare RESULT, 65535
	jumpif 5, FallarborTown_ContestLobby_EventScript_1B7878
	compare RESULT, 65535
	jumpeq FallarborTown_ContestLobby_EventScript_1B7938
	end

FallarborTown_ContestLobby_EventScript_1B7878:: @ 81B7878
	msgbox FallarborTown_ContestLobby_Text_1B727C, 5
	compare RESULT, 1
	jumpeq FallarborTown_ContestLobby_EventScript_1B78A1
	compare RESULT, 0
	jumpeq FallarborTown_ContestLobby_EventScript_1B7936
	end

FallarborTown_ContestLobby_EventScript_1B7897:: @ 81B7897
	msgbox FallarborTown_ContestLobby_Text_1B7381, 4
	releaseall
	end

FallarborTown_ContestLobby_EventScript_1B78A1:: @ 81B78A1
	call FallarborTown_ContestLobby_EventScript_19F806
	compare RESULT, 0
	jumpeq FallarborTown_ContestLobby_EventScript_1B7936
	message FallarborTown_ContestLobby_Text_1B7304
	waittext
	special 36
	waitstate
	compare RESULT, 1
	jumpeq FallarborTown_ContestLobby_EventScript_1B7980
	compare RESULT, 2
	jumpeq FallarborTown_ContestLobby_EventScript_1B794C
	compare RESULT, 3
	jumpeq FallarborTown_ContestLobby_EventScript_1B7959
	compare RESULT, 5
	jumpeq FallarborTown_ContestLobby_EventScript_1B7966
	compare RESULT, 6
	jumpeq FallarborTown_ContestLobby_EventScript_1B7973
	end

FallarborTown_ContestLobby_EventScript_1B78F3:: @ 81B78F3
	msgbox FallarborTown_ContestLobby_Text_1B733B, 4
	jump FallarborTown_ContestLobby_EventScript_1B791D
	end

FallarborTown_ContestLobby_EventScript_1B7901:: @ 81B7901
	msgbox FallarborTown_ContestLobby_Text_1B7347, 4
	jump FallarborTown_ContestLobby_EventScript_1B791D
	end

FallarborTown_ContestLobby_EventScript_1B790F:: @ 81B790F
	msgbox FallarborTown_ContestLobby_Text_1B735A, 4
	jump FallarborTown_ContestLobby_EventScript_1B791D
	end

FallarborTown_ContestLobby_EventScript_1B791D:: @ 81B791D
	setvar 0x8004, 0
	fadescreen 1
	disappear 240
	disappear 239
	disappear 238
	disappear 237
	special 161
	waitstate
	releaseall
	end

FallarborTown_ContestLobby_EventScript_1B7936:: @ 81B7936
	releaseall
	end

FallarborTown_ContestLobby_EventScript_1B7938:: @ 81B7938
	msgbox FallarborTown_ContestLobby_Text_1B73B7, 4
	releaseall
	end

FallarborTown_ContestLobby_EventScript_1B7942:: @ 81B7942
	msgbox FallarborTown_ContestLobby_Text_1B73F1, 4
	releaseall
	end

FallarborTown_ContestLobby_EventScript_1B794C:: @ 81B794C
	special 31
	msgbox FallarborTown_ContestLobby_Text_1A4A30, 4
	releaseall
	end

FallarborTown_ContestLobby_EventScript_1B7959:: @ 81B7959
	special 31
	msgbox FallarborTown_ContestLobby_Text_1A4B1D, 4
	releaseall
	end

FallarborTown_ContestLobby_EventScript_1B7966:: @ 81B7966
	special 31
	msgbox FallarborTown_ContestLobby_Text_1A10EB, 4
	releaseall
	end

FallarborTown_ContestLobby_EventScript_1B7973:: @ 81B7973
	special 31
	msgbox FallarborTown_ContestLobby_Text_1A4A85, 4
	releaseall
	end

FallarborTown_ContestLobby_EventScript_1B7980:: @ 81B7980
	fadescreen 1
	specialval RESULT, 37
	copyvar 0x8008, RESULT
	copyvar 0x8004, 0x8008
	special 38
	jump FallarborTown_ContestLobby_EventScript_1B799A
	end

FallarborTown_ContestLobby_EventScript_1B799A:: @ 81B799A
	fadescreen 0
	switch 0x8008
	case 2, FallarborTown_ContestLobby_EventScript_1B78F3
	case 3, FallarborTown_ContestLobby_EventScript_1B7901
	case 4, FallarborTown_ContestLobby_EventScript_1B790F
	end

	.include "data/text/trainers.s"

Event_RepelWoreOff:: @ 81C33E6
	msgbox Text_RepelWoreOff, 3
	end

Text_RepelWoreOff: @ 81C33EF
	.string "REPEL’s effect wore off...$"

gUnknown_081C340A:: @ 81C340A
	setvar 0x40a4, 1
	special 206
	warp3 Route121_SafariZoneEntrance, 255, 2, 5
	end

EventScript_1C341B: @ 81C341B
	setvar 0x40a4, 1
	special 206
	warp Route121_SafariZoneEntrance, 255, 2, 5
	waitstate
	end

gUnknown_081C342D:: @ 81C342D
	lockall
	msgbox UnknownString_81C34B2, 5
	compare RESULT, 1
	jumpeq EventScript_1C3443
	releaseall
	end

EventScript_1C3443:
	jump EventScript_1C341B

gUnknown_081C3448:: @ 81C3448
	lockall
	playsfx 73
	message UnknownString_81C34E4
	waittext
	waitbutton
	releaseall
	jump EventScript_1C341B

gUnknown_081C3459:: @ 81C3459
	lockall
	playsfx 73
	message UnknownString_81C3514
	waittext
	waitbutton
	releaseall
	jump EventScript_1C341B

gUnknown_081C346A:: @ 81C346A
	lockall
	special 207
	compare RESULT, -1
	jumpif 5, EventScript_1C34A9
	msgbox UnknownString_81C354E, 5
	compare RESULT, 1
	jumpeq EventScript_1C348E
	releaseall
	end

EventScript_1C348E:
	fadescreen 1
	special 208
	waitstate
	compare RESULT, -1
	jumpif 5, EventScript_1C34A0
	end

EventScript_1C34A0:
	message UnknownString_81C35A9
	waittext
	waitbutton
	releaseall
	end

EventScript_1C34A9:
	message UnknownString_81C3583
	waittext
	waitbutton
	releaseall
	end

UnknownString_81C34B2: @ 81C34B2
	.string "Would you like to exit the SAFARI ZONE\n"
	.string "right now?$"

UnknownString_81C34E4: @ 81C34E4
	.string "Ding-dong! Time’s up!\n"
	.string "Your SAFARI Game is over.$"

UnknownString_81C3514: @ 81C3514
	.string "You’ve run out of SAFARI BALLS.\n"
	.string "Your SAFARI Game is over.$"

UnknownString_81C354E: @ 81C354E
	.string "Would you like to place a {POKEBLOCK}\n"
	.string "on the {POKEBLOCK} FEEDER?$"

UnknownString_81C3583: @ 81C3583
	.string "The {STR_VAR_1} you left\n"
	.string "before is still here.$"

UnknownString_81C35A9: @ 81C35A9
	.string "The {STR_VAR_1} was placed\n"
	.string "on the {POKEBLOCK} FEEDER.$"

	.include "data/text/maps/Route121_SafariZoneEntrance.s"
	.include "data/text/maps/SafariZone_Southeast.s"
	.include "data/text/maps/SafariZone_Southwest.s"
	.include "data/text/maps/SafariZone_Northwest.s"
	.include "data/text/maps/SafariZone_Northeast.s"
SafariZone_Southeast_Text_1C3DCE:: @ 81C3DCE
	.string "I put a {POKEBLOCK} on the {POKEBLOCK} FEEDER.\n"
	.string "But it seems to have disappeared.\p"
	.string "I guess POKéMON must have eaten it\n"
	.string "without me noticing.$"

Route121_SafariZoneEntrance_Text_1C3E4B:: @ 81C3E4B
	.string "SAFARI ZONE TRAINER TIP!\p"
	.string "Throw {POKEBLOCK}S at wild POKéMON to make\n"
	.string "them less likely to flee.$"

SafariZone_Southwest_Text_1C3EA3:: @ 81C3EA3
	.string "“Relieve your tired feet.”\n"
	.string "REST HOUSE$"

SafariZone_RestHouse_Text_1C3EC9:: @ 81C3EC9
	.string "I don’t have any {POKEBLOCK}S, but I caught\n"
	.string "a good number of POKéMON.\p"
	.string "You can improve your chances of making\n"
	.string "a catch by getting closer to them\l"
	.string "before throwing a SAFARI BALL.$"

SafariZone_RestHouse_Text_1C3F71:: @ 81C3F71
	.string "If you use {POKEBLOCK}S, wild POKéMON won’t\n"
	.string "be so quick to run away.\p"
	.string "It’s not much use to give {POKEBLOCK}S to\n"
	.string "POKéMON that don’t flee easily.$"

SafariZone_RestHouse_Text_1C3FF4:: @ 81C3FF4
	.string "If you put a {POKEBLOCK} on the FEEDER,\n"
	.string "POKéMON are attracted to it.\p"
	.string "I think POKéMON with the same sort of\n"
	.string "nature are drawn by a certain {POKEBLOCK}.$"

MauvilleCity_GameCorner_EventScript_1C407E:: @ 81C407E
	checkitem ITEM_COIN_CASE, 1
	compare RESULT, 0
	jumpeq MauvilleCity_GameCorner_EventScript_1572B5
	setvar 0x8004, 0
	event_96 2
	compare RESULT, 0
	jumpeq MauvilleCity_GameCorner_EventScript_1C40DA
	addvar 0x8004, 128
	jump MauvilleCity_GameCorner_EventScript_1C40DA
	end

MauvilleCity_GameCorner_EventScript_1C40AC:: @ 81C40AC
	checkitem ITEM_COIN_CASE, 1
	compare RESULT, 0
	jumpeq MauvilleCity_GameCorner_EventScript_1572B5
	setvar 0x8004, 1
	event_96 2
	compare RESULT, 0
	jumpeq MauvilleCity_GameCorner_EventScript_1C40DA
	addvar 0x8004, 128
	jump MauvilleCity_GameCorner_EventScript_1C40DA
	end

MauvilleCity_GameCorner_EventScript_1C40DA:: @ 81C40DA
	special 162
	waitstate
	end

	.global gUnknown_081C40DF
gUnknown_081C40DF: @ 81C40DF
UnknownString_81C40DF: @ 81C40DF
	.string "The minimum wager at this table is {STR_VAR_1}. \n"
	.string "Do you want to play?$"

	.global gUnknown_081C411C
gUnknown_081C411C: @ 81C411C
UnknownString_81C411C: @ 81C411C
	.string "You don’t have enough COINS.$"

	.global gUnknown_081C4139
gUnknown_081C4139: @ 81C4139
UnknownString_81C4139: @ 81C4139
	.string "Special rate table right now!$"

	.global gUnknown_081C4157
gUnknown_081C4157: @ 81C4157
	.string "Place your wager with the + Control Pad,\n"
	.string "then press the A Button.$"

	.global gUnknown_081C4199
gUnknown_081C4199: @ 81C4199
UnknownString_81C4199: @ 81C4199
	.string "It’s a hit!$"

	.global gUnknown_081C41A5
gUnknown_081C41A5: @ 81C41A5
UnknownString_81C41A5: @ 81C41A5
	.string "Jackpot!$"

	.global gUnknown_081C41AE
gUnknown_081C41AE: @ 81C41AE
UnknownString_81C41AE: @ 81C41AE
	.string "Nothing doing!$"

	.global gUnknown_081C41BD
gUnknown_081C41BD: @ 81C41BD
UnknownString_81C41BD: @ 81C41BD
	.string "You’ve won {STR_VAR_1} COINS!$"

	.global gUnknown_081C41D2
gUnknown_081C41D2: @ 81C41D2
UnknownString_81C41D2: @ 81C41D2
	.string "No COINS left...$"

	.global gUnknown_081C41E3
gUnknown_081C41E3: @ 81C41E3
UnknownString_81C41E3: @ 81C41E3
	.string "Keep playing?$"

	.global gUnknown_081C41F1
gUnknown_081C41F1: @ 81C41F1
UnknownString_81C41F1: @ 81C41F1
	.string "The ROULETTE board will be cleared.$"

UnknownString_81C4215: @ 81C4215
	.string "You don’t have a COIN CASE.$"

	.global gUnknown_081C4231
gUnknown_081C4231: @ 81C4231

UnknownString_81C4231: @ 81C4231
	.string "Your COIN CASE is full!\n"
	.string "Coins can be exchanged for prizes.$"

UnknownString_81C426C: @ 81C426C
	.string "I’m very interested in big {STR_VAR_1}.\n"
	.string "The bigger the better.\p"
	.string "Huh? Do you have a {STR_VAR_1}?\n"
	.string "P-p-please, show me!$"

UnknownString_81C42CE: @ 81C42CE
	.string "Oh, my gosh, this is a big one!\n"
	.string "This is a grand {STR_VAR_1}!\p"
	.string "Thanks for showing me.\n"
	.string "This is my thanks!$"

UnknownString_81C432C: @ 81C432C
	.string "{PLAYER} received one {STR_VAR_2}.$"

UnknownString_81C4340: @ 81C4340
	.string "Hunh?\n"
	.string "Your BAG is crammed full.$"

UnknownString_81C4360: @ 81C4360
	.string "Hmm... I’ve seen a bigger {STR_VAR_1}\n"
	.string "than this one.$"

UnknownString_81C438C: @ 81C438C
	.string "Oh, now this is quite something...\n"
	.string "But it’s not a {STR_VAR_1}!$"

UnknownString_81C43C2: @ 81C43C2
	.string "You don’t have a big {STR_VAR_1}?\n"
	.string "That’s too bad...\p"
	.string "If you get a big {STR_VAR_1},\n"
	.string "please come show me.$"

UnknownString_81C4417: @ 81C4417
	.string "The biggest {STR_VAR_1} in history!\n"
	.string "{STR_VAR_2}’s {STR_VAR_3}-inch colossus!$"

Route101_Text_1C4449:: @ 81C4449
	.string "PROF. BIRCH: Ah, {PLAYER}{KUN}!\p"
	.string "Have you come to show me how your\n"
	.string "POKéDEX is coming along?$"

Route101_Text_1C449B:: @ 81C449B
	.string "Hm? Oh, you haven’t caught enough\n"
	.string "POKéMON to make it worthwhile.$"

Route101_Text_1C44DC:: @ 81C44DC
	.string "Hmhm...\p"
	.string "So, you’ve seen {STR_VAR_1} POKéMON,\n"
	.string "and you’ve caught {STR_VAR_2} POKéMON...$"

	.global gUnknown_081C4520
gUnknown_081C4520: @ 81C4520
UnknownString_81C4520: @ 81C4520
	.string "You should go into grassy areas more\n"
	.string "and look for POKéMON more carefully.$"

	.global gUnknown_081C456A
gUnknown_081C456A: @ 81C456A
UnknownString_81C456A: @ 81C456A
	.string "I guess you’re getting the hang of it.\n"
	.string "But, it gets harder from here.$"

	.global gUnknown_081C45B0
gUnknown_081C45B0: @ 81C45B0
UnknownString_81C45B0: @ 81C45B0
	.string "Some POKéMON only appear in certain\n"
	.string "areas. You’ll need to be persistent.$"

	.global gUnknown_081C45F9
gUnknown_081C45F9: @ 81C45F9
UnknownString_81C45F9: @ 81C45F9
	.string "Well, it could use more quantity, but\n"
	.string "this is looking more like a POKéDEX now.$"

	.global gUnknown_081C4648
gUnknown_081C4648: @ 81C4648
UnknownString_81C4648: @ 81C4648
	.string "This is coming along pretty good.\n"
	.string "Keep up the effort.$"

	.global gUnknown_081C467E
gUnknown_081C467E: @ 81C467E
UnknownString_81C467E: @ 81C467E
	.string "Are you using any RODS?\n"
	.string "There are many POKéMON in the sea.$"

	.global gUnknown_081C46B9
gUnknown_081C46B9: @ 81C46B9
UnknownString_81C46B9: @ 81C46B9
	.string "Instead of just catching POKéMON,\n"
	.string "how about making them evolve, too?$"

	.global gUnknown_081C46FE
gUnknown_081C46FE: @ 81C46FE
UnknownString_81C46FE: @ 81C46FE
	.string "This is going to be a fantastic POKéDEX.\n"
	.string "That’s the feeling I’m getting.$"

	.global gUnknown_081C4747
gUnknown_081C4747: @ 81C4747
UnknownString_81C4747: @ 81C4747
	.string "You’ve collected this many...\n"
	.string "Your talent is remarkable!$"

	.global gUnknown_081C4780
gUnknown_081C4780: @ 81C4780
UnknownString_81C4780: @ 81C4780
	.string "Have you visited the SAFARI ZONE?\p"
	.string "I hear there are some POKéMON that\n"
	.string "can only be caught there.$"

	.global gUnknown_081C47DF
gUnknown_081C47DF: @ 81C47DF
UnknownString_81C47DF: @ 81C47DF
	.string "You’ve finally reached the 100-kind\n"
	.string "mark. This is an impressive POKéDEX!$"

	.global gUnknown_081C4828
gUnknown_081C4828: @ 81C4828
UnknownString_81C4828: @ 81C4828
	.string "There might be POKéMON that can be\n"
	.string "found using ROCK SMASH.$"

	.global gUnknown_081C4863
gUnknown_081C4863: @ 81C4863
UnknownString_81C4863: @ 81C4863
	.string "You should get some more POKéMON by\n"
	.string "trading with others.$"

	.global gUnknown_081C489C
gUnknown_081C489C: @ 81C489C
UnknownString_81C489C: @ 81C489C
	.string "I’ve heard of POKéMON that evolve when\n"
	.string "they come to fully love their TRAINERS.$"

	.global gUnknown_081C48EB
gUnknown_081C48EB: @ 81C48EB
UnknownString_81C48EB: @ 81C48EB
	.string "I had no idea that there were so many\n"
	.string "POKéMON species in the HOENN region.$"

	.global gUnknown_081C4936
gUnknown_081C4936: @ 81C4936
UnknownString_81C4936: @ 81C4936
	.string "On occasion, some POKéMON appear in\n"
	.string "large numbers like wild outbreaks.\l"
	.string "Don’t miss opportunities like those.$"

	.global gUnknown_081C49A2
gUnknown_081C49A2: @ 81C49A2
UnknownString_81C49A2: @ 81C49A2
	.string "One can get a very good idea about the\n"
	.string "POKéMON of the HOENN region by looking\l"
	.string "through your POKéDEX.$"

	.global gUnknown_081C4A06
gUnknown_081C4A06: @ 81C4A06
UnknownString_81C4A06: @ 81C4A06
	.string "I’d say you already qualify as a POKéMON\n"
	.string "PROFESSOR, and a good one, too!$"

	.global gUnknown_081C4A4F
gUnknown_081C4A4F: @ 81C4A4F
UnknownString_81C4A4F: @ 81C4A4F
	.string "With a POKéDEX this complete, you’re\n"
	.string "a real professional at this!$"

	.global gUnknown_081C4A91
gUnknown_081C4A91: @ 81C4A91
UnknownString_81C4A91: @ 81C4A91
	.string "You’re very close to completing this\n"
	.string "POKéDEX. I can feel it in my bones!$"

	.global gUnknown_081C4ADA
gUnknown_081C4ADA: @ 81C4ADA

UnknownString_81C4ADA: @ 81C4ADA
	.string "Congratulations!\n"
	.string "Your POKéDEX is complete!$"

Route101_Text_1C4B05:: @ 81C4B05
	.string "Hmhm...\n"
	.string "On a nationwide basis...\p"
	.string "You’ve seen {STR_VAR_1} POKéMON,\n"
	.string "and you’ve caught {STR_VAR_2} POKéMON...$"

LilycoveCity_DepartmentStore_1F_Text_1C4B5E:: @ 81C4B5E
	.string "This is the POKéMON LOTTERY CORNER.\p"
	.string "All shoppers visiting our DEPARTMENT\n"
	.string "STORE get to draw a POKéMON LOTO\l"
	.string "TICKET.\p"
	.string "If the LOTO TICKET’s number matches\n"
	.string "the ID number of any of your POKéMON,\l"
	.string "you will receive a fabulous gift.\p"
	.string "Would you like to draw a POKéMON\n"
	.string "LOTO TICKET?$"

LilycoveCity_DepartmentStore_1F_Text_1C4C6A:: @ 81C4C6A
	.string "Please come back tomorrow.$"

LilycoveCity_DepartmentStore_1F_Text_1C4C85:: @ 81C4C85
	.string "Please do visit us again.$"

UnknownString_81C4C9F: @ 81C4C9F
	.string "Please pick a LOTO TICKET.\n"
	.string "... ... ...$"

LilycoveCity_DepartmentStore_1F_Text_1C4CC6:: @ 81C4CC6
	.string "Please pick a LOTO TICKET.\n"
	.string "...{PAUSE}{0x39} ...{PAUSE}{0x39} ...{PAUSE}{0x39}$"

LilycoveCity_DepartmentStore_1F_Text_1C4CF6:: @ 81C4CF6
	.string "The LOTO TICKET number is {STR_VAR_1}.\p"
	.string "I need to run a check on this number\n"
	.string "to see if it matches any of your\l"
	.string "POKéMON’s ID numbers. Please wait.$"

LilycoveCity_DepartmentStore_1F_Text_1C4D7D:: @ 81C4D7D
	.string "Congratulations!\p"
	.string "The ID number of your team’s\n"
	.string "{STR_VAR_1} matches your LOTO TICKET’s\l"
	.string "number!$"

LilycoveCity_DepartmentStore_1F_Text_1C4DD1:: @ 81C4DD1
	.string "Congratulations!\p"
	.string "The ID number of your PC-boxed\n"
	.string "{STR_VAR_1} matches your LOTO TICKET’s\l"
	.string "number!$"

LilycoveCity_DepartmentStore_1F_Text_1C4E27:: @ 81C4E27
	.string "I’m sorry.\n"
	.string "None of the numbers matched.$"

LilycoveCity_DepartmentStore_1F_Text_1C4E4F:: @ 81C4E4F
	.string "Two digits matched, so you win the\n"
	.string "third prize!\l"
	.string "You’ve won the {STR_VAR_1}!$"

LilycoveCity_DepartmentStore_1F_Text_1C4E92:: @ 81C4E92
	.string "Three digits matched, so you win the\n"
	.string "second prize!\l"
	.string "You’ve won the {STR_VAR_1}!$"

LilycoveCity_DepartmentStore_1F_Text_1C4ED8:: @ 81C4ED8
	.string "Four digits matched, so you win the\n"
	.string "first prize!\l"
	.string "You’ve won the {STR_VAR_1}!$"

LilycoveCity_DepartmentStore_1F_Text_1C4F1C:: @ 81C4F1C
	.string "Oh, my goodness, all five digits matched!\p"
	.string "You’ve won the jackpot prize!\n"
	.string "You’ve won the {STR_VAR_1}!$"

LilycoveCity_DepartmentStore_1F_Text_1C4F77:: @ 81C4F77
	.string "Oh?\n"
	.string "You seem to have no room for this.\p"
	.string "Please make room in your BAG and\n"
	.string "let me know.$"

LilycoveCity_DepartmentStore_1F_Text_1C4FCC:: @ 81C4FCC
	.string "{PLAYER}?\n"
	.string "Yes, I’ve been expecting you.\p"
	.string "This is the prize we’ve been holding\n"
	.string "for you.$"

LilycoveCity_DepartmentStore_1F_Text_1C501C:: @ 81C501C
	.string "Please do visit again.$"

UnknownString_81C5033: @ 81C5033
	.string "DAD: {PLAYER}! Good to see you!\n"
	.string "There’s a letter here for you, {PLAYER}.$"

UnknownString_81C5070: @ 81C5070
	.string "DAD: I guess this is a PASS for a ship.\n"
	.string "But I’ve never seen this ship before.\p"
	.string "You should find out what this is about\n"
	.string "in LILYCOVE.$"

LilycoveCity_Harbor_Text_1C50F2:: @ 81C50F2
	.string "The ferry to SLATEPORT is...\p"
	.string "Oh?\n"
	.string "That PASS...$"

LilycoveCity_Harbor_Text_1C5120:: @ 81C5120
	.string "Aye, mate, are you the one who brought\n"
	.string "that mighty odd PASS?\p"
	.string "I’ll tell you, you’re trying to reach a\n"
	.string "tiny spit of an island far in the south.\p"
	.string "There’s no telling what we’ll encounter\n"
	.string "once we reach there, aye.\l"
	.string "That shivers my timbers!\p"
	.string "All aboard!$"

SouthernIsland_Exterior_Text_1C5215:: @ 81C5215
	.string "Aye, mate, there’s nothing here to\n"
	.string "see or do on this forgettable island.\p"
	.string "What say we sail back to LILYCOVE?$"

SouthernIsland_Exterior_Text_1C5281:: @ 81C5281
	.string "Aye, right, then!\n"
	.string "Sail home we will!$"

SouthernIsland_Exterior_Text_1C52A6:: @ 81C52A6
	.string "Aye, right, as you like, then.$"

SouthernIsland_Interior_Text_1C52C5:: @ 81C52C5
	.string "“All dreams are but another reality.\n"
	.string "Never forget...”$"

SouthernIsland_Exterior_Text_1C52FB:: @ 81C52FB
	.string "“Those whose memories fade seek to\n"
	.string "carve them in their hearts...”$"

	.include "data/text/braille.s"

PetalburgCity_Gym_Text_1C5570:: @ 81C5570
	.string "DAD: Hi, {PLAYER}!\p"
	.string "I just received a very rare BERRY.\n"
	.string "I’d like you to have it.$"

Route104_Text_1C55B9:: @ 81C55B9
	.string "If you see BERRIES growing in loamy\n"
	.string "soil, feel free to take them.\p"
	.string "But make sure you plant a BERRY in the\n"
	.string "same spot. That’s common courtesy.\p"
	.string "Here, I’ll share this with you.$"

Route104_Text_1C5665:: @ 81C5665
	.string "The way you look, you must be a\n"
	.string "TRAINER, no?\p"
	.string "TRAINERS often make POKéMON hold\n"
	.string "BERRIES.\p"
	.string "It’s up to you whether to grow BERRIES\n"
	.string "or use them.$"

Route111_Text_1C56F0:: @ 81C56F0
	.string "I watered my plants lots and lots!\n"
	.string "A whole bunch of flowers bloomed!\p"
	.string "And then a whole bunch of BERRIES\n"
	.string "appeared!\p"
	.string "Here you go!\n"
	.string "You can have this!$"

Route111_Text_1C5781:: @ 81C5781
	.string "I’m going to try really hard and make\n"
	.string "some RED {POKEBLOCK}S!\p"
	.string "I hope you try hard, too!$"

Route111_Text_1C57D2:: @ 81C57D2
	.string "I wonder what color BERRIES I’ll look\n"
	.string "for today?$"

Route114_Text_1C5803:: @ 81C5803
	.string "I’m gathering BERRIES so I can win a\n"
	.string "POKéMON CONTEST.\p"
	.string "If you’d like, I’ll share one with you.$"

Route114_Text_1C5861:: @ 81C5861
	.string "Good luck to you, too!$"

Route114_Text_1C5878:: @ 81C5878
	.string "What BERRIES should I plant today?\n"
	.string "What color {POKEBLOCK}S should I make?\p"
	.string "Fretting over stuff like that is fun\n"
	.string "in its own way.$"

Route120_Text_1C58F1:: @ 81C58F1
	.string "Give the case a shake, and out pops\n"
	.string "a {POKEBLOCK}...\p"
	.string "And that {POKEBLOCK} is caught and eaten\n"
	.string "by a POKéMON...\p"
	.string "It’s an expression of love, isn’t it?$"

Route120_Text_1C5979:: @ 81C5979
	.string "Yes, yes.\n"
	.string "You understand what I mean.\p"
	.string "You should take this.$"

Route120_Text_1C59B5:: @ 81C59B5
	.string "Oh... But it is important to make your\n"
	.string "own impressions, I guess...\p"
	.string "You can have this.$"

Route120_Text_1C5A0B:: @ 81C5A0B
	.string "I think that BERRY is rare.\n"
	.string "I hope you raise it with loving care.$"

Route120_Text_1C5A4D:: @ 81C5A4D
	.string "I’ll get more BERRIES from the\n"
	.string "BERRY MASTER.$"

LilycoveCity_Text_1C5A7A:: @ 81C5A7A
	.string "When it gets right down to it...\p"
	.string "The same way suits suit me perfectly,\n"
	.string "a crisp breeze suits the sea.\p"
	.string "And you, a BERRY suits you to a “T”...\p"
	.string "Why should that be so?$"

LilycoveCity_Text_1C5B1D:: @ 81C5B1D
	.string "When it gets right down to it...\p"
	.string "It’s because you’re a TRAINER!$"

LilycoveCity_Text_1C5B5D:: @ 81C5B5D
	.string "When it gets right down to it...\p"
	.string "The way dignified simplicity suits me,\n"
	.string "{POKEBLOCK}S perfectly suit POKéMON.$"

Route123_BerryMastersHouse_Text_1C5BC4:: @ 81C5BC4
	.string "You may call me the BERRY MASTER.\p"
	.string "I dream of filling the world with\n"
	.string "beautiful flowers, so I raise BERRIES\l"
	.string "and hand them out to everyone.\p"
	.string "You’re deserving of one!$"

Route123_BerryMastersHouse_Text_1C5C66:: @ 81C5C66
	.string "Why be stingy?\n"
	.string "Take another!$"

Route123_BerryMastersHouse_Text_1C5C83:: @ 81C5C83
	.string "Be sure to visit the PRETTY PETAL\n"
	.string "flower shop near RUSTBORO.\p"
	.string "Let flowers fill the world!$"

Route123_BerryMastersHouse_Text_1C5CDC:: @ 81C5CDC
	.string "I’m done for today.\n"
	.string "Come again another day.\p"
	.string "Let flowers fill the world!$"

Route123_BerryMastersHouse_Text_1C5D24:: @ 81C5D24
	.string "The way my husband grows BERRIES,\n"
	.string "oh, he’s the best in the world.\p"
	.string "He makes me proud, that he does.\p"
	.string "Incidentally, child, have you heard\n"
	.string "a good saying lately?$"

Route123_BerryMastersHouse_Text_1C5DC1:: @ 81C5DC1
	.string "Ah! What a remarkable saying!\n"
	.string "Inspirational, it is!\p"
	.string "I want you to have this.$"

Route123_BerryMastersHouse_Text_1C5E0E:: @ 81C5E0E
	.string "Oh! A good saying it is.\n"
	.string "You’re quite remarkable.\p"
	.string "I want you to have this.$"

Route123_BerryMastersHouse_Text_1C5E59:: @ 81C5E59
	.string "Our four grandchildren should become\n"
	.string "more accomplished than my husband.\p"
	.string "Joy never goes out of my life!$"

Route123_BerryMastersHouse_Text_1C5EC0:: @ 81C5EC0
	.string "Ah...$"

Route104_PrettyPetalFlowerShop_Text_1C5EC6:: @ 81C5EC6
	.string "Hello!\p"
	.string "This is the PRETTY PETAL flower shop.\n"
	.string "Spreading flowers throughout the world!$"

Route104_PrettyPetalFlowerShop_Text_1C5F1B:: @ 81C5F1B
	.string "{PLAYER}{KUN}, would you like to learn about\n"
	.string "BERRIES?$"

Route104_PrettyPetalFlowerShop_Text_1C5F48:: @ 81C5F48
	.string "Your name is?\p"
	.string "{PLAYER}{KUN}.\n"
	.string "That’s a nice name.\p"
	.string "{PLAYER}{KUN}, would you like to learn about\n"
	.string "BERRIES?$"

Route104_PrettyPetalFlowerShop_Text_1C5F9D:: @ 81C5F9D
	.string "BERRIES grow on trees that thrive\n"
	.string "only in dark, loamy soil.\p"
	.string "If you take some BERRIES, be sure to\n"
	.string "plant one in the loamy soil again.\p"
	.string "A planted BERRY will soon sprout,\n"
	.string "grow into a plant, flower beautifully,\l"
	.string "then grow BERRIES again.\p"
	.string "I want to see the whole wide world\n"
	.string "filled with beautiful flowers.\l"
	.string "That’s my dream.\p"
	.string "Please help me, {PLAYER}{KUN}. Plant BERRIES\n"
	.string "and bring more flowers into the world.$"

Route104_PrettyPetalFlowerShop_Text_1C6121:: @ 81C6121
	.string "Flowers bring so much happiness to\n"
	.string "people, don’t they?$"

Route104_PrettyPetalFlowerShop_Text_1C6158:: @ 81C6158
	.string "Hello!\p"
	.string "The more attention you give to flowers,\n"
	.string "the more beautifully they bloom.\p"
	.string "You’ll like tending flowers. I’m sure\n"
	.string "of it. You can have this.$"

Route104_PrettyPetalFlowerShop_Text_1C61E8:: @ 81C61E8
	.string "While BERRY plants are growing,\n"
	.string "water them with the WAILMER PAIL.\p"
	.string "Oh, another thing.\p"
	.string "If you don’t pick BERRIES for a while,\n"
	.string "they’ll drop off onto the ground.\l"
	.string "But they’ll sprout again.\p"
	.string "Isn’t that awesome?\n"
	.string "It’s like they have the will to live.$"

Route104_PrettyPetalFlowerShop_Text_1C62DA:: @ 81C62DA
	.string "I’m trying to be like my big sisters.\n"
	.string "I’m growing flowers, too!\p"
	.string "Here you go! It’s for you!$"

Route104_PrettyPetalFlowerShop_Text_1C6335:: @ 81C6335
	.string "You can plant a BERRY and grow it big,\n"
	.string "or you can make a POKéMON hold it.\p"
	.string "But now they have a machine that mixes\n"
	.string "up different BERRIES and makes candies\l"
	.string "for POKéMON.\p"
	.string "I want some candy, too.$"

SootopolisCity_Text_1C63F2:: @ 81C63F2
	.string "Hi, what’s your name?\p"
	.string "... ... ...  ... ... ...  ... ... ...\n"
	.string "Okay. That’s nice!\p"
	.string "My name is KIRI.\p"
	.string "My mommy and daddy named me that so\n"
	.string "I would grow healthy and warmhearted.\l"
	.string "That’s what they wished.\p"
	.string "You can have one of these.$"

SootopolisCity_Text_1C64D0:: @ 81C64D0
	.string "KIRI will give you this BERRY, too!\n"
	.string "I really like it lots!$"

SootopolisCity_Text_1C650B:: @ 81C650B
	.string "I wonder what kind of wish is included\n"
	.string "in your name.$"

SootopolisCity_Text_1C6540:: @ 81C6540
	.string "Spring, summer, autumn, and winter.\p"
	.string "If you’re born in springtime, do you like\n"
	.string "the spring, and if you’re born in the\l"
	.string "summer, do you like the summer?$"

SootopolisCity_Text_1C65D4:: @ 81C65D4
	.string "Then KIRI was born in the autumn,\n"
	.string "so I love the autumn!\p"
	.string "Which season do you like?$"

SootopolisCity_Text_1C6626:: @ 81C6626
	.string "Oh...\n"
	.string "It doesn’t matter...\p"
	.string "There’s so much that I want to know...$"

ShoalCave_LowTideEntranceRoom_Text_1C6668:: @ 81C6668
	.string "Are you planning on going deep in\n"
	.string "there?\p"
	.string "How about bringing me back some\n"
	.string "SHOAL SALT and SHOAL SHELLS?\p"
	.string "I can make you something good if\n"
	.string "you bring me the ingredients.$"

ShoalCave_LowTideEntranceRoom_Text_1C670D:: @ 81C670D
	.string "If you bring me four each of the\n"
	.string "SHOAL SALT and SHOAL SHELLS,\l"
	.string "I can make you a SHELL BELL...\p"
	.string "You can get those ingredients\n"
	.string "every day.$"

ShoalCave_LowTideEntranceRoom_Text_1C6793:: @ 81C6793
	.string "Oh, hey! SHOAL SALT and SHOAL\n"
	.string "SHELLS! And enough of them, too!\p"
	.string "Would you like me to make you a\n"
	.string "SHELL BELL with them?$"

ShoalCave_LowTideEntranceRoom_Text_1C6808:: @ 81C6808
	.string "All righty, then! I’ll make you a\n"
	.string "SHELL BELL right away.\p"
	.string "... ... ... ... ... ... ... ...\n"
	.string "... ... ... ... ... ... ... ...\p"
	.string "There! Done!$"

ShoalCave_LowTideEntranceRoom_Text_1C688E:: @ 81C688E
	.string "Have a POKéMON hold on to that.\n"
	.string "It’ll love it, that’s for certain.\p"
	.string "Why, the SHELL BELL’s chime...\n"
	.string "It’s simply sublime!\p"
	.string "You can get its ingredients every\n"
	.string "day, so I can make you more.$"

ShoalCave_LowTideEntranceRoom_Text_1C6944:: @ 81C6944
	.string "Oh... Is that so...\n"
	.string "I wanted to make a SHELL BELL...$"

ShoalCave_LowTideInnerRoom_Text_1C6979:: @ 81C6979
ShoalCave_LowTideLowerRoom_Text_1C6979:: @ 81C6979
ShoalCave_LowTideStairsRoom_Text_1C6979:: @ 81C6979
	.string "There was some SHOAL SALT here.\n"
	.string "But, there’s nothing here now.$"

ShoalCave_LowTideInnerRoom_Text_1C69B8:: @ 81C69B8
	.string "There was a SHOAL SHELL here.\n"
	.string "But, there’s nothing here now.$"

ShoalCave_LowTideEntranceRoom_Text_1C69F5:: @ 81C69F5
	.string "You don’t have space in your BAG\n"
	.string "if I were to make it for you.\p"
	.string "You should make room and come back\n"
	.string "for a SHELL BELL.$"

PictureBookShelfText: @ 81C6A69
	.string "There’s a set of POKéMON picture books.$"

BookshelfText: @ 81C6A91
	.string "It’s filled with all sorts of books.$"

PokemonCenterBookshelfText: @ 81C6AB6
	.string "POKéMON magazines!\n"
	.string "POKéMON PAL...\p"
	.string "POKéMON HANDBOOK...\n"
	.string "ADORABLE POKéMON...$"

VaseText: @ 81C6B00
	.string "This vase looks expensive...\n"
	.string "Peered inside...\p"
	.string "But, it was empty.$"

TrashCanText: @ 81C6B41
	.string "It’s empty.$"

ShopShelfText: @ 81C6B4D
	.string "The shelves brim with all sorts of\n"
	.string "POKéMON merchandise.$"

BlueprintText: @ 81C6B85
	.string "A blueprint of some sort?\n"
	.string "It’s too complicated!$"

GraniteCave_B1F_MapScript2_1C6BB5:: @ 81C6BB5
MtPyre_2F_MapScript2_1C6BB5:: @ 81C6BB5
SkyPillar_2F_MapScript2_1C6BB5:: @ 81C6BB5
SkyPillar_4F_MapScript2_1C6BB5:: @ 81C6BB5
	map_script_2 0x4022, 0, GraniteCave_B1F_EventScript_1C6BC5
	.2byte 0

GraniteCave_B1F_MapScript1_1C6BBF:: @ 81C6BBF
MtPyre_2F_MapScript1_1C6BBF:: @ 81C6BBF
SkyPillar_2F_MapScript1_1C6BBF:: @ 81C6BBF
SkyPillar_4F_MapScript1_1C6BBF:: @ 81C6BBF
	copyvar 0x4022, 0x1
	end

GraniteCave_B1F_EventScript_1C6BC5:: @ 81C6BC5
	lockall
	pause 20
	move 255, GraniteCave_B1F_Movement_1C6BF7
	waitmove 0
	playsfx 43
	pause 60
	warphole UNDEFINED
	waitstate
	end

gUnknown_081C6BDE:: @ 81C6BDE
	lockall
	pause 20
	move 255, GraniteCave_B1F_Movement_1C6BF7
	waitmove 0
	playsfx 43
	pause 60
	special 319
	waitstate
	end

GraniteCave_B1F_Movement_1C6BF7:: @ 81C6BF7
	step_54
	step_end

@ 81C6BF9
	msgbox Text_1C6C2B, 2
	end

gUnknown_081C6C02:: @ 81C6C02
	msgbox Text_1C6C4B, 3
	end

@ 81C6C0B
	end

@ 81C6C0C
	msgbox Text_1C6C62, 3
	end

@ 81C6C15
	lockall
	call LittlerootTown_BrendansHouse_2F_EventScript_1B6A9B
	releaseall
	end

@ 81C6C1D
	lockall
	braillemsg Underwater_SealedChamber_Braille_1C533D
	waitbutton
	hidebox 0, 0, 29, 19
	releaseall
	end

Text_1C6C2B: @ 81C6C2B
	@ This is a test message!
	@ Welcome to the world of Pokémon!
	.string "テストよう メッセージです!\n"
	.string "ポケモンの せかいへ ようこそ!$"

Text_1C6C4B: @ 81C6C4B
	@ This is a test message!
	@ This is a sign.
	.string "テストよう メッセージです!\n"
	.string "かんばん です$"

Text_1C6C62: @ 81C6C62
	@ This is a test message!
	@ This is a coordinate-check event.
	.string "テストよう メッセージです!\n"
	.string "ざひょう チェックの イベントです$"

@ 81C6C83
	.string " $"

	.global gUnknown_081C6C85
gUnknown_081C6C85: @ 81C6C85
UnknownString_81C6C85: @ 81C6C85
	.string "Would you like to save the game?$"

	.global gUnknown_081C6CA6
gUnknown_081C6CA6: @ 81C6CA6
UnknownString_81C6CA6: @ 81C6CA6
	.string "There is already a saved file.\n"
	.string "Is it okay to overwrite it?$"

	.global gUnknown_081C6CE1
gUnknown_081C6CE1: @ 81C6CE1
BattleTower_BattleRoom_Text_1C6CE1:: @ 81C6CE1
	.string "SAVING...\n"
	.string "DON’T TURN OFF THE POWER.$"

	.global gUnknown_081C6D05
gUnknown_081C6D05: @ 81C6D05
BattleTower_BattleRoom_Text_1C6D05:: @ 81C6D05
	.string "{PLAYER} saved the game.$"

UnknownString_81C6D18: @ 81C6D18
	.string "Save error...$"

	.global gUnknown_081C6D26
gUnknown_081C6D26: @ 81C6D26
UnknownString_81C6D26: @ 81C6D26
	.string "There is a different game file that is\n"
	.string "already saved.\p"
	.string "Is it okay to overwrite it?$"

	.global gUnknown_081C6D78
gUnknown_081C6D78: @ 81C6D78
UnknownString_81C6D78: @ 81C6D78
	.string "Hi! Sorry to keep you waiting!\p"
	.string "Welcome to the world of POKéMON!\p"
	.string "My name is BIRCH.\p"
	.string "But everyone calls me the POKéMON\n"
	.string "PROFESSOR.\p$"

	.global gUnknown_081C6DF8
gUnknown_081C6DF8: @ 81C6DF8
UnknownString_81C6DF8: @ 81C6DF8
	.string "This is what we call a “POKéMON.”$"

	.global gUnknown_081C6E1A
gUnknown_081C6E1A: @ 81C6E1A
UnknownString_81C6E1A: @ 81C6E1A
	.string "This world is widely inhabited by\n"
	.string "creatures known as POKéMON.\p"
	.string "We humans live alongside POKéMON,\n"
	.string "at times as friendly playmates, and\l"
	.string "at times as cooperative workmates.\p"
	.string "And sometimes, we band together\n"
	.string "and battle others like us.\p"
	.string "But despite our closeness, we don’t\n"
	.string "know everything about POKéMON.\p"
	.string "In fact, there are many, many\n"
	.string "secrets surrounding POKéMON.\p"
	.string "To unravel POKéMON mysteries,\n"
	.string "I’ve been undertaking research.\l"
	.string "That’s what I do.\p$"

	.global gUnknown_081C6FCB
gUnknown_081C6FCB: @ 81C6FCB
UnknownString_81C6FCB: @ 81C6FCB
	.string "And you are?$"

	.global gUnknown_081C6FD8
gUnknown_081C6FD8: @ 81C6FD8
UnknownString_81C6FD8: @ 81C6FD8
	.string "Are you a boy?\n"
	.string "Or are you a girl?$"

	.global gUnknown_081C6FFA
gUnknown_081C6FFA: @ 81C6FFA
UnknownString_81C6FFA: @ 81C6FFA
	.string "All right.\n"
	.string "What’s your name?$"

	.global gUnknown_081C7017
gUnknown_081C7017: @ 81C7017
UnknownString_81C7017: @ 81C7017
	.string "So it’s {PLAYER}{KUN}?$"

	.global gUnknown_081C7025
gUnknown_081C7025: @ 81C7025
UnknownString_81C7025: @ 81C7025
	.string "Ah, okay!\p"
	.string "You’re {PLAYER}{KUN} who’s moving to my\n"
	.string "hometown of LITTLEROOT.\l"
	.string "I get it now!$"

	.global gUnknown_081C7074
gUnknown_081C7074: @ 81C7074
UnknownString_81C7074: @ 81C7074
	.string "All right, are you ready?\p"
	.string "Your very own adventure is about\n"
	.string "to unfold.\p"
	.string "Take courage, and leap into the\n"
	.string "world of POKéMON where dreams,\l"
	.string "adventure, and friendships await!\p"
	.string "Well, I’ll be expecting you later.\n"
	.string "Come see me in my POKéMON LAB.\p$"