summaryrefslogtreecommitdiff
path: root/data/event_scripts.s
blob: f75442912a90c5ce7ac249f57257519a92400439 (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
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
#include "constants/flags.h"
#include "constants/decorations.h"
#include "constants/items.h"
#include "constants/layouts.h"
#include "constants/maps.h"
#include "constants/moves.h"
#include "constants/songs.h"
#include "constants/species.h"
#include "constants/trainer_classes.h"
#include "constants/vars.h"
#include "constants/battle.h"
#include "constants/spawn_points.h"
#include "constants/field_effects.h"
#include "constants/trainers.h"
#include "constants/map_objects.h"
#include "constants/fame_checker.h"
#include "constants/seagallop.h"
#include "constants/game_stat.h"
#include "constants/menu.h"
#include "constants/battle_setup.h"
	.include "asm/macros.inc"
	.include "asm/macros/event.inc"
	.set FALSE, 0
	.set TRUE,  1

	.section script_data, "aw", %progbits

	.include "data/script_cmd_table.inc"

	.align 2
gSpecialVars:: @ 815FD0C
	.4byte gSpecialVar_0x8000
	.4byte gSpecialVar_0x8001
	.4byte gSpecialVar_0x8002
	.4byte gSpecialVar_0x8003
	.4byte gSpecialVar_0x8004
	.4byte gSpecialVar_0x8005
	.4byte gSpecialVar_0x8006
	.4byte gSpecialVar_0x8007
	.4byte gSpecialVar_0x8008
	.4byte gSpecialVar_0x8009
	.4byte gSpecialVar_0x800A
	.4byte gSpecialVar_0x800B
	.4byte gSpecialVar_Facing
	.4byte gSpecialVar_Result
	.4byte gSpecialVar_ItemId
	.4byte gSpecialVar_LastTalked
	.4byte gSpecialVar_MonBoxId
	.4byte gSpecialVar_MonBoxPos
	.4byte gSpecialVar_TextColor
	.4byte gSpecialVar_PrevTextColor
	.4byte gUnknown_20370DE

	.include "data/specials.inc"

	.align 2
gStdScripts:: @ 8160450
	.4byte gStdScript_0
	.4byte gStdScript_1
	.4byte gStdScript_2
	.4byte gStdScript_3
	.4byte gStdScript_4
	.4byte gStdScript_5
	.4byte gStdScript_Message_WaitButton_AndRelease
	.4byte gStdScript_7
	.4byte gStdScript_8
	.4byte gStdScript_ItemMessageAndFanfare
gStdScriptsEnd::

	.include "data/maps/UnknownMap_00_00/scripts.inc"
	.include "data/maps/UnknownMap_00_01/scripts.inc"
	.include "data/maps/UnknownMap_00_02/scripts.inc"
	.include "data/maps/UnknownMap_00_03/scripts.inc"
	.include "data/maps/UnknownMap_00_04/scripts.inc"
	.include "data/maps/ViridianForest/scripts.inc"
	.include "data/maps/MtMoon_1F/scripts.inc"
	.include "data/maps/MtMoon_B1F/scripts.inc"
	.include "data/maps/MtMoon_B2F/scripts.inc"
	.include "data/maps/SSAnne_Exterior/scripts.inc"
	.include "data/maps/SSAnne_1F_Corridor/scripts.inc"
	.include "data/maps/SSAnne_2F_Corridor/scripts.inc"
	.include "data/maps/SSAnne_3F_Corridor/scripts.inc"
	.include "data/maps/SSAnne_B1F_Corridor/scripts.inc"
	.include "data/maps/SSAnne_Deck/scripts.inc"
	.include "data/maps/SSAnne_Kitchen/scripts.inc"
	.include "data/maps/SSAnne_CaptainsOffice/scripts.inc"
	.include "data/maps/SSAnne_1F_Room1/scripts.inc"
	.include "data/maps/SSAnne_1F_Room2/scripts.inc"
	.include "data/maps/SSAnne_1F_Room3/scripts.inc"
	.include "data/maps/SSAnne_1F_Room4/scripts.inc"
	.include "data/maps/SSAnne_1F_Room5/scripts.inc"
	.include "data/maps/SSAnne_1F_Room7/scripts.inc"
	.include "data/maps/SSAnne_2F_Room1/scripts.inc"
	.include "data/maps/SSAnne_2F_Room2/scripts.inc"
	.include "data/maps/SSAnne_2F_Room3/scripts.inc"
	.include "data/maps/SSAnne_2F_Room4/scripts.inc"
	.include "data/maps/SSAnne_2F_Room5/scripts.inc"
	.include "data/maps/SSAnne_2F_Room6/scripts.inc"
	.include "data/maps/SSAnne_B1F_Room1/scripts.inc"
	.include "data/maps/SSAnne_B1F_Room2/scripts.inc"
	.include "data/maps/SSAnne_B1F_Room3/scripts.inc"
	.include "data/maps/SSAnne_B1F_Room4/scripts.inc"
	.include "data/maps/SSAnne_B1F_Room5/scripts.inc"
	.include "data/maps/SSAnne_1F_Room6/scripts.inc"
	.include "data/maps/UndergroundPath_NorthEntrance/scripts.inc"
	.include "data/maps/UndergroundPath_NorthSouthTunnel/scripts.inc"
	.include "data/maps/UndergroundPath_SouthEntrance/scripts.inc"
	.include "data/maps/UndergroundPath_WestEntrance/scripts.inc"
	.include "data/maps/UndergroundPath_EastWestTunnel/scripts.inc"
	.include "data/maps/UndergroundPath_EastEntrance/scripts.inc"
	.include "data/maps/DiglettsCave_NorthEntrance/scripts.inc"
	.include "data/maps/DiglettsCave_B1F/scripts.inc"
	.include "data/maps/DiglettsCave_SouthEntrance/scripts.inc"
	.include "data/maps/VictoryRoad_1F/scripts.inc"
	.include "data/maps/VictoryRoad_2F/scripts.inc"
	.include "data/maps/VictoryRoad_3F/scripts.inc"
	.include "data/maps/RocketHideout_B1F/scripts.inc"
	.include "data/maps/RocketHideout_B2F/scripts.inc"
	.include "data/maps/RocketHideout_B3F/scripts.inc"
	.include "data/maps/RocketHideout_B4F/scripts.inc"
	.include "data/maps/RocketHideout_Elevator/scripts.inc"
	.include "data/maps/SilphCo_1F/scripts.inc"
	.include "data/maps/SilphCo_2F/scripts.inc"
	.include "data/maps/SilphCo_3F/scripts.inc"
	.include "data/maps/SilphCo_4F/scripts.inc"
	.include "data/maps/SilphCo_5F/scripts.inc"
	.include "data/maps/SilphCo_6F/scripts.inc"
	.include "data/maps/SilphCo_7F/scripts.inc"
	.include "data/maps/SilphCo_8F/scripts.inc"
	.include "data/maps/SilphCo_9F/scripts.inc"
	.include "data/maps/SilphCo_10F/scripts.inc"
	.include "data/maps/SilphCo_11F/scripts.inc"
	.include "data/maps/SilphCo_Elevator/scripts.inc"
	.include "data/maps/PokemonMansion_1F/scripts.inc"
	.include "data/maps/PokemonMansion_2F/scripts.inc"
	.include "data/maps/PokemonMansion_3F/scripts.inc"
	.include "data/maps/PokemonMansion_B1F/scripts.inc"
	.include "data/maps/SafariZone_Center/scripts.inc"
	.include "data/maps/SafariZone_East/scripts.inc"
	.include "data/maps/SafariZone_North/scripts.inc"
	.include "data/maps/SafariZone_West/scripts.inc"
	.include "data/maps/SafariZone_Building1/scripts.inc"
	.include "data/maps/SafariZone_Building2/scripts.inc"
	.include "data/maps/SafariZone_Building3/scripts.inc"
	.include "data/maps/SafariZone_Building4/scripts.inc"
	.include "data/maps/SafariZone_SecretHouse/scripts.inc"
	.include "data/maps/CeruleanCave_1F/scripts.inc"
	.include "data/maps/CeruleanCave_2F/scripts.inc"
	.include "data/maps/CeruleanCave_B1F/scripts.inc"
	.include "data/maps/PokemonLeague_LoreleisRoom/scripts.inc"
	.include "data/maps/PokemonLeague_BrunosRoom/scripts.inc"
	.include "data/maps/PokemonLeague_AgathasRoom/scripts.inc"
	.include "data/maps/PokemonLeague_LancesRoom/scripts.inc"
	.include "data/maps/PokemonLeague_ChampionsRoom/scripts.inc"
	.include "data/maps/PokemonLeague_HallOfFame/scripts.inc"
	.include "data/maps/RockTunnel_1F/scripts.inc"
	.include "data/maps/RockTunnel_B1F/scripts.inc"
	.include "data/maps/SeafoamIslands_1F/scripts.inc"
	.include "data/maps/SeafoamIslands_B1F/scripts.inc"
	.include "data/maps/SeafoamIslands_B2F/scripts.inc"
	.include "data/maps/SeafoamIslands_B3F/scripts.inc"
	.include "data/maps/SeafoamIslands_B4F/scripts.inc"
	.include "data/maps/PokemonTower_1F/scripts.inc"
	.include "data/maps/PokemonTower_2F/scripts.inc"
	.include "data/maps/PokemonTower_3F/scripts.inc"
	.include "data/maps/PokemonTower_4F/scripts.inc"
	.include "data/maps/PokemonTower_5F/scripts.inc"
	.include "data/maps/PokemonTower_6F/scripts.inc"
	.include "data/maps/PokemonTower_7F/scripts.inc"
	.include "data/maps/PowerPlant/scripts.inc"
	.include "data/maps/MtEmber_RubyPath_B4F/scripts.inc"
	.include "data/maps/MtEmber_Exterior/scripts.inc"
	.include "data/maps/MtEmber_SummitPath_1F/scripts.inc"
	.include "data/maps/MtEmber_SummitPath_2F/scripts.inc"
	.include "data/maps/MtEmber_SummitPath_3F/scripts.inc"
	.include "data/maps/MtEmber_Summit/scripts.inc"
	.include "data/maps/MtEmber_RubyPath_B5F/scripts.inc"
	.include "data/maps/MtEmber_RubyPath_1F/scripts.inc"
	.include "data/maps/MtEmber_RubyPath_B1F/scripts.inc"
	.include "data/maps/MtEmber_RubyPath_B2F/scripts.inc"
	.include "data/maps/MtEmber_RubyPath_B3F/scripts.inc"
	.include "data/maps/MtEmber_RubyPath_B1F_Stairs/scripts.inc"
	.include "data/maps/MtEmber_RubyPath_B2F_Stairs/scripts.inc"
	.include "data/maps/ThreeIsland_BerryForest/scripts.inc"
	.include "data/maps/FourIsland_IcefallCave_Entrance/scripts.inc"
	.include "data/maps/FourIsland_IcefallCave_1F/scripts.inc"
	.include "data/maps/FourIsland_IcefallCave_B1F/scripts.inc"
	.include "data/maps/FourIsland_IcefallCave_Back/scripts.inc"
	.include "data/maps/FiveIsland_RocketWarehouse/scripts.inc"
	.include "data/maps/SixIsland_DottedHole_1F/scripts.inc"
	.include "data/maps/SixIsland_DottedHole_B1F/scripts.inc"
	.include "data/maps/SixIsland_DottedHole_B2F/scripts.inc"
	.include "data/maps/SixIsland_DottedHole_B3F/scripts.inc"
	.include "data/maps/SixIsland_DottedHole_B4F/scripts.inc"
	.include "data/maps/SixIsland_DottedHole_SapphireRoom/scripts.inc"
	.include "data/maps/SixIsland_PatternBush/scripts.inc"
	.include "data/maps/SixIsland_AlteringCave/scripts.inc"
	.include "data/maps/NavelRock_Exterior/scripts.inc"
	.include "data/maps/SevenIsland_TrainerTower_1F/scripts.inc"
	.include "data/maps/SevenIsland_TrainerTower_2F/scripts.inc"
	.include "data/maps/SevenIsland_TrainerTower_3F/scripts.inc"
	.include "data/maps/SevenIsland_TrainerTower_4F/scripts.inc"
	.include "data/maps/SevenIsland_TrainerTower_5F/scripts.inc"
	.include "data/maps/SevenIsland_TrainerTower_6F/scripts.inc"
	.include "data/maps/SevenIsland_TrainerTower_7F/scripts.inc"
	.include "data/maps/SevenIsland_TrainerTower_8F/scripts.inc"
	.include "data/maps/SevenIsland_TrainerTower_Roof/scripts.inc"
	.include "data/maps/SevenIsland_TrainerTower_Lobby/scripts.inc"
	.include "data/maps/SevenIsland_TrainerTower_Elevator/scripts.inc"
	.include "data/maps/FiveIsland_LostCave_Entrance/scripts.inc"
	.include "data/maps/FiveIsland_LostCave_Room1/scripts.inc"
	.include "data/maps/FiveIsland_LostCave_Room2/scripts.inc"
	.include "data/maps/FiveIsland_LostCave_Room3/scripts.inc"
	.include "data/maps/FiveIsland_LostCave_Room4/scripts.inc"
	.include "data/maps/FiveIsland_LostCave_Room5/scripts.inc"
	.include "data/maps/FiveIsland_LostCave_Room6/scripts.inc"
	.include "data/maps/FiveIsland_LostCave_Room7/scripts.inc"
	.include "data/maps/FiveIsland_LostCave_Room8/scripts.inc"
	.include "data/maps/FiveIsland_LostCave_Room9/scripts.inc"
	.include "data/maps/FiveIsland_LostCave_Room10/scripts.inc"
	.include "data/maps/FiveIsland_LostCave_Room11/scripts.inc"
	.include "data/maps/FiveIsland_LostCave_Room12/scripts.inc"
	.include "data/maps/FiveIsland_LostCave_Room13/scripts.inc"
	.include "data/maps/FiveIsland_LostCave_Room14/scripts.inc"
	.include "data/maps/SevenIsland_TanobyRuins_MoneanChamber/scripts.inc"
	.include "data/maps/SevenIsland_TanobyRuins_LiptooChamber/scripts.inc"
	.include "data/maps/SevenIsland_TanobyRuins_WeepthChamber/scripts.inc"
	.include "data/maps/SevenIsland_TanobyRuins_DilfordChamber/scripts.inc"
	.include "data/maps/SevenIsland_TanobyRuins_ScufibChamber/scripts.inc"
	.include "data/maps/SevenIsland_TanobyRuins_RixyChamber/scripts.inc"
	.include "data/maps/SevenIsland_TanobyRuins_ViapoisChamber/scripts.inc"
	.include "data/maps/ThreeIsland_DunsparceTunnel/scripts.inc"
	.include "data/maps/SevenIsland_SevaultCanyon_TanobyKey/scripts.inc"
	.include "data/maps/NavelRock_1F/scripts.inc"
	.include "data/maps/NavelRock_Summit/scripts.inc"
	.include "data/maps/NavelRock_Base/scripts.inc"
	.include "data/maps/NavelRock_SummitPath_2F/scripts.inc"
	.include "data/maps/NavelRock_SummitPath_3F/scripts.inc"
	.include "data/maps/NavelRock_SummitPath_4F/scripts.inc"
	.include "data/maps/NavelRock_SummitPath_5F/scripts.inc"
	.include "data/maps/NavelRock_BasePath_B1F/scripts.inc"
	.include "data/maps/NavelRock_BasePath_B2F/scripts.inc"
	.include "data/maps/NavelRock_BasePath_B3F/scripts.inc"
	.include "data/maps/NavelRock_BasePath_B4F/scripts.inc"
	.include "data/maps/NavelRock_BasePath_B5F/scripts.inc"
	.include "data/maps/NavelRock_BasePath_B6F/scripts.inc"
	.include "data/maps/NavelRock_BasePath_B7F/scripts.inc"
	.include "data/maps/NavelRock_BasePath_B8F/scripts.inc"
	.include "data/maps/NavelRock_BasePath_B9F/scripts.inc"
	.include "data/maps/NavelRock_BasePath_B10F/scripts.inc"
	.include "data/maps/NavelRock_BasePath_B11F/scripts.inc"
	.include "data/maps/NavelRock_B1F/scripts.inc"
	.include "data/maps/NavelRock_Fork/scripts.inc"
	.include "data/maps/BirthIsland_Exterior/scripts.inc"
	.include "data/maps/OneIsland_KindleRoad_EmberSpa/scripts.inc"
	.include "data/maps/BirthIsland_Harbor/scripts.inc"
	.include "data/maps/NavelRock_Harbor/scripts.inc"
	.include "data/maps/PalletTown/scripts.inc"
	.include "data/maps/ViridianCity/scripts.inc"
	.include "data/maps/PewterCity/scripts.inc"
	.include "data/maps/CeruleanCity/scripts.inc"
	.include "data/maps/LavenderTown/scripts.inc"
	.include "data/maps/VermilionCity/scripts.inc"
	.include "data/maps/CeladonCity/scripts.inc"
	.include "data/maps/FuchsiaCity/scripts.inc"
	.include "data/maps/CinnabarIsland/scripts.inc"
	.include "data/maps/IndigoPlateau_Exterior/scripts.inc"
	.include "data/maps/SaffronCity/scripts.inc"
	.include "data/maps/SaffronCity_Classic/scripts.inc"
	.include "data/maps/OneIsland/scripts.inc"
	.include "data/maps/TwoIsland/scripts.inc"
	.include "data/maps/ThreeIsland/scripts.inc"
	.include "data/maps/FourIsland/scripts.inc"
	.include "data/maps/FiveIsland/scripts.inc"
	.include "data/maps/SevenIsland/scripts.inc"
	.include "data/maps/SixIsland/scripts.inc"
	.include "data/maps/Route1/scripts.inc"
	.include "data/maps/Route2/scripts.inc"
	.include "data/maps/Route3/scripts.inc"
	.include "data/maps/Route4/scripts.inc"
	.include "data/maps/Route5/scripts.inc"
	.include "data/maps/Route6/scripts.inc"
	.include "data/maps/Route7/scripts.inc"
	.include "data/maps/Route8/scripts.inc"
	.include "data/maps/Route9/scripts.inc"
	.include "data/maps/Route10/scripts.inc"
	.include "data/maps/Route11/scripts.inc"
	.include "data/maps/Route12/scripts.inc"
	.include "data/maps/Route13/scripts.inc"
	.include "data/maps/Route14/scripts.inc"
	.include "data/maps/Route15/scripts.inc"
	.include "data/maps/Route16/scripts.inc"
	.include "data/maps/Route17/scripts.inc"
	.include "data/maps/Route18/scripts.inc"
	.include "data/maps/Route19/scripts.inc"
	.include "data/maps/Route20/scripts.inc"
	.include "data/maps/Route21_North/scripts.inc"
	.include "data/maps/Route21_South/scripts.inc"
	.include "data/maps/Route22/scripts.inc"
	.include "data/maps/Route23/scripts.inc"
	.include "data/maps/Route24/scripts.inc"
	.include "data/maps/Route25/scripts.inc"
	.include "data/maps/OneIsland_KindleRoad/scripts.inc"
	.include "data/maps/OneIsland_TreasureBeach/scripts.inc"
	.include "data/maps/TwoIsland_CapeBrink/scripts.inc"
	.include "data/maps/ThreeIsland_BondBridge/scripts.inc"
	.include "data/maps/ThreeIsland_Port/scripts.inc"
	.include "data/maps/UnknownMap_03_50/scripts.inc"
	.include "data/maps/UnknownMap_03_51/scripts.inc"
	.include "data/maps/UnknownMap_03_52/scripts.inc"
	.include "data/maps/UnknownMap_03_53/scripts.inc"
	.include "data/maps/FiveIsland_ResortGorgeous/scripts.inc"
	.include "data/maps/FiveIsland_WaterLabyrinth/scripts.inc"
	.include "data/maps/FiveIsland_Meadow/scripts.inc"
	.include "data/maps/FiveIsland_MemorialPillar/scripts.inc"
	.include "data/maps/SixIsland_OutcastIsland/scripts.inc"
	.include "data/maps/SixIsland_GreenPath/scripts.inc"
	.include "data/maps/SixIsland_WaterPath/scripts.inc"
	.include "data/maps/SixIsland_RuinValley/scripts.inc"
	.include "data/maps/SevenIsland_TrainerTower/scripts.inc"
	.include "data/maps/SevenIsland_SevaultCanyon_Entrance/scripts.inc"
	.include "data/maps/SevenIsland_SevaultCanyon/scripts.inc"
	.include "data/maps/SevenIsland_TanobyRuins/scripts.inc"
	.include "data/maps/PalletTown_PlayersHouse_1F/scripts.inc"
	.include "data/maps/PalletTown_PlayersHouse_2F/scripts.inc"
	.include "data/maps/PalletTown_GarysHouse/scripts.inc"
	.include "data/maps/PalletTown_ProfessorOaksLab/scripts.inc"
	.include "data/maps/ViridianCity_House1/scripts.inc"
	.include "data/maps/ViridianCity_Gym/scripts.inc"
	.include "data/maps/ViridianCity_House2/scripts.inc"
	.include "data/maps/ViridianCity_Mart/scripts.inc"
	.include "data/maps/ViridianCity_PokemonCenter_1F/scripts.inc"
	.include "data/maps/ViridianCity_PokemonCenter_2F/scripts.inc"
	.include "data/maps/PewterCity_Museum_1F/scripts.inc"
	.include "data/maps/PewterCity_Museum_2F/scripts.inc"
	.include "data/maps/PewterCity_Gym/scripts.inc"
	.include "data/maps/PewterCity_Mart/scripts.inc"
	.include "data/maps/PewterCity_House1/scripts.inc"
	.include "data/maps/PewterCity_PokemonCenter_1F/scripts.inc"
	.include "data/maps/PewterCity_PokemonCenter_2F/scripts.inc"
	.include "data/maps/PewterCity_House2/scripts.inc"
	.include "data/maps/CeruleanCity_House1/scripts.inc"
	.include "data/maps/CeruleanCity_House2/scripts.inc"
	.include "data/maps/CeruleanCity_House3/scripts.inc"
	.include "data/maps/CeruleanCity_PokemonCenter_1F/scripts.inc"
	.include "data/maps/CeruleanCity_PokemonCenter_2F/scripts.inc"
	.include "data/maps/CeruleanCity_Gym/scripts.inc"
	.include "data/maps/CeruleanCity_BikeShop/scripts.inc"
	.include "data/maps/CeruleanCity_Mart/scripts.inc"
	.include "data/maps/CeruleanCity_House4/scripts.inc"
	.include "data/maps/CeruleanCity_House5/scripts.inc"
	.include "data/maps/LavenderTown_PokemonCenter_1F/scripts.inc"
	.include "data/maps/LavenderTown_PokemonCenter_2F/scripts.inc"
	.include "data/maps/LavenderTown_VolunteerPokemonHouse/scripts.inc"
	.include "data/maps/LavenderTown_House1/scripts.inc"
	.include "data/maps/LavenderTown_House2/scripts.inc"
	.include "data/maps/LavenderTown_Mart/scripts.inc"
	.include "data/maps/VermilionCity_House1/scripts.inc"
	.include "data/maps/VermilionCity_PokemonCenter_1F/scripts.inc"
	.include "data/maps/VermilionCity_PokemonCenter_2F/scripts.inc"
	.include "data/maps/VermilionCity_PokemonFanClub/scripts.inc"
	.include "data/maps/VermilionCity_House2/scripts.inc"
	.include "data/maps/VermilionCity_Mart/scripts.inc"
	.include "data/maps/VermilionCity_Gym/scripts.inc"
	.include "data/maps/VermilionCity_House3/scripts.inc"
	.include "data/maps/CeladonCity_DepartmentStore_1F/scripts.inc"
	.include "data/maps/CeladonCity_DepartmentStore_2F/scripts.inc"
	.include "data/maps/CeladonCity_DepartmentStore_3F/scripts.inc"
	.include "data/maps/CeladonCity_DepartmentStore_4F/scripts.inc"
	.include "data/maps/CeladonCity_DepartmentStore_5F/scripts.inc"
	.include "data/maps/CeladonCity_DepartmentStore_Roof/scripts.inc"
	.include "data/maps/CeladonCity_DepartmentStore_Elevator/scripts.inc"
	.include "data/maps/CeladonCity_Condominiums_1F/scripts.inc"
	.include "data/maps/CeladonCity_Condominiums_2F/scripts.inc"
	.include "data/maps/CeladonCity_Condominiums_3F/scripts.inc"
	.include "data/maps/CeladonCity_Condominiums_Roof/scripts.inc"
	.include "data/maps/CeladonCity_Condominiums_RoofRoom/scripts.inc"
	.include "data/maps/CeladonCity_PokemonCenter_1F/scripts.inc"
	.include "data/maps/CeladonCity_PokemonCenter_2F/scripts.inc"
	.include "data/maps/CeladonCity_GameCorner/scripts.inc"
	.include "data/maps/CeladonCity_GameCorner_PrizeRoom/scripts.inc"
	.include "data/maps/CeladonCity_Gym/scripts.inc"
	.include "data/maps/CeladonCity_Restaurant/scripts.inc"
	.include "data/maps/CeladonCity_House1/scripts.inc"
	.include "data/maps/CeladonCity_Hotel/scripts.inc"
	.include "data/maps/FuchsiaCity_SafariZone_Entrance/scripts.inc"
	.include "data/maps/FuchsiaCity_Mart/scripts.inc"
	.include "data/maps/FuchsiaCity_ZooBuilding/scripts.inc"
	.include "data/maps/FuchsiaCity_Gym/scripts.inc"
	.include "data/maps/FuchsiaCity_House1/scripts.inc"
	.include "data/maps/FuchsiaCity_PokemonCenter_1F/scripts.inc"
	.include "data/maps/FuchsiaCity_PokemonCenter_2F/scripts.inc"
	.include "data/maps/FuchsiaCity_Building1/scripts.inc"
	.include "data/maps/FuchsiaCity_House2/scripts.inc"
	.include "data/maps/FuchsiaCity_House3/scripts.inc"
	.include "data/maps/CinnabarIsland_Gym/scripts.inc"
	.include "data/maps/CinnabarIsland_PokemonLab_Entrance/scripts.inc"
	.include "data/maps/CinnabarIsland_PokemonLab_Lounge/scripts.inc"
	.include "data/maps/CinnabarIsland_PokemonLab_ResearchRoom/scripts.inc"
	.include "data/maps/CinnabarIsland_PokemonLab_ExperimentRoom/scripts.inc"
	.include "data/maps/CinnabarIsland_PokemonCenter_1F/scripts.inc"
	.include "data/maps/CinnabarIsland_PokemonCenter_2F/scripts.inc"
	.include "data/maps/CinnabarIsland_Mart/scripts.inc"
	.include "data/maps/IndigoPlateau_PokemonCenter_1F/scripts.inc"
	.include "data/maps/IndigoPlateau_PokemonCenter_2F/scripts.inc"
	.include "data/maps/SaffronCity_House1_1F/scripts.inc"
	.include "data/maps/SaffronCity_House1_2F/scripts.inc"
	.include "data/maps/SaffronCity_Dojo/scripts.inc"
	.include "data/maps/SaffronCity_Gym/scripts.inc"
	.include "data/maps/SaffronCity_House2/scripts.inc"
	.include "data/maps/SaffronCity_Mart/scripts.inc"
	.include "data/maps/SaffronCity_PokemonCenter_1F/scripts.inc"
	.include "data/maps/SaffronCity_PokemonCenter_2F/scripts.inc"
	.include "data/maps/SaffronCity_House3/scripts.inc"
	.include "data/maps/SaffronCity_PokemonTrainerFanClub/scripts.inc"
	.include "data/maps/Route2_ViridianForest_SouthEntrance/scripts.inc"
	.include "data/maps/Route2_House/scripts.inc"
	.include "data/maps/Route2_EastBuilding/scripts.inc"
	.include "data/maps/Route2_ViridianForest_NorthEntrance/scripts.inc"
	.include "data/maps/Route4_PokemonCenter_1F/scripts.inc"
	.include "data/maps/Route4_PokemonCenter_2F/scripts.inc"
	.include "data/maps/Route5_PokemonDayCare/scripts.inc"
	.include "data/maps/Route5_SouthEntrance/scripts.inc"
	.include "data/maps/Route6_NorthEntrance/scripts.inc"
	.include "data/maps/UnknownMap_18_01/scripts.inc"
	.include "data/maps/Route7_EastEntrance/scripts.inc"
	.include "data/maps/Route8_WestEntrance/scripts.inc"
	.include "data/maps/Route10_PokemonCenter_1F/scripts.inc"
	.include "data/maps/Route10_PokemonCenter_2F/scripts.inc"
	.include "data/maps/Route11_EastEntrance_1F/scripts.inc"
	.include "data/maps/Route11_EastEntrance_2F/scripts.inc"
	.include "data/maps/Route12_NorthEntrance_1F/scripts.inc"
	.include "data/maps/Route12_NorthEntrance_2F/scripts.inc"
	.include "data/maps/Route12_FishingHouse/scripts.inc"
	.include "data/maps/Route15_WestEntrance_1F/scripts.inc"
	.include "data/maps/Route15_WestEntrance_2F/scripts.inc"
	.include "data/maps/Route16_House/scripts.inc"
	.include "data/maps/Route16_NorthEntrance_1F/scripts.inc"
	.include "data/maps/Route16_NorthEntrance_2F/scripts.inc"
	.include "data/maps/Route18_EastEntrance_1F/scripts.inc"
	.include "data/maps/Route18_EastEntrance_2F/scripts.inc"
	.include "data/maps/UnusedHouse_27_00/scripts.inc"
	.include "data/maps/Route22_NorthEntrance/scripts.inc"
	.include "data/maps/UnusedHouse_29_00/scripts.inc"
	.include "data/maps/Route25_SeaCottage/scripts.inc"
	.include "data/maps/SevenIsland_House_Room1/scripts.inc"
	.include "data/maps/SevenIsland_House_Room2/scripts.inc"
	.include "data/maps/SevenIsland_Mart/scripts.inc"
	.include "data/maps/SevenIsland_PokemonCenter_1F/scripts.inc"
	.include "data/maps/SevenIsland_PokemonCenter_2F/scripts.inc"
	.include "data/maps/UnusedHouse_31_05/scripts.inc"
	.include "data/maps/SevenIsland_Harbor/scripts.inc"
	.include "data/maps/OneIsland_PokemonCenter_1F/scripts.inc"
	.include "data/maps/OneIsland_PokemonCenter_2F/scripts.inc"
	.include "data/maps/OneIsland_House1/scripts.inc"
	.include "data/maps/OneIsland_House2/scripts.inc"
	.include "data/maps/OneIsland_Harbor/scripts.inc"
	.include "data/maps/TwoIsland_JoyfulGameCorner/scripts.inc"
	.include "data/maps/TwoIsland_House/scripts.inc"
	.include "data/maps/TwoIsland_PokemonCenter_1F/scripts.inc"
	.include "data/maps/TwoIsland_PokemonCenter_2F/scripts.inc"
	.include "data/maps/TwoIsland_Harbor/scripts.inc"
	.include "data/maps/ThreeIsland_House1/scripts.inc"
	.include "data/maps/ThreeIsland_PokemonCenter_1F/scripts.inc"
	.include "data/maps/ThreeIsland_PokemonCenter_2F/scripts.inc"
	.include "data/maps/ThreeIsland_Mart/scripts.inc"
	.include "data/maps/ThreeIsland_House2/scripts.inc"
	.include "data/maps/ThreeIsland_House3/scripts.inc"
	.include "data/maps/ThreeIsland_House4/scripts.inc"
	.include "data/maps/ThreeIsland_House5/scripts.inc"
	.include "data/maps/FourIsland_PokemonDayCare/scripts.inc"
	.include "data/maps/FourIsland_PokemonCenter_1F/scripts.inc"
	.include "data/maps/FourIsland_PokemonCenter_2F/scripts.inc"
	.include "data/maps/FourIsland_House1/scripts.inc"
	.include "data/maps/FourIsland_LoreleisHouse/scripts.inc"
	.include "data/maps/FourIsland_Harbor/scripts.inc"
	.include "data/maps/FourIsland_House2/scripts.inc"
	.include "data/maps/FourIsland_Mart/scripts.inc"
	.include "data/maps/FiveIsland_PokemonCenter_1F/scripts.inc"
	.include "data/maps/FiveIsland_PokemonCenter_2F/scripts.inc"
	.include "data/maps/FiveIsland_Harbor/scripts.inc"
	.include "data/maps/FiveIsland_House1/scripts.inc"
	.include "data/maps/FiveIsland_House2/scripts.inc"
	.include "data/maps/SixIsland_PokemonCenter_1F/scripts.inc"
	.include "data/maps/SixIsland_PokemonCenter_2F/scripts.inc"
	.include "data/maps/SixIsland_Harbor/scripts.inc"
	.include "data/maps/SixIsland_House/scripts.inc"
	.include "data/maps/SixIsland_Mart/scripts.inc"
	.include "data/maps/ThreeIsland_Harbor/scripts.inc"
	.include "data/maps/FiveIsland_ResortGorgeous_House/scripts.inc"
	.include "data/maps/TwoIsland_CapeBrink_House/scripts.inc"
	.include "data/maps/SixIsland_WaterPath_House1/scripts.inc"
	.include "data/maps/SixIsland_WaterPath_House2/scripts.inc"
	.include "data/maps/SevenIsland_SevaultCanyon_House/scripts.inc"

	.include "data/maps/ViridianForest/text.inc"
	.include "data/maps/MtMoon_1F/text.inc"
	.include "data/maps/MtMoon_B2F/text.inc"
	.include "data/maps/SSAnne_1F_Corridor/text.inc"
	.include "data/maps/SSAnne_2F_Corridor/text.inc"
	.include "data/maps/SSAnne_3F_Corridor/text.inc"
	.include "data/maps/SSAnne_Deck/text.inc"
	.include "data/maps/SSAnne_Kitchen/text.inc"
	.include "data/maps/SSAnne_CaptainsOffice/text.inc"
	.include "data/maps/SSAnne_1F_Room1/text.inc"
	.include "data/maps/SSAnne_1F_Room2/text.inc"
	.include "data/maps/SSAnne_1F_Room3/text.inc"
	.include "data/maps/SSAnne_1F_Room4/text.inc"
	.include "data/maps/SSAnne_1F_Room5/text.inc"
	.include "data/maps/SSAnne_1F_Room7/text.inc"
	.include "data/maps/SSAnne_2F_Room1/text.inc"
	.include "data/maps/SSAnne_2F_Room2/text.inc"
	.include "data/maps/SSAnne_2F_Room3/text.inc"
	.include "data/maps/SSAnne_2F_Room4/text.inc"
	.include "data/maps/SSAnne_2F_Room5/text.inc"
	.include "data/maps/SSAnne_2F_Room6/text.inc"
	.include "data/maps/SSAnne_B1F_Room1/text.inc"
	.include "data/maps/SSAnne_B1F_Room2/text.inc"
	.include "data/maps/SSAnne_B1F_Room3/text.inc"
	.include "data/maps/SSAnne_B1F_Room4/text.inc"
	.include "data/maps/SSAnne_B1F_Room5/text.inc"
	.include "data/maps/SSAnne_1F_Room6/text.inc"
	.include "data/maps/UndergroundPath_SouthEntrance/text.inc"
	.include "data/maps/UndergroundPath_WestEntrance/text.inc"
	.include "data/maps/UndergroundPath_EastEntrance/text.inc"
	.include "data/maps/DiglettsCave_NorthEntrance/text.inc"
	.include "data/maps/DiglettsCave_SouthEntrance/text.inc"
	.include "data/maps/VictoryRoad_1F/text.inc"
	.include "data/maps/VictoryRoad_2F/text.inc"
	.include "data/maps/VictoryRoad_3F/text.inc"
	.include "data/maps/RocketHideout_B1F/text.inc"
	.include "data/maps/RocketHideout_B2F/text.inc"
	.include "data/maps/RocketHideout_B3F/text.inc"
	.include "data/maps/RocketHideout_B4F/text.inc"
	.include "data/maps/RocketHideout_Elevator/text.inc"
	.include "data/maps/SilphCo_1F/text.inc"
	.include "data/maps/SilphCo_2F/text.inc"
	.include "data/maps/SilphCo_3F/text.inc"
	.include "data/maps/SilphCo_4F/text.inc"
	.include "data/maps/SilphCo_5F/text.inc"
	.include "data/maps/SilphCo_6F/text.inc"
	.include "data/maps/SilphCo_7F/text.inc"
	.include "data/maps/SilphCo_8F/text.inc"
	.include "data/maps/SilphCo_9F/text.inc"
	.include "data/maps/SilphCo_10F/text.inc"
	.include "data/maps/SilphCo_11F/text.inc"
	.include "data/maps/PokemonMansion_1F/text.inc"
	.include "data/maps/PokemonMansion_2F/text.inc"
	.include "data/maps/PokemonMansion_3F/text.inc"
	.include "data/maps/PokemonMansion_B1F/text.inc"
	.include "data/maps/SafariZone_Center/text.inc"
	.include "data/maps/SafariZone_East/text.inc"
	.include "data/maps/SafariZone_North/text.inc"
	.include "data/maps/SafariZone_West/text.inc"
	.include "data/maps/SafariZone_Building1/text.inc"
	.include "data/maps/SafariZone_Building2/text.inc"
	.include "data/maps/SafariZone_Building3/text.inc"
	.include "data/maps/SafariZone_Building4/text.inc"
	.include "data/maps/SafariZone_SecretHouse/text.inc"
	.include "data/maps/CeruleanCave_B1F/text.inc"
	.include "data/maps/PokemonLeague_LoreleisRoom/text.inc"
	.include "data/maps/PokemonLeague_BrunosRoom/text.inc"
	.include "data/maps/PokemonLeague_AgathasRoom/text.inc"
	.include "data/maps/PokemonLeague_LancesRoom/text.inc"
	.include "data/maps/PokemonLeague_ChampionsRoom/text.inc"
	.include "data/maps/PokemonLeague_HallOfFame/text.inc"
	.include "data/maps/RockTunnel_1F/text.inc"
	.include "data/maps/RockTunnel_B1F/text.inc"
	.include "data/maps/SeafoamIslands_B4F/text.inc"
	.include "data/maps/PokemonTower_1F/text.inc"
	.include "data/maps/PokemonTower_2F/text.inc"
	.include "data/maps/PokemonTower_3F/text.inc"
	.include "data/maps/PokemonTower_4F/text.inc"
	.include "data/maps/PokemonTower_5F/text.inc"
	.include "data/maps/PokemonTower_6F/text.inc"
	.include "data/maps/PokemonTower_7F/text.inc"
	.include "data/maps/MtEmber_Exterior/text.inc"
	.include "data/maps/MtEmber_RubyPath_B3F/text.inc"
	.include "data/maps/ThreeIsland_BerryForest/text.inc"
	.include "data/maps/FourIsland_IcefallCave_Back/text.inc"
	.include "data/maps/FiveIsland_RocketWarehouse/text.inc"
	.include "data/maps/SixIsland_DottedHole_SapphireRoom/text.inc"
	.include "data/maps/SixIsland_PatternBush/text.inc"
	.include "data/maps/SevenIsland_TrainerTower_Lobby/text.inc"
	.include "data/maps/FiveIsland_LostCave_Room1/text.inc"
	.include "data/maps/FiveIsland_LostCave_Room4/text.inc"
	.include "data/maps/FiveIsland_LostCave_Room10/text.inc"
	.include "data/maps/ThreeIsland_DunsparceTunnel/text.inc"
	.include "data/maps/SevenIsland_SevaultCanyon_TanobyKey/text.inc"
	.include "data/maps/OneIsland_KindleRoad_EmberSpa/text.inc"
	.include "data/maps/PalletTown/text.inc"
	.include "data/maps/ViridianCity/text.inc"
	.include "data/maps/PewterCity/text.inc"
	.include "data/maps/CeruleanCity/text.inc"
	.include "data/maps/LavenderTown/text.inc"
	.include "data/maps/VermilionCity/text.inc"
	.include "data/maps/CeladonCity/text.inc"
	.include "data/maps/FuchsiaCity/text.inc"
	.include "data/maps/CinnabarIsland/text.inc"
	.include "data/maps/SaffronCity/text.inc"
	.include "data/maps/OneIsland/text.inc"
	.include "data/maps/TwoIsland/text.inc"
	.include "data/maps/ThreeIsland/text.inc"
	.include "data/maps/FourIsland/text.inc"
	.include "data/maps/FiveIsland/text.inc"
	.include "data/maps/SevenIsland/text.inc"
	.include "data/maps/SixIsland/text.inc"
	.include "data/maps/Route1/text.inc"
	.include "data/maps/Route2/text.inc"
	.include "data/maps/Route3/text.inc"
	.include "data/maps/Route4/text.inc"
	.include "data/maps/Route5/text.inc"
	.include "data/maps/Route6/text.inc"
	.include "data/maps/Route7/text.inc"
	.include "data/maps/Route8/text.inc"
	.include "data/maps/Route9/text.inc"
	.include "data/maps/Route10/text.inc"
	.include "data/maps/Route11/text.inc"
	.include "data/maps/Route12/text.inc"
	.include "data/maps/Route13/text.inc"
	.include "data/maps/Route14/text.inc"
	.include "data/maps/Route15/text.inc"
	.include "data/maps/Route16/text.inc"
	.include "data/maps/Route17/text.inc"
	.include "data/maps/Route18/text.inc"
	.include "data/maps/Route19/text.inc"
	.include "data/maps/Route20/text.inc"
	.include "data/maps/Route22/text.inc"
	.include "data/maps/Route23/text.inc"
	.include "data/maps/Route24/text.inc"
	.include "data/maps/Route25/text.inc"
	.include "data/maps/OneIsland_KindleRoad/text.inc"
	.include "data/maps/OneIsland_TreasureBeach/text.inc"
	.include "data/maps/ThreeIsland_BondBridge/text.inc"
	.include "data/maps/ThreeIsland_Port/text.inc"
	.include "data/maps/FiveIsland_ResortGorgeous/text.inc"
	.include "data/maps/FiveIsland_WaterLabyrinth/text.inc"
	.include "data/maps/FiveIsland_Meadow/text.inc"
	.include "data/maps/FiveIsland_MemorialPillar/text.inc"
	.include "data/maps/SixIsland_OutcastIsland/text.inc"
	.include "data/maps/SixIsland_GreenPath/text.inc"
	.include "data/maps/SixIsland_WaterPath/text.inc"
	.include "data/maps/SixIsland_RuinValley/text.inc"
	.include "data/maps/SevenIsland_TrainerTower/text.inc"
	.include "data/maps/SevenIsland_SevaultCanyon_Entrance/text.inc"
	.include "data/maps/SevenIsland_SevaultCanyon/text.inc"
	.include "data/maps/PalletTown_PlayersHouse_1F/text.inc"
	.include "data/maps/PalletTown_PlayersHouse_2F/text.inc"
	.include "data/maps/PalletTown_GarysHouse/text.inc"
	.include "data/maps/PalletTown_ProfessorOaksLab/text.inc"
	.include "data/maps/ViridianCity_House1/text.inc"
	.include "data/maps/ViridianCity_Gym/text.inc"
	.include "data/maps/ViridianCity_House2/text.inc"
	.include "data/maps/ViridianCity_Mart/text.inc"
	.include "data/maps/ViridianCity_PokemonCenter_1F/text.inc"
	.include "data/maps/PewterCity_Museum_1F/text.inc"
	.include "data/maps/PewterCity_Museum_2F/text.inc"
	.include "data/maps/PewterCity_Gym/text.inc"
	.include "data/maps/PewterCity_Mart/text.inc"
	.include "data/maps/PewterCity_House1/text.inc"
	.include "data/maps/PewterCity_PokemonCenter_1F/text.inc"
	.include "data/maps/PewterCity_House2/text.inc"
	.include "data/maps/CeruleanCity_House1/text.inc"
	.include "data/maps/CeruleanCity_House2/text.inc"
	.include "data/maps/CeruleanCity_House3/text.inc"
	.include "data/maps/CeruleanCity_PokemonCenter_1F/text.inc"
	.include "data/maps/CeruleanCity_Gym/text.inc"
	.include "data/maps/CeruleanCity_BikeShop/text.inc"
	.include "data/maps/CeruleanCity_Mart/text.inc"
	.include "data/maps/CeruleanCity_House4/text.inc"
	.include "data/maps/CeruleanCity_House5/text.inc"
	.include "data/maps/LavenderTown_PokemonCenter_1F/text.inc"
	.include "data/maps/LavenderTown_VolunteerPokemonHouse/text.inc"
	.include "data/maps/LavenderTown_House1/text.inc"
	.include "data/maps/LavenderTown_House2/text.inc"
	.include "data/maps/LavenderTown_Mart/text.inc"
	.include "data/maps/VermilionCity_House1/text.inc"
	.include "data/maps/VermilionCity_PokemonCenter_1F/text.inc"
	.include "data/maps/VermilionCity_PokemonFanClub/text.inc"
	.include "data/maps/VermilionCity_Mart/text.inc"
	.include "data/maps/VermilionCity_Gym/text.inc"
	.include "data/maps/VermilionCity_House3/text.inc"
	.include "data/maps/CeladonCity_DepartmentStore_1F/text.inc"
	.include "data/maps/CeladonCity_DepartmentStore_2F/text.inc"
	.include "data/maps/CeladonCity_DepartmentStore_3F/text.inc"
	.include "data/maps/CeladonCity_DepartmentStore_4F/text.inc"
	.include "data/maps/CeladonCity_DepartmentStore_5F/text.inc"
	.include "data/maps/CeladonCity_DepartmentStore_Roof/text.inc"
	.include "data/maps/CeladonCity_Condominiums_1F/text.inc"
	.include "data/maps/CeladonCity_Condominiums_2F/text.inc"
	.include "data/maps/CeladonCity_Condominiums_3F/text.inc"
	.include "data/maps/CeladonCity_Condominiums_Roof/text.inc"
	.include "data/maps/CeladonCity_Condominiums_RoofRoom/text.inc"
	.include "data/maps/CeladonCity_PokemonCenter_1F/text.inc"
	.include "data/maps/CeladonCity_GameCorner/text.inc"
	.include "data/maps/CeladonCity_GameCorner_PrizeRoom/text.inc"
	.include "data/maps/CeladonCity_Gym/text.inc"
	.include "data/maps/CeladonCity_Restaurant/text.inc"
	.include "data/maps/CeladonCity_House1/text.inc"
	.include "data/maps/CeladonCity_Hotel/text.inc"
	.include "data/maps/FuchsiaCity_SafariZone_Entrance/text.inc"
	.include "data/maps/FuchsiaCity_Mart/text.inc"
	.include "data/maps/FuchsiaCity_ZooBuilding/text.inc"
	.include "data/maps/FuchsiaCity_Gym/text.inc"
	.include "data/maps/FuchsiaCity_House1/text.inc"
	.include "data/maps/FuchsiaCity_PokemonCenter_1F/text.inc"
	.include "data/maps/FuchsiaCity_Building1/text.inc"
	.include "data/maps/FuchsiaCity_House2/text.inc"
	.include "data/maps/FuchsiaCity_House3/text.inc"
	.include "data/maps/CinnabarIsland_Gym/text.inc"
	.include "data/maps/CinnabarIsland_PokemonLab_Entrance/text.inc"
	.include "data/maps/CinnabarIsland_PokemonLab_Lounge/text.inc"
	.include "data/maps/CinnabarIsland_PokemonLab_ResearchRoom/text.inc"
	.include "data/maps/CinnabarIsland_PokemonLab_ExperimentRoom/text.inc"
	.include "data/maps/CinnabarIsland_PokemonCenter_1F/text.inc"
	.include "data/maps/CinnabarIsland_Mart/text.inc"
	.include "data/maps/IndigoPlateau_PokemonCenter_1F/text.inc"
	.include "data/maps/SaffronCity_House1_1F/text.inc"
	.include "data/maps/SaffronCity_House1_2F/text.inc"
	.include "data/maps/SaffronCity_Dojo/text.inc"
	.include "data/maps/SaffronCity_Gym/text.inc"
	.include "data/maps/SaffronCity_House2/text.inc"
	.include "data/maps/SaffronCity_Mart/text.inc"
	.include "data/maps/SaffronCity_PokemonCenter_1F/text.inc"
	.include "data/maps/SaffronCity_House3/text.inc"
	.include "data/maps/SaffronCity_PokemonTrainerFanClub/text.inc"
	.include "data/maps/Route2_ViridianForest_SouthEntrance/text.inc"
	.include "data/maps/Route2_House/text.inc"
	.include "data/maps/Route2_EastBuilding/text.inc"
	.include "data/maps/Route2_ViridianForest_NorthEntrance/text.inc"
	.include "data/maps/Route4_PokemonCenter_1F/text.inc"
	.include "data/maps/Route5_SouthEntrance/text.inc"
	.include "data/maps/Route6_NorthEntrance/text.inc"
	.include "data/maps/Route7_EastEntrance/text.inc"
	.include "data/maps/Route8_WestEntrance/text.inc"
	.include "data/maps/Route10_PokemonCenter_1F/text.inc"
	.include "data/maps/Route11_EastEntrance_1F/text.inc"
	.include "data/maps/Route11_EastEntrance_2F/text.inc"
	.include "data/maps/Route12_NorthEntrance_1F/text.inc"
	.include "data/maps/Route12_NorthEntrance_2F/text.inc"
	.include "data/maps/Route12_FishingHouse/text.inc"
	.include "data/maps/Route15_WestEntrance_1F/text.inc"
	.include "data/maps/Route15_WestEntrance_2F/text.inc"
	.include "data/maps/Route16_House/text.inc"
	.include "data/maps/Route16_NorthEntrance_1F/text.inc"
	.include "data/maps/Route16_NorthEntrance_2F/text.inc"
	.include "data/maps/Route18_EastEntrance_1F/text.inc"
	.include "data/maps/Route18_EastEntrance_2F/text.inc"
	.include "data/maps/Route25_SeaCottage/text.inc"
	.include "data/maps/SevenIsland_House_Room1/text.inc"
	.include "data/maps/SevenIsland_Mart/text.inc"
	.include "data/maps/SevenIsland_PokemonCenter_1F/text.inc"
	.include "data/maps/OneIsland_PokemonCenter_1F/text.inc"
	.include "data/maps/OneIsland_House1/text.inc"
	.include "data/maps/OneIsland_House2/text.inc"
	.include "data/maps/TwoIsland_JoyfulGameCorner/text.inc"
	.include "data/maps/TwoIsland_House/text.inc"
	.include "data/maps/TwoIsland_PokemonCenter_1F/text.inc"
	.include "data/maps/ThreeIsland_House1/text.inc"
	.include "data/maps/ThreeIsland_PokemonCenter_1F/text.inc"
	.include "data/maps/ThreeIsland_Mart/text.inc"
	.include "data/maps/ThreeIsland_House2/text.inc"
	.include "data/maps/ThreeIsland_House3/text.inc"
	.include "data/maps/ThreeIsland_House4/text.inc"
	.include "data/maps/ThreeIsland_House5/text.inc"
	.include "data/maps/FourIsland_PokemonCenter_1F/text.inc"
	.include "data/maps/FourIsland_House1/text.inc"
	.include "data/maps/FourIsland_LoreleisHouse/text.inc"
	.include "data/maps/FourIsland_Mart/text.inc"
	.include "data/maps/FiveIsland_PokemonCenter_1F/text.inc"
	.include "data/maps/FiveIsland_House1/text.inc"
	.include "data/maps/FiveIsland_House2/text.inc"
	.include "data/maps/SixIsland_PokemonCenter_1F/text.inc"
	.include "data/maps/SixIsland_House/text.inc"
	.include "data/maps/SixIsland_Mart/text.inc"
	.include "data/maps/FiveIsland_ResortGorgeous_House/text.inc"
	.include "data/maps/SixIsland_WaterPath_House1/text.inc"
	.include "data/maps/SixIsland_WaterPath_House2/text.inc"
	.include "data/maps/SevenIsland_SevaultCanyon_House/text.inc"

gStdScript_2:: @ 81A4E3F
	lock
	faceplayer
	message 0x0
	waitmessage
	waitbuttonpress
	release
	return

gStdScript_3:: @ 81A4E4A
	lockall
	message 0x0
	waitmessage
	waitbuttonpress
	releaseall
	return

gStdScript_4:: @ 81A4E54
	message 0x0
	waitmessage
	waitbuttonpress
	return

gStdScript_5:: @ 81A4E5C
	message 0x0
	waitmessage
	yesnobox 20, 8
	return

gStdScript_ItemMessageAndFanfare:: @ 81A4E66
	textcolor 3
	compare_var_to_value VAR_0x8002, MUS_FANFA1
	call_if eq, EventScript_1A4EA2
	compare_var_to_value VAR_0x8002, MUS_FAN5
	call_if eq, EventScript_1A4EA6
	message 0x0
	waitmessage
	waitfanfare
	compare_var_to_value VAR_0x8002, MUS_FANFA1
	call_if eq, EventScript_1A4EAA
	giveitem VAR_0x8000, VAR_0x8001, 8
	call EventScript_1A6675
	return

EventScript_1A4EA2:: @ 81A4EA2
	playfanfare MUS_FANFA1
	return

EventScript_1A4EA6:: @ 81A4EA6
	playfanfare MUS_FAN5
	return

EventScript_1A4EAA:: @ 81A4EAA
	delay 50
	return

EventScript_1A4EAE:: @ 81A4EAE
	return

EventScript_1A4EAF:: @ 81A4EAF
	special Field_AskSaveTheGame
	waitstate
	return

gUnknown_81A4EB4:: @ 81A4EB4
	lock
	special PlayTrainerEncounterMusic
	special ScrSpecial_EndTrainerApproach
	waitstate
	goto EventScript_1A4FC7

EventScript_TryDoNormalTrainerBattle:: @ 81A4EC1
	lock
	faceplayer
	applymovement VAR_LAST_TALKED, Movement_1A4FC5
	waitmovement 0
	specialvar VAR_RESULT, ScrSpecial_HasTrainerBeenFought
	compare_var_to_value VAR_RESULT, 0
	goto_if ne, EventScript_1A4EE8
	special PlayTrainerEncounterMusic
	special SetUpTrainerMovement
	goto EventScript_1A4FC7

EventScript_1A4EE8:: @ 81A4EE8
	ontrainerbattleend

EventScript_TryDoDoubleTrainerBattle:: @ 81A4EE9
	lock
	faceplayer
	call EventScript_1A4FBA
	specialvar VAR_RESULT, ScrSpecial_HasTrainerBeenFought
	compare_var_to_value VAR_RESULT, 0
	goto_if ne, EventScript_1A4F20
	special CheckForAlivePartyMons
	compare_var_to_value VAR_RESULT, 0
	goto_if ne, EventScript_1A4F19
	special PlayTrainerEncounterMusic
	special SetUpTrainerMovement
	goto EventScript_1A4FC7

EventScript_1A4F19:: @ 81A4F19
	special ScrSpecial_ShowTrainerNonBattlingSpeech
	waitmessage
	waitbuttonpress
	release
	end

EventScript_1A4F20:: @ 81A4F20
	ontrainerbattleend

EventScript_DoTrainerBattle:: @ 81A4F21
	applymovement VAR_LAST_TALKED, Movement_1A4FC5
	waitmovement 0
	special PlayTrainerEncounterMusic
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A501A
	battlebegin
	ontrainerbattleend

EventScript_TryDoRematchBattle:: @ 81A4F3E
	call EventScript_1A4FBA
	specialvar VAR_RESULT, ScrSpecial_GetTrainerEyeRematchFlag
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1A4F72
	special PlayTrainerEncounterMusic
	special SetUpTrainerMovement
	special ScrSpecial_ShowTrainerIntroSpeech
	waitmessage
	waitbuttonpress
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A4FB8
	special ScrSpecial_StartTrainerEyeRematch
	waitstate
	releaseall
	end

EventScript_1A4F72:: @ 81A4F72
	ontrainerbattleend

EventScript_TryDoDoubleRematchBattle:: @ 81A4F73
	specialvar VAR_RESULT, ScrSpecial_GetTrainerEyeRematchFlag
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1A4FB0
	special CheckForAlivePartyMons
	compare_var_to_value VAR_RESULT, 0
	goto_if ne, EventScript_1A4FB1
	special PlayTrainerEncounterMusic
	special SetUpTrainerMovement
	special ScrSpecial_ShowTrainerIntroSpeech
	waitmessage
	waitbuttonpress
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A4FB8
	special ScrSpecial_StartTrainerEyeRematch
	waitstate
	releaseall
	end

EventScript_1A4FB0:: @ 81A4FB0
	ontrainerbattleend

EventScript_1A4FB1:: @ 81A4FB1
	special ScrSpecial_ShowTrainerNonBattlingSpeech
	waitmessage
	waitbuttonpress
	release
	end

EventScript_1A4FB8:: @ 81A4FB8
	releaseall
	end

EventScript_1A4FBA:: @ 81A4FBA
	applymovement VAR_LAST_TALKED, Movement_1A4FC5
	waitmovement 0
	return

Movement_1A4FC5:: @ 81A4FC5
	step_67
	step_end

EventScript_1A4FC7:: @ 81A4FC7
	special ScrSpecial_ShowTrainerIntroSpeech
	waitmessage
	waitbuttonpress
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A501A
	battlebegin
	specialvar VAR_RESULT, ScrSpecial_GetTrainerBattleMode
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1A5017
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A5019
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A5019
	compare_var_to_value VAR_RESULT, 6
	goto_if eq, EventScript_1A5019
	compare_var_to_value VAR_RESULT, 8
	goto_if eq, EventScript_1A5019

EventScript_1A5017:: @ 81A5017
	releaseall
	end

EventScript_1A5019:: @ 81A5019
	ontrainerbattleendgoto

EventScript_1A501A:: @ 81A501A
	special SetBattledTrainerFlag
	releaseall
	end

gStdScript_Message_WaitButton_AndRelease:: @ 81A501F
	message 0x0
	waitmessage
	waitbuttonpress
	release
	return

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

Text_1A505B:: @ 81A505B
	.string "We hope to see you again!$"

Text_1A5075:: @ 81A5075
	.string "{PLAYER} booted up the PC.$"

gUnknown_81A508A:: @ 81A508A
	.string "Which PC should be accessed?$"

Text_1A50A7:: @ 81A50A7
	.string "Accessed Someone's PC.$"

Text_1A50BE:: @ 81A50BE
	.string "POKéMON Storage System opened.$"

Text_1A50DD:: @ 81A50DD
	.string "Accessed {PLAYER}'s PC.$"

Text_1A50EF:: @ 81A50EF
	.string "Accessed BILL's PC.$"

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

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

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

gUnknown_81A5190:: @ 81A5190
	.string "Please come again!$"

Text_1A51A3:: @ 81A51A3
	.string "Welcome!\p"
	.string "We're having a discount sale today!$"

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

Text_1A51F6:: @ 81A51F6
	.string "Obtained the {STR_VAR_2}!$"

gUnknown_81A5207:: @ 81A5207
	.string "The BAG is full…$"

gUnknown_81A5218:: @ 81A5218
	.string "{PLAYER} put the {STR_VAR_2}\n"
	.string "in the {STR_VAR_3}.$"

Text_1A5231:: @ 81A5231
	.string "{PLAYER} found one {STR_VAR_2}!$"

gUnknown_81A5242:: @ 81A5242
	.string "Too bad!\n"
	.string "The BAG is full…$"

Text_1A525C:: @ 81A525C
	.string "{PLAYER} found\n"
	.string "{STR_VAR_1} {STR_VAR_2}!$"

Text_1A526C:: @ 81A526C
	.string "{PLAYER} put the COINS away in\n"
	.string "the COIN CASE.$"

Text_1A5294:: @ 81A5294
	.string "Too bad!\n"
	.string "The COIN CASE is full…$"

Text_1A52B4:: @ 81A52B4
	.string "Too bad!\n"
	.string "There's nothing to put them in…$"

Text_1A52DD:: @ 81A52DD
	.string "{PLAYER} found\n"
	.string "{STR_VAR_1} {STR_VAR_2}(s)!$"

Text_1A52F0:: @ 81A52F0
	.string "Obtained the {STR_VAR_2}!$"

Text_1A5301:: @ 81A5301
	.string "Too bad! There's no room left for\n"
	.string "another {STR_VAR_2}…$"

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

Text_1A5351:: @ 81A5351
	.string "じゅんびちゅうです!$"

Text_1A535C:: @ 81A535C
	.string "Which floor do you want?$"

Text_1A5375:: @ 81A5375
	.string "An item in the BAG can be\n"
	.string "registered to SELECT for easy use.$"

Text_1A53B2:: @ 81A53B2
	.string "パソコンに\n"
	.string "ポケモン トレーナー こうざの\l"
	.string "メールが きている!\p"
	.string "‥‥ ‥‥ ‥‥\p"
	.string "ポケモンが おぼえられる わざは 4つ!\p"
	.string "どんな わざを おぼえさせるかで\n"
	.string "トレーナーの じつりょくが とわれます!\p"
	.string "‥‥ ‥‥ ‥‥$"

gUnknown_81A5420:: @ 81A5420
	.string "{PLAYER} booted up the PC.$"

Text_1A5435:: @ 81A5435
	.string "つうしんは キャンセルされました$"

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

gText_PkmnFainted3:: @ 81A5476
	.string "{STR_VAR_1} fainted…\p"
	.string "$"

Text_1A5483:: @ 81A5483
	.string "Welcome to our POKéMON CENTER!\p"
	.string "Would you like me to heal your\n"
	.string "POKéMON back to perfect health?$"

Text_1A54E1:: @ 81A54E1
	.string "Okay, I'll take your POKéMON for a\n"
	.string "few seconds.$"

Text_1A5511:: @ 81A5511
	.string "We hope to see you again!$"

Text_1A552B:: @ 81A552B
	.string "Thank you for waiting.\n"
	.string "We've restored your POKéMON to\l"
	.string "full health.$"

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

Text_1A55A5:: @ 81A55A5
	.string "{STR_VAR_1} used SURF!$"

Text_1A55B3:: @ 81A55B3
	.string "The current is much too fast!\n"
	.string "SURF can't be used here…$"

Text_1A55EA:: @ 81A55EA
	.string "どこか とおくの とびらが\n"
	.string "ひらいたような おとだ‥‥$"

Text_1A5606:: @ 81A5606
	.string "かべに\n"
	.string "おおきな あなが あいている!$"

Text_1A561A:: @ 81A561A
	.string "I'm terribly sorry.\n"
	.string "The POKéMON WIRELESS CLUB is\l"
	.string "undergoing adjustments now.$"

Text_1A5667:: @ 81A5667
	.string "It appears to be undergoing\n"
	.string "adjustments…$"

Text_1A5690:: @ 81A5690
	.string "{PLAYER} handed over the\n"
	.string "{STR_VAR_1}.$"

gUnknown_81A56A7:: @ 81A56A7
	.string "Do you want to give a nickname to\n"
	.string "this {STR_VAR_1}?$"

Text_1A56D2:: @ 81A56D2
	.string "おッ! ダウジングマシンが\n"
	.string "はんのう してるぞ!\p"
	.string "ましたに どうぐが うまってる!\n"
	.string "‥‥‥$"

Text_1A5700:: @ 81A5700
	.string "{PLAYER} dug up one {STR_VAR_2}\n"
	.string "from deep in the ground.$"

Text_1A572A:: @ 81A572A
	.string "Only truly skilled TRAINERS are\n"
	.string "allowed through.\p"
	.string "You don't have the {STR_VAR_1}\n"
	.string "yet!$"

Text_1A5776:: @ 81A5776
	.string "Rules are rules.\n"
	.string "I can't let you pass.$"

Text_1A579D:: @ 81A579D
	.string "Oh! That is the {STR_VAR_1}!\n"
	.string "Go right ahead.$"

Text_1A57C1:: @ 81A57C1
	.string "You can pass here only if you have\n"
	.string "the {STR_VAR_1}.\p"
	.string "You don't have the {STR_VAR_1}\n"
	.string "yet.\p"
	.string "You have to have it to get to\n"
	.string "the POKéMON LEAGUE.$"

Text_1A5839:: @ 81A5839
	.string "You can pass here only if you have\n"
	.string "the {STR_VAR_1}.\p"
	.string "Oh! That is the {STR_VAR_1}!{PAUSE_MUSIC}{PLAY_BGM}{MUS_FANFA1}{PAUSE 0x60}{RESUME_MUSIC}\p"
	.string "Okay, then.\n"
	.string "Please, go right ahead.$"

Text_1A58A7:: @ 81A58A7
	.string "Let's see…\n"
	.string "Uh-oh! You have caught only\l"
	.string "{STR_VAR_3} kinds of POKéMON!\p"
	.string "You need {STR_VAR_1} kinds\n"
	.string "if you want the {STR_VAR_2}.$"

Text_1A5909:: @ 81A5909
	.string "…Oh. I see.\p"
	.string "When you get {STR_VAR_1} kinds of POKéMON,\n"
	.string "come back for the {STR_VAR_2}.$"

Text_1A594D:: @ 81A594D
	.string "Oh! I see you don't have any\n"
	.string "room for the {STR_VAR_2}.$"

gUnknown_81A597B:: @ 81A597B
	.string "I'm looking for the POKéMON\n"
	.string "{STR_VAR_1}!\p"
	.string "Wanna trade one for my\n"
	.string "{STR_VAR_2}?$"

gUnknown_81A59B6:: @ 81A59B6
	.string "Awww!\n"
	.string "Oh, well…$"

gUnknown_81A59C6:: @ 81A59C6
	.string "What?\n"
	.string "That's no {STR_VAR_1}!$"

gUnknown_81A59DA:: @ 81A59DA
	.string "Hey, thanks!$"

gUnknown_81A59E7:: @ 81A59E7
	.string "Isn't my old {STR_VAR_2} great?$"

gUnknown_81A59FE:: @ 81A59FE
	.string "Hello, there! Do you happen to\n"
	.string "have a {STR_VAR_1}?\p"
	.string "Would you agree to a trade for\n"
	.string "my {STR_VAR_2}?$"

gUnknown_81A5A4E:: @ 81A5A4E
	.string "Well, if you don't want to…$"

gUnknown_81A5A6A:: @ 81A5A6A
	.string "Hmmm?\n"
	.string "This isn't a {STR_VAR_1}.\p"
	.string "Think of me if you get one.$"

gUnknown_81A5A9D:: @ 81A5A9D
	.string "Thanks!$"

gUnknown_81A5AA5:: @ 81A5AA5
	.string "The {STR_VAR_2} that I traded you,\n"
	.string "has it grown stronger?$"

gUnknown_81A5AD6:: @ 81A5AD6
	.string "Hi!\n"
	.string "Do you have a {STR_VAR_1}?\p"
	.string "Want to trade it for my\n"
	.string "{STR_VAR_2}?$"

gUnknown_81A5B08:: @ 81A5B08
	.string "That's too bad.$"

gUnknown_81A5B18:: @ 81A5B18
	.string "…This is no {STR_VAR_1}.\p"
	.string "If you get one, trade it with me.$"

gUnknown_81A5B4A:: @ 81A5B4A
	.string "Thanks, you're a pal!$"

gUnknown_81A5B60:: @ 81A5B60
	.string "How is my old {STR_VAR_2}?\n"
	.string "My {STR_VAR_1} is doing great!$"

Text_1A5B88:: @ 81A5B88
	.string "Bingo!\n"
	.string "The CARD KEY opened the door!$"

Text_1A5BAD:: @ 81A5BAD
	.string "No!\n"
	.string "It needs a CARD KEY!$"

Text_1A5BC6:: @ 81A5BC6
	.string "Accessed PROF. OAK's PC…\p"
	.string "Accessed the POKéDEX Rating\n"
	.string "System…$"

Text_1A5C03:: @ 81A5C03
	.string "Would you like to have your\n"
	.string "POKéDEX rated?$"

Text_1A5C2E:: @ 81A5C2E
	.string "Closed link to PROF. OAK's PC.$"

Text_1A5C4D:: @ 81A5C4D
	.string "Someone's voice rang out,\n"
	.string "“Don't run away!”$"

Text_1A5C79:: @ 81A5C79
	.string "えっとー\n"
	.string "{STR_VAR_2}が みてみたいなー\p"
	.string "それも {STR_VAR_1}{STR_VAR_3}\n"
	.string "{STR_VAR_2}が みてみたいなー$"

Text_1A5C9F:: @ 81A5C9F
	.string "わぁー すごい!\n"
	.string "{STR_VAR_1}{STR_VAR_3}{STR_VAR_2}だー!\p"
	.string "ありがとー\n"
	.string "また よろしくねー!$"

Text_1A5CC3:: @ 81A5CC3
	.string "それっ ちがうよー!$"

Text_1A5CCE:: @ 81A5CCE
	.string "そっか‥$"

Text_1A5CD3:: @ 81A5CD3
	.string "ドアは しまっている‥$"

Text_1A5CDF:: @ 81A5CDF
	.string "The door is open…$"

Text_1A5CF1:: @ 81A5CF1
	.string "{STR_VAR_2} was transferred to\n"
	.string "Someone's PC.\p"
	.string "It was placed in \n"
	.string "BOX “{STR_VAR_1}.”$"

Text_1A5D31:: @ 81A5D31
	.string "{STR_VAR_2} was transferred to\n"
	.string "BILL'S PC.\p"
	.string "It was placed in \n"
	.string "BOX “{STR_VAR_1}.”$"

Text_1A5D6E:: @ 81A5D6E
	.string "BOX “{STR_VAR_3}” on\n"
	.string "Someone's PC was full.\p"
	.string "{STR_VAR_2} was transferred to\n"
	.string "BOX “{STR_VAR_1}.”$"

Text_1A5DB1:: @ 81A5DB1
	.string "BOX “{STR_VAR_3}” on\n"
	.string "BILL'S PC was full.\p"
	.string "{STR_VAR_2} was transferred to\n"
	.string "BOX “{STR_VAR_1}.”$"

Text_1A5DF1:: @ 81A5DF1
	.string "{PLAYER} obtained\n"
	.string "the {STR_VAR_1}!$"

Text_1A5E05:: @ 81A5E05
	.string "ポケモンを もちきれないので\n"
	.string "パソコンの ボックス“{STR_VAR_1}” に\l"
	.string "{STR_VAR_2}を てんそうした!$"

gUnknown_81A5E31:: @ 81A5E31
	.string "There's no more room for POKéMON!\p"
	.string "The POKéMON BOXES are full and\n"
	.string "can't accept any more!$"

Text_1A5E89:: @ 81A5E89
	.string "First, you should restore your\n"
	.string "POKéMON to full health.$"

Text_1A5EC0:: @ 81A5EC0
	.string "Your POKéMON have been healed\n"
	.string "to perfect health.\p"
	.string "If your POKéMON's energy, HP,\n"
	.string "is down, please come see us.\p"
	.string "If you're planning to go far in the\n"
	.string "field, you should buy some POTIONS\l"
	.string "at the POKéMON MART.\p"
	.string "We hope you excel!$"

Text_1A5F9B:: @ 81A5F9B
	.string "Your POKéMON have been healed\n"
	.string "to perfect health.\p"
	.string "We hope you excel!$"

Text_1A5FDF:: @ 81A5FDF
	.string "MOM: {PLAYER}!\n"
	.string "Welcome home.\p"
	.string "It sounds like you had quite\n"
	.string "an experience.\p"
	.string "Maybe you should take a quick\n"
	.string "rest.$"

Text_1A6046:: @ 81A6046
	.string "MOM: Oh, good! You and your\n"
	.string "POKéMON are looking great.\p"
	.string "I just heard from PROF. OAK.\p"
	.string "He said that POKéMON's energy is\n"
	.string "measured in HP.\p"
	.string "If your POKéMON lose their HP,\n"
	.string "you can restore them at any\l"
	.string "POKéMON CENTER.\p"
	.string "If you're going to travel far away,\n"
	.string "the smart TRAINER stocks up on\l"
	.string "POTIONS at the POKéMON MART.\p"
	.string "Make me proud, honey!\p"
	.string "Take care!$"

Text_1A6197:: @ 81A6197
	.string "{PLAYER} is out of usable\n"
	.string "POKéMON!\p"
	.string "{PLAYER} panicked and lost ¥{STR_VAR_1}…\p"
	.string "… … … …\p"
	.string "{PLAYER} whited out!$"

Text_1A61E5:: @ 81A61E5
	.string "{PLAYER} is out of usable\n"
	.string "POKéMON!\p"
	.string "{PLAYER} whited out!$"

Text_1A6211:: @ 81A6211
	.string "Hi, there!\n"
	.string "May I help you?$"

Text_1A622C:: @ 81A622C
	.string "There is a questionnaire.\n"
	.string "Would you like to fill it out?$"

Text_1A6265:: @ 81A6265
	.string "Thank you for taking the time to\n"
	.string "fill out our questionnaire.\p"
	.string "Your feedback will be used for\n"
	.string "future reference.$"

Text_1A62D3:: @ 81A62D3
	.string "Oh, hello!\n"
	.string "You know those words?\p"
	.string "That means you must know about\n"
	.string "the MYSTERY GIFT.\p"
	.string "From now on, you should be\n"
	.string "receiving MYSTERY GIFTS!$"

Text_1A6359:: @ 81A6359
	.string "Once you save your game, you can\n"
	.string "access the MYSTERY GIFT.$"

Text_1A6393:: @ 81A6393
	.string "Thank you for accessing the\n"
	.string "MYSTERY GIFT System.$"

Text_1A63C4:: @ 81A63C4
	.string "The {STR_VAR_1} flew away!$"

Text_1A63D6:: @ 81A63D6
	.string "ベッドが ある‥‥\n"
	.string "やすんでいこう$"

Text_1A63E8:: @ 81A63E8
	.string "{PLAYER} found a {STR_VAR_2}!\n"
	.string "It contains {STR_VAR_1}.$"

Text_1A6407:: @ 81A6407
	.string "おつかれさん!\n"
	.string "どこに いきたいんだ?$"

Text_1A641B:: @ 81A641B
	.string "All right!\n"
	.string "All aboard SEAGALLOP HI-SPEED {STR_VAR_1}!$"

Text_1A6448:: @ 81A6448
	.string "Gyaoo!$"

Text_1A644F:: @ 81A644F
	.string "This move can be learned only\n"
	.string "once. Is that okay?$"

EventScript_ResetAllMapFlags:: @ 81A6481
	setflag FLAG_HIDE_OAK_IN_HIS_LAB
	setflag FLAG_HIDE_OAK_IN_PALLET_TOWN
	setflag FLAG_HIDE_BILL_HUMAN_SEA_COTTAGE
	setflag FLAG_HIDE_PEWTER_CITY_RUNNING_SHOES_GUY
	setflag FLAG_HIDE_POKEHOUSE_FUJI
	setflag FLAG_HIDE_LIFT_KEY
	setflag FLAG_HIDE_SILPH_SCOPE
	setflag FLAG_HIDE_CERULEAN_RIVAL
	setflag FLAG_HIDE_SS_ANNE_RIVAL
	setflag FLAG_HIDE_VERMILION_CITY_OAKS_AIDE
	setflag FLAG_HIDE_SAFFRON_CIVILIANS
	setflag FLAG_HIDE_ROUTE_22_RIVAL
	setflag FLAG_HIDE_OAK_IN_CHAMP_ROOM
	setflag FLAG_HIDE_CREDITS_RIVAL
	setflag FLAG_HIDE_CREDITS_OAK
	setflag FLAG_HIDE_CINNABAR_BILL
	setflag FLAG_HIDE_CINNABAR_SEAGALLOP
	setflag FLAG_HIDE_CINNABAR_POKECENTER_BILL
	setflag FLAG_HIDE_LORELEI_IN_HER_HOUSE
	setflag FLAG_HIDE_SAFFRON_FAN_CLUB_BLACKBELT
	setflag FLAG_HIDE_SAFFRON_FAN_CLUB_ROCKER
	setflag FLAG_HIDE_SAFFRON_FAN_CLUB_WOMAN
	setflag FLAG_HIDE_SAFFRON_FAN_CLUB_BEAUTY
	setflag FLAG_HIDE_TWO_ISLAND_GAME_CORNER_LOSTELLE
	setflag FLAG_HIDE_TWO_ISLAND_GAME_CORNER_BIKER
	setflag FLAG_HIDE_TWO_ISLAND_WOMAN
	setflag FLAG_HIDE_TWO_ISLAND_BEAUTY
	setflag FLAG_HIDE_TWO_ISLAND_SUPER_NERD
	setflag FLAG_HIDE_LOSTELLE_IN_HER_HOME
	setflag FLAG_HIDE_THREE_ISLAND_LONE_BIKER
	setflag FLAG_HIDE_FOUR_ISLAND_RIVAL
	setflag FLAG_HIDE_DOTTED_HOLE_SCIENTIST
	setflag FLAG_HIDE_RESORT_GORGEOUS_SELPHY
	setflag FLAG_HIDE_RESORT_GORGEOUS_INSIDE_SELPHY
	setflag FLAG_HIDE_SELPHYS_BUTLER
	setflag FLAG_HIDE_DEOXYS
	setflag FLAG_HIDE_LORELEI_HOUSE_MEOWTH_DOLL
	setflag FLAG_HIDE_LORELEI_HOUSE_CHANSEY_DOLL
	setflag FLAG_HIDE_LORELEIS_HOUSE_NIDORAN_F_DOLL
	setflag FLAG_HIDE_LORELEI_HOUSE_JIGGLYPUFF_DOLL
	setflag FLAG_HIDE_LORELEIS_HOUSE_NIDORAN_M_DOLL
	setflag FLAG_HIDE_LORELEIS_HOUSE_FEAROW_DOLL
	setflag FLAG_HIDE_LORELEIS_HOUSE_PIDGEOT_DOLL
	setflag FLAG_HIDE_LORELEIS_HOUSE_LAPRAS_DOLL
	setflag FLAG_HIDE_POSTGAME_GOSSIPERS
	setflag FLAG_HIDE_FAME_CHECKER_ERIKA_JOURNALS
	setflag FLAG_HIDE_FAME_CHECKER_KOGA_JOURNAL
	setflag FLAG_HIDE_FAME_CHECKER_LT_SURGE_JOURNAL
	setflag FLAG_HIDE_SAFFRON_CITY_POKECENTER_SABRINA_JOURNALS
	setvar VAR_MASSAGE_COOLDOWN_STEP_COUNTER, 500
	end

EventScript_1A651A:: @ 81A651A
	clearflag FLAG_HIDE_POSTGAME_GOSSIPERS
	call EventScript_1A6551
	special sub_81130A8
	specialvar VAR_RESULT, IsNationalPokedexEnabled
	compare_var_to_value VAR_RESULT, 0
	call_if eq, EventScript_1A653B
	call EventScript_1A6541
	return

EventScript_1A653B:: @ 81A653B
	setvar VAR_MAP_SCENE_PALLET_TOWN_OAK, 2
	return

EventScript_1A6541:: @ 81A6541
	clearflag FLAG_LUGIA_FLEW_AWAY
	clearflag FLAG_HO_OH_FLEW_AWAY
	clearflag FLAG_DEOXYS_FLEW_AWAY
	return

gUnknown_81A654B:: @ 81A654B
	call EventScript_1A6551
	end

EventScript_1A6551:: @ 81A6551
	clearflag FLAG_DEFEATED_LORELEI
	clearflag FLAG_DEFEATED_BRUNO
	clearflag FLAG_DEFEATED_AGATHA
	clearflag FLAG_DEFEATED_LANCE
	clearflag FLAG_DEFEATED_CHAMP
	cleartrainerflag TRAINER_CHAMPION_FIRST_SQUIRTLE
	cleartrainerflag TRAINER_CHAMPION_FIRST_BULBASAUR
	cleartrainerflag TRAINER_CHAMPION_FIRST_CHARMANDER
	cleartrainerflag TRAINER_CHAMPION_REMATCH_SQUIRTLE
	cleartrainerflag TRAINER_CHAMPION_REMATCH_BULBASAUR
	cleartrainerflag TRAINER_CHAMPION_REMATCH_CHARMANDER
	setvar VAR_MAP_SCENE_POKEMON_LEAGUE, 0
	return

EventScript_1A6578:: @ 81A6578
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A7AE0
	message Text_1A5483
	waitmessage
	multichoice 19, 8, MULTICHOICE_YES_NO, FALSE | (TRUE << 1)
	switch VAR_RESULT
	case 0, EventScript_1A65B8
	case 1 EventScript_1A6663
	case SCR_MENU_CANCEL, EventScript_1A6663
	end

EventScript_1A65B8:: @ 81A65B8
	incrementgamestat GAME_STAT_USED_POKECENTER
	message Text_1A54E1
	waitmessage
	call EventScript_1A65CE
	special sub_80CC524
	goto EventScript_1A65EC
	end

EventScript_1A65CE:: @ 81A65CE
	applymovement VAR_LAST_TALKED, Movement_1A75E7
	waitmovement 0
	dofieldeffect FLDEFF_POKECENTER_HEAL
	waitfieldeffect 25
	applymovement VAR_LAST_TALKED, Movement_1A75ED
	waitmovement 0
	special sp000_heal_pokemon
	return

EventScript_1A65EC:: @ 81A65EC
	specialvar VAR_RESULT, Special_PlayerIsNotInTrainerTowerLobby
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1A661D
	specialvar VAR_RESULT, sp182_move_string
	copyvar VAR_0x8008, VAR_RESULT
	compare_var_to_value VAR_0x8008, 0
	goto_if eq, EventScript_1A661D
	compare_var_to_value VAR_0x8008, 1
	goto_if eq, EventScript_1A6636
	end

EventScript_1A661D:: @ 81A661D
	message Text_1A552B
	waitmessage
	applymovement VAR_LAST_TALKED, Movement_1A666C
	waitmovement 0
	msgbox Text_1A5511
	return

EventScript_1A6636:: @ 81A6636
	checkflag FLAG_SYS_INFORMED_OF_LOCAL_WIRELESS_PLAYER
	goto_if TRUE, EventScript_1A661D
	msgbox Text_1A552B
	setflag FLAG_SYS_INFORMED_OF_LOCAL_WIRELESS_PLAYER
	message Text_1BCCCA
	waitmessage
	applymovement VAR_LAST_TALKED, Movement_1A666C
	waitmovement 0
	msgbox Text_1A5511
	return

EventScript_1A6663:: @ 81A6663
	msgbox Text_1A5511
	return

Movement_1A666C:: @ 81A666C
	step_5b
	step_1a
	step_end

EventScript_1A666F:: @ 81A666F
	copyvar VAR_MON_BOX_POS, VAR_MON_BOX_ID
	return

EventScript_1A6675:: @ 81A6675
	copyvar VAR_MON_BOX_ID, VAR_MON_BOX_POS
	return

gStdScript_0:: @ 81A667B
	copyvar VAR_MON_BOX_POS, VAR_MON_BOX_ID
	textcolor 3
	additem VAR_0x8000, VAR_0x8001
	copyvar VAR_0x8007, VAR_RESULT
	call EventScript_1A6697
	copyvar VAR_MON_BOX_ID, VAR_MON_BOX_POS
	return

EventScript_1A6697:: @ 81A6697
	bufferitemnameplural 1, VAR_0x8000, VAR_0x8001
	checkitemtype VAR_0x8000
	call EventScript_1A66BC
	compare_var_to_value VAR_0x8007, 1
	call_if eq, EventScript_1A6749
	compare_var_to_value VAR_0x8007, 0
	call_if eq, EventScript_1A675E
	return

EventScript_1A66BC:: @ 81A66BC
	switch VAR_RESULT
	compare_var_to_value VAR_0x8000, 1
	goto_if eq, EventScript_1A66F9
	compare_var_to_value VAR_0x8000, 2
	goto_if eq, EventScript_1A6709
	compare_var_to_value VAR_0x8000, 3
	goto_if eq, EventScript_1A6719
	compare_var_to_value VAR_0x8000, 4
	goto_if eq, EventScript_1A6729
	compare_var_to_value VAR_0x8000, 5
	goto_if eq, EventScript_1A6739
	end

EventScript_1A66F9:: @ 81A66F9
	getstdstring 2, 24
	compare_var_to_value VAR_0x8007, 1
	call_if eq, EventScript_1A6764
	return

EventScript_1A6709:: @ 81A6709
	getstdstring 2, 25
	compare_var_to_value VAR_0x8007, 1
	call_if eq, EventScript_1A6764
	return

EventScript_1A6719:: @ 81A6719
	getstdstring 2, 26
	compare_var_to_value VAR_0x8007, 1
	call_if eq, EventScript_1A6764
	return

EventScript_1A6729:: @ 81A6729
	getstdstring 2, 27
	compare_var_to_value VAR_0x8007, 1
	call_if eq, EventScript_1A6768
	return

EventScript_1A6739:: @ 81A6739
	getstdstring 2, 28
	compare_var_to_value VAR_0x8007, 1
	call_if eq, EventScript_1A6764
	return

EventScript_1A6749:: @ 81A6749
	message Text_1A51F6
	waitfanfare
	waitmessage
	msgbox gUnknown_81A5218
	setvar VAR_RESULT, 1
	return

EventScript_1A675E:: @ 81A675E
	setvar VAR_RESULT, 0
	return

EventScript_1A6764:: @ 81A6764
	playfanfare MUS_FANFA1
	return

EventScript_1A6768:: @ 81A6768
	playfanfare MUS_FANFA1
	return

gStdScript_7:: @ 81A676C
	adddecor VAR_0x8000
	copyvar VAR_0x8007, VAR_RESULT
	call EventScript_1A677A
	return

EventScript_1A677A:: @ 81A677A
	getdecorname 1, VAR_0x8000
	compare_var_to_value VAR_0x8007, 1
	call_if eq, EventScript_1A6795
	compare_var_to_value VAR_0x8007, 0
	call_if eq, EventScript_1A67AD
	return

EventScript_1A6795:: @ 81A6795
	playfanfare MUS_FANFA4
	message Text_1A52F0
	waitfanfare
	waitmessage
	msgbox gUnknown_81A532F
	setvar VAR_RESULT, 1
	return

EventScript_1A67AD:: @ 81A67AD
	setvar VAR_RESULT, 0
	return

gStdScript_1:: @ 81A67B3
	lock
	faceplayer
	waitse
	copyvar VAR_0x8004, VAR_0x8000
	copyvar VAR_0x8005, VAR_0x8001
	checkitemspace VAR_0x8000, VAR_0x8001
	copyvar VAR_0x8007, VAR_RESULT
	getitemname 1, VAR_0x8000
	checkitemtype VAR_0x8000
	call EventScript_1A66BC
	compare_var_to_value VAR_0x8007, 1
	call_if eq, EventScript_1A67EE
	compare_var_to_value VAR_0x8007, 0
	call_if eq, EventScript_1A682D
	release
	return

EventScript_1A67EE:: @ 81A67EE
	removeobject VAR_LAST_TALKED
	additem VAR_0x8004, VAR_0x8005
	specialvar VAR_RESULT, Special_ItemIsTM_GetMoveName
	copyvar VAR_0x8008, VAR_RESULT
	compare_var_to_value VAR_0x8008, 1
	call_if eq, EventScript_1A6821
	compare_var_to_value VAR_0x8008, 0
	call_if eq, EventScript_1A6827
	waitfanfare
	waitmessage
	msgbox gUnknown_81A5218
	return

EventScript_1A6821:: @ 81A6821
	message Text_1A63E8
	return

EventScript_1A6827:: @ 81A6827
	message Text_1A5231
	return

EventScript_1A682D:: @ 81A682D
	msgbox Text_1A51F6
	msgbox gUnknown_81A5242
	setvar VAR_RESULT, 0
	return

EventScript_PickUpHiddenItem:: @ 81A6843
	lockall
	textcolor 3
	waitse
	compare_var_to_value VAR_0x8005, 0
	goto_if eq, EventScript_PickUpHiddenCoins
	call EventScript_GiveItem
	compare_var_to_value VAR_0x8007, 1
	goto_if eq, EventScript_ItemInPocketMessage
	compare_var_to_value VAR_0x8007, 0
	goto_if eq, EventScript_BagIsFullMessage
	end

EventScript_GiveItem::
	additem VAR_0x8005, VAR_0x8006
	copyvar VAR_0x8007, VAR_RESULT
	getitemname 1, VAR_0x8005
	checkitemtype VAR_0x8005
	call EventScript_1A66BC
	return

EventScript_ItemInPocketMessage::
	compare_var_to_value VAR_0x8006, 1
	call_if eq, EventScript_FoundSingleItemMessage
	compare_var_to_value VAR_0x8006, 1
	call_if ne, EventScript_FoundMultipleItemsMessage
	waitfanfare
	waitmessage
	msgbox gUnknown_81A5218
	special Special_SetHiddenItemFlag
	releaseall
	end

EventScript_FoundSingleItemMessage::
	message Text_1A5231
	return

EventScript_FoundCoinsMessage::
	getnumberstring 0, VAR_0x8006
	message Text_1A525C
	return

EventScript_FoundMultipleItemsMessage::
	getnumberstring 0, VAR_0x8006
	message Text_1A52DD
	return

EventScript_BagIsFullMessage::
	msgbox Text_1A5231
	msgbox gUnknown_81A5242
	setvar VAR_RESULT, 0
	releaseall
	end

EventScript_PickUpHiddenCoins::
	checkflag FLAG_GOT_COIN_CASE
	goto_if FALSE, EventScript_HiddenCoinsButNoCoinCase
	checkcoins VAR_RESULT
	specialvar VAR_RESULT, Special_CheckAddCoins
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_HiddenCoinsButTheCoinCaseIsFull
	givecoins VAR_0x8006
	getstdstring 1, 0x17
	call EventScript_1A6764
	call EventScript_FoundCoinsMessage
	waitfanfare
	waitmessage
	msgbox Text_1A526C
	special Special_SetHiddenItemFlag
	releaseall
	end

EventScript_HiddenCoinsButTheCoinCaseIsFull::
	getnumberstring 0, VAR_0x8006
	getstdstring 1, 0x17
	msgbox Text_1A525C
	msgbox Text_1A5294
	setvar VAR_RESULT, 0
	releaseall
	end

EventScript_HiddenCoinsButNoCoinCase::
	getnumberstring 0, VAR_0x8006
	getstdstring 1, 0x17
	msgbox Text_1A525C
	msgbox Text_1A52B4
	setvar VAR_RESULT, 0
	releaseall
	end

gUnknown_81A6955:: @ 81A6955
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A7AE0
	lockall
	checkflag FLAG_SYS_PC_STORAGE_DISABLED
	goto_if TRUE, EventScript_1A698E
	setvar VAR_0x8004, 27
	special Special_SetSomeVariable
	setvar VAR_0x8004, 0
	special Special_AnimatePcTurnOn
	playse SE_PC_ON
	msgbox Text_1A5075
	goto EventScript_1A6998
	end

EventScript_1A698E:: @ 81A698E
	msgbox Text_1A1390
	releaseall
	end

EventScript_1A6998:: @ 81A6998
	message gUnknown_81A508A
	waitmessage
	special ScrSpecial_CreatePCMenu
	waitstate
	goto EventScript_1A69A8
	end

EventScript_1A69A8:: @ 81A69A8
	switch VAR_RESULT
	case 0, EventScript_1A6A05
	case 1, EventScript_1A69F0
	case 2, EventScript_1A6A7A
	case 3, EventScript_1A6A56
	case 4, EventScript_1A6A46
	case SCR_MENU_CANCEL, EventScript_1A6A46
	end

EventScript_1A69F0:: @ 81A69F0
	playse SE_PC_LOGIN
	msgbox Text_1A50DD
	special PlayerPC
	waitstate
	goto EventScript_1A6998
	end

EventScript_1A6A05:: @ 81A6A05
	playse SE_PC_LOGIN
	checkflag FLAG_SYS_NOT_SOMEONES_PC
	call_if FALSE, EventScript_1A6A34
	checkflag FLAG_SYS_NOT_SOMEONES_PC
	call_if TRUE, EventScript_1A6A3D
	msgbox Text_1A50BE
	special ShowPokemonStorageSystem
	waitstate
	setvar VAR_0x8004, 27
	special Special_SetSomeVariable
	goto EventScript_1A6998
	end

EventScript_1A6A34:: @ 81A6A34
	msgbox Text_1A50A7
	return

EventScript_1A6A3D:: @ 81A6A3D
	msgbox Text_1A50EF
	return

EventScript_1A6A46:: @ 81A6A46
	setvar VAR_0x8004, 0
	playse SE_PC_OFF
	special Special_AnimatePcTurnOff
	special sub_812B35C
	releaseall
	end

EventScript_1A6A56:: @ 81A6A56
	checkflag FLAG_SYS_GAME_CLEAR
	goto_if FALSE, EventScript_1A6A46
	playse SE_PC_LOGIN
	setvar VAR_0x8004, 31
	special HelpSystem_BackupSomeVariable
	special Special_SetSomeVariable
	special HallOfFamePCBeginFade
	waitstate
	special HelpSystem_RestoreSomeVariable
	goto EventScript_1A69A8
	end

EventScript_1A6A7A:: @ 81A6A7A
	checkflag FLAG_SYS_POKEDEX_GET
	goto_if FALSE, EventScript_1A6A46
	playse SE_PC_LOGIN
	msgbox Text_1A5BC6
	msgbox Text_1A5C03, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1A6AB2
	setflag FLAG_OAKS_RATING_IS_VIA_PC
	call EventScript_1A73E0
	clearflag FLAG_OAKS_RATING_IS_VIA_PC
	goto EventScript_1A6AB2
	end

EventScript_1A6AB2:: @ 81A6AB2
	msgbox Text_1A5C2E
	goto EventScript_1A6998
	end

EventScript_1A6AC0:: @ 81A6AC0
	fadescreen 1
	special sub_80FEE44
	fadescreen 0
	return

EventScript_1A6AC8:: @ 81A6AC8
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A6AC8_End
	checkpartymove MOVE_SURF
	compare_var_to_value VAR_RESULT, 6
	goto_if eq, EventScript_1A6AC8_End
	getpartymonname 0, VAR_RESULT
	setfieldeffectarg 0, VAR_RESULT
	lockall
	msgbox Text_1A556E, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1A6AC8_Release
	msgbox Text_1A55A5
	dofieldeffect FLDEFF_USE_SURF
EventScript_1A6AC8_Release:@ 81A6B0B
	releaseall
EventScript_1A6AC8_End: @ 81A6B0C
	end

gUnknown_81A6B0D:: @ 81A6B0D
	lockall
	msgbox Text_1A55B3
	releaseall
	end

EventScript_1A6B18:: @ 81A6B18
	switch VAR_0x8008
	case 1, EventScript_1A6B76
	case 2, EventScript_1A6B7A
	case 3, EventScript_1A6B81
	case 4, EventScript_1A6B8B
	case 5, EventScript_1A6BA1
	case 6, EventScript_1A6BB4
	case 7, EventScript_1A6BCA
	case 8, EventScript_1A6BE0
	end

EventScript_1A6B76:: @ 81A6B76
	settrainerflag TRAINER_CAMPER_LIAM
	return

EventScript_1A6B7A:: @ 81A6B7A
	settrainerflag TRAINER_PICNICKER_DIANA
	settrainerflag TRAINER_SWIMMER_MALE_LUIS
	return

EventScript_1A6B81:: @ 81A6B81
	settrainerflag TRAINER_SAILOR_DWAYNE
	settrainerflag TRAINER_ENGINEER_BAILY
	settrainerflag TRAINER_GENTLEMAN_TUCKER
	return

EventScript_1A6B8B:: @ 81A6B8B
	settrainerflag TRAINER_LASS_KAY
	settrainerflag TRAINER_LASS_LISA
	settrainerflag TRAINER_PICNICKER_TINA
	settrainerflag TRAINER_BEAUTY_BRIDGET
	settrainerflag TRAINER_BEAUTY_TAMIA
	settrainerflag TRAINER_BEAUTY_LORI
	settrainerflag TRAINER_COOLTRAINER_MARY
	return

EventScript_1A6BA1:: @ 81A6BA1
	settrainerflag TRAINER_TAMER_PHIL
	settrainerflag TRAINER_TAMER_EDGAR
	settrainerflag TRAINER_JUGGLER_KIRK
	settrainerflag TRAINER_JUGGLER_SHAWN
	settrainerflag TRAINER_JUGGLER_KAYDEN
	settrainerflag TRAINER_JUGGLER_NATE
	return

EventScript_1A6BB4:: @ 81A6BB4
	settrainerflag TRAINER_PSYCHIC_JOHAN
	settrainerflag TRAINER_PSYCHIC_TYRON
	settrainerflag TRAINER_PSYCHIC_CAMERON
	settrainerflag TRAINER_PSYCHIC_PRESTON
	settrainerflag TRAINER_CHANNELER_AMANDA
	settrainerflag TRAINER_CHANNELER_STACY
	settrainerflag TRAINER_CHANNELER_TASHA
	return

EventScript_1A6BCA:: @ 81A6BCA
	settrainerflag TRAINER_SUPER_NERD_ERIK
	settrainerflag TRAINER_SUPER_NERD_AVERY
	settrainerflag TRAINER_SUPER_NERD_DEREK
	settrainerflag TRAINER_SUPER_NERD_ZAC
	settrainerflag TRAINER_BURGLAR_QUINN
	settrainerflag TRAINER_BURGLAR_RAMON
	settrainerflag TRAINER_BURGLAR_DUSTY
	return

EventScript_1A6BE0:: @ 81A6BE0
	settrainerflag TRAINER_TAMER_JASON
	settrainerflag TRAINER_TAMER_COLE
	settrainerflag TRAINER_BLACK_BELT_ATSUSHI
	settrainerflag TRAINER_BLACK_BELT_KIYO
	settrainerflag TRAINER_BLACK_BELT_TAKASHI
	settrainerflag TRAINER_COOLTRAINER_SAMUEL
	settrainerflag TRAINER_COOLTRAINER_YUJI
	settrainerflag TRAINER_COOLTRAINER_WARREN
	return

EventScript_1A6BF9:: @ 81A6BF9
	textcolor 3
	msgbox gUnknown_81A5242
	release
	end

EventScript_1A6C05:: @ 81A6C05
	msgbox gUnknown_81A5242
	return

EventScript_1A6C0E:: @ 81A6C0E
	msgbox Text_1A5301
	release
	end

EventScript_1A6C18:: @ 81A6C18
	msgbox Text_1A5301
	return

EventScript_1A6C21:: @ 81A6C21
	playfanfare MUS_ME_BACHI
	waitfanfare
	return

EventScript_FadeOut_Heal_FadeIn:: @ 81A6C26
	fadescreen 1
	playfanfare MUS_ME_ASA
	waitfanfare
	special sp000_heal_pokemon
	fadescreen 0
	return

gUnknown_81A6C32:: @ 81A6C32
	lockall
	msgbox Text_1C0DF1
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A7AE0
	fadescreen 1
	special Special_TownMap
	waitstate
	releaseall
	end

gUnknown_81A6C51:: @ 81A6C51
	.string "OAK: Good to see you!\n"
	.string "How is your POKéDEX coming along?\p"
	.string "Here, let me take a look.$"

Text_1A6CA3:: @ 81A6CA3
	.string "The amount of progress you've made\n"
	.string "on your POKéDEX is:\p"
	.string "{STR_VAR_1} POKéMON seen and\n"
	.string "{STR_VAR_2} POKéMON owned.\p"
	.string "{SIZE}ÁPROF. OAK's rating:$"
gUnknown_81A6D17:: @ 81A6D17
	.string "You still have lots to do.\p"
	.string "Go into every patch of grass you\n"
	.string "see and look for POKéMON!$"

gUnknown_81A6D6D:: @ 81A6D6D
	.string "It looks as if you're getting on\n"
	.string "the right track!\p"
	.string "I've given one of my AIDES a FLASH\n"
	.string "HM. Make sure you go get it!$"

gUnknown_81A6DDF:: @ 81A6DDF
	.string "Your POKéDEX could use a bit more\n"
	.string "volume still!\p"
	.string "Try to catch other species of\n"
	.string "POKéMON!$"

gUnknown_81A6E36:: @ 81A6E36
	.string "Good, it's apparent that you're\n"
	.string "trying hard!\p"
	.string "I've given one of my AIDES an\n"
	.string "ITEMFINDER. Be sure to collect it!$"

gUnknown_81A6EA4:: @ 81A6EA4
	.string "Your POKéDEX is coming along quite\n"
	.string "well!\p"
	.string "I've given one of my AIDES an\n"
	.string "AMULET COIN. Be sure to get it!$"

gUnknown_81A6F0B:: @ 81A6F0B
	.string "Ah, you've finally topped 50\n"
	.string "species!\p"
	.string "I've given one of my AIDES an EXP.\n"
	.string "SHARE. Be sure to go get it!$"

gUnknown_81A6F71:: @ 81A6F71
	.string "Hoho! This is turning into quite the\n"
	.string "respectable POKéDEX!$"

gUnknown_81A6FAB:: @ 81A6FAB
	.string "Very good!\p"
	.string "I think you'll collect even more\n"
	.string "POKéMON by going fishing!$"

gUnknown_81A6FF1:: @ 81A6FF1
	.string "Wonderful! Let me guess… You\n"
	.string "like to collect things, don't you?$"

gUnknown_81A7031:: @ 81A7031
	.string "I'm impressed!\n"
	.string "It must have been difficult to do!$"

gUnknown_81A7063:: @ 81A7063
	.string "You've finally hit 100 species!\n"
	.string "I can't believe how good you are!$"

gUnknown_81A70A5:: @ 81A70A5
	.string "You even have the evolved forms\n"
	.string "of POKéMON! Super!$"

gUnknown_81A70D8:: @ 81A70D8
	.string "Excellent! Trade with friends to\n"
	.string "get some more!$"

gUnknown_81A7108:: @ 81A7108
	.string "Outstanding!\n"
	.string "You've become a real pro at this!$"

gUnknown_81A7137:: @ 81A7137
	.string "I have nothing left to say!\n"
	.string "You're the POKéMON PROFESSOR now!$"

gUnknown_81A7175:: @ 81A7175
	.string "Your POKéDEX is entirely complete!\n"
	.string "Congratulations!!$"

Text_1A71AA:: @ 81A71AA
	.string "And your NATIONAL POKéDEX is:\p"
	.string "{STR_VAR_1} POKéMON seen and\n"
	.string "{STR_VAR_2} POKéMON owned.$"

Text_1A71EE:: @ 81A71EE
	.string "I'll be looking forward to seeing\n"
	.string "you fill the NATIONAL POKéDEX!$"

Text_1A722F:: @ 81A722F
	.string "Finally…\p"
	.string "You've finally completed the\n"
	.string "POKéDEX!\p"
	.string "It's magnificent!\n"
	.string "Truly, this is a fantastic feat!$"

Text_1A7291:: @ 81A7291
	.string "Wroooooooaaaaaarrrr!$"

Text_1A72A6:: @ 81A72A6
	.string "はあ はあ‥$"

gUnknown_81A72AD:: @ 81A72AD
	.string "Thank you, {PLAYER}!\n"
	.string "Sincerely, thank you!\l"
	.string "You've made my dream a reality!$"

Text_1A72F2:: @ 81A72F2
	.string "OAK: Ah, welcome!\p"
	.string "Tell me, how is your POKéDEX\n"
	.string "coming along?\p"
	.string "Wahaha!\p"
	.string "Actually, I know how it is, but I\n"
	.string "love seeing it anyway!\p"
	.string "Let's see…$"

EventScript_1A737B:: @ 81A737B
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A7AE0
	special sub_8112364
	checkflag FLAG_OAK_SAW_DEX_COMPLETION
	call_if TRUE, EventScript_1A73A4
	checkflag FLAG_OAK_SAW_DEX_COMPLETION
	call_if FALSE, EventScript_1A73AD
	call EventScript_1A73E0
	return

EventScript_1A73A4:: @ 81A73A4
	msgbox Text_1A72F2
	return

EventScript_1A73AD:: @ 81A73AD
	msgbox gUnknown_81A6C51
	return

EventScript_1A73B6:: @ 81A73B6
	copyvar VAR_0x8004, VAR_0x8009
	special Special_GetProfOaksRatingMessage
	waitmessage
	compare_var_to_value VAR_RESULT, 0
	call_if eq, EventScript_1A73D8
	compare_var_to_value VAR_RESULT, 1
	call_if eq, EventScript_1A73DC
	waitfanfare
	waitbuttonpress
	return

EventScript_1A73D8:: @ 81A73D8
	playfanfare MUS_FAN2
	return

EventScript_1A73DC:: @ 81A73DC
	playfanfare MUS_FANFA5
	return

EventScript_1A73E0:: @ 81A73E0
	setvar VAR_0x8004, 31
	special HelpSystem_BackupSomeVariable
	special Special_SetSomeVariable
	setvar VAR_0x8004, 0
	specialvar VAR_RESULT, Special_GetPokedexCount
	copyvar VAR_0x8008, VAR_0x8005
	copyvar VAR_0x8009, VAR_0x8006
	copyvar VAR_0x800A, VAR_RESULT
	getnumberstring 0, VAR_0x8008
	getnumberstring 1, VAR_0x8009
	msgbox Text_1A6CA3
	checkflag FLAG_OAKS_RATING_IS_VIA_PC
	call_if FALSE, EventScript_1A746D
	call EventScript_1A73B6
	compare_var_to_value VAR_0x800A, 0
	goto_if eq, EventScript_1A748F
	setvar VAR_0x8004, 1
	specialvar VAR_RESULT, Special_GetPokedexCount
	copyvar VAR_0x8008, VAR_0x8005
	copyvar VAR_0x8009, VAR_0x8006
	getnumberstring 0, VAR_0x8008
	getnumberstring 1, VAR_0x8009
	msgbox Text_1A71AA
	specialvar VAR_RESULT, HasAllMons
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1A7470
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A747E
	end

EventScript_1A746D:: @ 81A746D
	textcolor 0
	return

EventScript_1A7470:: @ 81A7470
	msgbox Text_1A71EE
	goto EventScript_1A748F
	end

EventScript_1A747E:: @ 81A747E
	setflag FLAG_OAK_SAW_DEX_COMPLETION
	msgbox Text_1A722F
	goto EventScript_1A748F
	end

EventScript_1A748F:: @ 81A748F
	special HelpSystem_RestoreSomeVariable
	return

EventScript_1A7493:: @ 81A7493
	lockall
	setvar VAR_0x4001, 1
	goto EventScript_1A74B7
	end

EventScript_1A749F:: @ 81A749F
	lockall
	setvar VAR_0x4002, 1
	goto EventScript_1A74B7
	end

EventScript_1A74AB:: @ 81A74AB
	lockall
	setvar VAR_0x4003, 1
	goto EventScript_1A74B7
	end

EventScript_1A74B7:: @ 81A74B7
	setvar VAR_0x8004, 1
	setvar VAR_0x8005, 1
	setvar VAR_0x8006, 8
	setvar VAR_0x8007, 5
	special Special_ShakeScreen
	waitstate
	releaseall
	end

EventScript_1A74D1:: @ 81A74D1
	setvar VAR_0x4001, 1
	setvar VAR_0x4002, 1
	setvar VAR_0x4003, 1
	setvar VAR_0x4004, 1
	setvar VAR_0x4005, 1
	return

EventScript_1A74EB:: @ 81A74EB
	fadescreen 1
	special ChangePokemonNickname
	waitstate
	return

EventScript_1A74F2:: @ 81A74F2
	getitemname 0, VAR_0x8004
	playfanfare MUS_ME_WAZA
	message Text_1A5690
	waitmessage
	waitfanfare
	removeitem VAR_0x8004, 1
	return

EventScript_1A7506:: @ 81A7506
	applymovement 255, Movement_1A75FE
	waitmovement 0
	playse SE_DOOR
	call EventScript_1A7538
	special DrawWholeMapView
	setflag FLAG_TEMP_4
	return

EventScript_1A751F:: @ 81A751F
	applymovement 255, Movement_1A75F3
	waitmovement 0
	setflag FLAG_TEMP_2
	playse SE_KI_GASYAN
	call EventScript_1A759C
	special DrawWholeMapView
	return

EventScript_1A7538:: @ 81A7538
	setmetatile 6, 1, 654, 1
	setmetatile 6, 2, 662, 0
	return

EventScript_1A754B:: @ 81A754B
	lockall
	textcolor 0
	msgbox Text_1A5C4D
	closemessage
	applymovement 255, Movement_1A75D3
	waitmovement 0
	releaseall
	end

EventScript_1A7563:: @ 81A7563
	applymovement 255, Movement_1A75FE
	waitmovement 0
	playse SE_DOOR
	setmetatile 6, 4, 654, 1
	setmetatile 6, 5, 662, 0
	special DrawWholeMapView
	setflag FLAG_TEMP_4
	return

EventScript_1A7589:: @ 81A7589
	setmetatile 6, 4, 654, 1
	setmetatile 6, 5, 662, 0
	return

EventScript_1A759C:: @ 81A759C
	setmetatile 5, 11, 669, 1
	setmetatile 6, 11, 670, 1
	setmetatile 7, 11, 671, 1
	setmetatile 5, 12, 677, 1
	setmetatile 6, 12, 678, 1
	setmetatile 7, 12, 679, 1
	return

Movement_1A75D3:: @ 81A75D3
	step_11
	step_end

EventScript_1A75D5:: @ 81A75D5
	special Special_PokemonLeagueLightingEffect
	return

Movement_1A75D9:: @ 81A75D9
	step_63
	step_end

Movement_1A75DB:: @ 81A75DB
	step_62
	step_end

Movement_1A75DD:: @ 81A75DD
	step_1c
	step_1c
	step_1c
	step_end

Movement_1A75E1:: @ 81A75E1
	step_4a
	step_end

Movement_1A75E3:: @ 81A75E3
	step_4b
	step_end

Movement_1A75E5:: @ 81A75E5
	step_5a
	step_end

Movement_1A75E7:: @ 81A75E7
	step_2f
	step_end

Movement_1A75E9:: @ 81A75E9
	step_2e
	step_end

Movement_1A75EB:: @ 81A75EB
	step_30
	step_end

Movement_1A75ED:: @ 81A75ED
	step_2d
	step_end

Movement_1A75EF:: @ 81A75EF
	step_03
	step_end

Movement_1A75F1:: @ 81A75F1
	step_00
	step_end

Movement_1A75F3:: @ 81A75F3
	step_11
	step_11
	step_11
	step_11
	step_11
	step_end

Movement_1A75F9:: @ 81A75F9
	step_11
	step_11
	step_11
	step_11
	step_end

Movement_1A75FE:: @ 81A75FE
	step_1c
	step_1c
	step_end

Movement_1A7601:: @ 81A7601
	step_11
	step_end

Movement_1A7603:: @ 81A7603
	step_11
	step_11
	step_end

gUnknown_81A7606:: @ 81A7606
	msgbox gUnknown_81C0DB0, 3
	end

gUnknown_81A760F:: @ 81A760F
	msgbox gUnknown_81C0DFD, 3
	end

gUnknown_81A7618:: @ 81A7618
	msgbox gUnknown_81C0F99, 3
	end

gUnknown_81A7621:: @ 81A7621
	msgbox gUnknown_81C12A7, 3
	end

gUnknown_81A762A:: @ 81A762A
	msgbox gUnknown_81C10C1, 3
	end

gUnknown_81A7633:: @ 81A7633
	msgbox gUnknown_81C1273, 3
	end

gUnknown_81A763C:: @ 81A763C
	msgbox gUnknown_81C0FD8, 3
	end

gUnknown_81A7645:: @ 81A7645
	msgbox gUnknown_81C12D6, 3
	end

gUnknown_81A764E:: @ 81A764E
	msgbox gUnknown_81C1300, 3
	end

gUnknown_81A7657:: @ 81A7657
	msgbox gUnknown_81C0E19, 3
	end

gUnknown_81A7660:: @ 81A7660
	msgbox gUnknown_81C0E40, 3
	end

gUnknown_81A7669:: @ 81A7669
	msgbox gUnknown_81C0E73, 3
	end

gUnknown_81A7672:: @ 81A7672
	msgbox gUnknown_81C0EAC, 3
	end

gUnknown_81A767B:: @ 81A767B
	msgbox gUnknown_81C101B, 3
	end

gUnknown_81A7684:: @ 81A7684
	msgbox gUnknown_81C1060, 3
	end

gUnknown_81A768D:: @ 81A768D
	msgbox gUnknown_81C109C, 3
	end

gUnknown_81A7696:: @ 81A7696
	msgbox gUnknown_81C10FC, 3
	end

gUnknown_81A769F:: @ 81A769F
	msgbox gUnknown_81C1134, 3
	end

gUnknown_81A76A8:: @ 81A76A8
	msgbox gUnknown_81C116E, 3
	end

gUnknown_81A76B1:: @ 81A76B1
	msgbox gUnknown_81C1194, 3
	end

gUnknown_81A76BA:: @ 81A76BA
	msgbox gUnknown_81C11BA, 3
	end

gUnknown_81A76C3:: @ 81A76C3
	msgbox gUnknown_81C11DC, 3
	end

gUnknown_81A76CC:: @ 81A76CC
	msgbox gUnknown_81C1217, 3
	end

gUnknown_81A76D5:: @ 81A76D5
	msgbox gUnknown_81C124B, 3
	end

gUnknown_81A76DE:: @ 81A76DE
	msgbox gUnknown_81C0ECB, 3
	end

gUnknown_81A76E7:: @ 81A76E7
	msgbox gUnknown_81C0EF7, 3
	end

gUnknown_81A76F0:: @ 81A76F0
	msgbox gUnknown_81C0F19, 3
	end

gUnknown_81A76F9:: @ 81A76F9
	msgbox gUnknown_81C0F59, 3
	end

gUnknown_81A7702:: @ 81A7702
	lockall
	textcolor 3
	msgbox Text_1A622C, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1A778A
	setvar VAR_0x8004, 14
	call EventScript_1A6AC0
	lock
	faceplayer
	specialvar VAR_0x8008, Special_GetMartClerkObjectId
	textcolor 0
	compare_var_to_value VAR_0x8004, 0
	goto_if eq, EventScript_1A774D
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1A778A
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A778C
	end

EventScript_1A774D:: @ 81A774D
	applymovement VAR_0x8008, Movement_1A75F1
	waitmovement 0
	playse SE_PIN
	applymovement VAR_0x8008, Movement_1A75DB
	waitmovement 0
	applymovement VAR_0x8008, Movement_1A75DD
	waitmovement 0
	msgbox Text_1A62D3
	setflag FLAG_SYS_MYSTERY_GIFT_ENABLED
	textcolor 3
	special sub_80699BC
	signmsg
	msgbox Text_1A6359
	normalmsg
	releaseall
	end

EventScript_1A778A:: @ 81A778A
	releaseall
	end

EventScript_1A778C:: @ 81A778C
	applymovement VAR_0x8008, Movement_1A75F1
	waitmovement 0
	msgbox Text_1A6265
	releaseall
	end

gUnknown_81A77A0:: @ 81A77A0
	msgbox Text_1A5375, 3
	end

EventScript_1A77A9:: @ 81A77A9
	return

EventScript_1A77AA:: @ 81A77AA
	setvar VAR_RESULT, 1
	return

EventScript_1A77B0:: @ 81A77B0
	setvar VAR_RESULT, 0
	return

Route16_NorthEntrance_1F_EventScript_1A77B6:: @ 81A77B6
Route18_EastEntrance_1F_EventScript_1A77B6:: @ 81A77B6
	lockall
	clearflag FLAG_SYS_ON_CYCLING_ROAD
	setvar VAR_MAP_SCENE_ROUTE16, 0
	releaseall
	end

Route16_NorthEntrance_1F_EventScript_1A77C1:: @ 81A77C1
Route18_EastEntrance_1F_EventScript_1A77C1:: @ 81A77C1
	lockall
	setvar VAR_MAP_SCENE_ROUTE16, 1
	releaseall
	end

EventScript_1A77C9:: @ 81A77C9
	msgbox Text_1A572A
	playse SE_BOO
	msgbox Text_1A5776
	release
	end

EventScript_1A77DE:: @ 81A77DE
	message Text_1A57C1
	waitmessage
	playse SE_BOO
	waitbuttonpress
	closemessage
	waitse
	release
	end

EventScript_1A77EC:: @ 81A77EC
	message Text_1A579D
	waitmessage
	playfanfare MUS_FANFA1
	waitfanfare
	waitbuttonpress
	release
	end

EventScript_1A77F9:: @ 81A77F9
	msgbox Text_1A5839
	release
	end

EventScript_1A7803:: @ 81A7803
	compare_var_to_var VAR_MAP_SCENE_ROUTE23, VAR_0x4001
	goto_if ge, EventScript_1A77EC
	switch VAR_0x4001
	case 1, EventScript_1A78D5
	case 2, EventScript_1A78E4
	case 3, EventScript_1A78F3
	case 4, EventScript_1A7902
	case 5, EventScript_1A7911
	case 6, EventScript_1A7920
	case 7, EventScript_1A792F
	case 8, EventScript_1A793E
	end

EventScript_1A786C:: @ 81A786C
	compare_var_to_var VAR_MAP_SCENE_ROUTE23, VAR_0x4001
	goto_if ge, EventScript_1A77F9
	switch VAR_0x4001
	case 1, EventScript_1A78D5
	case 2, EventScript_1A78E4
	case 3, EventScript_1A78F3
	case 4, EventScript_1A7902
	case 5, EventScript_1A7911
	case 6, EventScript_1A7920
	case 7, EventScript_1A792F
	case 8, EventScript_1A793E
	end

EventScript_1A78D5:: @ 81A78D5
	checkflag FLAG_BADGE01_GET
	goto_if TRUE, EventScript_1A794D
	goto EventScript_1A77C9
	end

EventScript_1A78E4:: @ 81A78E4
	checkflag FLAG_BADGE02_GET
	goto_if TRUE, EventScript_1A795F
	goto EventScript_1A77DE
	end

EventScript_1A78F3:: @ 81A78F3
	checkflag FLAG_BADGE03_GET
	goto_if TRUE, EventScript_1A795F
	goto EventScript_1A77DE
	end

EventScript_1A7902:: @ 81A7902
	checkflag FLAG_BADGE04_GET
	goto_if TRUE, EventScript_1A795F
	goto EventScript_1A77DE
	end

EventScript_1A7911:: @ 81A7911
	checkflag FLAG_BADGE05_GET
	goto_if TRUE, EventScript_1A795F
	goto EventScript_1A77DE
	end

EventScript_1A7920:: @ 81A7920
	checkflag FLAG_BADGE06_GET
	goto_if TRUE, EventScript_1A795F
	goto EventScript_1A77DE
	end

EventScript_1A792F:: @ 81A792F
	checkflag FLAG_BADGE07_GET
	goto_if TRUE, EventScript_1A795F
	goto EventScript_1A77DE
	end

EventScript_1A793E:: @ 81A793E
	checkflag FLAG_BADGE08_GET
	goto_if TRUE, EventScript_1A795F
	goto EventScript_1A77DE
	end

EventScript_1A794D:: @ 81A794D
	message Text_1A579D
	waitmessage
	playfanfare MUS_FANFA1
	waitfanfare
	waitbuttonpress
	copyvar VAR_MAP_SCENE_ROUTE23, VAR_0x4001
	release
	end

EventScript_1A795F:: @ 81A795F
	msgbox Text_1A5839
	copyvar VAR_MAP_SCENE_ROUTE23, VAR_0x4001
	release
	end

EventScript_1A796E:: @ 81A796E
	textcolor 0
	applymovement VAR_0x8009, Movement_1A75E7
	waitmovement 0
	switch VAR_0x4001
	case 1, EventScript_1A79D8
	case 2, EventScript_1A79E7
	case 3, EventScript_1A79F6
	case 4, EventScript_1A7A05
	case 5, EventScript_1A7A14
	case 6, EventScript_1A7A23
	case 7, EventScript_1A7A32
	case 8, EventScript_1A7A41
	end

EventScript_1A79D8:: @ 81A79D8
	checkflag FLAG_BADGE01_GET
	goto_if TRUE, EventScript_1A7A96
	goto EventScript_1A7A50
	end

EventScript_1A79E7:: @ 81A79E7
	checkflag FLAG_BADGE02_GET
	goto_if TRUE, EventScript_1A7AA8
	goto EventScript_1A7A77
	end

EventScript_1A79F6:: @ 81A79F6
	checkflag FLAG_BADGE03_GET
	goto_if TRUE, EventScript_1A7AA8
	goto EventScript_1A7A77
	end

EventScript_1A7A05:: @ 81A7A05
	checkflag FLAG_BADGE04_GET
	goto_if TRUE, EventScript_1A7AA8
	goto EventScript_1A7A77
	end

EventScript_1A7A14:: @ 81A7A14
	checkflag FLAG_BADGE05_GET
	goto_if TRUE, EventScript_1A7AA8
	goto EventScript_1A7A77
	end

EventScript_1A7A23:: @ 81A7A23
	checkflag FLAG_BADGE06_GET
	goto_if TRUE, EventScript_1A7AA8
	goto EventScript_1A7A77
	end

EventScript_1A7A32:: @ 81A7A32
	checkflag FLAG_BADGE07_GET
	goto_if TRUE, EventScript_1A7AA8
	goto EventScript_1A7A77
	end

EventScript_1A7A41:: @ 81A7A41
	checkflag FLAG_BADGE08_GET
	goto_if TRUE, EventScript_1A7AA8
	goto EventScript_1A7A77
	end

EventScript_1A7A50:: @ 81A7A50
	msgbox Text_1A572A
	playse SE_BOO
	msgbox Text_1A5776
	closemessage
	applymovement 255, Movement_1A7AB7
	applymovement VAR_0x8009, Movement_1A75ED
	waitmovement 0
	releaseall
	end

EventScript_1A7A77:: @ 81A7A77
	message Text_1A57C1
	waitmessage
	playse SE_BOO
	waitbuttonpress
	closemessage
	waitse
	applymovement 255, Movement_1A7AB7
	applymovement VAR_0x8009, Movement_1A75ED
	waitmovement 0
	releaseall
	end

EventScript_1A7A96:: @ 81A7A96
	message Text_1A579D
	waitmessage
	playfanfare MUS_FANFA1
	waitfanfare
	waitbuttonpress
	copyvar VAR_MAP_SCENE_ROUTE23, VAR_0x4001
	releaseall
	end

EventScript_1A7AA8:: @ 81A7AA8
	msgbox Text_1A5839
	copyvar VAR_MAP_SCENE_ROUTE23, VAR_0x4001
	releaseall
	end

Movement_1A7AB7:: @ 81A7AB7
	step_10
	step_end

EventScript_1A7AB9:: @ 81A7AB9
	special Special_GetElevatorFloor
	return

EventScript_1A7ABD:: @ 81A7ABD
	msgbox Text_1A58A7
	release
	end

EventScript_1A7AC7:: @ 81A7AC7
	msgbox Text_1A594D
	release
	end

EventScript_1A7AD1:: @ 81A7AD1
	msgbox Text_1A5909
	release
	end

gUnknown_81A7ADB:: @ 81A7ADB
	special sub_80CADC4
	release
	end

EventScript_1A7AE0:: @ 81A7AE0
	release
	end

EventScript_1A7AE2:: @ 81A7AE2
	msgbox Text_177460, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1A7B70
	msgbox Text_17747B
	checkflag FLAG_POKEMON_MANSION_SWITCH_STATE
	goto_if TRUE, EventScript_1A7B3B
	setflag FLAG_POKEMON_MANSION_SWITCH_STATE
	switch VAR_0x8004
	case 0, EventScript_1A7B7A
	case 1, EventScript_1A7D3E
	case 2, EventScript_1A7E72
	case 3, EventScript_1A7F4C
	end

EventScript_1A7B3B:: @ 81A7B3B
	clearflag FLAG_POKEMON_MANSION_SWITCH_STATE
	switch VAR_0x8004
	case 0, EventScript_1A7C5C
	case 1, EventScript_1A7DD8
	case 2, EventScript_1A7EDF
	case 3, EventScript_1A8025
	end

EventScript_1A7B70:: @ 81A7B70
	msgbox Text_177489
	releaseall
	end

EventScript_1A7B7A:: @ 81A7B7A
	setmetatile 22, 10, 645, 0
	setmetatile 23, 10, 644, 0
	setmetatile 24, 10, 644, 0
	setmetatile 22, 11, 645, 0
	setmetatile 23, 11, 644, 0
	setmetatile 24, 11, 644, 0
	setmetatile 27, 25, 645, 0
	setmetatile 28, 25, 644, 0
	setmetatile 29, 25, 644, 0
	setmetatile 27, 26, 645, 0
	setmetatile 28, 26, 644, 0
	setmetatile 29, 26, 644, 0
	setmetatile 32, 25, 645, 0
	setmetatile 33, 25, 644, 0
	setmetatile 34, 25, 644, 0
	setmetatile 32, 26, 645, 0
	setmetatile 33, 26, 644, 0
	setmetatile 34, 26, 644, 0
	setmetatile 31, 18, 760, 1
	setmetatile 32, 18, 761, 1
	setmetatile 33, 18, 762, 1
	setmetatile 31, 19, 768, 1
	setmetatile 32, 19, 769, 1
	setmetatile 33, 19, 770, 1
	setmetatile 5, 4, 845, 0
	return

EventScript_1A7C5C:: @ 81A7C5C
	setmetatile 22, 10, 760, 1
	setmetatile 23, 10, 761, 1
	setmetatile 24, 10, 762, 1
	setmetatile 22, 11, 768, 1
	setmetatile 23, 11, 769, 1
	setmetatile 24, 11, 770, 1
	setmetatile 27, 25, 760, 1
	setmetatile 28, 25, 761, 1
	setmetatile 29, 25, 762, 1
	setmetatile 27, 26, 768, 1
	setmetatile 28, 26, 769, 1
	setmetatile 29, 26, 770, 1
	setmetatile 32, 25, 760, 1
	setmetatile 33, 25, 761, 1
	setmetatile 34, 25, 762, 1
	setmetatile 32, 26, 768, 1
	setmetatile 33, 26, 769, 1
	setmetatile 34, 26, 770, 1
	setmetatile 31, 18, 645, 0
	setmetatile 32, 18, 644, 0
	setmetatile 33, 18, 644, 0
	setmetatile 31, 19, 645, 0
	setmetatile 32, 19, 644, 0
	setmetatile 33, 19, 644, 0
	setmetatile 5, 4, 788, 0
	return

EventScript_1A7D3E:: @ 81A7D3E
	setmetatile 24, 14, 645, 0
	setmetatile 25, 14, 644, 0
	setmetatile 26, 14, 644, 0
	setmetatile 24, 15, 645, 0
	setmetatile 25, 15, 644, 0
	setmetatile 26, 15, 644, 0
	setmetatile 10, 28, 677, 1
	setmetatile 10, 29, 685, 1
	setmetatile 10, 30, 645, 0
	setmetatile 10, 31, 644, 0
	setmetatile 10, 32, 693, 0
	setmetatile 12, 4, 848, 1
	setmetatile 12, 5, 856, 1
	setmetatile 12, 6, 864, 1
	setmetatile 12, 7, 872, 1
	setmetatile 12, 8, 880, 1
	setmetatile 2, 15, 845, 0
	return

EventScript_1A7DD8:: @ 81A7DD8
	setmetatile 24, 14, 760, 1
	setmetatile 25, 14, 761, 1
	setmetatile 26, 14, 762, 1
	setmetatile 24, 15, 768, 1
	setmetatile 25, 15, 769, 1
	setmetatile 26, 15, 770, 1
	setmetatile 10, 28, 848, 1
	setmetatile 10, 29, 856, 1
	setmetatile 10, 30, 864, 1
	setmetatile 10, 31, 872, 1
	setmetatile 10, 32, 880, 1
	setmetatile 12, 4, 677, 1
	setmetatile 12, 5, 685, 1
	setmetatile 12, 6, 645, 0
	setmetatile 12, 7, 644, 0
	setmetatile 12, 8, 693, 0
	setmetatile 2, 15, 788, 0
	return

EventScript_1A7E72:: @ 81A7E72
	setmetatile 17, 11, 645, 0
	setmetatile 18, 11, 644, 0
	setmetatile 19, 11, 644, 0
	setmetatile 17, 12, 645, 0
	setmetatile 18, 12, 644, 0
	setmetatile 19, 12, 644, 0
	setmetatile 21, 4, 848, 1
	setmetatile 21, 5, 856, 1
	setmetatile 21, 6, 864, 1
	setmetatile 21, 7, 872, 1
	setmetatile 21, 8, 880, 1
	setmetatile 12, 4, 845, 0
	return

EventScript_1A7EDF:: @ 81A7EDF
	setmetatile 17, 11, 760, 1
	setmetatile 18, 11, 761, 1
	setmetatile 19, 11, 762, 1
	setmetatile 17, 12, 768, 1
	setmetatile 18, 12, 769, 1
	setmetatile 19, 12, 770, 1
	setmetatile 21, 4, 677, 1
	setmetatile 21, 5, 685, 1
	setmetatile 21, 6, 645, 0
	setmetatile 21, 7, 644, 0
	setmetatile 21, 8, 693, 0
	setmetatile 12, 4, 788, 0
	return

EventScript_1A7F4C:: @ 81A7F4C
	setmetatile 33, 20, 760, 1
	setmetatile 34, 20, 761, 1
	setmetatile 35, 20, 762, 1
	setmetatile 33, 21, 852, 1
	setmetatile 34, 21, 853, 1
	setmetatile 35, 21, 854, 1
	setmetatile 16, 26, 848, 1
	setmetatile 16, 27, 856, 1
	setmetatile 16, 28, 866, 1
	setmetatile 16, 29, 874, 1
	setmetatile 16, 30, 882, 1
	setmetatile 12, 8, 677, 1
	setmetatile 12, 9, 685, 1
	setmetatile 12, 10, 647, 0
	setmetatile 12, 11, 646, 0
	setmetatile 12, 12, 688, 0
	setmetatile 20, 22, 647, 0
	setmetatile 21, 22, 646, 0
	setmetatile 22, 22, 646, 0
	setmetatile 20, 23, 647, 0
	setmetatile 21, 23, 646, 0
	setmetatile 22, 23, 646, 0
	setmetatile 24, 28, 847, 0
	setmetatile 27, 4, 847, 0
	return

EventScript_1A8025:: @ 81A8025
	setmetatile 33, 20, 647, 0
	setmetatile 34, 20, 646, 0
	setmetatile 35, 20, 646, 0
	setmetatile 33, 21, 647, 0
	setmetatile 34, 21, 646, 0
	setmetatile 35, 21, 646, 0
	setmetatile 16, 26, 677, 1
	setmetatile 16, 27, 685, 1
	setmetatile 16, 28, 647, 0
	setmetatile 16, 29, 646, 0
	setmetatile 16, 30, 688, 0
	setmetatile 12, 8, 848, 1
	setmetatile 12, 9, 856, 1
	setmetatile 12, 10, 866, 1
	setmetatile 12, 11, 874, 1
	setmetatile 12, 12, 882, 1
	setmetatile 20, 22, 760, 1
	setmetatile 21, 22, 761, 1
	setmetatile 22, 22, 762, 1
	setmetatile 20, 23, 852, 1
	setmetatile 21, 23, 853, 1
	setmetatile 22, 23, 854, 1
	setmetatile 24, 28, 790, 0
	setmetatile 27, 4, 790, 0
	return

EventScript_1A80FE:: @ 81A80FE
	lockall
	applymovement VAR_0x8004, Movement_1A75E7
	waitmovement 0
	delay 20
	applymovement VAR_0x8004, Movement_1A75E9
	waitmovement 0
	delay 20
	applymovement VAR_0x8004, Movement_1A75EB
	waitmovement 0
	delay 20
	applymovement VAR_0x8004, Movement_1A75ED
	waitmovement 0
	delay 20
	releaseall
	end

EventScript_1A8135:: @ 81A8135
	msgbox Text_1A5BAD
	releaseall
	end

EventScript_1A813F:: @ 81A813F
	msgbox Text_1A5CDF
	releaseall
	end

EventScript_1A8149:: @ 81A8149
	setmetatile 5, 8, 944, 1
	setmetatile 6, 8, 945, 1
	setmetatile 5, 9, 952, 1
	setmetatile 6, 9, 953, 1
	setmetatile 6, 10, 821, 0
	return

EventScript_1A8177:: @ 81A8177
	setmetatile 5, 15, 944, 1
	setmetatile 6, 15, 945, 1
	setmetatile 5, 16, 952, 1
	setmetatile 6, 16, 953, 1
	setmetatile 6, 17, 821, 0
	return

EventScript_1A81A5:: @ 81A81A5
	setmetatile 9, 11, 960, 1
	setmetatile 10, 11, 961, 1
	setmetatile 9, 12, 962, 1
	setmetatile 10, 12, 963, 1
	setmetatile 9, 13, 964, 1
	setmetatile 10, 13, 965, 1
	return

EventScript_1A81DC:: @ 81A81DC
	setmetatile 20, 11, 960, 1
	setmetatile 21, 11, 961, 1
	setmetatile 20, 12, 962, 1
	setmetatile 21, 12, 963, 1
	setmetatile 20, 13, 964, 1
	setmetatile 21, 13, 965, 1
	return

EventScript_1A8213:: @ 81A8213
	setmetatile 3, 16, 944, 1
	setmetatile 4, 16, 945, 1
	setmetatile 3, 17, 952, 1
	setmetatile 4, 17, 953, 1
	setmetatile 4, 18, 821, 0
	return

EventScript_1A8241:: @ 81A8241
	setmetatile 14, 11, 944, 1
	setmetatile 15, 11, 945, 1
	setmetatile 14, 12, 952, 1
	setmetatile 15, 12, 953, 1
	setmetatile 15, 13, 821, 0
	return

EventScript_1A826F:: @ 81A826F
	setmetatile 7, 8, 960, 1
	setmetatile 8, 8, 961, 1
	setmetatile 7, 9, 962, 1
	setmetatile 8, 9, 963, 1
	setmetatile 7, 10, 964, 1
	setmetatile 8, 10, 965, 1
	return

EventScript_1A82A6:: @ 81A82A6
	setmetatile 7, 17, 960, 1
	setmetatile 8, 17, 961, 1
	setmetatile 7, 18, 962, 1
	setmetatile 8, 18, 963, 1
	setmetatile 7, 19, 964, 1
	setmetatile 8, 19, 965, 1
	return

EventScript_1A82DD:: @ 81A82DD
	setmetatile 18, 12, 960, 1
	setmetatile 19, 12, 961, 1
	setmetatile 18, 13, 962, 1
	setmetatile 19, 13, 963, 1
	setmetatile 18, 14, 964, 1
	setmetatile 19, 14, 965, 1
	return

EventScript_1A8314:: @ 81A8314
	setmetatile 5, 14, 960, 1
	setmetatile 6, 14, 961, 1
	setmetatile 5, 15, 962, 1
	setmetatile 6, 15, 963, 1
	setmetatile 5, 16, 964, 1
	setmetatile 6, 16, 965, 1
	return

EventScript_1A834B:: @ 81A834B
	setmetatile 11, 8, 944, 1
	setmetatile 12, 8, 945, 1
	setmetatile 11, 9, 952, 1
	setmetatile 12, 9, 953, 1
	setmetatile 12, 10, 821, 0
	return

EventScript_1A8379:: @ 81A8379
	setmetatile 24, 7, 944, 1
	setmetatile 25, 7, 945, 1
	setmetatile 24, 8, 952, 1
	setmetatile 25, 8, 953, 1
	setmetatile 25, 9, 821, 0
	return

EventScript_1A83A7:: @ 81A83A7
	setmetatile 25, 13, 944, 1
	setmetatile 26, 13, 945, 1
	setmetatile 25, 14, 952, 1
	setmetatile 26, 14, 953, 1
	setmetatile 26, 15, 821, 0
	return

EventScript_1A83D5:: @ 81A83D5
	setmetatile 5, 9, 960, 1
	setmetatile 6, 9, 961, 1
	setmetatile 5, 10, 962, 1
	setmetatile 6, 10, 963, 1
	setmetatile 5, 11, 964, 1
	setmetatile 6, 11, 965, 1
	return

EventScript_1A840C:: @ 81A840C
	setmetatile 2, 9, 960, 1
	setmetatile 3, 9, 961, 1
	setmetatile 2, 10, 962, 1
	setmetatile 3, 10, 963, 1
	setmetatile 2, 11, 964, 1
	setmetatile 3, 11, 965, 1
	return

EventScript_1A8443:: @ 81A8443
	setmetatile 12, 15, 960, 1
	setmetatile 13, 15, 961, 1
	setmetatile 12, 16, 962, 1
	setmetatile 13, 16, 963, 1
	setmetatile 12, 17, 964, 1
	setmetatile 13, 17, 965, 1
	return

EventScript_1A847A:: @ 81A847A
	setmetatile 21, 6, 944, 1
	setmetatile 22, 6, 945, 1
	setmetatile 21, 7, 952, 1
	setmetatile 22, 7, 953, 1
	setmetatile 22, 8, 821, 0
	return

EventScript_1A84A8:: @ 81A84A8
	setmetatile 21, 12, 944, 1
	setmetatile 22, 12, 945, 1
	setmetatile 21, 13, 952, 1
	setmetatile 22, 13, 953, 1
	setmetatile 22, 14, 821, 0
	return

EventScript_1A84D6:: @ 81A84D6
	setmetatile 12, 11, 944, 1
	setmetatile 13, 11, 945, 1
	setmetatile 12, 12, 952, 1
	setmetatile 13, 12, 953, 1
	setmetatile 13, 13, 821, 0
	return

EventScript_1A8504:: @ 81A8504
	setmetatile 5, 16, 944, 1
	setmetatile 6, 16, 945, 1
	setmetatile 5, 17, 952, 1
	setmetatile 6, 17, 953, 1
	setmetatile 6, 18, 821, 0
	return

EventScript_1A8532:: @ 81A8532
	setmetatile 5, 8, 821, 0
	setmetatile 6, 8, 820, 0
	setmetatile 5, 9, 821, 0
	setmetatile 6, 9, 820, 0
	setmetatile 6, 10, 820, 0
	return

EventScript_1A8560:: @ 81A8560
	setmetatile 5, 15, 821, 0
	setmetatile 6, 15, 820, 0
	setmetatile 5, 16, 821, 0
	setmetatile 6, 16, 820, 0
	setmetatile 6, 17, 820, 0
	return

EventScript_1A858E:: @ 81A858E
	setmetatile 9, 11, 839, 1
	setmetatile 10, 11, 838, 1
	setmetatile 9, 12, 821, 0
	setmetatile 10, 12, 821, 0
	setmetatile 9, 13, 825, 0
	setmetatile 10, 13, 826, 0
	return

EventScript_1A85C5:: @ 81A85C5
	setmetatile 20, 11, 839, 1
	setmetatile 21, 11, 838, 1
	setmetatile 20, 12, 821, 0
	setmetatile 21, 12, 821, 0
	setmetatile 20, 13, 825, 0
	setmetatile 21, 13, 826, 0
	return

EventScript_1A85FC:: @ 81A85FC
	setmetatile 3, 16, 821, 0
	setmetatile 4, 16, 820, 0
	setmetatile 3, 17, 821, 0
	setmetatile 4, 17, 820, 0
	setmetatile 4, 18, 820, 0
	return

EventScript_1A862A:: @ 81A862A
	setmetatile 14, 11, 821, 0
	setmetatile 15, 11, 820, 0
	setmetatile 14, 12, 821, 0
	setmetatile 15, 12, 820, 0
	setmetatile 15, 13, 820, 0
	return

EventScript_1A8658:: @ 81A8658
	setmetatile 7, 8, 839, 1
	setmetatile 8, 8, 838, 1
	setmetatile 7, 9, 821, 0
	setmetatile 8, 9, 821, 0
	setmetatile 7, 10, 825, 0
	setmetatile 8, 10, 826, 0
	return

EventScript_1A868F:: @ 81A868F
	setmetatile 7, 17, 839, 1
	setmetatile 8, 17, 838, 1
	setmetatile 7, 18, 821, 0
	setmetatile 8, 18, 821, 0
	setmetatile 7, 19, 825, 0
	setmetatile 8, 19, 826, 0
	return

EventScript_1A86C6:: @ 81A86C6
	setmetatile 18, 12, 839, 1
	setmetatile 19, 12, 838, 1
	setmetatile 18, 13, 821, 0
	setmetatile 19, 13, 821, 0
	setmetatile 18, 14, 825, 0
	setmetatile 19, 14, 826, 0
	return

EventScript_1A86FD:: @ 81A86FD
	setmetatile 5, 14, 839, 1
	setmetatile 6, 14, 838, 1
	setmetatile 5, 15, 821, 0
	setmetatile 6, 15, 821, 0
	setmetatile 5, 16, 825, 0
	setmetatile 6, 16, 826, 0
	return

EventScript_1A8734:: @ 81A8734
	setmetatile 11, 8, 821, 0
	setmetatile 12, 8, 820, 0
	setmetatile 11, 9, 821, 0
	setmetatile 12, 9, 820, 0
	setmetatile 12, 10, 820, 0
	return

EventScript_1A8762:: @ 81A8762
	setmetatile 24, 7, 821, 0
	setmetatile 25, 7, 820, 0
	setmetatile 24, 8, 821, 0
	setmetatile 25, 8, 820, 0
	setmetatile 25, 9, 820, 0
	return

EventScript_1A8790:: @ 81A8790
	setmetatile 25, 13, 821, 0
	setmetatile 26, 13, 820, 0
	setmetatile 25, 14, 821, 0
	setmetatile 26, 14, 820, 0
	setmetatile 26, 15, 820, 0
	return

EventScript_1A87BE:: @ 81A87BE
	setmetatile 5, 9, 839, 1
	setmetatile 6, 9, 838, 1
	setmetatile 5, 10, 821, 0
	setmetatile 6, 10, 821, 0
	setmetatile 5, 11, 825, 0
	setmetatile 6, 11, 826, 0
	return

EventScript_1A87F5:: @ 81A87F5
	setmetatile 2, 9, 839, 1
	setmetatile 3, 9, 838, 1
	setmetatile 2, 10, 821, 0
	setmetatile 3, 10, 821, 0
	setmetatile 2, 11, 825, 0
	setmetatile 3, 11, 826, 0
	return

EventScript_1A882C:: @ 81A882C
	setmetatile 12, 15, 839, 1
	setmetatile 13, 15, 838, 1
	setmetatile 12, 16, 821, 0
	setmetatile 13, 16, 821, 0
	setmetatile 12, 17, 825, 0
	setmetatile 13, 17, 826, 0
	return

EventScript_1A8863:: @ 81A8863
	setmetatile 21, 6, 821, 0
	setmetatile 22, 6, 820, 0
	setmetatile 21, 7, 821, 0
	setmetatile 22, 7, 820, 0
	setmetatile 22, 8, 820, 0
	return

EventScript_1A8891:: @ 81A8891
	setmetatile 21, 12, 821, 0
	setmetatile 22, 12, 820, 0
	setmetatile 21, 13, 821, 0
	setmetatile 22, 13, 820, 0
	setmetatile 22, 14, 820, 0
	return

EventScript_1A88BF:: @ 81A88BF
	setmetatile 12, 11, 821, 0
	setmetatile 13, 11, 820, 0
	setmetatile 12, 12, 821, 0
	setmetatile 13, 12, 820, 0
	setmetatile 13, 13, 820, 0
	return

EventScript_1A88ED:: @ 81A88ED
	setmetatile 5, 16, 821, 0
	setmetatile 6, 16, 820, 0
	setmetatile 5, 17, 821, 0
	setmetatile 6, 17, 820, 0
	setmetatile 6, 18, 820, 0
	return

SilphCo_2F_EventScript_1A891B:: @ 81A891B
	lockall
	setvar VAR_0x4001, 1
	setvar VAR_0x8004, 634
	checkflag FLAG_SILPH_2F_DOOR_1
	goto_if TRUE, EventScript_1A813F
	goto EventScript_1A8B23
	end

SilphCo_2F_EventScript_1A8935:: @ 81A8935
	lockall
	setvar VAR_0x4001, 2
	setvar VAR_0x8004, 635
	checkflag FLAG_SILPH_2F_DOOR_2
	goto_if TRUE, EventScript_1A813F
	goto EventScript_1A8B23
	end

SilphCo_3F_EventScript_1A894F:: @ 81A894F
	lockall
	setvar VAR_0x4001, 3
	setvar VAR_0x8004, 636
	checkflag FLAG_SILPH_3F_DOOR_1
	goto_if TRUE, EventScript_1A813F
	goto EventScript_1A8B23
	end

SilphCo_3F_EventScript_1A8969:: @ 81A8969
	lockall
	setvar VAR_0x4001, 4
	setvar VAR_0x8004, 637
	checkflag FLAG_SILPH_3F_DOOR_2
	goto_if TRUE, EventScript_1A813F
	goto EventScript_1A8B23
	end

SilphCo_4F_EventScript_1A8983:: @ 81A8983
	lockall
	setvar VAR_0x4001, 5
	setvar VAR_0x8004, 638
	checkflag FLAG_SILPH_4F_DOOR_1
	goto_if TRUE, EventScript_1A813F
	goto EventScript_1A8B23
	end

SilphCo_4F_EventScript_1A899D:: @ 81A899D
	lockall
	setvar VAR_0x4001, 6
	setvar VAR_0x8004, 639
	checkflag FLAG_SILPH_4F_DOOR_2
	goto_if TRUE, EventScript_1A813F
	goto EventScript_1A8B23
	end

SilphCo_5F_EventScript_1A89B7:: @ 81A89B7
	lockall
	setvar VAR_0x4001, 7
	setvar VAR_0x8004, 640
	checkflag FLAG_SILPH_5F_DOOR_1
	goto_if TRUE, EventScript_1A813F
	goto EventScript_1A8B23
	end

SilphCo_5F_EventScript_1A89D1:: @ 81A89D1
	lockall
	setvar VAR_0x4001, 8
	setvar VAR_0x8004, 641
	checkflag FLAG_SILPH_5F_DOOR_2
	goto_if TRUE, EventScript_1A813F
	goto EventScript_1A8B23
	end

SilphCo_5F_EventScript_1A89EB:: @ 81A89EB
	lockall
	setvar VAR_0x4001, 9
	setvar VAR_0x8004, 642
	checkflag FLAG_SILPH_5F_DOOR_3
	goto_if TRUE, EventScript_1A813F
	goto EventScript_1A8B23
	end

SilphCo_6F_EventScript_1A8A05:: @ 81A8A05
	lockall
	setvar VAR_0x4001, 10
	setvar VAR_0x8004, 643
	checkflag FLAG_SILPH_6F_DOOR
	goto_if TRUE, EventScript_1A813F
	goto EventScript_1A8B23
	end

SilphCo_7F_EventScript_1A8A1F:: @ 81A8A1F
	lockall
	setvar VAR_0x4001, 11
	setvar VAR_0x8004, 644
	checkflag FLAG_SILPH_7F_DOOR_1
	goto_if TRUE, EventScript_1A813F
	goto EventScript_1A8B23
	end

SilphCo_7F_EventScript_1A8A39:: @ 81A8A39
	lockall
	setvar VAR_0x4001, 12
	setvar VAR_0x8004, 645
	checkflag FLAG_SILPH_7F_DOOR_2
	goto_if TRUE, EventScript_1A813F
	goto EventScript_1A8B23
	end

SilphCo_7F_EventScript_1A8A53:: @ 81A8A53
	lockall
	setvar VAR_0x4001, 13
	setvar VAR_0x8004, 646
	checkflag FLAG_SILPH_7F_DOOR_3
	goto_if TRUE, EventScript_1A813F
	goto EventScript_1A8B23
	end

SilphCo_8F_EventScript_1A8A6D:: @ 81A8A6D
	lockall
	setvar VAR_0x4001, 14
	setvar VAR_0x8004, 647
	checkflag FLAG_SILPH_8F_DOOR
	goto_if TRUE, EventScript_1A813F
	goto EventScript_1A8B23
	end

SilphCo_9F_EventScript_1A8A87:: @ 81A8A87
	lockall
	setvar VAR_0x4001, 15
	setvar VAR_0x8004, 648
	checkflag FLAG_SILPH_9F_DOOR_1
	goto_if TRUE, EventScript_1A813F
	goto EventScript_1A8B23
	end

SilphCo_9F_EventScript_1A8AA1:: @ 81A8AA1
	lockall
	setvar VAR_0x4001, 16
	setvar VAR_0x8004, 649
	checkflag FLAG_SILPH_9F_DOOR_2
	goto_if TRUE, EventScript_1A813F
	goto EventScript_1A8B23
	end

SilphCo_9F_EventScript_1A8ABB:: @ 81A8ABB
	lockall
	setvar VAR_0x4001, 17
	setvar VAR_0x8004, 650
	checkflag FLAG_SILPH_9F_DOOR_3
	goto_if TRUE, EventScript_1A813F
	goto EventScript_1A8B23
	end

SilphCo_9F_EventScript_1A8AD5:: @ 81A8AD5
	lockall
	setvar VAR_0x4001, 18
	setvar VAR_0x8004, 651
	checkflag FLAG_SILPH_9F_DOOR_4
	goto_if TRUE, EventScript_1A813F
	goto EventScript_1A8B23
	end

SilphCo_10F_EventScript_1A8AEF:: @ 81A8AEF
	lockall
	setvar VAR_0x4001, 19
	setvar VAR_0x8004, 652
	checkflag FLAG_SILPH_10F_DOOR
	goto_if TRUE, EventScript_1A813F
	goto EventScript_1A8B23
	end

SilphCo_11F_EventScript_1A8B09:: @ 81A8B09
	lockall
	setvar VAR_0x4001, 20
	setvar VAR_0x8004, 653
	checkflag FLAG_SILPH_11F_DOOR
	goto_if TRUE, EventScript_1A813F
	goto EventScript_1A8B23
	end

EventScript_1A8B23:: @ 81A8B23
	checkflag FLAG_HIDE_SILPH_CO_5F_CARD_KEY
	goto_if TRUE, EventScript_1A8B32
	goto EventScript_1A8135
	end

EventScript_1A8B32:: @ 81A8B32
	playfanfare MUS_FANFA1
	msgbox Text_1A5B88
	waitfanfare
	compare_var_to_value VAR_0x4001, 1
	call_if eq, EventScript_1A8532
	compare_var_to_value VAR_0x4001, 2
	call_if eq, EventScript_1A8560
	compare_var_to_value VAR_0x4001, 3
	call_if eq, EventScript_1A858E
	compare_var_to_value VAR_0x4001, 4
	call_if eq, EventScript_1A85C5
	compare_var_to_value VAR_0x4001, 5
	call_if eq, EventScript_1A85FC
	compare_var_to_value VAR_0x4001, 6
	call_if eq, EventScript_1A862A
	compare_var_to_value VAR_0x4001, 7
	call_if eq, EventScript_1A8658
	compare_var_to_value VAR_0x4001, 8
	call_if eq, EventScript_1A868F
	compare_var_to_value VAR_0x4001, 9
	call_if eq, EventScript_1A86C6
	compare_var_to_value VAR_0x4001, 10
	call_if eq, EventScript_1A86FD
	compare_var_to_value VAR_0x4001, 11
	call_if eq, EventScript_1A8734
	compare_var_to_value VAR_0x4001, 12
	call_if eq, EventScript_1A8762
	compare_var_to_value VAR_0x4001, 13
	call_if eq, EventScript_1A8790
	compare_var_to_value VAR_0x4001, 14
	call_if eq, EventScript_1A87BE
	compare_var_to_value VAR_0x4001, 15
	call_if eq, EventScript_1A87F5
	compare_var_to_value VAR_0x4001, 16
	call_if eq, EventScript_1A882C
	compare_var_to_value VAR_0x4001, 17
	call_if eq, EventScript_1A8863
	compare_var_to_value VAR_0x4001, 18
	call_if eq, EventScript_1A8891
	compare_var_to_value VAR_0x4001, 19
	call_if eq, EventScript_1A88BF
	compare_var_to_value VAR_0x4001, 20
	call_if eq, EventScript_1A88ED
	waitse
	playse SE_KI_GASYAN
	special DrawWholeMapView
	waitse
	special Special_SetHiddenItemFlag
	releaseall
	end

EventScript_1A8C27:: @ 81A8C27
	countpokemon
	subvar VAR_RESULT, 1
	copyvar VAR_0x8004, VAR_RESULT
	return

EventScript_1A8C33:: @ 81A8C33
	fadescreen 1
	special ChangeBoxPokemonNickname
	waitstate
	lock
	faceplayer
	return

EventScript_1A8C3C:: @ 81A8C3C
	bufferboxname 0, VAR_0x4037
	getspeciesname 1, VAR_0x4001
	checkflag FLAG_SYS_NOT_SOMEONES_PC
	call_if FALSE, EventScript_1A8C57
	checkflag FLAG_SYS_NOT_SOMEONES_PC
	call_if TRUE, EventScript_1A8C82
	return

EventScript_1A8C57:: @ 81A8C57
	specialvar VAR_RESULT, sub_80CC7B4
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A8C70
	msgbox Text_1A5CF1
	return

EventScript_1A8C70:: @ 81A8C70
	specialvar VAR_RESULT, get_unknown_box_id
	bufferboxname 2, VAR_RESULT
	msgbox Text_1A5D6E
	return

EventScript_1A8C82:: @ 81A8C82
	specialvar VAR_RESULT, sub_80CC7B4
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A8C9B
	msgbox Text_1A5D31
	return

EventScript_1A8C9B:: @ 81A8C9B
	specialvar VAR_RESULT, get_unknown_box_id
	bufferboxname 2, VAR_RESULT
	msgbox Text_1A5DB1
	return

EventScript_1A8CAD:: @ 81A8CAD
	copyvar VAR_0x8004, VAR_0x8008
	specialvar VAR_RESULT, GetInGameTradeSpeciesInfo
	copyvar VAR_0x8009, VAR_RESULT
	return

EventScript_1A8CBD:: @ 81A8CBD
	special Special_ChooseMonFromParty
	waitstate
	lock
	faceplayer
	copyvar VAR_0x800A, VAR_0x8004
	return

EventScript_1A8CC9:: @ 81A8CC9
	copyvar VAR_0x8005, VAR_0x800A
	specialvar VAR_RESULT, GetTradeSpecies
	copyvar VAR_0x800B, VAR_RESULT
	return

EventScript_1A8CD9:: @ 81A8CD9
	copyvar VAR_0x8004, VAR_0x8008
	copyvar VAR_0x8005, VAR_0x800A
	special CreateInGameTradePokemon
	special DoInGameTradeScene
	waitstate
	lock
	faceplayer
	return

gUnknown_81A8CED:: @ 81A8CED
	special sub_810C3A4
	waitstate
	special sub_810C444
	releaseall
	end

CeruleanCity_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
CinnabarIsland_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
FiveIsland_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
FuchsiaCity_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
OneIsland_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
PewterCity_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
SevenIsland_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
VermilionCity_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
FourIsland_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
SixIsland_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
ThreeIsland_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
TwoIsland_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
Route10_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
Route10_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
Route4_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
SaffronCity_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
IndigoPlateau_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
CeladonCity_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
LavenderTown_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
ViridianCity_PokemonCenter_2F_EventScript_1A8CF6:: @ 81A8CF6
	call EventScript_1BBA04
	end

CeruleanCity_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
CinnabarIsland_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
FiveIsland_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
FuchsiaCity_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
OneIsland_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
PewterCity_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
SevenIsland_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
VermilionCity_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
FourIsland_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
SixIsland_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
ThreeIsland_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
TwoIsland_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
Route10_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
Route10_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
Route4_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
SaffronCity_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
IndigoPlateau_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
CeladonCity_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
LavenderTown_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
ViridianCity_PokemonCenter_2F_EventScript_1A8CFC:: @ 81A8CFC
	call EventScript_1BBB6A
	end

CeruleanCity_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
CinnabarIsland_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
FiveIsland_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
FuchsiaCity_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
OneIsland_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
PewterCity_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
SevenIsland_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
VermilionCity_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
FourIsland_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
SixIsland_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
ThreeIsland_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
TwoIsland_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
Route10_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
Route10_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
Route4_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
SaffronCity_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
IndigoPlateau_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
CeladonCity_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
LavenderTown_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
ViridianCity_PokemonCenter_2F_EventScript_1A8D02:: @ 81A8D02
	call EventScript_1BBB9C
	end

VermilionCity_PokemonCenter_1F_EventScript_1A8D08:: @ 81A8D08
	lock
	faceplayer
	checkflag FLAG_GOT_VS_SEEKER
	goto_if TRUE, EventScript_1A8D3F
	msgbox Text_194234
	setflag FLAG_GOT_VS_SEEKER
	giveitem ITEM_VS_SEEKER
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1A6BF9
	msgbox Text_19430F
	release
	end

EventScript_1A8D3F:: @ 81A8D3F
	msgbox Text_194381
	release
	end

EventScript_ItemfinderDigUpUnderfootItem:: @ 81A8D49
	lockall
	textcolor 3
	waitse
	call EventScript_GiveItem
	compare_var_to_value VAR_0x8007, 1
	goto_if eq, EventScript_DigUpItemPutInPocket
	compare_var_to_value VAR_0x8007, 0
	goto_if eq, EventScript_DigUpItemBagIsFull
	end

EventScript_DigUpItemPutInPocket::
	message Text_1A5700
	waitfanfare
	waitmessage
	delay 60
	msgbox gUnknown_81A5218
	special Special_SetHiddenItemFlag
	releaseall
	end

EventScript_DigUpItemBagIsFull::
	msgbox Text_1A5700
	msgbox gUnknown_81A5242
	setvar VAR_RESULT, 0
	releaseall
	end

EventScript_AfterWhiteOutHeal:: @ 81A8D97
	lockall
	textcolor 1
	msgbox Text_1A5E89
	call EventScript_1A65CE
	checkflag FLAG_DEFEATED_BROCK
	call_if FALSE, EventScript_1A8DC6
	checkflag FLAG_DEFEATED_BROCK
	call_if TRUE, EventScript_1A8DCF
	applymovement VAR_LAST_TALKED, Movement_1A666C
	waitmovement 0
	fadedefaultbgm
	releaseall
	end

EventScript_1A8DC6:: @ 81A8DC6
	msgbox Text_1A5EC0
	return

EventScript_1A8DCF:: @ 81A8DCF
	msgbox Text_1A5F9B
	return

EventScript_MomHeal:: @ 81A8DD8
	lockall
	textcolor 1
	applymovement 1, Movement_1A75ED
	waitmovement 0
	msgbox Text_1A5FDF
	call EventScript_FadeOut_Heal_FadeIn
	msgbox Text_1A6046
	fadedefaultbgm
	releaseall
	end

EventScript_PoisonWhiteOut:: @ 81A8DFD
	lockall
	textcolor 3
	special ExecuteWhiteOut
	waitstate
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A8E11
	releaseall
	end

EventScript_1A8E11:: @ 81A8E11
	checkmoney 1, 0
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1A8E2E
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A8E3C
	end

EventScript_1A8E2E:: @ 81A8E2E
	msgbox Text_1A61E5
	goto EventScript_1A8E4D
	end

EventScript_1A8E3C:: @ 81A8E3C
	special Special_OverworldWhiteOutGetMoneyLoss
	msgbox Text_1A6197
	goto EventScript_1A8E4D
	end

EventScript_1A8E4D:: @ 81A8E4D
	special sub_807F0B0
	waitstate
	fadescreen 1
	special sp0C8_whiteout_maybe
	waitstate
	end

gStdScript_8:: @ 81A8E58
	bufferitemnameplural 1, VAR_0x8000, VAR_0x8001
	checkitemtype VAR_0x8000
	call EventScript_1A8E6F
	msgbox gUnknown_81A5218
	return

EventScript_1A8E6F:: @ 81A8E6F
	switch VAR_RESULT
	case 1, EventScript_1A8EAC
	case 2, EventScript_1A8EB1
	case 3, EventScript_1A8EB6
	case 4, EventScript_1A8EBB
	case 5, EventScript_1A8EC0
	end

EventScript_1A8EAC:: @ 81A8EAC
	getstdstring 2, 24
	return

EventScript_1A8EB1:: @ 81A8EB1
	getstdstring 2, 25
	return

EventScript_1A8EB6:: @ 81A8EB6
	getstdstring 2, 26
	return

EventScript_1A8EBB:: @ 81A8EBB
	getstdstring 2, 27
	return

EventScript_1A8EC0:: @ 81A8EC0
	getstdstring 2, 28
	return

EventScript_1A8EC5:: @ 81A8EC5
	compare_var_to_value VAR_MAP_SCENE_ONE_ISLAND_POKEMON_CENTER_1F, 5
	goto_if ge, EventScript_1A911E
	compare_var_to_value VAR_MAP_SCENE_CINNABAR_ISLAND, 4
	goto_if ge, EventScript_1A8F12
	multichoice 19, 6, MULTICHOICE_ISLAND_23, FALSE
	switch VAR_RESULT
	case 0, EventScript_1A8FF9
	case 1, EventScript_1A9004
	case 2, EventScript_1A90F6
	case SCR_MENU_CANCEL, EventScript_1A90F6
	end

EventScript_1A8F12:: @ 81A8F12
	multichoice 19, 5, MULTICHOICE_SEAGALLOP_V23, FALSE
	switch VAR_RESULT
	case 0, EventScript_1A8FE3
	case 1, EventScript_1A8FF9
	case 2, EventScript_1A9004
	case 3, EventScript_1A90F6
	case SCR_MENU_CANCEL, EventScript_1A90F6
	end

EventScript_1A8F54:: @ 81A8F54
	compare_var_to_value VAR_MAP_SCENE_ONE_ISLAND_POKEMON_CENTER_1F, 5
	goto_if ge, EventScript_1A911E
	compare_var_to_value VAR_MAP_SCENE_CINNABAR_ISLAND, 4
	goto_if ge, EventScript_1A8FA1
	multichoice 19, 6, MULTICHOICE_ISLAND_13, FALSE
	switch VAR_RESULT
	case 0, EventScript_1A8FEE
	case 1, EventScript_1A9004
	case 2, EventScript_1A90F6
	case SCR_MENU_CANCEL, EventScript_1A90F6
	end

EventScript_1A8FA1:: @ 81A8FA1
	multichoice 19, 5, MULTICHOICE_SEAGALLOP_V13, FALSE
	switch VAR_RESULT
	case 0, EventScript_1A8FE3
	case 1, EventScript_1A8FEE
	case 2, EventScript_1A9004
	case 3, EventScript_1A90F6
	case SCR_MENU_CANCEL, EventScript_1A90F6
	end

EventScript_1A8FE3:: @ 81A8FE3
	setvar VAR_0x8006, SEAGALLOP_VERMILION_CITY
	goto EventScript_1A909E
	end

EventScript_1A8FEE:: @ 81A8FEE
	setvar VAR_0x8006, SEAGALLOP_ONE_ISLAND
	goto EventScript_1A909E
	end

EventScript_1A8FF9:: @ 81A8FF9
	setvar VAR_0x8006, SEAGALLOP_TWO_ISLAND
	goto EventScript_1A909E
	end

EventScript_1A9004:: @ 81A9004
	setvar VAR_0x8006, SEAGALLOP_THREE_ISLAND
	goto EventScript_1A909E
	end

EventScript_1A900F:: @ 81A900F
	compare_var_to_value VAR_MAP_SCENE_ONE_ISLAND_POKEMON_CENTER_1F, 5
	goto_if ge, EventScript_1A911E
	compare_var_to_value VAR_MAP_SCENE_CINNABAR_ISLAND, 4
	goto_if ge, EventScript_1A905C
	multichoice 19, 6, MULTICHOICE_ISLAND_12, FALSE
	switch VAR_RESULT
	case 0, EventScript_1A8FEE
	case 1, EventScript_1A8FF9
	case 2, EventScript_1A90F6
	case SCR_MENU_CANCEL, EventScript_1A90F6
	end

EventScript_1A905C:: @ 81A905C
	multichoice 19, 5, MULTICHOICE_SEAGALLOP_V12, FALSE
	switch VAR_RESULT
	case 0, EventScript_1A8FE3
	case 1, EventScript_1A8FEE
	case 2, EventScript_1A8FF9
	case 3, EventScript_1A90F6
	case SCR_MENU_CANCEL, EventScript_1A90F6
	end

EventScript_1A909E:: @ 81A909E
	specialvar VAR_RESULT, sub_8147500
	getnumberstring 0, VAR_RESULT
	compare_var_to_value VAR_0x8004, SEAGALLOP_VERMILION_CITY
	goto_if eq, EventScript_1A90BE
	compare_var_to_value VAR_0x8004, SEAGALLOP_VERMILION_CITY
	goto_if ne, EventScript_1A90CC
	end

EventScript_1A90BE:: @ 81A90BE
	msgbox Text_17FB67
	goto EventScript_1A90DA
	end

EventScript_1A90CC:: @ 81A90CC
	msgbox Text_1A641B
	goto EventScript_1A90DA
	end

EventScript_1A90DA:: @ 81A90DA
	closemessage
	delay 20
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A7AE0
	special sub_8112364
	fadescreen 1
	special ScrSpecial_SeagallopFerry
	waitstate
	end

EventScript_1A90F6:: @ 81A90F6
	specialvar VAR_RESULT, sub_8147594
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9108
	release
	end

EventScript_1A9108:: @ 81A9108
	closemessage
	applymovement 6, Movement_1A75E5
	applymovement 255, Movement_1A911C
	waitmovement 0
	releaseall
	end

Movement_1A911C:: @ 81A911C
	step_11
	step_end

EventScript_1A911E:: @ 81A911E
	setvar VAR_0x8005, 0
	special Special_DrawSeagallopDestinationMenu
	waitstate
	specialvar VAR_0x8006, Special_GetSelectedSeagallopDestination
	switch VAR_0x8006
	case SEAGALLOP_VERMILION_CITY, EventScript_1A91D5
	case SEAGALLOP_ONE_ISLAND,     EventScript_1A91E0
	case SEAGALLOP_TWO_ISLAND,     EventScript_1A91EB
	case SEAGALLOP_THREE_ISLAND,   EventScript_1A91F6
	case SEAGALLOP_FOUR_ISLAND,    EventScript_1A9201
	case SEAGALLOP_MORE,           EventScript_1A917F
	case SCR_MENU_CANCEL, EventScript_1A90F6
	end

EventScript_1A917F:: @ 81A917F
	setvar VAR_0x8005, 1
	special Special_DrawSeagallopDestinationMenu
	waitstate
	specialvar VAR_0x8006, Special_GetSelectedSeagallopDestination
	switch VAR_0x8006
	case SEAGALLOP_FOUR_ISLAND,  EventScript_1A9201
	case SEAGALLOP_FIVE_ISLAND,  EventScript_1A920C
	case SEAGALLOP_SIX_ISLAND,   EventScript_1A9217
	case SEAGALLOP_SEVEN_ISLAND, EventScript_1A9222
	case SEAGALLOP_MORE,           EventScript_1A911E
	case SCR_MENU_CANCEL, EventScript_1A90F6
	end

EventScript_1A91D5:: @ 81A91D5
	setvar VAR_0x8006, SEAGALLOP_VERMILION_CITY
	goto EventScript_1A909E
	end

EventScript_1A91E0:: @ 81A91E0
	setvar VAR_0x8006, SEAGALLOP_ONE_ISLAND
	goto EventScript_1A909E
	end

EventScript_1A91EB:: @ 81A91EB
	setvar VAR_0x8006, SEAGALLOP_TWO_ISLAND
	goto EventScript_1A909E
	end

EventScript_1A91F6:: @ 81A91F6
	setvar VAR_0x8006, SEAGALLOP_THREE_ISLAND
	goto EventScript_1A909E
	end

EventScript_1A9201:: @ 81A9201
	setvar VAR_0x8006, SEAGALLOP_FOUR_ISLAND
	goto EventScript_1A909E
	end

EventScript_1A920C:: @ 81A920C
	setvar VAR_0x8006, SEAGALLOP_FIVE_ISLAND
	goto EventScript_1A909E
	end

EventScript_1A9217:: @ 81A9217
	setvar VAR_0x8006, SEAGALLOP_SIX_ISLAND
	goto EventScript_1A909E
	end

EventScript_1A9222:: @ 81A9222
	setvar VAR_0x8006, SEAGALLOP_SEVEN_ISLAND
	goto EventScript_1A909E
	end

EventScript_1A922D:: @ 81A922D
	fadescreen 1
	removeobject VAR_LAST_TALKED
	fadescreen 0
	release
	end

EventScript_1A9236:: @ 81A9236
	fadescreen 1
	removeobject VAR_LAST_TALKED
	fadescreen 0
	getspeciesname 0, VAR_0x8004
	msgbox Text_1A63C4
	release
	end

EventScript_1A924B:: @ 81A924B
	message Text_1853E8
	waitmessage
	playfanfare MUS_POKEFUE
	waitfanfare
	msgbox Text_185354
	return

EventScript_1A925E:: @ 81A925E
	checkflag FLAG_SYS_UNLOCKED_TANOBY_RUINS
	goto_if TRUE, EventScript_1A77A9
	setweather 11
	doweather
	return

EventScript_BrailleCursorWaitButton:: @ 81A926C
	special Special_BrailleCursorToggle
	waitbuttonpress
	playse SE_SELECT
	setvar VAR_0x8006, 1
	special Special_BrailleCursorToggle
	return

EventScript_1A927C:: @ 81A927C
	textcolor 3
	msgbox gUnknown_81A5E31
	release
	end

gUnknown_81A9288:: @ 81A9288
	.braille "UP$"

gUnknown_81A928B:: @ 81A928B
	.braille "DOWN$"

gUnknown_81A9290:: @ 81A9290
	.braille "RIGHT$"

gUnknown_81A9296:: @ 81A9296
	.braille "LEFT$"

gUnknown_81A929B:: @ 81A929B
	.braille "CUT$"

gUnknown_81A929F:: @ 81A929F
	.braille "ABC$"

gUnknown_81A92A3:: @ 81A92A3
	.braille "GHI$"

gUnknown_81A92A7:: @ 81A92A7
	.braille "MNO$"

gUnknown_81A92AB:: @ 81A92AB
	.braille "TUV$"

gUnknown_81A92AF:: @ 81A92AF
	.braille "DEF$"

gUnknown_81A92B3:: @ 81A92B3
	.braille "JKL$"

gUnknown_81A92B7:: @ 81A92B7
	.braille "PQRS$"

gUnknown_81A92BC:: @ 81A92BC
	.braille "WXYZ$"

gUnknown_81A92C1:: @ 81A92C1
	.braille ".$"

gUnknown_81A92C3:: @ 81A92C3
	.braille ",$"

gUnknown_81A92C5:: @ 81A92C5
	.braille "EVERYTHING$"

gUnknown_81A92D0:: @ 81A92D0
	.braille "HAS MEANING$"

gUnknown_81A92DC:: @ 81A92DC
	.braille "EXISTENCE$"

gUnknown_81A92E6:: @ 81A92E6
	.braille "HAS MEANING$"

gUnknown_81A92F2:: @ 81A92F2
	.braille "BEING ALIVE$"

gUnknown_81A92FE:: @ 81A92FE
	.braille "HAS MEANING$"

gUnknown_81A930A:: @ 81A930A
	.braille "HAVE DREAMS$"

gUnknown_81A9316:: @ 81A9316
	.braille "USE POWER.$"

gUnknown_81A9321:: @ 81A9321
	.braille "LET THE TWO$"

gUnknown_81A932D:: @ 81A932D
	.braille "GLITTERING$"

gUnknown_81A9338:: @ 81A9338
	.braille "STONES$"

gUnknown_81A933F:: @ 81A933F
	.braille "ONE IN RED$"

gUnknown_81A934A:: @ 81A934A
	.braille "ONE IN BLUE$"

gUnknown_81A9356:: @ 81A9356
	.braille "CONNECT THE$"

gUnknown_81A9362:: @ 81A9362
	.braille "PAST.$"

gUnknown_81A9368:: @ 81A9368
	.braille "TWO FRIENDS$"

gUnknown_81A9374:: @ 81A9374
	.braille "SHARING$"

gUnknown_81A937C:: @ 81A937C
	.braille "POWER OPEN$"

gUnknown_81A9387:: @ 81A9387
	.braille "A WINDOW TO$"

gUnknown_81A9393:: @ 81A9393
	.braille "A NEW WORLD$"

gUnknown_81A939F:: @ 81A939F
	.braille "THAT GLOWS.$"

gUnknown_81A93AB:: @ 81A93AB
	.braille "THE NEXT$"

gUnknown_81A93B4:: @ 81A93B4
	.braille "WORLD WAITS$"

gUnknown_81A93C0:: @ 81A93C0
	.braille "FOR YOU.$"

Route3_EventScript_1A93C9:: @ 81A93C9
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_BEN, 0, Text_183560, Text_1835A0
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A93F0
	msgbox Text_1835B4, 6
	end

EventScript_1A93F0:: @ 81A93F0
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_BEN, 0, Text_1C149D, Text_1835A0
	msgbox Text_1835B4, 6
	end

Route3_EventScript_1A9407:: @ 81A9407
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_CALVIN, 0, Text_183786, Text_1837BD
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A942E
	msgbox Text_1837CF, 6
	end

EventScript_1A942E:: @ 81A942E
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_CALVIN, 0, Text_1C1588, Text_1837BD
	msgbox Text_1837CF, 6
	end

Route3_EventScript_1A9445:: @ 81A9445
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BUG_CATCHER_COLTON, 0, Text_1834E6, Text_183509
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A946C
	msgbox Text_18351C, 6
	end

EventScript_1A946C:: @ 81A946C
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_COLTON, 0, Text_1C147A, Text_183509
	msgbox Text_18351C, 6
	end

Route3_EventScript_1A9483:: @ 81A9483
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BUG_CATCHER_GREG, 0, Text_183682, Text_1836B3
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A94AA
	msgbox Text_1836D9, 6
	end

EventScript_1A94AA:: @ 81A94AA
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_GREG, 0, Text_1C1521, Text_1836B3
	msgbox Text_1836D9, 6
	end

Route3_EventScript_1A94C1:: @ 81A94C1
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BUG_CATCHER_JAMES, 0, Text_183807, Text_183837
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A94E8
	msgbox Text_183849, 6
	end

EventScript_1A94E8:: @ 81A94E8
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_JAMES, 0, Text_1C15C5, Text_183837
	msgbox Text_183849, 6
	end

Route3_EventScript_1A94FF:: @ 81A94FF
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_JANICE, 0, Text_183616, Text_18363F
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9526
	msgbox Text_18364C, 6
	end

EventScript_1A9526:: @ 81A9526
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_JANICE, 0, Text_1C14F3, Text_18363F
	msgbox Text_18364C, 6
	end

Route3_EventScript_1A953D:: @ 81A953D
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_SALLY, 0, Text_18371B, Text_183746
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9564
	msgbox Text_18374F, 6
	end

EventScript_1A9564:: @ 81A9564
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_SALLY, 0, Text_1C155D, Text_183746
	msgbox Text_18374F, 6
	end

Route3_EventScript_1A957B:: @ 81A957B
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_ROBIN, 0, Text_18387A, Text_183891
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A95A2
	msgbox Text_18389C, 6
	end

EventScript_1A95A2:: @ 81A95A2
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_ROBIN, 0, Text_1C15F9, Text_183891
	msgbox Text_18389C, 6
	end

Route4_EventScript_1A95B9:: @ 81A95B9
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_CRISSY, 0, Text_183906, Text_183938
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A95E0
	msgbox Text_183957, 6
	end

EventScript_1A95E0:: @ 81A95E0
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_CRISSY, 0, Text_1C160F, Text_183938
	msgbox Text_183957, 6
	end

Route24_EventScript_1A95F7:: @ 81A95F7
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_TIMMY, 0, Text_188F76, Text_188F95
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A961E
	msgbox Text_188FA7, 6
	end

EventScript_1A961E:: @ 81A961E
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_TIMMY, 0, Text_1C3657, Text_188F95
	msgbox Text_188FA7, 6
	end

Route24_EventScript_1A9635:: @ 81A9635
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BUG_CATCHER_CALE, 0, Text_18901B, Text_18908C
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A965C
	msgbox Text_18909E, 6
	end

EventScript_1A965C:: @ 81A965C
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_CALE, 0, Text_1C36DA, Text_18908C
	msgbox Text_18909E, 6
	end

Route24_EventScript_1A9673:: @ 81A9673
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_RELI, 0, Text_188F2C, Text_188F46
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A969A
	msgbox Text_188F53, 6
	end

EventScript_1A969A:: @ 81A969A
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_RELI, 0, Text_1C3624, Text_188F46
	msgbox Text_188F53, 6
	end

Route24_EventScript_1A96B1:: @ 81A96B1
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_ALI, 0, Text_188FC9, Text_188FE7
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A96D8
	msgbox Text_188FF9, 6
	end

EventScript_1A96D8:: @ 81A96D8
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_ALI, 0, Text_1C3685, Text_188FE7
	msgbox Text_188FF9, 6
	end

Route24_EventScript_1A96EF:: @ 81A96EF
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CAMPER_SHANE, 0, Text_188E74, Text_188E94
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9716
	msgbox Text_188EA3, 6
	end

EventScript_1A9716:: @ 81A9716
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_SHANE, 0, Text_1C35EE, Text_188E94
	msgbox Text_188EA3, 6
	end

Route24_EventScript_1A972D:: @ 81A972D
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CAMPER_ETHAN, 0, Text_188ED9, Text_188EFA
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9754
	msgbox Text_188F0A, 6
	end

EventScript_1A9754:: @ 81A9754
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_ETHAN, 0, Text_1C360E, Text_188EFA
	msgbox Text_188F0A, 6
	end

Route25_EventScript_1A976B:: @ 81A976B
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_JOEY, 0, Text_1890C0, Text_1890E6
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9792
	msgbox Text_1890F5, 6
	end

EventScript_1A9792:: @ 81A9792
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_JOEY, 0, Text_1C33E7, Text_1890E6
	msgbox Text_1890F5, 6
	end

Route25_EventScript_1A97A9:: @ 81A97A9
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_DAN, 0, Text_189165, Text_1891A6
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A97D0
	msgbox Text_1891B3, 6
	end

EventScript_1A97D0:: @ 81A97D0
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_DAN, 0, Text_1C3404, Text_1891A6
	msgbox Text_1891B3, 6
	end

Route25_EventScript_1A97E7:: @ 81A97E7
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_CHAD, 0, Text_1892A9, Text_1892D9
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A980E
	msgbox Text_1892EF, 6
	end

EventScript_1A980E:: @ 81A980E
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_CHAD, 0, Text_1C34D4, Text_1892D9
	msgbox Text_1892EF, 6
	end

Route25_EventScript_1A9825:: @ 81A9825
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_KELSEY, 0, Text_189247, Text_189261
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A984C
	msgbox Text_189281, 6
	end

EventScript_1A984C:: @ 81A984C
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_KELSEY, 0, Text_1C349C, Text_189261
	msgbox Text_189281, 6
	end

Route25_EventScript_1A9863:: @ 81A9863
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_HALEY, 0, Text_189333, Text_189364
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A988A
	msgbox Text_189378, 6
	end

EventScript_1A988A:: @ 81A988A
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_HALEY, 0, Text_1C350A, Text_189364
	msgbox Text_189378, 6
	end

Route25_EventScript_1A98A1:: @ 81A98A1
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_FRANKLIN, 0, Text_1893A7, Text_1893EA
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A98C8
	msgbox Text_1893FB, 6
	end

EventScript_1A98C8:: @ 81A98C8
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_FRANKLIN, 0, Text_1C353B, Text_1893EA
	msgbox Text_1893FB, 6
	end

Route25_EventScript_1A98DF:: @ 81A98DF
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_NOB, 0, Text_189423, Text_189459
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9906
	msgbox Text_18947E, 6
	end

EventScript_1A9906:: @ 81A9906
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_NOB, 0, Text_1C357E, Text_189459
	msgbox Text_18947E, 6
	end

Route25_EventScript_1A991D:: @ 81A991D
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_WAYNE, 0, Text_1894DE, Text_18950A
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9944
	msgbox Text_18951C, 6
	end

EventScript_1A9944:: @ 81A9944
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_WAYNE, 0, Text_1C35BC, Text_18950A
	msgbox Text_18951C, 6
	end

Route25_EventScript_1A995B:: @ 81A995B
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CAMPER_FLINT, 0, Text_1891EB, Text_189212
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9982
	msgbox Text_18921D, 6
	end

EventScript_1A9982:: @ 81A9982
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_FLINT, 0, Text_1C3445, Text_189212
	msgbox Text_18921D, 6
	end

Route6_EventScript_1A9999:: @ 81A9999
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BUG_CATCHER_KEIGO, 0, Text_183E9F, Text_183EC0
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A99C0
	msgbox Text_183ED4, 6
	end

EventScript_1A99C0:: @ 81A99C0
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_KEIGO, 0, Text_1C16E2, Text_183EC0
	msgbox Text_183ED4, 6
	end

Route6_EventScript_1A99D7:: @ 81A99D7
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BUG_CATCHER_ELIJAH, 0, Text_183FF0, Text_18401A
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A99FE
	msgbox Text_18402B, 6
	end

EventScript_1A99FE:: @ 81A99FE
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_ELIJAH, 0, Text_1C176B, Text_18401A
	msgbox Text_18402B, 6
	end

Route6_EventScript_1A9A15:: @ 81A9A15
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CAMPER_RICKY, 0, Text_183E04, Text_183E2A
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9A3C
	msgbox Text_183E3C, 6
	end

EventScript_1A9A3C:: @ 81A9A3C
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_RICKY, 0, Text_1C163C, Text_183E2A
	msgbox Text_183E3C, 6
	end

Route6_EventScript_1A9A53:: @ 81A9A53
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CAMPER_JEFF, 0, Text_183F07, Text_183F24
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9A7A
	msgbox Text_183F51, 6
	end

EventScript_1A9A7A:: @ 81A9A7A
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_JEFF, 0, Text_1C1723, Text_183F24
	msgbox Text_183F51, 6
	end

Route6_EventScript_1A9A91:: @ 81A9A91
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_NANCY, 0, Text_183E4E, Text_183E79
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9AB8
	msgbox Text_183E8D, 6
	end

EventScript_1A9AB8:: @ 81A9AB8
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_NANCY, 0, Text_1C166D, Text_183E79
	msgbox Text_183E8D, 6
	end

Route6_EventScript_1A9ACF:: @ 81A9ACF
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_ISABELLE, 0, Text_183F90, Text_183FAB
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9AF6
	msgbox Text_183FC4, 6
	end

EventScript_1A9AF6:: @ 81A9AF6
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_ISABELLE, 0, Text_1C1746, Text_183FAB
	msgbox Text_183FC4, 6
	end

Route11_EventScript_1A9B0D:: @ 81A9B0D
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_EDDIE, 0, Text_184FBD, Text_184FD8
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9B34
	msgbox Text_184FEF, 6
	end

EventScript_1A9B34:: @ 81A9B34
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_EDDIE, 0, Text_1C1DB5, Text_184FD8
	msgbox Text_184FEF, 6
	end

Route11_EventScript_1A9B4B:: @ 81A9B4B
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_DILLON, 0, Text_18506A, Text_18509B
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9B72
	msgbox Text_1850CF, 6
	end

EventScript_1A9B72:: @ 81A9B72
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_DILLON, 0, Text_1C1E1F, Text_18509B
	msgbox Text_1850CF, 6
	end

Route11_EventScript_1A9B89:: @ 81A9B89
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_YASU, 0, Text_18517B, Text_1851AC
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9BB0
	msgbox Text_1851D2, 6
	end

EventScript_1A9BB0:: @ 81A9BB0
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_YASU, 0, Text_1C1EE2, Text_1851AC
	msgbox Text_1851D2, 6
	end

Route11_EventScript_1A9BC7:: @ 81A9BC7
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_DAVE, 0, Text_185285, Text_1852C1
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9BEE
	msgbox Text_1852E3, 6
	end

EventScript_1A9BEE:: @ 81A9BEE
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_DAVE, 0, Text_1C1F40, Text_1852C1
	msgbox Text_1852E3, 6
	end

Route11_EventScript_1A9C05:: @ 81A9C05
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_ENGINEER_BRAXTON, 0, Text_185011, Text_185037
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9C2C
	msgbox Text_18504A, 6
	end

EventScript_1A9C2C:: @ 81A9C2C
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_ENGINEER_BRAXTON, 0, Text_1C1DE1, Text_185037
	msgbox Text_18504A, 6
	end

Route11_EventScript_1A9C43:: @ 81A9C43
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_ENGINEER_BERNIE, 0, Text_185236, Text_185250
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9C6A
	msgbox Text_185266, 6
	end

EventScript_1A9C6A:: @ 81A9C6A
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_ENGINEER_BERNIE, 0, Text_1C1F1D, Text_185250
	msgbox Text_185266, 6
	end

Route11_EventScript_1A9C81:: @ 81A9C81
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_GAMER_HUGO, 0, Text_184F01, Text_184F15
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9CA8
	msgbox Text_184F2E, 6
	end

EventScript_1A9CA8:: @ 81A9CA8
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GAMER_HUGO, 0, Text_1C1D50, Text_184F15
	msgbox Text_184F2E, 6
	end

Route11_EventScript_1A9CBF:: @ 81A9CBF
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_GAMER_JASPER, 0, Text_184F5D, Text_184F7E
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9CE6
	msgbox Text_184F8E, 6
	end

EventScript_1A9CE6:: @ 81A9CE6
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GAMER_JASPER, 0, Text_1C1D79, Text_184F7E
	msgbox Text_184F8E, 6
	end

Route11_EventScript_1A9CFD:: @ 81A9CFD
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_GAMER_DIRK, 0, Text_1850E9, Text_185105
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9D24
	msgbox Text_185114, 6
	end

EventScript_1A9D24:: @ 81A9D24
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GAMER_DIRK, 0, Text_1C1E57, Text_185105
	msgbox Text_185114, 6
	end

Route11_EventScript_1A9D3B:: @ 81A9D3B
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_GAMER_DARIAN, 0, Text_185135, Text_18514E
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9D62
	msgbox Text_185161, 6
	end

EventScript_1A9D62:: @ 81A9D62
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GAMER_DARIAN, 0, Text_1C1E9F, Text_18514E
	msgbox Text_185161, 6
	end

Route9_EventScript_1A9D79:: @ 81A9D79
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BUG_CATCHER_BRENT, 0, Text_184A2F, Text_184A6A
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9DA0
	msgbox Text_184A8C, 6
	end

EventScript_1A9DA0:: @ 81A9DA0
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_BRENT, 0, Text_1C1B83, Text_184A6A
	msgbox Text_184A8C, 6
	end

Route9_EventScript_1A9DB7:: @ 81A9DB7
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BUG_CATCHER_CONNER, 0, Text_184B18, Text_184B32
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9DDE
	msgbox Text_184B3B, 6
	end

EventScript_1A9DDE:: @ 81A9DDE
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BUG_CATCHER_CONNER, 0, Text_1C1BDC, Text_184B32
	msgbox Text_184B3B, 6
	end

Route9_EventScript_1A9DF5:: @ 81A9DF5
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CAMPER_CHRIS, 0, Text_184844, Text_18487E
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9E1C
	msgbox Text_184890, 6
	end

EventScript_1A9E1C:: @ 81A9E1C
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_CHRIS, 0, Text_1C1A5D, Text_18487E
	msgbox Text_184890, 6
	end

Route9_EventScript_1A9E33:: @ 81A9E33
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CAMPER_DREW, 0, Text_18489E, Text_1848CC
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9E5A
	msgbox Text_1848DE, 6
	end

EventScript_1A9E5A:: @ 81A9E5A
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_DREW, 0, Text_1C1A9B, Text_1848CC
	msgbox Text_1848DE, 6
	end

Route9_EventScript_1A9E71:: @ 81A9E71
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_ALICIA, 0, Text_1847B7, Text_1847DF
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9E98
	msgbox Text_1847F0, 6
	end

EventScript_1A9E98:: @ 81A9E98
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_ALICIA, 0, Text_1C1A2E, Text_1847DF
	msgbox Text_1847F0, 6
	end

Route9_EventScript_1A9EAF:: @ 81A9EAF
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_CAITLIN, 0, Text_1848FF, Text_18491C
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9ED6
	msgbox Text_184931, 6
	end

EventScript_1A9ED6:: @ 81A9ED6
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_CAITLIN, 0, Text_1C1AFB, Text_18491C
	msgbox Text_184931, 6
	end

Route9_EventScript_1A9EED:: @ 81A9EED
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_ALAN, 0, Text_184ABE, Text_184AD5
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9F14
	msgbox Text_184AF1, 6
	end

EventScript_1A9F14:: @ 81A9F14
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_ALAN, 0, Text_1C1BBE, Text_184AD5
	msgbox Text_184AF1, 6
	end

Route9_EventScript_1A9F2B:: @ 81A9F2B
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_BRICE, 0, Text_1849DF, Text_184A04
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9F52
	msgbox Text_184A11, 6
	end

EventScript_1A9F52:: @ 81A9F52
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_BRICE, 0, Text_1C1B5E, Text_184A04
	msgbox Text_184A11, 6
	end

Route9_EventScript_1A9F69:: @ 81A9F69
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_JEREMY, 0, Text_18495E, Text_18497F
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9F90
	msgbox Text_1849B0, 6
	end

EventScript_1A9F90:: @ 81A9F90
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_JEREMY, 0, Text_1C1B37, Text_18497F
	msgbox Text_1849B0, 6
	end

Route10_EventScript_1A9FA7:: @ 81A9FA7
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_HEIDI, 0, Text_184CF1, Text_184D31
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1A9FCE
	msgbox Text_184D4D, 6
	end

EventScript_1A9FCE:: @ 81A9FCE
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_HEIDI, 0, Text_1C1C9A, Text_184D31
	msgbox Text_184D4D, 6
	end

Route10_EventScript_1A9FE5:: @ 81A9FE5
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_CAROL, 0, Text_184E04, Text_184E3B
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA00C
	msgbox Text_184E5E, 6
	end

EventScript_1AA00C:: @ 81AA00C
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_CAROL, 0, Text_1C1D14, Text_184E3B
	msgbox Text_184E5E, 6
	end

Route10_EventScript_1AA023:: @ 81AA023
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_POKEMANIAC_MARK, 0, Text_184B8A, Text_184BE5
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA04A
	msgbox Text_184BFB, 6
	end

EventScript_1AA04A:: @ 81AA04A
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_POKEMANIAC_MARK, 0, Text_1C1BFA, Text_184BE5
	msgbox Text_184BFB, 6
	end

Route10_EventScript_1AA061:: @ 81AA061
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_POKEMANIAC_HERMAN, 0, Text_184C86, Text_184CA7
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA088
	msgbox Text_184CBB, 6
	end

EventScript_1AA088:: @ 81AA088
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_POKEMANIAC_HERMAN, 0, Text_1C1C76, Text_184CA7
	msgbox Text_184CBB, 6
	end

Route10_EventScript_1AA09F:: @ 81AA09F
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_CLARK, 0, Text_184C1D, Text_184C2D
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA0C6
	msgbox Text_184C60, 6
	end

EventScript_1AA0C6:: @ 81AA0C6
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_CLARK, 0, Text_1C1C4F, Text_184C2D
	msgbox Text_184C60, 6
	end

Route10_EventScript_1AA0DD:: @ 81AA0DD
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_TRENT, 0, Text_184DAA, Text_184DCE
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA104
	msgbox Text_184DE4, 6
	end

EventScript_1AA104:: @ 81AA104
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_TRENT, 0, Text_1C1CD3, Text_184DCE
	msgbox Text_184DE4, 6
	end

Route8_EventScript_1AA11B:: @ 81AA11B
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_PAIGE, 0, Text_1841ED, Text_184210
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA142
	msgbox Text_18421B, 6
	end

EventScript_1AA142:: @ 81AA142
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_PAIGE, 0, Text_1C1834, Text_184210
	msgbox Text_18421B, 6
	end

Route8_EventScript_1AA159:: @ 81AA159
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_ANDREA, 0, Text_184321, Text_184346
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA180
	msgbox Text_184350, 6
	end

EventScript_1AA180:: @ 81AA180
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_ANDREA, 0, Text_1C18AA, Text_184346
	msgbox Text_184350, 6
	end

Route8_EventScript_1AA197:: @ 81AA197
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_MEGAN, 0, Text_18437A, Text_1843A6
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA1BE
	msgbox Text_1843D2, 6
	end

EventScript_1AA1BE:: @ 81AA1BE
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_MEGAN, 0, Text_1C18DC, Text_1843A6
	msgbox Text_1843D2, 6
	end

Route8_EventScript_1AA1D5:: @ 81AA1D5
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LASS_JULIA, 0, Text_1844AC, Text_1844D6
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA1FC
	msgbox Text_1844FD, 6
	end

EventScript_1AA1FC:: @ 81AA1FC
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LASS_JULIA, 0, Text_1C1955, Text_1844D6
	msgbox Text_1844FD, 6
	end

Route8_EventScript_1AA213:: @ 81AA213
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SUPER_NERD_AIDAN, 0, Text_1840C5, Text_184100
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA23A
	msgbox Text_18410E, 6
	end

EventScript_1AA23A:: @ 81AA23A
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SUPER_NERD_AIDAN, 0, Text_1C1793, Text_184100
	msgbox Text_18410E, 6
	end

Route8_EventScript_1AA251:: @ 81AA251
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SUPER_NERD_GLENN, 0, Text_18417C, Text_1841B6
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA278
	msgbox Text_1841C8, 6
	end

EventScript_1AA278:: @ 81AA278
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SUPER_NERD_GLENN, 0, Text_1C17F1, Text_1841B6
	msgbox Text_1841C8, 6
	end

Route8_EventScript_1AA28F:: @ 81AA28F
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SUPER_NERD_LESLIE, 0, Text_184257, Text_18427A
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA2B6
	msgbox Text_1842B3, 6
	end

EventScript_1AA2B6:: @ 81AA2B6
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SUPER_NERD_LESLIE, 0, Text_1C1873, Text_18427A
	msgbox Text_1842B3, 6
	end

Route8_EventScript_1AA2CD:: @ 81AA2CD
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_GAMER_STAN, 0, Text_18412F, Text_18414D
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA2F4
	msgbox Text_184162, 6
	end

EventScript_1AA2F4:: @ 81AA2F4
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GAMER_STAN, 0, Text_1C17CD, Text_18414D
	msgbox Text_184162, 6
	end

Route8_EventScript_1AA30B:: @ 81AA30B
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_GAMER_RICH, 0, Text_184432, Text_18444F
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA332
	msgbox Text_184466, 6
	end

EventScript_1AA332:: @ 81AA332
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GAMER_RICH, 0, Text_1C191F, Text_18444F
	msgbox Text_184466, 6
	end

Route8_EventScript_1AA349:: @ 81AA349
	trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_TWINS_ELI_ANNE, 0, Text_1845A4, Text_1845D0, Text_184616
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA374
	msgbox Text_1845F2, 6
	end

EventScript_1AA374:: @ 81AA374
	trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_ELI_ANNE, 0, Text_1C19E5, Text_1845D0, Text_184616
	msgbox Text_1845F2, 6
	end

Route8_EventScript_1AA38F:: @ 81AA38F
	trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_TWINS_ELI_ANNE, 0, Text_18464A, Text_184675, Text_1846AF
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA3BA
	msgbox Text_18468B, 6
	end

EventScript_1AA3BA:: @ 81AA3BA
	trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_ELI_ANNE, 0, Text_1C1A0D, Text_184675, Text_1846AF
	msgbox Text_18468B, 6
	end

Route8_EventScript_1AA3D5:: @ 81AA3D5
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_RICARDO, 0, Text_1846E2, Text_1846FC
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA3FC
	msgbox Text_184719, 6
	end

EventScript_1AA3FC:: @ 81AA3FC
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_RICARDO, 0, Text_1C199C, Text_1846FC
	msgbox Text_184719, 6
	end

Route8_EventScript_1AA413:: @ 81AA413
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_JAREN, 0, Text_184742, Text_184767
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA43A
	msgbox Text_18477A, 6
	end

EventScript_1AA43A:: @ 81AA43A
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_JAREN, 0, Text_1C19BC, Text_184767
	msgbox Text_18477A, 6
	end

Route12_EventScript_1AA451:: @ 81AA451
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_NED, 0, Text_185402, Text_18541B
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA478
	msgbox Text_185432, 6
	end

EventScript_1AA478:: @ 81AA478
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_NED, 0, Text_1C1F9D, Text_18541B
	msgbox Text_185432, 6
	end

Route12_EventScript_1AA48F:: @ 81AA48F
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_CHIP, 0, Text_18544E, Text_185475
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA4B6
	msgbox Text_185488, 6
	end

EventScript_1AA4B6:: @ 81AA4B6
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_CHIP, 0, Text_1C1FD8, Text_185475
	msgbox Text_185488, 6
	end

Route12_EventScript_1AA4CD:: @ 81AA4CD
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_HANK, 0, Text_1855E1, Text_185606
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA4F4
	msgbox Text_185616, 6
	end

EventScript_1AA4F4:: @ 81AA4F4
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_HANK, 0, Text_1C209C, Text_185606
	msgbox Text_185616, 6
	end

Route12_EventScript_1AA50B:: @ 81AA50B
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_ELLIOT, 0, Text_185682, Text_1856D0
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA532
	msgbox Text_1856DF, 6
	end

EventScript_1AA532:: @ 81AA532
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_ELLIOT, 0, Text_1C20D4, Text_1856D0
	msgbox Text_1856DF, 6
	end

Route12_EventScript_1AA549:: @ 81AA549
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_ANDREW, 0, Text_18570E, Text_185744
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA570
	msgbox Text_18574D, 6
	end

EventScript_1AA570:: @ 81AA570
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_ANDREW, 0, Text_1C2134, Text_185744
	msgbox Text_18574D, 6
	end

Route12_EventScript_1AA587:: @ 81AA587
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_ROCKER_LUCA, 0, Text_185547, Text_18559B
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA5AE
	msgbox Text_1855A6, 6
	end

EventScript_1AA5AE:: @ 81AA5AE
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_ROCKER_LUCA, 0, Text_1C203B, Text_18559B
	msgbox Text_1855A6, 6
	end

Route12_EventScript_1AA5C5:: @ 81AA5C5
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CAMPER_JUSTIN, 0, Text_1854B9, Text_1854ED
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA5EC
	msgbox Text_1854F2, 6
	end

EventScript_1AA5EC:: @ 81AA5EC
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_JUSTIN, 0, Text_1C2008, Text_1854ED
	msgbox Text_1854F2, 6
	end

Route12_EventScript_1AA603:: @ 81AA603
	trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_YOUNG_COUPLE_GIA_JES, 0, Text_1857C5, Text_1857F1, Text_185842
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA62E
	msgbox Text_18581F, 6
	end

EventScript_1AA62E:: @ 81AA62E
	trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_YOUNG_COUPLE_GIA_JES, 0, Text_1C216B, Text_1857F1, Text_185842
	msgbox Text_18581F, 6
	end

Route12_EventScript_1AA649:: @ 81AA649
	trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_YOUNG_COUPLE_GIA_JES, 0, Text_1858A6, Text_1858D0, Text_185908
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA674
	msgbox Text_1858E2, 6
	end

EventScript_1AA674:: @ 81AA674
	trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_YOUNG_COUPLE_GIA_JES, 0, Text_1C219B, Text_1858D0, Text_185908
	msgbox Text_1858E2, 6
	end

Route13_EventScript_1AA68F:: @ 81AA68F
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_JARED, 0, Text_185D05, Text_185D1D
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA6B6
	msgbox Text_185D33, 6
	end

EventScript_1AA6B6:: @ 81AA6B6
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_JARED, 0, Text_1C236B, Text_185D1D
	msgbox Text_185D33, 6
	end

Route13_EventScript_1AA6CD:: @ 81AA6CD
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BEAUTY_LOLA, 0, Text_185BFC, Text_185C1F
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA6F4
	msgbox Text_185C35, 6
	end

EventScript_1AA6F4:: @ 81AA6F4
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BEAUTY_LOLA, 0, Text_1C2306, Text_185C1F
	msgbox Text_185C35, 6
	end

Route13_EventScript_1AA70B:: @ 81AA70B
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BEAUTY_SHEILA, 0, Text_185C69, Text_185C95
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA732
	msgbox Text_185CA8, 6
	end

EventScript_1AA732:: @ 81AA732
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BEAUTY_SHEILA, 0, Text_1C2340, Text_185C95
	msgbox Text_185CA8, 6
	end

Route13_EventScript_1AA749:: @ 81AA749
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_SEBASTIAN, 0, Text_185955, Text_18597E
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA770
	msgbox Text_1859A2, 6
	end

EventScript_1AA770:: @ 81AA770
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_SEBASTIAN, 0, Text_1C21EE, Text_18597E
	msgbox Text_1859A2, 6
	end

Route13_EventScript_1AA787:: @ 81AA787
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_PERRY, 0, Text_185B8F, Text_185BCA
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA7AE
	msgbox Text_185BDB, 6
	end

EventScript_1AA7AE:: @ 81AA7AE
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_PERRY, 0, Text_1C22CA, Text_185BCA
	msgbox Text_185BDB, 6
	end

Route13_EventScript_1AA7C5:: @ 81AA7C5
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_ROBERT, 0, Text_185D3D, Text_185D7B
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA7EC
	msgbox Text_185D89, 6
	end

EventScript_1AA7EC:: @ 81AA7EC
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_ROBERT, 0, Text_1C2383, Text_185D7B
	msgbox Text_185D89, 6
	end

Route13_EventScript_1AA803:: @ 81AA803
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_ALMA, 0, Text_185B12, Text_185B48
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA82A
	msgbox Text_185B67, 6
	end

EventScript_1AA82A:: @ 81AA82A
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_ALMA, 0, Text_1C2299, Text_185B48
	msgbox Text_185B67, 6
	end

Route13_EventScript_1AA841:: @ 81AA841
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_SUSIE, 0, Text_1859CF, Text_1859EC
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA868
	msgbox Text_1859F9, 6
	end

EventScript_1AA868:: @ 81AA868
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_SUSIE, 0, Text_1C220C, Text_1859EC
	msgbox Text_1859F9, 6
	end

Route13_EventScript_1AA87F:: @ 81AA87F
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_VALERIE, 0, Text_185A37, Text_185A56
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA8A6
	msgbox Text_185A62, 6
	end

EventScript_1AA8A6:: @ 81AA8A6
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_VALERIE, 0, Text_1C223C, Text_185A56
	msgbox Text_185A62, 6
	end

Route13_EventScript_1AA8BD:: @ 81AA8BD
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_GWEN, 0, Text_185A91, Text_185AC1
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA8E4
	msgbox Text_185ADE, 6
	end

EventScript_1AA8E4:: @ 81AA8E4
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_GWEN, 0, Text_1C225B, Text_185AC1
	msgbox Text_185ADE, 6
	end

Route14_EventScript_1AA8FB:: @ 81AA8FB
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_MALIK, 0, Text_186344, Text_186362
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA922
	msgbox Text_18636E, 6
	end

EventScript_1AA922:: @ 81AA922
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_MALIK, 0, Text_1C25D6, Text_186362
	msgbox Text_18636E, 6
	end

Route14_EventScript_1AA939:: @ 81AA939
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_LUKAS, 0, Text_1861F7, Text_186223
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA960
	msgbox Text_186239, 6
	end

EventScript_1AA960:: @ 81AA960
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_LUKAS, 0, Text_1C2531, Text_186223
	msgbox Text_186239, 6
	end

Route14_EventScript_1AA977:: @ 81AA977
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_ISAAC, 0, Text_186263, Text_186291
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA99E
	msgbox Text_18629D, 6
	end

EventScript_1AA99E:: @ 81AA99E
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_ISAAC, 0, Text_1C2572, Text_186291
	msgbox Text_18629D, 6
	end

Route14_EventScript_1AA9B5:: @ 81AA9B5
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_GERALD, 0, Text_1862BD, Text_1862EF
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AA9DC
	msgbox Text_1862F8, 6
	end

EventScript_1AA9DC:: @ 81AA9DC
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_GERALD, 0, Text_1C259E, Text_1862EF
	msgbox Text_1862F8, 6
	end

Route14_EventScript_1AA9F3:: @ 81AA9F3
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_DONALD, 0, Text_1860D9, Text_18610A
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AAA1A
	msgbox Text_18611D, 6
	end

EventScript_1AAA1A:: @ 81AAA1A
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_DONALD, 0, Text_1C24CB, Text_18610A
	msgbox Text_18611D, 6
	end

Route14_EventScript_1AAA31:: @ 81AAA31
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_BENNY, 0, Text_18618E, Text_1861B3
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AAA58
	msgbox Text_1861BE, 6
	end

EventScript_1AAA58:: @ 81AAA58
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_BENNY, 0, Text_1C2505, Text_1861B3
	msgbox Text_1861BE, 6
	end

Route14_EventScript_1AAA6F:: @ 81AAA6F
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_CARTER, 0, Text_185E4D, Text_185E81
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AAA96
	msgbox Text_185E9C, 6
	end

EventScript_1AAA96:: @ 81AAA96
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_CARTER, 0, Text_1C23C1, Text_185E81
	msgbox Text_185E9C, 6
	end

Route14_EventScript_1AAAAD:: @ 81AAAAD
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_MITCH, 0, Text_185EDF, Text_185F0B
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AAAD4
	msgbox Text_185F1A, 6
	end

EventScript_1AAAD4:: @ 81AAAD4
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_MITCH, 0, Text_1C23EF, Text_185F0B
	msgbox Text_185F1A, 6
	end

Route14_EventScript_1AAAEB:: @ 81AAAEB
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_BECK, 0, Text_185F46, Text_185FAE
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AAB12
	msgbox Text_185FBB, 6
	end

EventScript_1AAB12:: @ 81AAB12
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_BECK, 0, Text_1C2425, Text_185FAE
	msgbox Text_185FBB, 6
	end

Route14_EventScript_1AAB29:: @ 81AAB29
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_MARLON, 0, Text_186021, Text_18607C
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AAB50
	msgbox Text_186091, 6
	end

EventScript_1AAB50:: @ 81AAB50
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_MARLON, 0, Text_1C2461, Text_18607C
	msgbox Text_186091, 6
	end

Route14_EventScript_1AAB67:: @ 81AAB67
	trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_TWINS_KIRI_JAN, 0, Text_1863B7, Text_1863EA, Text_18642E
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AAB92
	msgbox Text_18640D, 6
	end

EventScript_1AAB92:: @ 81AAB92
	trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_KIRI_JAN, 0, Text_1C25FB, Text_1863EA, Text_18642E
	msgbox Text_18640D, 6
	end

Route14_EventScript_1AABAD:: @ 81AABAD
	trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_TWINS_KIRI_JAN, 0, Text_18645B, Text_186487, Text_1864D3
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AABD8
	msgbox Text_18649C, 6
	end

EventScript_1AABD8:: @ 81AABD8
	trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_KIRI_JAN, 0, Text_1C261B, Text_186487, Text_1864D3
	msgbox Text_18649C, 6
	end

Route15_EventScript_1AABF3:: @ 81AABF3
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_ERNEST, 0, Text_1868B6, Text_1868E8
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AAC1A
	msgbox Text_1868F1, 6
	end

EventScript_1AAC1A:: @ 81AAC1A
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_ERNEST, 0, Text_1C27E7, Text_1868E8
	msgbox Text_1868F1, 6
	end

Route15_EventScript_1AAC31:: @ 81AAC31
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_ALEX, 0, Text_186936, Text_186968
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AAC58
	msgbox Text_18697C, 6
	end

EventScript_1AAC58:: @ 81AAC58
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_ALEX, 0, Text_1C2814, Text_186968
	msgbox Text_18697C, 6
	end

Route15_EventScript_1AAC6F:: @ 81AAC6F
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BEAUTY_GRACE, 0, Text_18678B, Text_1867C1
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AAC96
	msgbox Text_1867DA, 6
	end

EventScript_1AAC96:: @ 81AAC96
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BEAUTY_GRACE, 0, Text_1C2753, Text_1867C1
	msgbox Text_1867DA, 6
	end

Route15_EventScript_1AACAD:: @ 81AACAD
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BEAUTY_OLIVIA, 0, Text_18680C, Text_186841
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AACD4
	msgbox Text_18686F, 6
	end

EventScript_1AACD4:: @ 81AACD4
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BEAUTY_OLIVIA, 0, Text_1C279D, Text_186841
	msgbox Text_18686F, 6
	end

Route15_EventScript_1AACEB:: @ 81AACEB
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_EDWIN, 0, Text_18664F, Text_18667A
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AAD12
	msgbox Text_18668D, 6
	end

EventScript_1AAD12:: @ 81AAD12
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_EDWIN, 0, Text_1C26D3, Text_18667A
	msgbox Text_18668D, 6
	end

Route15_EventScript_1AAD29:: @ 81AAD29
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_CHESTER, 0, Text_1866D1, Text_186707
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AAD50
	msgbox Text_18671A, 6
	end

EventScript_1AAD50:: @ 81AAD50
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_CHESTER, 0, Text_1C2717, Text_186707
	msgbox Text_18671A, 6
	end

Route15_EventScript_1AAD67:: @ 81AAD67
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_YAZMIN, 0, Text_186A22, Text_186A40
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AAD8E
	msgbox Text_186A55, 6
	end

EventScript_1AAD8E:: @ 81AAD8E
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_YAZMIN, 0, Text_1C287D, Text_186A40
	msgbox Text_186A55, 6
	end

Route15_EventScript_1AADA5:: @ 81AADA5
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_KINDRA, 0, Text_18650B, Text_186549
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AADCC
	msgbox Text_18655A, 6
	end

EventScript_1AADCC:: @ 81AADCC
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_KINDRA, 0, Text_1C2650, Text_186549
	msgbox Text_18655A, 6
	end

Route15_EventScript_1AADE3:: @ 81AADE3
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_BECKY, 0, Text_1865D3, Text_186612
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AAE0A
	msgbox Text_18661D, 6
	end

EventScript_1AAE0A:: @ 81AAE0A
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_BECKY, 0, Text_1C268D, Text_186612
	msgbox Text_18661D, 6
	end

Route15_EventScript_1AAE21:: @ 81AAE21
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_CELIA, 0, Text_1869BA, Text_1869E6
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AAE48
	msgbox Text_1869F4, 6
	end

EventScript_1AAE48:: @ 81AAE48
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_CELIA, 0, Text_1C2846, Text_1869E6
	msgbox Text_1869F4, 6
	end

Route15_EventScript_1AAE5F:: @ 81AAE5F
	trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_CRUSH_KIN_RON_MYA, 0, Text_186A95, Text_186ACB, Text_186B46
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AAE8A
	msgbox Text_186B0A, 6
	end

EventScript_1AAE8A:: @ 81AAE8A
	trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_CRUSH_KIN_RON_MYA, 0, Text_1C28A1, Text_186ACB, Text_186B46
	msgbox Text_186B0A, 6
	end

Route15_EventScript_1AAEA5:: @ 81AAEA5
	trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_CRUSH_KIN_RON_MYA, 0, Text_186B89, Text_186BB1, Text_186BFE
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AAED0
	msgbox Text_186BD2, 6
	end

EventScript_1AAED0:: @ 81AAED0
	trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_CRUSH_KIN_RON_MYA, 0, Text_1C28EC, Text_186BB1, Text_186BFE
	msgbox Text_186BD2, 6
	end

Route16_EventScript_1AAEEB:: @ 81AAEEB
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_LAO, 0, Text_186C4D, Text_186C5F
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AAF12
	msgbox Text_186C75, 6
	end

EventScript_1AAF12:: @ 81AAF12
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_LAO, 0, Text_1C2913, Text_186C5F
	msgbox Text_186C75, 6
	end

Route16_EventScript_1AAF29:: @ 81AAF29
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_HIDEO, 0, Text_186D39, Text_186D52
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AAF50
	msgbox Text_186D5A, 6
	end

EventScript_1AAF50:: @ 81AAF50
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_HIDEO, 0, Text_1C297B, Text_186D52
	msgbox Text_186D5A, 6
	end

Route16_EventScript_1AAF67:: @ 81AAF67
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_RUBEN, 0, Text_186E86, Text_186EB4
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AAF8E
	msgbox Text_186EC7, 6
	end

EventScript_1AAF8E:: @ 81AAF8E
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_RUBEN, 0, Text_1C29EB, Text_186EB4
	msgbox Text_186EC7, 6
	end

Route16_EventScript_1AAFA5:: @ 81AAFA5
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CUE_BALL_KOJI, 0, Text_186CA2, Text_186CBB
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AAFCC
	msgbox Text_186CC5, 6
	end

EventScript_1AAFCC:: @ 81AAFCC
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_KOJI, 0, Text_1C2925, Text_186CBB
	msgbox Text_186CC5, 6
	end

Route16_EventScript_1AAFE3:: @ 81AAFE3
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CUE_BALL_LUKE, 0, Text_186CE5, Text_186D06
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB00A
	msgbox Text_186D16, 6
	end

EventScript_1AB00A:: @ 81AB00A
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_LUKE, 0, Text_1C2944, Text_186D06
	msgbox Text_186D16, 6
	end

Route16_EventScript_1AB021:: @ 81AB021
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CUE_BALL_CAMRON, 0, Text_186DD9, Text_186E0D
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB048
	msgbox Text_186E1C, 6
	end

EventScript_1AB048:: @ 81AB048
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_CAMRON, 0, Text_1C29B0, Text_186E0D
	msgbox Text_186E1C, 6
	end

Route16_EventScript_1AB05F:: @ 81AB05F
	trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_YOUNG_COUPLE_LEA_JED, 0, Text_186FBD, Text_186FFA, Text_187057
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB08A
	msgbox Text_187027, 6
	end

EventScript_1AB08A:: @ 81AB08A
	trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_YOUNG_COUPLE_LEA_JED, 0, Text_1C2A19, Text_186FFA, Text_187057
	msgbox Text_187027, 6
	end

Route16_EventScript_1AB0A5:: @ 81AB0A5
	trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_YOUNG_COUPLE_LEA_JED, 0, Text_187097, Text_1870CC, Text_187120
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB0D0
	msgbox Text_1870F9, 6
	end

EventScript_1AB0D0:: @ 81AB0D0
	trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_YOUNG_COUPLE_LEA_JED, 0, Text_1C2A53, Text_1870CC, Text_187120
	msgbox Text_1870F9, 6
	end

Route17_EventScript_1AB0EB:: @ 81AB0EB
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_BILLY, 0, Text_1872BD, Text_1872E3
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB112
	msgbox Text_1872EB, 6
	end

EventScript_1AB112:: @ 81AB112
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_BILLY, 0, Text_1C2B06, Text_1872E3
	msgbox Text_1872EB, 6
	end

Route17_EventScript_1AB129:: @ 81AB129
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_NIKOLAS, 0, Text_18730A, Text_187325
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB150
	msgbox Text_187333, 6
	end

EventScript_1AB150:: @ 81AB150
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_NIKOLAS, 0, Text_1C2B2C, Text_187325
	msgbox Text_187333, 6
	end

Route17_EventScript_1AB167:: @ 81AB167
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_JAXON, 0, Text_187456, Text_187472
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB18E
	msgbox Text_187479, 6
	end

EventScript_1AB18E:: @ 81AB18E
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_JAXON, 0, Text_1C2BE6, Text_187472
	msgbox Text_187479, 6
	end

Route17_EventScript_1AB1A5:: @ 81AB1A5
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_WILLIAM, 0, Text_18749B, Text_1874B6
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB1CC
	msgbox Text_1874C9, 6
	end

EventScript_1AB1CC:: @ 81AB1CC
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_WILLIAM, 0, Text_1C2C10, Text_1874B6
	msgbox Text_1874C9, 6
	end

Route17_EventScript_1AB1E3:: @ 81AB1E3
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CUE_BALL_RAUL, 0, Text_18717E, Text_1871AE
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB20A
	msgbox Text_1871BA, 6
	end

EventScript_1AB20A:: @ 81AB20A
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_RAUL, 0, Text_1C2A88, Text_1871AE
	msgbox Text_1871BA, 6
	end

Route17_EventScript_1AB221:: @ 81AB221
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CUE_BALL_ISAIAH, 0, Text_187228, Text_187254
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB248
	msgbox Text_18725A, 6
	end

EventScript_1AB248:: @ 81AB248
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_ISAIAH, 0, Text_1C2AC4, Text_187254
	msgbox Text_18725A, 6
	end

Route17_EventScript_1AB25F:: @ 81AB25F
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CUE_BALL_ZEEK, 0, Text_187362, Text_187395
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB286
	msgbox Text_18739F, 6
	end

EventScript_1AB286:: @ 81AB286
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_ZEEK, 0, Text_1C2B5E, Text_187395
	msgbox Text_18739F, 6
	end

Route17_EventScript_1AB29D:: @ 81AB29D
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CUE_BALL_JAMAL, 0, Text_1873D1, Text_1873EB
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB2C4
	msgbox Text_1873FF, 6
	end

EventScript_1AB2C4:: @ 81AB2C4
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_JAMAL, 0, Text_1C2B9C, Text_1873EB
	msgbox Text_1873FF, 6
	end

Route17_EventScript_1AB2DB:: @ 81AB2DB
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CUE_BALL_COREY, 0, Text_18741D, Text_187429
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB302
	msgbox Text_187432, 6
	end

EventScript_1AB302:: @ 81AB302
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CUE_BALL_COREY, 0, Text_1C2BDA, Text_187429
	msgbox Text_187432, 6
	end

Route17_EventScript_1AB319:: @ 81AB319
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIKER_VIRGIL, 0, Text_18727D, Text_187295
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB340
	msgbox Text_1872A5, 6
	end

EventScript_1AB340:: @ 81AB340
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIKER_VIRGIL, 0, Text_1C2AF0, Text_187295
	msgbox Text_1872A5, 6
	end

Route18_EventScript_1AB357:: @ 81AB357
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_WILTON, 0, Text_187640, Text_187672
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB37E
	msgbox Text_187677, 6
	end

EventScript_1AB37E:: @ 81AB37E
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_WILTON, 0, Text_1C2C2B, Text_187672
	msgbox Text_187677, 6
	end

Route18_EventScript_1AB395:: @ 81AB395
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_RAMIRO, 0, Text_18768C, Text_1876B3
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB3BC
	msgbox Text_1876C5, 6
	end

EventScript_1AB3BC:: @ 81AB3BC
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_RAMIRO, 0, Text_1C2C7B, Text_1876B3
	msgbox Text_1876C5, 6
	end

Route18_EventScript_1AB3D3:: @ 81AB3D3
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_JACOB, 0, Text_187704, Text_187726
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB3FA
	msgbox Text_18772C, 6
	end

EventScript_1AB3FA:: @ 81AB3FA
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_JACOB, 0, Text_1C2CA8, Text_187726
	msgbox Text_18772C, 6
	end

Route19_EventScript_1AB411:: @ 81AB411
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_RICHARD, 0, Text_1877A3, Text_1877DF
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB438
	msgbox Text_1877EE, 6
	end

EventScript_1AB438:: @ 81AB438
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_RICHARD, 0, Text_1C2CEE, Text_1877DF
	msgbox Text_1877EE, 6
	end

Route19_EventScript_1AB44F:: @ 81AB44F
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_REECE, 0, Text_187811, Text_18783E
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB476
	msgbox Text_187852, 6
	end

EventScript_1AB476:: @ 81AB476
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_REECE, 0, Text_1C2D19, Text_18783E
	msgbox Text_187852, 6
	end

Route19_EventScript_1AB48D:: @ 81AB48D
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_MATTHEW, 0, Text_187884, Text_1878A5
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB4B4
	msgbox Text_1878B1, 6
	end

EventScript_1AB4B4:: @ 81AB4B4
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_MATTHEW, 0, Text_1C2D4B, Text_1878A5
	msgbox Text_1878B1, 6
	end

Route19_EventScript_1AB4CB:: @ 81AB4CB
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_DOUGLAS, 0, Text_1878DD, Text_1878F8
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB4F2
	msgbox Text_1878FE, 6
	end

EventScript_1AB4F2:: @ 81AB4F2
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_DOUGLAS, 0, Text_1C2D7D, Text_1878F8
	msgbox Text_1878FE, 6
	end

Route19_EventScript_1AB509:: @ 81AB509
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_DAVID, 0, Text_187925, Text_187955
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB530
	msgbox Text_18795B, 6
	end

EventScript_1AB530:: @ 81AB530
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_DAVID, 0, Text_1C2DA7, Text_187955
	msgbox Text_18795B, 6
	end

Route19_EventScript_1AB547:: @ 81AB547
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_TONY, 0, Text_187985, Text_1879C3
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB56E
	msgbox Text_1879D3, 6
	end

EventScript_1AB56E:: @ 81AB56E
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_TONY, 0, Text_1C2DE9, Text_1879C3
	msgbox Text_1879D3, 6
	end

Route19_EventScript_1AB585:: @ 81AB585
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_AXLE, 0, Text_187AFA, Text_187B25
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB5AC
	msgbox Text_187B35, 6
	end

EventScript_1AB5AC:: @ 81AB5AC
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_AXLE, 0, Text_1C2EC0, Text_187B25
	msgbox Text_187B35, 6
	end

Route19_EventScript_1AB5C3:: @ 81AB5C3
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_ANYA, 0, Text_187A11, Text_187A44
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB5EA
	msgbox Text_187A50, 6
	end

EventScript_1AB5EA:: @ 81AB5EA
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_ANYA, 0, Text_1C2E4A, Text_187A44
	msgbox Text_187A50, 6
	end

Route19_EventScript_1AB601:: @ 81AB601
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_ALICE, 0, Text_187A9E, Text_187AC1
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB628
	msgbox Text_187ACA, 6
	end

EventScript_1AB628:: @ 81AB628
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_ALICE, 0, Text_1C2E9D, Text_187AC1
	msgbox Text_187ACA, 6
	end

Route19_EventScript_1AB63F:: @ 81AB63F
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_CONNIE, 0, Text_187B5D, Text_187B85
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB666
	msgbox Text_187B94, 6
	end

EventScript_1AB666:: @ 81AB666
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_CONNIE, 0, Text_1C2EFC, Text_187B85
	msgbox Text_187B94, 6
	end

Route19_EventScript_1AB67D:: @ 81AB67D
	trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_SIS_AND_BRO_LIA_LUC, 0, Text_187C32, Text_187C6F, Text_187CF2
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB6A8
	msgbox Text_187C9E, 6
	end

EventScript_1AB6A8:: @ 81AB6A8
	trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_SIS_AND_BRO_LIA_LUC, 0, Text_1C2F41, Text_187C6F, Text_187CF2
	msgbox Text_187C9E, 6
	end

Route19_EventScript_1AB6C3:: @ 81AB6C3
	trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_SIS_AND_BRO_LIA_LUC, 0, Text_187D45, Text_187D7E, Text_187DE8
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB6EE
	msgbox Text_187DAD, 6
	end

EventScript_1AB6EE:: @ 81AB6EE
	trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_SIS_AND_BRO_LIA_LUC, 0, Text_1C2FAE, Text_187D7E, Text_187DE8
	msgbox Text_187DAD, 6
	end

Route20_EventScript_1AB709:: @ 81AB709
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_BARRY, 0, Text_187E40, Text_187E7B
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB730
	msgbox Text_187E83, 6
	end

EventScript_1AB730:: @ 81AB730
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_BARRY, 0, Text_1C2FF3, Text_187E7B
	msgbox Text_187E83, 6
	end

Route20_EventScript_1AB747:: @ 81AB747
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_DEAN, 0, Text_187FDB, Text_187FF7
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB76E
	msgbox Text_187FFE, 6
	end

EventScript_1AB76E:: @ 81AB76E
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_DEAN, 0, Text_1C30B0, Text_187FF7
	msgbox Text_187FFE, 6
	end

Route20_EventScript_1AB785:: @ 81AB785
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_DARRIN, 0, Text_18802E, Text_18805C
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB7AC
	msgbox Text_18806D, 6
	end

EventScript_1AB7AC:: @ 81AB7AC
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_DARRIN, 0, Text_1C30ED, Text_18805C
	msgbox Text_18806D, 6
	end

Route20_EventScript_1AB7C3:: @ 81AB7C3
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_TIFFANY, 0, Text_187F24, Text_187F5A
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB7EA
	msgbox Text_187F61, 6
	end

EventScript_1AB7EA:: @ 81AB7EA
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_TIFFANY, 0, Text_1C305F, Text_187F5A
	msgbox Text_187F61, 6
	end

Route20_EventScript_1AB801:: @ 81AB801
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_NORA, 0, Text_1880F8, Text_188119
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB828
	msgbox Text_188139, 6
	end

EventScript_1AB828:: @ 81AB828
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_NORA, 0, Text_1C3149, Text_188119
	msgbox Text_188139, 6
	end

Route20_EventScript_1AB83F:: @ 81AB83F
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_MELISSA, 0, Text_188218, Text_18825C
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB866
	msgbox Text_18827B, 6
	end

EventScript_1AB866:: @ 81AB866
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_MELISSA, 0, Text_1C31C4, Text_18825C
	msgbox Text_18827B, 6
	end

Route20_EventScript_1AB87D:: @ 81AB87D
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_SHIRLEY, 0, Text_187EBB, Text_187EED
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB8A4
	msgbox Text_187EF6, 6
	end

EventScript_1AB8A4:: @ 81AB8A4
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_SHIRLEY, 0, Text_1C302E, Text_187EED
	msgbox Text_187EF6, 6
	end

Route20_EventScript_1AB8BB:: @ 81AB8BB
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_ROGER, 0, Text_18808E, Text_1880AB
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB8E2
	msgbox Text_1880C8, 6
	end

EventScript_1AB8E2:: @ 81AB8E2
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_ROGER, 0, Text_1C312C, Text_1880AB
	msgbox Text_1880C8, 6
	end

Route20_EventScript_1AB8F9:: @ 81AB8F9
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_MISSY, 0, Text_188165, Text_1881A3
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB920
	msgbox Text_1881B8, 6
	end

EventScript_1AB920:: @ 81AB920
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_MISSY, 0, Text_1C3185, Text_1881A3
	msgbox Text_1881B8, 6
	end

Route20_EventScript_1AB937:: @ 81AB937
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_IRENE, 0, Text_187F78, Text_187F92
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB95E
	msgbox Text_187FA3, 6
	end

EventScript_1AB95E:: @ 81AB95E
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_IRENE, 0, Text_1C3095, Text_187F92
	msgbox Text_187FA3, 6
	end

Route21_North_EventScript_1AB975:: @ 81AB975
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_RONALD, 0, Text_18835A, Text_188383
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB99C
	msgbox Text_188389, 6
	end

EventScript_1AB99C:: @ 81AB99C
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_RONALD, 0, Text_1C3208, Text_188383
	msgbox Text_188389, 6
	end

Route21_South_EventScript_1AB9B3:: @ 81AB9B3
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_CLAUDE, 0, Text_1885D8, Text_1885F8
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AB9DA
	msgbox Text_188632, 6
	end

EventScript_1AB9DA:: @ 81AB9DA
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_CLAUDE, 0, Text_1C331D, Text_1885F8
	msgbox Text_188632, 6
	end

Route21_North_EventScript_1AB9F1:: @ 81AB9F1
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_WADE, 0, Text_1883C6, Text_1883E9
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ABA18
	msgbox Text_18841D, 6
	end

EventScript_1ABA18:: @ 81ABA18
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_WADE, 0, Text_1C3231, Text_1883E9
	msgbox Text_18841D, 6
	end

Route21_South_EventScript_1ABA2F:: @ 81ABA2F
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_NOLAN, 0, Text_18868C, Text_1886AE
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ABA56
	msgbox Text_1886C5, 6
	end

EventScript_1ABA56:: @ 81ABA56
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_NOLAN, 0, Text_1C3356, Text_1886AE
	msgbox Text_1886C5, 6
	end

Route21_North_EventScript_1ABA6D:: @ 81ABA6D
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_SPENCER, 0, Text_18843C, Text_18845F
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ABA94
	msgbox Text_188465, 6
	end

EventScript_1ABA94:: @ 81ABA94
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_SPENCER, 0, Text_1C3264, Text_18845F
	msgbox Text_188465, 6
	end

Route21_South_EventScript_1ABAAB:: @ 81ABAAB
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_JACK, 0, Text_1884D4, Text_1884F0
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ABAD2
	msgbox Text_1884FF, 6
	end

EventScript_1ABAD2:: @ 81ABAD2
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_JACK, 0, Text_1C3298, Text_1884F0
	msgbox Text_1884FF, 6
	end

Route21_South_EventScript_1ABAE9:: @ 81ABAE9
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_JEROME, 0, Text_18851F, Text_188543
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ABB10
	msgbox Text_188555, 6
	end

EventScript_1ABB10:: @ 81ABB10
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_JEROME, 0, Text_1C32D3, Text_188543
	msgbox Text_188555, 6
	end

Route21_South_EventScript_1ABB27:: @ 81ABB27
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_ROLAND, 0, Text_188592, Text_1885B2
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ABB4E
	msgbox Text_1885BF, 6
	end

EventScript_1ABB4E:: @ 81ABB4E
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_ROLAND, 0, Text_1C32FD, Text_1885B2
	msgbox Text_1885BF, 6
	end

Route21_North_EventScript_1ABB65:: @ 81ABB65
	trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_SIS_AND_BRO_LIL_IAN, 0, Text_1886E2, Text_188712, Text_18875E
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ABB90
	msgbox Text_188734, 6
	end

EventScript_1ABB90:: @ 81ABB90
	trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_SIS_AND_BRO_LIL_IAN, 0, Text_1C3378, Text_188712, Text_18875E
	msgbox Text_188734, 6
	end

Route21_North_EventScript_1ABBAB:: @ 81ABBAB
	trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_SIS_AND_BRO_LIL_IAN, 0, Text_1887B4, Text_1887F1, Text_188850
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ABBD6
	msgbox Text_188812, 6
	end

EventScript_1ABBD6:: @ 81ABBD6
	trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_SIS_AND_BRO_LIL_IAN, 0, Text_1C33AE, Text_1887F1, Text_188850
	msgbox Text_188812, 6
	end

OneIsland_KindleRoad_EventScript_1ABBF1:: @ 81ABBF1
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_MARIA, 0, Text_18961F, Text_18964D
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ABC18
	msgbox Text_189657, 6
	end

EventScript_1ABC18:: @ 81ABC18
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_MARIA, 0, Text_1C37B5, Text_18964D
	msgbox Text_189657, 6
	end

OneIsland_KindleRoad_EventScript_1ABC2F:: @ 81ABC2F
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_ABIGAIL, 0, Text_18968C, Text_1896AC
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ABC56
	msgbox Text_1896C1, 6
	end

EventScript_1ABC56:: @ 81ABC56
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_ABIGAIL, 0, Text_1C37E7, Text_1896AC
	msgbox Text_1896C1, 6
	end

OneIsland_KindleRoad_EventScript_1ABC6D:: @ 81ABC6D
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_FINN, 0, Text_1896F9, Text_189728
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ABC94
	msgbox Text_189740, 6
	end

EventScript_1ABC94:: @ 81ABC94
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_FINN, 0, Text_1C3807, Text_189728
	msgbox Text_189740, 6
	end

OneIsland_KindleRoad_EventScript_1ABCAB:: @ 81ABCAB
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_GARRETT, 0, Text_189767, Text_1897A4
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ABCD2
	msgbox Text_1897C5, 6
	end

EventScript_1ABCD2:: @ 81ABCD2
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_GARRETT, 0, Text_1C3835, Text_1897A4
	msgbox Text_1897C5, 6
	end

OneIsland_KindleRoad_EventScript_1ABCE9:: @ 81ABCE9
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_TOMMY, 0, Text_1897FF, Text_189833
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ABD10
	msgbox Text_18984B, 6
	end

EventScript_1ABD10:: @ 81ABD10
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_TOMMY, 0, Text_1C386A, Text_189833
	msgbox Text_18984B, 6
	end

OneIsland_KindleRoad_EventScript_1ABD27:: @ 81ABD27
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CRUSH_GIRL_SHARON, 0, Text_189883, Text_1898AB
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ABD4E
	msgbox Text_1898C4, 6
	end

EventScript_1ABD4E:: @ 81ABD4E
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CRUSH_GIRL_SHARON, 0, Text_1C389F, Text_1898AB
	msgbox Text_1898C4, 6
	end

OneIsland_KindleRoad_EventScript_1ABD65:: @ 81ABD65
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CRUSH_GIRL_TANYA, 0, Text_1898F0, Text_18991B
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ABD8C
	msgbox Text_18992C, 6
	end

EventScript_1ABD8C:: @ 81ABD8C
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CRUSH_GIRL_TANYA, 0, Text_1C38CA, Text_18991B
	msgbox Text_18992C, 6
	end

OneIsland_KindleRoad_EventScript_1ABDA3:: @ 81ABDA3
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BLACK_BELT_SHEA, 0, Text_189950, Text_18998C
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ABDCA
	msgbox Text_189998, 6
	end

EventScript_1ABDCA:: @ 81ABDCA
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BLACK_BELT_SHEA, 0, Text_1C38FA, Text_18998C
	msgbox Text_189998, 6
	end

OneIsland_KindleRoad_EventScript_1ABDE1:: @ 81ABDE1
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BLACK_BELT_HUGH, 0, Text_1899CE, Text_189A0A
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ABE08
	msgbox Text_189A13, 6
	end

EventScript_1ABE08:: @ 81ABE08
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BLACK_BELT_HUGH, 0, Text_1C3943, Text_189A0A
	msgbox Text_189A13, 6
	end

OneIsland_KindleRoad_EventScript_1ABE1F:: @ 81ABE1F
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CAMPER_BRYCE, 0, Text_189A53, Text_189A92
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ABE46
	msgbox Text_189A9F, 6
	end

EventScript_1ABE46:: @ 81ABE46
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CAMPER_BRYCE, 0, Text_1C3987, Text_189A92
	msgbox Text_189A9F, 6
	end

OneIsland_KindleRoad_EventScript_1ABE5D:: @ 81ABE5D
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PICNICKER_CLAIRE, 0, Text_189ACB, Text_189B0B
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ABE84
	msgbox Text_189B24, 6
	end

EventScript_1ABE84:: @ 81ABE84
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PICNICKER_CLAIRE, 0, Text_1C39C6, Text_189B0B
	msgbox Text_189B24, 6
	end

OneIsland_KindleRoad_EventScript_1ABE9B:: @ 81ABE9B
	trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_CRUSH_KIN_MIK_KIA, 0, Text_189B4D, Text_189B84, Text_189BDE
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ABEC6
	msgbox Text_189BA3, 6
	end

EventScript_1ABEC6:: @ 81ABEC6
	trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_CRUSH_KIN_MIK_KIA, 0, Text_1C3A05, Text_189B84, Text_189BDE
	msgbox Text_189BA3, 6
	end

OneIsland_KindleRoad_EventScript_1ABEE1:: @ 81ABEE1
	trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_CRUSH_KIN_MIK_KIA, 0, Text_189C33, Text_189C62, Text_189CAB
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ABF0C
	msgbox Text_189C7E, 6
	end

EventScript_1ABF0C:: @ 81ABF0C
	trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_CRUSH_KIN_MIK_KIA, 0, Text_1C3A55, Text_189C62, Text_189CAB
	msgbox Text_189C7E, 6
	end

OneIsland_TreasureBeach_EventScript_1ABF27:: @ 81ABF27
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_AMARA, 0, Text_189D5A, Text_189D8B
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ABF4E
	msgbox Text_189DA3, 6
	end

EventScript_1ABF4E:: @ 81ABF4E
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_AMARA, 0, Text_1C3773, Text_189D8B
	msgbox Text_189DA3, 6
	end

ThreeIsland_BondBridge_EventScript_1ABF65:: @ 81ABF65
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_AROMA_LADY_NIKKI, 0, Text_189E42, Text_189E72
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ABF8C
	msgbox Text_189E9E, 6
	end

EventScript_1ABF8C:: @ 81ABF8C
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_AROMA_LADY_NIKKI, 0, Text_1C3AA7, Text_189E72
	msgbox Text_189E9E, 6
	end

ThreeIsland_BondBridge_EventScript_1ABFA3:: @ 81ABFA3
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_AROMA_LADY_VIOLET, 0, Text_189ED4, Text_189EFA
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ABFCA
	msgbox Text_189F21, 6
	end

EventScript_1ABFCA:: @ 81ABFCA
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_AROMA_LADY_VIOLET, 0, Text_1C3ABF, Text_189EFA
	msgbox Text_189F21, 6
	end

ThreeIsland_BondBridge_EventScript_1ABFE1:: @ 81ABFE1
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_TUBER_AMIRA, 0, Text_189F63, Text_189F9A
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC008
	msgbox Text_189FA8, 6
	end

EventScript_1AC008:: @ 81AC008
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_TUBER_AMIRA, 0, Text_1C3AF2, Text_189F9A
	msgbox Text_189FA8, 6
	end

ThreeIsland_BondBridge_EventScript_1AC01F:: @ 81AC01F
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_TUBER_ALEXIS, 0, Text_189FDB, Text_189FEE
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC046
	msgbox Text_18A000, 6
	end

EventScript_1AC046:: @ 81AC046
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_TUBER_ALEXIS, 0, Text_1C3B1D, Text_189FEE
	msgbox Text_18A000, 6
	end

ThreeIsland_BondBridge_EventScript_1AC05D:: @ 81AC05D
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_TISHA, 0, Text_18A01F, Text_18A053
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC084
	msgbox Text_18A082, 6
	end

EventScript_1AC084:: @ 81AC084
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_TISHA, 0, Text_1C3B30, Text_18A053
	msgbox Text_18A082, 6
	end

ThreeIsland_BondBridge_EventScript_1AC09B:: @ 81AC09B
	trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_TWINS_JOY_MEG, 0, Text_18A0C4, Text_18A0F7, Text_18A138
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC0C6
	msgbox Text_18A106, 6
	end

EventScript_1AC0C6:: @ 81AC0C6
	trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_JOY_MEG, 0, Text_1C3B6E, Text_18A0F7, Text_18A138
	msgbox Text_18A106, 6
	end

ThreeIsland_BondBridge_EventScript_1AC0E1:: @ 81AC0E1
	trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_TWINS_JOY_MEG, 0, Text_18A179, Text_18A1A3, Text_18A1CD
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC10C
	msgbox Text_18A1B2, 6
	end

EventScript_1AC10C:: @ 81AC10C
	trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_JOY_MEG, 0, Text_1C3B99, Text_18A1A3, Text_18A1CD
	msgbox Text_18A1B2, 6
	end

FiveIsland_ResortGorgeous_EventScript_1AC127:: @ 81AC127
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PAINTER_DAISY, 0, Text_18A3E2, Text_18A40E
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC14E
	msgbox Text_18A430, 6
	end

EventScript_1AC14E:: @ 81AC14E
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PAINTER_DAISY, 0, Text_1C3BF6, Text_18A40E
	msgbox Text_18A430, 6
	end

FiveIsland_ResortGorgeous_EventScript_1AC165:: @ 81AC165
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PAINTER_CELINA, 0, Text_18A461, Text_18A49E
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC18C
	msgbox Text_18A4C6, 6
	end

EventScript_1AC18C:: @ 81AC18C
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PAINTER_CELINA, 0, Text_1C3C28, Text_18A49E
	msgbox Text_18A4C6, 6
	end

FiveIsland_ResortGorgeous_EventScript_1AC1A3:: @ 81AC1A3
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PAINTER_RAYNA, 0, Text_18A50E, Text_18A535
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC1CA
	msgbox Text_18A555, 6
	end

EventScript_1AC1CA:: @ 81AC1CA
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PAINTER_RAYNA, 0, Text_1C3C70, Text_18A535
	msgbox Text_18A555, 6
	end

FiveIsland_ResortGorgeous_EventScript_1AC1E1:: @ 81AC1E1
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LADY_JACKI, 0, Text_18A5B9, Text_18A5EE
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC208
	msgbox Text_18A601, 6
	end

EventScript_1AC208:: @ 81AC208
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LADY_JACKI, 0, Text_1C3CB0, Text_18A5EE
	msgbox Text_18A601, 6
	end

FiveIsland_ResortGorgeous_EventScript_1AC21F:: @ 81AC21F
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_LADY_GILLIAN, 0, Text_18A645, Text_18A67F
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC246
	msgbox Text_18A699, 6
	end

EventScript_1AC246:: @ 81AC246
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_LADY_GILLIAN, 0, Text_1C3CF1, Text_18A67F
	msgbox Text_18A699, 6
	end

FiveIsland_ResortGorgeous_EventScript_1AC25D:: @ 81AC25D
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_YOUNGSTER_DESTIN, 0, Text_18A6DA, Text_18A6FE
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC284
	msgbox Text_18A715, 6
	end

EventScript_1AC284:: @ 81AC284
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_YOUNGSTER_DESTIN, 0, Text_1C3D47, Text_18A6FE
	msgbox Text_18A715, 6
	end

FiveIsland_ResortGorgeous_EventScript_1AC29B:: @ 81AC29B
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_TOBY, 0, Text_18A74A, Text_18A786
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC2C2
	msgbox Text_18A7AC, 6
	end

EventScript_1AC2C2:: @ 81AC2C2
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_TOBY, 0, Text_1C3D73, Text_18A786
	msgbox Text_18A7AC, 6
	end

FiveIsland_WaterLabyrinth_EventScript_1AC2D9:: @ 81AC2D9
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PKMN_BREEDER_ALIZE, 0, Text_18AAD5, Text_18AB0B
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC300
	msgbox Text_18AB37, 6
	end

EventScript_1AC300:: @ 81AC300
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PKMN_BREEDER_ALIZE, 0, Text_1C3BB7, Text_18AB0B
	msgbox Text_18AB37, 6
	end

FiveIsland_MemorialPillar_EventScript_1AC317:: @ 81AC317
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_MILO, 0, Text_18AE50, Text_18AEA8
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC33E
	msgbox Text_18AEB6, 6
	end

EventScript_1AC33E:: @ 81AC33E
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_MILO, 0, Text_1C3DA2, Text_18AEA8
	msgbox Text_18AEB6, 6
	end

FiveIsland_MemorialPillar_EventScript_1AC355:: @ 81AC355
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_CHAZ, 0, Text_18AEDC, Text_18AF39
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC37C
	msgbox Text_18AF45, 6
	end

EventScript_1AC37C:: @ 81AC37C
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_CHAZ, 0, Text_1C3E0F, Text_18AF39
	msgbox Text_18AF45, 6
	end

FiveIsland_MemorialPillar_EventScript_1AC393:: @ 81AC393
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_BIRD_KEEPER_HAROLD, 0, Text_18AF72, Text_18AFCC
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC3BA
	msgbox Text_18AFF2, 6
	end

EventScript_1AC3BA:: @ 81AC3BA
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_BIRD_KEEPER_HAROLD, 0, Text_1C3E6A, Text_18AFCC
	msgbox Text_18AFF2, 6
	end

SixIsland_OutcastIsland_EventScript_1AC3D1:: @ 81AC3D1
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_FISHERMAN_TYLOR, 0, Text_18B400, Text_18B43B
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC3F8
	msgbox Text_18B451, 6
	end

EventScript_1AC3F8:: @ 81AC3F8
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_FISHERMAN_TYLOR, 0, Text_1C3ED0, Text_18B43B
	msgbox Text_18B451, 6
	end

SixIsland_OutcastIsland_EventScript_1AC40F:: @ 81AC40F
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_MYMO, 0, Text_18B48F, Text_18B4C5
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC436
	msgbox Text_18B4D1, 6
	end

EventScript_1AC436:: @ 81AC436
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_MYMO, 0, Text_1C3F11, Text_18B4C5
	msgbox Text_18B4D1, 6
	end

SixIsland_OutcastIsland_EventScript_1AC44D:: @ 81AC44D
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_NICOLE, 0, Text_18B4FA, Text_18B539
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC474
	msgbox Text_18B573, 6
	end

EventScript_1AC474:: @ 81AC474
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_NICOLE, 0, Text_1C3F51, Text_18B539
	msgbox Text_18B573, 6
	end

SixIsland_OutcastIsland_EventScript_1AC48B:: @ 81AC48B
	trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_SIS_AND_BRO_AVA_GEB, 0, Text_18B5C8, Text_18B5F4, Text_18B660
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC4B6
	msgbox Text_18B62E, 6
	end

EventScript_1AC4B6:: @ 81AC4B6
	trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_SIS_AND_BRO_AVA_GEB, 0, Text_1C3F7B, Text_18B5F4, Text_18B660
	msgbox Text_18B62E, 6
	end

SixIsland_OutcastIsland_EventScript_1AC4D1:: @ 81AC4D1
	trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_SIS_AND_BRO_AVA_GEB, 0, Text_18B6C1, Text_18B6EF, Text_18B762
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC4FC
	msgbox Text_18B720, 6
	end

EventScript_1AC4FC:: @ 81AC4FC
	trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_SIS_AND_BRO_AVA_GEB, 0, Text_1C3FB3, Text_18B6EF, Text_18B762
	msgbox Text_18B720, 6
	end

SixIsland_GreenPath_EventScript_1AC517:: @ 81AC517
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PSYCHIC_JACLYN, 0, Text_18B7B0, Text_18B7F0
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC53E
	msgbox Text_18B7FD, 6
	end

EventScript_1AC53E:: @ 81AC53E
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PSYCHIC_JACLYN, 0, Text_1C3FE9, Text_18B7F0
	msgbox Text_18B7FD, 6
	end

SixIsland_WaterPath_EventScript_1AC555:: @ 81AC555
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_AROMA_LADY_ROSE, 0, Text_18B896, Text_18B8C8
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC57C
	msgbox Text_18B8F7, 6
	end

EventScript_1AC57C:: @ 81AC57C
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_AROMA_LADY_ROSE, 0, Text_1C4028, Text_18B8C8
	msgbox Text_18B8F7, 6
	end

SixIsland_WaterPath_EventScript_1AC593:: @ 81AC593
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_JUGGLER_EDWARD, 0, Text_18B959, Text_18B988
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC5BA
	msgbox Text_18B9A5, 6
	end

EventScript_1AC5BA:: @ 81AC5BA
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_JUGGLER_EDWARD, 0, Text_1C4057, Text_18B988
	msgbox Text_18B9A5, 6
	end

SixIsland_WaterPath_EventScript_1AC5D1:: @ 81AC5D1
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_MALE_SAMIR, 0, Text_18B9EC, Text_18BA47
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC5F8
	msgbox Text_18BA57, 6
	end

EventScript_1AC5F8:: @ 81AC5F8
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_MALE_SAMIR, 0, Text_1C407F, Text_18BA47
	msgbox Text_18BA57, 6
	end

SixIsland_WaterPath_EventScript_1AC60F:: @ 81AC60F
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_SWIMMER_FEMALE_DENISE, 0, Text_18BA86, Text_18BAC0
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC636
	msgbox Text_18BAE0, 6
	end

EventScript_1AC636:: @ 81AC636
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_SWIMMER_FEMALE_DENISE, 0, Text_1C40D9, Text_18BAC0
	msgbox Text_18BAE0, 6
	end

SixIsland_WaterPath_EventScript_1AC64D:: @ 81AC64D
	trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_TWINS_MIU_MIA, 0, Text_18BBBA, Text_18BBE2, Text_18BC24
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC678
	msgbox Text_18BBF6, 6
	end

EventScript_1AC678:: @ 81AC678
	trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_MIU_MIA, 0, Text_1C4138, Text_18BBE2, Text_18BC24
	msgbox Text_18BBF6, 6
	end

SixIsland_WaterPath_EventScript_1AC693:: @ 81AC693
	trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_TWINS_MIU_MIA, 0, Text_18BC5A, Text_18BC84, Text_18BCCF
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC6BE
	msgbox Text_18BCAE, 6
	end

EventScript_1AC6BE:: @ 81AC6BE
	trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_TWINS_MIU_MIA, 0, Text_1C4166, Text_18BC84, Text_18BCCF
	msgbox Text_18BCAE, 6
	end

SixIsland_WaterPath_EventScript_1AC6D9:: @ 81AC6D9
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_EARL, 0, Text_18BB2D, Text_18BB62
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC700
	msgbox Text_18BB8B, 6
	end

EventScript_1AC700:: @ 81AC700
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_EARL, 0, Text_1C40FA, Text_18BB62
	msgbox Text_18BB8B, 6
	end

SixIsland_RuinValley_EventScript_1AC717:: @ 81AC717
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_RUIN_MANIAC_STANLY, 0, Text_18BE5D, Text_18BE9B
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC73E
	msgbox Text_18BEA0, 6
	end

EventScript_1AC73E:: @ 81AC73E
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_RUIN_MANIAC_STANLY, 0, Text_1C4196, Text_18BE9B
	msgbox Text_18BEA0, 6
	end

SixIsland_RuinValley_EventScript_1AC755:: @ 81AC755
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_RUIN_MANIAC_FOSTER, 0, Text_18BF05, Text_18BF33
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC77C
	msgbox Text_18BF6C, 6
	end

EventScript_1AC77C:: @ 81AC77C
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_RUIN_MANIAC_FOSTER, 0, Text_1C41D4, Text_18BF33
	msgbox Text_18BF6C, 6
	end

SixIsland_RuinValley_EventScript_1AC793:: @ 81AC793
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_RUIN_MANIAC_LARRY, 0, Text_18BFC5, Text_18C03B
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC7BA
	msgbox Text_18C04C, 6
	end

EventScript_1AC7BA:: @ 81AC7BA
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_RUIN_MANIAC_LARRY, 0, Text_1C4210, Text_18C03B
	msgbox Text_18C04C, 6
	end

SixIsland_RuinValley_EventScript_1AC7D1:: @ 81AC7D1
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_HIKER_DARYL, 0, Text_18C09C, Text_18C0BB
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC7F8
	msgbox Text_18C0EA, 6
	end

EventScript_1AC7F8:: @ 81AC7F8
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_HIKER_DARYL, 0, Text_1C4280, Text_18C0BB
	msgbox Text_18C0EA, 6
	end

SixIsland_RuinValley_EventScript_1AC80F:: @ 81AC80F
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_POKEMANIAC_HECTOR, 0, Text_18C10A, Text_18C140
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC836
	msgbox Text_18C17A, 6
	end

EventScript_1AC836:: @ 81AC836
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_POKEMANIAC_HECTOR, 0, Text_1C42A0, Text_18C140
	msgbox Text_18C17A, 6
	end

SevenIsland_TrainerTower_EventScript_1AC84D:: @ 81AC84D
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PSYCHIC_DARIO, 0, Text_18C1ED, Text_18C205
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC874
	msgbox Text_18C20E, 6
	end

EventScript_1AC874:: @ 81AC874
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PSYCHIC_DARIO, 0, Text_1C42D6, Text_18C205
	msgbox Text_18C20E, 6
	end

SevenIsland_TrainerTower_EventScript_1AC88B:: @ 81AC88B
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PSYCHIC_RODETTE, 0, Text_18C283, Text_18C2BC
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC8B2
	msgbox Text_18C2D5, 6
	end

EventScript_1AC8B2:: @ 81AC8B2
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PSYCHIC_RODETTE, 0, Text_1C42EE, Text_18C2BC
	msgbox Text_18C2D5, 6
	end

SevenIsland_SevaultCanyon_Entrance_EventScript_1AC8C9:: @ 81AC8C9
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_AROMA_LADY_MIAH, 0, Text_18C3BC, Text_18C3E7
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC8F0
	msgbox Text_18C3FF, 6
	end

EventScript_1AC8F0:: @ 81AC8F0
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_AROMA_LADY_MIAH, 0, Text_1C4327, Text_18C3E7
	msgbox Text_18C3FF, 6
	end

SevenIsland_SevaultCanyon_Entrance_EventScript_1AC907:: @ 81AC907
	trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_YOUNG_COUPLE_EVE_JON, 0, Text_18C632, Text_18C662, Text_18C6AB
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC932
	msgbox Text_18C683, 6
	end

EventScript_1AC932:: @ 81AC932
	trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_YOUNG_COUPLE_EVE_JON, 0, Text_1C4416, Text_18C662, Text_18C6AB
	msgbox Text_18C683, 6
	end

SevenIsland_SevaultCanyon_Entrance_EventScript_1AC94D:: @ 81AC94D
	trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_YOUNG_COUPLE_EVE_JON, 0, Text_18C700, Text_18C73B, Text_18C7BD
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC978
	msgbox Text_18C773, 6
	end

EventScript_1AC978:: @ 81AC978
	trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_YOUNG_COUPLE_EVE_JON, 0, Text_1C444C, Text_18C73B, Text_18C7BD
	msgbox Text_18C773, 6
	end

SevenIsland_SevaultCanyon_Entrance_EventScript_1AC993:: @ 81AC993
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_JUGGLER_MASON, 0, Text_18C44B, Text_18C473
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC9BA
	msgbox Text_18C4BA, 6
	end

EventScript_1AC9BA:: @ 81AC9BA
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_JUGGLER_MASON, 0, Text_1C4374, Text_18C473
	msgbox Text_18C4BA, 6
	end

SevenIsland_SevaultCanyon_Entrance_EventScript_1AC9D1:: @ 81AC9D1
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PKMN_RANGER_NICOLAS, 0, Text_18C500, Text_18C543
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1AC9F8
	msgbox Text_18C54B, 6
	end

EventScript_1AC9F8:: @ 81AC9F8
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PKMN_RANGER_NICOLAS, 0, Text_1C43AD, Text_18C543
	msgbox Text_18C54B, 6
	end

SevenIsland_SevaultCanyon_Entrance_EventScript_1ACA0F:: @ 81ACA0F
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PKMN_RANGER_MADELINE, 0, Text_18C5AA, Text_18C5CD
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ACA36
	msgbox Text_18C5F5, 6
	end

EventScript_1ACA36:: @ 81ACA36
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PKMN_RANGER_MADELINE, 0, Text_1C43EC, Text_18C5CD
	msgbox Text_18C5F5, 6
	end

SevenIsland_SevaultCanyon_EventScript_1ACA4D:: @ 81ACA4D
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_CRUSH_GIRL_CYNDY, 0, Text_18C887, Text_18C8A6
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ACA74
	msgbox Text_18C8C2, 6
	end

EventScript_1ACA74:: @ 81ACA74
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_CRUSH_GIRL_CYNDY, 0, Text_1C4491, Text_18C8A6
	msgbox Text_18C8C2, 6
	end

SevenIsland_SevaultCanyon_EventScript_1ACA8B:: @ 81ACA8B
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_TAMER_EVAN, 0, Text_18C8FD, Text_18C980
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ACAB2
	msgbox Text_18C999, 6
	end

EventScript_1ACAB2:: @ 81ACAB2
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_TAMER_EVAN, 0, Text_1C44CB, Text_18C980
	msgbox Text_18C999, 6
	end

SevenIsland_SevaultCanyon_EventScript_1ACAC9:: @ 81ACAC9
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PKMN_RANGER_JACKSON, 0, Text_18CA2F, Text_18CA6F
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ACAF0
	msgbox Text_18CA9C, 6
	end

EventScript_1ACAF0:: @ 81ACAF0
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PKMN_RANGER_JACKSON, 0, Text_1C454E, Text_18CA6F
	msgbox Text_18CA9C, 6
	end

SevenIsland_SevaultCanyon_EventScript_1ACB07:: @ 81ACB07
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PKMN_RANGER_KATELYN, 0, Text_18CB16, Text_18CB3E
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ACB2E
	msgbox Text_18CB6C, 6
	end

EventScript_1ACB2E:: @ 81ACB2E
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PKMN_RANGER_KATELYN, 0, Text_1C458E, Text_18CB3E
	msgbox Text_18CB6C, 6
	end

SevenIsland_SevaultCanyon_EventScript_1ACB45:: @ 81ACB45
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_COOLTRAINER_LEROY, 0, Text_18CBB4, Text_18CBE0
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ACB6C
	msgbox Text_18CC09, 6
	end

EventScript_1ACB6C:: @ 81ACB6C
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_COOLTRAINER_LEROY, 0, Text_1C45C2, Text_18CBE0
	msgbox Text_18CC09, 6
	end

SevenIsland_SevaultCanyon_EventScript_1ACB83:: @ 81ACB83
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_COOLTRAINER_MICHELLE, 0, Text_18CC4F, Text_18CCAE
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ACBAA
	msgbox Text_18CCEA, 6
	end

EventScript_1ACBAA:: @ 81ACBAA
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_COOLTRAINER_MICHELLE, 0, Text_1C45FB, Text_18CCAE
	msgbox Text_18CCEA, 6
	end

SevenIsland_SevaultCanyon_EventScript_1ACBC1:: @ 81ACBC1
	trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_COOL_COUPLE_LEX_NYA, 0, Text_18CD49, Text_18CD75, Text_18CDE2
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ACBEC
	msgbox Text_18CD9C, 6
	end

EventScript_1ACBEC:: @ 81ACBEC
	trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_COOL_COUPLE_LEX_NYA, 0, Text_1C4662, Text_18CD75, Text_18CDE2
	msgbox Text_18CD9C, 6
	end

SevenIsland_SevaultCanyon_EventScript_1ACC07:: @ 81ACC07
	trainerbattle TRAINER_BATTLE_DOUBLE, TRAINER_COOL_COUPLE_LEX_NYA, 0, Text_18CE20, Text_18CE5A, Text_18CEF4
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ACC32
	msgbox Text_18CE78, 6
	end

EventScript_1ACC32:: @ 81ACC32
	trainerbattle TRAINER_BATTLE_REMATCH_DOUBLE, TRAINER_COOL_COUPLE_LEX_NYA, 0, Text_1C4699, Text_18CE5A, Text_18CEF4
	msgbox Text_18CE78, 6
	end

SevenIsland_TanobyRuins_EventScript_1ACC4D:: @ 81ACC4D
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_RUIN_MANIAC_BRANDON, 0, Text_18CFFB, Text_18D02A
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ACC74
	msgbox Text_18D061, 6
	end

EventScript_1ACC74:: @ 81ACC74
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_RUIN_MANIAC_BRANDON, 0, Text_1C46D3, Text_18D02A
	msgbox Text_18D061, 6
	end

SevenIsland_TanobyRuins_EventScript_1ACC8B:: @ 81ACC8B
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_RUIN_MANIAC_BENJAMIN, 0, Text_18D0D9, Text_18D108
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ACCB2
	msgbox Text_18D125, 6
	end

EventScript_1ACCB2:: @ 81ACCB2
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_RUIN_MANIAC_BENJAMIN, 0, Text_1C470A, Text_18D108
	msgbox Text_18D125, 6
	end

SevenIsland_TanobyRuins_EventScript_1ACCC9:: @ 81ACCC9
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_PAINTER_EDNA, 0, Text_18D18F, Text_18D1B5
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ACCF0
	msgbox Text_18D1E3, 6
	end

EventScript_1ACCF0:: @ 81ACCF0
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_PAINTER_EDNA, 0, Text_1C4739, Text_18D1B5
	msgbox Text_18D1E3, 6
	end

SevenIsland_TanobyRuins_EventScript_1ACD07:: @ 81ACD07
	trainerbattle TRAINER_BATTLE_SINGLE, TRAINER_GENTLEMAN_CLIFFORD, 0, Text_18D22F, Text_18D26D
	specialvar VAR_RESULT, ShouldTryRematchBattle
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1ACD2E
	msgbox Text_18D284, 6
	end

EventScript_1ACD2E:: @ 81ACD2E
	trainerbattle TRAINER_BATTLE_REMATCH, TRAINER_GENTLEMAN_CLIFFORD, 0, Text_1C476A, Text_18D26D
	msgbox Text_18D284, 6
	end

@ Test message!
@ Welcome to the world of Pokémon!
Text_1ACD45:: @ 81ACD45
	.string "テストよう メッセージです!\n"
	.string "ポケモンの せかいへ ようこそ!$"

ViridianCity_House2_EventScript_1ACD65:: @ 81ACD65
	lock
	faceplayer
	famechecker FAMECHECKER_OAK, 3
	famechecker FAMECHECKER_DAISY, 3
	textcolor 3
	msgbox gUnknown_81B1AB9
	release
	end

EventScript_1ACD8D:: @ 81ACD8D
	lock
	faceplayer
	famechecker FAMECHECKER_DAISY, 1
	famechecker FAMECHECKER_OAK, 4
	textcolor 3
	msgbox gUnknown_81B1AB9
	release
	end

EventScript_1ACDB5:: @ 81ACDB5
	lock
	faceplayer
	famechecker FAMECHECKER_DAISY, 4
	textcolor 3
	msgbox gUnknown_81B1AB9
	release
	end

FourIsland_PokemonCenter_1F_EventScript_1ACDD0:: @ 81ACDD0
	lockall
	famechecker FAMECHECKER_DAISY, 5
	textcolor 3
	msgbox gUnknown_81B1B3D
	releaseall
	end

Route4_EventScript_1ACDEA:: @ 81ACDEA
	lock
	faceplayer
	famechecker FAMECHECKER_BROCK, 3
	msgbox Text_183D26
	release
	end

MtMoon_1F_EventScript_1ACE03:: @ 81ACE03
	lock
	faceplayer
	famechecker FAMECHECKER_BROCK, 4
	msgbox Text_172B00
	release
	end

PewterCity_Museum_1F_EventScript_1ACE1C:: @ 81ACE1C
	lockall
	famechecker FAMECHECKER_BROCK, 5
	textcolor 3
	msgbox gUnknown_81B146A
	releaseall
	end

Route20_EventScript_1ACE36:: @ 81ACE36
	lock
	faceplayer
	famechecker FAMECHECKER_MISTY, 3
	msgbox Text_1882E1
	release
	end

Route25_EventScript_1ACE4F:: @ 81ACE4F
	lock
	faceplayer
	famechecker FAMECHECKER_MISTY, 4
	msgbox Text_189569
	release
	end

CeruleanCity_PokemonCenter_1F_EventScript_1ACE68:: @ 81ACE68
	lock
	faceplayer
	famechecker FAMECHECKER_MISTY, 5
	textcolor 3
	msgbox gUnknown_81B14E8
	release
	end

VermilionCity_PokemonCenter_1F_EventScript_1ACE83:: @ 81ACE83
	lockall
	famechecker FAMECHECKER_LTSURGE, 5
	textcolor 3
	msgbox gUnknown_81B1558
	releaseall
	end

CeladonCity_Condominiums_2F_EventScript_1ACE9D:: @ 81ACE9D
	lock
	faceplayer
	famechecker FAMECHECKER_ERIKA, 5
	textcolor 3
	msgbox gUnknown_81B161B
	release
	end

FuchsiaCity_Building1_EventScript_1ACEB8:: @ 81ACEB8
	lock
	faceplayer
	famechecker FAMECHECKER_KOGA, 4
	textcolor 3
	msgbox gUnknown_81B16A8
	release
	end

SafariZone_Building3_EventScript_1ACED3:: @ 81ACED3
	lock
	faceplayer
	famechecker FAMECHECKER_KOGA, 5
	msgbox Text_177C47
	release
	end

SaffronCity_PokemonCenter_1F_EventScript_1ACEEC:: @ 81ACEEC
	lock
	faceplayer
	famechecker FAMECHECKER_SABRINA, 4
	textcolor 3
	msgbox gUnknown_81B1753
	release
	end

CinnabarIsland_Gym_EventScript_1ACF07:: @ 81ACF07
	lockall
	famechecker FAMECHECKER_BLAINE, 4
	famechecker FAMECHECKER_MRFUJI, 4
	msgbox Text_199E8A
	releaseall
	end

FiveIsland_ResortGorgeous_House_EventScript_1ACF2C:: @ 81ACF2C
	lockall
	famechecker FAMECHECKER_BLAINE, 5
	textcolor 3
	msgbox gUnknown_81B17E9
	releaseall
	end

FourIsland_Mart_EventScript_1ACF46:: @ 81ACF46
	lock
	faceplayer
	famechecker FAMECHECKER_LORELEI, 2
	msgbox Text_1A3A60
	release
	end

FiveIsland_PokemonCenter_1F_EventScript_1ACF5F:: @ 81ACF5F
	lock
	faceplayer
	famechecker FAMECHECKER_LORELEI, 3
	textcolor 3
	msgbox gUnknown_81B187F
	release
	end

SaffronCity_PokemonTrainerFanClub_EventScript_1ACF7A:: @ 81ACF7A
	lock
	faceplayer
	famechecker FAMECHECKER_BRUNO, 2
	textcolor 3
	msgbox gUnknown_81B1913
	release
	end

SevenIsland_SevaultCanyon_EventScript_1ACF95:: @ 81ACF95
	lock
	faceplayer
	famechecker FAMECHECKER_BRUNO, 5
	msgbox Text_18CF4D
	release
	end

IndigoPlateau_PokemonCenter_1F_EventScript_1ACFAE:: @ 81ACFAE
	lock
	faceplayer
	famechecker FAMECHECKER_AGATHA, 1
	famechecker FAMECHECKER_AGATHA, 2
	msgbox Text_19A9E7
	release
	end

SevenIsland_PokemonCenter_1F_EventScript_1ACFD4:: @ 81ACFD4
	lock
	faceplayer
	famechecker FAMECHECKER_AGATHA, 3
	textcolor 3
	msgbox gUnknown_81B19A8
	release
	end

SixIsland_Mart_EventScript_1ACFEF:: @ 81ACFEF
	lock
	faceplayer
	famechecker FAMECHECKER_AGATHA, 5
	msgbox Text_1A41CA
	release
	end

EventScript_1AD008:: @ 81AD008
	lock
	faceplayer
	famechecker FAMECHECKER_LANCE, 0
	msgbox gFameCheckerFlavorText_Lance0
	release
	end

EventScript_1AD021:: @ 81AD021
	lock
	faceplayer
	famechecker FAMECHECKER_LANCE, 1
	msgbox Text_181569
	release
	end

SaffronCity_EventScript_1AD03A:: @ 81AD03A
	lock
	faceplayer
	famechecker FAMECHECKER_LANCE, 2
	msgbox Text_181569
	release
	end

CeladonCity_DepartmentStore_2F_EventScript_1AD053:: @ 81AD053
	lock
	faceplayer
	famechecker FAMECHECKER_LANCE, 3
	msgbox Text_19566B
	release
	end

IndigoPlateau_PokemonCenter_1F_EventScript_1AD06C:: @ 81AD06C
	lock
	faceplayer
	famechecker FAMECHECKER_LANCE, 4
	textcolor 3
	msgbox gUnknown_81B1A31
	release
	end

IndigoPlateau_PokemonCenter_1F_EventScript_1AD087:: @ 81AD087
	lock
	faceplayer
	famechecker FAMECHECKER_LANCE, 5
	msgbox Text_19AB16
	release
	end

LavenderTown_PokemonCenter_1F_EventScript_1AD0A0:: @ 81AD0A0
	lock
	faceplayer
	famechecker FAMECHECKER_MRFUJI, 3
	msgbox Text_19358E
	release
	end

CinnabarIsland_PokemonCenter_1F_EventScript_1AD0B9:: @ 81AD0B9
	lock
	faceplayer
	famechecker FAMECHECKER_MRFUJI, 5
	textcolor 3
	msgbox gUnknown_81B1BD1
	release
	end

SilphCo_5F_EventScript_1AD0D4:: @ 81AD0D4
	lock
	faceplayer
	famechecker FAMECHECKER_GIOVANNI, 1
	msgbox Text_175E99
	release
	end

SilphCo_8F_EventScript_1AD0ED:: @ 81AD0ED
	lock
	faceplayer
	famechecker FAMECHECKER_GIOVANNI, 2
	msgbox Text_176ACB
	release
	end

	.include "data/text/fame_checker.inc"

CeladonCity_GameCorner_EventScript_1B2867:: @ 81B2867
	lockall
	showmoneybox 0, 0, 0
	msgbox gUnknown_81B1D7D, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1B2926
	checkmoney 50, 0
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1B292B
	playse SE_SHOP
	takemoney 50, 0
	updatemoneybox 0, 0, 0
	waitse
	message gUnknown_81B1E24
	waitmessage
	multichoice 21, 0, MULTICHOICE_TRAINER_CARD_ICON_TINT, TRUE
	switch VAR_RESULT
	case 0, EventScript_1B28DB
	case 1, EventScript_1B28E6
	case 2, EventScript_1B28F1
	case 3, EventScript_1B28FC
	end

EventScript_1B28DB:: @ 81B28DB
	setvar VAR_0x8004, 0
	goto EventScript_1B2907

EventScript_1B28E5:: @ 81B28E5
	end

EventScript_1B28E6:: @ 81B28E6
	setvar VAR_0x8004, 1
	goto EventScript_1B2907

EventScript_1B28F0:: @ 81B28F0
	end

EventScript_1B28F1:: @ 81B28F1
	setvar VAR_0x8004, 2
	goto EventScript_1B2907

EventScript_1B28FB:: @ 81B28FB
	end

EventScript_1B28FC:: @ 81B28FC
	setvar VAR_0x8004, 3
	goto EventScript_1B2907

EventScript_1B2906:: @ 81B2906
	end

EventScript_1B2907:: @ 81B2907
	message gUnknown_81B1E42
	waitmessage
	playse MUS_ME_PHOTO
	dofieldeffect FLDEFF_UNK_45
	delay 60
	special Special_UpdateTrainerCardPhotoIcons
	msgbox gUnknown_81B1E7D
	hidemoneybox 0, 0
	releaseall
	end

EventScript_1B2926:: @ 81B2926
	hidemoneybox 0, 0
	releaseall
	end

EventScript_1B292B:: @ 81B292B
	msgbox gUnknown_81B1E07
	hidemoneybox 0, 0
	releaseall
	end

FourIsland_House2_EventScript_1B2938:: @ 81B2938
	lock
	specialvar VAR_0x8008, Special_StickerLadyGetBragFlags
	checkflag FLAG_MET_STICKER_LADY
	goto_if FALSE, EventScript_1B2951
	checkflag FLAG_MET_STICKER_LADY
	goto_if TRUE, EventScript_1B2994
	end

EventScript_1B2951:: @ 81B2951
	setflag FLAG_MET_STICKER_LADY
	msgbox gUnknown_81B1EB3
	applymovement 1, Movement_1A75E1
	waitmovement 0
	playse SE_PIN
	applymovement 1, Movement_1A75DB
	waitmovement 0
	applymovement 1, Movement_1A75DD
	waitmovement 0
	compare_var_to_value VAR_0x8008, 0
	goto_if eq, EventScript_1B2B8E
	message gUnknown_81B1EF8
	waitmessage
	goto EventScript_1B29D0

EventScript_1B2993:: @ 81B2993
	end

EventScript_1B2994:: @ 81B2994
	applymovement 1, Movement_1A75E1
	waitmovement 0
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A7AE0
	special sub_8112364
	compare_var_to_value VAR_0x8008, 0
	goto_if eq, EventScript_1B29C6
	message gUnknown_81B2025
	waitmessage
	goto EventScript_1B29D0

EventScript_1B29C5:: @ 81B29C5
	end

EventScript_1B29C6:: @ 81B29C6
	msgbox gUnknown_81B1FEF
	release
	end

EventScript_1B29D0:: @ 81B29D0
	switch VAR_0x8008
	case 1, EventScript_1B2A23
	case 2, EventScript_1B2A4F
	case 4, EventScript_1B2A7B
	case 3, EventScript_1B2AA7
	case 5, EventScript_1B2ADE
	case 6, EventScript_1B2B15
	case 7, EventScript_1B2B4C
	end

EventScript_1B2A23:: @ 81B2A23
	multichoice 15, 8, MULTICHOICE_HOF_QUIT, FALSE
	switch VAR_RESULT
	case 0, EventScript_1B2B98
	case 1, EventScript_1B2DF6
	case SCR_MENU_CANCEL, EventScript_1B2DF6
	end

EventScript_1B2A4F:: @ 81B2A4F
	multichoice 16, 8, MULTICHOICE_EGGS_QUIT, FALSE
	switch VAR_RESULT
	case 0, EventScript_1B2C62
	case 1, EventScript_1B2DF6
	case SCR_MENU_CANCEL, EventScript_1B2DF6
	end

EventScript_1B2A7B:: @ 81B2A7B
	multichoice 15, 8, MULTICHOICE_VICTORIES_QUIT, FALSE
	switch VAR_RESULT
	case 0, EventScript_1B2D2C
	case 1, EventScript_1B2DF6
	case SCR_MENU_CANCEL, EventScript_1B2DF6
	end

EventScript_1B2AA7:: @ 81B2AA7
	multichoice 15, 6, MULTICHOICE_HOF_EGGS_QUIT, FALSE
	switch VAR_RESULT
	case 0, EventScript_1B2B98
	case 1, EventScript_1B2C62
	case 2, EventScript_1B2DF6
	case SCR_MENU_CANCEL, EventScript_1B2DF6
	end

EventScript_1B2ADE:: @ 81B2ADE
	multichoice 15, 6, MULTICHOICE_HOF_VICTORIES_QUIT, FALSE
	switch VAR_RESULT
	case 0, EventScript_1B2B98
	case 1, EventScript_1B2D2C
	case 2, EventScript_1B2DF6
	case SCR_MENU_CANCEL, EventScript_1B2DF6
	end

EventScript_1B2B15:: @ 81B2B15
	multichoice 15, 6, MULTICHOICE_EGGS_VICTORIES_QUIT, FALSE
	switch VAR_RESULT
	case 0, EventScript_1B2C62
	case 1, EventScript_1B2D2C
	case 2, EventScript_1B2DF6
	case SCR_MENU_CANCEL, EventScript_1B2DF6
	end

EventScript_1B2B4C:: @ 81B2B4C
	multichoice 15, 5, MULTICHOICE_HOF_EGGS_VICTORIES_QUIT, FALSE
	switch VAR_RESULT
	case 0, EventScript_1B2B98
	case 1, EventScript_1B2C62
	case 2, EventScript_1B2D2C
	case 3, EventScript_1B2DF6
	case SCR_MENU_CANCEL, EventScript_1B2DF6
	end

EventScript_1B2B8E:: @ 81B2B8E
	msgbox gUnknown_81B1EF8
	release
	end

EventScript_1B2B98:: @ 81B2B98
	compare_var_to_value VAR_0x8004, 39
	goto_if le, EventScript_1B2BC5
	compare_var_to_value VAR_0x8004, 99
	goto_if le, EventScript_1B2BE3
	compare_var_to_value VAR_0x8004, 199
	goto_if le, EventScript_1B2C01
	compare_var_to_value VAR_0x8004, 200
	goto_if ge, EventScript_1B2C1F
	end

EventScript_1B2BC5:: @ 81B2BC5
	compare_var_to_value VAR_HOF_BRAG_STATE, 1
	goto_if eq, EventScript_1B2C3D
	setvar VAR_HOF_BRAG_STATE, 1
	msgbox gUnknown_81B206E
	goto EventScript_1B2C51

EventScript_1B2BE2:: @ 81B2BE2
	end

EventScript_1B2BE3:: @ 81B2BE3
	compare_var_to_value VAR_HOF_BRAG_STATE, 2
	goto_if eq, EventScript_1B2C3D
	setvar VAR_HOF_BRAG_STATE, 2
	msgbox gUnknown_81B20CF
	goto EventScript_1B2C51

EventScript_1B2C00:: @ 81B2C00
	end

EventScript_1B2C01:: @ 81B2C01
	compare_var_to_value VAR_HOF_BRAG_STATE, 3
	goto_if eq, EventScript_1B2C3D
	setvar VAR_HOF_BRAG_STATE, 3
	msgbox gUnknown_81B2133
	goto EventScript_1B2C51

EventScript_1B2C1E:: @ 81B2C1E
	end

EventScript_1B2C1F:: @ 81B2C1F
	compare_var_to_value VAR_HOF_BRAG_STATE, 4
	goto_if eq, EventScript_1B2C47
	setvar VAR_HOF_BRAG_STATE, 4
	msgbox gUnknown_81B21C4
	goto EventScript_1B2C51

EventScript_1B2C3C:: @ 81B2C3C
	end

EventScript_1B2C3D:: @ 81B2C3D
	msgbox gUnknown_81B227C
	release
	end

EventScript_1B2C47:: @ 81B2C47
	msgbox gUnknown_81B22B0
	release
	end

EventScript_1B2C51:: @ 81B2C51
	textcolor 3
	playfanfare MUS_FANFA1
	message gUnknown_81B2242
	waitmessage
	waitfanfare
	delay 90
	release
	end

EventScript_1B2C62:: @ 81B2C62
	compare_var_to_value VAR_0x8005, 99
	goto_if le, EventScript_1B2C8F
	compare_var_to_value VAR_0x8005, 199
	goto_if le, EventScript_1B2CAD
	compare_var_to_value VAR_0x8005, 299
	goto_if le, EventScript_1B2CCB
	compare_var_to_value VAR_0x8005, 300
	goto_if ge, EventScript_1B2CE9
	end

EventScript_1B2C8F:: @ 81B2C8F
	compare_var_to_value VAR_EGG_BRAG_STATE, 1
	goto_if eq, EventScript_1B2D07
	setvar VAR_EGG_BRAG_STATE, 1
	msgbox gUnknown_81B2308
	goto EventScript_1B2D1B

EventScript_1B2CAC:: @ 81B2CAC
	end

EventScript_1B2CAD:: @ 81B2CAD
	compare_var_to_value VAR_EGG_BRAG_STATE, 2
	goto_if eq, EventScript_1B2D07
	setvar VAR_EGG_BRAG_STATE, 2
	msgbox gUnknown_81B2372
	goto EventScript_1B2D1B

EventScript_1B2CCA:: @ 81B2CCA
	end

EventScript_1B2CCB:: @ 81B2CCB
	compare_var_to_value VAR_EGG_BRAG_STATE, 3
	goto_if eq, EventScript_1B2D07
	setvar VAR_EGG_BRAG_STATE, 3
	msgbox gUnknown_81B23E0
	goto EventScript_1B2D1B

EventScript_1B2CE8:: @ 81B2CE8
	end

EventScript_1B2CE9:: @ 81B2CE9
	compare_var_to_value VAR_EGG_BRAG_STATE, 4
	goto_if eq, EventScript_1B2D11
	setvar VAR_EGG_BRAG_STATE, 4
	msgbox gUnknown_81B2448
	goto EventScript_1B2D1B

EventScript_1B2D06:: @ 81B2D06
	end

EventScript_1B2D07:: @ 81B2D07
	msgbox gUnknown_81B251B
	release
	end

EventScript_1B2D11:: @ 81B2D11
	msgbox gUnknown_81B254F
	release
	end

EventScript_1B2D1B:: @ 81B2D1B
	textcolor 3
	playfanfare MUS_FANFA1
	message gUnknown_81B24EA
	waitmessage
	waitfanfare
	delay 90
	release
	end

EventScript_1B2D2C:: @ 81B2D2C
	compare_var_to_value VAR_0x8006, 19
	goto_if le, EventScript_1B2D59
	compare_var_to_value VAR_0x8006, 49
	goto_if le, EventScript_1B2D77
	compare_var_to_value VAR_0x8006, 99
	goto_if le, EventScript_1B2D95
	compare_var_to_value VAR_0x8006, 100
	goto_if ge, EventScript_1B2DB3
	end

EventScript_1B2D59:: @ 81B2D59
	compare_var_to_value VAR_LINK_WIN_BRAG_STATE, 1
	goto_if eq, EventScript_1B2DD1
	setvar VAR_LINK_WIN_BRAG_STATE, 1
	msgbox gUnknown_81B25A7
	goto EventScript_1B2DE5

EventScript_1B2D76:: @ 81B2D76
	end

EventScript_1B2D77:: @ 81B2D77
	compare_var_to_value VAR_LINK_WIN_BRAG_STATE, 2
	goto_if eq, EventScript_1B2DD1
	setvar VAR_LINK_WIN_BRAG_STATE, 2
	msgbox gUnknown_81B2609
	goto EventScript_1B2DE5

EventScript_1B2D94:: @ 81B2D94
	end

EventScript_1B2D95:: @ 81B2D95
	compare_var_to_value VAR_LINK_WIN_BRAG_STATE, 3
	goto_if eq, EventScript_1B2DD1
	setvar VAR_LINK_WIN_BRAG_STATE, 3
	msgbox gUnknown_81B267B
	goto EventScript_1B2DE5

EventScript_1B2DB2:: @ 81B2DB2
	end

EventScript_1B2DB3:: @ 81B2DB3
	compare_var_to_value VAR_LINK_WIN_BRAG_STATE, 4
	goto_if eq, EventScript_1B2DDB
	setvar VAR_LINK_WIN_BRAG_STATE, 4
	msgbox gUnknown_81B26F6
	goto EventScript_1B2DE5

EventScript_1B2DD0:: @ 81B2DD0
	end

EventScript_1B2DD1:: @ 81B2DD1
	msgbox gUnknown_81B27DB
	release
	end

EventScript_1B2DDB:: @ 81B2DDB
	msgbox gUnknown_81B280F
	release
	end

EventScript_1B2DE5:: @ 81B2DE5
	textcolor 3
	playfanfare MUS_FANFA1
	message gUnknown_81B27A6
	waitmessage
	waitfanfare
	delay 90
	release
	end

EventScript_1B2DF6:: @ 81B2DF6
	release
	end

	.include "data/text/help_system.inc"

CeladonCity_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
CeruleanCity_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
CinnabarIsland_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
FiveIsland_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
FourIsland_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
FuchsiaCity_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
IndigoPlateau_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
LavenderTown_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
OneIsland_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
PewterCity_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
Route10_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
Route4_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
SaffronCity_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
SevenIsland_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
SixIsland_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
ThreeIsland_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
TwoIsland_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
VermilionCity_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
ViridianCity_PokemonCenter_2F_MapScript4_1BB1B4:: @ 81BB1B4
	call EventScript_1BB1BA
	end

EventScript_1BB1BA:: @ 81BB1BA
	specialvar VAR_RESULT, ValidateReceivedWonderCard
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BB1CE
	clearflag FLAG_HIDE_MG_DELIVERYMEN
	return

EventScript_1BB1CE:: @ 81BB1CE
	setflag FLAG_HIDE_MG_DELIVERYMEN
	return

CeruleanCity_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
CinnabarIsland_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
FiveIsland_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
FuchsiaCity_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
OneIsland_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
PewterCity_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
SevenIsland_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
VermilionCity_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
FourIsland_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
SixIsland_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
ThreeIsland_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
TwoIsland_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
Route10_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
Route10_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
Route4_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
SaffronCity_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
IndigoPlateau_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
CeladonCity_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
LavenderTown_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
ViridianCity_PokemonCenter_2F_EventScript_1BB1D2:: @ 81BB1D2
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A7AE0
	special sub_8112364
	execram

EventScript_1BB1E4:: @ 81BB1E4
	msgbox Text_1A6393, 2
	end

CeladonCity_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
CeruleanCity_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
CinnabarIsland_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
FiveIsland_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
FourIsland_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
FuchsiaCity_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
IndigoPlateau_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
LavenderTown_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
OneIsland_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
PewterCity_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
Route10_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
Route4_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
SaffronCity_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
SevenIsland_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
SixIsland_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
ThreeIsland_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
TwoIsland_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
VermilionCity_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
ViridianCity_PokemonCenter_2F_MapScript2_1BB1ED:: @ 81BB1ED
	map_script_2 VAR_0x406F, 1, EventScript_1BB227
	map_script_2 VAR_0x406F, 2, EventScript_1BB227
	map_script_2 VAR_0x406F, 5, EventScript_1BB227
	map_script_2 VAR_0x406F, 3, EventScript_1BB227
	map_script_2 VAR_0x406F, 6, EventScript_1BB227
	map_script_2 VAR_0x406F, 7, EventScript_1BB227
	map_script_2 VAR_0x406F, 8, EventScript_1BB227
	.2byte 0

EventScript_1BB227:: @ 81BB227
	compare_var_to_value VAR_0x8007, 0
	goto_if eq, EventScript_1BB236
	turnobject VAR_0x8007, 3
EventScript_1BB236:
	end

CeladonCity_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
CeruleanCity_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
CinnabarIsland_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
FiveIsland_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
FourIsland_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
FuchsiaCity_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
IndigoPlateau_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
LavenderTown_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
OneIsland_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
PewterCity_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
Route10_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
Route4_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
SaffronCity_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
SevenIsland_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
SixIsland_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
ThreeIsland_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
TwoIsland_JoyfulGameCorner_MapScript4_1BB237:: @ 81BB237
TwoIsland_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
VermilionCity_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
ViridianCity_PokemonCenter_2F_MapScript3_1BB237:: @ 81BB237
	compare_var_to_value VAR_0x406F, 1
	goto_if eq, EventScript_1BB285
	compare_var_to_value VAR_0x406F, 2
	goto_if eq, EventScript_1BB285
	compare_var_to_value VAR_0x406F, 5
	goto_if eq, EventScript_1BB285
	compare_var_to_value VAR_0x406F, 3
	goto_if eq, EventScript_1BB28B
	compare_var_to_value VAR_0x406F, 6
	goto_if eq, EventScript_1BB291
	compare_var_to_value VAR_0x406F, 7
	goto_if eq, EventScript_1BB297
	compare_var_to_value VAR_0x406F, 8
	goto_if eq, EventScript_1BB29D
	end

EventScript_1BB285:: @ 81BB285
	call EventScript_1BC034
	end

EventScript_1BB28B:: @ 81BB28B
	call EventScript_1BC034
	end

EventScript_1BB291:: @ 81BB291
	call EventScript_1BC020
	end

EventScript_1BB297:: @ 81BB297
	call EventScript_1BC034
	end

EventScript_1BB29D:: @ 81BB29D
	call EventScript_1BC048
	end

CeladonCity_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
CeruleanCity_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
CinnabarIsland_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
FiveIsland_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
FourIsland_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
FuchsiaCity_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
IndigoPlateau_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
LavenderTown_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
OneIsland_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
PewterCity_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
Route10_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
Route4_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
SaffronCity_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
SevenIsland_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
SixIsland_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
ThreeIsland_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
TwoIsland_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
VermilionCity_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
ViridianCity_PokemonCenter_2F_MapScript1_1BB2A3:: @ 81BB2A3
	map_script_2 VAR_MAP_SCENE_POKEMON_CENTER_TEALA, 1, EventScript_1BB415
	map_script_2 VAR_0x406F, 1, EventScript_1BB2E5
	map_script_2 VAR_0x406F, 2, EventScript_1BB2E5
	map_script_2 VAR_0x406F, 5, EventScript_1BB2E5
	map_script_2 VAR_0x406F, 3, EventScript_1BB34F
	map_script_2 VAR_0x406F, 6, EventScript_1BB39C
	map_script_2 VAR_0x406F, 7, EventScript_1BB2E5
	map_script_2 VAR_0x406F, 8, EventScript_1BB2FD
	.2byte 0

EventScript_1BB2E5:: @ 81BB2E5
	lockall
	call EventScript_1BB315
	call EventScript_1BC03E
	special DrawWholeMapView
	playse SE_TK_KASYA
	erasebox 0, 0, 29, 19
	releaseall
	end

EventScript_1BB2FD:: @ 81BB2FD
	lockall
	call EventScript_1BB315
	call EventScript_1BC052
	special DrawWholeMapView
	playse SE_TK_KASYA
	erasebox 0, 0, 29, 19
	releaseall
	end

EventScript_1BB315:: @ 81BB315
	special CloseLink
	special HelpSystem_Enable
	special sub_811390C
	setvar VAR_0x406F, 0
	textcolor 1
	compare_var_to_value VAR_0x8007, 0
	goto_if eq, EventScript_1BB40A
	applymovement VAR_0x8007, Movement_1BB88F
	waitmovement 0
	applymovement 255, Movement_1BB891
	waitmovement 0
	applymovement VAR_0x8007, Movement_1BB88B
	waitmovement 0
	return

EventScript_1BB34F:: @ 81BB34F
	lockall
	call EventScript_1BB367
	call EventScript_1BC03E
	special DrawWholeMapView
	playse SE_TK_KASYA
	erasebox 0, 0, 29, 19
	releaseall
	end

EventScript_1BB367:: @ 81BB367
	special CloseLink
	special HelpSystem_Enable
	special sub_811390C
	setvar VAR_0x406F, 0
	textcolor 1
	compare_var_to_value VAR_0x8007, 0
	goto_if eq, EventScript_1BB40A
	applymovement 255, Movement_1BB8A0
	waitmovement 0
	applymovement VAR_0x8007, Movement_1BB88F
	waitmovement 0
	call EventScript_1BB3E6
	return

EventScript_1BB39C:: @ 81BB39C
	lockall
	call EventScript_1BB3B4
	call EventScript_1BC02A
	special DrawWholeMapView
	playse SE_TK_KASYA
	erasebox 0, 0, 29, 19
	releaseall
	end

EventScript_1BB3B4:: @ 81BB3B4
	special HelpSystem_Enable
	special sub_811390C
	setvar VAR_0x406F, 0
	textcolor 1
	compare_var_to_value VAR_0x8007, 0
	goto_if eq, EventScript_1BB40A
	applymovement 255, Movement_1BB8A0
	waitmovement 0
	applymovement VAR_0x8007, Movement_1BB88F
	waitmovement 0
	call EventScript_1BB3E6
	return

EventScript_1BB3E6:: @ 81BB3E6
	message Text_1BC918
	waitmessage
	playse SE_PIN
	message Text_1BC943
	waitmessage
	applymovement 255, Movement_1BB891
	waitmovement 0
	applymovement VAR_0x8007, Movement_1BB88B
	waitmovement 0
	return

EventScript_1BB40A:: @ 81BB40A
	applymovement 255, Movement_1BB891
	waitmovement 0
	return

EventScript_1BB415:: @ 81BB415
	lockall
	textcolor 1
	applymovement 255, Movement_1A75E9
	waitmovement 0
	msgbox gUnknown_81BD898
	closemessage
	applymovement 255, Movement_1BB447
	waitmovement 0
	delay 30
	msgbox gUnknown_81BD966
	setvar VAR_MAP_SCENE_POKEMON_CENTER_TEALA, 2
	releaseall
	end

Movement_1BB447:: @ 81BB447
	step_11
	step_11
	step_end

EventScript_1BB44A:: @ 81BB44A
	message gUnknown_81BC311
	waitmessage
	delay 15
	goto EventScript_1BB467
	end

EventScript_1BB459:: @ 81BB459
	msgbox gUnknown_81BC35E
	goto EventScript_1BB467
	end

EventScript_1BB467:: @ 81BB467
	setvar VAR_0x8004, 0
	multichoice 0, 0, MULTICHOICE_TRADE_CENTER_COLOSSEUM, FALSE
	switch VAR_RESULT
	case 0, EventScript_1BB6AB
	case 1, EventScript_1BB4A3
	case 2, EventScript_1BB82F
	case SCR_MENU_CANCEL, EventScript_1BB82F
	end

EventScript_1BB4A3:: @ 81BB4A3
	copyvar VAR_0x8007, VAR_LAST_TALKED
	goto EventScript_1BB4AE

EventScript_1BB4AD:: @ 81BB4AD
	end

EventScript_1BB4AE:: @ 81BB4AE
	message Text_1BD338
	waitmessage
	multichoice 0, 0, MULTICHOICE_SINGLE_DOUBLE_MULTI_INFO_EXIT, FALSE
	switch VAR_RESULT
	case 0, EventScript_1BB50F
	case 1, EventScript_1BB51A
	case 2, EventScript_1BB541
	case 3, EventScript_1BB501
	case 4, EventScript_1BB82F
	case SCR_MENU_CANCEL, EventScript_1BB82F
	end

EventScript_1BB501:: @ 81BB501
	msgbox gUnknown_81BD390
	goto EventScript_1BB4AE

EventScript_1BB50E:: @ 81BB50E
	end

EventScript_1BB50F:: @ 81BB50F
	setvar VAR_0x8004, 1
	goto EventScript_1BB54C

EventScript_1BB519:: @ 81BB519
	end

EventScript_1BB51A:: @ 81BB51A
	special CheckForAlivePartyMons
	compare_var_to_value VAR_RESULT, 0
	goto_if ne, EventScript_1BB533
	setvar VAR_0x8004, 2
	goto EventScript_1BB54C

EventScript_1BB532:: @ 81BB532
	end

EventScript_1BB533:: @ 81BB533
	msgbox gUnknown_81BC409
	goto EventScript_1BB4AE

EventScript_1BB540:: @ 81BB540
	end

EventScript_1BB541:: @ 81BB541
	setvar VAR_0x8004, 5
	goto EventScript_1BB54C

EventScript_1BB54B:: @ 81BB54B
	end

EventScript_1BB54C:: @ 81BB54C
	call EventScript_1A4EAF
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BB82F
	message gUnknown_81BC4AC
	waitmessage
	special HelpSystem_Disable
	textcolor 3
	special sub_8081064
	waitstate
	call EventScript_1A6675
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1BB5B3
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1BB80F
	compare_var_to_value VAR_RESULT, 3
	goto_if eq, EventScript_1BB81F
	compare_var_to_value VAR_RESULT, 4
	goto_if eq, EventScript_1BB63C
	compare_var_to_value VAR_RESULT, 5
	goto_if eq, EventScript_1BB82F
	compare_var_to_value VAR_RESULT, 6
	goto_if eq, EventScript_1BB7FF
	end

EventScript_1BB5B3:: @ 81BB5B3
	special sp000_heal_pokemon
	special SavePlayerParty
	special LoadPlayerBag
	copyvar VAR_0x406F, VAR_0x8004
	messageautoscroll Text_1BC590
	waitmessage
	call EventScript_1BC034
	special DrawWholeMapView
	playse SE_TK_KASYA
	delay 60
	applymovement VAR_LAST_TALKED, Movement_1BB88F
	waitmovement 0
	closemessage
	applymovement 255, Movement_1BB898
	waitmovement 0
	opendoor 9, 1
	waitdooranim
	applymovement 255, Movement_1BB89C
	waitmovement 0
	hideobject 255, MAP_UNKNOWN_MAP_00_00
	closedoor 9, 1
	waitdooranim
	release
	compare_var_to_value VAR_0x8004, 5
	goto_if eq, EventScript_1BB62C
	special SetCableClubWarp
	warp MAP_UNKNOWN_MAP_00_00, 255, 6, 8
	special DoCableClubWarp
	waitstate
	end

EventScript_1BB621:: @ 81BB621
	applymovement 255, Movement_1BB894
	waitmovement 0
	return

EventScript_1BB62C:: @ 81BB62C
	special SetCableClubWarp
	warp MAP_UNKNOWN_MAP_00_03, 255, 5, 8
	special DoCableClubWarp
	waitstate
	end

EventScript_1BB63C:: @ 81BB63C
	switch VAR_0x8004
	case 1, EventScript_1BB68A
	case 2, EventScript_1BB679
	case 5, EventScript_1BB668
	goto EventScript_1BB857

EventScript_1BB667:: @ 81BB667
	end

EventScript_1BB668:: @ 81BB668
	special CloseLink
	msgbox gUnknown_81BC736
	goto EventScript_1BB69B

EventScript_1BB678:: @ 81BB678
	end

EventScript_1BB679:: @ 81BB679
	special CloseLink
	msgbox gUnknown_81BC700
	goto EventScript_1BB69B

EventScript_1BB689:: @ 81BB689
	end

EventScript_1BB68A:: @ 81BB68A
	special CloseLink
	msgbox gUnknown_81BC6CA
	goto EventScript_1BB69B

EventScript_1BB69A:: @ 81BB69A
	end

EventScript_1BB69B:: @ 81BB69B
	special CloseLink
	special HelpSystem_Enable
	msgbox gUnknown_81BC76B
	release
	end

EventScript_1BB6AB:: @ 81BB6AB
	copyvar VAR_0x8007, VAR_LAST_TALKED
	call EventScript_1BB79C
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BB82F
	call EventScript_1A4EAF
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BB82F
	message gUnknown_81BC4AC
	waitmessage
	special HelpSystem_Disable
	textcolor 3
	special sub_80810CC
	waitstate
	call EventScript_1A6675
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1BB73D
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1BB80F
	compare_var_to_value VAR_RESULT, 3
	goto_if eq, EventScript_1BB81F
	compare_var_to_value VAR_RESULT, 4
	goto_if eq, EventScript_1BB857
	compare_var_to_value VAR_RESULT, 5
	goto_if eq, EventScript_1BB82F
	compare_var_to_value VAR_RESULT, 6
	goto_if eq, EventScript_1BB7FF
	compare_var_to_value VAR_RESULT, 7
	goto_if eq, EventScript_1BB7DF
	compare_var_to_value VAR_RESULT, 9
	goto_if eq, EventScript_1BB7EF
	end

EventScript_1BB73D:: @ 81BB73D
	setvar VAR_0x8004, 3
	copyvar VAR_0x406F, VAR_0x8004
	messageautoscroll Text_1BC590
	waitmessage
	call EventScript_1BC034
	special DrawWholeMapView
	playse SE_TK_KASYA
	delay 60
	applymovement VAR_LAST_TALKED, Movement_1BB88F
	waitmovement 0
	closemessage
	applymovement 255, Movement_1BB898
	waitmovement 0
	opendoor 9, 1
	waitdooranim
	applymovement 255, Movement_1BB89C
	waitmovement 0
	hideobject 255, MAP_UNKNOWN_MAP_00_00
	closedoor 9, 1
	waitdooranim
	release
	special SetCableClubWarp
	setwarp MAP_UNKNOWN_MAP_00_01, 255, 5, 8
	special DoCableClubWarp
	waitstate
	end

EventScript_1BB79C:: @ 81BB79C
	specialvar VAR_RESULT, CalculatePlayerPartyCount
	compare_var_to_value VAR_RESULT, 2
	goto_if lt, EventScript_1BB7C2
	specialvar VAR_RESULT, GetNameOfEnigmaBerryInPlayerParty
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1BB7D0
	setvar VAR_RESULT, 1
	return

EventScript_1BB7C2:: @ 81BB7C2
	msgbox gUnknown_81BC442
	setvar VAR_RESULT, 0
	return

EventScript_1BB7D0:: @ 81BB7D0
	msgbox gUnknown_81BC47C
	setvar VAR_RESULT, 0
	return

EventScript_1BB7DE:: @ 81BB7DE
	end

EventScript_1BB7DF:: @ 81BB7DF
	special CloseLink
	special HelpSystem_Enable
	msgbox gUnknown_81BC95C
	release
	end

EventScript_1BB7EF:: @ 81BB7EF
	special CloseLink
	special HelpSystem_Enable
	msgbox gUnknown_81BC9C0
	release
	end

EventScript_1BB7FF:: @ 81BB7FF
	special CloseLink
	special HelpSystem_Enable
	msgbox gUnknown_81BC615
	release
	end

EventScript_1BB80F:: @ 81BB80F
	special CloseLink
	special HelpSystem_Enable
	msgbox gUnknown_81BC5C0
	release
	end

EventScript_1BB81F:: @ 81BB81F
	special CloseLink
	special HelpSystem_Enable
	msgbox gUnknown_81BC64E
	release
	end

EventScript_1BB82F:: @ 81BB82F
	special CloseLink
	special HelpSystem_Enable
	msgbox gUnknown_81BC68A
	release
	end

EventScript_1BB83F:: @ 81BB83F
	special CloseLink
	special HelpSystem_Enable
	msgbox gUnknown_81BCFD1
	release
	end

EventScript_1BB84F:: @ 81BB84F
	special SetCableClubWarp
	special DoCableClubWarp
	waitstate
	end

EventScript_1BB857:: @ 81BB857
	special CloseLink
	special HelpSystem_Enable
	msgbox gUnknown_81BC6A1
	release
	end

EventScript_1BB867:: @ 81BB867
	special CloseLink
	special HelpSystem_Enable
	msgbox gUnknown_81BC9E0
	release
	end

EventScript_1BB877:: @ 81BB877
	msgbox Text_1A561A
	release
	end

EventScript_1BB881:: @ 81BB881
	msgbox Text_1A5667
	releaseall
	end

Movement_1BB88B:: @ 81BB88B
	step_00
	step_end

Movement_1BB88D:: @ 81BB88D
	step_03
	step_end

Movement_1BB88F:: @ 81BB88F
	step_02
	step_end

Movement_1BB891:: @ 81BB891
	step_10
	step_10
	step_end

Movement_1BB894:: @ 81BB894
	step_13
	step_11
	step_11
	step_end

Movement_1BB898:: @ 81BB898
	step_12
	step_11
	step_11
	step_end

Movement_1BB89C:: @ 81BB89C
	step_11
	step_end

Movement_1BB89E:: @ 81BB89E
	step_02
	step_end

Movement_1BB8A0:: @ 81BB8A0
	step_03
	step_end

Movement_1BB8A2:: @ 81BB8A2
	step_12
	step_11
	step_11
	step_11
	step_end

gUnknown_81BB8A7:: @ 81BB8A7
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A7AE0
	lockall
	fadescreen 1
	setvar VAR_0x8004, 0
	special Special_BattleRecords
	waitstate
	releaseall
	end

gUnknown_81BB8C3:: @ 81BB8C3
UnknownMap_00_00_EventScript_1BB8C3:: @ 81BB8C3
	setvar VAR_0x8005, 0
	textcolor 3
	special sub_80819C8
	waitstate
	end

gUnknown_81BB8CF:: @ 81BB8CF
UnknownMap_00_00_EventScript_1BB8CF:: @ 81BB8CF
	setvar VAR_0x8005, 1
	textcolor 3
	special sub_80819C8
	waitstate
	end

gUnknown_81BB8DB:: @ 81BB8DB
UnknownMap_00_03_EventScript_1BB8DB:: @ 81BB8DB
	fadescreen 1
	special sub_80A0334
	waitstate
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BB94F
	setvar VAR_0x8005, 0
	textcolor 3
	special sub_80819C8
	waitstate
	end

gUnknown_81BB8F8:: @ 81BB8F8
UnknownMap_00_03_EventScript_1BB8F8:: @ 81BB8F8
	fadescreen 1
	special sub_80A0334
	waitstate
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BB94F
	setvar VAR_0x8005, 1
	textcolor 3
	special sub_80819C8
	waitstate
	end

gUnknown_81BB915:: @ 81BB915
UnknownMap_00_03_EventScript_1BB915:: @ 81BB915
	fadescreen 1
	special sub_80A0334
	waitstate
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BB94F
	setvar VAR_0x8005, 2
	textcolor 3
	special sub_80819C8
	waitstate
	end

gUnknown_81BB932:: @ 81BB932
UnknownMap_00_03_EventScript_1BB932:: @ 81BB932
	fadescreen 1
	special sub_80A0334
	waitstate
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BB94F
	setvar VAR_0x8005, 3
	textcolor 3
	special sub_80819C8
	waitstate
	end

EventScript_1BB94F:: @ 81BB94F
	end

gUnknown_81BB950:: @ 81BB950
UnknownMap_00_01_EventScript_1BB950:: @ 81BB950
	setvar VAR_0x8005, 0
	textcolor 3
	special sub_8081978
	waitstate
	end

gUnknown_81BB95C:: @ 81BB95C
UnknownMap_00_01_EventScript_1BB95C:: @ 81BB95C
	setvar VAR_0x8005, 1
	textcolor 3
	special sub_8081978
	waitstate
	end

EventScript_1BB968:: @ 81BB968
	setvar VAR_0x8005, 2
	textcolor 3
	special sub_8081978
	waitstate
	end

EventScript_1BB974:: @ 81BB974
	setvar VAR_0x8005, 3
	textcolor 3
	special sub_8081978
	waitstate
	end

gUnknown_81BB980:: @ 81BB980
UnknownMap_00_02_EventScript_1BB980:: @ 81BB980
	end

gUnknown_81BB981:: @ 81BB981
	textcolor 3
	msgbox gUnknown_81BC84B
	fadescreen 1
	special sp02A_crash_sound
	waitstate
	end

gUnknown_81BB992:: @ 81BB992
	textcolor 3
	msgbox gUnknown_81BC874
	fadescreen 1
	special sp02A_crash_sound
	waitstate
	end

gUnknown_81BB9A3:: @ 81BB9A3
	textcolor 3
	msgbox gUnknown_81BC827
	closemessage
	end

UnknownMap_00_00_EventScript_1BB9AF:: @ 81BB9AF
	textcolor 3
	special sub_8069740
	msgbox gUnknown_81BC8AD
	special sub_8069768
	closemessage
	end

UnknownMap_00_01_EventScript_1BB9C1:: @ 81BB9C1
	textcolor 3
	special sub_8069740
	msgbox gUnknown_81BC8DA
	special sub_8069768
	closemessage
	end

UnknownMap_00_02_EventScript_1BB9D3:: @ 81BB9D3
	end

gUnknown_81BB9D4:: @ 81BB9D4
	textcolor 3
	msgbox gUnknown_81BC7A1, 5
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1BB9F0
	erasebox 0, 0, 29, 19
	releaseall
	end

EventScript_1BB9F0:: @ 81BB9F0
	textcolor 3
	messageautoscroll Text_1BC7E2
	waitmessage
	special sub_8081770
	end

gUnknown_81BB9FC:: @ 81BB9FC
	special sub_8081744
	special sub_807E704
	waitstate
	end

EventScript_1BBA04:: @ 81BBA04
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A7AE0
	special sub_8112364
	lock
	faceplayer
	checkflag FLAG_SYS_POKEDEX_GET
	goto_if FALSE, EventScript_1BB877
	specialvar VAR_RESULT, Special_BadEggInParty
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1BB867
	copyvar VAR_0x8007, VAR_LAST_TALKED
	specialvar VAR_RESULT, IsWirelessAdapterConnected
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BBB60
	message Text_1BD65B
	waitmessage
	goto EventScript_1BBA51

EventScript_1BBA50:: @ 81BBA50
	end

EventScript_1BBA51:: @ 81BBA51
	multichoice 18, 6, MULTICHOICE_YES_NO_INFO, FALSE
	switch VAR_RESULT
	case 0, EventScript_1BBA94
	case 1, EventScript_1BB82F
	case 2, EventScript_1BBA88
	case SCR_MENU_CANCEL, EventScript_1BB82F
	end

EventScript_1BBA88:: @ 81BBA88
	message Text_1BD706
	waitmessage
	goto EventScript_1BBA51

EventScript_1BBA93:: @ 81BBA93
	end

EventScript_1BBA94:: @ 81BBA94
	call EventScript_1BBB1E
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BB82F
	call EventScript_1A4EAF
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BB82F
	msgbox gUnknown_81BD86A
	closemessage
	special sp000_heal_pokemon
	setvar VAR_0x8004, 6
	copyvar VAR_0x406F, VAR_0x8004
	special HelpSystem_Disable
	call EventScript_1BC020
	special DrawWholeMapView
	playse SE_TK_KASYA
	delay 60
	applymovement VAR_LAST_TALKED, Movement_1BB88F
	waitmovement 0
	applymovement 255, Movement_1BB898
	waitmovement 0
	opendoor 5, 1
	waitdooranim
	applymovement 255, Movement_1BB89C
	waitmovement 0
	hideobject 255, MAP_UNKNOWN_MAP_00_00
	closedoor 5, 1
	waitdooranim
	special sub_811B15C
	special SetCableClubWarp
	warpteleport2 MAP_UNKNOWN_MAP_00_04, 255, 7, 11
	waitstate
	special UnionRoomSpecial
	waitstate
	end

EventScript_1BBB1E:: @ 81BBB1E
	specialvar VAR_RESULT, CountPartyNonEggMons
	compare_var_to_value VAR_RESULT, 2
	goto_if lt, EventScript_1BBB44
	specialvar VAR_RESULT, GetNameOfEnigmaBerryInPlayerParty
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1BBB52
	setvar VAR_RESULT, 1
	return

EventScript_1BBB44:: @ 81BBB44
	msgbox gUnknown_81BCBC3
	goto EventScript_1A77B0

EventScript_1BBB51:: @ 81BBB51
	end

EventScript_1BBB52:: @ 81BBB52
	msgbox gUnknown_81BCC00
	goto EventScript_1A77B0

EventScript_1BBB5F:: @ 81BBB5F
	end

EventScript_1BBB60:: @ 81BBB60
	msgbox gUnknown_81BCC3A
	release
	return

EventScript_1BBB6A:: @ 81BBB6A
	lock
	faceplayer
	checkflag FLAG_SYS_POKEDEX_GET
	goto_if FALSE, EventScript_1BB877
	msgbox gUnknown_81BDB85, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BBB92
	msgbox gUnknown_81BDBF8
	release
	return

EventScript_1BBB92:: @ 81BBB92
	msgbox gUnknown_81BDEDF
	release
	return

EventScript_1BBB9C:: @ 81BBB9C
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A7AE0
	special sub_8112364
	lock
	faceplayer
	checkflag FLAG_SYS_POKEDEX_GET
	goto_if FALSE, EventScript_1BB877
	specialvar VAR_RESULT, Special_BadEggInParty
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1BB867
	specialvar VAR_RESULT, IsWirelessAdapterConnected
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BB44A
	message Text_1BD28D
	waitmessage
	delay 15
	goto EventScript_1BBBE7

EventScript_1BBBE6:: @ 81BBBE6
	end

EventScript_1BBBE7:: @ 81BBBE7
	checkflag FLAG_GOT_POWDER_JAR
	goto_if FALSE, EventScript_1BBC32
	multichoice 0, 0, MULTICHOICE_TRADE_COLOSSEUM_CRUSH, FALSE
	switch VAR_RESULT
	case 0, EventScript_1BBC69
	case 1, EventScript_1BBC97
	case 2, EventScript_1BBD35
	case 3, EventScript_1BB82F
	case SCR_MENU_CANCEL, EventScript_1BB82F
	end

EventScript_1BBC32:: @ 81BBC32
	multichoice 0, 0, MULTICHOICE_TRADE_COLOSSEUM_2, FALSE
	switch VAR_RESULT
	case 0, EventScript_1BBC69
	case 1, EventScript_1BBC97
	case 2, EventScript_1BB82F
	case SCR_MENU_CANCEL, EventScript_1BB82F
	end

EventScript_1BBC69:: @ 81BBC69
	msgbox gUnknown_81BD317, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BB82F
	call EventScript_1BB79C
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BB82F
	setvar VAR_0x8004, 3
	goto EventScript_1BBD6F

EventScript_1BBC96:: @ 81BBC96
	end

EventScript_1BBC97:: @ 81BBC97
	message Text_1BD338
	waitmessage
	multichoice 0, 0, MULTICHOICE_SINGLE_DOUBLE_MULTI_INFO_EXIT, FALSE
	switch VAR_RESULT
	case 0, EventScript_1BBCEA
	case 1, EventScript_1BBCF5
	case 2, EventScript_1BBD1C
	case 3, EventScript_1BBD27
	case 4, EventScript_1BB82F
	case SCR_MENU_CANCEL, EventScript_1BB82F
	end

EventScript_1BBCEA:: @ 81BBCEA
	setvar VAR_0x8004, 0
	goto EventScript_1BBD6F

EventScript_1BBCF4:: @ 81BBCF4
	end

EventScript_1BBCF5:: @ 81BBCF5
	special CheckForAlivePartyMons
	compare_var_to_value VAR_RESULT, 0
	goto_if ne, EventScript_1BBD0E
	setvar VAR_0x8004, 1
	goto EventScript_1BBD6F

EventScript_1BBD0D:: @ 81BBD0D
	end

EventScript_1BBD0E:: @ 81BBD0E
	msgbox gUnknown_81BC409
	goto EventScript_1BBC97

EventScript_1BBD1B:: @ 81BBD1B
	end

EventScript_1BBD1C:: @ 81BBD1C
	setvar VAR_0x8004, 2
	goto EventScript_1BBD6F

EventScript_1BBD26:: @ 81BBD26
	end

EventScript_1BBD27:: @ 81BBD27
	msgbox gUnknown_81BD390
	goto EventScript_1BBC97

EventScript_1BBD34:: @ 81BBD34
	end

EventScript_1BBD35:: @ 81BBD35
	msgbox gUnknown_81BD362, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BB82F
	special CheckHasAtLeastOneBerry
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BBD61
	setvar VAR_0x8004, 5
	goto EventScript_1BBD6F

EventScript_1BBD60:: @ 81BBD60
	end

EventScript_1BBD61:: @ 81BBD61
	msgbox gUnknown_81BCB81
	goto EventScript_1BBBE7

EventScript_1BBD6E:: @ 81BBD6E
	end

EventScript_1BBD6F:: @ 81BBD6F
	call EventScript_1A4EAF
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BB82F
	switch VAR_0x8004
	case 3, EventScript_1BBDBC
	case 0, EventScript_1BBDBC
	case 1, EventScript_1BBDBC
	case 2, EventScript_1BBE50
	case 5, EventScript_1BBEE4
	end

EventScript_1BBDBC:: @ 81BBDBC
	textcolor 3
	message Text_1BD51B
	waitmessage
	call EventScript_1A6675
	multichoice 13, 6, MULTICHOICE_JOIN_OR_LEAD, FALSE
	switch VAR_RESULT
	case 0, EventScript_1BBE28
	case 1, EventScript_1BBE00
	case 2, EventScript_1BB82F
	case SCR_MENU_CANCEL, EventScript_1BB82F
	end

EventScript_1BBE00:: @ 81BBE00
	call EventScript_1BBF78
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1BBF88
	compare_var_to_value VAR_RESULT, 5
	goto_if eq, EventScript_1BBDBC
	compare_var_to_value VAR_RESULT, 8
	goto_if eq, EventScript_1BBE00
	release
	return

EventScript_1BBE28:: @ 81BBE28
	call EventScript_1BBF80
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1BBF88
	compare_var_to_value VAR_RESULT, 5
	goto_if eq, EventScript_1BBDBC
	compare_var_to_value VAR_RESULT, 8
	goto_if eq, EventScript_1BBE28
	release
	return

EventScript_1BBE50:: @ 81BBE50
	textcolor 3
	message Text_1BD582
	waitmessage
	call EventScript_1A6675
	multichoice 13, 6, MULTICHOICE_JOIN_OR_LEAD, FALSE
	switch VAR_RESULT
	case 0, EventScript_1BBEBC
	case 1, EventScript_1BBE94
	case 2, EventScript_1BB82F
	case SCR_MENU_CANCEL, EventScript_1BB82F
	end

EventScript_1BBE94:: @ 81BBE94
	call EventScript_1BBF78
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1BBF88
	compare_var_to_value VAR_RESULT, 5
	goto_if eq, EventScript_1BBE50
	compare_var_to_value VAR_RESULT, 8
	goto_if eq, EventScript_1BBE94
	release
	return

EventScript_1BBEBC:: @ 81BBEBC
	call EventScript_1BBF80
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1BBF88
	compare_var_to_value VAR_RESULT, 5
	goto_if eq, EventScript_1BBE50
	compare_var_to_value VAR_RESULT, 8
	goto_if eq, EventScript_1BBEBC
	release
	return

EventScript_1BBEE4:: @ 81BBEE4
	textcolor 3
	message Text_1BD5F1
	waitmessage
	call EventScript_1A6675
	multichoice 13, 6, MULTICHOICE_JOIN_OR_LEAD, FALSE
	switch VAR_RESULT
	case 0, EventScript_1BBF50
	case 1, EventScript_1BBF28
	case 2, EventScript_1BB82F
	case SCR_MENU_CANCEL, EventScript_1BB82F
	end

EventScript_1BBF28:: @ 81BBF28
	call EventScript_1BBF78
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1BBF88
	compare_var_to_value VAR_RESULT, 5
	goto_if eq, EventScript_1BBEE4
	compare_var_to_value VAR_RESULT, 8
	goto_if eq, EventScript_1BBF28
	release
	return

EventScript_1BBF50:: @ 81BBF50
	call EventScript_1BBF80
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1BBF88
	compare_var_to_value VAR_RESULT, 5
	goto_if eq, EventScript_1BBEE4
	compare_var_to_value VAR_RESULT, 8
	goto_if eq, EventScript_1BBF50
	release
	return

EventScript_1BBF78:: @ 81BBF78
	special HelpSystem_Disable
	special sub_8115A24
	waitstate
	return

EventScript_1BBF80:: @ 81BBF80
	special HelpSystem_Disable
	special BerryBlenderLinkJoinGroup
	waitstate
	return

EventScript_1BBF88:: @ 81BBF88
	messageautoscroll Text_1BC59E
	waitmessage
	delay 60
	closemessage
	copyvar VAR_0x8007, VAR_LAST_TALKED
	call EventScript_1BC034
	special DrawWholeMapView
	playse SE_TK_KASYA
	delay 60
	applymovement VAR_LAST_TALKED, Movement_1BB88F
	waitmovement 0
	closemessage
	applymovement 255, Movement_1BB898
	waitmovement 0
	opendoor 9, 1
	waitdooranim
	applymovement 255, Movement_1BB89C
	waitmovement 0
	hideobject 255, MAP_UNKNOWN_MAP_00_00
	closedoor 9, 1
	waitdooranim
	release
	waitstate
	end

gUnknown_81BBFD8:: @ 81BBFD8
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A7AE0
	lockall
	checkflag FLAG_SYS_POKEDEX_GET
	goto_if FALSE, EventScript_1BB881
	specialvar VAR_RESULT, IsWirelessAdapterConnected
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BC016
	special HelpSystem_Disable
	fadescreen 1
	special sub_814F1D4
	waitstate
	msgbox gUnknown_81BCA43
	special HelpSystem_Enable
	releaseall
	end

EventScript_1BC016:: @ 81BC016
	msgbox gUnknown_81BCA13
	releaseall
	end

EventScript_1BC020:: @ 81BC020
	setmetatile 5, 3, 709, 0
	return

EventScript_1BC02A:: @ 81BC02A
	setmetatile 5, 3, 761, 1
	return

EventScript_1BC034:: @ 81BC034
	setmetatile 9, 3, 709, 0
	return

EventScript_1BC03E:: @ 81BC03E
	setmetatile 9, 3, 761, 1
	return

EventScript_1BC048:: @ 81BC048
	setmetatile 5, 3, 737, 0
	return

EventScript_1BC052:: @ 81BC052
	setmetatile 5, 3, 759, 1
	return

CeladonCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
CeruleanCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
CinnabarIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
FiveIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
FourIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
FuchsiaCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
IndigoPlateau_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
LavenderTown_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
OneIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
PewterCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
Route10_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
Route4_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
SaffronCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
SevenIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
SixIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
ThreeIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
TwoIsland_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
VermilionCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
ViridianCity_PokemonCenter_1F_MapScript2_1BC05C:: @ 81BC05C
	special sub_811999C
	end

EventScript_1BC060:: @ 81BC060
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A7AE0
	special sub_8112364
	lock
	faceplayer
	message Text_1BCCFF
	waitmessage
	multichoice 0, 0, MULTICHOICE_POKEJUMP_DODRIO, FALSE
	switch VAR_RESULT
	case 0, EventScript_1BC0B0
	case 1, EventScript_1BC0BA
	case 2, EventScript_1BC0C4
	case SCR_MENU_CANCEL, EventScript_1BC0C4
	end

EventScript_1BC0B0:: @ 81BC0B0
	msgbox gUnknown_81BCD4D
	release
	end

EventScript_1BC0BA:: @ 81BC0BA
	msgbox gUnknown_81BCE73
	release
	end

EventScript_1BC0C4:: @ 81BC0C4
	msgbox gUnknown_81BCF2E
	release
	end

EventScript_1BC0CE:: @ 81BC0CE
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A7AE0
	special sub_8112364
	lock
	faceplayer
	message Text_1BCF69
	waitmessage
	specialvar VAR_RESULT, IsWirelessAdapterConnected
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BC29C
	delay 60
	special HelpSystem_Disable
	message Text_1BD02D
	waitmessage
	multichoice 0, 0, MULTICHOICE_POKEJUMP_DODRIO, FALSE
	switch VAR_RESULT
	case 0, EventScript_1BC13A
	case 1, EventScript_1BC184
	case 2, EventScript_1BB83F
	case SCR_MENU_CANCEL, EventScript_1BB83F
	end

EventScript_1BC13A:: @ 81BC13A
	setvar VAR_0x8005, 0
	special sub_8149A18
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BC2A6
	msgbox gUnknown_81BD059
	setvar VAR_0x8005, 0
	special sub_8127888
	waitstate
	compare_var_to_value VAR_0x8004, 6
	goto_if ge, EventScript_1BB83F
	call EventScript_1A4EAF
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BB83F
	setvar VAR_0x8004, 4
	goto EventScript_1BC1CE

EventScript_1BC183:: @ 81BC183
	end

EventScript_1BC184:: @ 81BC184
	setvar VAR_0x8005, 1
	special sub_81537C0
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BC2A6
	msgbox gUnknown_81BD059
	setvar VAR_0x8005, 1
	special sub_8127888
	waitstate
	compare_var_to_value VAR_0x8004, 6
	goto_if ge, EventScript_1BB83F
	call EventScript_1A4EAF
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BB83F
	setvar VAR_0x8004, 6
	goto EventScript_1BC1CE

EventScript_1BC1CD:: @ 81BC1CD
	end

EventScript_1BC1CE:: @ 81BC1CE
	textcolor 3
	message Text_1BD5F1
	waitmessage
	call EventScript_1A6675
	multichoice 13, 6, MULTICHOICE_JOIN_OR_LEAD, FALSE
	switch VAR_RESULT
	case 0, EventScript_1BC23A
	case 1, EventScript_1BC212
	case 2, EventScript_1BB83F
	case SCR_MENU_CANCEL, EventScript_1BB83F
	end

EventScript_1BC212:: @ 81BC212
	call EventScript_1BBF78
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1BC262
	compare_var_to_value VAR_RESULT, 5
	goto_if eq, EventScript_1BC1CE
	compare_var_to_value VAR_RESULT, 8
	goto_if eq, EventScript_1BC212
	release
	return

EventScript_1BC23A:: @ 81BC23A
	call EventScript_1BBF80
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1BC262
	compare_var_to_value VAR_RESULT, 5
	goto_if eq, EventScript_1BC1CE
	compare_var_to_value VAR_RESULT, 8
	goto_if eq, EventScript_1BC23A
	release
	return

EventScript_1BC262:: @ 81BC262
	messageautoscroll Text_1BD080
	waitmessage
	delay 120
	closemessage
	copyvar VAR_0x8007, VAR_LAST_TALKED
	call EventScript_1BC048
	special DrawWholeMapView
	playse SE_TK_KASYA
	delay 60
	applymovement VAR_LAST_TALKED, Movement_1BB88F
	waitmovement 0
	closemessage
	applymovement 255, Movement_1BB8A2
	waitmovement 0
	hideobject 255, MAP_UNKNOWN_MAP_00_00
	release
	waitstate
	end

EventScript_1BC29C:: @ 81BC29C
	msgbox gUnknown_81BCFE8
	release
	end

EventScript_1BC2A6:: @ 81BC2A6
	msgbox gUnknown_81BD0CF, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BB83F
	compare_var_to_value VAR_0x8005, 0
	call_if eq, EventScript_1BC2D5
	compare_var_to_value VAR_0x8005, 1
	call_if eq, EventScript_1BC2DE
	goto EventScript_1BB83F

EventScript_1BC2D4:: @ 81BC2D4
	end

EventScript_1BC2D5:: @ 81BC2D5
	msgbox gUnknown_81BD14B
	return

EventScript_1BC2DE:: @ 81BC2DE
	msgbox gUnknown_81BD213
	return

TwoIsland_JoyfulGameCorner_EventScript_1BC2E7:: @ 81BC2E7
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A7AE0
	lockall
	special sub_814B504
	waitstate
	releaseall
	end

TwoIsland_JoyfulGameCorner_EventScript_1BC2FC:: @ 81BC2FC
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A7AE0
	lockall
	special sub_8153810
	waitstate
	releaseall
	end

gUnknown_81BC311:: @ 81BC311
	.string "Welcome to the POKéMON CABLE\n"
	.string "CLUB.\p"
	.string "Which of our services do you wish\n"
	.string "to use?$"

gUnknown_81BC35E:: @ 81BC35E
	.string "Which of our services do you wish\n"
	.string "to use?$"

Text_1BC388:: @ 81BC388
	.string "Trade POKéMON with another player\n"
	.string "using a GBA Game Link cable.$"

Text_1BC3C7:: @ 81BC3C7
	.string "You may battle another TRAINER\n"
	.string "using a GBA Game Link cable.$"

Text_1BC403:: @ 81BC403
	.string "おわります$"

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

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

gUnknown_81BC47C:: @ 81BC47C
	.string "A POKéMON holding the {STR_VAR_1}\n"
	.string "BERRY can't be traded.$"

gUnknown_81BC4AC:: @ 81BC4AC
	.string "Please wait.\n"
	.string "… … B Button: Cancel$"

gUnknown_81BC4CE:: @ 81BC4CE
	.string "When all players are ready…\n"
	.string "A Button: Confirm\l"
	.string "B Button: Cancel$"

gUnknown_81BC50D:: @ 81BC50D
	.string "Start link with {STR_VAR_1} players.\n"
	.string "A Button: Confirm\l"
	.string "B Button: Cancel$"

gUnknown_81BC54C:: @ 81BC54C
	.string "Awaiting linkup…\n"
	.string "… … B Button: Cancel$"

Text_1BC572:: @ 81BC572
	.string "はじめる まえに レポートを\n"
	.string "かきますが よろしいですか?$"

Text_1BC590:: @ 81BC590
	.string "Please enter.$"

Text_1BC59E:: @ 81BC59E
	.string "I'll direct you to your room now.$"

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

gUnknown_81BC615:: @ 81BC615
	.string "Sorry, we have a link error…\n"
	.string "Please reset and try again.$"

gUnknown_81BC64E:: @ 81BC64E
	.string "The link partners appear to have\n"
	.string "made different selections.$"

gUnknown_81BC68A:: @ 81BC68A
	.string "Please do visit again.$"

gUnknown_81BC6A1:: @ 81BC6A1
	.string "The number of participants is\n"
	.string "incorrect.$"

gUnknown_81BC6CA:: @ 81BC6CA
	.string "The SINGLE BATTLE Mode can't be\n"
	.string "played by {STR_VAR_1} players.$"

gUnknown_81BC700:: @ 81BC700
	.string "The DOUBLE BATTLE Mode can't be\n"
	.string "played by {STR_VAR_1} players.$"

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

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

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

Text_1BC7E2:: @ 81BC7E2
	.string "Terminating link…\n"
	.string "You will be escorted out of\l"
	.string "the room. Please wait.$"

gUnknown_81BC827:: @ 81BC827
	.string "This TRAINER is too busy to\n"
	.string "notice…$"

gUnknown_81BC84B:: @ 81BC84B
	.string "Score! Got to look at {STR_VAR_1}'s\n"
	.string "TRAINER CARD!$"

gUnknown_81BC874:: @ 81BC874
	.string "Score! Got to look at {STR_VAR_1}'s\n"
	.string "TRAINER CARD!\p"
	.string "It's a {STR_VAR_2} card!$"

gUnknown_81BC8AD:: @ 81BC8AD
	.string "Please take your seat and start\n"
	.string "your battle.$"

gUnknown_81BC8DA:: @ 81BC8DA
	.string "Please take your seat and start\n"
	.string "your trade.$"

Text_1BC906:: @ 81BC906
	.string "ごりよう ありがとう ございました$"

Text_1BC918:: @ 81BC918
	.string "The TRAINER CARD data will\n"
	.string "be overwritten.$"

Text_1BC943:: @ 81BC943
	.string "I hope to see you again!$"

gUnknown_81BC95C:: @ 81BC95C
	.string "I'm awfully sorry.\p"
	.string "We're not set up to conduct trades\n"
	.string "with TRAINERS far away in another\l"
	.string "region yet…$"

gUnknown_81BC9C0:: @ 81BC9C0
	.string "The other TRAINER is not ready.$"

gUnknown_81BC9E0:: @ 81BC9E0
	.string "You have at least one POKéMON\n"
	.string "that can't be taken.$"

gUnknown_81BCA13:: @ 81BCA13
	.string "The Wireless Adapter is not\n"
	.string "connected properly.$"

gUnknown_81BCA43:: @ 81BCA43
	.string "Participants are asked to step up\n"
	.string "to the reception counter.$"

Text_1BCA7F:: @ 81BCA7F
	.string "こんにちは!$"

Text_1BCA86:: @ 81BCA86
	.string "しょうしょう おまちください$"

Text_1BCA95:: @ 81BCA95
	.string "You may trade your POKéMON here\n"
	.string "with another TRAINER.$"

Text_1BCACB:: @ 81BCACB
	.string "You may battle with your friends\n"
	.string "here.$"

Text_1BCAF2:: @ 81BCAF2
	.string "Two to five TRAINERS can make\n"
	.string "BERRY POWDER together.$"

Text_1BCB27:: @ 81BCB27
	.string "ワイヤレス クラブでの\n"
	.string "あそびかたを せつめいします$"

Text_1BCB42:: @ 81BCB42
	.string "Cancels the selected MENU item.$"

Text_1BCB62:: @ 81BCB62
	.string "どちらの しょうぶに しますか?$"

Text_1BCB73:: @ 81BCB73
	.string "ひとつ まえに もどります$"

gUnknown_81BCB81:: @ 81BCB81
	.string "To use the BERRY CRUSH service,\n"
	.string "you must have at least one BERRY.$"

gUnknown_81BCBC3:: @ 81BCBC3
	.string "To enter the UNION ROOM, you must\n"
	.string "have at least two POKéMON.$"

gUnknown_81BCC00:: @ 81BCC00
	.string "No POKéMON holding the {STR_VAR_1}\n"
	.string "BERRY may enter the UNION ROOM.$"

gUnknown_81BCC3A:: @ 81BCC3A
	.string "This is the POKéMON WIRELESS CLUB\n"
	.string "UNION ROOM.\p"
	.string "Unfortunately, your Wireless\n"
	.string "Adapter is not connected properly.\p"
	.string "Please do come again.$"

Text_1BCCBE:: @ 81BCCBE
	.string "あ‥‥\n"
	.string "おきゃくさま!$"

Text_1BCCCA:: @ 81BCCCA
	.string "It appears as if {STR_VAR_1} is playing\n"
	.string "right now.\l"
	.string "Go for it!$"

Text_1BCCFF:: @ 81BCCFF
	.string "I can explain game rules to you,\n"
	.string "if you'd like.\p"
	.string "Which game should I describe?$"

gUnknown_81BCD4D:: @ 81BCD4D
	.string "“POKéMON JUMP”\p"
	.string "Make your POKéMON skip the\n"
	.string "VINE WHIP rope with the A Button.\p"
	.string "Only mini POKéMON around 28 inches\n"
	.string "or less may participate.\p"
	.string "POKéMON that only swim, burrow, or\n"
	.string "fly are not good at jumping.\p"
	.string "As a result, those POKéMON may not\n"
	.string "participate.\p"
	.string "Good things happen if everyone\n"
	.string "jumps in time.$"

gUnknown_81BCE73:: @ 81BCE73
	.string "“DODRIO BERRY-PICKING”\p"
	.string "Command DODRIO's three heads to\n"
	.string "catch falling BERRIES.\p"
	.string "Press right, up, or left on the\n"
	.string "{PLUS} Control Pad to move the heads.\p"
	.string "To play this game, you must have\n"
	.string "a DODRIO.$"

gUnknown_81BCF2E:: @ 81BCF2E
	.string "If you want to play a game,\n"
	.string "please tell the man beside me.$"

Text_1BCF69:: @ 81BCF69
	.string "Hi, welcome!\n"
	.string "You can play games over the\l"
	.string "Wireless Communication System.\p"
	.string "Can you wait just a little bit?$"

gUnknown_81BCFD1:: @ 81BCFD1
	.string "All right, come again!$"

gUnknown_81BCFE8:: @ 81BCFE8
	.string "The Wireless Adapter isn't\n"
	.string "connected.\p"
	.string "Come back when it's hooked up!$"

Text_1BD02D:: @ 81BD02D
	.string "All right, which game did you want\n"
	.string "to play?$"

gUnknown_81BD059:: @ 81BD059
	.string "Which POKéMON would you like to\n"
	.string "enter?$"

Text_1BD080:: @ 81BD080
	.string "Okay, you're all good to go.\n"
	.string "Don't let the others beat you!$"

Text_1BD0BC:: @ 81BD0BC
	.string "きょうは けえるのか?\n"
	.string "またこいよ!$"

gUnknown_81BD0CF:: @ 81BD0CF
	.string "It doesn't look like you have any\n"
	.string "POKéMON that you can enter…\p"
	.string "Would you like me to explain what\n"
	.string "kinds of POKéMON can enter?$"

gUnknown_81BD14B:: @ 81BD14B
	.string "“POKéMON JUMP” is open to POKéMON\n"
	.string "around 28 inches or less.\p"
	.string "What you can't enter are those\n"
	.string "POKéMON that can't jump.\p"
	.string "You know, like POKéMON that only\n"
	.string "swim, burrow, or fly.\p"
	.string "That's all you need to know.$"

gUnknown_81BD213:: @ 81BD213
	.string "“DODRIO BERRY-PICKING”…\n"
	.string "Well, the name says it all.\p"
	.string "You have to have a DODRIO to play\n"
	.string "this game.$"

Text_1BD274:: @ 81BD274
	.string "もういちど はじめから\n"
	.string "やりなおして みて くれ$"

Text_1BD28D:: @ 81BD28D
	.string "Welcome to the POKéMON WIRELESS\n"
	.string "CLUB DIRECT CORNER.\p"
	.string "You may interact directly with\n"
	.string "your friends here.\p"
	.string "Which room would you like to\n"
	.string "enter?$"

gUnknown_81BD317:: @ 81BD317
	.string "Would you like to trade POKéMON?$"

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

gUnknown_81BD362:: @ 81BD362
	.string "Would you like to use the\n"
	.string "BERRY CRUSH System?$"

gUnknown_81BD390:: @ 81BD390
	.string "There are three 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.$"

Text_1BD51B:: @ 81BD51B
	.string "Please decide which of you two\n"
	.string "will become the LEADER.\p"
	.string "The other player must then choose\n"
	.string "“JOIN GROUP.”$"

Text_1BD582:: @ 81BD582
	.string "Please decide which of you four\n"
	.string "will become the GROUP LEADER.\p"
	.string "The other players must then choose\n"
	.string "“JOIN GROUP.”$"

Text_1BD5F1:: @ 81BD5F1
	.string "Please decide which of you will\n"
	.string "become the GROUP LEADER.\p"
	.string "The other players must then choose\n"
	.string "“JOIN GROUP.”$"

Text_1BD65B:: @ 81BD65B
	.string "Welcome to the POKéMON WIRELESS\n"
	.string "CLUB UNION ROOM.\p"
	.string "You may interact directly with\n"
	.string "other TRAINERS here, some of\l"
	.string "whom you may not even know.\p"
	.string "Would you like to enter the ROOM?$"

Text_1BD706:: @ 81BD706
	.string "The TRAINERS in the UNION ROOM\n"
	.string "will be those players around you\l"
	.string "who have also entered the ROOM.\p"
	.string "You may do all sorts of things\n"
	.string "here, such as exchanging greetings.\p"
	.string "You may enter two POKéMON up to\n"
	.string "Lv. 30 for a one-on-one battle.\p"
	.string "You may take part in a chat with\n"
	.string "two to five people.\p"
	.string "Or, you may register a POKéMON for\n"
	.string "trade.\p"
	.string "Would you like to enter the ROOM?$"

gUnknown_81BD86A:: @ 81BD86A
	.string "I hope you enjoy your time in\n"
	.string "the UNION ROOM.$"

gUnknown_81BD898:: @ 81BD898
	.string "Hello!\n"
	.string "My name is TEALA.\p"
	.string "This must be your first time\n"
	.string "up here.\p"
	.string "I'll show you how the Wireless\n"
	.string "Communication System works.\p"
	.string "First, I need to show you this\n"
	.string "floor of our POKéMON CENTER.\p"
	.string "Right this way, please.$"

gUnknown_81BD966:: @ 81BD966
	.string "On the top floor, there are two\n"
	.string "rooms.\p"
	.string "First, the room on the left.\n"
	.string "It's the UNION ROOM.\p"
	.string "You may link up with TRAINERS\n"
	.string "around you who have also entered\l"
	.string "the UNION ROOM.\p"
	.string "With them, you may do things like\n"
	.string "chat, battle, and trade.\p"
	.string "Second, the room on the right is\n"
	.string "the DIRECT CORNER.\p"
	.string "You may trade or battle POKéMON\n"
	.string "with your friends in this room.\p"
	.string "If the Wireless Adapter isn't\n"
	.string "connected, you may still link up\l"
	.string "using a GBA Game Link cable.\p"
	.string "If that is the case, you must go\n"
	.string "to the DIRECT CORNER.\p"
	.string "I hope you enjoy the Wireless \n"
	.string "Communication System.$"

gUnknown_81BDB85:: @ 81BDB85
	.string "Hello, {PLAYER}!\p"
	.string "It's me, TEALA, the POKéMON\n"
	.string "CENTER 2F attendant.\p"
	.string "Is there something you needed to\n"
	.string "ask me about linking?$"

gUnknown_81BDBF8:: @ 81BDBF8
	.string "Let me explain how the POKéMON\n"
	.string "WIRELESS CLUB works.\p"
	.string "On this, the top floor, there are\n"
	.string "two rooms.\p"
	.string "First, the room on the left.\n"
	.string "It's the UNION ROOM.\p"
	.string "You may link up with TRAINERS\n"
	.string "around you who have also entered\l"
	.string "the UNION ROOM.\p"
	.string "With them, you may do things like\n"
	.string "chat, battle, and trade.\p"
	.string "Second, the room on the right is\n"
	.string "the DIRECT CORNER.\p"
	.string "You may trade or battle POKéMON\n"
	.string "with your friends in this room.\p"
	.string "Sometimes, you may not be able to\n"
	.string "find your friends in the UNION ROOM\l"
	.string "or the DIRECT CORNER.\p"
	.string "In that case, please move closer\n"
	.string "to your friends.\p"
	.string "If the Wireless Adapter isn't\n"
	.string "connected, you may still link up\l"
	.string "using a GBA Game Link cable.\p"
	.string "If that is the case, you must go\n"
	.string "to the DIRECT CORNER.\p"
	.string "I hope you enjoy the Wireless \n"
	.string "Communication System.$"

gUnknown_81BDEDF:: @ 81BDEDF
	.string "I hope you enjoy the Wireless\n"
	.string "Communication System.$"

EventScript_InteractWithCutTreeObject:: @ 81BDF13
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A7AE0
	lockall
	checkflag FLAG_BADGE02_GET
	goto_if FALSE, EventScript_1BDF87
	checkpartymove MOVE_CUT
	compare_var_to_value VAR_RESULT, 6
	goto_if eq, EventScript_1BDF87
	setfieldeffectarg 0, VAR_RESULT
	getpartymonname 0, VAR_RESULT
	getmovename 1, MOVE_CUT
	msgbox gUnknown_81BDF94, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BDF91
	msgbox gUnknown_81BDFD7
	closemessage
	dofieldeffect FLDEFF_USE_CUT_ON_TREE
	waitstate
	goto EventScript_1BDF76
	end

gUnknown_81BDF6B:: @ 81BDF6B
	lockall
	dofieldeffect FLDEFF_USE_CUT_ON_TREE
	waitstate
	goto EventScript_1BDF76
	end

EventScript_1BDF76:: @ 81BDF76
	applymovement VAR_LAST_TALKED, Movement_1BDF85
	waitmovement 0
	removeobject VAR_LAST_TALKED
	releaseall
	end

Movement_1BDF85:: @ 81BDF85
	step_69
	step_end

EventScript_1BDF87:: @ 81BDF87
	msgbox gUnknown_81BDFE3, 3
	releaseall
	end

EventScript_1BDF91:: @ 81BDF91
	closemessage
	releaseall
	end

gUnknown_81BDF94:: @ 81BDF94
	.string "This tree looks like it can be CUT\n"
	.string "down!\p"
	.string "Would you like to CUT it?$"

gUnknown_81BDFD7:: @ 81BDFD7
	.string "{STR_VAR_1} used {STR_VAR_2}!$"

gUnknown_81BDFE3:: @ 81BDFE3
	.string "This tree looks like it can be CUT\n"
	.string "down!$"

EventScript_InteractWithRockSmashRockObject:: @ 81BE00C
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A7AE0
	lockall
	checkflag FLAG_BADGE06_GET
	goto_if FALSE, EventScript_1BE091
	checkpartymove MOVE_ROCK_SMASH
	compare_var_to_value VAR_RESULT, 6
	goto_if eq, EventScript_1BE091
	setfieldeffectarg 0, VAR_RESULT
	getpartymonname 0, VAR_RESULT
	getmovename 1, MOVE_ROCK_SMASH
	msgbox Text_1BE09D, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BE09A
	msgbox gUnknown_81BDFD7
	closemessage
	dofieldeffect FLDEFF_USE_ROCK_SMASH
	waitstate
	goto EventScript_1BE06F
	end

EventScript_FldEffRockSmash:: @ 81BE064
	lockall
	dofieldeffect FLDEFF_USE_ROCK_SMASH
	waitstate
	goto EventScript_1BE06F
	end

EventScript_1BE06F:: @ 81BE06F
	applymovement VAR_LAST_TALKED, Movement_1BE08F
	waitmovement 0
	removeobject VAR_LAST_TALKED
	special ScrSpecial_RockSmashWildEncounter
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BE08D
	waitstate
	releaseall
	end

EventScript_1BE08D:: @ 81BE08D
	releaseall
	end

Movement_1BE08F:: @ 81BE08F
	step_68
	step_end

EventScript_1BE091:: @ 81BE091
	msgbox gUnknown_81BE0E2, 3
	end

EventScript_1BE09A:: @ 81BE09A
	closemessage
	releaseall
	end

Text_1BE09D:: @ 81BE09D
	.string "This rock appears to be breakable.\n"
	.string "Would you like to use ROCK SMASH?$"

gUnknown_81BE0E2:: @ 81BE0E2
	.string "It's a rugged rock, but a POKéMON\n"
	.string "may be able to smash it.$"

EventScript_InteractWithStrengthBoulderObject:: @ 81BE11D
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A7AE0
	lockall
	checkflag FLAG_BADGE04_GET
	goto_if FALSE, EventScript_1BE185
	checkflag FLAG_SYS_STRENGTH_ACTIVE
	goto_if TRUE, EventScript_1BE18E
	checkpartymove MOVE_STRENGTH
	compare_var_to_value VAR_RESULT, 6
	goto_if eq, EventScript_1BE185
	setfieldeffectarg 0, VAR_RESULT
	msgbox gUnknown_81BE19A, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BE197
	closemessage
	dofieldeffect FLDEFF_USE_STRENGTH
	waitstate
	goto EventScript_1BE179
	end

EventScript_FldEffStrength:: @ 81BE16E
	lockall
	dofieldeffect FLDEFF_USE_STRENGTH
	waitstate
	goto EventScript_1BE179
	end

EventScript_1BE179:: @ 81BE179
	setflag FLAG_SYS_STRENGTH_ACTIVE
	msgbox gUnknown_81BE1FA, 3
	end

EventScript_1BE185:: @ 81BE185
	msgbox gUnknown_81BE244, 3
	end

EventScript_1BE18E:: @ 81BE18E
	msgbox gUnknown_81BE284, 3
	end

EventScript_1BE197:: @ 81BE197
	closemessage
	releaseall
	end

gUnknown_81BE19A:: @ 81BE19A
	.string "It's a big boulder, but a POKéMON\n"
	.string "may be able to push it aside.\p"
	.string "Would you like to use STRENGTH?$"

gUnknown_81BE1FA:: @ 81BE1FA
	.string "{STR_VAR_1} used STRENGTH!\p"
	.string "{STR_VAR_1}'s STRENGTH made it\n"
	.string "possible to move boulders around!$"

gUnknown_81BE244:: @ 81BE244
	.string "It's a big boulder, but a POKéMON\n"
	.string "may be able to push it aside.$"

gUnknown_81BE284:: @ 81BE284
	.string "STRENGTH made it possible to move\n"
	.string "boulders around.$"

gUnknown_81BE2B7:: @ 81BE2B7
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A7AE0
	lockall
	checkpartymove MOVE_WATERFALL
	compare_var_to_value VAR_RESULT, 6
	goto_if eq, EventScript_1BE300
	getpartymonname 0, VAR_RESULT
	setfieldeffectarg 0, VAR_RESULT
	msgbox gUnknown_81BE33F, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BE308
	msgbox gUnknown_81BE378
	dofieldeffect FLDEFF_USE_WATERFALL
	goto EventScript_1BE308

EventScript_81BE2FF:: @ 81BE2FF
	lockall
EventScript_1BE300:
	msgbox gUnknown_81BE30A
EventScript_1BE308:
	releaseall
	end

gUnknown_81BE30A:: @ 81BE30A
	.string "A wall of water is crashing down\n"
	.string "with a mighty roar.$"

gUnknown_81BE33F:: @ 81BE33F
	.string "It's a large waterfall.\n"
	.string "Would you like to use WATERFALL?$"

gUnknown_81BE378:: @ 81BE378
	.string "{STR_VAR_1} used WATERFALL.$"

@ Unused leftover from R/S
EventScript_1BE38B:: @ 81BE38B
	lockall
	checkpartymove MOVE_DIVE
	compare_var_to_value VAR_RESULT, 6
	goto_if eq, EventScript_1BE3CA
	getpartymonname 0, VAR_RESULT
	setfieldeffectarg 0, VAR_RESULT
	setfieldeffectarg 1, 1
	msgbox gUnknown_81BE469, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BE3D2
	msgbox gUnknown_81BE49B
	dofieldeffect FLDEFF_USE_DIVE
	goto EventScript_1BE3D2

EventScript_1BE3C9:: @ 81BE3C9
	lockall
EventScript_1BE3CA:
	msgbox Text_1BE42B
EventScript_1BE3D2:
	releaseall
	end

EventScript_1BE3D4:: @ 81BE3D4
	lockall
	checkpartymove MOVE_DIVE
	compare_var_to_value VAR_RESULT, 6
	goto_if eq, EventScript_1BE412
	getpartymonname 0, VAR_RESULT
	setfieldeffectarg 0, VAR_RESULT
	setfieldeffectarg 1, 1
	msgbox gUnknown_81BE4EF, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BE429
	msgbox gUnknown_81BE49B
	dofieldeffect FLDEFF_USE_DIVE
	goto EventScript_1BE429

EventScript_1BE412:: @ 81BE412
	lockall
	msgbox gUnknown_81BE4A9
	goto EventScript_1BE429

EventScript_1BE420:: @ 81BE420
	lockall
	msgbox gUnknown_81BE52F
EventScript_1BE429:
	releaseall
	end

Text_1BE42B:: @ 81BE42B
	.string "The sea is deep here. A POKéMON\n"
	.string "may be able to go underwater.$"

gUnknown_81BE469:: @ 81BE469
	.string "The sea is deep here.\n"
	.string "Would you like to use DIVE?$"

gUnknown_81BE49B:: @ 81BE49B
	.string "{STR_VAR_1} used DIVE.$"

gUnknown_81BE4A9:: @ 81BE4A9
	.string "Light is filtering down from above.\n"
	.string "A POKéMON may be able to surface.$"

gUnknown_81BE4EF:: @ 81BE4EF
	.string "Light is filtering down from above.\n"
	.string "Would you like to use DIVE?$"

gUnknown_81BE52F:: @ 81BE52F
	.string "There is an obstacle above.\n"
	.string "DIVE can't be used here.$"

EventScript_FailSweetScent:: @ 81BE564
	msgbox Text_1BE56D, 3
	end

Text_1BE56D:: @ 81BE56D
	.string "Looks like there's nothing here…$"

Route2_EventScript_1BE58E:: @ 81BE58E
	giveitem ITEM_ETHER, 1, 1
	end

Route2_EventScript_1BE59B:: @ 81BE59B
	giveitem ITEM_PARALYZE_HEAL, 1, 1
	end

ViridianForest_EventScript_1BE5A8:: @ 81BE5A8
	giveitem ITEM_POKE_BALL, 1, 1
	end

ViridianForest_EventScript_1BE5B5:: @ 81BE5B5
	giveitem ITEM_ANTIDOTE, 1, 1
	end

ViridianForest_EventScript_1BE5C2:: @ 81BE5C2
	giveitem ITEM_POTION, 1, 1
	end

MtMoon_1F_EventScript_1BE5CF:: @ 81BE5CF
	giveitem ITEM_PARALYZE_HEAL, 1, 1
	end

MtMoon_1F_EventScript_1BE5DC:: @ 81BE5DC
	giveitem ITEM_TM09, 1, 1
	end

MtMoon_1F_EventScript_1BE5E9:: @ 81BE5E9
	giveitem ITEM_POTION, 1, 1
	end

MtMoon_1F_EventScript_1BE5F6:: @ 81BE5F6
	giveitem ITEM_RARE_CANDY, 1, 1
	end

MtMoon_1F_EventScript_1BE603:: @ 81BE603
	giveitem ITEM_ESCAPE_ROPE, 1, 1
	end

MtMoon_1F_EventScript_1BE610:: @ 81BE610
	giveitem ITEM_MOON_STONE, 1, 1
	end

MtMoon_B2F_EventScript_1BE61D:: @ 81BE61D
	giveitem ITEM_STAR_PIECE, 1, 1
	end

MtMoon_B2F_EventScript_1BE62A:: @ 81BE62A
	giveitem ITEM_TM46, 1, 1
	end

Route4_EventScript_1BE637:: @ 81BE637
	giveitem ITEM_TM05, 1, 1
	end

Route24_EventScript_1BE644:: @ 81BE644
	giveitem ITEM_TM45, 1, 1
	end

Route25_EventScript_1BE651:: @ 81BE651
	giveitem ITEM_TM43, 1, 1
	end

SSAnne_1F_Room2_EventScript_1BE65E:: @ 81BE65E
	giveitem ITEM_TM31, 1, 1
	end

SSAnne_2F_Room2_EventScript_1BE66B:: @ 81BE66B
	giveitem ITEM_STARDUST, 1, 1
	end

SSAnne_2F_Room4_EventScript_1BE678:: @ 81BE678
	giveitem ITEM_X_ATTACK, 1, 1
	end

SSAnne_B1F_Room2_EventScript_1BE685:: @ 81BE685
	giveitem ITEM_TM44, 1, 1
	end

SSAnne_B1F_Room3_EventScript_1BE692:: @ 81BE692
	giveitem ITEM_ETHER, 1, 1
	end

SSAnne_B1F_Room5_EventScript_1BE69F:: @ 81BE69F
	giveitem ITEM_SUPER_POTION, 1, 1
	end

SSAnne_Kitchen_EventScript_1BE6AC:: @ 81BE6AC
	giveitem ITEM_GREAT_BALL, 1, 1
	end

Route9_EventScript_1BE6B9:: @ 81BE6B9
	giveitem ITEM_TM40, 1, 1
	end

RocketHideout_B1F_EventScript_1BE6C6:: @ 81BE6C6
	giveitem ITEM_ESCAPE_ROPE, 1, 1
	end

RocketHideout_B1F_EventScript_1BE6D3:: @ 81BE6D3
	giveitem ITEM_HYPER_POTION, 1, 1
	end

RocketHideout_B2F_EventScript_1BE6E0:: @ 81BE6E0
	giveitem ITEM_X_SPEED, 1, 1
	end

RocketHideout_B2F_EventScript_1BE6ED:: @ 81BE6ED
	giveitem ITEM_MOON_STONE, 1, 1
	end

RocketHideout_B2F_EventScript_1BE6FA:: @ 81BE6FA
	giveitem ITEM_TM12, 1, 1
	end

RocketHideout_B2F_EventScript_1BE707:: @ 81BE707
	giveitem ITEM_SUPER_POTION, 1, 1
	end

RocketHideout_B3F_EventScript_1BE714:: @ 81BE714
	giveitem ITEM_RARE_CANDY, 1, 1
	end

RocketHideout_B3F_EventScript_1BE721:: @ 81BE721
	giveitem ITEM_TM21, 1, 1
	end

RocketHideout_B4F_EventScript_1BE72E:: @ 81BE72E
	giveitem ITEM_TM49, 1, 1
	end

RocketHideout_B4F_EventScript_1BE73B:: @ 81BE73B
	giveitem ITEM_MAX_ETHER, 1, 1
	end

RocketHideout_B4F_EventScript_1BE748:: @ 81BE748
	giveitem ITEM_CALCIUM, 1, 1
	end

PokemonTower_3F_EventScript_1BE755:: @ 81BE755
	giveitem ITEM_ESCAPE_ROPE, 1, 1
	end

PokemonTower_4F_EventScript_1BE762:: @ 81BE762
	giveitem ITEM_ELIXIR, 1, 1
	end

PokemonTower_4F_EventScript_1BE76F:: @ 81BE76F
	giveitem ITEM_AWAKENING, 1, 1
	end

PokemonTower_4F_EventScript_1BE77C:: @ 81BE77C
	giveitem ITEM_GREAT_BALL, 1, 1
	end

PokemonTower_5F_EventScript_1BE789:: @ 81BE789
	giveitem ITEM_NUGGET, 1, 1
	end

PokemonTower_6F_EventScript_1BE796:: @ 81BE796
	giveitem ITEM_RARE_CANDY, 1, 1
	end

PokemonTower_6F_EventScript_1BE7A3:: @ 81BE7A3
	giveitem ITEM_X_ACCURACY, 1, 1
	end

Route12_EventScript_1BE7B0:: @ 81BE7B0
	giveitem ITEM_TM48, 1, 1
	end

Route12_EventScript_1BE7BD:: @ 81BE7BD
	giveitem ITEM_IRON, 1, 1
	end

Route15_EventScript_1BE7CA:: @ 81BE7CA
	giveitem ITEM_TM18, 1, 1
	end

SafariZone_Center_EventScript_1BE7D7:: @ 81BE7D7
	giveitem ITEM_NUGGET, 1, 1
	end

SafariZone_East_EventScript_1BE7E4:: @ 81BE7E4
	giveitem ITEM_MAX_POTION, 1, 1
	end

SafariZone_East_EventScript_1BE7F1:: @ 81BE7F1
	giveitem ITEM_FULL_RESTORE, 1, 1
	end

SafariZone_East_EventScript_1BE7FE:: @ 81BE7FE
	giveitem ITEM_TM11, 1, 1
	end

SafariZone_East_EventScript_1BE80B:: @ 81BE80B
	giveitem ITEM_LEAF_STONE, 1, 1
	end

SafariZone_North_EventScript_1BE818:: @ 81BE818
	giveitem ITEM_PROTEIN, 1, 1
	end

SafariZone_North_EventScript_1BE825:: @ 81BE825
	giveitem ITEM_TM47, 1, 1
	end

SafariZone_West_EventScript_1BE832:: @ 81BE832
	giveitem ITEM_TM32, 1, 1
	end

SafariZone_West_EventScript_1BE83F:: @ 81BE83F
	giveitem ITEM_GOLD_TEETH, 1, 1
	end

SafariZone_West_EventScript_1BE84C:: @ 81BE84C
	giveitem ITEM_MAX_POTION, 1, 1
	end

SafariZone_West_EventScript_1BE859:: @ 81BE859
	giveitem ITEM_MAX_REVIVE, 1, 1
	end

SilphCo_3F_EventScript_1BE866:: @ 81BE866
	giveitem ITEM_HYPER_POTION, 1, 1
	end

SilphCo_4F_EventScript_1BE873:: @ 81BE873
	giveitem ITEM_MAX_REVIVE, 1, 1
	end

SilphCo_4F_EventScript_1BE880:: @ 81BE880
	giveitem ITEM_ESCAPE_ROPE, 1, 1
	end

SilphCo_4F_EventScript_1BE88D:: @ 81BE88D
	giveitem ITEM_FULL_HEAL, 1, 1
	end

SilphCo_5F_EventScript_1BE89A:: @ 81BE89A
	giveitem ITEM_PROTEIN, 1, 1
	end

SilphCo_5F_EventScript_1BE8A7:: @ 81BE8A7
	giveitem ITEM_TM01, 1, 1
	end

SilphCo_5F_EventScript_1BE8B4:: @ 81BE8B4
	giveitem ITEM_CARD_KEY, 1, 1
	end

SilphCo_6F_EventScript_1BE8C1:: @ 81BE8C1
	giveitem ITEM_HP_UP, 1, 1
	end

SilphCo_6F_EventScript_1BE8CE:: @ 81BE8CE
	giveitem ITEM_X_SPECIAL, 1, 1
	end

SilphCo_7F_EventScript_1BE8DB:: @ 81BE8DB
	giveitem ITEM_CALCIUM, 1, 1
	end

SilphCo_7F_EventScript_1BE8E8:: @ 81BE8E8
	giveitem ITEM_TM08, 1, 1
	end

SilphCo_10F_EventScript_1BE8F5:: @ 81BE8F5
	giveitem ITEM_CARBOS, 1, 1
	end

SilphCo_10F_EventScript_1BE902:: @ 81BE902
	giveitem ITEM_ULTRA_BALL, 1, 1
	end

SilphCo_10F_EventScript_1BE90F:: @ 81BE90F
	giveitem ITEM_RARE_CANDY, 1, 1
	end

PowerPlant_EventScript_1BE91C:: @ 81BE91C
	giveitem ITEM_MAX_POTION, 1, 1
	end

PowerPlant_EventScript_1BE929:: @ 81BE929
	giveitem ITEM_TM17, 1, 1
	end

PowerPlant_EventScript_1BE936:: @ 81BE936
	giveitem ITEM_TM25, 1, 1
	end

PowerPlant_EventScript_1BE943:: @ 81BE943
	giveitem ITEM_THUNDER_STONE, 1, 1
	end

PowerPlant_EventScript_1BE950:: @ 81BE950
	giveitem ITEM_ELIXIR, 1, 1
	end

PokemonMansion_1F_EventScript_1BE95D:: @ 81BE95D
	giveitem ITEM_CARBOS, 1, 1
	end

PokemonMansion_1F_EventScript_1BE96A:: @ 81BE96A
	giveitem ITEM_ESCAPE_ROPE, 1, 1
	end

PokemonMansion_2F_EventScript_1BE977:: @ 81BE977
	giveitem ITEM_CALCIUM, 1, 1
	end

PokemonMansion_3F_EventScript_1BE984:: @ 81BE984
	giveitem ITEM_MAX_POTION, 1, 1
	end

PokemonMansion_3F_EventScript_1BE991:: @ 81BE991
	giveitem ITEM_IRON, 1, 1
	end

PokemonMansion_B1F_EventScript_1BE99E:: @ 81BE99E
	giveitem ITEM_TM14, 1, 1
	end

PokemonMansion_B1F_EventScript_1BE9AB:: @ 81BE9AB
	giveitem ITEM_FULL_RESTORE, 1, 1
	end

PokemonMansion_B1F_EventScript_1BE9B8:: @ 81BE9B8
	giveitem ITEM_TM22, 1, 1
	end

PokemonMansion_B1F_EventScript_1BE9C5:: @ 81BE9C5
	giveitem ITEM_SECRET_KEY, 1, 1
	end

VictoryRoad_1F_EventScript_1BE9D2:: @ 81BE9D2
	giveitem ITEM_RARE_CANDY, 1, 1
	end

VictoryRoad_1F_EventScript_1BE9DF:: @ 81BE9DF
	giveitem ITEM_TM02, 1, 1
	end

VictoryRoad_2F_EventScript_1BE9EC:: @ 81BE9EC
	giveitem ITEM_GUARD_SPEC, 1, 1
	end

VictoryRoad_2F_EventScript_1BE9F9:: @ 81BE9F9
	giveitem ITEM_TM07, 1, 1
	end

VictoryRoad_2F_EventScript_1BEA06:: @ 81BEA06
	giveitem ITEM_FULL_HEAL, 1, 1
	end

VictoryRoad_2F_EventScript_1BEA13:: @ 81BEA13
	giveitem ITEM_TM37, 1, 1
	end

VictoryRoad_3F_EventScript_1BEA20:: @ 81BEA20
	giveitem ITEM_MAX_REVIVE, 1, 1
	end

VictoryRoad_3F_EventScript_1BEA2D:: @ 81BEA2D
	giveitem ITEM_TM50, 1, 1
	end

CeruleanCave_1F_EventScript_1BEA3A:: @ 81BEA3A
	giveitem ITEM_MAX_ELIXIR, 1, 1
	end

CeruleanCave_1F_EventScript_1BEA47:: @ 81BEA47
	giveitem ITEM_NUGGET, 1, 1
	end

CeruleanCave_1F_EventScript_1BEA54:: @ 81BEA54
	giveitem ITEM_FULL_RESTORE, 1, 1
	end

CeruleanCave_2F_EventScript_1BEA61:: @ 81BEA61
	giveitem ITEM_FULL_RESTORE, 1, 1
	end

CeruleanCave_2F_EventScript_1BEA6E:: @ 81BEA6E
	giveitem ITEM_PP_UP, 1, 1
	end

CeruleanCave_2F_EventScript_1BEA7B:: @ 81BEA7B
	giveitem ITEM_ULTRA_BALL, 1, 1
	end

CeruleanCave_B1F_EventScript_1BEA88:: @ 81BEA88
	giveitem ITEM_MAX_REVIVE, 1, 1
	end

CeruleanCave_B1F_EventScript_1BEA95:: @ 81BEA95
	giveitem ITEM_ULTRA_BALL, 1, 1
	end

FuchsiaCity_Building1_EventScript_1BEAA2:: @ 81BEAA2
	giveitem ITEM_RARE_CANDY, 1, 1
	end

TwoIsland_EventScript_1BEAAF:: @ 81BEAAF
	giveitem ITEM_REVIVE, 1, 1
	end

ThreeIsland_EventScript_1BEABC:: @ 81BEABC
	giveitem ITEM_ZINC, 1, 1
	end

ViridianForest_EventScript_1BEAC9:: @ 81BEAC9
	giveitem ITEM_POTION, 1, 1
	end

MtMoon_B2F_EventScript_1BEAD6:: @ 81BEAD6
	giveitem ITEM_REVIVE, 1, 1
	end

MtMoon_B2F_EventScript_1BEAE3:: @ 81BEAE3
	giveitem ITEM_ANTIDOTE, 1, 1
	end

Route11_EventScript_1BEAF0:: @ 81BEAF0
	giveitem ITEM_X_DEFEND, 1, 1
	end

Route9_EventScript_1BEAFD:: @ 81BEAFD
	giveitem ITEM_BURN_HEAL, 1, 1
	end

RockTunnel_1F_EventScript_1BEB0A:: @ 81BEB0A
	giveitem ITEM_REPEL, 1, 1
	end

RockTunnel_1F_EventScript_1BEB17:: @ 81BEB17
	giveitem ITEM_PEARL, 1, 1
	end

RockTunnel_1F_EventScript_1BEB24:: @ 81BEB24
	giveitem ITEM_ESCAPE_ROPE, 1, 1
	end

RockTunnel_B1F_EventScript_1BEB31:: @ 81BEB31
	giveitem ITEM_REVIVE, 1, 1
	end

RockTunnel_B1F_EventScript_1BEB3E:: @ 81BEB3E
	giveitem ITEM_MAX_ETHER, 1, 1
	end

SilphCo_8F_EventScript_1BEB4B:: @ 81BEB4B
	giveitem ITEM_IRON, 1, 1
	end

SilphCo_11F_EventScript_1BEB58:: @ 81BEB58
	giveitem ITEM_ZINC, 1, 1
	end

PokemonMansion_1F_EventScript_1BEB65:: @ 81BEB65
	giveitem ITEM_PROTEIN, 1, 1
	end

PokemonMansion_2F_EventScript_1BEB72:: @ 81BEB72
	giveitem ITEM_ZINC, 1, 1
	end

PokemonMansion_2F_EventScript_1BEB7F:: @ 81BEB7F
	giveitem ITEM_HP_UP, 1, 1
	end

ViridianCity_EventScript_1BEB8C:: @ 81BEB8C
	giveitem ITEM_POTION, 1, 1
	end

Route11_EventScript_1BEB99:: @ 81BEB99
	giveitem ITEM_GREAT_BALL, 1, 1
	end

Route11_EventScript_1BEBA6:: @ 81BEBA6
	giveitem ITEM_AWAKENING, 1, 1
	end

PokemonTower_5F_EventScript_1BEBB3:: @ 81BEBB3
	giveitem ITEM_CLEANSE_TAG, 1, 1
	end

CeladonCity_EventScript_1BEBC0:: @ 81BEBC0
	giveitem ITEM_ETHER, 1, 1
	end

RocketHideout_B3F_EventScript_1BEBCD:: @ 81BEBCD
	giveitem ITEM_BLACK_GLASSES, 1, 1
	end

SafariZone_North_EventScript_1BEBDA:: @ 81BEBDA
	giveitem ITEM_QUICK_CLAW, 1, 1
	end

SeafoamIslands_1F_EventScript_1BEBE7:: @ 81BEBE7
	giveitem ITEM_ICE_HEAL, 1, 1
	end

SeafoamIslands_B1F_EventScript_1BEBF4:: @ 81BEBF4
	giveitem ITEM_WATER_STONE, 1, 1
	end

SeafoamIslands_B1F_EventScript_1BEC01:: @ 81BEC01
	giveitem ITEM_REVIVE, 1, 1
	end

SeafoamIslands_B2F_EventScript_1BEC0E:: @ 81BEC0E
	giveitem ITEM_BIG_PEARL, 1, 1
	end

SeafoamIslands_B4F_EventScript_1BEC1B:: @ 81BEC1B
	giveitem ITEM_ULTRA_BALL, 1, 1
	end

FourIsland_EventScript_1BEC28:: @ 81BEC28
	giveitem ITEM_STAR_PIECE, 1, 1
	end

FourIsland_EventScript_1BEC35:: @ 81BEC35
	giveitem ITEM_STARDUST, 1, 1
	end

OneIsland_KindleRoad_EventScript_1BEC42:: @ 81BEC42
	giveitem ITEM_ETHER, 1, 1
	end

OneIsland_KindleRoad_EventScript_1BEC4F:: @ 81BEC4F
	giveitem ITEM_MAX_REPEL, 1, 1
	end

OneIsland_KindleRoad_EventScript_1BEC5C:: @ 81BEC5C
	giveitem ITEM_CARBOS, 1, 1
	end

FiveIsland_Meadow_EventScript_1BEC69:: @ 81BEC69
	giveitem ITEM_MAX_POTION, 1, 1
	end

FiveIsland_Meadow_EventScript_1BEC76:: @ 81BEC76
	giveitem ITEM_PP_UP, 1, 1
	end

FiveIsland_MemorialPillar_EventScript_1BEC83:: @ 81BEC83
	giveitem ITEM_METAL_COAT, 1, 1
	end

SixIsland_OutcastIsland_EventScript_1BEC90:: @ 81BEC90
	giveitem ITEM_PP_UP, 1, 1
	end

SixIsland_WaterPath_EventScript_1BEC9D:: @ 81BEC9D
	giveitem ITEM_ELIXIR, 1, 1
	end

SixIsland_WaterPath_EventScript_1BECAA:: @ 81BECAA
	giveitem ITEM_DRAGON_SCALE, 1, 1
	end

SixIsland_RuinValley_EventScript_1BECB7:: @ 81BECB7
	giveitem ITEM_FULL_RESTORE, 1, 1
	end

SixIsland_RuinValley_EventScript_1BECC4:: @ 81BECC4
	giveitem ITEM_HP_UP, 1, 1
	end

SixIsland_RuinValley_EventScript_1BECD1:: @ 81BECD1
	giveitem ITEM_SUN_STONE, 1, 1
	end

SevenIsland_SevaultCanyon_EventScript_1BECDE:: @ 81BECDE
	giveitem ITEM_KINGS_ROCK, 1, 1
	end

SevenIsland_SevaultCanyon_EventScript_1BECEB:: @ 81BECEB
	giveitem ITEM_MAX_ELIXIR, 1, 1
	end

SevenIsland_SevaultCanyon_EventScript_1BECF8:: @ 81BECF8
	giveitem ITEM_NUGGET, 1, 1
	end

ThreeIsland_BerryForest_EventScript_1BED05:: @ 81BED05
	giveitem ITEM_MAX_ETHER, 1, 1
	end

ThreeIsland_BerryForest_EventScript_1BED12:: @ 81BED12
	giveitem ITEM_FULL_HEAL, 1, 1
	end

ThreeIsland_BerryForest_EventScript_1BED1F:: @ 81BED1F
	giveitem ITEM_MAX_ELIXIR, 1, 1
	end

MtEmber_Exterior_EventScript_1BED2C:: @ 81BED2C
	giveitem ITEM_ULTRA_BALL, 1, 1
	end

MtEmber_Exterior_EventScript_1BED39:: @ 81BED39
	giveitem ITEM_FIRE_STONE, 1, 1
	end

MtEmber_Exterior_EventScript_1BED46:: @ 81BED46
	giveitem ITEM_DIRE_HIT, 1, 1
	end

FourIsland_IcefallCave_1F_EventScript_1BED53:: @ 81BED53
	giveitem ITEM_ULTRA_BALL, 1, 1
	end

FourIsland_IcefallCave_1F_EventScript_1BED60:: @ 81BED60
	giveitem ITEM_HM07, 1, 1
	end

FourIsland_IcefallCave_B1F_EventScript_1BED6D:: @ 81BED6D
	giveitem ITEM_FULL_RESTORE, 1, 1
	end

FourIsland_IcefallCave_B1F_EventScript_1BED7A:: @ 81BED7A
	giveitem ITEM_NEVER_MELT_ICE, 1, 1
	end

FiveIsland_RocketWarehouse_EventScript_1BED87:: @ 81BED87
	giveitem ITEM_BIG_PEARL, 1, 1
	end

FiveIsland_RocketWarehouse_EventScript_1BED94:: @ 81BED94
	giveitem ITEM_TM36, 1, 1
	end

FiveIsland_RocketWarehouse_EventScript_1BEDA1:: @ 81BEDA1
	giveitem ITEM_PEARL, 1, 1
	end

FiveIsland_RocketWarehouse_EventScript_1BEDAE:: @ 81BEDAE
	giveitem ITEM_UP_GRADE, 1, 1
	end

FiveIsland_LostCave_Room10_EventScript_1BEDBB:: @ 81BEDBB
	giveitem ITEM_SILK_SCARF, 1, 1
	end

FiveIsland_LostCave_Room11_EventScript_1BEDC8:: @ 81BEDC8
	giveitem ITEM_LAX_INCENSE, 1, 1
	end

FiveIsland_LostCave_Room12_EventScript_1BEDD5:: @ 81BEDD5
	giveitem ITEM_SEA_INCENSE, 1, 1
	end

FiveIsland_LostCave_Room13_EventScript_1BEDE2:: @ 81BEDE2
	giveitem ITEM_MAX_REVIVE, 1, 1
	end

FiveIsland_LostCave_Room14_EventScript_1BEDEF:: @ 81BEDEF
	giveitem ITEM_RARE_CANDY, 1, 1
	end

SevenIsland_SevaultCanyon_House_EventScript_1BEDFC:: @ 81BEDFC
	giveitem ITEM_LUCKY_PUNCH, 1, 1
	end

SilphCo_4F_EventScript_1BEE09:: @ 81BEE09
	giveitem ITEM_TM41, 1, 1
	end

PewterCity_PokemonCenter_1F_EventScript_1BEE16:: @ 81BEE16
	lock
	faceplayer
	compare_var_to_value VAR_0x4001, 1
	goto_if eq, EventScript_1BEE3A
	checkflag FLAG_SYS_SET_TRAINER_CARD_PROFILE
	goto_if TRUE, EventScript_1BEECD
	msgbox Text_1BEF88
	goto EventScript_1BEE44
	end

EventScript_1BEE3A:: @ 81BEE3A
	msgbox gUnknown_81BF36A
	release
	end

EventScript_1BEE44:: @ 81BEE44
	message Text_1BF017
	waitmessage
	multichoice 18, 6, MULTICHOICE_YES_NO_INFO_2, FALSE
	switch VAR_RESULT
	case 0, EventScript_1BEE8F
	case 1, EventScript_1BEEC3
	case 2, EventScript_1BEE81
	case SCR_MENU_CANCEL, EventScript_1BEEC3
	end

EventScript_1BEE81:: @ 81BEE81
	msgbox gUnknown_81BF053
	goto EventScript_1BEE44
	end

EventScript_1BEE8F:: @ 81BEE8F
	msgbox gUnknown_81BF166
	closemessage
	goto EventScript_1BEF5A
	end

EventScript_1BEE9E:: @ 81BEE9E
	msgbox gUnknown_81BF1B2
	release
	end

EventScript_1BEEA8:: @ 81BEEA8
	setvar VAR_0x4001, 1
	setvar VAR_0x8004, 0
	special Special_BufferEasyChatMessage
	waitmessage
	delay 80
	msgbox gUnknown_81BF28E
	release
	end

EventScript_1BEEC3:: @ 81BEEC3
	msgbox gUnknown_81BF17B
	release
	end

EventScript_1BEECD:: @ 81BEECD
	msgbox gUnknown_81BF1E8
	goto EventScript_1BEEDB
	end

EventScript_1BEEDB:: @ 81BEEDB
	message Text_1BF1FB
	waitmessage
	multichoice 18, 6, MULTICHOICE_YES_NO_INFO_2, FALSE
	switch VAR_RESULT
	case 0, EventScript_1BEF26
	case 1, EventScript_1BEF35
	case 2, EventScript_1BEF18
	case SCR_MENU_CANCEL, EventScript_1BEF35
	end

EventScript_1BEF18:: @ 81BEF18
	msgbox gUnknown_81BF053
	goto EventScript_1BEEDB
	end

EventScript_1BEF26:: @ 81BEF26
	msgbox gUnknown_81BF222
	closemessage
	goto EventScript_1BEF5A
	end

EventScript_1BEF35:: @ 81BEF35
	msgbox gUnknown_81BF252
	release
	end

EventScript_1BEF3F:: @ 81BEF3F
	setvar VAR_0x4001, 1
	setvar VAR_0x8004, 0
	special Special_BufferEasyChatMessage
	waitmessage
	delay 80
	msgbox gUnknown_81BF30D
	release
	end

EventScript_1BEF5A:: @ 81BEF5A
	setvar VAR_0x8004, 0
	call EventScript_1A6AC0
	lock
	faceplayer
	compare_var_to_value VAR_0x8004, 0
	goto_if eq, EventScript_1BEF3F
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BEE9E
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1BEEA8
	end

Text_1BEF88:: @ 81BEF88
	.string "Hi, glad to meet you!\p"
	.string "…That's unfriendly of you.\n"
	.string "How about saying hi back?\p"
	.string "So, come on, tell me about\n"
	.string "yourself.\p"
	.string "I'd love to hear your profile!$"

Text_1BF017:: @ 81BF017
	.string "Tell me something good about\n"
	.string "yourself. What's your profile?$"

gUnknown_81BF053:: @ 81BF053
	.string "A profile is written using four\n"
	.string "words or phrases.\p"
	.string "There're plenty of words to choose\n"
	.string "from for your profile.\p"
	.string "The words and phrases are placed\n"
	.string "in several convenient groups.\p"
	.string "First, choose a group, then choose\n"
	.string "a word or phrase.\p"
	.string "…It's easier than it sounds.\n"
	.string "Why don't you try it?$"

gUnknown_81BF166:: @ 81BF166
	.string "What's your profile?$"

gUnknown_81BF17B:: @ 81BF17B
	.string "Aww… Don't be like that.\n"
	.string "You can tell me your profile.$"

gUnknown_81BF1B2:: @ 81BF1B2
	.string "Oh, you've decided not to?\n"
	.string "You're fickle, aren't you?$"

gUnknown_81BF1E8:: @ 81BF1E8
	.string "Hi!\n"
	.string "We meet again!$"

Text_1BF1FB:: @ 81BF1FB
	.string "Would you like to change your\n"
	.string "profile?$"

gUnknown_81BF222:: @ 81BF222
	.string "What are you like now?\n"
	.string "I'd really like to know.$"

gUnknown_81BF252:: @ 81BF252
	.string "Okay, you like your profile the\n"
	.string "way it is.\p"
	.string "I think so, too.$"

gUnknown_81BF28E:: @ 81BF28E
	.string "Hmhm…\p"
	.string "Your profile really says something\n"
	.string "about who you are.\p"
	.string "Now that I know you better, it \n"
	.string "makes us better friends than ever!$"

gUnknown_81BF30D:: @ 81BF30D
	.string "Oh, I've heard that before…\p"
	.string "My cousin, who lives far away,\n"
	.string "always used to say that, I think.$"

gUnknown_81BF36A:: @ 81BF36A
	.string "Please tell me more about\n"
	.string "yourself next time!$"

Route5_PokemonDayCare_EventScript_1BF398:: @ 81BF398
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A7AE0
	lock
	faceplayer
	showmoneybox 0, 0, 0
	specialvar VAR_RESULT, IsThereMonInRoute5Daycare
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1BF46E
	msgbox Text_19DD66, 5
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1BF3DD
	msgbox Text_19DDB2
	goto EventScript_1BF541
	end

EventScript_1BF3DD:: @ 81BF3DD
	specialvar VAR_RESULT, CountPartyNonEggMons
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1BF452
	msgbox Text_19DDBE
	fadescreen 1
	hidemoneybox 0, 0
	special ChooseSendDaycareMon
	waitstate
	showmoneybox 0, 0, 0
	compare_var_to_value VAR_0x8004, 6
	goto_if ge, EventScript_1BF444
	specialvar VAR_RESULT, CountPartyAliveNonEggMons_IgnoreVar0x8004Slot
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1BF460
	specialvar VAR_0x8005, GetSelectedMonNickAndSpecies
	msgbox Text_19DDF9
	waitse
	playmoncry VAR_0x8005, 0
	msgbox Text_19DE24
	waitmoncry
	special PutMonInRoute5Daycare
	incrementgamestat GAME_STAT_USED_DAYCARE
	goto EventScript_1BF541
	end

EventScript_1BF444:: @ 81BF444
	msgbox Text_19DDDC
	goto EventScript_1BF541
	end

EventScript_1BF452:: @ 81BF452
	msgbox Text_19DEF5
	goto EventScript_1BF541
	end

EventScript_1BF460:: @ 81BF460
	msgbox Text_19DF1D
	goto EventScript_1BF541
	end

EventScript_1BF46E:: @ 81BF46E
	setvar VAR_0x8004, 0
	specialvar VAR_RESULT, GetNumLevelsGainedForRoute5DaycareMon
	compare_var_to_value VAR_RESULT, 0
	call_if ne, EventScript_1BF4AA
	compare_var_to_value VAR_RESULT, 0
	call_if eq, EventScript_1BF4B3
	special GetCostToWithdrawRoute5DaycareMon
	msgbox Text_19DE80, 5
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1BF4BC
	goto EventScript_1BF444
	end

EventScript_1BF4AA:: @ 81BF4AA
	msgbox Text_19DF56
	return

EventScript_1BF4B3:: @ 81BF4B3
	msgbox Text_19DE3C
	return

EventScript_1BF4BC:: @ 81BF4BC
	specialvar VAR_RESULT, CalculatePlayerPartyCount
	compare_var_to_value VAR_RESULT, 6
	goto_if eq, EventScript_1BF533
	specialvar VAR_RESULT, IsEnoughForCostInVar0x8005
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1BF4EA
	msgbox Text_19E001
	goto EventScript_1BF541
	end

EventScript_1BF4EA:: @ 81BF4EA
	setvar VAR_0x8004, 0
	specialvar VAR_RESULT, TakePokemonFromRoute5Daycare
	special SubtractMoneyFromVar0x8005
	updatemoneybox 0, 0, 0
	copyvar VAR_0x8008, VAR_RESULT
	countpokemon
	subvar VAR_RESULT, 1
	getpartymonname 0, VAR_RESULT
	copyvar VAR_RESULT, VAR_0x8008
	msgbox Text_19DEAF
	textcolor 3
	waitse
	playmoncry VAR_RESULT, 0
	msgbox Text_19DECF
	call EventScript_1A6675
	waitmoncry
	goto EventScript_1BF541
	end

EventScript_1BF533:: @ 81BF533
	msgbox Text_19DFC2
	goto EventScript_1BF541
	end

EventScript_1BF541:: @ 81BF541
	hidemoneybox 0, 0
	release
	end

EventScript_81BF546:: @ 81BF546
	lockall
	msgbox Text_1BFB5A
	special EggHatch
	waitstate
	releaseall
	end

gUnknown_81BF555:: @ 81BF555
	.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\n"
	.string "POKéMON, have a word with my wife.$"

gUnknown_81BF5E3:: @ 81BF5E3
	.string "Ah, it's you!\p"
	.string "We were raising your POKéMON, and\n"
	.string "my 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?$"

gUnknown_81BF69A:: @ 81BF69A
	.string "Ah, it's you! Good to see you.\n"
	.string "Your {STR_VAR_1}'s doing fine.$"

gUnknown_81BF6CF:: @ 81BF6CF
	.string "Well then, I'll keep it.\n"
	.string "Thanks!$"

gUnknown_81BF6F0:: @ 81BF6F0
	.string "You have no room for it…\n"
	.string "Come back when you've made room.$"

Text_1BF72A:: @ 81BF72A
	.string "{PLAYER} received the EGG from\n"
	.string "the DAY-CARE MAN.$"

gUnknown_81BF755:: @ 81BF755
	.string "Take good care of it.$"

Text_1BF76B:: @ 81BF76B
	.string "ポケモンを ひきとりたい ときは\n"
	.string "ばさんに いって おくれ$"

gUnknown_81BF789:: @ 81BF789
	.string "Ah, it's you! Your {STR_VAR_1} and\n"
	.string "{STR_VAR_2} are doing fine.$"

gUnknown_81BF7B6:: @ 81BF7B6
	.string "I really will keep it.\n"
	.string "You do want this, yes?$"

gUnknown_81BF7E4:: @ 81BF7E4
	.string "I'm the DAY-CARE LADY.\p"
	.string "We can raise POKéMON for you.\p"
	.string "Would you like us to raise one?$"

gUnknown_81BF839:: @ 81BF839
	.string "Which POKéMON should we raise for\n"
	.string "you?$"

gUnknown_81BF860:: @ 81BF860
	.string "Fine, we'll raise your {STR_VAR_1}\n"
	.string "for a while.\p"
	.string "Come back for it later.$"

gUnknown_81BF89F:: @ 81BF89F
	.string "We can raise two of your POKéMON.\p"
	.string "Would you like us to raise one\n"
	.string "more POKéMON for you?$"

gUnknown_81BF8F6:: @ 81BF8F6
	.string "My husband was looking for you.$"

gUnknown_81BF916:: @ 81BF916
	.string "Oh, fine, then.\n"
	.string "Come again.$"

gUnknown_81BF932:: @ 81BF932
	.string "You don't have enough money…$"

gUnknown_81BF94F:: @ 81BF94F
	.string "Will you take back the other one,\n"
	.string "too?$"

gUnknown_81BF976:: @ 81BF976
	.string "Fine.\n"
	.string "Come again.$"

gUnknown_81BF988:: @ 81BF988
	.string "Ah, it's you!\n"
	.string "Good to see you.\p"
	.string "Your POKéMON can only be doing\n"
	.string "good!$"

gUnknown_81BF9CC:: @ 81BF9CC
	.string "By level, your {STR_VAR_1} has\n"
	.string "grown by {STR_VAR_2}.$"

gUnknown_81BF9EF:: @ 81BF9EF
	.string "Your POKéMON party is full.\n"
	.string "Make room, then come see me.$"

Text_1BFA28:: @ 81BFA28
	.string "どっちの ポケモンを ひきとるかい?$"

gUnknown_81BFA3B:: @ 81BFA3B
	.string "If you want your {STR_VAR_1} back,\n"
	.string "it will cost ¥{STR_VAR_2}.$"

gUnknown_81BFA67:: @ 81BFA67
	.string "Perfect!\n"
	.string "Here's your POKéMON.$"

gUnknown_81BFA85:: @ 81BFA85
	.string "{PLAYER} took back {STR_VAR_1} from\n"
	.string "the DAY-CARE LADY.$"

gUnknown_81BFAAD:: @ 81BFAAD
	.string "Oh? But you have just one\n"
	.string "POKéMON.\p"
	.string "Come back another time.$"

gUnknown_81BFAE8:: @ 81BFAE8
	.string "Will you take your POKéMON back?$"

gUnknown_81BFB09:: @ 81BFB09
	.string "If you leave me that POKéMON,\n"
	.string "what will you battle with?\p"
	.string "Come back another time.$"

Text_1BFB5A:: @ 81BFB5A
	.string "Huh?$"

EventScript_81BFB5F:: @ 81BFB5F
	animateflash 0
	setflashradius 0
	end

EventScript_RepelWoreOff:: @ 81BFB65
	msgbox Text_1BFB6E, 3
	end

Text_1BFB6E:: @ 81BFB6E
	.string "REPEL's effect wore off…$"

EventScript_SafariWarpOut:: @ 81BFB87
	setvar VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 3
	special ExitSafariMode
	setwarp MAP_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 255, 4, 1
	end

EventScript_1BFB98:: @ 81BFB98
	setvar VAR_MAP_SCENE_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 1
	special ExitSafariMode
	warp MAP_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE, 255, 4, 1
	waitstate
	end

EventScript_SafariRetire:: @ 81BFBAA
	lockall
	msgbox Text_1BFBE9, 5
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1BFBC0
	releaseall
	end

EventScript_1BFBC0:: @ 81BFBC0
	goto EventScript_1BFB98

EventScript_SafariTimesUp:: @ 81BFBC5
	lockall
	playse SE_PINPON
	msgbox gUnknown_81BFC1B
	goto EventScript_1BFB98
	end

EventScript_SafariOutOfBalls:: @ 81BFBD7
	lockall
	playse SE_PINPON
	msgbox gUnknown_81BFC53
	goto EventScript_1BFB98
	end

Text_1BFBE9:: @ 81BFBE9
	.string "Would you like to exit the SAFARI\n"
	.string "ZONE right now?$"

gUnknown_81BFC1B:: @ 81BFC1B
	.string "PA: Ding-dong!\p"
	.string "Time's up!\p"
	.string "PA: Your SAFARI GAME is over!$"

gUnknown_81BFC53:: @ 81BFC53
	.string "PA: Ding-dong!\p"
	.string "You are out of SAFARI BALLS!\p"
	.string "PA: Your SAFARI GAME is over!$"

Text_1BFC9D:: @ 81BFC9D
	.string "サファリゾーンへ ようこそ!\p"
	.string "ここでは ホウエンでは なかなか\n"
	.string "みることの できない ポケモンを\p"
	.string "しぜんの すがたの まま\n"
	.string "めに することが できます\p"
	.string "また ポケモントレーナーの\n"
	.string "ようぼうに おこたえ して\p"
	.string "ポケモンを\n"
	.string "つかまえる ことも できます!\p"
	.string "サファリゾーンを たのしんで いってね!$"

Text_1BFD30:: @ 81BFD30
	.string "サファリゾーンへ ようこそ!\n"
	.string "サファリゾーンは はじめて ですか?$"

Text_1BFD52:: @ 81BFD52
	.string "サファリゾーンを たのしんで いってね!$"

Text_1BFD67:: @ 81BFD67
	.string "サファリゾーンでは\n"
	.string "30この サファリボールを つかって\l"
	.string "ポケモンを つかまえる ことが できます\p"
	.string "サファリボールを つかいきるか\n"
	.string "500ぽ あるくと\p"
	.string "ゲームは しゅうりょう です\p"
	.string "サファリゾーンを たのしんで いってね!$"

Text_1BFDD7:: @ 81BFDD7
	.string "サファリゾーンへ ようこそ!\p"
	.string "500えんで ポケモン つかまえほうだい!\n"
	.string "サファリゲームに さんか しますか?$"

Text_1BFE0F:: @ 81BFE0F
	.string "そうですか\n"
	.string "こんど ぜひ さんか してください!$"

Text_1BFE28:: @ 81BFE28
	.string "おかねが たりませんよ!$"

Text_1BFE35:: @ 81BFE35
	.string "それでは 500えん いただきます$"

Text_1BFE47:: @ 81BFE47
	.string "では サファリボールを どうぞ!$"

Text_1BFE58:: @ 81BFE58
	.string "{PLAYER}は サファリボールを\n"
	.string "30こ うけとった!$"

Text_1BFE70:: @ 81BFE70
	.string "じかんに なりましたら\n"
	.string "こちらから おしらせ しますので\p"
	.string "ぞんぶんに おたのしみ ください!\n"
	.string "では いってらっしゃい!$"

gUnknown_81BFEAC:: @ 81BFEAC
	.string "Excuse me!\n"
	.string "Your PC BOX is full.$"

Text_1BFECC:: @ 81BFECC
	.string "あ! おきゃくさん\n"
	.string "ポロックケースを おもちで ないですね?\p"
	.string "サファリゾーンは ポロックを つかうと\n"
	.string "より おたのしみ いただけますので\p"
	.string "ぜひ ポロックケースを\n"
	.string "おもちに なって おこし ください!$"

Text_1BFF30:: @ 81BFF30
	.string "まだ じかんが のこっていますが\n"
	.string "サファリゾーンを やめますか?$"

Text_1BFF51:: @ 81BFF51
	.string "では ひきつづき おたのしみ ください!$"

Text_1BFF66:: @ 81BFF66
	.string "わかりました\p"
	.string "それでは のこりの サファリボールを\n"
	.string "おあずかり します\p"
	.string "おつかれさまでした\n"
	.string "また ごりよう ください$"

Text_1BFFA1:: @ 81BFFA1
	.string "それでは いってらっしゃい!\l"
	.string "なにか ありましたら\n"
	.string "わたしに こえを かけて くださいね$"

Text_1BFFCE:: @ 81BFFCE
	.string "しってた?\p"
	.string "あの しかくい はこに ポロックを おくと\n"
	.string "ポケモンが あつまって くるんだよ!$"

Text_1BFFFD:: @ 81BFFFD
	.string "この さきに いきたい けど\n"
	.string "じてんしゃ もって くるの わすれた‥‥\p"
	.string "おくに めずらしい ポケモンが\n"
	.string "いそうな きが するのに!$"

Text_1C003F:: @ 81C003F
	.string "ポケモンに ポロックを なげても\n"
	.string "しらんぷり される ときが あるのよ\p"
	.string "ポケモンにも すききらいが あるのかしら?$"

Text_1C0079:: @ 81C0079
	.string "ぜぇ‥‥ ぜぇ‥‥\n"
	.string "やっと ここまで きたけど‥‥\p"
	.string "つかれちゃって ポケモン つかまえる\n"
	.string "げんきも のこって ないよ‥‥$"

Text_1C00B6:: @ 81C00B6
	.string "ホウエンに いない みずポケモンを\n"
	.string "さがしに きたんだけど‥‥\p"
	.string "みずうみは どこにあるのか\n"
	.string "きみ しってるかい?$"

Text_1C00EF:: @ 81C00EF
	.string "ここで めずらしい ポケモンを\n"
	.string "たくさん つかまえて\l"
	.string "ともだちと こうかん するんだ!$"

Text_1C011B:: @ 81C011B
	.string "ポロックおきばに おいた ポロックが\n"
	.string "いつのまにか なくなっていた‥‥\p"
	.string "しらない うちに\n"
	.string "ポケモンが たべちゃったのかな?$"

Text_1C0159:: @ 81C0159
	.string "サファリゾーンの おとくな じょうほう!\p"
	.string "であった ポケモンに\n"
	.string "ポロックを なげると にげにくく なります!$"

Text_1C0190:: @ 81C0190
	.string "あるき つかれたら ちょっと ひといき!\n"
	.string "‘みんなの きゅうけいじょ'$"

Text_1C01B4:: @ 81C01B4
	.string "おれ ポロック もってないけど\n"
	.string "ポケモン たくさん つかまえたよ\p"
	.string "ちかづいて ボールを なげる だけで\n"
	.string "けっこう つかまえられる もんだよ!$"

Text_1C01FB:: @ 81C01FB
	.string "ポロックを つかうと いつもより\n"
	.string "ちょっぴり にげにくく なるみたい\p"
	.string "だから にげにくい ポケモンに つかっても\n"
	.string "あんまり いみが ないかもね$"

Text_1C0243:: @ 81C0243
	.string "ポロックおきばに ポロック おいて\n"
	.string "ポケモンを つかまえると\p"
	.string "おなじ ような せいかくの ポケモンが\n"
	.string "あつまる きが するなあ$"

Text_1C0283:: @ 81C0283
	.string "わしは おおきな {STR_VAR_1}に\n"
	.string "とても きょうみが ある!\p"
	.string "ん? きみ {STR_VAR_1} もってるの?\n"
	.string "ちょ ちょ ちょっと···\l"
	.string "おじさんに みせて おくれ!$"

Text_1C02CB:: @ 81C02CB
	.string "おお! こいつは でかい!\n"
	.string "とても すばらしい {STR_VAR_1}だ!\p"
	.string "みせて くれて ありがとう\n"
	.string "おれいに これを もって いきなさい$"

Text_1C0309:: @ 81C0309
	.string "{PLAYER}は\n"
	.string "{STR_VAR_2}を もらった!$"

Text_1C0317:: @ 81C0317
	.string "ありゃ?\n"
	.string "きみ もちもの いっぱいだね$"

Text_1C032B:: @ 81C032B
	.string "ううむ わしは これより おおきい\n"
	.string "{STR_VAR_1}を みたこと あるな···$"

Text_1C034D:: @ 81C034D
	.string "おお こいつは なかなか···って\n"
	.string "これ {STR_VAR_1}じゃ ないよ!$"

Text_1C036C:: @ 81C036C
	.string "おおきい {STR_VAR_1} もってないの?\l"
	.string "それは ざんねん···\n"
	.string "こんど おおきい {STR_VAR_1} みせてね$"

Text_1C0399:: @ 81C0399
	.string "しじょう さいだいの {STR_VAR_1}!\n"
	.string "{STR_VAR_2}の {STR_VAR_3}cmのやつ!$"

Text_1C03B5:: @ 81C03B5
	.string "パパ“{PLAYER}! よく きたな!\n"
	.string "{PLAYER}あての てがみが とどけられたぞ$"

Text_1C03D7:: @ 81C03D7
	.string "パパ“わたしも みたことのない\n"
	.string "ふねの チケット だな‥‥\l"
	.string "ミナモに いってみると いいだろう$"

Text_1C0407:: @ 81C0407
	.string "カイナいき れんらくせん‥‥\p"
	.string "あら?\n"
	.string "その チケットは‥‥!$"

Text_1C0426:: @ 81C0426
	.string "ヘンテコな チケットを\n"
	.string "もってきたのは おまえさんか?\p"
	.string "おまえが いこうと しているのは\n"
	.string "みなみの はての ちっぽけな しま‥‥\p"
	.string "そこでは なにが おこるのか\n"
	.string "だれも わからねえ‥‥\l"
	.string "ううむ ふなのりの ちが さわぐぜ!\p"
	.string "さあ のりな!$"

Text_1C049D:: @ 81C049D
	.string "なにもねえ ちんけな しま だな‥‥\n"
	.string "ミナモへ かえるか?$"

Text_1C04BB:: @ 81C04BB
	.string "ùÏ! ÉÇñÑ ÒñÉ!$"

Text_1C04C9:: @ 81C04C9
	.string "そうかい\n"
	.string "まあ すきにするが いいさ$"

Text_1C04DC:: @ 81C04DC
	.string "すべての ゆめは もうひとつの げんじつ\n"
	.string "それを わすれるべからず‥‥$"

Text_1C0500:: @ 81C0500
	.string "きおく かすみし ものは\n"
	.string "こころに きざみつける ことを のぞむ‥‥$"

Text_1C0523:: @ 81C0523
	.string "パパ“やあ {PLAYER}!\p"
	.string "めずらしい きのみを てに いれたから\n"
	.string "プレゼント するよ!$"

Text_1C054C:: @ 81C054C
	.string "ふかふかの つちに はえている きのみは\n"
	.string "じゆうに とっても よいのじゃが‥\p"
	.string "1つだけ きのみを おなじ ばしょに うめる\n"
	.string "それが れいぎと いうものじゃ\p"
	.string "ほれ これを わけてやろう$"

Text_1C05A8:: @ 81C05A8
	.string "あんた みたところ トレーナーじゃろ?\p"
	.string "トレーナーは よく きのみを ポケモンに\n"
	.string "もたせとるわい\p"
	.string "ふやすも つかうも あんた しだいじゃ$"

Text_1C05ED:: @ 81C05ED
	.string "いつも みずを あげてたら\n"
	.string "たくさん はなが さいたんだ\p"
	.string "そしたら きのみも たくさん できた!\p"
	.string "はい!\n"
	.string "これ あげる$"

Text_1C0629:: @ 81C0629
	.string "がんばって あかいポロック つくるんだ!\n"
	.string "{STR_VAR_1}も がんばってね!$"

Text_1C064A:: @ 81C064A
	.string "きょうは なにいろの きのみを\n"
	.string "さがそっかなー$"

Text_1C0662:: @ 81C0662
	.string "ポケモンコンテストの ゆうしょうを めざして\n"
	.string "きのみを あつめているんだ\p"
	.string "よかったら きみにも わけて あげるよ!$"

Text_1C069C:: @ 81C069C
	.string "きみも がんばれ!$"

Text_1C06A6:: @ 81C06A6
	.string "きょうは どの きのみを うめるか‥\n"
	.string "そして なにいろの ポロックを つくるか‥\p"
	.string "なやむのも また たのしいよ$"

Text_1C06DE:: @ 81C06DE
	.string "ケースを ふると でてくる ポロック‥\p"
	.string "そして それを キャッチして\n"
	.string "たべてくれる ポケモン‥\p"
	.string "これって あい だよね?$"

Text_1C071B:: @ 81C071B
	.string "うん うん!\n"
	.string "やっぱ わかるひとには わかるよね\p"
	.string "これ あげる$"

Text_1C073B:: @ 81C073B
	.string "そっか‥‥\n"
	.string "でも ちがうと かんじることも たいせつだね\p"
	.string "これ あげる$"

Text_1C075F:: @ 81C075F
	.string "その きのみは めずらしいもの らしいから\n"
	.string "たいせつに そだててね!$"

Text_1C0782:: @ 81C0782
	.string "また きのみめいじんに もらって こようっと$"

Text_1C0799:: @ 81C0799
	.string "やっぱり\p"
	.string "わたしに スーツが にあうように\n"
	.string "うみには しおかぜが にあうな\l"
	.string "そして きみには きのみが にあいそうだ‥‥\p"
	.string "なんでだろうね?$"

Text_1C07DF:: @ 81C07DF
	.string "やっぱり それは‥‥‥‥\p"
	.string "きみが トレーナーだからだ!$"

Text_1C07FB:: @ 81C07FB
	.string "やっぱり\p"
	.string "わたしに シンプルさが にあうように\n"
	.string "ポケモンには ポロックが にあうな$"

Text_1C0825:: @ 81C0825
	.string "わしは きのみめいじんと よばれておる\p"
	.string "わしは せかいじゅうを うつくしい はなで\n"
	.string "うめつくそうと きのみを そだてて\l"
	.string "そして くばり まくって おるのじゃ\p"
	.string "きみにも きのみを わけて あげよう!$"

Text_1C0888:: @ 81C0888
	.string "ほれ えんりょ せずに もう ひとつ!$"

Text_1C089C:: @ 81C089C
	.string "カナズミの ちかくにある サン·トウカという\n"
	.string "フラワーショップも よろしくの\p"
	.string "せかいに はなを さかせましょう!$"

Text_1C08D5:: @ 81C08D5
	.string "きょうは もう おしまいじゃ\n"
	.string "また おいで\p"
	.string "せかいに はなを さかせましょう!$"

Text_1C08FD:: @ 81C08FD
	.string "じいさんの きのみの そだてかたは\n"
	.string "そりゃあ せかいいちじゃ\p"
	.string "わしも はなが たかいわい\p"
	.string "ところで あんた\n"
	.string "いい ことばを きいたことが ないかい?$"

Text_1C0948:: @ 81C0948
	.string "おお! とても よい ことばじゃ!\n"
	.string "かんどう したわい\p"
	.string "ほれ これを もっていきなされ$"

Text_1C0974:: @ 81C0974
	.string "おお! なかなか よい ことばじゃ\n"
	.string "あんたも たいしたもんじゃ\p"
	.string "ほれ これを もっていきなされ$"

Text_1C09A4:: @ 81C09A4
	.string "まごたち 4にんも じいさんを しのぐ\n"
	.string "おおものに なるじゃろうて\p"
	.string "じんせい たのしいことが つきんのう!$"

Text_1C09DA:: @ 81C09DA
	.string "ほう‥‥$"

Text_1C09DF:: @ 81C09DF
	.string "こんにちは!\p"
	.string "はなを せかいに ひろめる\n"
	.string "フラワーショップ サン·トウカです!$"

Text_1C0A07:: @ 81C0A07
	.string "{PLAYER}{KUN} きのみの こと しりたい?$"

Text_1C0A1A:: @ 81C0A1A
	.string "あなたの なまえは‥‥\p"
	.string "{PLAYER}{KUN}ね!\n"
	.string "とっても いい なまえだね!\l"
	.string "{PLAYER}{KUN} きのみのこと しりたい?$"

Text_1C0A4E:: @ 81C0A4E
	.string "きのみはね くろい ふかふかの つちの\n"
	.string "ところで たまに とれるの\l"
	.string "でね‥‥\p"
	.string "とったら その1つを また うめるの!\p"
	.string "そうすると その きのみ から\n"
	.string "めがでて みきが できて はながさいて\l"
	.string "また きのみ が できるの\p"
	.string "そうやって はなを ふやして\n"
	.string "せかいじゅうを はなに するのが\l"
	.string "わたしの ゆめ なんだ!\p"
	.string "だから {PLAYER}{KUN}も きのみを うめて\n"
	.string "せかいに はなを ふやしてね!$"

Text_1C0B0B:: @ 81C0B0B
	.string "おはなって とっても しあわせな きぶんに\n"
	.string "してくれるよね$"

Text_1C0B29:: @ 81C0B29
	.string "こんにちは!\p"
	.string "おはなは せわを すれば するほど\n"
	.string "たくさん きれいに さいて くれるの\p"
	.string "あなたも せわを したく なった でしょ?\n"
	.string "これ あげるわ$"

Text_1C0B73:: @ 81C0B73
	.string "きのみが そだつ たびに\n"
	.string "じょうろで みずを あげてね!\p"
	.string "あとね\p"
	.string "きのみは ずっと ずっと ほうっておくと\n"
	.string "じめんに おちてしまうの\l"
	.string "でもね そこから また めがでて くるの!\p"
	.string "すごいよね!\n"
	.string "いきものの ちからを かんじるよね$"

Text_1C0BE5:: @ 81C0BE5
	.string "おねーちゃんたちを みならって\n"
	.string "がんばって おはなを そだててるの\p"
	.string "はい! これあげる!$"

Text_1C0C12:: @ 81C0C12
	.string "きのみは うめて おおきく したり\n"
	.string "ポケモンに もたせたり できるの\p"
	.string "でも さいきん きのみを いくつか まぜると\n"
	.string "ポケモンの おかしになる きかいが\l"
	.string "ある らしいんだ\p"
	.string "あたしも おかし ほしー$"

Text_1C0C74:: @ 81C0C74
	.string "{STR_VAR_1} なまえ なんていうの?\p"
	.string "‥‥‥ ‥‥‥ ‥‥‥\n"
	.string "へー いいねー\p"
	.string "わたしは キリ っていう なまえなの\p"
	.string "パパと ママが すくすくと そだって\n"
	.string "こころの あたたかい おんなのこに なって\l"
	.string "ほしいっていう ねがいを こめたんだって!\p"
	.string "{STR_VAR_1}にも これ あげる$"

Text_1C0CF5:: @ 81C0CF5
	.string "あと {STR_VAR_1}には キリの だいすきな\n"
	.string "この きのみも あげちゃう!$"

Text_1C0D16:: @ 81C0D16
	.string "{STR_VAR_1}の なまえには\n"
	.string "どんな ねがいが こめられてるの?$"

Text_1C0D32:: @ 81C0D32
	.string "はる なつ あき ふゆ\n"
	.string "はるに うまれると はるが すきで\l"
	.string "なつに うまれると なつが すきなのかな?$"

Text_1C0D66:: @ 81C0D66
	.string "じゃあ キリは あきに うまれたから\n"
	.string "あきが だいすき!\p"
	.string "{STR_VAR_1}は いつが すき?$"

Text_1C0D8F:: @ 81C0D8F
	.string "そっか‥\n"
	.string "かんけいないのか‥\p"
	.string "しりたいことって たくさんあるなー$"

gUnknown_81C0DB0:: @ 81C0DB0
	.string "It's crammed full of POKéMON\n"
	.string "books.$"

Text_1C0DD4:: @ 81C0DD4
	.string "ほんだなに ならんでいるのは\n"
	.string "ポケモンの ほん ばかりだ$"

Text_1C0DF1:: @ 81C0DF1
	.string "A TOWN MAP.$"

gUnknown_81C0DFD:: @ 81C0DFD
	.string "Wow!\n"
	.string "Tons of POKéMON stuff!$"

gUnknown_81C0E19:: @ 81C0E19
	.string "Dishes and plates are neatly\n"
	.string "lined up.$"

gUnknown_81C0E40:: @ 81C0E40
	.string "It smells delicious!\n"
	.string "Somebody's been cooking here.$"

gUnknown_81C0E73:: @ 81C0E73
	.string "It's a nicely made dresser.\n"
	.string "It will hold a lot of stuff.$"

gUnknown_81C0EAC:: @ 81C0EAC
	.string "There's a pile of snacks here.$"

gUnknown_81C0ECB:: @ 81C0ECB
	.string "All your item needs fulfilled!\n"
	.string "POKéMON MART$"

gUnknown_81C0EF7:: @ 81C0EF7
	.string "Heal Your POKéMON!\n"
	.string "POKéMON CENTER$"

gUnknown_81C0F19:: @ 81C0F19
	.string "INDIGO PLATEAU\p"
	.string "The ultimate goal of TRAINERS!\n"
	.string "POKéMON LEAGUE HQ$"

gUnknown_81C0F59:: @ 81C0F59
	.string "INDIGO PLATEAU\p"
	.string "The highest POKéMON authority!\n"
	.string "POKéMON LEAGUE HQ$"

gUnknown_81C0F99:: @ 81C0F99
	.string "It should be packed with all kinds\n"
	.string "of delicious things to eat.$"

gUnknown_81C0FD8:: @ 81C0FD8
	.string "It's a blueprint of some sort.\n"
	.string "It's filled with diagrams and text.$"

gUnknown_81C101B:: @ 81C101B
	.string "It's a pretty picture of a POKéMON.\n"
	.string "It looks like it's feeling good.$"

gUnknown_81C1060:: @ 81C1060
	.string "What could this machine be?\n"
	.string "Better not mess around with it!$"

gUnknown_81C109C:: @ 81C109C
	.string "It's a telephone.\n"
	.string "Better not use it.$"

gUnknown_81C10C1:: @ 81C10C1
	.string "It's all complicated words and\n"
	.string "numbers that make no sense…$"

gUnknown_81C10FC:: @ 81C10FC
	.string "It's an advertising poster about\n"
	.string "all kinds of products.$"

gUnknown_81C1134:: @ 81C1134
	.string "Oh, that smells tasty!\n"
	.string "It might get the stomach growling!$"

gUnknown_81C116E:: @ 81C116E
	.string "Inside this…\n"
	.string "……\p"
	.string "There's nothing here!$"

gUnknown_81C1194:: @ 81C1194
	.string "It's a cup with a POKéMON mark\n"
	.string "on it.$"

gUnknown_81C11BA:: @ 81C11BA
	.string "The window is very well polished.$"

gUnknown_81C11DC:: @ 81C11DC
	.string "Outside the window…\p"
	.string "The sky looks fantastically\n"
	.string "beautiful.$"

gUnknown_81C1217:: @ 81C1217
	.string "Lights in different colors are\n"
	.string "flashing on and off.$"

gUnknown_81C124B:: @ 81C124B
	.string "All sorts of tools are lined up\n"
	.string "neatly.$"

gUnknown_81C1273:: @ 81C1273
	.string "It's a machine of some sort.\n"
	.string "It sure is impressive.$"

gUnknown_81C12A7:: @ 81C12A7
	.string "It's the latest video game!\n"
	.string "It sure looks fun!$"

gUnknown_81C12D6:: @ 81C12D6
	.string "There are obvious signs of burglary\n"
	.string "here…$"

gUnknown_81C1300:: @ 81C1300
	.string "There's a POKéMON on TV!\n"
	.string "It looks like it's having fun.$"

EventScript_1C1338:: @ 81C1338
	waitse
	setdivewarp MAP_UNKNOWN_MAP_00_00, 72, 7187, 8
	nop
	copyvar VAR_0x4030, 1
	end

EventScript_1C1348:: @ 81C1348
	lockall
	delay 20
	applymovement 255, Movement_1C137A
	waitmovement 0
	playse SE_RU_HYUU
	delay 60
	warphole 0xFFFF
	waitstate
	end

EventScript_1C1361:: @ 81C1361
	lockall
	delay 20
	applymovement 255, Movement_1C137A
	waitmovement 0
	playse SE_RU_HYUU
	delay 60
	special DoFallWarp
	waitstate
	end

Movement_1C137A:: @ 81C137A
	step_60
	step_end

gUnknown_81C137C:: @ 81C137C
	.string "The battery isn't charged enough.\p"
	.string "No. of steps required to fully\n"
	.string "charge the battery: {STR_VAR_1}{PAUSE_UNTIL_PRESS}$"

gUnknown_81C13D6:: @ 81C13D6
	.string "There are no TRAINERS within range\n"
	.string "who can battle…\p"
	.string "The VS SEEKER was turned off.{PAUSE_UNTIL_PRESS}$"

gUnknown_81C1429:: @ 81C1429
	.string "The other TRAINERS don't appear\n"
	.string "to be ready for battle.\p"
	.string "Let's wait till later.{PAUSE_UNTIL_PRESS}$"

Text_1C147A:: @ 81C147A
	.string "Hey!\n"
	.string "I saw you in VIRIDIAN FOREST!$"

Text_1C149D:: @ 81C149D
	.string "Hi! I like shorts!\n"
	.string "They're comfy and easy to wear!\p"
	.string "You should be wearing shorts, too!$"

Text_1C14F3:: @ 81C14F3
	.string "Excuse me!\n"
	.string "You keep looking at me, don't you?$"

Text_1C1521:: @ 81C1521
	.string "You're a TRAINER, aren't you?\n"
	.string "Let's get with it right away!$"

Text_1C155D:: @ 81C155D
	.string "That look you give me…\n"
	.string "It intrigues me so!$"

Text_1C1588:: @ 81C1588
	.string "Hey! What's wrong with you?\n"
	.string "You're still not wearing shorts!$"

Text_1C15C5:: @ 81C15C5
	.string "I'll battle you with the POKéMON\n"
	.string "I started raising.$"

Text_1C15F9:: @ 81C15F9
	.string "Eek!\n"
	.string "Did you push me?$"

Text_1C160F:: @ 81C160F
	.string "I always catch mushroom POKéMON\n"
	.string "on MT. MOON.$"

Text_1C163C:: @ 81C163C
	.string "Oh! You're that nosy kid who\n"
	.string "eavesdropped on us!$"

Text_1C166D:: @ 81C166D
	.string "Excuse me! Didn't I tell you that\n"
	.string "this is a private conversation?\p"
	.string "You shouldn't be listening in,\n"
	.string "you uncouth person!$"

Text_1C16E2:: @ 81C16E2
	.string "I'm trying to find something good\n"
	.string "that's not a BUG POKéMON, but…$"

Text_1C1723:: @ 81C1723
	.string "Huh?\n"
	.string "You want to go with me again?$"

Text_1C1746:: @ 81C1746
	.string "Me?\n"
	.string "Well, okay. I'll play this once.$"

Text_1C176B:: @ 81C176B
	.string "Hey, long time!\n"
	.string "Have you gotten better?$"

Text_1C1793:: @ 81C1793
	.string "You are good at POKéMON, but how\n"
	.string "is your chemistry grade?$"

Text_1C17CD:: @ 81C17CD
	.string "All right!\n"
	.string "Let's play another game!$"

Text_1C17F1:: @ 81C17F1
	.string "You need strategy to win at\n"
	.string "battling.\p"
	.string "Are you following my advice?$"

Text_1C1834:: @ 81C1834
	.string "I've collected many NIDORAN.\n"
	.string "I don't want them to evolve, but…$"

Text_1C1873:: @ 81C1873
	.string "School is fun, but I still think\n"
	.string "POKéMON are fun, too.$"

Text_1C18AA:: @ 81C18AA
	.string "MEOWTH and PERSIAN are so cute,\n"
	.string "meow, meow, meow!$"

Text_1C18DC:: @ 81C18DC
	.string "We may look silly standing here\n"
	.string "like this, but I can still battle.$"

Text_1C191F:: @ 81C191F
	.string "I'm a rambling, gaming dude!\n"
	.string "I'm on a winning streak!$"

Text_1C1955:: @ 81C1955
	.string "What's a cute, round, and fluffy\n"
	.string "POKéMON?\p"
	.string "You already know, don't you?$"

Text_1C199C:: @ 81C199C
	.string "My bike's still acting up, man.$"

Text_1C19BC:: @ 81C19BC
	.string "Okay, kid!\n"
	.string "Don't expect mercy this time!$"

Text_1C19E5:: @ 81C19E5
	.string "ELI: Our twin power became even\n"
	.string "better!$"

Text_1C1A0D:: @ 81C1A0D
	.string "ANNE: Our twin power powered up!$"

Text_1C1A2E:: @ 81C1A2E
	.string "We're to battle again?\n"
	.string "This time, you're mine!$"

Text_1C1A5D:: @ 81C1A5D
	.string "I haven't forgotten you were with\n"
	.string "those good-looking POKéMON.$"

Text_1C1A9B:: @ 81C1A9B
	.string "I'm taking ROCK TUNNEL to go to\n"
	.string "LAVENDER…\p"
	.string "But I keep getting stopped by\n"
	.string "everyone along the way…$"

Text_1C1AFB:: @ 81C1AFB
	.string "Don't you dare patronize me today!\n"
	.string "We're playing for keeps!$"

Text_1C1B37:: @ 81C1B37
	.string "Bwahaha!\n"
	.string "Great! I was bored again, eh!$"

Text_1C1B5E:: @ 81C1B5E
	.string "Hahaha!\n"
	.string "A little toughie, as always!$"

Text_1C1B83:: @ 81C1B83
	.string "I got up early every day to train\n"
	.string "my POKéMON from cocoons!$"

Text_1C1BBE:: @ 81C1BBE
	.string "Hahahaha!\n"
	.string "I'll win this time!$"

Text_1C1BDC:: @ 81C1BDC
	.string "Go win, my super BUG POKéMON!$"

Text_1C1BFA:: @ 81C1BFA
	.string "Wow, you came here again?\n"
	.string "Maybe you're a POKéMANIAC, too?\l"
	.string "Want to see my collection?$"

Text_1C1C4F:: @ 81C1C4F
	.string "Ha-hahah-ah-ha!\n"
	.string "I can't stop sneezing!$"

Text_1C1C76:: @ 81C1C76
	.string "Hi, kid!\n"
	.string "Did I show you my POKéMON?$"

Text_1C1C9A:: @ 81C1C9A
	.string "I went out to a POKéMON GYM again.\p"
	.string "…But I lost as usual.$"

Text_1C1CD3:: @ 81C1CD3
	.string "Ah!\n"
	.string "This mountain air is delicious!\l"
	.string "It's so good, I can't leave!$"

Text_1C1D14:: @ 81C1D14
	.string "My head is starting to spin.\n"
	.string "I've been hiking for too long…$"

Text_1C1D50:: @ 81C1D50
	.string "Win, lose, or draw!\n"
	.string "Now for our rematch!$"

Text_1C1D79:: @ 81C1D79
	.string "Competing is the ultimate thrill.\n"
	.string "I still can't get enough!$"

Text_1C1DB5:: @ 81C1DB5
	.string "You know, right?\n"
	.string "Let's go, but don't cheat!$"

Text_1C1DE1:: @ 81C1DE1
	.string "Hi, there!\p"
	.string "But be careful!\n"
	.string "I'm still laying down some cables!$"

Text_1C1E1F:: @ 81C1E1F
	.string "I became a TRAINER a while ago.\n"
	.string "But, I think I can win.$"

Text_1C1E57:: @ 81C1E57
	.string "Fwahaha!\n"
	.string "I have never lost!\p"
	.string "…And if I did, I've forgotten all\n"
	.string "about it!$"

Text_1C1E9F:: @ 81C1E9F
	.string "I have never won before…\p"
	.string "Perhaps I am destined to remain\n"
	.string "that way…$"

Text_1C1EE2:: @ 81C1EE2
	.string "I'm the best in my class.\n"
	.string "I train every morning and night!$"

Text_1C1F1D:: @ 81C1F1D
	.string "Keep your eyes out for live wires!$"

Text_1C1F40:: @ 81C1F40
	.string "I raised my POKéMON carefully.\n"
	.string "They should be ready by now.\l"
	.string "This time, they should win, too.$"

Text_1C1F9D:: @ 81C1F9D
	.string "Yeah!\n"
	.string "I got a bite, here!\l"
	.string "Th-this might be the real thing!$"

Text_1C1FD8:: @ 81C1FD8
	.string "You're finally here.\n"
	.string "Fishing is a waiting game.$"

Text_1C2008:: @ 81C2008
	.string "Still can't find a MOON STONE…\n"
	.string "Have you found one?$"

Text_1C203B:: @ 81C203B
	.string "Electricity has always been my\n"
	.string "specialty.\p"
	.string "I don't know a thing about POKéMON\n"
	.string "of the sea, though.$"

Text_1C209C:: @ 81C209C
	.string "The FISHING FOOL vs. POKéMON KID!\n"
	.string "Another round, fight!$"

Text_1C20D4:: @ 81C20D4
	.string "I love fishing, don't get me wrong.\n"
	.string "But, I wish I had more work…\l"
	.string "…It's hard to give up fishing!$"

Text_1C2134:: @ 81C2134
	.string "What's catching?\p"
	.string "You'll never know unless you beat\n"
	.string "me!$"

Text_1C216B:: @ 81C216B
	.string "JES: I'll win here today and\n"
	.string "propose to my GIA.$"

Text_1C219B:: @ 81C219B
	.string "GIA: Hey, JES…\n"
	.string "I've been waiting a long time now.\p"
	.string "If we win today, I'll marry you!$"

Text_1C21EE:: @ 81C21EE
	.string "My bird POKéMON remember you!$"

Text_1C220C:: @ 81C220C
	.string "I want to be the best TRAINER \n"
	.string "while I'm a kid!$"

Text_1C223C:: @ 81C223C
	.string "Wow!\n"
	.string "You got more cool BADGES!$"

Text_1C225B:: @ 81C225B
	.string "My cutely grown POKéMON wish to\n"
	.string "become reacquainted with you.$"

Text_1C2299:: @ 81C2299
	.string "I cleaned out my savings and\n"
	.string "bought more CARBOS.$"

Text_1C22CA:: @ 81C22CA
	.string "I'm not going to lose this time.\n"
	.string "The wind's blowing my way!$"

Text_1C2306:: @ 81C2306
	.string "Oh, you're back?\p"
	.string "Sure, I'll play again with you,\n"
	.string "sweetie.$"

Text_1C2340:: @ 81C2340
	.string "Can't you forget that you battled\n"
	.string "with me?$"

Text_1C236B:: @ 81C236B
	.string "What're you starin' at?$"

Text_1C2383:: @ 81C2383
	.string "I always go with bird POKéMON.\n"
	.string "I've dedicated myself to them.$"

Text_1C23C1:: @ 81C23C1
	.string "I used TMs to teach good moves\n"
	.string "to my POKéMON.$"

Text_1C23EF:: @ 81C23EF
	.string "My bird POKéMON should be ready\n"
	.string "for battle this time.$"

Text_1C2425:: @ 81C2425
	.string "Are you using TMs on POKéMON?\n"
	.string "Just holding them is useless.$"

Text_1C2461:: @ 81C2461
	.string "Have you taught your bird POKéMON\n"
	.string "how to FLY?\p"
	.string "You'll be able to soar with it into\n"
	.string "the sky! Give it a try.$"

Text_1C24CB:: @ 81C24CB
	.string "The legend of the winged mirages…\n"
	.string "You've heard it, right?$"

Text_1C2505:: @ 81C2505
	.string "I'm really not into it, but okay.\n"
	.string "Let's go!$"

Text_1C2531:: @ 81C2531
	.string "Hey!\n"
	.string "I remember you!\p"
	.string "C'mon, c'mon.\n"
	.string "Let's go, let's go, let's go!$"

Text_1C2572:: @ 81C2572
	.string "You're here again, huh?\n"
	.string "Shut up and battle.$"

Text_1C259E:: @ 81C259E
	.string "We've been riding here because of\n"
	.string "the wide-open spaces.$"

Text_1C25D6:: @ 81C25D6
	.string "POKéMON battle, right?\n"
	.string "Cool! Rumble!$"

Text_1C25FB:: @ 81C25FB
	.string "KIRI: JAN, I hope we win today.$"

Text_1C261B:: @ 81C261B
	.string "JAN: KIRI, here we go!\n"
	.string "Let's win for sure this time!$"

Text_1C2650:: @ 81C2650
	.string "I'm going to keep battling with the\n"
	.string "POKéMON I got in trades.$"

Text_1C268D:: @ 81C268D
	.string "You look gentle, so I think I can\n"
	.string "beat you.\p"
	.string "I'll give it one more go!$"

Text_1C26D3:: @ 81C26D3
	.string "When I whistle, bird POKéMON\n"
	.string "gather around.\p"
	.string "They're amazingly cute!$"

Text_1C2717:: @ 81C2717
	.string "Hmm? My birds are shivering!\n"
	.string "Wait, aren't you that TRAINER…$"

Text_1C2753:: @ 81C2753
	.string "Oh, you're a little cutie!\n"
	.string "So like a darling POKéMON!\l"
	.string "I remember you now!$"

Text_1C279D:: @ 81C279D
	.string "I raise POKéMON for protection\n"
	.string "because I live alone.\p"
	.string "That hasn't changed.$"

Text_1C27E7:: @ 81C27E7
	.string "Hey, kid! C'mon!\n"
	.string "I got these off some loser!$"

Text_1C2814:: @ 81C2814
	.string "Fork over all your cash when you\n"
	.string "lose to me, kid!$"

Text_1C2846:: @ 81C2846
	.string "What's cool and happening?\n"
	.string "Trading POKéMON, of course.$"

Text_1C287D:: @ 81C287D
	.string "Want to play with my POKéMON\n"
	.string "again?$"

Text_1C28A1:: @ 81C28A1
	.string "MYA: Hi, we keep meeting,\n"
	.string "don't we?\p"
	.string "Help me train my little brother\n"
	.string "again?$"

Text_1C28EC:: @ 81C28EC
	.string "RON: My sister's gotten more\n"
	.string "powerful…$"

Text_1C2913:: @ 81C2913
	.string "What do you want?$"

Text_1C2925:: @ 81C2925
	.string "Nice BIKE!\n"
	.string "Hand it over quick!$"

Text_1C2944:: @ 81C2944
	.string "Come out and play, little mouse.\n"
	.string "I'll treat you right!$"

Text_1C297B:: @ 81C297B
	.string "Hey, wait a second!\n"
	.string "Don't call me and then run away!$"

Text_1C29B0:: @ 81C29B0
	.string "I'm feeling hungry and mean!\n"
	.string "I really need a punching bag!$"

Text_1C29EB:: @ 81C29EB
	.string "Hey, there!\n"
	.string "We'll have ourselves a good time!$"

Text_1C2A19:: @ 81C2A19
	.string "JED: Are you here to see our\n"
	.string "love, which knows no bounds?$"

Text_1C2A53:: @ 81C2A53
	.string "LEA: Sometimes, the intensity of\n"
	.string "our love scares me.$"

Text_1C2A88:: @ 81C2A88
	.string "I told you, there's no getting rich\n"
	.string "quick in battling kids.$"

Text_1C2AC4:: @ 81C2AC4
	.string "I'm mighty proud of my bod, kiddo.\n"
	.string "Come on!$"

Text_1C2AF0:: @ 81C2AF0
	.string "You out for a stroll?$"

Text_1C2B06:: @ 81C2B06
	.string "We're BIKERS!\n"
	.string "We rule the roads, man!$"

Text_1C2B2C:: @ 81C2B2C
	.string "VOLTORB's going to seriously\n"
	.string "electrify you today!$"

Text_1C2B5E:: @ 81C2B5E
	.string "I leveled up my POKéMON, but it\n"
	.string "absolutely won't evolve. Why?$"

Text_1C2B9C:: @ 81C2B9C
	.string "Gaah! I really need to exercise\n"
	.string "and seriously trim some flab!$"

Text_1C2BDA:: @ 81C2BDA
	.string "Be a rebel!$"

Text_1C2BE6:: @ 81C2BE6
	.string "Yep, that's a nice BIKE!\n"
	.string "How's it handle?$"

Text_1C2C10:: @ 81C2C10
	.string "Get lost, kid!\n"
	.string "I'm bushed!$"

Text_1C2C2B:: @ 81C2C2B
	.string "I've been checking every grassy\n"
	.string "area for new POKéMON.\p"
	.string "But it's not always easy…$"

Text_1C2C7B:: @ 81C2C7B
	.string "Koorukukukoo!\n"
	.string "Is my birdcall getting better?$"

Text_1C2CA8:: @ 81C2CA8
	.string "I warned you before, this is my\n"
	.string "turf!\p"
	.string "I don't want you coming around.$"

Text_1C2CEE:: @ 81C2CEE
	.string "I'm almost warmed up to go\n"
	.string "out for a swim.$"

Text_1C2D19:: @ 81C2D19
	.string "Wait! Slow down!\n"
	.string "What if you have a heart attack?$"

Text_1C2D4B:: @ 81C2D4B
	.string "I love swimming!\n"
	.string "I guess you're the surfing type.$"

Text_1C2D7D:: @ 81C2D7D
	.string "What's beyond the horizon?\n"
	.string "Have you seen?$"

Text_1C2DA7:: @ 81C2DA7
	.string "I tried diving for POKéMON again,\n"
	.string "but it was a no-go like before.$"

Text_1C2DE9:: @ 81C2DE9
	.string "I look at the sea to forget all\n"
	.string "the bad things that happened.\p"
	.string "…Like losing to you the last time!$"

Text_1C2E4A:: @ 81C2E4A
	.string "You always get to ride your\n"
	.string "POKéMON…\p"
	.string "It looks so relaxing.\n"
	.string "Can I have it if I win?$"

Text_1C2E9D:: @ 81C2E9D
	.string "Swimming's great!\n"
	.string "Sunburns aren't!$"

Text_1C2EC0:: @ 81C2EC0
	.string "These waters are treacherous!\n"
	.string "You shouldn't come back here!$"

Text_1C2EFC:: @ 81C2EFC
	.string "I swam here with my friends…\n"
	.string "I'm tired…\l"
	.string "Must we really battle again?$"

Text_1C2F41:: @ 81C2F41
	.string "LIA: You know my brother just\n"
	.string "became a TRAINER, right?\p"
	.string "I want to make him better, so I\n"
	.string "need your help again.$"

Text_1C2FAE:: @ 81C2FAE
	.string "LUC: My big sis taught me all\n"
	.string "about POKéMON.\p"
	.string "I wonder if I'm better?$"

Text_1C2FF3:: @ 81C2FF3
	.string "The water is shallow here.\n"
	.string "There are many people swimming.$"

Text_1C302E:: @ 81C302E
	.string "Are you jealous that I'm\n"
	.string "vacationing on SEAFOAM?$"

Text_1C305F:: @ 81C305F
	.string "I love floating with the fishes\n"
	.string "here among the waves.$"

Text_1C3095:: @ 81C3095
	.string "Were you on vacation, too?$"

Text_1C30B0:: @ 81C30B0
	.string "Check out my physique!\p"
	.string "It's even more buff than ever\n"
	.string "before!$"

Text_1C30ED:: @ 81C30ED
	.string "Why are you riding a POKéMON?\n"
	.string "Haven't you learned to swim yet?$"

Text_1C312C:: @ 81C312C
	.string "I rode my bird POKéMON here.$"

Text_1C3149:: @ 81C3149
	.string "My boyfriend gave me big pearls.\n"
	.string "And, they've grown bigger!$"

Text_1C3185:: @ 81C3185
	.string "I swam here from CINNABAR ISLAND.\n"
	.string "It wasn't easy, like I said.$"

Text_1C31C4:: @ 81C31C4
	.string "CINNABAR, in the west, has a LAB\n"
	.string "for POKéMON.\p"
	.string "My daddy works there.$"

Text_1C3208:: @ 81C3208
	.string "You want to know if the fish are\n"
	.string "biting?$"

Text_1C3231:: @ 81C3231
	.string "I got a big haul again!\n"
	.string "Wanna go for it once more?$"

Text_1C3264:: @ 81C3264
	.string "The sea cleanses my body and soul!$"

Text_1C3287:: @ 81C3287
	.string "きょうも およぎに\n"
	.string "きちまったぜ$"

Text_1C3298:: @ 81C3298
	.string "I caught my POKéMON at sea.\n"
	.string "And that's where I train them.$"

Text_1C32D3:: @ 81C32D3
	.string "Right now, I'm in another triathlon\n"
	.string "meet!$"

Text_1C32FD:: @ 81C32FD
	.string "Ahh!\n"
	.string "Feel the sun and the wind!$"

Text_1C331D:: @ 81C331D
	.string "Hey, cut it out already.\n"
	.string "You always scare away the fish!$"

Text_1C3356:: @ 81C3356
	.string "Keep me company till I get a hit.$"

Text_1C3378:: @ 81C3378
	.string "LIL: Huh? A battle again?\n"
	.string "IAN, can't you do it alone?$"

Text_1C33AE:: @ 81C33AE
	.string "IAN: My sis is still a slob.\n"
	.string "Help me get her into shape!$"

Text_1C33E7:: @ 81C33E7
	.string "I won't lose while I'm here!$"

Text_1C3404:: @ 81C3404
	.string "Dad took me to a great party on\n"
	.string "the S.S. ANNE at VERMILION CITY.$"

Text_1C3445:: @ 81C3445
	.string "I'm a cool guy.\n"
	.string "I've got a girlfriend!\p"
	.string "I'll show her how cool I am for\n"
	.string "sure this time!$"

Text_1C349C:: @ 81C349C
	.string "Hi!\n"
	.string "My boyfriend is cool!\l"
	.string "My conditioning's good today!$"

Text_1C34D4:: @ 81C34D4
	.string "I had this feeling…\n"
	.string "I knew I had to battle you again!$"

Text_1C350A:: @ 81C350A
	.string "My friend has many cute POKéMON.\n"
	.string "I'm so jealous!$"

Text_1C353B:: @ 81C353B
	.string "I just trained up on MT. MOON,\n"
	.string "but I've still got gas in the tank!$"

Text_1C357E:: @ 81C357E
	.string "A POKéMANIAC lives on the cape.\n"
	.string "Have you seen his collection?$"

Text_1C35BC:: @ 81C35BC
	.string "You're going to see BILL again?\n"
	.string "First, we battle!$"

Text_1C35EE:: @ 81C35EE
	.string "I saw your feat from the grass!$"

Text_1C360E:: @ 81C360E
	.string "Okay!\n"
	.string "I'll stomp you!$"

Text_1C3624:: @ 81C3624
	.string "You always look so busy…\n"
	.string "Aren't you getting tired?$"

Text_1C3657:: @ 81C3657
	.string "You really must love coming to\n"
	.string "NUGGET BRIDGE.$"

Text_1C3685:: @ 81C3685
	.string "The time we battled…\p"
	.string "Even though I was the second in\n"
	.string "line, I was the best, wasn't I?$"

Text_1C36DA:: @ 81C36DA
	.string "People call this the NUGGET\n"
	.string "BRIDGE!\p"
	.string "You've already beaten us, so you're\n"
	.string "not allowed to take the challenge…\p"
	.string "…But, you're welcome to battle with\n"
	.string "us again.$"

Text_1C3773:: @ 81C3773
	.string "Lying back, rocked by the waves…\n"
	.string "I don't notice time slipping by…$"

Text_1C37B5:: @ 81C37B5
	.string "The weather's gorgeous!\n"
	.string "I'll try not to spoil it.$"

Text_1C37E7:: @ 81C37E7
	.string "My sunburn is starting to hurt…$"

Text_1C3807:: @ 81C3807
	.string "The fire bird's mountain casts\n"
	.string "a huge shadow…$"

Text_1C3835:: @ 81C3835
	.string "I have this strong feeling that\n"
	.string "I can win this time!$"

Text_1C386A:: @ 81C386A
	.string "Wait! Wait a second!\n"
	.string "I'm sure I've hooked a big one!$"

Text_1C389F:: @ 81C389F
	.string "You'll help me out with my\n"
	.string "training again?$"

Text_1C38CA:: @ 81C38CA
	.string "We haven't missed a single day of\n"
	.string "training yet!$"

Text_1C38FA:: @ 81C38FA
	.string "Every morning, before breakfast,\n"
	.string "I swim around this island…\l"
	.string "Three times!$"

Text_1C3943:: @ 81C3943
	.string "Dress appropriately for battle!\n"
	.string "Lose that frivolous outfit, I said!$"

Text_1C3987:: @ 81C3987
	.string "You know, everything tastes great\n"
	.string "when you're out in the wild.$"

Text_1C39C6:: @ 81C39C6
	.string "I ate too much again, so will you\n"
	.string "battle us for some exercise?$"

Text_1C3A05:: @ 81C3A05
	.string "KIA: My big brother and I make\n"
	.string "an awesome combination!\p"
	.string "We won't lose this time!$"

Text_1C3A55:: @ 81C3A55
	.string "MIK: Together with KIA, we're\n"
	.string "afraid of nothing!\p"
	.string "We'll prove it to you this time!$"

Text_1C3AA7:: @ 81C3AA7
	.string "Are we to battle again?$"

Text_1C3ABF:: @ 81C3ABF
	.string "From where have you come, and\n"
	.string "where are you bound?$"

Text_1C3AF2:: @ 81C3AF2
	.string "I want to swim without my float\n"
	.string "ring soon.$"

Text_1C3B1D:: @ 81C3B1D
	.string "Yay, yay!\n"
	.string "POKéMON!$"

Text_1C3B30:: @ 81C3B30
	.string "Oh, no, didn't I tell you already?\n"
	.string "Please, stay away from me!$"

Text_1C3B6E:: @ 81C3B6E
	.string "JOY: We've gotten stronger!\n"
	.string "Lots and lots!$"

Text_1C3B99:: @ 81C3B99
	.string "MEG: You can't beat us today!$"

Text_1C3BB7:: @ 81C3BB7
	.string "Oh, hello!\p"
	.string "Are you raising your POKéMON in a\n"
	.string "good environment?$"

Text_1C3BF6:: @ 81C3BF6
	.string "With these hands, I will create\n"
	.string "my victory today.$"

Text_1C3C28:: @ 81C3C28
	.string "Must I repeat myself?\n"
	.string "I'm trying to paint.\l"
	.string "Please keep out of my sight!$"

Text_1C3C70:: @ 81C3C70
	.string "I haven't made any progress…\n"
	.string "I still can't get the right angle…$"

Text_1C3CB0:: @ 81C3CB0
	.string "Oh, you will give me another\n"
	.string "opportunity to match wits with you?$"

Text_1C3CF1:: @ 81C3CF1
	.string "They're almost finished making the\n"
	.string "pool for my POKéMON.\p"
	.string "You must drop in for a visit.$"

Text_1C3D47:: @ 81C3D47
	.string "I'm a good runner.\n"
	.string "I've gotten even faster!$"

Text_1C3D73:: @ 81C3D73
	.string "I say, friend!\n"
	.string "Let us enjoy our time together!$"

Text_1C3DA2:: @ 81C3DA2
	.string "I'm the eldest of the BIRD\n"
	.string "BROTHERS. Remember me?\p"
	.string "That's right, I'm the one who loves\n"
	.string "birds for their beaks!$"

Text_1C3E0F:: @ 81C3E0F
	.string "I'm the middle kid of the BIRD\n"
	.string "BROTHERS.\p"
	.string "I'm the one that loves wings.\n"
	.string "Let's battle again!$"

Text_1C3E6A:: @ 81C3E6A
	.string "I'm the youngest of the BIRD\n"
	.string "BROTHERS.\p"
	.string "I love birds for their down.\n"
	.string "I didn't think I'd see you again!$"

Text_1C3ED0:: @ 81C3ED0
	.string "I'm still having no luck at all.\n"
	.string "A battle'd be a change of pace!$"

Text_1C3F11:: @ 81C3F11
	.string "Gasp… Gasp…\p"
	.string "I swam here from SIX ISLAND's port\n"
	.string "in one go again.$"

Text_1C3F51:: @ 81C3F51
	.string "You always come along while I'm\n"
	.string "swimming.$"

Text_1C3F7B:: @ 81C3F7B
	.string "AVA: Let's have another\n"
	.string "two-on-two marine battle today!$"

Text_1C3FB3:: @ 81C3FB3
	.string "GEB: My big sister and I are way\n"
	.string "tougher than before!$"

Text_1C3FE9:: @ 81C3FE9
	.string "…Huh?\p"
	.string "I envision my house, but TELEPORT\n"
	.string "always brings me here!$"

Text_1C4028:: @ 81C4028
	.string "Oh, hello.\n"
	.string "A pleasant breeze is blowing again.$"

Text_1C4057:: @ 81C4057
	.string "Hehehe, I'm practicing in secret\n"
	.string "again.$"

Text_1C407F:: @ 81C407F
	.string "What, you're sick of seeing\n"
	.string "SWIMMERS like me?\p"
	.string "Aww, don't be hatin'!\n"
	.string "Battle with me again.$"

Text_1C40D9:: @ 81C40D9
	.string "Sigh…\n"
	.string "My boyfriend's busy again…$"

Text_1C40FA:: @ 81C40FA
	.string "Come on, tell me, where are the\n"
	.string "mountains around these parts?$"

Text_1C4138:: @ 81C4138
	.string "MIU: Hello, POKéMON!\n"
	.string "It's time to play again!$"

Text_1C4166:: @ 81C4166
	.string "MIA: Hello, POKéMON!\n"
	.string "It's time to battle again!$"

Text_1C4196:: @ 81C4196
	.string "There appear to be many secrets\n"
	.string "still unsolved in this world.$"

Text_1C41D4:: @ 81C41D4
	.string "Hi, didn't we meet before?\n"
	.string "What compelled you to come back?$"

Text_1C4210:: @ 81C4210
	.string "It's been said that there are\n"
	.string "mysterious stones on this island.\p"
	.string "Have you discovered anything since\n"
	.string "we last met?$"

Text_1C4280:: @ 81C4280
	.string "A rematch with you, so high up!$"

Text_1C42A0:: @ 81C42A0
	.string "I'm pretty familiar with the land\n"
	.string "around these parts.$"

Text_1C42D6:: @ 81C42D6
	.string "I sensed your approach.$"

Text_1C42EE:: @ 81C42EE
	.string "Somewhere on this island, peculiar\n"
	.string "POKéMON are sleeping.$"

Text_1C4327:: @ 81C4327
	.string "Kyahaha!\p"
	.string "Coming back won't change a thing.\n"
	.string "I'll flick you away effortlessly!$"

Text_1C4374:: @ 81C4374
	.string "Howdy! You're a member of my\n"
	.string "fan club, isn't that right?$"

Text_1C43AD:: @ 81C43AD
	.string "This island is too spread out…\n"
	.string "Patrolling the place is a drag…$"

Text_1C43EC:: @ 81C43EC
	.string "I don't forgive people who abuse\n"
	.string "POKéMON!$"

Text_1C4416:: @ 81C4416
	.string "EVE: I'll team up with JON and\n"
	.string "battle together again.$"

Text_1C444C:: @ 81C444C
	.string "JON: When I'm with EVE, it feels\n"
	.string "like we could never lose, not ever.$"

Text_1C4491:: @ 81C4491
	.string "Let's have another battle.\n"
	.string "My conditioning's in top form!$"

Text_1C44CB:: @ 81C44CB
	.string "It doesn't matter if you happen to\n"
	.string "have the strongest POKéMON…\p"
	.string "It doesn't mean a thing if you don't\n"
	.string "know how to use them properly!$"

Text_1C454E:: @ 81C454E
	.string "I work to protect the environment.\n"
	.string "In turn, nature protects me!$"

Text_1C458E:: @ 81C458E
	.string "Every time we meet, you have those\n"
	.string "snazzy shoes on.$"

Text_1C45C2:: @ 81C45C2
	.string "You must have gotten tougher.\n"
	.string "Let me battle you, please!$"

Text_1C45FB:: @ 81C45FB
	.string "I was given the best possible\n"
	.string "education to become this strong.\p"
	.string "I won't lose this time.\n"
	.string "Absolutely not!$"

Text_1C4662:: @ 81C4662
	.string "LEX: My darling NYA, together\n"
	.string "we will win for certain!$"

Text_1C4699:: @ 81C4699
	.string "NYA: I won't drag down my mentor\n"
	.string "LEX! We're going to win!$"

Text_1C46D3:: @ 81C46D3
	.string "Have you discovered anything about\n"
	.string "this stone chamber?$"

Text_1C470A:: @ 81C470A
	.string "A mystic POKéMON is said to sleep\n"
	.string "inside here.$"

Text_1C4739:: @ 81C4739
	.string "My teacher is showing me how to\n"
	.string "paint some more.$"

Text_1C476A:: @ 81C476A
	.string "Today, in addition to our lesson,\n"
	.string "we came to see the chamber again.$"

VictoryRoad_2F_EventScript_1C47AE:: @ 81C47AE
	lock
	faceplayer
	checkflag FLAG_TUTOR_DOUBLE_EDGE
	goto_if TRUE, EventScript_1C480C
	msgbox Text_1749F9, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4802
	call EventScript_1C4F37
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4802
	msgbox Text_174AE2
	setvar VAR_0x8005, MOVETUTOR_DOUBLE_EDGE
	call EventScript_1C4F30
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4802
	setflag FLAG_TUTOR_DOUBLE_EDGE
	goto EventScript_1C480C
	end

EventScript_1C4802:: @ 81C4802
	msgbox Text_174ABC
	release
	end

EventScript_1C480C:: @ 81C480C
	msgbox Text_174B0C
	release
	end

EventScript_1C4816:: @ 81C4816
	lock
	faceplayer
	checkflag FLAG_TUTOR_THUNDER_WAVE
	goto_if TRUE, EventScript_1C4874
	msgbox Text_175711, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C486A
	call EventScript_1C4F37
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C486A
	msgbox Text_1757C1
	setvar VAR_0x8005, MOVETUTOR_THUNDER_WAVE
	call EventScript_1C4F30
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C486A
	setflag FLAG_TUTOR_THUNDER_WAVE
	goto EventScript_1C4874
	end

EventScript_1C486A:: @ 81C486A
	msgbox Text_17579D
	release
	end

EventScript_1C4874:: @ 81C4874
	msgbox Text_1757EC
	release
	end

RockTunnel_B1F_EventScript_1C487E:: @ 81C487E
	lock
	faceplayer
	checkflag FLAG_TUTOR_ROCK_SLIDE
	goto_if TRUE, EventScript_1C48DC
	msgbox Text_1799E0, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C48D2
	call EventScript_1C4F37
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C48D2
	msgbox Text_179AE1
	setvar VAR_0x8005, MOVETUTOR_ROCK_SLIDE
	call EventScript_1C4F30
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C48D2
	setflag FLAG_TUTOR_ROCK_SLIDE
	goto EventScript_1C48DC
	end

EventScript_1C48D2:: @ 81C48D2
	msgbox Text_179AC0
	release
	end

EventScript_1C48DC:: @ 81C48DC
	msgbox Text_179B0A
	release
	end

MtEmber_Exterior_EventScript_1C48E6:: @ 81C48E6
	lock
	faceplayer
	checkflag FLAG_TUTOR_EXPLOSION
	goto_if TRUE, EventScript_1C4944
	msgbox Text_17A642, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C493A
	call EventScript_1C4F37
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C493A
	msgbox Text_17A717
	setvar VAR_0x8005, MOVETUTOR_EXPLOSION
	call EventScript_1C4F30
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C493A
	setflag FLAG_TUTOR_EXPLOSION
	goto EventScript_1C4944
	end

EventScript_1C493A:: @ 81C493A
	msgbox Text_17A6ED
	release
	end

EventScript_1C4944:: @ 81C4944
	msgbox Text_17A756
	release
	end

Route4_EventScript_1C494E:: @ 81C494E
	lock
	faceplayer
	checkflag FLAG_TUTOR_META_PUNCH
	goto_if TRUE, EventScript_1C49AC
	msgbox Text_1839D5, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C49A2
	call EventScript_1C4F37
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C49A2
	msgbox Text_183ABF
	setvar VAR_0x8005, MOVETUTOR_MEGA_PUNCH
	call EventScript_1C4F30
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C49A2
	setflag FLAG_TUTOR_META_PUNCH
	goto EventScript_1C49AC
	end

EventScript_1C49A2:: @ 81C49A2
	msgbox Text_183A83
	release
	end

EventScript_1C49AC:: @ 81C49AC
	msgbox Text_183AE2
	release
	end

Route4_EventScript_1C49B6:: @ 81C49B6
	lock
	faceplayer
	checkflag FLAG_TUTOR_MEGA_KICK
	goto_if TRUE, EventScript_1C4A14
	msgbox Text_183B74, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4A0A
	call EventScript_1C4F37
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4A0A
	msgbox Text_183C68
	setvar VAR_0x8005, MOVETUTOR_MEGA_KICK
	call EventScript_1C4F30
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4A0A
	setflag FLAG_TUTOR_MEGA_KICK
	goto EventScript_1C4A14
	end

EventScript_1C4A0A:: @ 81C4A0A
	msgbox Text_183C25
	release
	end

EventScript_1C4A14:: @ 81C4A14
	msgbox Text_183C94
	release
	end

EventScript_1C4A1E:: @ 81C4A1E
	lock
	faceplayer
	checkflag FLAG_TUTOR_DREAM_EATER
	goto_if TRUE, EventScript_1C4A7C
	msgbox Text_17E316, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4A72
	call EventScript_1C4F37
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4A72
	msgbox Text_17E3F1
	setvar VAR_0x8005, MOVETUTOR_DREAM_EATER
	call EventScript_1C4F30
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4A72
	setflag FLAG_TUTOR_DREAM_EATER
	goto EventScript_1C4A7C
	end

EventScript_1C4A72:: @ 81C4A72
	msgbox Text_17E3E9
	release
	end

EventScript_1C4A7C:: @ 81C4A7C
	msgbox Text_17E41B
	release
	end

EventScript_1C4A86:: @ 81C4A86
	lock
	faceplayer
	checkflag FLAG_TUTOR_SOFT_BOILED
	goto_if TRUE, EventScript_1C4AE4
	msgbox Text_180388, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4ADA
	call EventScript_1C4F37
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4ADA
	msgbox Text_180484
	setvar VAR_0x8005, MOVETUTOR_SOFT_BOILED
	call EventScript_1C4F30
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4ADA
	setflag FLAG_TUTOR_SOFT_BOILED
	goto EventScript_1C4AE4
	end

EventScript_1C4ADA:: @ 81C4ADA
	msgbox Text_18043F
	release
	end

EventScript_1C4AE4:: @ 81C4AE4
	msgbox Text_1804C4
	release
	end

FuchsiaCity_EventScript_1C4AEE:: @ 81C4AEE
	lock
	faceplayer
	checkflag FLAG_TUTOR_SUBSTITUTE
	goto_if TRUE, EventScript_1C4B4C
	msgbox Text_180948, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4B42
	call EventScript_1C4F37
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4B42
	msgbox Text_180A57
	setvar VAR_0x8005, MOVETUTOR_SUBSTITUTE
	call EventScript_1C4F30
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4B42
	setflag FLAG_TUTOR_SUBSTITUTE
	goto EventScript_1C4B4C
	end

EventScript_1C4B42:: @ 81C4B42
	msgbox Text_180A32
	release
	end

EventScript_1C4B4C:: @ 81C4B4C
	msgbox Text_180A80
	release
	end

SevenIsland_EventScript_1C4B56:: @ 81C4B56
	lock
	faceplayer
	checkflag FLAG_TUTOR_SWORDS_DANCE
	goto_if TRUE, EventScript_1C4BB4
	msgbox Text_182F01, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4BAA
	call EventScript_1C4F37
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4BAA
	msgbox Text_182FD9
	setvar VAR_0x8005, MOVETUTOR_SWORDS_DANCE
	call EventScript_1C4F30
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4BAA
	setflag FLAG_TUTOR_SWORDS_DANCE
	goto EventScript_1C4BB4
	end

EventScript_1C4BAA:: @ 81C4BAA
	msgbox Text_182FC1
	release
	end

EventScript_1C4BB4:: @ 81C4BB4
	msgbox Text_18300D
	release
	end

PewterCity_Museum_1F_EventScript_1C4BBE:: @ 81C4BBE
	lock
	faceplayer
	checkflag FLAG_TUTOR_SEISMIC_TOSS
	goto_if TRUE, EventScript_1C4C1C
	msgbox Text_1909A3, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4C12
	call EventScript_1C4F37
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4C12
	msgbox Text_190AD5
	setvar VAR_0x8005, MOVETUTOR_SEISMIC_TOSS
	call EventScript_1C4F30
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4C12
	setflag FLAG_TUTOR_SEISMIC_TOSS
	goto EventScript_1C4C1C
	end

EventScript_1C4C12:: @ 81C4C12
	msgbox Text_190AA9
	release
	end

EventScript_1C4C1C:: @ 81C4C1C
	msgbox Text_190B00
	release
	end

EventScript_1C4C26:: @ 81C4C26
	lock
	faceplayer
	checkflag FLAG_TUTOR_COUNTER
	goto_if TRUE, EventScript_1C4C84
	msgbox Text_195928, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4C7A
	call EventScript_1C4F37
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4C7A
	msgbox Text_195A08
	setvar VAR_0x8005, MOVETUTOR_COUNTER
	call EventScript_1C4F30
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4C7A
	setflag FLAG_TUTOR_COUNTER
	goto EventScript_1C4C84
	end

EventScript_1C4C7A:: @ 81C4C7A
	msgbox Text_1959CC
	release
	end

EventScript_1C4C84:: @ 81C4C84
	msgbox Text_195A31
	release
	end

EventScript_1C4C8E:: @ 81C4C8E
	lock
	faceplayer
	checkflag FLAG_TUTOR_METRONOME
	goto_if TRUE, EventScript_1C4CEC
	msgbox Text_19A137, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4CE2
	call EventScript_1C4F37
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4CE2
	msgbox Text_19A1EA
	setvar VAR_0x8005, MOVETUTOR_METRONOME
	call EventScript_1C4F30
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4CE2
	setflag FLAG_TUTOR_METRONOME
	goto EventScript_1C4CEC
	end

EventScript_1C4CE2:: @ 81C4CE2
	msgbox Text_19A1CB
	release
	end

EventScript_1C4CEC:: @ 81C4CEC
	msgbox Text_19A20E
	release
	end

EventScript_1C4CF6:: @ 81C4CF6
	checkflag FLAG_TUTOR_MIMIC
	goto_if TRUE, EventScript_1C4D59
	msgbox Text_19AD85, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4D4F
	call EventScript_1C4F37
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4D4F
	msgbox Text_19ADEE
	setvar VAR_0x8005, MOVETUTOR_MIMIC
	call EventScript_1C4F30
	lock
	faceplayer
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4D4F
	removeitem ITEM_POKE_DOLL, 1
	setflag FLAG_TUTOR_MIMIC
	goto EventScript_1C4D59
	end

EventScript_1C4D4F:: @ 81C4D4F
	msgbox Text_19ADD8
	release
	end

EventScript_1C4D59:: @ 81C4D59
	checkplayergender
	compare_var_to_value VAR_RESULT, 0
	call_if eq, EventScript_1C4D72
	compare_var_to_value VAR_RESULT, 1
	call_if eq, EventScript_1C4D7B
	release
	end

EventScript_1C4D72:: @ 81C4D72
	msgbox Text_19AE1C
	return

EventScript_1C4D7B:: @ 81C4D7B
	msgbox Text_19AE90
	return

FourIsland_House1_EventScript_1C4D84:: @ 81C4D84
	lock
	faceplayer
	checkflag FLAG_TUTOR_BODY_SLAM
	goto_if TRUE, EventScript_1C4DE2
	msgbox Text_1A3505, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4DD8
	call EventScript_1C4F37
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4DD8
	msgbox Text_1A35DA
	setvar VAR_0x8005, MOVETUTOR_BODY_SLAM
	call EventScript_1C4F30
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4DD8
	setflag FLAG_TUTOR_BODY_SLAM
	goto EventScript_1C4DE2
	end

EventScript_1C4DD8:: @ 81C4DD8
	msgbox Text_1A35C7
	release
	end

EventScript_1C4DE2:: @ 81C4DE2
	msgbox Text_1A3609
	release
	end

TwoIsland_CapeBrink_House_EventScript_1C4DEC:: @ 81C4DEC
	special sub_8110AB4
	compare_var_to_value VAR_RESULT, 2
	goto_if eq, EventScript_1A7AE0
	special sub_8112364
	lock
	faceplayer
	checkflag FLAG_LEARNED_ALL_MOVES_AT_CAPE_BRINK
	goto_if TRUE, EventScript_1C4EA1
	checkflag FLAG_TEMP_2
	goto_if TRUE, EventScript_1C4E97
	getfirstpartymonname 0
	msgbox Text_1A46C6
	specialvar VAR_RESULT, Special_CapeBrinkGetMoveToTeachLeadPokemon
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4F26
	copyvar VAR_0x8009, VAR_0x8005
	compare_var_to_value VAR_FACING, 2
	call_if eq, EventScript_1C4EF0
	compare_var_to_value VAR_FACING, 1
	call_if eq, EventScript_1C4EFB
	compare_var_to_value VAR_FACING, 4
	call_if eq, EventScript_1C4F06
	compare_var_to_value VAR_FACING, 3
	call_if eq, EventScript_1C4F11
	msgbox Text_1A4751, 5
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4F1C
	call EventScript_1C4F37
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4F1C
	msgbox Text_1A4814
	closemessage
	fadescreen 1
	goto EventScript_1C4EDA

EventScript_1C4E8F:: @ 81C4E8F
	fadescreen 0
	goto EventScript_1C4EAB
	end

EventScript_1C4E97:: @ 81C4E97
	msgbox Text_1A48B3
	release
	end

EventScript_1C4EA1:: @ 81C4EA1
	msgbox Text_1A4972
	release
	end

EventScript_1C4EAB:: @ 81C4EAB
	copyvar VAR_0x8005, VAR_0x8009
	specialvar VAR_RESULT, Special_HasLearnedAllMovesFromCapeBrinkTutor
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1C4ECD
	msgbox Text_1A4865
	setflag FLAG_TEMP_2
	release
	end

EventScript_1C4ECD:: @ 81C4ECD
	msgbox Text_1A48F3
	setflag FLAG_LEARNED_ALL_MOVES_AT_CAPE_BRINK
	release
	end

EventScript_1C4EDA:: @ 81C4EDA
	call EventScript_1C4F30
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C4F1C
	goto EventScript_1C4EAB
	end

EventScript_1C4EF0:: @ 81C4EF0
	applymovement 1, Movement_1C4F4C
	waitmovement 0
	return

EventScript_1C4EFB:: @ 81C4EFB
	applymovement 1, Movement_1C4F4E
	waitmovement 0
	return

EventScript_1C4F06:: @ 81C4F06
	applymovement 1, Movement_1C4F50
	waitmovement 0
	return

EventScript_1C4F11:: @ 81C4F11
	applymovement 1, Movement_1C4F52
	waitmovement 0
	return

EventScript_1C4F1C:: @ 81C4F1C
	msgbox Text_1A47E5
	release
	end

EventScript_1C4F26:: @ 81C4F26
	msgbox Text_1A4737
	release
	end

EventScript_1C4F30:: @ 81C4F30
	special sub_812781C
	waitstate
	lock
	faceplayer
	return

EventScript_1C4F37:: @ 81C4F37
	textcolor 3
	special sub_80699BC
	signmsg
	msgbox Text_1A644F, 5
	normalmsg
	call EventScript_1A6675
	return

Movement_1C4F4C:: @ 81C4F4C
	step_52
	step_end

Movement_1C4F4E:: @ 81C4F4E
	step_53
	step_end

Movement_1C4F50:: @ 81C4F50
	step_54
	step_end

Movement_1C4F52:: @ 81C4F52
	step_55
	step_end

SevenIsland_TrainerTower_1F_MapScript1_1C4F54:: @ 81C4F54
SevenIsland_TrainerTower_2F_MapScript1_1C4F54:: @ 81C4F54
SevenIsland_TrainerTower_3F_MapScript1_1C4F54:: @ 81C4F54
SevenIsland_TrainerTower_4F_MapScript1_1C4F54:: @ 81C4F54
SevenIsland_TrainerTower_5F_MapScript1_1C4F54:: @ 81C4F54
SevenIsland_TrainerTower_6F_MapScript1_1C4F54:: @ 81C4F54
SevenIsland_TrainerTower_7F_MapScript1_1C4F54:: @ 81C4F54
SevenIsland_TrainerTower_8F_MapScript1_1C4F54:: @ 81C4F54
SevenIsland_TrainerTower_Elevator_MapScript1_1C4F54:: @ 81C4F54
SevenIsland_TrainerTower_Roof_MapScript1_1C4F54:: @ 81C4F54
	setvar VAR_0x4002, 0
	setvar VAR_0x8004, 10
	special sub_815D9E8
	end

SevenIsland_TrainerTower_1F_MapScript2_1C4F62:: @ 81C4F62
SevenIsland_TrainerTower_2F_MapScript2_1C4F62:: @ 81C4F62
SevenIsland_TrainerTower_3F_MapScript2_1C4F62:: @ 81C4F62
SevenIsland_TrainerTower_4F_MapScript2_1C4F62:: @ 81C4F62
SevenIsland_TrainerTower_5F_MapScript2_1C4F62:: @ 81C4F62
SevenIsland_TrainerTower_6F_MapScript2_1C4F62:: @ 81C4F62
SevenIsland_TrainerTower_7F_MapScript2_1C4F62:: @ 81C4F62
SevenIsland_TrainerTower_8F_MapScript2_1C4F62:: @ 81C4F62
	setvar VAR_0x8004, 0
	special sub_815D9E8
	switch VAR_RESULT
	case 0, EventScript_1C4FA7
	case 1, EventScript_1C4FC5
	case 2, EventScript_1C5019
	setflag FLAG_TEMP_2
	setflag FLAG_TEMP_3
	setflag FLAG_TEMP_4
	setflag FLAG_TEMP_5
	setvar VAR_0x400E, 1
	setvar VAR_0x400F, 1
	end

EventScript_1C4FA7:: @ 81C4FA7
	setflag FLAG_TEMP_2
	setflag FLAG_TEMP_4
	setflag FLAG_TEMP_5
	setvar VAR_0x400F, 1
	setobjectxyperm 3, 15, 13
	setobjectmovementtype 3, 9
	goto EventScript_1C5042

EventScript_1C4FC5:: @ 81C4FC5
	setflag FLAG_TEMP_3
	setflag FLAG_TEMP_4
	setvar VAR_0x400E, 1
	setvar VAR_0x8004, 5
	special sub_815D9E8
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1C4FFE
	setobjectxyperm 2, 10, 12
	setobjectmovementtype 2, 9
	setobjectxyperm 5, 10, 13
	setobjectmovementtype 5, 9
	goto EventScript_1C5042

EventScript_1C4FFE:: @ 81C4FFE
	setobjectxyperm 2, 10, 12
	setobjectmovementtype 2, 8
	setobjectxyperm 5, 11, 12
	setobjectmovementtype 5, 8
	goto EventScript_1C5042

EventScript_1C5019:: @ 81C5019
	setflag FLAG_TEMP_5
	setvar VAR_0x400F, 1
	setobjectxyperm 2, 10, 10
	setobjectmovementtype 2, 8
	setobjectxyperm 3, 14, 13
	setobjectmovementtype 3, 9
	setobjectxyperm 4, 10, 16
	setobjectmovementtype 4, 7
EventScript_1C5042:
	setflag FLAG_TEMP_6
	end

SevenIsland_TrainerTower_1F_MapScript3_1C5046:: @ 81C5046
SevenIsland_TrainerTower_2F_MapScript3_1C5046:: @ 81C5046
SevenIsland_TrainerTower_3F_MapScript3_1C5046:: @ 81C5046
SevenIsland_TrainerTower_4F_MapScript3_1C5046:: @ 81C5046
SevenIsland_TrainerTower_5F_MapScript3_1C5046:: @ 81C5046
SevenIsland_TrainerTower_6F_MapScript3_1C5046:: @ 81C5046
SevenIsland_TrainerTower_7F_MapScript3_1C5046:: @ 81C5046
SevenIsland_TrainerTower_8F_MapScript3_1C5046:: @ 81C5046
SevenIsland_TrainerTower_Elevator_MapScript2_1C5046:: @ 81C5046
SevenIsland_TrainerTower_Roof_MapScript2_1C5046:: @ 81C5046
	map_script_2 VAR_0x4002, 0, EventScript_1C5050
	.2byte 0

EventScript_1C5050:: @ 81C5050
	setvar VAR_0x4002, 1
	setvar VAR_0x8004, 5
	special sub_815D9E8
	compare_var_to_value VAR_RESULT, 0
	goto_if eq, EventScript_1C5072
	setvar VAR_0x400E, 1
	setvar VAR_0x400F, 1
EventScript_1C5072:
	setvar VAR_0x8004, 18
	special sub_815D9E8
	compare_var_to_value VAR_RESULT, 1
	goto_if eq, EventScript_1C5086
	end

EventScript_1C5086:: @ 81C5086
	warp MAP_SEVEN_ISLAND_TRAINER_TOWER_LOBBY, 255, 9, 7
	waitstate
EventScript_1C508F::
	setvar VAR_0x8004, 3
	setvar VAR_0x8005, 0
	special sub_815D9E8
	switch VAR_RESULT
	case 0, EventScript_1C50C2
	case 1, EventScript_1C510D
	case 2, EventScript_1C515C
EventScript_1C50C2:
	setvar VAR_0x8004, 19
	special sub_815D9E8
	applymovement 3, Movement_1A75DB
	waitmovement 0
	applymovement 3, Movement_1A75DD
	waitmovement 0
	setvar VAR_0x400E, 1
	applymovement 3, Movement_1C5541
	waitmovement 0
	setvar VAR_0x8004, 1
	setvar VAR_0x8005, 2
	setvar VAR_0x8006, 0
	special sub_815D9E8
	msgbox gStringVar4
	closemessage
	goto EventScript_1C5219

EventScript_1C510D:: @ 81C510D
	setvar VAR_0x8004, 1
	setvar VAR_0x8005, 2
	copyvar VAR_0x8006, VAR_0x4003
	special sub_815D9E8
	msgbox gStringVar4
	setvar VAR_0x8004, 1
	setvar VAR_0x8005, 2
	addvar VAR_0x4003, 1
	compare_var_to_value VAR_0x4003, 1
	goto_if eq, EventScript_1C5146
	setvar VAR_0x4003, 0
EventScript_1C5146:
	copyvar VAR_0x8006, VAR_0x4003
	special sub_815D9E8
	msgbox gStringVar4
	closemessage
	goto EventScript_1C5219

EventScript_1C515C:: @ 81C515C
	switch VAR_0x4001
	case 0, EventScript_1C5182
	case 1, EventScript_1C51AD
	case 2, EventScript_1C51D8
EventScript_1C5182:
	setvar VAR_0x8004, 19
	special sub_815D9E8
	applymovement 4, Movement_1A75DB
	waitmovement 0
	applymovement 4, Movement_1A75DD
	waitmovement 0
	applymovement 4, Movement_1C5546
	waitmovement 0
	goto EventScript_1C51FE

EventScript_1C51AD:: @ 81C51AD
	setvar VAR_0x8004, 19
	special sub_815D9E8
	applymovement 2, Movement_1A75DB
	waitmovement 0
	applymovement 2, Movement_1A75DD
	waitmovement 0
	applymovement 2, Movement_1C5549
	waitmovement 0
	goto EventScript_1C51FE

EventScript_1C51D8:: @ 81C51D8
	setvar VAR_0x8004, 19
	special sub_815D9E8
	applymovement 3, Movement_1A75DB
	waitmovement 0
	applymovement 3, Movement_1A75DD
	waitmovement 0
	applymovement 3, Movement_1C5542
	waitmovement 0
EventScript_1C51FE:
	setvar VAR_0x8004, 1
	setvar VAR_0x8005, 2
	copyvar VAR_0x8006, VAR_0x4001
	special sub_815D9E8
	msgbox gStringVar4
	closemessage
EventScript_1C5219:
	setvar VAR_0x8004, 2
	setvar VAR_0x8005, 0
	special sub_815D9E8
	waitstate
	switch VAR_RESULT
	case 1, EventScript_1C524D
	case 2, EventScript_1C52E0
	case 3, EventScript_1C52E0
EventScript_1C524D:
	setvar VAR_0x8004, 3
	setvar VAR_0x8005, 0
	special sub_815D9E8
	switch VAR_RESULT
	case 0, EventScript_1C52D7
	case 1, EventScript_1C52BA
	case 2, EventScript_1C5280
EventScript_1C5280:
	switch VAR_0x4001
	case 0, EventScript_1C52A6
	case 1, EventScript_1C52B0
	case 2, EventScript_1C52D0
EventScript_1C52A6:
	addvar VAR_0x4001, 1
	goto EventScript_1C515C

EventScript_1C52B0:: @ 81C52B0
	addvar VAR_0x4001, 1
	goto EventScript_1C515C

EventScript_1C52BA:: @ 81C52BA
	applymovement 5, Movement_1C554C
	waitmovement 0
	applymovement 2, Movement_1C5550
	goto EventScript_1C52D7

EventScript_1C52D0:: @ 81C52D0
	applymovement 3, Movement_1C554D
EventScript_1C52D7:
	setvar VAR_0x8004, 4
	special sub_815D9E8
	end

EventScript_1C52E0:: @ 81C52E0
	special sp000_heal_pokemon
	setvar VAR_0x8004, 11
	special sub_815D9E8
	warp MAP_SEVEN_ISLAND_TRAINER_TOWER_LOBBY, 255, 9, 7
	waitstate

EventScript_1C52F4:: @ 81C52F4
	setvar VAR_0x8004, 3
	setvar VAR_0x8005, 0
	special sub_815D9E8
	switch VAR_RESULT
	case 0, EventScript_1C5327
	case 1, EventScript_1C5327
	case 2, EventScript_1C5331
EventScript_1C5327:
	setvar VAR_0x8006, 0
	goto EventScript_1C5391

EventScript_1C5331:: @ 81C5331
	setvar VAR_0x8006, 1
	goto EventScript_1C5391

EventScript_1C533B:: @ 81C533B
	setvar VAR_0x8004, 3
	setvar VAR_0x8005, 0
	special sub_815D9E8
	switch VAR_RESULT
	case 0, EventScript_1C536E
	case 1, EventScript_1C536E
	case 2, EventScript_1C5378
EventScript_1C536E:
	setvar VAR_0x8006, 0
	goto EventScript_1C5391

EventScript_1C5378:: @ 81C5378
	setvar VAR_0x8006, 2
	goto EventScript_1C5391

EventScript_1C5382:: @ 81C5382
	setvar VAR_0x8006, 0
	goto EventScript_1C5391

EventScript_1C538C:: @ 81C538C
	setvar VAR_0x8006, 1
EventScript_1C5391:
	setvar VAR_0x8004, 1
	setvar VAR_0x8005, 5
	special sub_815D9E8
	lock
	faceplayer
	msgbox gStringVar4
	release
	return

EventScript_1C53AA:: @ 81C53AA
	lock
	faceplayer
	setvar VAR_0x8004, 7
	special sub_815D9E8
	switch VAR_RESULT
	case 0, EventScript_1C53DA
	case 1, EventScript_1C53E2
	case 2, EventScript_1C5492
EventScript_1C53DA:
	msgbox Text_17CA5A
EventScript_1C53E2:
	setvar VAR_0x8004, 8
	special sub_815D9E8
	switch VAR_RESULT
	case 0, EventScript_1C5410
	case 1, EventScript_1C543A
	case 2, EventScript_1C544F
EventScript_1C5410:
	msgbox Text_17CB09
	textcolor 3
	playfanfare MUS_FANFA1
	message Text_1A51F6
	waitfanfare
	waitmessage
	getstdstring 2, 24
	msgbox gUnknown_81A5218
	call EventScript_1A6675
	goto EventScript_1C544F

EventScript_1C543A:: @ 81C543A
	msgbox Text_17CB09
	msgbox gUnknown_81A5207
	goto EventScript_1C544F

EventScript_1C544F:: @ 81C544F
	setvar VAR_0x8004, 9
	special sub_815D9E8
	switch VAR_RESULT
	case 0, EventScript_1C547D
	case 1, EventScript_1C548A
	case 2, EventScript_1C5492
EventScript_1C547D:
	msgbox Text_17CB1A
	goto EventScript_1C5492

EventScript_1C548A:: @ 81C548A
	msgbox Text_17CBC0
EventScript_1C5492:
	msgbox Text_17CBF5
	release
	return

EventScript_1C549C:: @ 81C549C
	lockall
	setvar VAR_0x8004, 13
	special sub_815D9E8
	msgbox Text_17CC56
	releaseall
	end

SevenIsland_TrainerTower_2F_EventScript_1C54AF:: @ 81C54AF
SevenIsland_TrainerTower_4F_EventScript_1C54AF:: @ 81C54AF
SevenIsland_TrainerTower_6F_EventScript_1C54AF:: @ 81C54AF
SevenIsland_TrainerTower_8F_EventScript_1C54AF:: @ 81C54AF
SevenIsland_TrainerTower_5F_EventScript_1C54AF:: @ 81C54AF
SevenIsland_TrainerTower_7F_EventScript_1C54AF:: @ 81C54AF
SevenIsland_TrainerTower_3F_EventScript_1C54AF:: @ 81C54AF
SevenIsland_TrainerTower_1F_EventScript_1C54AF:: @ 81C54AF
	goto EventScript_1C508F

SevenIsland_TrainerTower_2F_EventScript_1C54B4:: @ 81C54B4
SevenIsland_TrainerTower_4F_EventScript_1C54B4:: @ 81C54B4
SevenIsland_TrainerTower_6F_EventScript_1C54B4:: @ 81C54B4
SevenIsland_TrainerTower_8F_EventScript_1C54B4:: @ 81C54B4
SevenIsland_TrainerTower_5F_EventScript_1C54B4:: @ 81C54B4
SevenIsland_TrainerTower_7F_EventScript_1C54B4:: @ 81C54B4
SevenIsland_TrainerTower_3F_EventScript_1C54B4:: @ 81C54B4
SevenIsland_TrainerTower_1F_EventScript_1C54B4:: @ 81C54B4
	setvar VAR_0x4003, 0
	setvar VAR_0x8004, 16
	special sub_815D9E8
	compare_var_to_value VAR_RESULT, 0
	goto_if ne, EventScript_1C5528
	setvar VAR_0x8004, 19
	special sub_815D9E8
	applymovement 2, Movement_1A75DB
	waitmovement 0
	applymovement 2, Movement_1A75DD
	goto EventScript_1C551B

SevenIsland_TrainerTower_2F_EventScript_1C54EA:: @ 81C54EA
SevenIsland_TrainerTower_4F_EventScript_1C54EA:: @ 81C54EA
SevenIsland_TrainerTower_6F_EventScript_1C54EA:: @ 81C54EA
SevenIsland_TrainerTower_8F_EventScript_1C54EA:: @ 81C54EA
SevenIsland_TrainerTower_5F_EventScript_1C54EA:: @ 81C54EA
SevenIsland_TrainerTower_7F_EventScript_1C54EA:: @ 81C54EA
SevenIsland_TrainerTower_3F_EventScript_1C54EA:: @ 81C54EA
SevenIsland_TrainerTower_1F_EventScript_1C54EA:: @ 81C54EA
	setvar VAR_0x4003, 1
	setvar VAR_0x8004, 16
	special sub_815D9E8
	compare_var_to_value VAR_RESULT, 0
	goto_if ne, EventScript_1C5528
	setvar VAR_0x8004, 19
	special sub_815D9E8
	applymovement 5, Movement_1A75DB
	waitmovement 0
	applymovement 5, Movement_1A75DD
EventScript_1C551B:
	waitmovement 0
	setvar VAR_0x400F, 1
	goto EventScript_1C508F

EventScript_1C5528:: @ 81C5528
	lockall
	playse SE_PINPON
	msgbox Text_17CC73
	closemessage
	applymovement 255, Movement_1C5544
	waitmovement 0
	releaseall
	end

Movement_1C5541:
	step_12
Movement_1C5542:: @ 81C5542
	step_12
	step_12
Movement_1C5544:
	step_12
	step_end

Movement_1C5546:: @ 81C5546
	step_11
	step_11
	step_end

Movement_1C5549:: @ 81C5549
	step_10
	step_10
	step_end

Movement_1C554C:: @ 81C554C
	step_13
Movement_1C554D:
	step_11
	step_00
	step_end

Movement_1C5550:: @ 81C5550
	step_00
	step_end

EventScript_1C5550:: @ 81C5552
	msgbox Text_1C556D, 2
	end

EventScript_1C555B:: @ 81C555B
	msgbox Text_1C558D, 3
	end

EventScript_1C5564:: @ 81C5564
	msgbox Text_1C55A4, 3
	end

Text_1C556D:: @ 81C556D
	.string "テストよう メッセージです!\n"
	.string "ポケモンの せかいへ ようこそ!$"

Text_1C558D:: @ 81C558D
	.string "テストよう メッセージです!\n"
	.string "かんばん です$"

Text_1C55A4:: @ 81C55A4
	.string "テストよう メッセージです!\n"
	.string "ざひょう チェックの イベントです$"

Text_1C55C5:: @ 81C55C5
	.string "   $"

gText_WouldYouLikeToSaveTheGame:: @ 81C55C9
	.string "Would you like to save the game?$"

gText_AlreadySaveFile_WouldLikeToOverwrite:: @ 81C55EA
	.string "There is already a saved file.\n"
	.string "Is it okay to overwrite it?$"

gText_SavingDontTurnOffThePower:: @ 81C5625
	.string "SAVING…\n"
	.string "DON'T TURN OFF THE POWER.$"

gText_PlayerSavedTheGame:: @ 81C5647
	.string "{PLAYER} saved the game.$"

gUnknown_81C565A::
	.string "セーブに しっぱい しました‥$"

gText_DifferentGameFile:: @ 81C566A
	.string "WARNING!\p"
	.string "There is a different game file that\n"
	.string "is already saved.\p"
	.string "If you save now, the other file's\n"
	.string "adventure, including items and\l"
	.string "POKéMON, will be entirely lost.\p"
	.string "Are you sure you want to save now\n"
	.string "and overwrite the other save file?$"

gOtherText_NewName:: @ 81C574F
	.string "NEW NAME$"

gNameChoice_Green:: @ 81C5758
	.string "GREEN$"

gNameChoice_Red:: @ 81C575E
	.string "RED$"

gNameChoice_Leaf:: @ 81C5762
	.string "LEAF$"

gNameChoice_Fire:: @ 81C5767
	.string "FIRE$"

gNameChoice_Gary:: @ 81C576C
	.string "GARY$"

gNameChoice_Kaz:: @ 81C5771
	.string "KAZ$"

gNameChoice_Toru:: @ 81C5775
	.string "TORU$"

gNameChoice_Ash:: @ 81C577A
	.string "ASH$"

gNameChoice_Kene:: @ 81C577E
	.string "KENE$"

gNameChoice_Geki:: @ 81C5783
	.string "GEKI$"

gNameChoice_Jak:: @ 81C5788
	.string "JAK$"

gNameChoice_Janne:: @ 81C578C
	.string "JANNE$"

gNameChoice_Jonn:: @ 81C5792
	.string "JONN$"

gNameChoice_Kamon:: @ 81C5797
	.string "KAMON$"

gNameChoice_Karl:: @ 81C579D
	.string "KARL$"

gNameChoice_Taylor:: @ 81C57A2
	.string "TAYLOR$"

gNameChoice_Oscar:: @ 81C57A9
	.string "OSCAR$"

gNameChoice_Hiro:: @ 81C57AF
	.string "HIRO$"

gNameChoice_Max:: @ 81C57B4
	.string "MAX$"

gNameChoice_Jon:: @ 81C57B8
	.string "JON$"

gNameChoice_Ralph:: @ 81C57BC
	.string "RALPH$"

gNameChoice_Kay:: @ 81C57C2
	.string "KAY$"

gNameChoice_Tosh:: @ 81C57C6
	.string "TOSH$"

gNameChoice_Roak:: @ 81C57CB
	.string "ROAK$"

gNameChoice_Omi:: @ 81C57D0
	.string "OMI$"

gNameChoice_Jodi:: @ 81C57D4
	.string "JODI$"

gNameChoice_Amanda:: @ 81C57D9
	.string "AMANDA$"

gNameChoice_Hillary:: @ 81C57E0
	.string "HILLARY$"

gNameChoice_Makey:: @ 81C57E8
	.string "MAKEY$"

gNameChoice_Michi:: @ 81C57EE
	.string "MICHI$"

gNameChoice_Paula:: @ 81C57F4
	.string "PAULA$"

gNameChoice_June:: @ 81C57FA
	.string "JUNE$"

gNameChoice_Cassie:: @ 81C57FF
	.string "CASSIE$"

gNameChoice_Rey:: @ 81C5806
	.string "REY$"

gNameChoice_Seda:: @ 81C580A
	.string "SEDA$"

gNameChoice_Kiko:: @ 81C580F
	.string "KIKO$"

gNameChoice_Mina:: @ 81C5814
	.string "MINA$"

gNameChoice_Norie:: @ 81C5819
	.string "NORIE$"

gNameChoice_Sai:: @ 81C581F
	.string "SAI$"

gNameChoice_Momo:: @ 81C5823
	.string "MOMO$"

gNameChoice_Suzi:: @ 81C5828
	.string "SUZI$"

gNewGame_HelpDocs1:: @ 81C582D
	.string "The various buttons will be explained in\n"
	.string "the order of their importance.$"

gNewGame_HelpDocs2:: @ 81C5875
	.string "Moves the main character.\n"
	.string "Also used to choose various data\n"
	.string "headings.$"

gNewGame_HelpDocs3:: @ 81C58BA
	.string "Used to confirm a choice, check\n"
	.string "things, chat, and scroll text.$"

gNewGame_HelpDocs4:: @ 81C58F9
	.string "Used to exit, cancel a choice,\n"
	.string "and cancel a mode.$"

gNewGame_HelpDocs5:: @ 81C592B
	.string "Press this button to open the\n"
	.string "MENU.$"

gNewGame_HelpDocs6:: @ 81C594F
	.string "Used to shift items and to use\n"
	.string "a registered item.$"

gNewGame_HelpDocs7:: @ 81C5981
	.string "If you need help playing the\n"
	.string "game, or on how to do things,\n"
	.string "press the L or R Button.$"

gOakText_AskPlayerGender:: @ 81C59D5
	.string "Now tell me. Are you a boy?\n"
	.string "Or are you a girl?$"

gNewGameAdventureIntro1::
	.string "In the world which you are about to\n"
	.string "enter, you will embark on a grand\n"
	.string "adventure with you as the hero.\n"
	.string "\n"
	.string "Speak to people and check things\n"
	.string "wherever you go, be it towns, roads,\n"
	.string "or caves. Gather information and\n"
	.string "hints from every source.$"

gNewGameAdventureIntro2::
	.string "New paths will open to you by helping\n"
	.string "people in need, overcoming challenges,\n"
	.string "and solving mysteries.\n"
	.string "\n"
	.string "At times, you will be challenged by\n"
	.string "others and attacked by wild creatures.\n"
	.string "Be brave and keep pushing on.$"

gNewGameAdventureIntro3::
	.string "Through your adventure, we hope\n"
	.string "that you will interact with all sorts\n"
	.string "of people and achieve personal growth.\n"
	.string "That is our biggest objective.\n"
	.string "\n"
	.string "Press the A Button, and let your\n"
	.string "adventure begin!$"

gOakText_WelcomeToTheWorld:: @ 81C5C78
	.string "Hello, there!\n"
	.string "Glad to meet you!\pWelcome to the world of POKéMON!\pMy name is OAK.\pPeople affectionately refer to me\n"
	.string "as the POKéMON PROFESSOR.\p$"

gOakText_WorldInhabited1:: @ 81C5D06
	.string "This world…$"

gOakText_WorldInhabited2:: @ 81C5D12
	.string "…is inhabited far and wide by\n"
	.string "creatures called POKéMON.\p$"

gOakText_PetsBattlingStudy:: @ 81C5D4B
	.string "For some people, POKéMON are pets.\n"
	.string "Others use them for battling.\pAs for myself…\pI study POKéMON as a profession.\p$"

gOakText_TellMeALittleAboutYourself:: @ 81C5DBD
	.string "But first, tell me a little about\n"
	.string "yourself.\p$"

gOakText_AskPlayerName:: @ 81C5DEA
	.string "Let's begin with your name.\n"
	.string "What is it?\p$"

gOakText_FinalizePlayerName:: @ 81C5E13
	.string "Right…\n"
	.string "So your name is {PLAYER}.$"

gOakText_IntroduceRival:: @ 81C5E2E
	.string "This is my grandson.\pHe's been your rival since you both\n"
	.string "were babies.\p…Erm, what was his name now?$"

gOakText_AskRivalName:: @ 81C5E91
	.string "Your rival's name, what was it now?$"

gOakText_ConfirmRivalName:: @ 81C5EB5
	.string "…Er, was it {RIVAL}?$"

gOakText_RememberRivalName:: @ 81C5EC5
	.string "That's right! I remember now!\n"
	.string "His name is {RIVAL}!\p$"

gOakText_LegendAboutToUnfold:: @ 81C5EF4
	.string "{PLAYER}!\pYour very own POKéMON legend is\n"
	.string "about to unfold!\pA world of dreams and adventures\n"
	.string "with POKéMON awaits! Let's go!$"

@ pokedude data
gUnknown_81C5F69::
	.string "POKé DUDE: The speedier of the\n"
	.string "battlers gets to attack first.$"

gUnknown_81C5FA7::
	.string "It looks like my RATTATA was\n"
	.string "faster than the PIDGEY.$"

gUnknown_81C5FDC::
	.string "The battlers take turns attacking\n"
	.string "and reducing each other's HP.$"

gUnknown_81C601C::
	.string "My RATTATA reduced the foe's HP\n"
	.string "to zero, so it wins!\p"

	.string "The POKéMON that took part in the\n"
	.string "battle get EXP. Points.\p"

	.string "When a POKéMON collects enough\n"
	.string "EXP. Points, it levels up.\p"

	.string "Leveling up makes your POKéMON\n"
	.string "stronger than before.$"

gUnknown_81C60FA::
	.string "POKé DUDE: Uh-oh…\n"
	.string "My RATTATA has been poisoned…\p"

	.string "If a POKéMON is poisoned, it loses\n"
	.string "HP steadily.$"

gUnknown_81C615A::
	.string "If a POKéMON develops a status\n"
	.string "problem, heal it right away.$"

gUnknown_81C6196::
	.string "Using an item on a POKéMON uses\n"
	.string "up one turn, though.\p"

	.string "Now, it's the opponent's turn!$"

gUnknown_81C61EA::
	.string "Yay!\n"
	.string "We managed to win!$"

gUnknown_81C6202::
	.string "POKé DUDE: The move BUBBLE is\n"
	.string "a WATER-type attack.\p"

	.string "The targeted ODDISH is a\n"
	.string "GRASS/POISON-type POKéMON.\p"

	.string "The WATER-type attack is absorbed\n"
	.string "by the GRASS-type POKéMON…\p"

	.string "As a result, the move becomes not\n"
	.string "very effective, and inflicts only\l"
	.string "half the usual damage.$"

gUnknown_81C6301::
	.string "Uh-oh, this is not good!\p"

	.string "The ABSORB attack you just saw\n"
	.string "is a GRASS-type move.\p"

	.string "POLIWAG is a WATER-type POKéMON.\p"

	.string "So, ABSORB becomes super\n"
	.string "effective, doubling the damage.$"

gUnknown_81C63A9::
	.string "It's not going to be easy to win\n"
	.string "with this matchup…\p"

	.string "Let's try shifting POKéMON!$"

gUnknown_81C63F9::
	.string "Shifting POKéMON in and out uses\n"
	.string "up one turn.\p"

	.string "Now, it's the opponent's turn.$"

gUnknown_81C6446::
	.string "BUTTERFREE is a BUG/FLYING-type\n"
	.string "POKéMON.\p"

	.string "Against this POKéMON, a GRASS-\n"
	.string "type attack…\p"

	.string "…inflicts only half the usual\n"
	.string "damage on a BUG-type POKéMON…\p"

	.string "…And, it also causes only half the\n"
	.string "damage on a FLYING-type POKéMON.\p"

	.string "Therefore, BUTTERFREE, being a\n"
	.string "BUG/FLYING POKéMON, only takes\l"
	.string "one quarter of the usual damage.$"

gUnknown_81C657A::
	.string "ODDISH is a GRASS/POISON-type\n"
	.string "POKéMON.\p"

	.string "A FLYING- or PSYCHIC-type attack\n"
	.string "is super effective against it.\p"

	.string "One of those types of attacks will\n"
	.string "inflict double the usual damage.\p"

	.string "Okay, here we go!$"

gUnknown_81C6637::
	.string "Yeah!\n"
	.string "We won!$"

gUnknown_81C6645::
	.string "POKé DUDE: When you're trying to\n"
	.string "catch a POKéMON, don't throw any\l"
	.string "POKé BALLS right away.\p"

	.string "First, you need to weaken it by\n"
	.string "reducing its HP.$"

gUnknown_81C66CF::
	.string "Okay, that should be good enough.\p"

	.string "But, if it's possible, it would be\n"
	.string "best if the target has a status\l"
	.string "problem.\p"

	.string "For instance, it would be easier\n"
	.string "to catch if it were asleep or\l"
	.string "paralyzed.$"

gUnknown_81C6787::
	.string "This will make the POKéMON a lot\n"
	.string "easier to catch!\p"

	.string "Oh, yes. If you paralyze a\n"
	.string "POKéMON, you can't make it fall\l"
	.string "asleep on top of paralysis.\p"

	.string "In other words, you can't double\n"
	.string "up status problems, okay?$"

gUnknown_81C684B::
	.string "Okay!\n"
	.string "Let me throw my POKé BALL!$"

gUnknown_81C686C::
	.string "Before you throw a POKé BALL,\n"
	.string "consider the condition and the\l"
	.string "type of POKéMON, and pick the kind\l"
	.string "of BALL that would work best.$"