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
|
#include "constants/decorations.h"
#include "constants/flags.h"
#include "constants/game_stat.h"
#include "constants/items.h"
#include "constants/map_objects.h"
#include "constants/maps.h"
#include "constants/moves.h"
#include "constants/opponents.h"
#include "constants/songs.h"
#include "constants/species.h"
#include "constants/weather.h"
#include "constants/vars.h"
.include "include/macros.inc"
.include "include/macros/event.inc"
.include "constants/constants.inc"
.section script_data, "aw", %progbits
@ 814AE30
.include "data/script_cmd_table.inc"
.align 2
gSpecialVars::
.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_ContestRank
.4byte gSpecialVar_ContestCategory
.include "data/specials.inc"
.align 2
gStdScripts::
.4byte Std_ObtainItem
.4byte Std_FindItem
.4byte Std_2
.4byte Std_3
.4byte Std_4
.4byte Std_5
.4byte Std_6
.4byte Std_ObtainDecoration
gStdScripts_End::
.include "data/scripts/maps/PetalburgCity.inc"
.include "data/scripts/maps/SlateportCity.inc"
.include "data/scripts/maps/MauvilleCity.inc"
.include "data/scripts/maps/RustboroCity.inc"
.include "data/scripts/maps/FortreeCity.inc"
.include "data/scripts/maps/LilycoveCity.inc"
.include "data/scripts/maps/MossdeepCity.inc"
.include "data/scripts/maps/SootopolisCity.inc"
.include "data/scripts/maps/EverGrandeCity.inc"
.include "data/scripts/maps/LittlerootTown.inc"
.include "data/scripts/maps/OldaleTown.inc"
.include "data/scripts/maps/DewfordTown.inc"
.include "data/scripts/maps/LavaridgeTown.inc"
.include "data/scripts/maps/FallarborTown.inc"
.include "data/scripts/maps/VerdanturfTown.inc"
.include "data/scripts/maps/PacifidlogTown.inc"
.include "data/scripts/maps/Route101.inc"
.include "data/scripts/maps/Route102.inc"
.include "data/scripts/maps/Route103.inc"
.include "data/scripts/maps/Route104.inc"
.include "data/scripts/maps/Route105.inc"
.include "data/scripts/maps/Route106.inc"
.include "data/scripts/maps/Route107.inc"
.include "data/scripts/maps/Route108.inc"
.include "data/scripts/maps/Route109.inc"
.include "data/scripts/maps/Route110.inc"
.include "data/scripts/maps/Route111.inc"
.include "data/scripts/maps/Route112.inc"
.include "data/scripts/maps/Route113.inc"
.include "data/scripts/maps/Route114.inc"
.include "data/scripts/maps/Route115.inc"
.include "data/scripts/maps/Route116.inc"
.include "data/scripts/maps/Route117.inc"
.include "data/scripts/maps/Route118.inc"
.include "data/scripts/maps/Route119.inc"
.include "data/scripts/maps/Route120.inc"
.include "data/scripts/maps/Route121.inc"
.include "data/scripts/maps/Route122.inc"
.include "data/scripts/maps/Route123.inc"
.include "data/scripts/maps/Route124.inc"
.include "data/scripts/maps/Route125.inc"
.include "data/scripts/maps/Route126.inc"
.include "data/scripts/maps/Route127.inc"
.include "data/scripts/maps/Route128.inc"
.include "data/scripts/maps/Route129.inc"
.include "data/scripts/maps/Route130.inc"
.include "data/scripts/maps/Route131.inc"
.include "data/scripts/maps/Route132.inc"
.include "data/scripts/maps/Route133.inc"
.include "data/scripts/maps/Route134.inc"
.include "data/scripts/maps/Underwater1.inc"
.include "data/scripts/maps/Underwater2.inc"
.include "data/scripts/maps/Underwater3.inc"
.include "data/scripts/maps/Underwater4.inc"
.include "data/scripts/maps/LittlerootTown_BrendansHouse_1F.inc"
.include "data/scripts/maps/LittlerootTown_BrendansHouse_2F.inc"
.include "data/scripts/maps/LittlerootTown_MaysHouse_1F.inc"
.include "data/scripts/maps/LittlerootTown_MaysHouse_2F.inc"
.include "data/scripts/maps/LittlerootTown_ProfessorBirchsLab.inc"
.include "data/scripts/maps/OldaleTown_House1.inc"
.include "data/scripts/maps/OldaleTown_House2.inc"
.include "data/scripts/maps/OldaleTown_PokemonCenter_1F.inc"
.include "data/scripts/maps/OldaleTown_PokemonCenter_2F.inc"
.include "data/scripts/maps/OldaleTown_Mart.inc"
.include "data/scripts/maps/DewfordTown_House1.inc"
.include "data/scripts/maps/DewfordTown_PokemonCenter_1F.inc"
.include "data/scripts/maps/DewfordTown_PokemonCenter_2F.inc"
.include "data/scripts/maps/DewfordTown_Gym.inc"
.include "data/scripts/maps/DewfordTown_Hall.inc"
.include "data/scripts/maps/DewfordTown_House2.inc"
.include "data/scripts/maps/LavaridgeTown_HerbShop.inc"
.include "data/scripts/maps/LavaridgeTown_Gym_1F.inc"
.include "data/scripts/maps/LavaridgeTown_Gym_B1F.inc"
.include "data/scripts/maps/LavaridgeTown_House.inc"
.include "data/scripts/maps/LavaridgeTown_Mart.inc"
.include "data/scripts/maps/LavaridgeTown_PokemonCenter_1F.inc"
.include "data/scripts/maps/LavaridgeTown_PokemonCenter_2F.inc"
.include "data/scripts/maps/FallarborTown_Mart.inc"
.include "data/scripts/maps/FallarborTown_ContestLobby.inc"
.include "data/scripts/maps/FallarborTown_ContestHall.inc"
.include "data/scripts/maps/FallarborTown_PokemonCenter_1F.inc"
.include "data/scripts/maps/FallarborTown_PokemonCenter_2F.inc"
.include "data/scripts/maps/FallarborTown_House1.inc"
.include "data/scripts/maps/FallarborTown_House2.inc"
.include "data/scripts/maps/VerdanturfTown_ContestLobby.inc"
.include "data/scripts/maps/VerdanturfTown_ContestHall.inc"
.include "data/scripts/maps/VerdanturfTown_Mart.inc"
.include "data/scripts/maps/VerdanturfTown_PokemonCenter_1F.inc"
.include "data/scripts/maps/VerdanturfTown_PokemonCenter_2F.inc"
.include "data/scripts/maps/VerdanturfTown_WandasHouse.inc"
.include "data/scripts/maps/VerdanturfTown_FriendshipRatersHouse.inc"
.include "data/scripts/maps/VerdanturfTown_House.inc"
.include "data/scripts/maps/PacifidlogTown_PokemonCenter_1F.inc"
.include "data/scripts/maps/PacifidlogTown_PokemonCenter_2F.inc"
.include "data/scripts/maps/PacifidlogTown_House1.inc"
.include "data/scripts/maps/PacifidlogTown_House2.inc"
.include "data/scripts/maps/PacifidlogTown_House3.inc"
.include "data/scripts/maps/PacifidlogTown_House4.inc"
.include "data/scripts/maps/PacifidlogTown_House5.inc"
.include "data/scripts/maps/PetalburgCity_WallysHouse.inc"
.include "data/scripts/maps/PetalburgCity_Gym.inc"
.include "data/scripts/maps/PetalburgCity_House1.inc"
.include "data/scripts/maps/PetalburgCity_House2.inc"
.include "data/scripts/maps/PetalburgCity_PokemonCenter_1F.inc"
.include "data/scripts/maps/PetalburgCity_PokemonCenter_2F.inc"
.include "data/scripts/maps/PetalburgCity_Mart.inc"
.include "data/scripts/maps/SlateportCity_SternsShipyard_1F.inc"
.include "data/scripts/maps/SlateportCity_SternsShipyard_2F.inc"
.include "data/scripts/maps/SlateportCity_ContestLobby.inc"
.include "data/scripts/maps/SlateportCity_ContestHall.inc"
.include "data/scripts/maps/SlateportCity_House1.inc"
.include "data/scripts/maps/SlateportCity_PokemonFanClub.inc"
.include "data/scripts/maps/SlateportCity_OceanicMuseum_1F.inc"
.include "data/scripts/maps/SlateportCity_OceanicMuseum_2F.inc"
.include "data/scripts/maps/SlateportCity_Harbor.inc"
.include "data/scripts/maps/SlateportCity_House2.inc"
.include "data/scripts/maps/SlateportCity_PokemonCenter_1F.inc"
.include "data/scripts/maps/SlateportCity_PokemonCenter_2F.inc"
.include "data/scripts/maps/SlateportCity_Mart.inc"
.include "data/scripts/maps/MauvilleCity_Gym.inc"
.include "data/scripts/maps/MauvilleCity_BikeShop.inc"
.include "data/scripts/maps/MauvilleCity_House1.inc"
.include "data/scripts/maps/MauvilleCity_GameCorner.inc"
.include "data/scripts/maps/MauvilleCity_House2.inc"
.include "data/scripts/maps/MauvilleCity_PokemonCenter_1F.inc"
.include "data/scripts/maps/MauvilleCity_PokemonCenter_2F.inc"
.include "data/scripts/maps/MauvilleCity_Mart.inc"
.include "data/scripts/maps/RustboroCity_DevonCorp_1F.inc"
.include "data/scripts/maps/RustboroCity_DevonCorp_2F.inc"
.include "data/scripts/maps/RustboroCity_DevonCorp_3F.inc"
.include "data/scripts/maps/RustboroCity_Gym.inc"
.include "data/scripts/maps/RustboroCity_PokemonSchool.inc"
.include "data/scripts/maps/RustboroCity_PokemonCenter_1F.inc"
.include "data/scripts/maps/RustboroCity_PokemonCenter_2F.inc"
.include "data/scripts/maps/RustboroCity_Mart.inc"
.include "data/scripts/maps/RustboroCity_Flat1_1F.inc"
.include "data/scripts/maps/RustboroCity_Flat1_2F.inc"
.include "data/scripts/maps/RustboroCity_House1.inc"
.include "data/scripts/maps/RustboroCity_CuttersHouse.inc"
.include "data/scripts/maps/RustboroCity_House2.inc"
.include "data/scripts/maps/RustboroCity_Flat2_1F.inc"
.include "data/scripts/maps/RustboroCity_Flat2_2F.inc"
.include "data/scripts/maps/RustboroCity_Flat2_3F.inc"
.include "data/scripts/maps/RustboroCity_House3.inc"
.include "data/scripts/maps/FortreeCity_House1.inc"
.include "data/scripts/maps/FortreeCity_Gym.inc"
.include "data/scripts/maps/FortreeCity_PokemonCenter_1F.inc"
.include "data/scripts/maps/FortreeCity_PokemonCenter_2F.inc"
.include "data/scripts/maps/FortreeCity_Mart.inc"
.include "data/scripts/maps/FortreeCity_House2.inc"
.include "data/scripts/maps/FortreeCity_House3.inc"
.include "data/scripts/maps/FortreeCity_House4.inc"
.include "data/scripts/maps/FortreeCity_House5.inc"
.include "data/scripts/maps/FortreeCity_DecorationShop.inc"
.include "data/scripts/maps/LilycoveCity_CoveLilyMotel_1F.inc"
.include "data/scripts/maps/LilycoveCity_CoveLilyMotel_2F.inc"
.include "data/scripts/maps/LilycoveCity_LilycoveMuseum_1F.inc"
.include "data/scripts/maps/LilycoveCity_LilycoveMuseum_2F.inc"
.include "data/scripts/maps/LilycoveCity_ContestLobby.inc"
.include "data/scripts/maps/LilycoveCity_ContestHall.inc"
.include "data/scripts/maps/LilycoveCity_PokemonCenter_1F.inc"
.include "data/scripts/maps/LilycoveCity_PokemonCenter_2F.inc"
.include "data/scripts/maps/LilycoveCity_UnusedMart.inc"
.include "data/scripts/maps/LilycoveCity_PokemonTrainerFanClub.inc"
.include "data/scripts/maps/LilycoveCity_Harbor.inc"
.include "data/scripts/maps/LilycoveCity_EmptyMap.inc"
.include "data/scripts/maps/LilycoveCity_MoveDeletersHouse.inc"
.include "data/scripts/maps/LilycoveCity_House1.inc"
.include "data/scripts/maps/LilycoveCity_House2.inc"
.include "data/scripts/maps/LilycoveCity_House3.inc"
.include "data/scripts/maps/LilycoveCity_House4.inc"
.include "data/scripts/maps/LilycoveCity_DepartmentStore_1F.inc"
.include "data/scripts/maps/LilycoveCity_DepartmentStore_2F.inc"
.include "data/scripts/maps/LilycoveCity_DepartmentStore_3F.inc"
.include "data/scripts/maps/LilycoveCity_DepartmentStore_4F.inc"
.include "data/scripts/maps/LilycoveCity_DepartmentStore_5F.inc"
.include "data/scripts/maps/LilycoveCity_DepartmentStoreRooftop.inc"
.include "data/scripts/maps/LilycoveCity_DepartmentStoreElevator.inc"
.include "data/scripts/maps/MossdeepCity_Gym.inc"
.include "data/scripts/maps/MossdeepCity_House1.inc"
.include "data/scripts/maps/MossdeepCity_House2.inc"
.include "data/scripts/maps/MossdeepCity_PokemonCenter_1F.inc"
.include "data/scripts/maps/MossdeepCity_PokemonCenter_2F.inc"
.include "data/scripts/maps/MossdeepCity_Mart.inc"
.include "data/scripts/maps/MossdeepCity_House3.inc"
.include "data/scripts/maps/MossdeepCity_StevensHouse.inc"
.include "data/scripts/maps/MossdeepCity_House4.inc"
.include "data/scripts/maps/MossdeepCity_SpaceCenter_1F.inc"
.include "data/scripts/maps/MossdeepCity_SpaceCenter_2F.inc"
.include "data/scripts/maps/MossdeepCity_GameCorner_1F.inc"
.include "data/scripts/maps/MossdeepCity_GameCorner_B1F.inc"
.include "data/scripts/maps/SootopolisCity_Gym_1F.inc"
.include "data/scripts/maps/SootopolisCity_Gym_B1F.inc"
.include "data/scripts/maps/SootopolisCity_PokemonCenter_1F.inc"
.include "data/scripts/maps/SootopolisCity_PokemonCenter_2F.inc"
.include "data/scripts/maps/SootopolisCity_Mart.inc"
.include "data/scripts/maps/SootopolisCity_House1.inc"
.include "data/scripts/maps/SootopolisCity_House2.inc"
.include "data/scripts/maps/SootopolisCity_House3.inc"
.include "data/scripts/maps/SootopolisCity_House4.inc"
.include "data/scripts/maps/SootopolisCity_House5.inc"
.include "data/scripts/maps/SootopolisCity_House6.inc"
.include "data/scripts/maps/SootopolisCity_House7.inc"
.include "data/scripts/maps/SootopolisCity_House8.inc"
.include "data/scripts/maps/EverGrandeCity_SidneysRoom.inc"
.include "data/scripts/maps/EverGrandeCity_PhoebesRoom.inc"
.include "data/scripts/maps/EverGrandeCity_GlaciasRoom.inc"
.include "data/scripts/maps/EverGrandeCity_DrakesRoom.inc"
.include "data/scripts/maps/EverGrandeCity_ChampionsRoom.inc"
.include "data/scripts/maps/EverGrandeCity_Corridor1.inc"
.include "data/scripts/maps/EverGrandeCity_Corridor2.inc"
.include "data/scripts/maps/EverGrandeCity_Corridor3.inc"
.include "data/scripts/maps/EverGrandeCity_Corridor4.inc"
.include "data/scripts/maps/EverGrandeCity_Corridor5.inc"
.include "data/scripts/maps/EverGrandeCity_PokemonLeague.inc"
.include "data/scripts/maps/EverGrandeCity_HallOfFame.inc"
.include "data/scripts/maps/EverGrandeCity_PokemonCenter_1F.inc"
.include "data/scripts/maps/EverGrandeCity_PokemonCenter_2F.inc"
.include "data/scripts/maps/Route104_MrBrineysHouse.inc"
.include "data/scripts/maps/Route104_PrettyPetalFlowerShop.inc"
.include "data/scripts/maps/Route111_WinstrateFamilysHouse.inc"
.include "data/scripts/maps/Route111_OldLadysRestStop.inc"
.include "data/scripts/maps/Route112_CableCarStation.inc"
.include "data/scripts/maps/MtChimney_CableCarStation.inc"
.include "data/scripts/maps/Route114_FossilManiacsHouse.inc"
.include "data/scripts/maps/Route114_FossilManiacsTunnel.inc"
.include "data/scripts/maps/Route114_LanettesHouse.inc"
.include "data/scripts/maps/Route116_TunnelersRestHouse.inc"
.include "data/scripts/maps/Route117_PokemonDayCare.inc"
.include "data/scripts/maps/Route121_SafariZoneEntrance.inc"
.include "data/scripts/maps/MeteorFalls_1F_1R.inc"
.include "data/scripts/maps/MeteorFalls_1F_2R.inc"
.include "data/scripts/maps/MeteorFalls_B1F_1R.inc"
.include "data/scripts/maps/MeteorFalls_B1F_2R.inc"
.include "data/scripts/maps/RusturfTunnel.inc"
.include "data/scripts/maps/Underwater_SootopolisCity.inc"
.include "data/scripts/maps/DesertRuins.inc"
.include "data/scripts/maps/GraniteCave_1F.inc"
.include "data/scripts/maps/GraniteCave_B1F.inc"
.include "data/scripts/maps/GraniteCave_B2F.inc"
.include "data/scripts/maps/GraniteCave_StevensRoom.inc"
.include "data/scripts/maps/PetalburgWoods.inc"
.include "data/scripts/maps/MtChimney.inc"
.include "data/scripts/maps/JaggedPass.inc"
.include "data/scripts/maps/FieryPath.inc"
.include "data/scripts/maps/MtPyre_1F.inc"
.include "data/scripts/maps/MtPyre_2F.inc"
.include "data/scripts/maps/MtPyre_3F.inc"
.include "data/scripts/maps/MtPyre_4F.inc"
.include "data/scripts/maps/MtPyre_5F.inc"
.include "data/scripts/maps/MtPyre_6F.inc"
.include "data/scripts/maps/MtPyre_Exterior.inc"
.include "data/scripts/maps/MtPyre_Summit.inc"
.include "data/scripts/maps/AquaHideout_1F.inc"
.include "data/scripts/maps/AquaHideout_B1F.inc"
.include "data/scripts/maps/AquaHideout_B2F.inc"
.include "data/scripts/maps/Underwater_SeafloorCavern.inc"
.include "data/scripts/maps/SeafloorCavern_Entrance.inc"
.include "data/scripts/maps/SeafloorCavern_Room1.inc"
.include "data/scripts/maps/SeafloorCavern_Room2.inc"
.include "data/scripts/maps/SeafloorCavern_Room3.inc"
.include "data/scripts/maps/SeafloorCavern_Room4.inc"
.include "data/scripts/maps/SeafloorCavern_Room5.inc"
.include "data/scripts/maps/SeafloorCavern_Room6.inc"
.include "data/scripts/maps/SeafloorCavern_Room7.inc"
.include "data/scripts/maps/SeafloorCavern_Room8.inc"
.include "data/scripts/maps/SeafloorCavern_Room9.inc"
.include "data/scripts/maps/CaveOfOrigin_Entrance.inc"
.include "data/scripts/maps/CaveOfOrigin_1F.inc"
.include "data/scripts/maps/CaveOfOrigin_B1F.inc"
.include "data/scripts/maps/CaveOfOrigin_B2F.inc"
.include "data/scripts/maps/CaveOfOrigin_B3F.inc"
.include "data/scripts/maps/CaveOfOrigin_B4F.inc"
.include "data/scripts/maps/VictoryRoad_1F.inc"
.include "data/scripts/maps/VictoryRoad_B1F.inc"
.include "data/scripts/maps/VictoryRoad_B2F.inc"
.include "data/scripts/maps/ShoalCave_LowTideEntranceRoom.inc"
.include "data/scripts/maps/ShoalCave_LowTideInnerRoom.inc"
.include "data/scripts/maps/ShoalCave_LowTideStairsRoom.inc"
.include "data/scripts/maps/ShoalCave_LowTideLowerRoom.inc"
.include "data/scripts/maps/ShoalCave_HighTideEntranceRoom.inc"
.include "data/scripts/maps/ShoalCave_HighTideInnerRoom.inc"
.include "data/scripts/maps/NewMauville_Entrance.inc"
.include "data/scripts/maps/NewMauville_Inside.inc"
.include "data/scripts/maps/AbandonedShip_Deck.inc"
.include "data/scripts/maps/AbandonedShip_Corridors_1F.inc"
.include "data/scripts/maps/AbandonedShip_Rooms_1F.inc"
.include "data/scripts/maps/AbandonedShip_Corridors_B1F.inc"
.include "data/scripts/maps/AbandonedShip_Rooms_B1F.inc"
.include "data/scripts/maps/AbandonedShip_Rooms2_B1F.inc"
.include "data/scripts/maps/AbandonedShip_Underwater1.inc"
.include "data/scripts/maps/AbandonedShip_Room_B1F.inc"
.include "data/scripts/maps/AbandonedShip_Rooms2_1F.inc"
.include "data/scripts/maps/AbandonedShip_CaptainsOffice.inc"
.include "data/scripts/maps/AbandonedShip_Underwater2.inc"
.include "data/scripts/maps/AbandonedShip_HiddenFloorCorridors.inc"
.include "data/scripts/maps/AbandonedShip_HiddenFloorRooms.inc"
.include "data/scripts/maps/IslandCave.inc"
.include "data/scripts/maps/AncientTomb.inc"
.include "data/scripts/maps/Underwater_Route134.inc"
.include "data/scripts/maps/Underwater_SealedChamber.inc"
.include "data/scripts/maps/SealedChamber_OuterRoom.inc"
.include "data/scripts/maps/SealedChamber_InnerRoom.inc"
.include "data/scripts/maps/ScorchedSlab.inc"
.include "data/scripts/maps/MagmaHideout_1F.inc"
.include "data/scripts/maps/MagmaHideout_B1F.inc"
.include "data/scripts/maps/MagmaHideout_B2F.inc"
.include "data/scripts/maps/SkyPillar_Entrance.inc"
.include "data/scripts/maps/SkyPillar_Outside.inc"
.include "data/scripts/maps/SkyPillar_1F.inc"
.include "data/scripts/maps/SkyPillar_2F.inc"
.include "data/scripts/maps/SkyPillar_3F.inc"
.include "data/scripts/maps/SkyPillar_4F.inc"
.include "data/scripts/maps/ShoalCave_LowTideIceRoom.inc"
.include "data/scripts/maps/SkyPillar_5F.inc"
.include "data/scripts/maps/SkyPillar_Top.inc"
.include "data/scripts/maps/SecretBase_BlueCave1.inc"
.include "data/scripts/maps/SecretBase_BlueCave2.inc"
.include "data/scripts/maps/SecretBase_BlueCave3.inc"
.include "data/scripts/maps/SecretBase_BlueCave4.inc"
.include "data/scripts/maps/SecretBase_BrownCave1.inc"
.include "data/scripts/maps/SecretBase_BrownCave2.inc"
.include "data/scripts/maps/SecretBase_BrownCave3.inc"
.include "data/scripts/maps/SecretBase_BrownCave4.inc"
.include "data/scripts/maps/SecretBase_RedCave1.inc"
.include "data/scripts/maps/SecretBase_RedCave2.inc"
.include "data/scripts/maps/SecretBase_RedCave3.inc"
.include "data/scripts/maps/SecretBase_RedCave4.inc"
.include "data/scripts/maps/SecretBase_Shrub1.inc"
.include "data/scripts/maps/SecretBase_Shrub2.inc"
.include "data/scripts/maps/SecretBase_Shrub3.inc"
.include "data/scripts/maps/SecretBase_Shrub4.inc"
.include "data/scripts/maps/SecretBase_Tree1.inc"
.include "data/scripts/maps/SecretBase_Tree2.inc"
.include "data/scripts/maps/SecretBase_Tree3.inc"
.include "data/scripts/maps/SecretBase_Tree4.inc"
.include "data/scripts/maps/SecretBase_YellowCave1.inc"
.include "data/scripts/maps/SecretBase_YellowCave2.inc"
.include "data/scripts/maps/SecretBase_YellowCave3.inc"
.include "data/scripts/maps/SecretBase_YellowCave4.inc"
gUnknown_0815F36C:: @ 815F36C
lockall
playse SE_PC_LOGON
message UnknownString_81A3A72
dofieldeffect 61
waitstate
waitmessage
waitbuttonpress
playse SE_SELECT
goto EventScript_15F384
end
EventScript_15F384:
message UnknownString_81A3A87
waitmessage
goto_if_set FLAG_DECORATION_16, EventScript_15F3A0
goto EventScript_15F3E2
end
gUnknown_0815F399:: @ 815F399
lockall
goto EventScript_15F384
end
EventScript_15F3A0:
multichoice 0, 0, 6, 0
switch RESULT
case 0, EventScript_15F432
case 1, EventScript_15F419
case 2, EventScript_15F436
case 3, EventScript_15F51D
case 127, EventScript_15F51D
end
EventScript_15F3E2:
multichoice 0, 0, 5, 0
switch RESULT
case 0, EventScript_15F432
case 1, EventScript_15F419
case 2, EventScript_15F51D
case 127, EventScript_15F51D
end
EventScript_15F419:
msgbox UnknownString_81A38FB, MSGBOX_YESNO
compare RESULT, NO
goto_if_eq EventScript_15F384
closemessage
special SecretBasePC_PackUp
releaseall
end
EventScript_15F432:
special SecretBasePC_Decoration
end
EventScript_15F436:
special SecretBasePC_Registry
end
gUnknown_0815F43A:: @ 815F43A
lockall
message UnknownString_81A3A72
playse SE_PC_LOGON
dofieldeffect 61
waitstate
waitmessage
waitbuttonpress
playse SE_SELECT
goto EventScript_15F452
end
EventScript_15F452:
message UnknownString_81A3A87
waitmessage
multichoice 0, 0, 7, 0
switch RESULT
case 0, EventScript_15F4A1
case 1, EventScript_15F436
case 2, EventScript_15F511
case 3, EventScript_15F51D
case 127, EventScript_15F51D
end
gUnknown_0815F49A:: @ 815F49A
lockall
goto EventScript_15F452
end
EventScript_15F4A1:
special sub_80BC56C
compare RESULT, 1
goto_if_eq EventScript_15F4E0
compare RESULT, 2
goto_if_eq EventScript_15F503
special BufferSecretBaseOwnerName
msgbox UnknownString_81A3958, MSGBOX_YESNO
compare RESULT, NO
goto_if_eq EventScript_15F452
msgbox UnknownString_81A3A22, 3
special sub_80BC5BC
special DoSecretBasePCTurnOffEffect
releaseall
end
EventScript_15F4E0:
msgbox UnknownString_81A3982, MSGBOX_YESNO
compare RESULT, NO
goto_if_eq EventScript_15F452
msgbox UnknownString_81A3A3A, 3
special sub_80BC5BC
special DoSecretBasePCTurnOffEffect
releaseall
end
EventScript_15F503:
msgbox UnknownString_81A39C0, 3
special DoSecretBasePCTurnOffEffect
closemessage
releaseall
end
EventScript_15F511:
message UnknownString_81A3AA2
waitmessage
goto EventScript_15F452
end
EventScript_15F51D:
special DoSecretBasePCTurnOffEffect
closemessage
releaseall
end
gUnknown_0815F523:: @ 815F523
dofieldeffect 52
waitstate
end
gUnknown_0815F528:: @ 815F528
special GetShieldToyTVDecorationInfo
compare RESULT, 0
goto_if_eq EventScript_15F558
compare RESULT, 1
goto_if_eq EventScript_15F561
compare RESULT, 2
goto_if_eq EventScript_15F56A
compare RESULT, 3
goto_if_eq EventScript_15F573
end
EventScript_15F558:
msgbox UnknownString_81A3B5B, 3
end
EventScript_15F561:
msgbox UnknownString_81A3BA4, 3
end
EventScript_15F56A:
msgbox UnknownString_81A3BE8, 3
end
EventScript_15F573:
msgbox UnknownString_81A3C31, 3
end
.include "data/scripts/maps/SingleBattleColosseum.inc"
.include "data/scripts/maps/TradeCenter.inc"
.include "data/scripts/maps/RecordCorner.inc"
.include "data/scripts/maps/DoubleBattleColosseum.inc"
.include "data/scripts/maps/LinkContestRoom1.inc"
.include "data/scripts/maps/LinkContestRoom2.inc"
.include "data/scripts/maps/LinkContestRoom3.inc"
.include "data/scripts/maps/LinkContestRoom4.inc"
.include "data/scripts/maps/LinkContestRoom5.inc"
.include "data/scripts/maps/LinkContestRoom6.inc"
.include "data/scripts/maps/UnknownMap_25_29.inc"
.include "data/scripts/maps/UnknownMap_25_30.inc"
.include "data/scripts/maps/UnknownMap_25_31.inc"
.include "data/scripts/maps/UnknownMap_25_32.inc"
.include "data/scripts/maps/UnknownMap_25_33.inc"
.include "data/scripts/maps/UnknownMap_25_34.inc"
.include "data/scripts/maps/InsideOfTruck.inc"
.include "data/scripts/maps/SSTidalCorridor.inc"
.include "data/scripts/maps/SSTidalLowerDeck.inc"
.include "data/scripts/maps/SSTidalRooms.inc"
.include "data/scripts/maps/SafariZone_Northwest.inc"
.include "data/scripts/maps/SafariZone_Northeast.inc"
.include "data/scripts/maps/SafariZone_Southwest.inc"
.include "data/scripts/maps/SafariZone_Southeast.inc"
.include "data/scripts/maps/BattleTower_Outside.inc"
.include "data/scripts/maps/BattleTower_Lobby.inc"
.include "data/scripts/maps/BattleTower_Elevator.inc"
.include "data/scripts/maps/BattleTower_Corridor.inc"
.include "data/scripts/maps/BattleTower_BattleRoom.inc"
.include "data/scripts/maps/SouthernIsland_Exterior.inc"
.include "data/scripts/maps/SouthernIsland_Interior.inc"
.include "data/scripts/maps/SafariZone_RestHouse.inc"
.include "data/scripts/maps/Route104_Prototype.inc"
.include "data/scripts/maps/Route104_PrototypePrettyPetalFlowerShop.inc"
.include "data/scripts/maps/Route109_SeashoreHouse.inc"
.include "data/scripts/maps/Route110_TrickHouseEntrance.inc"
.include "data/scripts/maps/Route110_TrickHouseEnd.inc"
.include "data/scripts/maps/Route110_TrickHouseCorridor.inc"
.include "data/scripts/maps/Route110_TrickHousePuzzle1.inc"
.include "data/scripts/maps/Route110_TrickHousePuzzle2.inc"
.include "data/scripts/maps/Route110_TrickHousePuzzle3.inc"
.include "data/scripts/maps/Route110_TrickHousePuzzle4.inc"
.include "data/scripts/maps/Route110_TrickHousePuzzle5.inc"
.include "data/scripts/maps/Route110_TrickHousePuzzle6.inc"
.include "data/scripts/maps/Route110_TrickHousePuzzle7.inc"
.include "data/scripts/maps/Route110_TrickHousePuzzle8.inc"
.include "data/scripts/maps/Route110_SeasideCyclingRoadSouthEntrance.inc"
.include "data/scripts/maps/Route110_SeasideCyclingRoadNorthEntrance.inc"
.include "data/scripts/maps/Route113_GlassWorkshop.inc"
.include "data/scripts/maps/Route123_BerryMastersHouse.inc"
.include "data/scripts/maps/Route119_WeatherInstitute_1F.inc"
.include "data/scripts/maps/Route119_WeatherInstitute_2F.inc"
.include "data/scripts/maps/Route119_House.inc"
.include "data/scripts/maps/Route124_DivingTreasureHuntersHouse.inc"
.include "data/text/maps/PetalburgCity.inc"
.include "data/text/maps/SlateportCity.inc"
.include "data/text/maps/MauvilleCity.inc"
.include "data/text/maps/RustboroCity.inc"
.include "data/text/maps/FortreeCity.inc"
.include "data/text/maps/LilycoveCity.inc"
.include "data/text/maps/MossdeepCity.inc"
.include "data/text/maps/SootopolisCity.inc"
.include "data/text/maps/EverGrandeCity.inc"
.include "data/text/maps/LittlerootTown.inc"
.include "data/text/maps/OldaleTown.inc"
.include "data/text/maps/DewfordTown.inc"
.include "data/text/maps/LavaridgeTown.inc"
.include "data/text/maps/FallarborTown.inc"
.include "data/text/maps/VerdanturfTown.inc"
.include "data/text/maps/PacifidlogTown.inc"
.include "data/text/maps/Route101.inc"
.include "data/text/maps/Route102.inc"
.include "data/text/maps/Route103.inc"
.include "data/text/maps/Route104.inc"
.include "data/text/maps/Route105.inc"
.include "data/text/maps/Route106.inc"
.include "data/text/maps/Route107.inc"
.include "data/text/maps/Route108.inc"
.include "data/text/maps/Route109.inc"
.include "data/text/maps/Route110.inc"
.include "data/text/maps/Route111.inc"
.include "data/text/maps/Route112.inc"
.include "data/text/maps/Route113.inc"
.include "data/text/maps/Route114.inc"
.include "data/text/maps/Route115.inc"
.include "data/text/maps/Route116.inc"
.include "data/text/maps/Route117.inc"
.include "data/text/maps/Route118.inc"
.include "data/text/maps/Route119.inc"
.include "data/text/maps/Route120.inc"
.include "data/text/maps/Route121.inc"
.include "data/text/maps/Route123.inc"
.include "data/text/maps/Route124.inc"
.include "data/text/maps/Route128.inc"
.include "data/text/maps/LittlerootTown_BrendansHouse_1F.inc"
.include "data/text/maps/LittlerootTown_BrendansHouse_2F.inc"
.include "data/text/maps/LittlerootTown_MaysHouse_1F.inc"
.include "data/text/maps/LittlerootTown_MaysHouse_2F.inc"
.include "data/text/maps/LittlerootTown_ProfessorBirchsLab.inc"
.include "data/text/maps/OldaleTown_House1.inc"
.include "data/text/maps/OldaleTown_House2.inc"
.include "data/text/maps/OldaleTown_PokemonCenter_1F.inc"
.include "data/text/maps/OldaleTown_Mart.inc"
.include "data/text/maps/DewfordTown_House1.inc"
.include "data/text/maps/DewfordTown_PokemonCenter_1F.inc"
.include "data/text/maps/DewfordTown_Gym.inc"
.include "data/text/maps/DewfordTown_Hall.inc"
.include "data/text/maps/DewfordTown_House2.inc"
.include "data/text/maps/LavaridgeTown_HerbShop.inc"
.include "data/text/maps/LavaridgeTown_Gym_1F.inc"
.include "data/text/maps/LavaridgeTown_House.inc"
.include "data/text/maps/LavaridgeTown_Mart.inc"
.include "data/text/maps/LavaridgeTown_PokemonCenter_1F.inc"
.include "data/text/maps/FallarborTown_Mart.inc"
.include "data/text/maps/FallarborTown_ContestLobby.inc"
.include "data/text/maps/FallarborTown_ContestHall.inc"
.include "data/text/maps/FallarborTown_PokemonCenter_1F.inc"
.include "data/text/maps/FallarborTown_House1.inc"
.include "data/text/maps/FallarborTown_House2.inc"
.include "data/text/maps/VerdanturfTown_ContestLobby.inc"
.include "data/text/maps/VerdanturfTown_ContestHall.inc"
.include "data/text/maps/VerdanturfTown_Mart.inc"
.include "data/text/maps/VerdanturfTown_PokemonCenter_1F.inc"
.include "data/text/maps/VerdanturfTown_WandasHouse.inc"
.include "data/text/maps/VerdanturfTown_FriendshipRatersHouse.inc"
.include "data/text/maps/VerdanturfTown_House.inc"
.include "data/text/maps/PacifidlogTown_PokemonCenter_1F.inc"
.include "data/text/maps/PacifidlogTown_House1.inc"
.include "data/text/maps/PacifidlogTown_House2.inc"
.include "data/text/maps/PacifidlogTown_House3.inc"
.include "data/text/maps/PacifidlogTown_House4.inc"
.include "data/text/maps/PacifidlogTown_House5.inc"
.include "data/text/maps/PetalburgCity_WallysHouse.inc"
.include "data/text/maps/PetalburgCity_Gym.inc"
.include "data/text/maps/PetalburgCity_House1.inc"
.include "data/text/maps/PetalburgCity_House2.inc"
.include "data/text/maps/PetalburgCity_PokemonCenter_1F.inc"
.include "data/text/maps/PetalburgCity_Mart.inc"
.include "data/text/maps/SlateportCity_SternsShipyard_1F.inc"
.include "data/text/maps/SlateportCity_SternsShipyard_2F.inc"
.include "data/text/maps/SlateportCity_ContestLobby.inc"
.include "data/text/maps/SlateportCity_ContestHall.inc"
.include "data/text/maps/SlateportCity_House1.inc"
.include "data/text/maps/SlateportCity_PokemonFanClub.inc"
.include "data/text/maps/SlateportCity_OceanicMuseum_1F.inc"
.include "data/text/maps/SlateportCity_OceanicMuseum_2F.inc"
.include "data/text/maps/SlateportCity_Harbor.inc"
.include "data/text/maps/SlateportCity_House2.inc"
.include "data/text/maps/SlateportCity_PokemonCenter_1F.inc"
.include "data/text/maps/SlateportCity_Mart.inc"
.include "data/text/maps/MauvilleCity_Gym.inc"
.include "data/text/maps/MauvilleCity_BikeShop.inc"
.include "data/text/maps/MauvilleCity_House1.inc"
.include "data/text/maps/MauvilleCity_GameCorner.inc"
.include "data/text/maps/MauvilleCity_House2.inc"
.include "data/text/maps/MauvilleCity_PokemonCenter_1F.inc"
.include "data/text/maps/MauvilleCity_PokemonCenter_2F.inc"
.include "data/text/maps/MauvilleCity_Mart.inc"
.include "data/text/maps/RustboroCity_DevonCorp_1F.inc"
.include "data/text/maps/RustboroCity_DevonCorp_2F.inc"
.include "data/text/maps/RustboroCity_DevonCorp_3F.inc"
.include "data/text/maps/RustboroCity_Gym.inc"
.include "data/text/maps/RustboroCity_PokemonSchool.inc"
.include "data/text/maps/RustboroCity_PokemonCenter_1F.inc"
.include "data/text/maps/RustboroCity_Mart.inc"
.include "data/text/maps/RustboroCity_Flat1_1F.inc"
.include "data/text/maps/RustboroCity_Flat1_2F.inc"
.include "data/text/maps/RustboroCity_House1.inc"
.include "data/text/maps/RustboroCity_CuttersHouse.inc"
.include "data/text/maps/RustboroCity_House2.inc"
.include "data/text/maps/RustboroCity_Flat2_1F.inc"
.include "data/text/maps/RustboroCity_Flat2_2F.inc"
.include "data/text/maps/RustboroCity_Flat2_3F.inc"
.include "data/text/maps/RustboroCity_House3.inc"
.include "data/text/maps/FortreeCity_House1.inc"
.include "data/text/maps/FortreeCity_Gym.inc"
.include "data/text/maps/FortreeCity_PokemonCenter_1F.inc"
.include "data/text/maps/FortreeCity_Mart.inc"
.include "data/text/maps/FortreeCity_House2.inc"
.include "data/text/maps/FortreeCity_House3.inc"
.include "data/text/maps/FortreeCity_House4.inc"
.include "data/text/maps/FortreeCity_House5.inc"
.include "data/text/maps/FortreeCity_DecorationShop.inc"
.include "data/text/maps/LilycoveCity_CoveLilyMotel_1F.inc"
.include "data/text/maps/LilycoveCity_CoveLilyMotel_2F.inc"
.include "data/text/maps/LilycoveCity_LilycoveMuseum_1F.inc"
.include "data/text/maps/LilycoveCity_LilycoveMuseum_2F.inc"
.include "data/text/maps/LilycoveCity_ContestLobby.inc"
.include "data/text/maps/LilycoveCity_ContestHall.inc"
.include "data/text/maps/LilycoveCity_PokemonCenter_1F.inc"
.include "data/text/maps/LilycoveCity_PokemonTrainerFanClub.inc"
.include "data/text/maps/LilycoveCity_Harbor.inc"
.include "data/text/maps/LilycoveCity_MoveDeletersHouse.inc"
.include "data/text/maps/LilycoveCity_House1.inc"
.include "data/text/maps/LilycoveCity_House2.inc"
.include "data/text/maps/LilycoveCity_House3.inc"
.include "data/text/maps/LilycoveCity_House4.inc"
.include "data/text/maps/LilycoveCity_DepartmentStore_1F.inc"
.include "data/text/maps/LilycoveCity_DepartmentStore_2F.inc"
.include "data/text/maps/LilycoveCity_DepartmentStore_3F.inc"
.include "data/text/maps/LilycoveCity_DepartmentStore_4F.inc"
.include "data/text/maps/LilycoveCity_DepartmentStore_5F.inc"
.include "data/text/maps/LilycoveCity_DepartmentStoreRooftop.inc"
.include "data/text/maps/MossdeepCity_Gym.inc"
.include "data/text/maps/MossdeepCity_House1.inc"
.include "data/text/maps/MossdeepCity_House2.inc"
.include "data/text/maps/MossdeepCity_PokemonCenter_1F.inc"
.include "data/text/maps/MossdeepCity_PokemonCenter_2F.inc"
.include "data/text/maps/MossdeepCity_Mart.inc"
.include "data/text/maps/MossdeepCity_House3.inc"
.include "data/text/maps/MossdeepCity_StevensHouse.inc"
.include "data/text/maps/MossdeepCity_House4.inc"
.include "data/text/maps/MossdeepCity_SpaceCenter_1F.inc"
.include "data/text/maps/MossdeepCity_SpaceCenter_2F.inc"
.include "data/text/maps/MossdeepCity_GameCorner_1F.inc"
.include "data/text/maps/MossdeepCity_GameCorner_B1F.inc"
.include "data/text/maps/SootopolisCity_Gym_1F.inc"
.include "data/text/maps/SootopolisCity_Gym_B1F.inc"
.include "data/text/maps/SootopolisCity_PokemonCenter_1F.inc"
.include "data/text/maps/SootopolisCity_Mart.inc"
.include "data/text/maps/SootopolisCity_House1.inc"
.include "data/text/maps/SootopolisCity_House2.inc"
.include "data/text/maps/SootopolisCity_House3.inc"
.include "data/text/maps/SootopolisCity_House4.inc"
.include "data/text/maps/SootopolisCity_House5.inc"
.include "data/text/maps/SootopolisCity_House6.inc"
.include "data/text/maps/SootopolisCity_House7.inc"
.include "data/text/maps/SootopolisCity_House8.inc"
.include "data/text/maps/EverGrandeCity_SidneysRoom.inc"
.include "data/text/maps/EverGrandeCity_PhoebesRoom.inc"
.include "data/text/maps/EverGrandeCity_GlaciasRoom.inc"
.include "data/text/maps/EverGrandeCity_DrakesRoom.inc"
.include "data/text/maps/EverGrandeCity_ChampionsRoom.inc"
.include "data/text/maps/EverGrandeCity_PokemonLeague.inc"
.include "data/text/maps/EverGrandeCity_HallOfFame.inc"
.include "data/text/maps/EverGrandeCity_PokemonCenter_1F.inc"
.include "data/text/maps/Route104_MrBrineysHouse.inc"
.include "data/text/maps/Route111_WinstrateFamilysHouse.inc"
.include "data/text/maps/Route111_OldLadysRestStop.inc"
.include "data/text/maps/Route112_CableCarStation.inc"
.include "data/text/maps/MtChimney_CableCarStation.inc"
.include "data/text/maps/Route114_FossilManiacsHouse.inc"
.include "data/text/maps/Route114_FossilManiacsTunnel.inc"
.include "data/text/maps/Route114_LanettesHouse.inc"
.include "data/text/maps/Route116_TunnelersRestHouse.inc"
.include "data/text/maps/MeteorFalls_1F_1R.inc"
.include "data/text/maps/MeteorFalls_1F_2R.inc"
.include "data/text/maps/RusturfTunnel.inc"
.include "data/text/maps/GraniteCave_1F.inc"
.include "data/text/maps/GraniteCave_StevensRoom.inc"
.include "data/text/maps/PetalburgWoods.inc"
.include "data/text/maps/MtChimney.inc"
.include "data/text/maps/JaggedPass.inc"
.include "data/text/maps/MtPyre_1F.inc"
.include "data/text/maps/MtPyre_2F.inc"
.include "data/text/maps/MtPyre_3F.inc"
.include "data/text/maps/MtPyre_4F.inc"
.include "data/text/maps/MtPyre_5F.inc"
.include "data/text/maps/MtPyre_6F.inc"
.include "data/text/maps/AquaHideout_1F.inc"
.include "data/text/maps/AquaHideout_B1F.inc"
.include "data/text/maps/AquaHideout_B2F.inc"
.include "data/text/maps/Underwater_SeafloorCavern.inc"
.include "data/text/maps/SeafloorCavern_Room1.inc"
.include "data/text/maps/SeafloorCavern_Room3.inc"
.include "data/text/maps/SeafloorCavern_Room4.inc"
.include "data/text/maps/VictoryRoad_1F.inc"
.include "data/text/maps/VictoryRoad_B1F.inc"
.include "data/text/maps/VictoryRoad_B2F.inc"
.include "data/text/maps/ShoalCave_LowTideEntranceRoom.inc"
.include "data/text/maps/ShoalCave_LowTideInnerRoom.inc"
.include "data/text/maps/ShoalCave_LowTideStairsRoom.inc"
.include "data/text/maps/ShoalCave_LowTideLowerRoom.inc"
.include "data/text/maps/NewMauville_Entrance.inc"
.include "data/text/maps/NewMauville_Inside.inc"
.include "data/text/maps/AbandonedShip_Corridors_1F.inc"
.include "data/text/maps/AbandonedShip_Rooms_1F.inc"
.include "data/text/maps/AbandonedShip_Corridors_B1F.inc"
.include "data/text/maps/AbandonedShip_HiddenFloorCorridors.inc"
.include "data/text/maps/AbandonedShip_Rooms_B1F.inc"
.include "data/text/maps/AbandonedShip_Rooms2_B1F.inc"
.include "data/text/maps/AbandonedShip_Rooms2_1F.inc"
.include "data/text/maps/AbandonedShip_CaptainsOffice.inc"
.include "data/text/maps/AbandonedShip_HiddenFloorRooms.inc"
.include "data/text/maps/SecretBase_RedCave1.inc"
.include "data/text/maps/InsideOfTruck.inc"
.include "data/text/maps/SSTidalCorridor.inc"
.include "data/text/maps/SSTidalLowerDeck.inc"
.include "data/text/maps/SSTidalRooms.inc"
.include "data/text/maps/BattleTower_Outside.inc"
.include "data/text/maps/BattleTower_Lobby.inc"
.include "data/text/maps/BattleTower_BattleRoom.inc"
.include "data/text/maps/SouthernIsland_Exterior.inc"
.include "data/text/maps/SouthernIsland_Interior.inc"
.include "data/text/maps/Route104_Prototype.inc"
.include "data/text/maps/Route104_PrototypePrettyPetalFlowerShop.inc"
.include "data/text/maps/Route109_SeashoreHouse.inc"
.include "data/text/maps/Route110_TrickHouseEntrance.inc"
Route110_TrickHousePuzzle1_Text_19C1B8:: @ 819C1B8
.string "{PLAYER} findet eine Schriftrolle.$"
Route110_TrickHousePuzzle1_Text_19C1CB:: @ 819C1CB
.string "{PLAYER} lernt den geheimen Code, der\n"
.string "auf der Schriftrolle steht, auswendig.$"
Route110_TrickHousePuzzle1_Text_19C1FF:: @ 819C1FF
.string "Dort steht ein geheimer Code.$"
UnknownString_819C21F: @ 819C21F
.string "Die Tür ist verschlossen.\p"
.string "Bei näherer Betrachtung findet sich\n"
.string "ein Hinweis. “Schreibe hier den\l"
.string "geheimen Code auf.”$"
.include "data/text/maps/Route110_TrickHouseEnd.inc"
.include "data/text/maps/Route110_TrickHousePuzzle1.inc"
.include "data/text/maps/Route110_TrickHousePuzzle2.inc"
.include "data/text/maps/Route110_TrickHousePuzzle3.inc"
.include "data/text/maps/Route110_TrickHousePuzzle4.inc"
.include "data/text/maps/Route110_TrickHousePuzzle5.inc"
.include "data/text/maps/Route110_TrickHousePuzzle6.inc"
.include "data/text/maps/Route110_TrickHousePuzzle7.inc"
.include "data/text/maps/Route110_TrickHousePuzzle8.inc"
.include "data/text/maps/Route110_SeasideCyclingRoadSouthEntrance.inc"
.include "data/text/maps/Route110_SeasideCyclingRoadNorthEntrance.inc"
.include "data/text/maps/Route113_GlassWorkshop.inc"
.include "data/text/maps/Route123_BerryMastersHouse.inc"
.include "data/text/maps/Route119_WeatherInstitute_1F.inc"
.include "data/text/maps/Route119_WeatherInstitute_2F.inc"
.include "data/text/maps/Route119_House.inc"
.include "data/text/maps/Route124_DivingTreasureHuntersHouse.inc"
Std_2:
lock
faceplayer
message 0x0
waitmessage
waitbuttonpress
release
return
Std_3:
lockall
message 0x0
waitmessage
waitbuttonpress
releaseall
return
Std_4:
message 0x0
waitmessage
waitbuttonpress
return
Std_5:
message 0x0
waitmessage
yesnobox 20, 8
return
@ 819F805
return
S_DoSaveDialog:: @ 819F806
S_DoSaveDialog:: @ 819F806
S_DoSaveDialog:: @ 819F806
S_DoSaveDialog:: @ 819F806
S_DoSaveDialog:: @ 819F806
S_DoSaveDialog:: @ 819F806
special ScrSpecial_DoSaveDialog
waitstate
return
gUnknown_0819F80B:: @ 819F80B
lock
special PlayTrainerEncounterMusic
special ScrSpecial_EndTrainerApproach
waitstate
goto EventScript_19F8F2
gUnknown_0819F818:: @ 819F818
lock
faceplayer
applymovement LAST_TALKED, Movement_19F8F0
waitmovement 0
specialvar RESULT, ScrSpecial_HasTrainerBeenFought
compare RESULT, 0
goto_if_ne EventScript_19F83F
special PlayTrainerEncounterMusic
special sub_8082524
goto EventScript_19F8F2
EventScript_19F83F:
gotopostbattlescript
gUnknown_0819F840:: @ 819F840
lock
faceplayer
call EventScript_19F8E5
specialvar RESULT, ScrSpecial_HasTrainerBeenFought
compare RESULT, 0
goto_if_ne EventScript_19F877
special CheckForAlivePartyMons
compare RESULT, 0
goto_if_ne EventScript_19F870
special PlayTrainerEncounterMusic
special sub_8082524
goto EventScript_19F8F2
EventScript_19F870:
special ScrSpecial_ShowTrainerNonBattlingSpeech
waitmessage
waitbuttonpress
release
end
EventScript_19F877:
gotopostbattlescript
gUnknown_0819F878:: @ 819F878
applymovement LAST_TALKED, Movement_19F8F0
waitmovement 0
special PlayTrainerEncounterMusic
trainerbattlebegin
gotopostbattlescript
gUnknown_0819F887:: @ 819F887
call EventScript_19F8E5
specialvar RESULT, ScrSpecial_GetTrainerEyeRematchFlag
compare RESULT, 0
goto_if_eq EventScript_19F8AD
special PlayTrainerEncounterMusic
special sub_8082524
special ScrSpecial_ShowTrainerIntroSpeech
waitmessage
waitbuttonpress
special ScrSpecial_StartTrainerEyeRematch
waitstate
releaseall
end
EventScript_19F8AD:
gotopostbattlescript
gUnknown_0819F8AE:: @ 819F8AE
specialvar RESULT, ScrSpecial_GetTrainerEyeRematchFlag
compare RESULT, 0
goto_if_eq EventScript_19F8DD
special CheckForAlivePartyMons
compare RESULT, 0
goto_if_ne EventScript_19F8DE
special PlayTrainerEncounterMusic
special sub_8082524
special ScrSpecial_ShowTrainerIntroSpeech
waitmessage
waitbuttonpress
special ScrSpecial_StartTrainerEyeRematch
waitstate
releaseall
end
EventScript_19F8DD:
gotopostbattlescript
EventScript_19F8DE:
special ScrSpecial_ShowTrainerNonBattlingSpeech
waitmessage
waitbuttonpress
release
end
EventScript_19F8E5:
applymovement LAST_TALKED, Movement_19F8F0
waitmovement 0
return
Movement_19F8F0::
step_59
step_end
EventScript_19F8F2:
special ScrSpecial_ShowTrainerIntroSpeech
waitmessage
waitbuttonpress
trainerbattlebegin
specialvar RESULT, ScrSpecial_GetTrainerBattleMode
compare RESULT, 0
goto_if_eq EventScript_19F934
compare RESULT, 2
goto_if_eq EventScript_19F936
compare RESULT, 1
goto_if_eq EventScript_19F936
compare RESULT, 6
goto_if_eq EventScript_19F936
compare RESULT, 8
goto_if_eq EventScript_19F936
EventScript_19F934:
releaseall
end
EventScript_19F936:
gotobeatenscript
Std_6::
message 0x0
waitmessage
waitbuttonpress
release
return
Event_ResetBerryTrees: @ 19F940
setberrytree 2, 7, 5
setberrytree 1, 3, 5
setberrytree 11, 7, 5
setberrytree 13, 3, 5
setberrytree 4, 7, 5
setberrytree 76, 1, 5
setberrytree 8, 1, 5
setberrytree 10, 6, 5
setberrytree 25, 20, 5
setberrytree 26, 2, 5
setberrytree 66, 2, 5
setberrytree 67, 20, 5
setberrytree 69, 22, 5
setberrytree 70, 22, 5
setberrytree 71, 22, 5
setberrytree 55, 17, 5
setberrytree 56, 17, 5
setberrytree 5, 1, 5
setberrytree 6, 6, 5
setberrytree 7, 1, 5
setberrytree 16, 18, 5
setberrytree 17, 18, 5
setberrytree 18, 18, 5
setberrytree 29, 19, 5
setberrytree 28, 19, 5
setberrytree 27, 19, 5
setberrytree 24, 4, 5
setberrytree 23, 3, 5
setberrytree 22, 3, 5
setberrytree 21, 4, 5
setberrytree 19, 16, 5
setberrytree 20, 16, 5
setberrytree 80, 7, 5
setberrytree 81, 7, 5
setberrytree 77, 8, 5
setberrytree 78, 8, 5
setberrytree 68, 8, 5
setberrytree 31, 10, 5
setberrytree 33, 10, 5
setberrytree 34, 21, 5
setberrytree 35, 21, 5
setberrytree 36, 21, 5
setberrytree 83, 24, 5
setberrytree 84, 24, 5
setberrytree 85, 10, 5
setberrytree 86, 6, 5
setberrytree 37, 5, 5
setberrytree 38, 5, 5
setberrytree 39, 5, 5
setberrytree 40, 3, 5
setberrytree 41, 3, 5
setberrytree 42, 3, 5
setberrytree 46, 19, 5
setberrytree 45, 20, 5
setberrytree 44, 18, 5
setberrytree 43, 16, 5
setberrytree 47, 8, 5
setberrytree 48, 5, 5
setberrytree 49, 4, 5
setberrytree 50, 2, 5
setberrytree 52, 18, 5
setberrytree 53, 18, 5
setberrytree 62, 6, 5
setberrytree 64, 6, 5
setberrytree 58, 21, 5
setberrytree 59, 21, 5
setberrytree 60, 25, 5
setberrytree 61, 25, 5
setberrytree 79, 23, 5
setberrytree 14, 23, 5
setberrytree 15, 21, 5
setberrytree 30, 21, 5
setberrytree 65, 25, 5
setberrytree 72, 25, 5
setberrytree 73, 23, 5
setberrytree 74, 23, 5
setberrytree 87, 3, 5
setberrytree 88, 10, 5
setberrytree 89, 4, 5
setberrytree 82, 36, 5
return
gUnknown_0819FA81:: @ 819FA81
setflag FLAG_LINK_CONTEST_ROOM_POKEBALL
setflag FLAG_HIDE_VICTORIA_WINSTRATE
setflag FLAG_HIDE_VIVI_WINSTRATE
setflag FLAG_HIDE_VICKI_WINSTRATE
setflag FLAG_HIDE_BIRCH_IN_LAB
setflag FLAG_HIDE_RIVAL_BIRCH_LAB
setflag FLAG_HIDE_WALLY_PETALBURG
setflag FLAG_UNKNOWN_363
setflag FLAG_HIDE_GRUNT_RUSTBORO
setflag FLAG_HIDE_DEVON_RUSTBORO
setflag FLAG_HIDE_RIVAL_RUSTBORO
setflag FLAG_HIDE_FAT_MAN_LITTLEROOT
setflag FLAG_HIDE_MR_BRINEY_ROUTE104_HOUSE
setflag FLAG_HIDE_PEEKO_BRINEY_HOUSE
setflag FLAG_HIDE_MR_BRINEY_ROUTE104
setflag FLAG_HIDE_MR_BRINEY_DEWFORD_TOWN
setflag FLAG_HIDE_MR_BRINEY_ROUTE109
setflag FLAG_HIDE_MR_BRINEY_BOAT_DEWFORD
setflag FLAG_HIDE_MR_BRINEY_BOAT_ROUTE109
setflag FLAG_HIDE_FLOWER_SHOP_WORKER_OUTSIDE
setflag FLAG_UNKNOWN_2E1
setflag FLAG_UNKNOWN_2EB
setflag FLAG_UNKNOWN_2EC
setflag FLAG_UNKNOWN_2ED
setflag FLAG_UNKNOWN_2F4
setflag FLAG_HIDE_LILYCOVE_CONTEST_ATTENDENT_1
setflag FLAG_HIDE_ARTIST_LILCOVE_CONTEST
setflag FLAG_HIDE_LILYCOVE_MUSEUM_PAINTING_LADY
setflag FLAG_HIDE_LILYCOVE_MUSEUM_PAINTING_GIRL
setflag FLAG_HIDE_LILYCOVE_MUSEUM_PAINTING_MAN
setflag FLAG_HIDE_LILYCOVE_MUSEUM_PAINTER
setflag FLAG_HIDE_LILYCOVE_MUSEUM_VISITORS
setflag FLAG_HIDE_PETALBURG_GYM_GUIDE
setflag FLAG_UNKNOWN_30E
setflag FLAG_UNKNOWN_30F
setflag FLAG_HIDE_NORMAN_LITTLEROOT
setflag FLAG_HIDE_MAY_PICHU_DOLL
setflag FLAG_HIDE_FANCLUB_OLD_LADY
setflag FLAG_HIDE_FANCLUB_BOY
setflag FLAG_HIDE_FANCLUB_LITTLE_BOY
setflag FLAG_HIDE_FANCLUB_LADY
setflag FLAG_HIDE_GABBY_AND_TY_ROUTE118_1
setflag FLAG_HIDE_GABBY_AND_TY_ROUTE120_1
setflag FLAG_HIDE_GABBY_AND_TY_ROUTE111_2
setflag FLAG_HIDE_GABBY_AND_TY_ROUTE118_2
setflag FLAG_HIDE_GABBY_AND_TY_ROUTE120_2
setflag FLAG_HIDE_GABBY_AND_TY_ROUTE111_3
setflag FLAG_HIDE_GABBY_AND_TY_ROUTE118_3
setflag FLAG_HIDE_CONTEST_REPORTER_FALLARBOR
setflag FLAG_HIDE_CONTEST_REPORTER_VERDANTURF
setflag FLAG_HIDE_CONTEST_REPORTER_SLATEPORT
setflag FLAG_HIDE_CONTEST_REPORTER_LILYCOVE
setflag FLAG_HIDE_WALLY_WANDAS_HOUSE
setflag FLAG_HIDE_BOYFRIEND_WANDAS_HOUSE
setflag FLAG_HIDE_WALLY_FATHER_WANDAS_HOUSE
setflag FLAG_HIDE_GIRLFRIEND_WANDAS_HOUSE
setflag FLAG_HIDE_WALLY_FATHER_PETALBURG
setflag FLAG_HIDE_WALLY_MOTHER_PETALBURG
setflag FLAG_HIDE_WALLY_PETALBURG_GYM
setflag FLAG_HIDE_WALLACE_SOOTOPOLIS_GYM
setflag FLAG_HIDE_WALLACE_SOOTOPOLIS
setflag FLAG_HIDE_BRINEY_SLATEPORT_SHIPYARD
setflag FLAG_UNKNOWN_337
setflag FLAG_HIDE_EVIL_LEADER_SEAFLOOR_CAVERN
setflag FLAG_HIDE_OTHER_LEADER_SEAFLOOR_CAVERN
setflag FLAG_HIDE_OTHER_TEAM_GRUNTS_SEAFLOOR_CAVERN
setflag FLAG_HIDE_AWAKENED_MON_SEAFLOOR_CAVERN
setflag FLAG_HIDE_STERN_SLATEPORT_HARBOR
setflag FLAG_UNKNOWN_34B
setflag FLAG_UNKNOWN_34C
setflag FLAG_UNKNOWN_34F
setflag FLAG_HIDE_GRUNT_1_SLATEPORT_HARBOR
setflag FLAG_HIDE_GRUNT_2_SLATEPORT_HARBOR
setflag FLAG_HIDE_SS_TIDAL_SLATEPORT_HARBOR
setflag FLAG_HIDE_SS_TIDAL_LILYCOVE_HARBOR
setflag FLAG_HIDE_GABBY_AND_TY_SLATEPORT
setflag FLAG_HIDE_STERN_SLATEPORT
setflag FLAG_HIDE_SUBMARINE_SHADOW_SLATEPORT_HARBOR
setflag FLAG_HIDE_RIVAL_ROUTE119
setflag FLAG_HIDE_CAVE_OF_ORIGIN_ENTRANCE_WOMAN_1
setflag FLAG_HIDE_CAVE_OF_ORIGIN_ENTRANCE_WOMAN_2
setflag FLAG_HIDE_STEVEN_SOOTOPOLIS
setflag FLAG_HIDE_LANETTE
setflag FLAG_HIDE_TRICKMASTER_ENTRANCE
setflag FLAG_HIDE_MT_CHIMNEY_PEOPLE
setflag FLAG_HIDE_BRINEY_RUSTURF_TUNNEL
setflag FLAG_HIDE_BRINEY_ROUTE116
setflag FLAG_HIDE_PEEKO_RUSTURF_TUNNEL
setflag FLAG_HIDE_GRUNT_RUSTURF_TUNNEL
setflag FLAG_HIDE_BOYFRIEND_RUSTURF_TUNNEL
setflag FLAG_HIDE_GIRLFRIEND_RUSTURF_TUNNEL
setflag FLAG_HIDE_EVIL_TEAM_LEADER_OCEANIC_MUSEUM_2F
setflag FLAG_HIDE_GRUNT_1_OCEANIC_MUSEUM_2F
setflag FLAG_HIDE_GRUNT_2_OCEANIC_MUSEUM_2F
setflag FLAG_HIDE_OCEANIC_MUSEUM_VISITORS
setflag FLAG_HIDE_BATTLE_TOWER_OPPONENT
setflag FLAG_HIDE_AWARD_MAN_BATTLE_TOWER
setflag FLAG_HIDE_MOM_LITTLEROOT
setflag FLAG_HIDE_MOM_UPSTAIRS
setflag FLAG_HIDE_WEATHER_INSTITUTE_WORKERS_1F
setflag FLAG_UNKNOWN_BIRCH_380
setflag FLAG_HIDE_BIRCH_ROUTE101
setflag FLAG_HIDE_BIRCH_ROUTE103
setflag FLAG_HIDE_FERRY_SAILOR_LILYCOVE
setflag FLAG_HIDE_LATIOS_OR_LATIAS_FLYING
setflag FLAG_HIDE_LATIOS_OR_LATIAS_STATIONARY
setflag FLAG_UNKNOWN_393
setflag FLAG_HIDE_WATTSON_MAUVILLE
setflag FLAG_HIDE_RIVAL_CHAMPIONS_ROOM
setflag FLAG_HIDE_BIRCH_CHAMPIONS_ROOM
setflag FLAG_HIDE_RIVAL_ON_BIKE_ROUTE110
setflag FLAG_HIDE_RIVAL_ROUTE119_ON_BIKE
setflag FLAG_HIDE_LILYCOVE_MOTEL_PEOPLE
setflag FLAG_HIDE_RIVAL_LAVARIDGE_1
setflag FLAG_HIDE_RIVAL_LAVARIDGE_2
setflag FLAG_HIDE_WINGULL_MOSSDEEP_HOUSE
setflag FLAG_HIDE_OTHER_TEAM_METEOR_FALLS_1F
setflag FLAG_HIDE_SLUDGE_BOMB_MAN_DEWFORD_HALL
setflag FLAG_HIDE_PROF_COSMO_FALLARBOR
setflag FLAG_HIDE_STEVEN_ROUTE128
setflag FLAG_HIDE_EVIL_LEADER_ROUTE128
setflag FLAG_HIDE_OTHER_LEADER_ROUTE128
setflag FLAG_HIDE_DEVON_EMPLOYEE_ROUTE116
setflag FLAG_HIDE_TM_SALESMAN_SLATEPORT
setflag FLAG_HIDE_WALLY_BATTLE_VICTORY_ROAD
setflag FLAG_HIDE_BRINEY_AND_PEEKO_SS_TIDAL
setflag FLAG_HIDE_BELDUM_BALL_STEVENS_HOUSE
setflag FLAG_ITEM_MOSSDEEP_STEVENS_HOUSE_1
setflag FLAG_HIDE_STEVENS_LETTER
setflag FLAG_HIDE_RIVAL_OLDALE_TOWN
setflag FLAG_HIDE_WALLY_DEFEATED_VICTORY_ROAD
setflag FLAG_HIDE_BOY_ROUTE101
call Event_ResetBerryTrees
end
EverGrandeCity_HallOfFame_EventScript_19FC13:: @ 819FC13
clearflag FLAG_HIDE_LILYCOVE_MOTEL_PEOPLE
call EverGrandeCity_HallOfFame_EventScript_19FD09
setflag FLAG_HIDE_BRINEY_SLATEPORT_SHIPYARD
clearflag FLAG_HIDE_BRINEY_AND_PEEKO_SS_TIDAL
clearflag FLAG_HIDE_STEVENS_LETTER
setvar VAR_STEVENS_HOUSE_STATE, 1
clearflag FLAG_HIDE_WALLY_DEFEATED_VICTORY_ROAD
clearflag FLAG_HIDE_SS_TIDAL_SLATEPORT_HARBOR
clearflag FLAG_HIDE_SS_TIDAL_LILYCOVE_HARBOR
special sub_810FAA0
call_if_unset FLAG_RECEIVED_SS_TICKET, EverGrandeCity_HallOfFame_EventScript_19FC62
call_if_unset FLAG_LATIOS_OR_LATIAS_ROAMING, EverGrandeCity_HallOfFame_EventScript_19FC70
call_if_unset FLAG_RECEIVED_BELDUM, EverGrandeCity_HallOfFame_EventScript_19FC5A
call_if_unset FLAG_RECEIVED_HM08, EverGrandeCity_HallOfFame_EventScript_19FC5E
return
EverGrandeCity_HallOfFame_EventScript_19FC5A:: @ 819FC5A
clearflag FLAG_HIDE_BELDUM_BALL_STEVENS_HOUSE
return
EverGrandeCity_HallOfFame_EventScript_19FC5E:: @ 819FC5E
clearflag FLAG_ITEM_MOSSDEEP_STEVENS_HOUSE_1
return
EverGrandeCity_HallOfFame_EventScript_19FC62:: @ 819FC62
setvar VAR_LITTLEROOT_HOUSES_STATE, 3
setvar VAR_LITTLEROOT_HOUSES_STATE_2, 3
clearflag FLAG_HIDE_NORMAN_LITTLEROOT
return
EverGrandeCity_HallOfFame_EventScript_19FC70:: @ 819FC70
setflag FLAG_SYS_TV_LATI
return
S_WhiteOut:: @ 819FC74
call EverGrandeCity_HallOfFame_EventScript_19FD09
call EventScript_19FC84
goto gUnknown_0819FC9F
end
EventScript_19FC84:
goto_if_set FLAG_RECEIVED_GO_GOGGLES, Route101_EventScript_1A14DC
goto_if_unset FLAG_DEFEATED_LAVARIDGE_GYM, Route101_EventScript_1A14DC
clearflag FLAG_HIDE_RIVAL_LAVARIDGE_1
setvar VAR_LAVARIDGE_RIVAL_STATE, 2
return
gUnknown_0819FC9F:: @ 819FC9F
compare VAR_BRINEY_LOCATION, 1
goto_if_eq EventScript_19FCC1
compare VAR_BRINEY_LOCATION, 2
goto_if_eq EventScript_19FCD7
compare VAR_BRINEY_LOCATION, 3
goto_if_eq EventScript_19FCF0
end
EventScript_19FCC1:
setflag FLAG_HIDE_MR_BRINEY_DEWFORD_TOWN
setflag FLAG_HIDE_MR_BRINEY_BOAT_DEWFORD
setflag FLAG_HIDE_MR_BRINEY_ROUTE109
setflag FLAG_HIDE_MR_BRINEY_BOAT_ROUTE109
clearflag FLAG_HIDE_MR_BRINEY_BOAT_ROUTE104
clearflag FLAG_HIDE_MR_BRINEY_ROUTE104_HOUSE
clearflag FLAG_HIDE_PEEKO_BRINEY_HOUSE
end
EventScript_19FCD7:
setflag FLAG_HIDE_MR_BRINEY_ROUTE109
setflag FLAG_HIDE_MR_BRINEY_BOAT_ROUTE109
setflag FLAG_HIDE_MR_BRINEY_ROUTE104
setflag FLAG_HIDE_MR_BRINEY_BOAT_ROUTE104
setflag FLAG_HIDE_MR_BRINEY_ROUTE104_HOUSE
setflag FLAG_HIDE_PEEKO_BRINEY_HOUSE
clearflag FLAG_HIDE_MR_BRINEY_DEWFORD_TOWN
clearflag FLAG_HIDE_MR_BRINEY_BOAT_DEWFORD
end
EventScript_19FCF0:
setflag FLAG_HIDE_MR_BRINEY_ROUTE104
setflag FLAG_HIDE_MR_BRINEY_BOAT_ROUTE104
setflag FLAG_HIDE_MR_BRINEY_ROUTE104_HOUSE
setflag FLAG_HIDE_PEEKO_BRINEY_HOUSE
setflag FLAG_HIDE_MR_BRINEY_DEWFORD_TOWN
setflag FLAG_HIDE_MR_BRINEY_BOAT_DEWFORD
clearflag FLAG_HIDE_MR_BRINEY_ROUTE109
clearflag FLAG_HIDE_MR_BRINEY_BOAT_ROUTE109
end
EverGrandeCity_HallOfFame_EventScript_19FD09:: @ 819FD09
clearflag FLAG_DEFEATED_ELITE_4_SYDNEY
clearflag FLAG_DEFEATED_ELITE_4_PHOEBE
clearflag FLAG_DEFEATED_ELITE_4_GLACIA
clearflag FLAG_DEFEATED_ELITE_4_DRAKE
setvar VAR_ELITE_4_STATE, 0
return
DewfordTown_PokemonCenter_1F_EventScript_19FD1B:: @ 819FD1B
FallarborTown_PokemonCenter_1F_EventScript_19FD1B:: @ 819FD1B
LavaridgeTown_PokemonCenter_1F_EventScript_19FD1B:: @ 819FD1B
MauvilleCity_PokemonCenter_1F_EventScript_19FD1B:: @ 819FD1B
OldaleTown_PokemonCenter_1F_EventScript_19FD1B:: @ 819FD1B
PetalburgCity_PokemonCenter_1F_EventScript_19FD1B:: @ 819FD1B
RustboroCity_PokemonCenter_1F_EventScript_19FD1B:: @ 819FD1B
SlateportCity_PokemonCenter_1F_EventScript_19FD1B:: @ 819FD1B
VerdanturfTown_PokemonCenter_1F_EventScript_19FD1B:: @ 819FD1B
goto_if_unset FLAG_RECEIVED_POKENAV, OldaleTown_PokemonCenter_1F_EventScript_1A14DC
goto_if_set FLAG_DEFEATED_PETALBURG_GYM, OldaleTown_PokemonCenter_1F_EventScript_1A14DC
goto_if_unset FLAG_HIDE_MR_BRINEY_BOAT_ROUTE104, OldaleTown_PokemonCenter_1F_EventScript_19FD49
goto_if_unset FLAG_HIDE_MR_BRINEY_DEWFORD_TOWN, OldaleTown_PokemonCenter_1F_EventScript_19FD4F
goto_if_unset FLAG_HIDE_MR_BRINEY_ROUTE109, OldaleTown_PokemonCenter_1F_EventScript_19FD55
return
OldaleTown_PokemonCenter_1F_EventScript_19FD49:: @ 819FD49
setvar VAR_BRINEY_LOCATION, 1
return
OldaleTown_PokemonCenter_1F_EventScript_19FD4F:: @ 819FD4F
setvar VAR_BRINEY_LOCATION, 2
return
OldaleTown_PokemonCenter_1F_EventScript_19FD55:: @ 819FD55
setvar VAR_BRINEY_LOCATION, 3
return
DewfordTown_PokemonCenter_1F_EventScript_19FD5B:: @ 819FD5B
EverGrandeCity_PokemonLeague_EventScript_19FD5B:: @ 819FD5B
FallarborTown_PokemonCenter_1F_EventScript_19FD5B:: @ 819FD5B
FortreeCity_PokemonCenter_1F_EventScript_19FD5B:: @ 819FD5B
LavaridgeTown_PokemonCenter_1F_EventScript_19FD5B:: @ 819FD5B
LilycoveCity_PokemonCenter_1F_EventScript_19FD5B:: @ 819FD5B
MauvilleCity_PokemonCenter_1F_EventScript_19FD5B:: @ 819FD5B
MossdeepCity_PokemonCenter_1F_EventScript_19FD5B:: @ 819FD5B
OldaleTown_PokemonCenter_1F_EventScript_19FD5B:: @ 819FD5B
PetalburgCity_PokemonCenter_1F_EventScript_19FD5B:: @ 819FD5B
RustboroCity_PokemonCenter_1F_EventScript_19FD5B:: @ 819FD5B
SlateportCity_PokemonCenter_1F_EventScript_19FD5B:: @ 819FD5B
SootopolisCity_PokemonCenter_1F_EventScript_19FD5B:: @ 819FD5B
VerdanturfTown_PokemonCenter_1F_EventScript_19FD5B:: @ 819FD5B
lock
faceplayer
msgbox gText_NurseJoy_Welcome, MSGBOX_YESNO
compare RESULT, YES
goto_if_eq OldaleTown_PokemonCenter_1F_EventScript_19FD7C
compare RESULT, NO
goto_if_eq OldaleTown_PokemonCenter_1F_EventScript_19FDC7
end
OldaleTown_PokemonCenter_1F_EventScript_19FD7C:: @ 819FD7C
incrementgamestat GAME_STAT_USED_POKECENTER
message gText_NurseJoy_OkayIllTakeYourPokemon
waitmessage
applymovement VAR_SPECIAL_B, OldaleTown_PokemonCenter_1F_Movement_1A083F
waitmovement 0
dofieldeffect 25
waitfieldeffect 25
applymovement VAR_SPECIAL_B, OldaleTown_PokemonCenter_1F_Movement_1A0845
waitmovement 0
special ScrSpecial_HealPlayerParty
goto_if_unset FLAG_POKERUS_EXPLAINED, OldaleTown_PokemonCenter_1F_EventScript_19FDCE
goto OldaleTown_PokemonCenter_1F_EventScript_19FDB0
end
OldaleTown_PokemonCenter_1F_EventScript_19FDB0:: @ 819FDB0
message gText_NurseJoy_ThankYouForWaiting
waitmessage
applymovement VAR_SPECIAL_B, OldaleTown_PokemonCenter_1F_Movement_19FDF4
waitmovement 0
message gText_NurseJoy_WeHopeToSeeYouAgain
waitmessage
return
OldaleTown_PokemonCenter_1F_EventScript_19FDC7:: @ 819FDC7
message gText_NurseJoy_WeHopeToSeeYouAgain
waitmessage
return
OldaleTown_PokemonCenter_1F_EventScript_19FDCE:: @ 819FDCE
specialvar RESULT, IsPokerusInParty
compare RESULT, 1
goto_if_eq OldaleTown_PokemonCenter_1F_EventScript_19FDEA
compare RESULT, 0
goto_if_eq OldaleTown_PokemonCenter_1F_EventScript_19FDB0
end
OldaleTown_PokemonCenter_1F_EventScript_19FDEA:: @ 819FDEA
message gText_NurseJoy_Pokerus
waitmessage
setflag FLAG_POKERUS_EXPLAINED
return
OldaleTown_PokemonCenter_1F_Movement_19FDF4:: @ 819FDF4
step_4f
step_12
step_end
Std_ObtainItem: @ 819FDF7
giveitem VAR_SPECIAL_0, VAR_SPECIAL_1
copyvar VAR_SPECIAL_7, RESULT
call Std_ObtainItem_
return
Std_ObtainItem_: @ 819FE07
bufferitemname 1, VAR_SPECIAL_0
checkitemtype VAR_SPECIAL_0
call GetItem_HandlePocket
compare VAR_SPECIAL_7, 0x1
call_if_eq Std_ObtainItem_Success
compare VAR_SPECIAL_7, 0x0
call_if_eq Std_ObtainItem_Fail
return
GetItem_HandlePocket:
switch RESULT
case POCKET_ITEMS, GetItem_HandlePocket_Items
case POCKET_KEY_ITEMS, GetItem_HandlePocket_KeyItems
case POCKET_POKE_BALLS, GetItem_HandlePocket_PokeBalls
case POCKET_TM_HM, GetItem_HandlePocket_TMsHMs
case POCKET_BERRIES, GetItem_HandlePocket_Berries
end
GetItem_HandlePocket_Items:
bufferstdstring 2, 0xE
compare VAR_SPECIAL_7, 1
call_if_eq PlayGetItemFanfare
return
GetItem_HandlePocket_KeyItems:
bufferstdstring 2, 0xF
compare VAR_SPECIAL_7, 1
call_if_eq PlayGetItemFanfare
return
GetItem_HandlePocket_PokeBalls:
bufferstdstring 2, 0x10
compare VAR_SPECIAL_7, 1
call_if_eq PlayGetItemFanfare
return
GetItem_HandlePocket_TMsHMs:
bufferstdstring 2, 0x11
compare VAR_SPECIAL_7, 1
call_if_eq PlayGetTMHMFanfare
return
GetItem_HandlePocket_Berries:
bufferstdstring 2, 0x12
compare VAR_SPECIAL_7, 1
call_if_eq PlayGetItemFanfare
return
Std_ObtainItem_Success: @ 819FEB7
message Message_ObtainedItem
waitfanfare
waitmessage
msgbox Message_PutAwayItem
setvar RESULT, 1
return
Std_ObtainItem_Fail: @ 819FECC
setvar RESULT, 0
return
PlayGetItemFanfare:
playfanfare BGM_FANFA4
return
PlayGetTMHMFanfare:
playfanfare BGM_ME_WAZA
return
Std_ObtainDecoration: @ 819FEDA
givedecoration VAR_SPECIAL_0
copyvar VAR_SPECIAL_7, RESULT
call Std_ObtainDecoration_
return
Std_ObtainDecoration_: @ 819FEE8
bufferdecorationname 1, VAR_SPECIAL_0
compare VAR_SPECIAL_7, 1
call_if_eq Std_ObtainDecoration_Success
compare VAR_SPECIAL_7, 0
call_if_eq Std_ObtainDecoration_Fail
return
Std_ObtainDecoration_Success: @ 819FF03
playfanfare BGM_FANFA4
message Message_ObtainedDecoration
waitfanfare
waitmessage
msgbox Message_TransferredToPC
setvar RESULT, 1
return
Std_ObtainDecoration_Fail: @ 819FF1B
setvar RESULT, 0
return
Std_FindItem: @ 819FF21
lock
faceplayer
waitse
giveitem VAR_SPECIAL_0, VAR_SPECIAL_1
copyvar VAR_SPECIAL_7, RESULT
bufferitemname 1, VAR_SPECIAL_0
checkitemtype VAR_SPECIAL_0
call GetItem_HandlePocket
compare VAR_SPECIAL_7, 1
call_if_eq Std_FindItem_Success
compare VAR_SPECIAL_7, 0
call_if_eq Std_FindItem_Fail
release
return
Std_FindItem_Success: @ 819FF52
removeobject LAST_TALKED
message Message_FoundOneItem
waitfanfare
waitmessage
msgbox Message_PutAwayItem
return
Std_FindItem_Fail: @ 819FF65
msgbox Message_ObtainedItem
msgbox Message_BagFull
setvar RESULT, 0
return
HiddenItemScript:: @ 819FF7B
lockall
waitse
giveitem VAR_SPECIAL_5, 1
copyvar VAR_SPECIAL_7, RESULT
bufferitemname 0x1, VAR_SPECIAL_5
checkitemtype VAR_SPECIAL_5
call GetItem_HandlePocket
compare VAR_SPECIAL_7, 1
goto_if_eq HiddenItemScript_Success
compare VAR_SPECIAL_7, 0
goto_if_eq HiddenItemScript_Fail
end
HiddenItemScript_Success:
message Message_FoundOneItem
waitfanfare
waitmessage
msgbox Message_PutAwayItem
special SetFlagInVar
releaseall
end
HiddenItemScript_Fail:
msgbox Message_FoundOneItem
msgbox Message_BagFull
setvar RESULT, 0
releaseall
end
UnusedMixRecordsScript: @ 819FFD5
lock
faceplayer
msgbox UnusedMixRecordsPromptText, MSGBOX_YESNO
compare RESULT, YES
goto_if_eq UnusedMixRecordsScript_Yes
compare RESULT, NO
goto_if_eq UnusedMixRecordsScript_Done
goto UnusedMixRecordsScript_Done
UnusedMixRecordsScript_Yes: @ 819FFFA
special sub_80B929C
waitstate
lock
faceplayer
UnusedMixRecordsScript_Done: @ 81A0000
message UnusedMixRecordsSeeYouAgainText
waitmessage
waitbuttonpress
release
end
gUnknown_081A0009:: @ 81A0009
lockall
setvar VAR_SPECIAL_4, 0
special DoPCTurnOnEffect
playse SE_PC_ON
msgbox UnknownString_81A09EC, 4
goto EventScript_1A0023
end
EventScript_1A0023:
message gPCText_WhichPCShouldBeAccessed
waitmessage
special ScrSpecial_CreatePCMenu
waitstate
goto EventScript_1A0033
end
EventScript_1A0033:
switch RESULT
case 0, EventScript_1A0085
case 1, EventScript_1A0070
case 2, EventScript_1A00CB
case 3, EventScript_1A00BE
case 127, EventScript_1A00BE
end
EventScript_1A0070:
playse SE_PC_LOGON
msgbox UnknownString_81A0A54, 4
special PlayerPC
waitstate
goto EventScript_1A0023
end
EventScript_1A0085:
playse SE_PC_LOGON
call_if_unset FLAG_SYS_PC_LANETTE, EventScript_1A00AC
call_if_set FLAG_SYS_PC_LANETTE, EventScript_1A00B5
msgbox UnknownString_81A0A35, 4
special ShowPokemonStorageSystem
waitstate
goto EventScript_1A0023
end
EventScript_1A00AC:
msgbox UnknownString_81A0A1E, 4
return
EventScript_1A00B5:
msgbox UnknownString_81A0A66, 4
return
EventScript_1A00BE:
setvar VAR_SPECIAL_4, 0
playse SE_PC_OFF
special DoPCTurnOffEffect
releaseall
end
EventScript_1A00CB:
goto_if_unset FLAG_SYS_GAME_CLEAR, EventScript_1A00BE
playse SE_PC_LOGON
special AccessHallOfFamePC
waitstate
goto EventScript_1A0033
end
FallarborTown_EventScript_1A00E1:: @ 81A00E1
FortreeCity_EventScript_1A00E1:: @ 81A00E1
LavaridgeTown_EventScript_1A00E1:: @ 81A00E1
MauvilleCity_EventScript_1A00E1:: @ 81A00E1
MossdeepCity_EventScript_1A00E1:: @ 81A00E1
OldaleTown_EventScript_1A00E1:: @ 81A00E1
PetalburgCity_EventScript_1A00E1:: @ 81A00E1
RustboroCity_EventScript_1A00E1:: @ 81A00E1
SlateportCity_EventScript_1A00E1:: @ 81A00E1
SootopolisCity_EventScript_1A00E1:: @ 81A00E1
VerdanturfTown_EventScript_1A00E1:: @ 81A00E1
msgbox PetalburgCity_Text_1A0D41, 3
end
DewfordTown_EventScript_1A00EA:: @ 81A00EA
EverGrandeCity_EventScript_1A00EA:: @ 81A00EA
FallarborTown_EventScript_1A00EA:: @ 81A00EA
FortreeCity_EventScript_1A00EA:: @ 81A00EA
LavaridgeTown_EventScript_1A00EA:: @ 81A00EA
LilycoveCity_EventScript_1A00EA:: @ 81A00EA
MauvilleCity_EventScript_1A00EA:: @ 81A00EA
MossdeepCity_EventScript_1A00EA:: @ 81A00EA
OldaleTown_EventScript_1A00EA:: @ 81A00EA
PacifidlogTown_EventScript_1A00EA:: @ 81A00EA
PetalburgCity_EventScript_1A00EA:: @ 81A00EA
RustboroCity_EventScript_1A00EA:: @ 81A00EA
SlateportCity_EventScript_1A00EA:: @ 81A00EA
SootopolisCity_EventScript_1A00EA:: @ 81A00EA
VerdanturfTown_EventScript_1A00EA:: @ 81A00EA
msgbox PetalburgCity_Text_1A0D75, 3
end
BattleTower_Lobby_EventScript_1A00F3:: @ 81A00F3
DewfordTown_EventScript_1A00F3:: @ 81A00F3
FallarborTown_ContestLobby_EventScript_1A00F3:: @ 81A00F3
MauvilleCity_PokemonCenter_1F_EventScript_1A00F3:: @ 81A00F3
PetalburgCity_PokemonCenter_1F_EventScript_1A00F3:: @ 81A00F3
Route111_EventScript_1A00F3:: @ 81A00F3
Route123_BerryMastersHouse_EventScript_1A00F3:: @ 81A00F3
SlateportCity_OceanicMuseum_1F_EventScript_1A00F3:: @ 81A00F3
SlateportCity_PokemonFanClub_EventScript_1A00F3:: @ 81A00F3
fadescreen 1
special sub_80E60D8
fadescreen 0
return
DewfordTown_Gym_EventScript_1A00FB:: @ 81A00FB
LavaridgeTown_Gym_1F_EventScript_1A00FB:: @ 81A00FB
MauvilleCity_Gym_EventScript_1A00FB:: @ 81A00FB
RustboroCity_Gym_EventScript_1A00FB:: @ 81A00FB
clearflag FLAG_HIDE_PETALBURG_GYM_GUIDE
setflag FLAG_PETALBURG_MART_EXPANDED_ITEMS
return
DewfordTown_EventScript_1A0102:: @ 81A0102
DewfordTown_Hall_EventScript_1A0102:: @ 81A0102
dodailyevents
setvar VAR_SPECIAL_4, 0
special BufferTrendyPhraseString
return
DewfordTown_EventScript_1A010C:: @ 81A010C
Route104_MrBrineysHouse_EventScript_1A010C:: @ 81A010C
Route109_EventScript_1A010C:: @ 81A010C
copyvar VAR_SPECIAL_8, VAR_BRINEY_LOCATION
setvar VAR_BRINEY_LOCATION, 0
return
UseSurfScript:: @ 81A0117
checkpartymove MOVE_SURF
compare RESULT, 6
goto_if_eq UseSurfScript_NoMon
bufferpartymonnick 0, RESULT
setfieldeffectargument 0, RESULT
lockall
msgbox UseSurfPromptText, MSGBOX_YESNO
compare RESULT, NO
goto_if_eq UseSurfScript_No
msgbox UsedSurfText, 4
dofieldeffect 9
UseSurfScript_No: @ 81A014C
releaseall
UseSurfScript_NoMon: @ 81A014D
end
EverGrandeCity_ChampionsRoom_EventScript_1A014E:: @ 81A014E
LavaridgeTown_EventScript_1A014E:: @ 81A014E
LilycoveCity_EventScript_1A014E:: @ 81A014E
LittlerootTown_ProfessorBirchsLab_EventScript_1A014E:: @ 81A014E
OldaleTown_EventScript_1A014E:: @ 81A014E
Route103_EventScript_1A014E:: @ 81A014E
Route110_EventScript_1A014E:: @ 81A014E
Route119_EventScript_1A014E:: @ 81A014E
RustboroCity_EventScript_1A014E:: @ 81A014E
checkplayergender
compare RESULT, 0
goto_if_eq RustboroCity_EventScript_1A0166
compare RESULT, 1
goto_if_eq RustboroCity_EventScript_1A016C
end
RustboroCity_EventScript_1A0166:: @ 81A0166
setvar VAR_OBJ_GFX_ID_0, MAP_OBJ_GFX_RIVAL_MAY_NORMAL
return
RustboroCity_EventScript_1A016C:: @ 81A016C
setvar VAR_OBJ_GFX_ID_0, MAP_OBJ_GFX_RIVAL_BRENDAN_NORMAL
return
LavaridgeTown_EventScript_1A0172:: @ 81A0172
Route110_EventScript_1A0172:: @ 81A0172
Route119_EventScript_1A0172:: @ 81A0172
checkplayergender
compare RESULT, 0
goto_if_eq LavaridgeTown_EventScript_1A018A
compare RESULT, 1
goto_if_eq LavaridgeTown_EventScript_1A0190
end
LavaridgeTown_EventScript_1A018A:: @ 81A018A
setvar VAR_OBJ_GFX_ID_3, MAP_OBJ_GFX_RIVAL_MAY_MACH_BIKE
return
LavaridgeTown_EventScript_1A0190:: @ 81A0190
setvar VAR_OBJ_GFX_ID_3, MAP_OBJ_GFX_RIVAL_BRENDAN_MACH_BIKE
return
AquaHideout_1F_EventScript_1A0196:: @ 81A0196
AquaHideout_B1F_EventScript_1A0196:: @ 81A0196
AquaHideout_B2F_EventScript_1A0196:: @ 81A0196
LilycoveCity_EventScript_1A0196:: @ 81A0196
MeteorFalls_1F_1R_EventScript_1A0196:: @ 81A0196
MtChimney_EventScript_1A0196:: @ 81A0196
MtPyre_Summit_EventScript_1A0196:: @ 81A0196
PetalburgWoods_EventScript_1A0196:: @ 81A0196
Route110_EventScript_1A0196:: @ 81A0196
Route112_EventScript_1A0196:: @ 81A0196
Route113_EventScript_1A0196:: @ 81A0196
Route119_EventScript_1A0196:: @ 81A0196
Route119_WeatherInstitute_1F_EventScript_1A0196:: @ 81A0196
Route119_WeatherInstitute_2F_EventScript_1A0196:: @ 81A0196
Route121_EventScript_1A0196:: @ 81A0196
Route128_EventScript_1A0196:: @ 81A0196
RustboroCity_EventScript_1A0196:: @ 81A0196
RusturfTunnel_EventScript_1A0196:: @ 81A0196
SeafloorCavern_Room1_EventScript_1A0196:: @ 81A0196
SeafloorCavern_Room3_EventScript_1A0196:: @ 81A0196
SeafloorCavern_Room4_EventScript_1A0196:: @ 81A0196
SeafloorCavern_Room9_EventScript_1A0196:: @ 81A0196
SlateportCity_OceanicMuseum_2F_EventScript_1A0196:: @ 81A0196
.ifdef SAPPHIRE
setvar VAR_OBJ_GFX_ID_1, MAP_OBJ_GFX_AQUA_MEMBER_M
setvar VAR_OBJ_GFX_ID_2, MAP_OBJ_GFX_AQUA_MEMBER_F
setvar VAR_OBJ_GFX_ID_4, MAP_OBJ_GFX_MAGMA_MEMBER_M
setvar VAR_OBJ_GFX_ID_5, MAP_OBJ_GFX_MAGMA_MEMBER_F
setvar VAR_OBJ_GFX_ID_6, MAP_OBJ_GFX_ARCHIE
setvar VAR_OBJ_GFX_ID_7, MAP_OBJ_GFX_MAXIE
.else
setvar VAR_OBJ_GFX_ID_1, MAP_OBJ_GFX_MAGMA_MEMBER_M
setvar VAR_OBJ_GFX_ID_2, MAP_OBJ_GFX_MAGMA_MEMBER_F
setvar VAR_OBJ_GFX_ID_4, MAP_OBJ_GFX_AQUA_MEMBER_M
setvar VAR_OBJ_GFX_ID_5, MAP_OBJ_GFX_AQUA_MEMBER_F
setvar VAR_OBJ_GFX_ID_6, MAP_OBJ_GFX_MAXIE
setvar VAR_OBJ_GFX_ID_7, MAP_OBJ_GFX_ARCHIE
.endif
return
CaveOfOrigin_B4F_EventScript_1A01B5:: @ 81A01B5
SeafloorCavern_Room9_EventScript_1A01B5:: @ 81A01B5
.ifdef SAPPHIRE
setvar VAR_OBJ_GFX_ID_8, MAP_OBJ_GFX_KYOGRE_1
setvar VAR_OBJ_GFX_ID_9, MAP_OBJ_GFX_KYOGRE_2
.else
setvar VAR_OBJ_GFX_ID_8, MAP_OBJ_GFX_GROUDON_1
setvar VAR_OBJ_GFX_ID_9, MAP_OBJ_GFX_GROUDON_2
.endif
return
DewfordTown_Gym_EventScript_1A01C0:: @ 81A01C0
FortreeCity_Gym_EventScript_1A01C0:: @ 81A01C0
LavaridgeTown_Gym_1F_EventScript_1A01C0:: @ 81A01C0
MauvilleCity_Gym_EventScript_1A01C0:: @ 81A01C0
MossdeepCity_Gym_EventScript_1A01C0:: @ 81A01C0
PetalburgCity_Gym_EventScript_1A01C0:: @ 81A01C0
RustboroCity_Gym_EventScript_1A01C0:: @ 81A01C0
SootopolisCity_Gym_1F_EventScript_1A01C0:: @ 81A01C0
switch VAR_SPECIAL_8
case 1, DewfordTown_Gym_EventScript_1A021E
case 2, DewfordTown_Gym_EventScript_1A0225
case 3, DewfordTown_Gym_EventScript_1A022F
case 4, DewfordTown_Gym_EventScript_1A023C
case 5, DewfordTown_Gym_EventScript_1A024C
case 6, DewfordTown_Gym_EventScript_1A0262
case 7, DewfordTown_Gym_EventScript_1A026F
case 8, DewfordTown_Gym_EventScript_1A0282
end
DewfordTown_Gym_EventScript_1A021E:: @ 81A021E
settrainerflag OPPONENT_JOSH
settrainerflag OPPONENT_TOMMY
return
DewfordTown_Gym_EventScript_1A0225:: @ 81A0225
settrainerflag OPPONENT_HIDEKI
settrainerflag OPPONENT_TESSA
settrainerflag OPPONENT_LAURA
return
DewfordTown_Gym_EventScript_1A022F:: @ 81A022F
settrainerflag OPPONENT_KIRK
settrainerflag OPPONENT_SHAWN
settrainerflag OPPONENT_BEN
settrainerflag OPPONENT_VIVIAN
return
DewfordTown_Gym_EventScript_1A023C:: @ 81A023C
settrainerflag OPPONENT_COLE
settrainerflag OPPONENT_AXLE
settrainerflag OPPONENT_ANDY
settrainerflag OPPONENT_ZANE
settrainerflag OPPONENT_SADIE
return
DewfordTown_Gym_EventScript_1A024C:: @ 81A024C
settrainerflag OPPONENT_RANDALL
settrainerflag OPPONENT_PARKER
settrainerflag OPPONENT_GEORGE
settrainerflag OPPONENT_BERKE
settrainerflag OPPONENT_MARY
settrainerflag OPPONENT_LORI
settrainerflag OPPONENT_JODY
return
DewfordTown_Gym_EventScript_1A0262:: @ 81A0262
settrainerflag OPPONENT_JARED
settrainerflag OPPONENT_TERRELL
settrainerflag OPPONENT_KYLEE
settrainerflag OPPONENT_WILL
return
DewfordTown_Gym_EventScript_1A026F:: @ 81A026F
settrainerflag OPPONENT_PRESTON
settrainerflag OPPONENT_VIRGIL
settrainerflag OPPONENT_FRITZ
settrainerflag OPPONENT_HANNAH
settrainerflag OPPONENT_SAMANTHA
settrainerflag OPPONENT_MAURA
return
DewfordTown_Gym_EventScript_1A0282:: @ 81A0282
settrainerflag OPPONENT_ANDREA
settrainerflag OPPONENT_CRISSY
settrainerflag OPPONENT_BRIANNA_2
settrainerflag OPPONENT_CONNIE
settrainerflag OPPONENT_BRIDGET
settrainerflag OPPONENT_OLIVIA
settrainerflag OPPONENT_TIFFANY
settrainerflag OPPONENT_MARISSA
return
DewfordTown_Gym_EventScript_1A029B:: @ 81A029B
DewfordTown_Hall_EventScript_1A029B:: @ 81A029B
FallarborTown_House1_EventScript_1A029B:: @ 81A029B
FortreeCity_Gym_EventScript_1A029B:: @ 81A029B
FortreeCity_House2_EventScript_1A029B:: @ 81A029B
FortreeCity_House4_EventScript_1A029B:: @ 81A029B
LavaridgeTown_Gym_1F_EventScript_1A029B:: @ 81A029B
LavaridgeTown_HerbShop_EventScript_1A029B:: @ 81A029B
LilycoveCity_EventScript_1A029B:: @ 81A029B
LilycoveCity_House2_EventScript_1A029B:: @ 81A029B
LittlerootTown_BrendansHouse_1F_EventScript_1A029B:: @ 81A029B
MauvilleCity_EventScript_1A029B:: @ 81A029B
MauvilleCity_Gym_EventScript_1A029B:: @ 81A029B
MossdeepCity_EventScript_1A029B:: @ 81A029B
MossdeepCity_Gym_EventScript_1A029B:: @ 81A029B
MossdeepCity_SpaceCenter_1F_EventScript_1A029B:: @ 81A029B
MtPyre_1F_EventScript_1A029B:: @ 81A029B
PacifidlogTown_House2_EventScript_1A029B:: @ 81A029B
PetalburgCity_Gym_EventScript_1A029B:: @ 81A029B
PetalburgWoods_EventScript_1A029B:: @ 81A029B
Route104_EventScript_1A029B:: @ 81A029B
Route104_PrettyPetalFlowerShop_EventScript_1A029B:: @ 81A029B
Route109_EventScript_1A029B:: @ 81A029B
Route111_EventScript_1A029B:: @ 81A029B
Route111_WinstrateFamilysHouse_EventScript_1A029B:: @ 81A029B
Route114_EventScript_1A029B:: @ 81A029B
Route114_FossilManiacsHouse_EventScript_1A029B:: @ 81A029B
Route120_EventScript_1A029B:: @ 81A029B
Route123_BerryMastersHouse_EventScript_1A029B:: @ 81A029B
Route123_EventScript_1A029B:: @ 81A029B
RustboroCity_DevonCorp_3F_EventScript_1A029B:: @ 81A029B
RustboroCity_Flat2_2F_EventScript_1A029B:: @ 81A029B
RustboroCity_Gym_EventScript_1A029B:: @ 81A029B
RustboroCity_PokemonSchool_EventScript_1A029B:: @ 81A029B
SSTidalRooms_EventScript_1A029B:: @ 81A029B
ShoalCave_LowTideEntranceRoom_EventScript_1A029B:: @ 81A029B
ShoalCave_LowTideInnerRoom_EventScript_1A029B:: @ 81A029B
ShoalCave_LowTideLowerRoom_EventScript_1A029B:: @ 81A029B
ShoalCave_LowTideStairsRoom_EventScript_1A029B:: @ 81A029B
SlateportCity_ContestHall_EventScript_1A029B:: @ 81A029B
SlateportCity_Harbor_EventScript_1A029B:: @ 81A029B
SlateportCity_PokemonFanClub_EventScript_1A029B:: @ 81A029B
SootopolisCity_EventScript_1A029B:: @ 81A029B
SootopolisCity_Gym_1F_EventScript_1A029B:: @ 81A029B
VerdanturfTown_ContestLobby_EventScript_1A029B:: @ 81A029B
msgbox MauvilleCity_Text_1A0CC2, 4
release
end
MauvilleCity_GameCorner_EventScript_1A02A5:: @ 81A02A5
Route110_TrickHouseEnd_EventScript_1A02A5:: @ 81A02A5
Route110_TrickHouseEntrance_EventScript_1A02A5:: @ 81A02A5
Route113_GlassWorkshop_EventScript_1A02A5:: @ 81A02A5
msgbox MauvilleCity_GameCorner_Text_1A0CC2, 4
return
Route114_LanettesHouse_EventScript_1A02AE:: @ 81A02AE
msgbox Route114_LanettesHouse_Text_1A0CEF, 4
release
end
LilycoveCity_LilycoveMuseum_2F_EventScript_1A02B8:: @ 81A02B8
MauvilleCity_GameCorner_EventScript_1A02B8:: @ 81A02B8
Route110_TrickHouseEnd_EventScript_1A02B8:: @ 81A02B8
Route110_TrickHouseEntrance_EventScript_1A02B8:: @ 81A02B8
Route113_GlassWorkshop_EventScript_1A02B8:: @ 81A02B8
msgbox MauvilleCity_GameCorner_Text_1A0CEF, 4
return
EverGrandeCity_EventScript_1A02C1:: @ 81A02C1
LilycoveCity_EventScript_1A02C1:: @ 81A02C1
MossdeepCity_EventScript_1A02C1:: @ 81A02C1
Route124_EventScript_1A02C1:: @ 81A02C1
Route125_EventScript_1A02C1:: @ 81A02C1
Route126_EventScript_1A02C1:: @ 81A02C1
Route127_EventScript_1A02C1:: @ 81A02C1
Route128_EventScript_1A02C1:: @ 81A02C1
SootopolisCity_EventScript_1A02C1:: @ 81A02C1
.ifdef SAPPHIRE
setweather WEATHER_RAIN_HEAVY
.else
setweather WEATHER_DROUGHT
.endif
return
DewfordTown_Gym_EventScript_1A02C5:: @ 81A02C5
FortreeCity_Gym_EventScript_1A02C5:: @ 81A02C5
LavaridgeTown_Gym_1F_EventScript_1A02C5:: @ 81A02C5
LilycoveCity_CoveLilyMotel_2F_EventScript_1A02C5:: @ 81A02C5
MauvilleCity_Gym_EventScript_1A02C5:: @ 81A02C5
MossdeepCity_Gym_EventScript_1A02C5:: @ 81A02C5
PetalburgCity_Gym_EventScript_1A02C5:: @ 81A02C5
RustboroCity_Gym_EventScript_1A02C5:: @ 81A02C5
SootopolisCity_Gym_1F_EventScript_1A02C5:: @ 81A02C5
playfanfare BGM_ME_BACHI
waitfanfare
return
LittlerootTown_BrendansHouse_1F_EventScript_1A02CA:: @ 81A02CA
Route111_OldLadysRestStop_EventScript_1A02CA:: @ 81A02CA
Route119_WeatherInstitute_1F_EventScript_1A02CA:: @ 81A02CA
SSTidalRooms_EventScript_1A02CA:: @ 81A02CA
fadescreen 1
playfanfare BGM_ME_ASA
waitfanfare
special ScrSpecial_HealPlayerParty
fadescreen 0
return
Event_WorldMap:: @ 81A02D6
lockall
msgbox UnknownString_817303D, 4
fadescreen 1
special FieldShowRegionMap
waitstate
releaseall
end
DewfordTown_EventScript_1A02E7:: @ 81A02E7
Route104_EventScript_1A02E7:: @ 81A02E7
Route109_EventScript_1A02E7:: @ 81A02E7
setflag FLAG_SPECIAL_FLAG_1
playbgm BGM_M_BOAT, FALSE
return
DewfordTown_EventScript_1A02EF:: @ 81A02EF
Route104_EventScript_1A02EF:: @ 81A02EF
Route109_EventScript_1A02EF:: @ 81A02EF
clearflag FLAG_SPECIAL_FLAG_1
fadedefaultbgm
return
LittlerootTown_ProfessorBirchsLab_EventScript_1A02F4:: @ 81A02F4
Route101_EventScript_1A02F4:: @ 81A02F4
Route103_EventScript_1A02F4:: @ 81A02F4
compare VAR_PETALBURG_GYM_STATE, 0
goto_if_eq Route101_EventScript_1A14DC
compare VAR_BIRCH_STATE, 0
call_if_eq Route101_EventScript_1A0358
compare VAR_BIRCH_STATE, 1
call_if_eq Route101_EventScript_1A0358
compare VAR_BIRCH_STATE, 2
call_if_eq Route101_EventScript_1A0365
compare VAR_BIRCH_STATE, 3
call_if_eq Route101_EventScript_1A0365
compare VAR_BIRCH_STATE, 4
call_if_eq Route101_EventScript_1A0372
compare VAR_BIRCH_STATE, 5
call_if_eq Route101_EventScript_1A0372
compare VAR_BIRCH_STATE, 6
call_if_eq Route101_EventScript_1A0358
compare VAR_BIRCH_STATE, 7
call_if_eq Route101_EventScript_1A0358
return
Route101_EventScript_1A0358:: @ 81A0358
clearflag FLAG_HIDE_BIRCH_IN_LAB
clearflag FLAG_UNKNOWN_BIRCH_380
setflag FLAG_HIDE_BIRCH_ROUTE101
setflag FLAG_HIDE_BIRCH_ROUTE103
return
Route101_EventScript_1A0365:: @ 81A0365
clearflag FLAG_HIDE_BIRCH_ROUTE101
setflag FLAG_HIDE_BIRCH_IN_LAB
setflag FLAG_UNKNOWN_BIRCH_380
setflag FLAG_HIDE_BIRCH_ROUTE103
return
Route101_EventScript_1A0372:: @ 81A0372
clearflag FLAG_HIDE_BIRCH_ROUTE103
setflag FLAG_HIDE_BIRCH_ROUTE101
setflag FLAG_HIDE_BIRCH_IN_LAB
setflag FLAG_UNKNOWN_BIRCH_380
return
LittlerootTown_ProfessorBirchsLab_EventScript_1A037F:: @ 81A037F
Route101_EventScript_1A037F:: @ 81A037F
Route103_EventScript_1A037F:: @ 81A037F
lock
faceplayer
msgbox Route101_Text_1C4449, MSGBOX_YESNO
compare RESULT, NO
goto_if_eq Route101_EventScript_1A039B
call Route101_EventScript_1A03B0
release
end
Route101_EventScript_1A039B:: @ 81A039B
msgbox Route101_Text_1C449B, 4
release
end
Route101_EventScript_1A03A5:: @ 81A03A5
copyvar VAR_SPECIAL_4, VAR_SPECIAL_9
special ShowPokedexRatingMessage
waitmessage
waitbuttonpress
return
EverGrandeCity_ChampionsRoom_EventScript_1A03B0:: @ 81A03B0
Route101_EventScript_1A03B0:: @ 81A03B0
setvar VAR_SPECIAL_4, 0
specialvar RESULT, ScriptGetPokedexInfo
copyvar VAR_SPECIAL_8, VAR_SPECIAL_5
copyvar VAR_SPECIAL_9, VAR_SPECIAL_6
copyvar VAR_SPECIAL_A, RESULT
buffernumberstring 0, VAR_SPECIAL_8
buffernumberstring 1, VAR_SPECIAL_9
msgbox Route101_Text_1C44DC, 4
call Route101_EventScript_1A03A5
compare VAR_SPECIAL_A, 0
goto_if_eq Route101_EventScript_1A14DC
setvar VAR_SPECIAL_4, 1
specialvar RESULT, ScriptGetPokedexInfo
copyvar VAR_SPECIAL_8, VAR_SPECIAL_5
copyvar VAR_SPECIAL_9, VAR_SPECIAL_6
buffernumberstring 0, VAR_SPECIAL_8
buffernumberstring 1, VAR_SPECIAL_9
msgbox Route101_Text_1C4B05, 4
return
BattleTower_Outside_EventScript_1A040E:: @ 81A040E
LilycoveCity_Harbor_EventScript_1A040E:: @ 81A040E
SlateportCity_Harbor_EventScript_1A040E:: @ 81A040E
delay 60
applymovement VAR_SPECIAL_4, SlateportCity_Harbor_Movement_1A041C
waitmovement 0
return
SlateportCity_Harbor_Movement_1A041C:: @ 81A041C
slow_step_right
slow_step_right
slow_step_right
step_right
step_right
step_right
step_right
step_end
PetalburgCity_Gym_EventScript_1A0424:: @ 81A0424
setflag FLAG_HIDE_MR_BRINEY_DEWFORD_TOWN
setflag FLAG_HIDE_MR_BRINEY_BOAT_DEWFORD
setflag FLAG_HIDE_MR_BRINEY_ROUTE109
setflag FLAG_HIDE_MR_BRINEY_BOAT_ROUTE109
setflag FLAG_HIDE_MR_BRINEY_ROUTE104
setflag FLAG_HIDE_MR_BRINEY_BOAT_ROUTE104
setflag FLAG_HIDE_MR_BRINEY_ROUTE104_HOUSE
setflag FLAG_HIDE_PEEKO_BRINEY_HOUSE
setvar VAR_BRINEY_LOCATION, 0
return
RusturfTunnel_EventScript_1A0442:: @ 81A0442
removeobject 1
removeobject 10
clearflag FLAG_HIDE_BOYFRIEND_WANDAS_HOUSE
clearflag FLAG_HIDE_GIRLFRIEND_WANDAS_HOUSE
setvar VAR_RUSTURF_TUNNEL_STATE, 6
setflag FLAG_RUSTURF_TUNNEL_OPENED
return
EventScript_1A0457: @ unreferenced?
delay 30
applymovement 255, SlateportCity_OceanicMuseum_2F_Movement_1A0841
waitmovement 0
showobjectat 255, MAP_PETALBURG_CITY
delay 30
applymovement 255, Movement_1A047A
waitmovement 0
delay 30
return
Movement_1A047A:
step_up
step_end
BattleTower_Outside_EventScript_1A047C:: @ 81A047C
SouthernIsland_Exterior_EventScript_1A047C:: @ 81A047C
compare FACING, 1
call_if_eq BattleTower_Outside_EventScript_160B2F
compare FACING, 3
call_if_eq BattleTower_Outside_EventScript_160B3A
delay 30
hideobjectat 255, MAP_PETALBURG_CITY
call BattleTower_Outside_EventScript_1A040E
return
CaveOfOrigin_B4F_EventScript_1A04A0:: @ 81A04A0
lockall
waitse
playmoncry SPECIES_GROUDON_OR_KYOGRE, 2
waitmoncry
setvar VAR_TEMP_5, 1
releaseall
end
CaveOfOrigin_1F_EventScript_1A04AF:: @ 81A04AF
CaveOfOrigin_B1F_EventScript_1A04AF:: @ 81A04AF
CaveOfOrigin_B2F_EventScript_1A04AF:: @ 81A04AF
CaveOfOrigin_B3F_EventScript_1A04AF:: @ 81A04AF
lockall
setvar VAR_TEMP_1, 1
goto CaveOfOrigin_1F_EventScript_1A04D3
end
CaveOfOrigin_B2F_EventScript_1A04BB:: @ 81A04BB
CaveOfOrigin_B3F_EventScript_1A04BB:: @ 81A04BB
lockall
setvar VAR_TEMP_2, 1
goto CaveOfOrigin_B2F_EventScript_1A04D3
end
@ 81A04C7
lockall
setvar VAR_TEMP_3, 1
goto CaveOfOrigin_B2F_EventScript_1A04D3
end
CaveOfOrigin_1F_EventScript_1A04D3:: @ 81A04D3
CaveOfOrigin_B2F_EventScript_1A04D3:: @ 81A04D3
setvar VAR_SPECIAL_4, 1
setvar VAR_SPECIAL_5, 1
special sub_810F758
waitstate
releaseall
end
CaveOfOrigin_1F_EventScript_1A04E3:: @ 81A04E3
CaveOfOrigin_B1F_EventScript_1A04E3:: @ 81A04E3
CaveOfOrigin_B2F_EventScript_1A04E3:: @ 81A04E3
CaveOfOrigin_B3F_EventScript_1A04E3:: @ 81A04E3
CaveOfOrigin_B4F_EventScript_1A04E3:: @ 81A04E3
setvar VAR_TEMP_1, 1
setvar VAR_TEMP_2, 1
setvar VAR_TEMP_3, 1
setvar VAR_TEMP_4, 1
setvar VAR_TEMP_5, 1
return
AquaHideout_B1F_EventScript_1A04FD:: @ 81A04FD
MagmaHideout_B1F_EventScript_1A04FD:: @ 81A04FD
lock
faceplayer
setwildbattle SPECIES_ELECTRODE, 30, ITEM_NONE
waitse
playmoncry SPECIES_ELECTRODE, 2
delay 40
waitmoncry
setflag FLAG_HIDE_ELECTRODE_1_HIDEOUT
setflag FLAG_SYS_CTRL_OBJ_DELETE
dowildbattle
clearflag FLAG_SYS_CTRL_OBJ_DELETE
release
end
AquaHideout_B1F_EventScript_1A051B:: @ 81A051B
MagmaHideout_B1F_EventScript_1A051B:: @ 81A051B
lock
faceplayer
setwildbattle SPECIES_ELECTRODE, 30, ITEM_NONE
waitse
playmoncry SPECIES_ELECTRODE, 2
delay 40
waitmoncry
setflag FLAG_HIDE_ELECTRODE_2_HIDEOUT
setflag FLAG_SYS_CTRL_OBJ_DELETE
dowildbattle
clearflag FLAG_SYS_CTRL_OBJ_DELETE
release
end
Route120_EventScript_1A0539:: @ 81A0539
lock
faceplayer
setvar VAR_SPECIAL_4, 1
goto Route120_EventScript_1A0594
end
Route120_EventScript_1A0546:: @ 81A0546
lock
faceplayer
setvar VAR_SPECIAL_4, 2
goto Route120_EventScript_1A0594
end
Route120_EventScript_1A0553:: @ 81A0553
lock
faceplayer
setvar VAR_SPECIAL_4, 3
goto Route120_EventScript_1A0594
end
Route120_EventScript_1A0560:: @ 81A0560
lock
faceplayer
setvar VAR_SPECIAL_4, 4
goto Route120_EventScript_1A0594
end
Route120_EventScript_1A056D:: @ 81A056D
lock
faceplayer
setvar VAR_SPECIAL_4, 5
goto Route120_EventScript_1A0594
end
Route119_EventScript_1A057A:: @ 81A057A
lock
faceplayer
setvar VAR_SPECIAL_4, 6
goto Route119_EventScript_1A0594
end
Route119_EventScript_1A0587:: @ 81A0587
lock
faceplayer
setvar VAR_SPECIAL_4, 7
goto Route119_EventScript_1A0594
end
Route119_EventScript_1A0594:: @ 81A0594
Route120_EventScript_1A0594:: @ 81A0594
checkitem ITEM_DEVON_SCOPE, 1
compare RESULT, 1
goto_if_eq Route119_EventScript_1A05AE
msgbox Route119_Text_171B93, 4
release
end
Route119_EventScript_1A05AE:: @ 81A05AE
msgbox Route119_Text_171BB6, MSGBOX_YESNO
compare RESULT, YES
goto_if_eq Route119_EventScript_1A05C3
release
end
Route119_EventScript_1A05C3:: @ 81A05C3
msgbox Route119_Text_171BF6, 4
closemessage
applymovement LAST_TALKED, Route119_Movement_1A0839
waitmovement 0
applymovement LAST_TALKED, Route119_Movement_1A0662
waitmovement 0
waitse
playmoncry SPECIES_KECLEON, 2
delay 40
waitmoncry
setwildbattle SPECIES_KECLEON, 30, ITEM_NONE
compare VAR_SPECIAL_4, 1
call_if_eq Route119_EventScript_1A0646
compare VAR_SPECIAL_4, 2
call_if_eq Route119_EventScript_1A064A
compare VAR_SPECIAL_4, 3
call_if_eq Route119_EventScript_1A064E
compare VAR_SPECIAL_4, 4
call_if_eq Route119_EventScript_1A0652
compare VAR_SPECIAL_4, 5
call_if_eq Route119_EventScript_1A0656
compare VAR_SPECIAL_4, 6
call_if_eq Route119_EventScript_1A065A
compare VAR_SPECIAL_4, 7
call_if_eq Route119_EventScript_1A065E
setflag FLAG_SYS_CTRL_OBJ_DELETE
dowildbattle
clearflag FLAG_SYS_CTRL_OBJ_DELETE
release
end
Route119_EventScript_1A0646:: @ 81A0646
setflag FLAG_HIDE_KECLEON_ROUTE120_3
return
Route119_EventScript_1A064A:: @ 81A064A
setflag FLAG_HIDE_KECLEON_ROUTE120_4
return
Route119_EventScript_1A064E:: @ 81A064E
setflag FLAG_HIDE_KECLEON_ROUTE120_5
return
Route119_EventScript_1A0652:: @ 81A0652
setflag FLAG_HIDE_KECLEON_ROUTE120_6
return
Route119_EventScript_1A0656:: @ 81A0656
setflag FLAG_HIDE_KECLEON_ROUTE120_7
return
Route119_EventScript_1A065A:: @ 81A065A
setflag FLAG_HIDE_KECLEON_ROUTE119_1
return
Route119_EventScript_1A065E:: @ 81A065E
setflag FLAG_HIDE_KECLEON_ROUTE119_2
return
FortreeCity_Movement_1A0662:: @ 81A0662
Route119_Movement_1A0662:: @ 81A0662
Route120_Movement_1A0662:: @ 81A0662
step_55
step_12
step_54
step_12
step_55
step_12
step_54
step_12
step_55
step_13
step_54
step_13
step_55
step_13
step_54
step_13
step_55
step_14
step_54
step_14
step_55
step_end
LittlerootTown_ProfessorBirchsLab_EventScript_1A0678:: @ 81A0678
MossdeepCity_StevensHouse_EventScript_1A0678:: @ 81A0678
RustboroCity_DevonCorp_2F_EventScript_1A0678:: @ 81A0678
SlateportCity_House1_EventScript_1A0678:: @ 81A0678
fadescreen 1
special ChangePokemonNickname
waitstate
return
FallarborTown_House1_EventScript_1A067F:: @ 81A067F
GraniteCave_StevensRoom_EventScript_1A067F:: @ 81A067F
MtPyre_Summit_EventScript_1A067F:: @ 81A067F
SlateportCity_OceanicMuseum_2F_EventScript_1A067F:: @ 81A067F
bufferitemname 0, VAR_SPECIAL_4
playfanfare BGM_ME_WAZA
message FallarborTown_House1_Text_1A1498
waitmessage
waitfanfare
takeitem VAR_SPECIAL_4, 1
return
EverGrandeCity_DrakesRoom_EventScript_1A0693:: @ 81A0693
EverGrandeCity_GlaciasRoom_EventScript_1A0693:: @ 81A0693
EverGrandeCity_PhoebesRoom_EventScript_1A0693:: @ 81A0693
EverGrandeCity_SidneysRoom_EventScript_1A0693:: @ 81A0693
applymovement 255, EverGrandeCity_SidneysRoom_Movement_1A0853
waitmovement 0
playse SE_DOOR
setmetatile 6, 1, 836, 0
setmetatile 6, 2, 837, 0
setmetatile 0, 2, 734, 1
setmetatile 1, 2, 733, 1
setmetatile 2, 2, 734, 1
setmetatile 3, 2, 733, 1
setmetatile 4, 2, 734, 1
setmetatile 8, 2, 733, 1
setmetatile 9, 2, 734, 1
setmetatile 10, 2, 733, 1
setmetatile 11, 2, 734, 1
setmetatile 12, 2, 733, 1
special DrawWholeMapView
return
EverGrandeCity_DrakesRoom_EventScript_1A0710:: @ 81A0710
EverGrandeCity_GlaciasRoom_EventScript_1A0710:: @ 81A0710
EverGrandeCity_PhoebesRoom_EventScript_1A0710:: @ 81A0710
EverGrandeCity_SidneysRoom_EventScript_1A0710:: @ 81A0710
applymovement 255, EverGrandeCity_SidneysRoom_Movement_1A0847
waitmovement 0
playse SE_TRACK_DOOR
setmetatile 5, 12, 518, 1
setmetatile 6, 12, 518, 1
setmetatile 7, 12, 518, 1
setmetatile 5, 13, 526, 1
setmetatile 6, 13, 526, 1
setmetatile 7, 13, 526, 1
special DrawWholeMapView
return
EverGrandeCity_DrakesRoom_EventScript_1A0757:: @ 81A0757
EverGrandeCity_GlaciasRoom_EventScript_1A0757:: @ 81A0757
EverGrandeCity_PhoebesRoom_EventScript_1A0757:: @ 81A0757
EverGrandeCity_SidneysRoom_EventScript_1A0757:: @ 81A0757
setmetatile 6, 1, 836, 0
setmetatile 6, 2, 837, 0
setmetatile 5, 12, 518, 1
setmetatile 6, 12, 518, 1
setmetatile 7, 12, 518, 1
setmetatile 5, 13, 526, 1
setmetatile 6, 13, 526, 1
setmetatile 7, 13, 526, 1
setmetatile 0, 2, 734, 1
setmetatile 1, 2, 733, 1
setmetatile 2, 2, 734, 1
setmetatile 3, 2, 733, 1
setmetatile 4, 2, 734, 1
setmetatile 8, 2, 733, 1
setmetatile 9, 2, 734, 1
setmetatile 10, 2, 733, 1
setmetatile 11, 2, 734, 1
setmetatile 12, 2, 733, 1
return
EverGrandeCity_DrakesRoom_EventScript_1A07FA:: @ 81A07FA
EverGrandeCity_GlaciasRoom_EventScript_1A07FA:: @ 81A07FA
EverGrandeCity_PhoebesRoom_EventScript_1A07FA:: @ 81A07FA
EverGrandeCity_SidneysRoom_EventScript_1A07FA:: @ 81A07FA
setmetatile 5, 12, 518, 1
setmetatile 6, 12, 518, 1
setmetatile 7, 12, 518, 1
setmetatile 5, 13, 526, 1
setmetatile 6, 13, 526, 1
setmetatile 7, 13, 526, 1
return
SlateportCity_Movement_1A0831:: @ 81A0831
step_57
step_end
AquaHideout_B2F_Movement_1A0833:: @ 81A0833
EverGrandeCity_ChampionsRoom_Movement_1A0833:: @ 81A0833
LavaridgeTown_Movement_1A0833:: @ 81A0833
LilycoveCity_ContestLobby_Movement_1A0833:: @ 81A0833
LilycoveCity_CoveLilyMotel_1F_Movement_1A0833:: @ 81A0833
LittlerootTown_BrendansHouse_1F_Movement_1A0833:: @ 81A0833
LittlerootTown_BrendansHouse_2F_Movement_1A0833:: @ 81A0833
LittlerootTown_MaysHouse_1F_Movement_1A0833:: @ 81A0833
MauvilleCity_House2_Movement_1A0833:: @ 81A0833
MauvilleCity_Movement_1A0833:: @ 81A0833
MeteorFalls_1F_1R_Movement_1A0833:: @ 81A0833
MossdeepCity_StevensHouse_Movement_1A0833:: @ 81A0833
MtChimney_Movement_1A0833:: @ 81A0833
PetalburgCity_Movement_1A0833:: @ 81A0833
Route103_Movement_1A0833:: @ 81A0833
Route110_Movement_1A0833:: @ 81A0833
Route110_TrickHouseEnd_Movement_1A0833:: @ 81A0833
Route110_TrickHouseEntrance_Movement_1A0833:: @ 81A0833
Route110_TrickHousePuzzle5_Movement_1A0833:: @ 81A0833
RustboroCity_DevonCorp_2F_Movement_1A0833:: @ 81A0833
RustboroCity_Movement_1A0833:: @ 81A0833
RusturfTunnel_Movement_1A0833:: @ 81A0833
SeafloorCavern_Room9_Movement_1A0833:: @ 81A0833
SlateportCity_Movement_1A0833:: @ 81A0833
SlateportCity_OceanicMuseum_1F_Movement_1A0833:: @ 81A0833
SlateportCity_PokemonFanClub_Movement_1A0833:: @ 81A0833
SootopolisCity_Movement_1A0833:: @ 81A0833
step_56
step_end
EverGrandeCity_ChampionsRoom_Movement_1A0835:: @ 81A0835
LavaridgeTown_Movement_1A0835:: @ 81A0835
LilycoveCity_CoveLilyMotel_1F_Movement_1A0835:: @ 81A0835
LittlerootTown_BrendansHouse_1F_Movement_1A0835:: @ 81A0835
LittlerootTown_BrendansHouse_2F_Movement_1A0835:: @ 81A0835
LittlerootTown_MaysHouse_1F_Movement_1A0835:: @ 81A0835
MauvilleCity_House2_Movement_1A0835:: @ 81A0835
MauvilleCity_Movement_1A0835:: @ 81A0835
MeteorFalls_1F_1R_Movement_1A0835:: @ 81A0835
MossdeepCity_StevensHouse_Movement_1A0835:: @ 81A0835
MtChimney_Movement_1A0835:: @ 81A0835
PetalburgCity_Movement_1A0835:: @ 81A0835
Route103_Movement_1A0835:: @ 81A0835
Route110_Movement_1A0835:: @ 81A0835
Route110_TrickHouseEntrance_Movement_1A0835:: @ 81A0835
Route110_TrickHousePuzzle5_Movement_1A0835:: @ 81A0835
RustboroCity_DevonCorp_2F_Movement_1A0835:: @ 81A0835
RustboroCity_Movement_1A0835:: @ 81A0835
RusturfTunnel_Movement_1A0835:: @ 81A0835
SeafloorCavern_Room9_Movement_1A0835:: @ 81A0835
SlateportCity_Movement_1A0835:: @ 81A0835
SlateportCity_OceanicMuseum_1F_Movement_1A0835:: @ 81A0835
SlateportCity_PokemonFanClub_Movement_1A0835:: @ 81A0835
SootopolisCity_Movement_1A0835:: @ 81A0835
step_14
step_14
step_14
step_end
AquaHideout_B2F_Movement_1A0839:: @ 81A0839
EverGrandeCity_PokemonLeague_Movement_1A0839:: @ 81A0839
FallarborTown_House2_Movement_1A0839:: @ 81A0839
FortreeCity_House4_Movement_1A0839:: @ 81A0839
LilycoveCity_ContestHall_Movement_1A0839:: @ 81A0839
LilycoveCity_CoveLilyMotel_1F_Movement_1A0839:: @ 81A0839
LilycoveCity_DepartmentStore_1F_Movement_1A0839:: @ 81A0839
LilycoveCity_Harbor_Movement_1A0839:: @ 81A0839
LilycoveCity_LilycoveMuseum_1F_Movement_1A0839:: @ 81A0839
LilycoveCity_LilycoveMuseum_2F_Movement_1A0839:: @ 81A0839
LilycoveCity_MoveDeletersHouse_Movement_1A0839:: @ 81A0839
LilycoveCity_Movement_1A0839:: @ 81A0839
LittlerootTown_BrendansHouse_1F_Movement_1A0839:: @ 81A0839
LittlerootTown_BrendansHouse_2F_Movement_1A0839:: @ 81A0839
MauvilleCity_Movement_1A0839:: @ 81A0839
MtChimney_Movement_1A0839:: @ 81A0839
MtPyre_Summit_Movement_1A0839:: @ 81A0839
OldaleTown_Movement_1A0839:: @ 81A0839
PetalburgCity_Gym_Movement_1A0839:: @ 81A0839
PetalburgCity_Movement_1A0839:: @ 81A0839
Route103_Movement_1A0839:: @ 81A0839
Route110_TrickHouseEnd_Movement_1A0839:: @ 81A0839
Route110_TrickHouseEntrance_Movement_1A0839:: @ 81A0839
Route110_TrickHousePuzzle5_Movement_1A0839:: @ 81A0839
Route119_Movement_1A0839:: @ 81A0839
RusturfTunnel_Movement_1A0839:: @ 81A0839
SeafloorCavern_Room9_Movement_1A0839:: @ 81A0839
SlateportCity_ContestLobby_Movement_1A0839:: @ 81A0839
SlateportCity_Movement_1A0839:: @ 81A0839
SlateportCity_SternsShipyard_1F_Movement_1A0839:: @ 81A0839
step_3e
step_end
@ 81A083B
step_3f
step_end
EverGrandeCity_PokemonLeague_Movement_1A083D:: @ 81A083D
LilycoveCity_ContestHall_Movement_1A083D:: @ 81A083D
LilycoveCity_ContestLobby_Movement_1A083D:: @ 81A083D
LilycoveCity_CoveLilyMotel_1F_Movement_1A083D:: @ 81A083D
LilycoveCity_House3_Movement_1A083D:: @ 81A083D
LilycoveCity_LilycoveMuseum_1F_Movement_1A083D:: @ 81A083D
LilycoveCity_Movement_1A083D:: @ 81A083D
LittlerootTown_Movement_1A083D:: @ 81A083D
MauvilleCity_GameCorner_Movement_1A083D:: @ 81A083D
MauvilleCity_Movement_1A083D:: @ 81A083D
MossdeepCity_Movement_1A083D:: @ 81A083D
MossdeepCity_SpaceCenter_1F_Movement_1A083D:: @ 81A083D
MtChimney_Movement_1A083D:: @ 81A083D
OldaleTown_Movement_1A083D:: @ 81A083D
PetalburgCity_Movement_1A083D:: @ 81A083D
Route109_Movement_1A083D:: @ 81A083D
Route110_Movement_1A083D:: @ 81A083D
Route111_WinstrateFamilysHouse_Movement_1A083D:: @ 81A083D
Route119_Movement_1A083D:: @ 81A083D
RustboroCity_DevonCorp_3F_Movement_1A083D:: @ 81A083D
RustboroCity_Movement_1A083D:: @ 81A083D
RusturfTunnel_Movement_1A083D:: @ 81A083D
SlateportCity_ContestHall_Movement_1A083D:: @ 81A083D
SlateportCity_ContestLobby_Movement_1A083D:: @ 81A083D
SlateportCity_Harbor_Movement_1A083D:: @ 81A083D
SlateportCity_Movement_1A083D:: @ 81A083D
SlateportCity_OceanicMuseum_2F_Movement_1A083D:: @ 81A083D
SlateportCity_SternsShipyard_1F_Movement_1A083D:: @ 81A083D
VerdanturfTown_Movement_1A083D:: @ 81A083D
step_4e
step_end
Movement_1A083F:: @ 81A083F
DewfordTown_Hall_Movement_1A083F:: @ 81A083F
EverGrandeCity_ChampionsRoom_Movement_1A083F:: @ 81A083F
EverGrandeCity_HallOfFame_Movement_1A083F:: @ 81A083F
LavaridgeTown_Movement_1A083F:: @ 81A083F
LilycoveCity_PokemonTrainerFanClub_Movement_1A083F:: @ 81A083F
LittlerootTown_BrendansHouse_1F_Movement_1A083F:: @ 81A083F
LittlerootTown_BrendansHouse_2F_Movement_1A083F:: @ 81A083F
LittlerootTown_MaysHouse_1F_Movement_1A083F:: @ 81A083F
LittlerootTown_Movement_1A083F:: @ 81A083F
MeteorFalls_1F_1R_Movement_1A083F:: @ 81A083F
MossdeepCity_StevensHouse_Movement_1A083F:: @ 81A083F
MtChimney_Movement_1A083F:: @ 81A083F
MtPyre_Summit_Movement_1A083F:: @ 81A083F
OldaleTown_PokemonCenter_1F_Movement_1A083F:: @ 81A083F
PetalburgCity_Gym_Movement_1A083F:: @ 81A083F
PetalburgCity_Movement_1A083F:: @ 81A083F
PetalburgWoods_Movement_1A083F:: @ 81A083F
Route101_Movement_1A083F:: @ 81A083F
Route110_TrickHouseEnd_Movement_1A083F:: @ 81A083F
Route111_Movement_1A083F:: @ 81A083F
Route116_Movement_1A083F:: @ 81A083F
Route120_Movement_1A083F:: @ 81A083F
Route128_Movement_1A083F:: @ 81A083F
RustboroCity_Movement_1A083F:: @ 81A083F
SeafloorCavern_Room9_Movement_1A083F:: @ 81A083F
SlateportCity_Movement_1A083F:: @ 81A083F
SlateportCity_OceanicMuseum_1F_Movement_1A083F:: @ 81A083F
SlateportCity_OceanicMuseum_2F_Movement_1A083F:: @ 81A083F
SootopolisCity_Movement_1A083F:: @ 81A083F
VictoryRoad_1F_Movement_1A083F:: @ 81A083F
step_27
step_end
AquaHideout_B2F_Movement_1A0841:: @ 81A0841
CaveOfOrigin_B4F_Movement_1A0841:: @ 81A0841
DewfordTown_Hall_Movement_1A0841:: @ 81A0841
EverGrandeCity_ChampionsRoom_Movement_1A0841:: @ 81A0841
EverGrandeCity_HallOfFame_Movement_1A0841:: @ 81A0841
LilycoveCity_Harbor_Movement_1A0841:: @ 81A0841
LittlerootTown_BrendansHouse_1F_Movement_1A0841:: @ 81A0841
LittlerootTown_Movement_1A0841:: @ 81A0841
MeteorFalls_1F_1R_Movement_1A0841:: @ 81A0841
MossdeepCity_GameCorner_1F_Movement_1A0841:: @ 81A0841
MtPyre_Summit_Movement_1A0841:: @ 81A0841
NewMauville_Entrance_Movement_1A0841:: @ 81A0841
PetalburgCity_Gym_Movement_1A0841:: @ 81A0841
PetalburgCity_Movement_1A0841:: @ 81A0841
PetalburgWoods_Movement_1A0841:: @ 81A0841
Route110_TrickHouseEnd_Movement_1A0841:: @ 81A0841
Route110_TrickHouseEntrance_Movement_1A0841:: @ 81A0841
Route111_Movement_1A0841:: @ 81A0841
Route118_Movement_1A0841:: @ 81A0841
Route120_Movement_1A0841:: @ 81A0841
Route121_SafariZoneEntrance_Movement_1A0841:: @ 81A0841
Route128_Movement_1A0841:: @ 81A0841
RustboroCity_Movement_1A0841:: @ 81A0841
RusturfTunnel_Movement_1A0841:: @ 81A0841
SeafloorCavern_Room9_Movement_1A0841:: @ 81A0841
SlateportCity_Harbor_Movement_1A0841:: @ 81A0841
SlateportCity_Movement_1A0841:: @ 81A0841
SlateportCity_OceanicMuseum_2F_Movement_1A0841:: @ 81A0841
step_26
step_end
AquaHideout_B2F_Movement_1A0843:: @ 81A0843
DewfordTown_Hall_Movement_1A0843:: @ 81A0843
EverGrandeCity_ChampionsRoom_Movement_1A0843:: @ 81A0843
EverGrandeCity_HallOfFame_Movement_1A0843:: @ 81A0843
LavaridgeTown_Movement_1A0843:: @ 81A0843
LilycoveCity_DepartmentStore_1F_Movement_1A0843:: @ 81A0843
LilycoveCity_PokemonTrainerFanClub_Movement_1A0843:: @ 81A0843
LittlerootTown_BrendansHouse_1F_Movement_1A0843:: @ 81A0843
LittlerootTown_BrendansHouse_2F_Movement_1A0843:: @ 81A0843
LittlerootTown_MaysHouse_1F_Movement_1A0843:: @ 81A0843
LittlerootTown_Movement_1A0843:: @ 81A0843
LittlerootTown_ProfessorBirchsLab_Movement_1A0843:: @ 81A0843
MauvilleCity_Movement_1A0843:: @ 81A0843
MtPyre_Summit_Movement_1A0843:: @ 81A0843
OldaleTown_Movement_1A0843:: @ 81A0843
PetalburgCity_Gym_Movement_1A0843:: @ 81A0843
PetalburgCity_Movement_1A0843:: @ 81A0843
Route101_Movement_1A0843:: @ 81A0843
Route110_Movement_1A0843:: @ 81A0843
Route110_TrickHouseEnd_Movement_1A0843:: @ 81A0843
Route116_Movement_1A0843:: @ 81A0843
Route120_Movement_1A0843:: @ 81A0843
Route128_Movement_1A0843:: @ 81A0843
RustboroCity_Movement_1A0843:: @ 81A0843
SlateportCity_Harbor_Movement_1A0843:: @ 81A0843
SlateportCity_Movement_1A0843:: @ 81A0843
SlateportCity_OceanicMuseum_1F_Movement_1A0843:: @ 81A0843
SlateportCity_OceanicMuseum_2F_Movement_1A0843:: @ 81A0843
SootopolisCity_Movement_1A0843:: @ 81A0843
step_28
step_end
BattleTower_Outside_Movement_1A0845:: @ 81A0845
DewfordTown_Hall_Movement_1A0845:: @ 81A0845
EverGrandeCity_ChampionsRoom_Movement_1A0845:: @ 81A0845
LilycoveCity_CoveLilyMotel_1F_Movement_1A0845:: @ 81A0845
LilycoveCity_DepartmentStoreElevator_Movement_1A0845:: @ 81A0845
LilycoveCity_Movement_1A0845:: @ 81A0845
LilycoveCity_PokemonTrainerFanClub_Movement_1A0845:: @ 81A0845
LittlerootTown_Movement_1A0845:: @ 81A0845
MauvilleCity_Movement_1A0845:: @ 81A0845
MeteorFalls_1F_1R_Movement_1A0845:: @ 81A0845
MtPyre_Summit_Movement_1A0845:: @ 81A0845
OldaleTown_PokemonCenter_1F_Movement_1A0845:: @ 81A0845
PetalburgCity_Gym_Movement_1A0845:: @ 81A0845
PetalburgCity_Movement_1A0845:: @ 81A0845
PetalburgWoods_Movement_1A0845:: @ 81A0845
Route110_Movement_1A0845:: @ 81A0845
Route110_TrickHouseEnd_Movement_1A0845:: @ 81A0845
Route119_Movement_1A0845:: @ 81A0845
Route120_Movement_1A0845:: @ 81A0845
Route128_Movement_1A0845:: @ 81A0845
RustboroCity_Movement_1A0845:: @ 81A0845
RustboroCity_PokemonSchool_Movement_1A0845:: @ 81A0845
RusturfTunnel_Movement_1A0845:: @ 81A0845
SeafloorCavern_Room9_Movement_1A0845:: @ 81A0845
SlateportCity_Harbor_Movement_1A0845:: @ 81A0845
SlateportCity_Movement_1A0845:: @ 81A0845
SlateportCity_OceanicMuseum_2F_Movement_1A0845:: @ 81A0845
SootopolisCity_Movement_1A0845:: @ 81A0845
SouthernIsland_Exterior_Movement_1A0845:: @ 81A0845
step_25
step_end
EverGrandeCity_SidneysRoom_Movement_1A0847:: @ 81A0847
step_up
step_up
step_up
step_up
step_up
step_up
step_end
EverGrandeCity_ChampionsRoom_Movement_1A084E:: @ 81A084E
step_up
step_up
step_up
step_up
step_end
EverGrandeCity_SidneysRoom_Movement_1A0853:: @ 81A0853
step_14
step_14
step_end
Route110_TrickHouseEntrance_Movement_1A0856:: @ 81A0856
step_up
step_end
@ 81A0858
step_up
step_up
step_end
PictureBookShelfScript:: @ 81A085B
msgbox PictureBookShelfText, 3
end
BookshelfScript:: @ 81A0864
msgbox BookshelfText, 3
end
PokemonCenterBookshelfScript:: @ 81A086D
msgbox PokemonCenterBookshelfText, 3
end
VaseScript:: @ 81A0876
msgbox VaseText, 3
end
TrashCanScript:: @ 81A087F
msgbox TrashCanText, 3
end
ShopShelfScript:: @ 81A0888
msgbox ShopShelfText, 3
end
BlueprintScript:: @ 81A0891
msgbox BlueprintText, 3
end
SampleMessage1:: @ 81A089A
.string "Dies ist Beispiel 1.\p"
.string "Willkommen in der Welt von\n"
.string "POKéMON AGB!\l"
.string "Wir hoffen, dir gefällt es hier!$"
SampleMessage2:: @ 81A08F1
.string "Dies ist Beispiel 2.\p"
.string "Willkommen in der Welt von\n"
.string "POKéMON AGB!\l"
.string "Wir hoffen, dir gefällt es hier!$"
SampleMessage3:: @ 81A0948
.string "Dies ist Beispiel 3.\p"
.string "Willkommen in der Welt von\n"
.string "POKéMON AGB!\l"
.string "Wir hoffen, dir gefällt es hier!$"
UnusedMixRecordsPromptText: @ 81A099F
.string "Möchtest du deine Rekorde mit\n"
.string "anderen TRAINERN austauschen?$"
UnusedMixRecordsSeeYouAgainText: @ 81A09D2
.string "Komm bald wieder!$"
UnknownString_81A09EC: @ 81A09EC
.string "{PLAYER} schaltet den PC ein.$"
gPCText_WhichPCShouldBeAccessed:: @ 81A0A01
.string "Zugriff auf wessen PC?$"
UnknownString_81A0A1E: @ 81A0A1E
.string "Verbindung zu jemandes PC hergestellt.$"
UnknownString_81A0A35: @ 81A0A35
.string "POKéMON-Lagerungs-System geöffnet.$"
UnknownString_81A0A54: @ 81A0A54
.string "Verbindung mit PC von {PLAYER}.$"
UnknownString_81A0A66: @ 81A0A66
.string "Verbindung zu LANETTES PC hergestellt.$"
gText_NurseJoy_Welcome:: @ 81A0A7D
.string "Willkommen im POKéMON-CENTER!\p"
.string "Wir heilen deine POKéMON und\n"
.string "machen sie wieder fit.\p"
.string "O.K. Wir benötigen deine POKéMON.$"
gText_NurseJoy_WeHopeToSeeYouAgain:: @ 81A0AFA
.string "Komm jederzeit wieder vorbei!$"
gText_NurseJoy_ThankYouForWaiting:: @ 81A0B14
.string "Danke!\p"
.string "Deine POKéMON sind wieder topfit!$"
UnknownString_81A0B57: @ 81A0B57
.string "Willkommen im POKéMON KABEL-CLUB-\n"
.string "HANDELSCENTER.$"
UnknownString_81A0B87: @ 81A0B87
.string "Willkommen im POKéMON KABEL-CLUB-\n"
.string "KOLOSSEUM.$"
UnknownString_81A0BB4: @ 81A0BB4
.string "Willkommen in der POKéMON KABEL-CLUB-\n"
.string "ZEITKAPSEL.$"
EverGrandeCity_PokemonLeague_Text_1A0BE4:: @ 81A0BE4
FallarborTown_Mart_Text_1A0BE4:: @ 81A0BE4
FortreeCity_DecorationShop_Text_1A0BE4:: @ 81A0BE4
FortreeCity_Mart_Text_1A0BE4:: @ 81A0BE4
LavaridgeTown_Mart_Text_1A0BE4:: @ 81A0BE4
LilycoveCity_DepartmentStoreRooftop_Text_1A0BE4:: @ 81A0BE4
LilycoveCity_DepartmentStore_2F_Text_1A0BE4:: @ 81A0BE4
LilycoveCity_DepartmentStore_3F_Text_1A0BE4:: @ 81A0BE4
LilycoveCity_DepartmentStore_4F_Text_1A0BE4:: @ 81A0BE4
LilycoveCity_DepartmentStore_5F_Text_1A0BE4:: @ 81A0BE4
MauvilleCity_Mart_Text_1A0BE4:: @ 81A0BE4
MossdeepCity_Mart_Text_1A0BE4:: @ 81A0BE4
OldaleTown_Mart_Text_1A0BE4:: @ 81A0BE4
PetalburgCity_Mart_Text_1A0BE4:: @ 81A0BE4
RustboroCity_Mart_Text_1A0BE4:: @ 81A0BE4
SlateportCity_Mart_Text_1A0BE4:: @ 81A0BE4
SlateportCity_Text_1A0BE4:: @ 81A0BE4
SootopolisCity_Mart_Text_1A0BE4:: @ 81A0BE4
VerdanturfTown_Mart_Text_1A0BE4:: @ 81A0BE4
.string "Willkommen!\p"
.string "Kann ich dir helfen?$"
EverGrandeCity_PokemonLeague_Text_1A0C02:: @ 81A0C02
FallarborTown_Mart_Text_1A0C02:: @ 81A0C02
FortreeCity_DecorationShop_Text_1A0C02:: @ 81A0C02
FortreeCity_Mart_Text_1A0C02:: @ 81A0C02
LavaridgeTown_HerbShop_Text_1A0C02:: @ 81A0C02
LavaridgeTown_Mart_Text_1A0C02:: @ 81A0C02
LilycoveCity_DepartmentStoreRooftop_Text_1A0C02:: @ 81A0C02
LilycoveCity_DepartmentStore_2F_Text_1A0C02:: @ 81A0C02
LilycoveCity_DepartmentStore_3F_Text_1A0C02:: @ 81A0C02
LilycoveCity_DepartmentStore_4F_Text_1A0C02:: @ 81A0C02
LilycoveCity_DepartmentStore_5F_Text_1A0C02:: @ 81A0C02
MauvilleCity_Mart_Text_1A0C02:: @ 81A0C02
MossdeepCity_Mart_Text_1A0C02:: @ 81A0C02
OldaleTown_Mart_Text_1A0C02:: @ 81A0C02
PetalburgCity_Mart_Text_1A0C02:: @ 81A0C02
Route104_PrettyPetalFlowerShop_Text_1A0C02:: @ 81A0C02
RustboroCity_Mart_Text_1A0C02:: @ 81A0C02
SlateportCity_Mart_Text_1A0C02:: @ 81A0C02
SlateportCity_Text_1A0C02:: @ 81A0C02
SootopolisCity_Mart_Text_1A0C02:: @ 81A0C02
VerdanturfTown_Mart_Text_1A0C02:: @ 81A0C02
.string "Bitte komm bald wieder!$"
UnknownString_81A0C15: @ 81A0C15
.string "Willkommen!\p"
.string "Wir bieten heute Sonderangebote an!$"
Route104_PrettyPetalFlowerShop_Text_1A0C42:: @ 81A0C42
.string "{PLAYER}{KUN}, willkommen!\p"
.string "Wie kann ich dir behilflich sein?$"
Message_ObtainedItem: @ 81A0C68
.string "{STR_VAR_2} erhalten!$"
LilycoveCity_DepartmentStoreRooftop_Text_1A0C79:: @ 81A0C79
.string "Der BEUTEL ist voll...$"
LilycoveCity_DepartmentStoreRooftop_Text_1A0C8C:: @ 81A0C8C
Message_PutAwayItem: @ 81A0C8C
.string "{PLAYER} packt {STR_VAR_2} in die\n"
.string "{STR_VAR_3}-TASCHE.$"
Message_FoundOneItem: @ 81A0CB1
.string "{PLAYER} hat {STR_VAR_2} gefunden!$"
MauvilleCity_GameCorner_Text_1A0CC2:: @ 81A0CC2
MauvilleCity_Text_1A0CC2:: @ 81A0CC2
MtChimney_Text_1A0CC2:: @ 81A0CC2
OldaleTown_Text_1A0CC2:: @ 81A0CC2
Route109_SeashoreHouse_Text_1A0CC2:: @ 81A0CC2
Message_BagFull:
.string "Zu schade!\n"
.string "Der BEUTEL ist voll...$"
Message_ObtainedDecoration: @ 81A0CDE
.string "{STR_VAR_2} erhalten.$"
BattleTower_Lobby_Text_1A0CEF:: @ 81A0CEF
MauvilleCity_GameCorner_Text_1A0CEF:: @ 81A0CEF
Route114_LanettesHouse_Text_1A0CEF:: @ 81A0CEF
SootopolisCity_House6_Text_1A0CEF:: @ 81A0CEF
.string "Zu schade! Es ist kein Platz für\n"
.string "{STR_VAR_2}...$"
Message_TransferredToPC: @ 81A0D1F
.string "{STR_VAR_2} wurde auf den PC\n"
.string "übertragen.$"
PetalburgCity_Text_1A0D41:: @ 81A0D41
.string "“Ausgewählte Items für Ihren\n"
.string "Gebrauch!”\l"
.string "POKéMON-SUPERMARKT$"
PetalburgCity_Text_1A0D75:: @ 81A0D75
.string "“Erfrische deine müden Partner!”\n"
.string "POKéMON-CENTER$"
UnknownString_81A0DA6: @ 81A0DA6
.string "Hahaha...$"
UnknownString_81A0DB0: @ 81A0DB0
.string "Murmel... Murmel...$"
UnknownString_81A0DC2: @ 81A0DC2
.string "Oh!$"
UnknownString_81A0DC6: @ 81A0DC6
.string "Heute geschlossen!$"
UnknownString_81A0DD4: @ 81A0DD4
.string "Magst du {STR_VAR_3}-POKéMON, {STR_VAR_1}?$"
UnknownString_81A0DF5: @ 81A0DF5
.string "Er enthält ein POKéMON.$"
UnknownString_81A0E0C: @ 81A0E0C
.string "Wir treffen Vorbereitungen.$"
UnknownString_81A0E27: @ 81A0E27
.string "Ich bin ein Pseudo-ARENALEITER für\n"
.string "Interviews.$"
UnknownString_81A0E4F: @ 81A0E4F
.string "Bereit für einen Testkampf.$"
UnknownString_81A0E68: @ 81A0E68
.string "{STR_VAR_1} würde dieses Programm gefallen.\p"
.string "... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...\p"
.string "Ich beeile mich besser!$"
UnknownString_81A0ED6: @ 81A0ED6
.string "Womit soll ich mir die Zeit vertreiben?$"
LilycoveCity_DepartmentStoreElevator_Text_1A0EF6:: @ 81A0EF6
.string "Willkommen im SEEGRASULB CITY\n"
.string "EINKAUFSZENTRUM.\p"
.string "In welches Stockwerk möchtest du?$"
UnknownString_81A0F38: @ 81A0F38
.string "Zum DUELLTURM warpen.$"
UnknownString_81A0F4E: @ 81A0F4E
.string "Nach SEEGRASULB CITY warpen.$"
UnknownString_81A0F60: @ 81A0F60
.string "Es ist {STR_VAR_1} Uhr.$"
UnknownString_81A0F70: @ 81A0F70
.string "Zugang zur RUHMESHALLE genehmigt.$"
Route111_Text_1A0F93:: @ 81A0F93
.string "Der Sandsturm ist zu stark.\n"
.string "Dagegen kann man nicht angehen!$"
Text_NoRegisteredItem: @ 81A0FCC
.string "Ein Basis-Item aus dem BEUTEL kann auf\n"
.string "SELECT gelegt werden. Sehr praktisch!$"
LittlerootTown_BrendansHouse_2F_Text_1A100C:: @ 81A100C
LittlerootTown_MaysHouse_2F_Text_1A100C:: @ 81A100C
.string "Da ist eine E-Mail von der POKéMON\n"
.string "TRAINERSCHULE.\p"
.string "... ... ... ... ... ...\p"
.string "Ein POKéMON kann bis zu vier Attacken\n"
.string "lernen.\p"
.string "Die Fähigkeiten eines TRAINERS werden\n"
.string "durch die Attacken, die er seinen\l"
.string "POKéMON beibringt, erprobt.\p"
.string "... ... ... ... ... ...$"
LittlerootTown_BrendansHouse_2F_Text_1A10D6:: @ 81A10D6
LittlerootTown_MaysHouse_2F_Text_1A10D6:: @ 81A10D6
.string "{PLAYER} schaltet den PC ein.$"
FallarborTown_ContestLobby_Text_1A10EB:: @ 81A10EB
.string "Die Verbindung wurde abgebrochen.$"
MossdeepCity_StevensHouse_Text_1A1102:: @ 81A1102
RustboroCity_DevonCorp_2F_Text_1A1102:: @ 81A1102
.string "Möchtest du {STR_VAR_2} einen\n"
.string "Kosenamen geben?$"
fieldPoisonText_PokemonFainted:: @ 81A1132
.string "{STR_VAR_1} wurde besiegt...\p"
.string "$"
UnknownString_81A1141: @ 81A1141
.string "{PLAYER} hat kein kampffähiges POKéMON\n"
.string "mehr!\p"
.string "{PLAYER} wird ohnmächtig!$"
SlateportCity_Text_1A116E:: @ 81A116E
.string "Kennst du die TM GEHEIMPOWER?\p"
.string "In unserer Gruppe mögen alle die TM\n"
.string "GEHEIMPOWER.\p"
.string "Eines unserer Mitglieder wird sie dir\n"
.string "geben. Sag mir, wenn du sie hast.\p"
.string "Wir werden dich dann als Mitglied auf-\n"
.string "nehmen und dir unter der Hand tolle\l"
.string "Sachen verkaufen.$"
gText_NurseJoy_OkayIllTakeYourPokemon:: @ 81A1245
.string "Okay, ich nehme deine POKéMON für einen\n"
.string "Moment in meine Obhut.$"
gText_NurseJoy_Pokerus:: @ 81A1275
.string "Dein POKéMON scheint von dem\n"
.string "POKéRUS befallen zu sein.\p"
.string "Über den POKéRUS ist bisher wenig be-\n"
.string "kannt, außer dass es Mikroorganismen\l"
.string "sind, die POKéMON befallen.\p"
.string "Sind deine POKéMON infiziert, wachsen\n"
.string "sie besonders gut.$"
.include "data/text/surf.inc"
SealedChamber_InnerRoom_Text_1A138B:: @ 81A138B
.string "Das hörte sich an, als würde irgendwo\n"
.string "eine Tür geöffnet.$"
AncientTomb_Text_1A13BE:: @ 81A13BE
DesertRuins_Text_1A13BE:: @ 81A13BE
IslandCave_Text_1A13BE:: @ 81A13BE
SealedChamber_OuterRoom_Text_1A13BE:: @ 81A13BE
.string "In der Wand ist ein großes Loch.$"
OldaleTown_PokemonCenter_2F_Text_1A13DF:: @ 81A13DF
.string "Tut mir schrecklich Leid. Das KOLOSSEUM\n"
.string "wird gerade renoviert.$"
OldaleTown_PokemonCenter_2F_Text_1A141C:: @ 81A141C
.string "Tut mir schrecklich Leid. Das\n"
.string "HANDELSCENTER wird gerade renoviert.$"
OldaleTown_PokemonCenter_2F_Text_1A145C:: @ 81A145C
.string "Tut mir schrecklich Leid. Hier wird\n"
.string "für den STATISTIKTAUSCH renoviert.$"
FallarborTown_House1_Text_1A1498:: @ 81A1498
.string "{PLAYER} übergibt\n"
.string "{STR_VAR_1}.$"
Event_NoRegisteredItem:: @ 81A14AF
msgbox Text_NoRegisteredItem, 3
end
gUnknown_081A14B8:: @ 81A14B8
lockall
special ExecuteWhiteOut
waitstate
compare RESULT, 1
goto_if_eq EventScript_1A14CA
releaseall
end
EventScript_1A14CA::
message UnknownString_81A1141
waitmessage
waitbuttonpress
special sub_8081924
waitstate
fadescreen 1
special sp0C8_whiteout_maybe
waitstate
end
OldaleTown_PokemonCenter_1F_EventScript_1A14DC:: @ 81A14DC
PacifidlogTown_House2_EventScript_1A14DC:: @ 81A14DC
Route101_EventScript_1A14DC:: @ 81A14DC
return
.include "data/scripts/berry_tree.inc"
.include "data/text/berry_tree.inc"
UnknownString_81A1948: @ 81A1948
.string "Wenn einige Äste herunterhängen, kann\n"
.string "man auf den Baum klettern.$"
UnknownString_81A197B: @ 81A197B
.string "Wenn einige Äste herunterhängen, kann\n"
.string "man auf den Baum klettern.\p"
.string "Möchtest du GEHEIMPOWER einsetzen?$"
UnknownString_81A19C4: @ 81A19C4
.string "Ein dicker Ast fällt herunter!$"
UnknownString_81A19DF: @ 81A19DF
.string "Möchtest du hier deine GEHEIMBASIS\n"
.string "einrichten?$"
UnknownString_81A1A03: @ 81A1A03
.string "Dieser Busch kann bewegt werden,\n"
.string "so dass man hineinklettern kann.$"
UnknownString_81A1A4B: @ 81A1A4B
.string "Dieser Busch kann bewegt werden,\n"
.string "so dass man hineinklettern kann.\p"
.string "Möchtest du GEHEIMPOWER einsetzen?$"
UnknownString_81A1AA9: @ 81A1AA9
.string "Ein kleiner Eingang wird sichtbar.$"
UnknownString_81A1AC6: @ 81A1AC6
.string "Möchtest du hier deine GEHEIMBASIS\n"
.string "einrichten?$"
SecretBase_RedCave1_Text_1A1AEA:: @ 81A1AEA
.string "Hast du dir schon eine GEHEIMBASIS\n"
.string "eingerichtet?\p"
.string "Ich bin hier und dort, überall hin-\n"
.string "gelaufen, bevor ich mich für diesen\l"
.string "Ort entschieden habe.\p"
.string "Da du schon mal hier bist... Hast du\n"
.string "Lust zu kämpfen?$"
SecretBase_RedCave1_Text_1A1B83:: @ 81A1B83
.string "Okay!\n"
.string "Jetzt kommen wir!$"
SecretBase_RedCave1_Text_1A1B97:: @ 81A1B97
.string "Wie? Was? Wo?\n"
.string "Du kannst doch nicht...$"
UnknownString_81A1BB2:: @ 81A1BB2
.string "Ahaaargh! Du bist zu stark für mich! Ich\n"
.string "habe verloren, aber verrate das nicht!$"
SecretBase_RedCave1_Text_1A1BF8:: @ 81A1BF8
.string "Was hältst du von meiner GEHEIMBASIS?\n"
.string "Komm mich doch morgen wieder besuchen!$"
SecretBase_RedCave1_Text_1A1C3B:: @ 81A1C3B
.string "Hast du dir schon eine GEHEIMBASIS\n"
.string "eingerichtet?\p"
.string "Ich bin hier und dort, überall hin-\n"
.string "gelaufen, bevor ich mich für diesen\l"
.string "Ort entschieden habe.\p"
.string "Schau dich ruhig in aller Ruhe um.$"
SecretBase_RedCave1_Text_1A1CB2:: @ 81A1CB2
.string "Es gibt eine Menge Orte, an denen man\n"
.string "eine GEHEIMBASIS einrichten kann.\p"
.string "Aber dieser hier gefällt mir am besten.\n"
.string "Findest du es nicht auch nett hier?\p"
.string "Oh, hast du Lust auf einen Kampf?$"
SecretBase_RedCave1_Text_1A1D48:: @ 81A1D48
.string "Okay, los geht’s!$"
SecretBase_RedCave1_Text_1A1D59:: @ 81A1D59
.string "Oh...\n"
.string "Du hast gerade keine Zeit.$"
UnknownString_81A1D74:: @ 81A1D74
.string "Hmm... Das ist unsere Niederlage...\n"
.string "Aber erzähl das bloß nicht weiter!\l"
.string "Das ist ein streng geheimes Geheimnis!$"
SecretBase_RedCave1_Text_1A1DC0:: @ 81A1DC0
.string "Wenn du wieder mal in der Nähe bist,\n"
.string "komm mich doch besuchen!$"
SecretBase_RedCave1_Text_1A1DF6:: @ 81A1DF6
.string "Es gibt eine Menge Orte, an denen man\n"
.string "eine GEHEIMBASIS einrichten kann.\p"
.string "Aber dieser hier gefällt mir am besten.\n"
.string "Findest du es nicht auch nett hier?$"
SecretBase_RedCave1_Text_1A1E67:: @ 81A1E67
.string "Dies ist ein beliebter Platz.\n"
.string "Er ist eigentlich immer besetzt.\p"
.string "Ach, du wolltest dich hier auch\n"
.string "häuslich niederlassen?\p"
.string "Ich sag dir was: Du kannst den Platz\n"
.string "haben, wenn du mich besiegen kannst.$"
SecretBase_RedCave1_Text_1A1F04:: @ 81A1F04
.string "Okay! Ich werde meine\n"
.string "GEHEIMBASIS verteidigen!$"
SecretBase_RedCave1_Text_1A1F2E:: @ 81A1F2E
.string "Was? Stimmt das? Du hast gar\n"
.string "kein Interesse an diesem Platz?!?$"
UnknownString_81A1F67:: @ 81A1F67
.string "Ich kann nicht mehr!\n"
.string "Ich gebe mich geschlagen!$"
SecretBase_RedCave1_Text_1A1F88:: @ 81A1F88
.string "Okay, wenn ich eines Tages von hier\n"
.string "fortziehe, kannst du den Platz haben.$"
SecretBase_RedCave1_Text_1A1FBD:: @ 81A1FBD
.string "Dies ist ein beliebter Platz.\n"
.string "Er ist eigentlich immer besetzt.\p"
.string "Ich habe ewig gewartet, bis er wieder\n"
.string "frei wurde. Endlich ist es soweit!$"
SecretBase_RedCave1_Text_1A2026:: @ 81A2026
.string "Willkommen in meinem POKéMON-LABOR.\p"
.string "Ich forsche, indem ich im Geheimen\n"
.string "kämpfe.\p"
.string "Möchtest du sehen, wie stark ich bin?$"
SecretBase_RedCave1_Text_1A2095:: @ 81A2095
.string "Das war ja wohl nichts!$"
SecretBase_RedCave1_Text_1A20AE:: @ 81A20AE
.string "Oh.\n"
.string "Ein anderes Mal vielleicht...$"
UnknownString_81A20C9:: @ 81A20C9
.string "Hm... Ich muss noch viel lernen.\n"
.string "Ich muss fleißiger studieren.$"
SecretBase_RedCave1_Text_1A2109:: @ 81A2109
.string "Danke, dass du mit mir gekämpft hast.\n"
.string "Komm doch bitte morgen wieder.$"
SecretBase_RedCave1_Text_1A2147:: @ 81A2147
.string "Willkommen in meinem POKéMON-LABOR.\p"
.string "Ich forsche, indem ich im Geheimen\n"
.string "kämpfe.$"
SecretBase_RedCave1_Text_1A218F:: @ 81A218F
.string "Ein großes Anwesen ist natürlich auch\n"
.string "ganz nett, aber hier ist es schöner.\p"
.string "Viele Leute kommen mich besuchen.\p"
.string "So. Wie wäre es mit einem Kampf?$"
SecretBase_RedCave1_Text_1A2220:: @ 81A2220
.string "Genauso muss es laufen!$"
SecretBase_RedCave1_Text_1A2230:: @ 81A2230
.string "Wenn du bereit bist, sag Bescheid.$"
UnknownString_81A2254:: @ 81A2254
.string "Ooch! Ich hab’s vergeigt!\n"
.string "Aber es hat sehr viel Spaß gemacht!$"
SecretBase_RedCave1_Text_1A2280:: @ 81A2280
.string "Egal. Ich sollte mir auf jeden Fall einige\n"
.string "Dekorationen und Möbel zulegen.\p"
.string "Ich möchte, dass sich auch andere in\n"
.string "meiner GEHEIMBASIS wohl fühlen.$"
SecretBase_RedCave1_Text_1A22FA:: @ 81A22FA
.string "Ein großes Anwesen ist natürlich auch\n"
.string "ganz nett, aber hier ist es schöner.\p"
.string "Viele Leute kommen mich besuchen.$"
SecretBase_RedCave1_Text_1A236A:: @ 81A236A
.string "Ich liebe es, Dekorationen und Möbel\n"
.string "zu kaufen!!!\p"
.string "Ich liebe es genauso, POKéMON aufzu-\n"
.string "ziehen!\p"
.string "Wärest du so nett, mit meinen\n"
.string "POKéMON zu kämpfen?$"
SecretBase_RedCave1_Text_1A2405:: @ 81A2405
.string "Danke schön.\n"
.string "Bist du bereit?$"
SecretBase_RedCave1_Text_1A2420:: @ 81A2420
.string "Oh.\n"
.string "Was für eine Enttäuschung.$"
UnknownString_81A2439:: @ 81A2439
.string "Ich kapituliere...$"
SecretBase_RedCave1_Text_1A2446:: @ 81A2446
.string "Das war vielleicht ein Spaß! Und nun\n"
.string "sollte ich mich dem Einkaufen widmen.$"
SecretBase_RedCave1_Text_1A2480:: @ 81A2480
.string "Ich liebe es, Dekorationen und Möbel\n"
.string "zu kaufen!!!\p"
.string "Ich liebe es genauso, POKéMON aufzu-\n"
.string "ziehen!$"
SecretBase_RedCave1_Text_1A24E1:: @ 81A24E1
.string "Einige Leute richten ihre GEHEIMBASIS\n"
.string "an gut versteckten Orten ein.\l"
.string "Wollen sie sich nicht mehr sehen lassen?\p"
.string "Da du mich gefunden hast, lass uns\n"
.string "doch gleich mal kämpfen.$"
SecretBase_RedCave1_Text_1A256F:: @ 81A256F
.string "Ich bin nicht einfach zu besiegen!$"
SecretBase_RedCave1_Text_1A258A:: @ 81A258A
.string "Oh. Sag bloß, du bist müde von der Suche\n"
.string "nach diesem Platz?$"
UnknownString_81A25C3:: @ 81A25C3
.string "Ich bin untergegangen...$"
SecretBase_RedCave1_Text_1A25D2:: @ 81A25D2
.string "Wo ist deine GEHEIMBASIS?\n"
.string "Ich sollte dich dort mal besuchen.$"
SecretBase_RedCave1_Text_1A2609:: @ 81A2609
.string "Einige Leute richten ihre GEHEIMBASIS\n"
.string "an gut versteckten Orten ein.\l"
.string "Wollen sie sich nicht mehr sehen lassen?$"
SecretBase_RedCave1_Text_1A2663:: @ 81A2663
.string "Einige Leute haben mir erzählt, dass man\n"
.string "auf verschiedene Arten an Deko-\l"
.string "rationen kommen kann.\p"
.string "Wir sollten einen Wettbewerb veran-\n"
.string "stalten, wer die schönsten Dinge hat.\p"
.string "Aber zuerst lass uns kämpfen.$"
SecretBase_RedCave1_Text_1A2710:: @ 81A2710
.string "Das ist meine GEHEIMBASIS.\n"
.string "Ich kann hier gar nicht verlieren!$"
SecretBase_RedCave1_Text_1A2736:: @ 81A2736
.string "Ich kämpfe jederzeit mit dir.$"
UnknownString_81A2754:: @ 81A2754
.string "Wie?\n"
.string "Ich habe doch verloren?$"
SecretBase_RedCave1_Text_1A276A:: @ 81A276A
.string "Ich werde den Wettbewerb um die\n"
.string "schönsten Dekorationen nicht ver-\l"
.string "lieren. Überzeuge dich selbst!$"
SecretBase_RedCave1_Text_1A27A4:: @ 81A27A4
.string "Einige Leute haben mir erzählt, dass man\n"
.string "auf verschiedene Arten an Deko-\l"
.string "rationen kommen kann.\p"
.string "Wir sollten einen Wettbewerb veran-\n"
.string "stalten, wer die schönsten Dinge hat.$"
SecretBase_RedCave1_Text_1A2830:: @ 81A2830
.string "Ich habe einen Ort gefunden, der mir\n"
.string "gefällt und den ich mit meinen Lieblings-\l"
.string "dekorationen ausgestattet habe.\p"
.string "Dort ziehe ich meine Lieblings-POKéMON\n"
.string "auf und werde mit ihnen stärker.\p"
.string "Genau das mache ich.\n"
.string "Möchtest du mit mir kämpfen?$"
SecretBase_RedCave1_Text_1A28D7:: @ 81A28D7
.string "Zeig mir, aus welchem Holz du\n"
.string "geschnitzt bist.$"
SecretBase_RedCave1_Text_1A28F4:: @ 81A28F4
.string "Ich glaube, es gibt immer wieder Zeiten,\n"
.string "in denen man nicht so gut drauf ist.$"
UnknownString_81A2925:: @ 81A2925
.string "Ich weiß jetzt genau, aus welchem Holz\n"
.string "du geschnitzt bist.$"
SecretBase_RedCave1_Text_1A294D:: @ 81A294D
.string "Wir können beide noch stärker werden!\n"
.string "Das macht doch Mut!$"
SecretBase_RedCave1_Text_1A297C:: @ 81A297C
.string "Ich habe einen Ort gefunden, der mir\n"
.string "gefällt und den ich mit meinen Lieblings-\l"
.string "dekorationen ausgestattet habe.\p"
.string "Dort ziehe ich meine Lieblings-POKéMON\n"
.string "auf und werde mit ihnen stärker.\p"
.string "Jeder Tag ist mein Lieblingstag.$"
SecretBase_RedCave1_Text_1A2A13:: @ 81A2A13
.string "Man lernt viel über den Geschmack und\n"
.string "den Stil von Menschen, wenn man sich\l"
.string "ihre Dekorationen und den Platz, auf\l"
.string "dem sie stehen, anschaut.\p"
.string "Wie findest du meinen Geschmack?\n"
.string "Bist du sprachlos? Hihihi...\p"
.string "Willst du mal meinen Kampfstil sehen?$"
SecretBase_RedCave1_Text_1A2AE2:: @ 81A2AE2
.string "Es gibt kein Zurück mehr.$"
SecretBase_RedCave1_Text_1A2AFB:: @ 81A2AFB
.string "Ich zeige dir gerne jederzeit wieder \n"
.string "meinen erlesenen Kampfstil!$"
UnknownString_81A2B2A:: @ 81A2B2A
.string "Du bist hoch talentiert! Deine Stärke\n"
.string "scheint grenzenlos zu sein.$"
SecretBase_RedCave1_Text_1A2B69:: @ 81A2B69
.string "Was hältst du von meinem Stil?\n"
.string "Ich muss ihn noch mehr aufpolieren.$"
SecretBase_RedCave1_Text_1A2BA4:: @ 81A2BA4
.string "Man lernt viel über den Geschmack und\n"
.string "den Stil von Menschen, wenn man sich\l"
.string "ihre Dekorationen und den Platz, auf\l"
.string "dem sie stehen, anschaut.\p"
.string "Wie findest du meinen Geschmack?\n"
.string "Bist du sprachlos? Hihihi...$"
gUnknown_081A2C51:: @ 81A2C51
special sub_80BB70C
special sub_80BB63C
compare RESULT, 1
goto_if_eq EventScript_1A2E45
checkpartymove MOVE_SECRET_POWER
setfieldeffectargument 0, RESULT
buffermovename 1, MOVE_SECRET_POWER
compare VAR_SPECIAL_7, 1
goto_if_eq EventScript_1A2CB0
compare VAR_SPECIAL_7, 2
goto_if_eq EventScript_1A2CB0
compare VAR_SPECIAL_7, 3
goto_if_eq EventScript_1A2CB0
compare VAR_SPECIAL_7, 4
goto_if_eq EventScript_1A2CB0
compare VAR_SPECIAL_7, 5
goto_if_eq EventScript_1A2D08
compare VAR_SPECIAL_7, 6
goto_if_eq EventScript_1A2D60
end
EventScript_1A2CB0:
lockall
compare RESULT, 6
goto_if_eq EventScript_1A2CF1
bufferpartymonnick 0, RESULT
msgbox UnknownString_8198F34, MSGBOX_YESNO
compare RESULT, NO
goto_if_eq EventScript_1A2F3A
msgbox UsedCutRockSmashText, 4
closemessage
dofieldeffect 11
waitstate
goto EventScript_1A2CFA
end
gUnknown_081A2CE6:: @ 81A2CE6
lockall
dofieldeffect 11
waitstate
goto EventScript_1A2CFA
end
EventScript_1A2CF1:
msgbox UnknownString_8198F10, 3
end
EventScript_1A2CFA:
msgbox UnknownString_8198F6E, 4
goto EventScript_1A2DB8
end
EventScript_1A2D08:
lockall
compare RESULT, 6
goto_if_eq EventScript_1A2D49
bufferpartymonnick 0, RESULT
msgbox UnknownString_81A197B, MSGBOX_YESNO
compare RESULT, NO
goto_if_eq EventScript_1A2F3A
msgbox UsedCutRockSmashText, 4
closemessage
dofieldeffect 26
waitstate
goto EventScript_1A2D52
end
gUnknown_081A2D3E:: @ 81A2D3E
lockall
dofieldeffect 26
waitstate
goto EventScript_1A2D52
end
EventScript_1A2D49:
msgbox UnknownString_81A1948, 3
end
EventScript_1A2D52:
msgbox UnknownString_81A19C4, 4
goto EventScript_1A2DB8
end
EventScript_1A2D60:
lockall
compare RESULT, 6
goto_if_eq EventScript_1A2DA1
bufferpartymonnick 0, RESULT
msgbox UnknownString_81A1A4B, MSGBOX_YESNO
compare RESULT, NO
goto_if_eq EventScript_1A2F3A
msgbox UsedCutRockSmashText, 4
closemessage
dofieldeffect 27
waitstate
goto EventScript_1A2DAA
end
gUnknown_081A2D96:: @ 81A2D96
lockall
dofieldeffect 27
waitstate
goto EventScript_1A2DAA
end
EventScript_1A2DA1:
msgbox UnknownString_81A1A03, 3
end
EventScript_1A2DAA:
msgbox UnknownString_81A1AA9, 4
goto EventScript_1A2DB8
end
EventScript_1A2DB8:
closemessage
playse SE_KAIDAN
setvar VAR_0x4097, 0
setflag FLAG_DECORATION_1
special sub_80BB8CC
special sub_80BBAF0
setvar VAR_SPECIAL_4, 0
setvar VAR_SPECIAL_5, 0
special sub_80BBDD0
setvar VAR_0x4089, 1
waitstate
end
SecretBase_RedCave1_EventScript_1A2DDE:: @ 81A2DDE
applymovement 255, SecretBase_RedCave1_Movement_1A2E11
waitmovement 0
setvar VAR_0x4097, 1
msgbox SecretBase_RedCave1_Text_198F89, MSGBOX_YESNO
compare RESULT, YES
goto_if_eq SecretBase_RedCave1_EventScript_1A2E08
closemessage
playse SE_KAIDAN
special sub_80BC440
end
SecretBase_RedCave1_EventScript_1A2E08:: @ 81A2E08
closemessage
setflag FLAG_RECEIVED_SECRET_POWER
special sub_80BBC78
waitstate
end
SecretBase_RedCave1_Movement_1A2E11:: @ 81A2E11
step_up
step_up
step_end
gUnknown_081A2E14:: @ 81A2E14
lockall
setvar VAR_0x4097, 1
playse SE_KAIDAN
special sub_80BC114
compare RESULT, 0
goto_if_eq EventScript_1A2E38
clearflag FLAG_DECORATION_1
special sub_80BBAF0
setvar VAR_0x4089, 0
waitstate
end
EventScript_1A2E38:
setflag FLAG_DECORATION_1
special sub_80BBAF0
setvar VAR_0x4089, 0
waitstate
end
EventScript_1A2E45:
checkpartymove MOVE_SECRET_POWER
compare RESULT, 6
goto_if_eq EventScript_1A2EF7
setfieldeffectargument 0, RESULT
setorcopyvar VAR_SPECIAL_4, RESULT
lockall
special GetSecretBaseNearbyMapName
msgbox UnknownString_81A3C71, MSGBOX_YESNO
compare RESULT, NO
goto_if_eq EventScript_1A2F3A
msgbox UnknownString_81A38FB, MSGBOX_YESNO
compare RESULT, NO
goto_if_eq EventScript_1A2F3A
fadescreen 1
special MoveSecretBase
closemessage
fadescreen 0
msgbox UnknownString_81A3CC9, MSGBOX_YESNO
compare RESULT, NO
goto_if_eq EventScript_1A2F3A
bufferpartymonnick 0, VAR_SPECIAL_4
buffermovename 1, MOVE_SECRET_POWER
msgbox UsedCutRockSmashText, 4
closemessage
closemessage
compare VAR_SPECIAL_7, 1
goto_if_eq gUnknown_081A2CE6
compare VAR_SPECIAL_7, 2
goto_if_eq gUnknown_081A2CE6
compare VAR_SPECIAL_7, 3
goto_if_eq gUnknown_081A2CE6
compare VAR_SPECIAL_7, 4
goto_if_eq gUnknown_081A2CE6
compare VAR_SPECIAL_7, 5
goto_if_eq gUnknown_081A2D3E
compare VAR_SPECIAL_7, 6
goto_if_eq gUnknown_081A2D96
releaseall
end
EventScript_1A2EF7::
compare VAR_SPECIAL_7, 1
goto_if_eq EventScript_1A2CF1
compare VAR_SPECIAL_7, 2
goto_if_eq EventScript_1A2CF1
compare VAR_SPECIAL_7, 3
goto_if_eq EventScript_1A2CF1
compare VAR_SPECIAL_7, 4
goto_if_eq EventScript_1A2CF1
compare VAR_SPECIAL_7, 5
goto_if_eq EventScript_1A2D49
compare VAR_SPECIAL_7, 6
goto_if_eq EventScript_1A2DA1
end
EventScript_1A2F3A::
closemessage
releaseall
end
LittlerootTown_BrendansHouse_2F_EventScript_1A2F3D:: @ 81A2F3D
LittlerootTown_MaysHouse_2F_EventScript_1A2F3D:: @ 81A2F3D
SecretBase_RedCave1_EventScript_1A2F3D:: @ 81A2F3D
setflag FLAG_DECORATION_2
setflag FLAG_DECORATION_3
setflag FLAG_DECORATION_4
setflag FLAG_DECORATION_5
setflag FLAG_DECORATION_6
setflag FLAG_DECORATION_7
setflag FLAG_DECORATION_8
setflag FLAG_DECORATION_9
setflag FLAG_DECORATION_10
setflag FLAG_DECORATION_11
setflag FLAG_DECORATION_12
setflag FLAG_DECORATION_13
setflag FLAG_DECORATION_14
setflag FLAG_DECORATION_15
return
LittlerootTown_BrendansHouse_2F_EventScript_1A2F68:: @ 81A2F68
LittlerootTown_MaysHouse_2F_EventScript_1A2F68:: @ 81A2F68
SecretBase_RedCave1_EventScript_1A2F68:: @ 81A2F68
setvar VAR_SPECIAL_4, 0
setvar VAR_SPECIAL_5, 0
special sub_80BBDD0
setvar VAR_0x4089, 1
end
gUnknown_081A2F7B:: @ 81A2F7B
setvar VAR_SPECIAL_5, 0
goto EventScript_1A2F86
end
EventScript_1A2F86:
special sub_80FF474
end
gUnknown_081A2F8A:: @ 81A2F8A
setvar VAR_SPECIAL_4, 0
goto EventScript_1A2F95
end
EventScript_1A2F95:
special sub_8100A7C
compare RESULT, 1
goto_if_eq EventScript_1A2FBF
addvar VAR_SPECIAL_4, 1
compare VAR_SPECIAL_5, 0
goto_if_eq EventScript_1A2F95
removeobject VAR_SPECIAL_6
setflag VAR_SPECIAL_5
goto EventScript_1A2F95
end
EventScript_1A2FBF:
end
SecretBase_BlueCave1_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_BlueCave2_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_BlueCave3_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_BlueCave4_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_BrownCave1_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_BrownCave2_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_BrownCave3_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_BrownCave4_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_RedCave1_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_RedCave2_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_RedCave3_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_RedCave4_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_Shrub1_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_Shrub2_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_Shrub3_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_Shrub4_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_Tree1_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_Tree2_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_Tree3_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_Tree4_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_YellowCave1_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_YellowCave2_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_YellowCave3_EventScript_1A2FC0:: @ 81A2FC0
SecretBase_YellowCave4_EventScript_1A2FC0:: @ 81A2FC0
special sub_80BCE90
compare VAR_SPECIAL_4, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A3032
compare VAR_SPECIAL_4, 1
goto_if_eq SecretBase_RedCave1_EventScript_1A30AE
compare VAR_SPECIAL_4, 2
goto_if_eq SecretBase_RedCave1_EventScript_1A312A
compare VAR_SPECIAL_4, 3
goto_if_eq SecretBase_RedCave1_EventScript_1A31A6
compare VAR_SPECIAL_4, 4
goto_if_eq SecretBase_RedCave1_EventScript_1A3222
compare VAR_SPECIAL_4, 5
goto_if_eq SecretBase_RedCave1_EventScript_1A329E
compare VAR_SPECIAL_4, 6
goto_if_eq SecretBase_RedCave1_EventScript_1A331A
compare VAR_SPECIAL_4, 7
goto_if_eq SecretBase_RedCave1_EventScript_1A3396
compare VAR_SPECIAL_4, 8
goto_if_eq SecretBase_RedCave1_EventScript_1A3412
compare VAR_SPECIAL_4, 9
goto_if_eq SecretBase_RedCave1_EventScript_1A348E
end
SecretBase_RedCave1_EventScript_1A3032:: @ 81A3032
goto_if_unset FLAG_SYS_GAME_CLEAR, SecretBase_RedCave1_EventScript_1A3086
compare RESULT, 1
goto_if_eq SecretBase_RedCave1_EventScript_1A30A5
lock
faceplayer
msgbox SecretBase_RedCave1_Text_1A1AEA, MSGBOX_YESNO
compare RESULT, NO
goto_if_eq SecretBase_RedCave1_EventScript_1A308F
setvar RESULT, 1
special sub_80BCE4C
call S_DoSaveDialog
compare RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A308F
erasebox 0, 0, 15, 10
msgbox SecretBase_RedCave1_Text_1A1B83, 4
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A3086:: @ 81A3086
msgbox SecretBase_RedCave1_Text_1A1C3B, 2
end
SecretBase_RedCave1_EventScript_1A308F:: @ 81A308F
setvar RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
msgbox SecretBase_RedCave1_Text_1A1B97, 2
end
SecretBase_RedCave1_EventScript_1A30A5:: @ 81A30A5
msgbox SecretBase_RedCave1_Text_1A1BF8, 2
end
SecretBase_RedCave1_EventScript_1A30AE:: @ 81A30AE
goto_if_unset FLAG_SYS_GAME_CLEAR, SecretBase_RedCave1_EventScript_1A3102
compare RESULT, 1
goto_if_eq SecretBase_RedCave1_EventScript_1A3121
lock
faceplayer
msgbox SecretBase_RedCave1_Text_1A1E67, MSGBOX_YESNO
compare RESULT, NO
goto_if_eq SecretBase_RedCave1_EventScript_1A310B
setvar RESULT, 1
special sub_80BCE4C
call S_DoSaveDialog
compare RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A310B
erasebox 0, 0, 15, 10
msgbox SecretBase_RedCave1_Text_1A1F04, 4
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A3102:: @ 81A3102
msgbox SecretBase_RedCave1_Text_1A1FBD, 2
end
SecretBase_RedCave1_EventScript_1A310B:: @ 81A310B
setvar RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
msgbox SecretBase_RedCave1_Text_1A1F2E, 2
end
SecretBase_RedCave1_EventScript_1A3121:: @ 81A3121
msgbox SecretBase_RedCave1_Text_1A1F88, 2
end
SecretBase_RedCave1_EventScript_1A312A:: @ 81A312A
goto_if_unset FLAG_SYS_GAME_CLEAR, SecretBase_RedCave1_EventScript_1A317E
compare RESULT, 1
goto_if_eq SecretBase_RedCave1_EventScript_1A319D
lock
faceplayer
msgbox SecretBase_RedCave1_Text_1A218F, MSGBOX_YESNO
compare RESULT, NO
goto_if_eq SecretBase_RedCave1_EventScript_1A3187
setvar RESULT, 1
special sub_80BCE4C
call S_DoSaveDialog
compare RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A3187
erasebox 0, 0, 15, 10
msgbox SecretBase_RedCave1_Text_1A2220, 4
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A317E:: @ 81A317E
msgbox SecretBase_RedCave1_Text_1A22FA, 2
end
SecretBase_RedCave1_EventScript_1A3187:: @ 81A3187
setvar RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
msgbox SecretBase_RedCave1_Text_1A2230, 2
end
SecretBase_RedCave1_EventScript_1A319D:: @ 81A319D
msgbox SecretBase_RedCave1_Text_1A2280, 2
end
SecretBase_RedCave1_EventScript_1A31A6:: @ 81A31A6
goto_if_unset FLAG_SYS_GAME_CLEAR, SecretBase_RedCave1_EventScript_1A31FA
compare RESULT, 1
goto_if_eq SecretBase_RedCave1_EventScript_1A3219
lock
faceplayer
msgbox SecretBase_RedCave1_Text_1A24E1, MSGBOX_YESNO
compare RESULT, NO
goto_if_eq SecretBase_RedCave1_EventScript_1A3203
setvar RESULT, 1
special sub_80BCE4C
call S_DoSaveDialog
compare RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A3203
erasebox 0, 0, 15, 10
msgbox SecretBase_RedCave1_Text_1A256F, 4
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A31FA:: @ 81A31FA
msgbox SecretBase_RedCave1_Text_1A2609, 2
end
SecretBase_RedCave1_EventScript_1A3203:: @ 81A3203
setvar RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
msgbox SecretBase_RedCave1_Text_1A258A, 2
end
SecretBase_RedCave1_EventScript_1A3219:: @ 81A3219
msgbox SecretBase_RedCave1_Text_1A25D2, 2
end
SecretBase_RedCave1_EventScript_1A3222:: @ 81A3222
goto_if_unset FLAG_SYS_GAME_CLEAR, SecretBase_RedCave1_EventScript_1A3276
compare RESULT, 1
goto_if_eq SecretBase_RedCave1_EventScript_1A3295
lock
faceplayer
msgbox SecretBase_RedCave1_Text_1A2830, MSGBOX_YESNO
compare RESULT, NO
goto_if_eq SecretBase_RedCave1_EventScript_1A327F
setvar RESULT, 1
special sub_80BCE4C
call S_DoSaveDialog
compare RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A327F
erasebox 0, 0, 15, 10
msgbox SecretBase_RedCave1_Text_1A28D7, 4
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A3276:: @ 81A3276
msgbox SecretBase_RedCave1_Text_1A297C, 2
end
SecretBase_RedCave1_EventScript_1A327F:: @ 81A327F
setvar RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
msgbox SecretBase_RedCave1_Text_1A28F4, 2
end
SecretBase_RedCave1_EventScript_1A3295:: @ 81A3295
msgbox SecretBase_RedCave1_Text_1A294D, 2
end
SecretBase_RedCave1_EventScript_1A329E:: @ 81A329E
goto_if_unset FLAG_SYS_GAME_CLEAR, SecretBase_RedCave1_EventScript_1A32F2
compare RESULT, 1
goto_if_eq SecretBase_RedCave1_EventScript_1A3311
lock
faceplayer
msgbox SecretBase_RedCave1_Text_1A1CB2, MSGBOX_YESNO
compare RESULT, NO
goto_if_eq SecretBase_RedCave1_EventScript_1A32FB
setvar RESULT, 1
special sub_80BCE4C
call S_DoSaveDialog
compare RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A32FB
erasebox 0, 0, 15, 10
msgbox SecretBase_RedCave1_Text_1A1D48, 4
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A32F2:: @ 81A32F2
msgbox SecretBase_RedCave1_Text_1A1DF6, 2
end
SecretBase_RedCave1_EventScript_1A32FB:: @ 81A32FB
setvar RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
msgbox SecretBase_RedCave1_Text_1A1D59, 2
end
SecretBase_RedCave1_EventScript_1A3311:: @ 81A3311
msgbox SecretBase_RedCave1_Text_1A1DC0, 2
end
SecretBase_RedCave1_EventScript_1A331A:: @ 81A331A
goto_if_unset FLAG_SYS_GAME_CLEAR, SecretBase_RedCave1_EventScript_1A336E
compare RESULT, 1
goto_if_eq SecretBase_RedCave1_EventScript_1A338D
lock
faceplayer
msgbox SecretBase_RedCave1_Text_1A2026, MSGBOX_YESNO
compare RESULT, NO
goto_if_eq SecretBase_RedCave1_EventScript_1A3377
setvar RESULT, 1
special sub_80BCE4C
call S_DoSaveDialog
compare RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A3377
erasebox 0, 0, 15, 10
msgbox SecretBase_RedCave1_Text_1A2095, 4
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A336E:: @ 81A336E
msgbox SecretBase_RedCave1_Text_1A2147, 2
end
SecretBase_RedCave1_EventScript_1A3377:: @ 81A3377
setvar RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
msgbox SecretBase_RedCave1_Text_1A20AE, 2
end
SecretBase_RedCave1_EventScript_1A338D:: @ 81A338D
msgbox SecretBase_RedCave1_Text_1A2109, 2
end
SecretBase_RedCave1_EventScript_1A3396:: @ 81A3396
goto_if_unset FLAG_SYS_GAME_CLEAR, SecretBase_RedCave1_EventScript_1A33EA
compare RESULT, 1
goto_if_eq SecretBase_RedCave1_EventScript_1A3409
lock
faceplayer
msgbox SecretBase_RedCave1_Text_1A236A, MSGBOX_YESNO
compare RESULT, NO
goto_if_eq SecretBase_RedCave1_EventScript_1A33F3
setvar RESULT, 1
special sub_80BCE4C
call S_DoSaveDialog
compare RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A33F3
erasebox 0, 0, 15, 10
msgbox SecretBase_RedCave1_Text_1A2405, 4
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A33EA:: @ 81A33EA
msgbox SecretBase_RedCave1_Text_1A2480, 2
end
SecretBase_RedCave1_EventScript_1A33F3:: @ 81A33F3
setvar RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
msgbox SecretBase_RedCave1_Text_1A2420, 2
end
SecretBase_RedCave1_EventScript_1A3409:: @ 81A3409
msgbox SecretBase_RedCave1_Text_1A2446, 2
end
SecretBase_RedCave1_EventScript_1A3412:: @ 81A3412
goto_if_unset FLAG_SYS_GAME_CLEAR, SecretBase_RedCave1_EventScript_1A3466
compare RESULT, 1
goto_if_eq SecretBase_RedCave1_EventScript_1A3485
lock
faceplayer
msgbox SecretBase_RedCave1_Text_1A2663, MSGBOX_YESNO
compare RESULT, NO
goto_if_eq SecretBase_RedCave1_EventScript_1A346F
setvar RESULT, 1
special sub_80BCE4C
call S_DoSaveDialog
compare RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A346F
erasebox 0, 0, 15, 10
msgbox SecretBase_RedCave1_Text_1A2710, 4
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A3466:: @ 81A3466
msgbox SecretBase_RedCave1_Text_1A27A4, 2
end
SecretBase_RedCave1_EventScript_1A346F:: @ 81A346F
setvar RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
msgbox SecretBase_RedCave1_Text_1A2736, 2
end
SecretBase_RedCave1_EventScript_1A3485:: @ 81A3485
msgbox SecretBase_RedCave1_Text_1A276A, 2
end
SecretBase_RedCave1_EventScript_1A348E:: @ 81A348E
goto_if_unset FLAG_SYS_GAME_CLEAR, SecretBase_RedCave1_EventScript_1A34E2
compare RESULT, 1
goto_if_eq SecretBase_RedCave1_EventScript_1A3501
lock
faceplayer
msgbox SecretBase_RedCave1_Text_1A2A13, MSGBOX_YESNO
compare RESULT, NO
goto_if_eq SecretBase_RedCave1_EventScript_1A34EB
setvar RESULT, 1
special sub_80BCE4C
call S_DoSaveDialog
compare RESULT, 0
goto_if_eq SecretBase_RedCave1_EventScript_1A34EB
erasebox 0, 0, 15, 10
msgbox SecretBase_RedCave1_Text_1A2AE2, 4
goto SecretBase_RedCave1_EventScript_1A350A
end
SecretBase_RedCave1_EventScript_1A34E2:: @ 81A34E2
msgbox SecretBase_RedCave1_Text_1A2BA4, 2
end
SecretBase_RedCave1_EventScript_1A34EB:: @ 81A34EB
setvar RESULT, 0
special sub_80BCE4C
erasebox 0, 0, 15, 10
msgbox SecretBase_RedCave1_Text_1A2AFB, 2
end
SecretBase_RedCave1_EventScript_1A3501:: @ 81A3501
msgbox SecretBase_RedCave1_Text_1A2B69, 2
end
SecretBase_RedCave1_EventScript_1A350A:: @ 81A350A
special sub_80BCE1C
setvar VAR_SPECIAL_4, 1
setvar VAR_SPECIAL_5, 0
special StartSpecialBattle
waitstate
special ScrSpecial_HealPlayerParty
release
end
.include "data/text/secret_power_tm.inc"
.include "data/scripts/secret_power_tm.inc"
UnknownString_81A38FB: @ 81A38FB
.string "Alle Dekorationsgegenstände und das\n"
.string "Mobiliar aus deiner GEHEIMBASIS werden\l"
.string "auf deinen PC gesendet.\p"
.string "Einverstanden?$"
UnknownString_81A3958: @ 81A3958
.string "Möchtest du GEHEIMBASIS von\n"
.string "{STR_VAR_1} eintragen?$"
UnknownString_81A3982: @ 81A3982
.string "Diese Daten wurden bereits\n"
.string "eingetragen. Möchtest du sie löschen?$"
UnknownString_81A39C0: @ 81A39C0
.string "Bis zu 10 Orte können eingetragen\n"
.string "werden.\p"
.string "Lösche einen Ort, um einen neuen\n"
.string "eintragen zu können.$"
UnknownString_81A3A22: @ 81A3A22
.string "Registrierung abgeschlossen.$"
UnknownString_81A3A3A: @ 81A3A3A
.string "Daten wurden aus der Registrierung\n"
.string "genommen.$"
UnknownString_81A3A56: @ 81A3A56
.string "Es sind keine Dekorationen vorhanden.$"
UnknownString_81A3A72: @ 81A3A72
.string "{PLAYER} schaltet den PC ein.$"
UnknownString_81A3A87: @ 81A3A87
.string "Was möchtest du tun?$"
UnknownString_81A3AA2: @ 81A3AA2
.string "Die eingetragene GEHEIMBASIS bleibt\n"
.string "erhalten, bis der Eigentümer umzieht.\p"
.string "Wird sie aus dem Grundbuch ent-\n"
.string "fernt, kann eine andere GEHEIMBASIS\l"
.string "diesen Platz einnehmen.\p"
.string "Bis zu 10 Orte können eingetragen\n"
.string "werden.{0xFC}Ì$"
UnknownString_81A3B5B: @ 81A3B5B
.string "Ein Schild aus {STR_VAR_2}, welches zeigt,\n"
.string "dass {STR_VAR_1}-mal hintereinander im\l"
.string "DUELLTURM ein Kampf gewonnen wurde.$"
UnknownString_81A3BA4: @ 81A3BA4
.string "Ein sehr realistischer Spielzeug-\n"
.string "Fernseher. Man könnte ihn glatt mit\l"
.string "einem echten Gerät verwechseln.$"
UnknownString_81A3BE8: @ 81A3BE8
.string "Ein Spielzeug-Fernseher, der aussieht\n"
.string "wie ein SAMURZEL. Er scheint von\l"
.string "alleine davonrollen zu wollen...$"
UnknownString_81A3C31: @ 81A3C31
.string "Ein Spielzeug-Fernseher, der aussieht\n"
.string "wie ein ENECO. Es scheint, als wolle\l"
.string "er sich langsam davonschleichen ...$"
UnknownString_81A3C71: @ 81A3C71
.string "Du kannst dir nur eine GEHEIMBASIS\n"
.string "einrichten.\p"
.string "Möchtest du deine GEHEIMBASIS in der\n"
.string "Nähe von {STR_VAR_1} hierher\l"
.string "verlegen?$"
UnknownString_81A3CC9: @ 81A3CC9
.string "Umzug wurde abgeschlossen.\p"
.string "Möchtest du GEHEIMPOWER einsetzen?$"
.include "data/scripts/cable_club.inc"
.include "data/text/cable_club.inc"
.include "data/scripts/contest_hall.inc"
.include "data/text/contest_hall.inc"
.include "data/scripts/tv.inc"
.include "data/text/tv.inc"
BattleTower_Lobby_EventScript_1ADE46:: @ 81ADE46
FallarborTown_ContestLobby_EventScript_1ADE46:: @ 81ADE46
SlateportCity_OceanicMuseum_1F_EventScript_1ADE46:: @ 81ADE46
SlateportCity_PokemonFanClub_EventScript_1ADE46:: @ 81ADE46
special InterviewAfter
incrementgamestat GAME_STAT_GOT_INTERVIEWED
release
end
SlateportCity_PokemonFanClub_EventScript_1ADE4D:: @ 81ADE4D
setvar VAR_SPECIAL_5, 1
special InterviewBefore
compare RESULT, 1
goto_if_eq SlateportCity_PokemonFanClub_EventScript_1ADED6
copyvar VAR_SPECIAL_9, VAR_SPECIAL_6
msgbox SlateportCity_PokemonFanClub_Text_1A8704, MSGBOX_YESNO
compare RESULT, YES
goto_if_eq SlateportCity_PokemonFanClub_EventScript_1ADE84
compare RESULT, NO
goto_if_eq SlateportCity_PokemonFanClub_EventScript_1ADEB9
end
SlateportCity_PokemonFanClub_EventScript_1ADE84:: @ 81ADE84
msgbox SlateportCity_PokemonFanClub_Text_1A87CA, 4
setvar VAR_SPECIAL_4, 5
copyvar VAR_SPECIAL_5, VAR_SPECIAL_9
setvar VAR_SPECIAL_6, 1
call SlateportCity_PokemonFanClub_EventScript_1A00F3
lock
faceplayer
compare RESULT, 1
goto_if_eq SlateportCity_PokemonFanClub_EventScript_1ADEC3
compare RESULT, 0
goto_if_eq SlateportCity_PokemonFanClub_EventScript_1ADEB9
end
SlateportCity_PokemonFanClub_EventScript_1ADEB9:: @ 81ADEB9
msgbox SlateportCity_PokemonFanClub_Text_1A8667, 4
release
end
SlateportCity_PokemonFanClub_EventScript_1ADEC3:: @ 81ADEC3
msgbox SlateportCity_PokemonFanClub_Text_1A8818, 4
setvar VAR_SPECIAL_5, 1
goto SlateportCity_PokemonFanClub_EventScript_1ADE46
end
SlateportCity_PokemonFanClub_EventScript_1ADED6:: @ 81ADED6
msgbox SlateportCity_PokemonFanClub_Text_1A86B5, 4
release
end
SlateportCity_OceanicMuseum_1F_EventScript_1ADEE0:: @ 81ADEE0
lock
faceplayer
setvar VAR_SPECIAL_5, 2
special InterviewBefore
compare RESULT, 1
goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_1ADF96
copyvar VAR_SPECIAL_9, VAR_SPECIAL_6
goto_if_set FLAG_OCEANIC_MUSEUM_MET_REPORTER, SlateportCity_OceanicMuseum_1F_EventScript_1ADF25
setflag FLAG_OCEANIC_MUSEUM_MET_REPORTER
msgbox SlateportCity_OceanicMuseum_1F_Text_1A927F, MSGBOX_YESNO
compare RESULT, YES
goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_1ADF44
compare RESULT, NO
goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_1ADF79
end
SlateportCity_OceanicMuseum_1F_EventScript_1ADF25:: @ 81ADF25
msgbox SlateportCity_OceanicMuseum_1F_Text_1A934C, MSGBOX_YESNO
compare RESULT, YES
goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_1ADF44
compare RESULT, NO
goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_1ADF79
end
SlateportCity_OceanicMuseum_1F_EventScript_1ADF44:: @ 81ADF44
msgbox SlateportCity_OceanicMuseum_1F_Text_1A93D1, 4
setvar VAR_SPECIAL_4, 5
copyvar VAR_SPECIAL_5, VAR_SPECIAL_9
setvar VAR_SPECIAL_6, 0
call SlateportCity_OceanicMuseum_1F_EventScript_1A00F3
lock
faceplayer
compare RESULT, 1
goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_1ADF83
compare RESULT, 0
goto_if_eq SlateportCity_OceanicMuseum_1F_EventScript_1ADF79
end
SlateportCity_OceanicMuseum_1F_EventScript_1ADF79:: @ 81ADF79
msgbox SlateportCity_OceanicMuseum_1F_Text_1A9446, 4
release
end
SlateportCity_OceanicMuseum_1F_EventScript_1ADF83:: @ 81ADF83
msgbox SlateportCity_OceanicMuseum_1F_Text_1A949A, 4
setvar VAR_SPECIAL_5, 2
goto SlateportCity_OceanicMuseum_1F_EventScript_1ADE46
end
SlateportCity_OceanicMuseum_1F_EventScript_1ADF96:: @ 81ADF96
msgbox SlateportCity_OceanicMuseum_1F_Text_1A952E, 4
release
end
SlateportCity_PokemonFanClub_EventScript_1ADFA0:: @ 81ADFA0
lock
faceplayer
specialvar RESULT, LeadMonNicknamed
compare RESULT, 0
goto_if_eq SlateportCity_PokemonFanClub_EventScript_1ADE4D
setvar VAR_SPECIAL_5, 3
special InterviewBefore
compare RESULT, 1
goto_if_eq SlateportCity_PokemonFanClub_EventScript_1AE0AC
copyvar VAR_SPECIAL_9, VAR_SPECIAL_6
msgbox SlateportCity_PokemonFanClub_Text_1A82F1, MSGBOX_YESNO
compare RESULT, YES
goto_if_eq SlateportCity_PokemonFanClub_EventScript_1ADFE9
compare RESULT, NO
goto_if_eq SlateportCity_PokemonFanClub_EventScript_1AE0A2
end
SlateportCity_PokemonFanClub_EventScript_1ADFE9:: @ 81ADFE9
msgbox SlateportCity_PokemonFanClub_Text_1A83D0, 4
random 3
copyvar VAR_SPECIAL_A, RESULT
switch RESULT
case 0, SlateportCity_PokemonFanClub_EventScript_1AE020
case 1, SlateportCity_PokemonFanClub_EventScript_1AE02E
case 2, SlateportCity_PokemonFanClub_EventScript_1AE03C
end
SlateportCity_PokemonFanClub_EventScript_1AE020:: @ 81AE020
msgbox SlateportCity_PokemonFanClub_Text_1A8414, 4
goto SlateportCity_PokemonFanClub_EventScript_1AE04A
end
SlateportCity_PokemonFanClub_EventScript_1AE02E:: @ 81AE02E
msgbox SlateportCity_PokemonFanClub_Text_1A8470, 4
goto SlateportCity_PokemonFanClub_EventScript_1AE04A
end
SlateportCity_PokemonFanClub_EventScript_1AE03C:: @ 81AE03C
msgbox SlateportCity_PokemonFanClub_Text_1A84D5, 4
goto SlateportCity_PokemonFanClub_EventScript_1AE04A
end
SlateportCity_PokemonFanClub_EventScript_1AE04A:: @ 81AE04A
setvar VAR_SPECIAL_4, 7
copyvar VAR_SPECIAL_5, VAR_SPECIAL_9
setvar VAR_SPECIAL_6, 0
call SlateportCity_PokemonFanClub_EventScript_1A00F3
lock
faceplayer
compare RESULT, 0
goto_if_eq SlateportCity_PokemonFanClub_EventScript_1AE0A2
msgbox SlateportCity_PokemonFanClub_Text_1A852D, 4
setvar VAR_SPECIAL_6, 1
call SlateportCity_PokemonFanClub_EventScript_1A00F3
lock
faceplayer
compare RESULT, 0
goto_if_eq SlateportCity_PokemonFanClub_EventScript_1AE0A2
msgbox SlateportCity_PokemonFanClub_Text_1A85A6, 4
copyvar VAR_SPECIAL_7, VAR_SPECIAL_A
setvar VAR_SPECIAL_5, 3
goto SlateportCity_PokemonFanClub_EventScript_1ADE46
end
SlateportCity_PokemonFanClub_EventScript_1AE0A2:: @ 81AE0A2
msgbox SlateportCity_PokemonFanClub_Text_1A8667, 4
release
end
SlateportCity_PokemonFanClub_EventScript_1AE0AC:: @ 81AE0AC
msgbox SlateportCity_PokemonFanClub_Text_1A86B5, 4
release
end
FallarborTown_ContestLobby_EventScript_1AE0B6:: @ 81AE0B6
LilycoveCity_ContestLobby_EventScript_1AE0B6:: @ 81AE0B6
SlateportCity_ContestLobby_EventScript_1AE0B6:: @ 81AE0B6
VerdanturfTown_ContestLobby_EventScript_1AE0B6:: @ 81AE0B6
lock
faceplayer
goto_if_set FLAG_TEMP_2, FallarborTown_ContestLobby_EventScript_1AE17E
setvar VAR_SPECIAL_5, 6
special InterviewBefore
compare RESULT, 1
goto_if_eq FallarborTown_ContestLobby_EventScript_1AE17E
copyvar VAR_SPECIAL_9, VAR_SPECIAL_6
msgbox FallarborTown_ContestLobby_Text_1A6F7C, MSGBOX_YESNO
compare RESULT, YES
goto_if_eq FallarborTown_ContestLobby_EventScript_1AE0F8
compare RESULT, NO
goto_if_eq FallarborTown_ContestLobby_EventScript_1AE12D
end
FallarborTown_ContestLobby_EventScript_1AE0F8:: @ 81AE0F8
msgbox FallarborTown_ContestLobby_Text_1A704E, 4
setvar VAR_SPECIAL_4, 11
copyvar VAR_SPECIAL_5, VAR_SPECIAL_9
setvar VAR_SPECIAL_6, 0
call FallarborTown_ContestLobby_EventScript_1A00F3
lock
faceplayer
compare RESULT, 1
goto_if_eq FallarborTown_ContestLobby_EventScript_1AE137
compare RESULT, 0
goto_if_eq FallarborTown_ContestLobby_EventScript_1AE12D
end
FallarborTown_ContestLobby_EventScript_1AE12D:: @ 81AE12D
msgbox FallarborTown_ContestLobby_Text_1A7256, 4
release
end
FallarborTown_ContestLobby_EventScript_1AE137:: @ 81AE137
setvar VAR_SPECIAL_4, 24
special SetContestCategoryStringVarForInterview
msgbox FallarborTown_ContestLobby_Text_1A70A5, 4
setvar VAR_SPECIAL_4, 11
copyvar VAR_SPECIAL_5, VAR_SPECIAL_9
setvar VAR_SPECIAL_6, 1
call FallarborTown_ContestLobby_EventScript_1A00F3
lock
faceplayer
compare RESULT, 0
goto_if_eq FallarborTown_ContestLobby_EventScript_1AE12D
msgbox FallarborTown_ContestLobby_Text_1A7153, 4
setflag FLAG_TEMP_2
setvar VAR_SPECIAL_5, 6
goto FallarborTown_ContestLobby_EventScript_1ADE46
end
FallarborTown_ContestLobby_EventScript_1AE17E:: @ 81AE17E
msgbox FallarborTown_ContestLobby_Text_1A72A8, 4
release
end
FallarborTown_ContestLobby_EventScript_1AE188:: @ 81AE188
LilycoveCity_ContestLobby_EventScript_1AE188:: @ 81AE188
SlateportCity_ContestLobby_EventScript_1AE188:: @ 81AE188
VerdanturfTown_ContestLobby_EventScript_1AE188:: @ 81AE188
compare VAR_LINK_CONTEST_ROOM_STATE, 2
goto_if_ne FallarborTown_ContestLobby_EventScript_1AE1FE
setvar VAR_SPECIAL_5, 6
special InterviewBefore
compare RESULT, 1
goto_if_eq FallarborTown_ContestLobby_EventScript_1AE1FE
switch VAR_CONTEST_LOCATION
case 0, FallarborTown_ContestLobby_EventScript_1AE1FE
case 2, FallarborTown_ContestLobby_EventScript_1AE1EE
case 1, FallarborTown_ContestLobby_EventScript_1AE1F2
case 3, FallarborTown_ContestLobby_EventScript_1AE1F6
case 4, FallarborTown_ContestLobby_EventScript_1AE1FA
case 5, FallarborTown_ContestLobby_EventScript_1AE1FE
end
FallarborTown_ContestLobby_EventScript_1AE1EE:: @ 81AE1EE
clearflag FLAG_HIDE_CONTEST_REPORTER_FALLARBOR
return
FallarborTown_ContestLobby_EventScript_1AE1F2:: @ 81AE1F2
clearflag FLAG_HIDE_CONTEST_REPORTER_VERDANTURF
return
FallarborTown_ContestLobby_EventScript_1AE1F6:: @ 81AE1F6
clearflag FLAG_HIDE_CONTEST_REPORTER_SLATEPORT
return
FallarborTown_ContestLobby_EventScript_1AE1FA:: @ 81AE1FA
clearflag FLAG_HIDE_CONTEST_REPORTER_LILYCOVE
return
FallarborTown_ContestLobby_EventScript_1AE1FE:: @ 81AE1FE
return
BattleTower_Lobby_EventScript_1AE1FF:: @ 81AE1FF
lock
faceplayer
goto_if_set FLAG_TEMP_2, BattleTower_Lobby_EventScript_1AE2E3
setvar VAR_SPECIAL_5, 7
special InterviewBefore
compare RESULT, 1
goto_if_eq BattleTower_Lobby_EventScript_1AE2E3
copyvar VAR_SPECIAL_9, VAR_SPECIAL_6
msgbox BattleTower_Lobby_Text_1A776D, MSGBOX_YESNO
compare RESULT, YES
goto_if_eq BattleTower_Lobby_EventScript_1AE241
compare RESULT, NO
goto_if_eq BattleTower_Lobby_EventScript_1AE297
end
BattleTower_Lobby_EventScript_1AE241:: @ 81AE241
message BattleTower_Lobby_Text_1A7823
waitmessage
multichoice 19, 8, 45, 1
copyvar VAR_SPECIAL_8, RESULT
compare RESULT, 0
call_if_eq BattleTower_Lobby_EventScript_1AE2A1
compare RESULT, 1
call_if_eq BattleTower_Lobby_EventScript_1AE2AA
msgbox BattleTower_Lobby_Text_1A79EB, 4
setvar VAR_SPECIAL_4, 12
copyvar VAR_SPECIAL_5, VAR_SPECIAL_9
call BattleTower_Lobby_EventScript_1A00F3
lock
faceplayer
compare RESULT, 1
goto_if_eq BattleTower_Lobby_EventScript_1AE2B3
compare RESULT, 0
goto_if_eq BattleTower_Lobby_EventScript_1AE2D9
end
BattleTower_Lobby_EventScript_1AE297:: @ 81AE297
msgbox BattleTower_Lobby_Text_1A78B7, 4
release
end
BattleTower_Lobby_EventScript_1AE2A1:: @ 81AE2A1
msgbox BattleTower_Lobby_Text_1A791B, 4
return
BattleTower_Lobby_EventScript_1AE2AA:: @ 81AE2AA
msgbox BattleTower_Lobby_Text_1A7990, 4
return
BattleTower_Lobby_EventScript_1AE2B3:: @ 81AE2B3
compare RESULT, 0
goto_if_eq BattleTower_Lobby_EventScript_1AE2D9
msgbox BattleTower_Lobby_Text_1A7A6E, 4
setflag FLAG_TEMP_2
copyvar VAR_SPECIAL_4, VAR_SPECIAL_8
setvar VAR_SPECIAL_5, 7
goto BattleTower_Lobby_EventScript_1ADE46
end
BattleTower_Lobby_EventScript_1AE2D9:: @ 81AE2D9
msgbox BattleTower_Lobby_Text_1A7AE0, 4
release
end
BattleTower_Lobby_EventScript_1AE2E3:: @ 81AE2E3
msgbox BattleTower_Lobby_Text_1A7B66, 4
release
end
BattleTower_Lobby_EventScript_1AE2ED:: @ 81AE2ED
compare VAR_BRAVO_TRAINER_BATTLE_TOWER_ON, 0
goto_if_eq BattleTower_Lobby_EventScript_1AE30F
setvar VAR_SPECIAL_5, 7
special InterviewBefore
compare RESULT, 1
goto_if_eq BattleTower_Lobby_EventScript_1AE30F
clearflag FLAG_HIDE_REPORTER_BATTLE_TOWER
return
BattleTower_Lobby_EventScript_1AE30F:: @ 81AE30F
setflag FLAG_HIDE_REPORTER_BATTLE_TOWER
return
.include "data/scripts/gabby_and_ty.inc"
.include "data/scripts/mauville_man.inc"
.include "data/field_move_scripts.inc"
.include "data/item_ball_scripts.inc"
.include "data/scripts/mystery_event_club.inc"
.include "data/text/mystery_event_club.inc"
.include "data/scripts/day_care.inc"
.include "data/text/day_care.inc"
.include "data/scripts/magma_chimney.inc"
.include "data/scripts/magma_summit.inc"
.include "data/text/aqua_chimney.inc"
.include "data/text/magma_chimney.inc"
.include "data/text/aqua_awakening.inc"
.include "data/text/magma_awakening.inc"
.include "data/text/aqua_settled.inc"
.include "data/text/magma_settled.inc"
.include "data/text/aqua_summit.inc"
.include "data/text/magma_summit.inc"
gUnknown_081B694A:: @ 81B694A
animateflash 1
setflashradius 1
end
.include "data/scripts/players_house.inc"
S_RunningShoesManual:: @ 81B6E5A
msgbox UnknownString_81728E3, 3
end
.include "data/text/pokeblocks.inc"
.include "data/scripts/pokeblocks.inc"
.include "data/text/trainers.inc"
S_RepelWoreOff:: @ 81C33E6
msgbox Text_RepelWoreOff, 3
end
Text_RepelWoreOff: @ 81C33EF
.string "SCHUTZ wirkt nicht mehr...$"
.include "data/scripts/safari_zone.inc"
.include "data/text/safari_zone.inc"
MauvilleCity_GameCorner_EventScript_1C407E:: @ 81C407E
checkitem ITEM_COIN_CASE, 1
compare RESULT, 0
goto_if_eq MauvilleCity_GameCorner_EventScript_1572B5
setvar VAR_SPECIAL_4, 0
getpricereduction 2
compare RESULT, 0
goto_if_eq MauvilleCity_GameCorner_EventScript_1C40DA
addvar VAR_SPECIAL_4, 128
goto MauvilleCity_GameCorner_EventScript_1C40DA
end
MauvilleCity_GameCorner_EventScript_1C40AC:: @ 81C40AC
checkitem ITEM_COIN_CASE, 1
compare RESULT, 0
goto_if_eq MauvilleCity_GameCorner_EventScript_1572B5
setvar VAR_SPECIAL_4, 1
getpricereduction 2
compare RESULT, 0
goto_if_eq MauvilleCity_GameCorner_EventScript_1C40DA
addvar VAR_SPECIAL_4, 128
goto MauvilleCity_GameCorner_EventScript_1C40DA
end
MauvilleCity_GameCorner_EventScript_1C40DA:: @ 81C40DA
special PlayRoulette
waitstate
end
.include "data/text/roulette.inc"
.include "data/text/barboach.inc"
.include "data/text/pokedex_rating.inc"
.include "data/text/lottery_corner.inc"
.include "data/text/eon_ticket.inc"
.include "data/text/braille.inc"
.include "data/text/berries.inc"
.include "data/text/shoal_cave.inc"
PictureBookShelfText: @ 81C6A69
.string "Eine Sammlung von POKéMON-Büchern.$"
BookshelfText: @ 81C6A91
.string "Hier stehen jede Menge Bücher.$"
PokemonCenterBookshelfText: @ 81C6AB6
.string "POKéMON-Magazine!\n"
.string "DER POKéMON FREUND...\p"
.string "POKéMON HANDBUCH...\n"
.string "GELIEBTE POKéMON...$"
VaseText: @ 81C6B00
.string "Diese Vase sieht sehr teuer aus...\n"
.string "Schauen wir mal hinein...\p"
.string "Och, sie ist leer.$"
TrashCanText: @ 81C6B41
.string "Leer...$"
ShopShelfText: @ 81C6B4D
.string "Die Regale biegen sich unter dem\n"
.string "Gewicht von POKéMON-Artikeln.$"
BlueprintText: @ 81C6B85
.string "Sind das Blaupausen?\n"
.string "Die sind zu kompliziert zu lesen.$"
GraniteCave_B1F_MapScript2_1C6BB5:: @ 81C6BB5
MtPyre_2F_MapScript2_1C6BB5:: @ 81C6BB5
SkyPillar_2F_MapScript2_1C6BB5:: @ 81C6BB5
SkyPillar_4F_MapScript2_1C6BB5:: @ 81C6BB5
map_script_2 VAR_ICE_STEP_COUNT, 0, S_FallDownHole
.2byte 0
GraniteCave_B1F_MapScript1_1C6BBF:: @ 81C6BBF
MtPyre_2F_MapScript1_1C6BBF:: @ 81C6BBF
SkyPillar_2F_MapScript1_1C6BBF:: @ 81C6BBF
SkyPillar_4F_MapScript1_1C6BBF:: @ 81C6BBF
copyvar VAR_ICE_STEP_COUNT, 0x1
end
S_FallDownHole:: @ 81C6BC5
lockall
delay 20
applymovement 255, GraniteCave_B1F_Movement_1C6BF7
waitmovement 0
playse SE_RU_HYUU
delay 60
warphole MAP_UNDEFINED
waitstate
end
gUnknown_081C6BDE:: @ 81C6BDE
lockall
delay 20
applymovement 255, GraniteCave_B1F_Movement_1C6BF7
waitmovement 0
playse SE_RU_HYUU
delay 60
special sp13F_fall_to_last_warp
waitstate
end
GraniteCave_B1F_Movement_1C6BF7:: @ 81C6BF7
step_54
step_end
@ 81C6BF9
msgbox Text_1C6C2B, 2
end
gUnknown_081C6C02:: @ 81C6C02
msgbox Text_1C6C4B, 3
end
@ 81C6C0B
end
@ 81C6C0C
msgbox Text_1C6C62, 3
end
@ 81C6C15
lockall
call LittlerootTown_BrendansHouse_2F_EventScript_1B6A9B
releaseall
end
@ 81C6C1D
lockall
braillemessage Underwater_SealedChamber_Braille_1C533D
waitbuttonpress
erasebox 0, 0, 29, 19
releaseall
end
Text_1C6C2B: @ 81C6C2B
@ This is a test message!
@ Welcome to the world of Pokémon!
.string "テストよう メッセージです!\n"
.string "ポケモンの せかいへ ようこそ!$"
Text_1C6C4B: @ 81C6C4B
@ This is a test message!
@ This is a sign.
.string "テストよう メッセージです!\n"
.string "かんばん です$"
Text_1C6C62: @ 81C6C62
@ This is a test message!
@ This is a coordinate-check event.
.string "テストよう メッセージです!\n"
.string "ざひょう チェックの イベントです$"
@ 81C6C84
@ object file boundary?
.align 2
.string "$"
.include "data/text/save.inc"
.include "data/text/birch_speech.inc"
|