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
|
.include "asm/macros.inc"
.include "constants/constants.inc"
.syntax unified
.text
thumb_func_start sub_8059AF0
sub_8059AF0: @ 8059AF0
movs r0, 0x1
bx lr
thumb_func_end sub_8059AF0
thumb_func_start MetatileBehavior_IsJumpEast
MetatileBehavior_IsJumpEast: @ 8059AF4
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x38
beq _08059B02
movs r0, 0
b _08059B04
_08059B02:
movs r0, 0x1
_08059B04:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsJumpEast
thumb_func_start MetatileBehavior_IsJumpWest
MetatileBehavior_IsJumpWest: @ 8059B08
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x39
beq _08059B16
movs r0, 0
b _08059B18
_08059B16:
movs r0, 0x1
_08059B18:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsJumpWest
thumb_func_start MetatileBehavior_IsJumpNorth
MetatileBehavior_IsJumpNorth: @ 8059B1C
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x3A
beq _08059B2A
movs r0, 0
b _08059B2C
_08059B2A:
movs r0, 0x1
_08059B2C:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsJumpNorth
thumb_func_start MetatileBehavior_IsJumpSouth
MetatileBehavior_IsJumpSouth: @ 8059B30
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x3B
beq _08059B3E
movs r0, 0
b _08059B40
_08059B3E:
movs r0, 0x1
_08059B40:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsJumpSouth
thumb_func_start sub_8059B44
sub_8059B44: @ 8059B44
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x2
beq _08059B52
cmp r0, 0xD1
bne _08059B56
_08059B52:
movs r0, 0x1
b _08059B58
_08059B56:
movs r0, 0
_08059B58:
pop {r1}
bx r1
thumb_func_end sub_8059B44
thumb_func_start sub_8059B5C
sub_8059B5C: @ 8059B5C
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x21
beq _08059B6A
cmp r0, 0x2B
bne _08059B6E
_08059B6A:
movs r0, 0x1
b _08059B70
_08059B6E:
movs r0, 0
_08059B70:
pop {r1}
bx r1
thumb_func_end sub_8059B5C
thumb_func_start sub_8059B74
sub_8059B74: @ 8059B74
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x21
beq _08059B82
cmp r0, 0x17
bne _08059B86
_08059B82:
movs r0, 0x1
b _08059B88
_08059B86:
movs r0, 0
_08059B88:
pop {r1}
bx r1
thumb_func_end sub_8059B74
thumb_func_start sub_8059B8C
sub_8059B8C: @ 8059B8C
movs r0, 0
bx lr
thumb_func_end sub_8059B8C
thumb_func_start sub_8059B90
sub_8059B90: @ 8059B90
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x10
beq _08059BAA
cmp r0, 0x16
beq _08059BAA
cmp r0, 0x1A
beq _08059BAA
cmp r0, 0x1B
beq _08059BAA
cmp r0, 0x23
bne _08059BAE
_08059BAA:
movs r0, 0x1
b _08059BB0
_08059BAE:
movs r0, 0
_08059BB0:
pop {r1}
bx r1
thumb_func_end sub_8059B90
thumb_func_start MetatileBehavior_IsIce
MetatileBehavior_IsIce: @ 8059BB4
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x23
beq _08059BC2
movs r0, 0
b _08059BC4
_08059BC2:
movs r0, 0x1
_08059BC4:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsIce
thumb_func_start MetatileBehavior_IsWarpDoor
MetatileBehavior_IsWarpDoor: @ 8059BC8
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x69
beq _08059BD6
movs r0, 0
b _08059BD8
_08059BD6:
movs r0, 0x1
_08059BD8:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsWarpDoor
thumb_func_start sub_8059BDC
sub_8059BDC: @ 8059BDC
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x69
beq _08059BEA
movs r0, 0
b _08059BEC
_08059BEA:
movs r0, 0x1
_08059BEC:
pop {r1}
bx r1
thumb_func_end sub_8059BDC
thumb_func_start sub_8059BF0
sub_8059BF0: @ 8059BF0
push {lr}
lsls r0, 24
movs r1, 0x96
lsls r1, 24
adds r0, r1
lsrs r0, 24
cmp r0, 0x1
bls _08059C04
movs r0, 0
b _08059C06
_08059C04:
movs r0, 0x1
_08059C06:
pop {r1}
bx r1
thumb_func_end sub_8059BF0
thumb_func_start sub_8059C0C
sub_8059C0C: @ 8059C0C
push {lr}
lsls r0, 24
lsrs r0, 24
movs r1, 0
cmp r0, 0x6C
bne _08059C1A
movs r1, 0x1
_08059C1A:
adds r0, r1, 0
pop {r1}
bx r1
thumb_func_end sub_8059C0C
thumb_func_start sub_8059C20
sub_8059C20: @ 8059C20
push {lr}
lsls r0, 24
lsrs r0, 24
movs r1, 0
cmp r0, 0x6D
bne _08059C2E
movs r1, 0x1
_08059C2E:
adds r0, r1, 0
pop {r1}
bx r1
thumb_func_end sub_8059C20
thumb_func_start sub_8059C34
sub_8059C34: @ 8059C34
push {lr}
lsls r0, 24
lsrs r0, 24
movs r1, 0
cmp r0, 0x6E
bne _08059C42
movs r1, 0x1
_08059C42:
adds r0, r1, 0
pop {r1}
bx r1
thumb_func_end sub_8059C34
thumb_func_start sub_8059C48
sub_8059C48: @ 8059C48
push {lr}
lsls r0, 24
lsrs r0, 24
movs r1, 0
cmp r0, 0x6F
bne _08059C56
movs r1, 0x1
_08059C56:
adds r0, r1, 0
pop {r1}
bx r1
thumb_func_end sub_8059C48
thumb_func_start sub_8059C5C
sub_8059C5C: @ 8059C5C
push {lr}
lsls r0, 24
movs r1, 0
movs r2, 0x94
lsls r2, 24
adds r0, r2
lsrs r0, 24
cmp r0, 0x3
bhi _08059C70
movs r1, 0x1
_08059C70:
adds r0, r1, 0
pop {r1}
bx r1
thumb_func_end sub_8059C5C
thumb_func_start sub_8059C78
sub_8059C78: @ 8059C78
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x61
beq _08059C86
movs r0, 0
b _08059C88
_08059C86:
movs r0, 0x1
_08059C88:
pop {r1}
bx r1
thumb_func_end sub_8059C78
thumb_func_start sub_8059C8C
sub_8059C8C: @ 8059C8C
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x60
beq _08059C9A
movs r0, 0
b _08059C9C
_08059C9A:
movs r0, 0x1
_08059C9C:
pop {r1}
bx r1
thumb_func_end sub_8059C8C
thumb_func_start sub_8059CA0
sub_8059CA0: @ 8059CA0
movs r0, 0
bx lr
thumb_func_end sub_8059CA0
thumb_func_start sub_8059CA4
sub_8059CA4: @ 8059CA4
push {lr}
lsls r0, 24
lsrs r0, 24
ldr r1, _08059CBC @ =gUnknown_8352F78
adds r0, r1
ldrb r1, [r0]
movs r0, 0x1
ands r0, r1
cmp r0, 0
bne _08059CC0
movs r0, 0
b _08059CC2
.align 2, 0
_08059CBC: .4byte gUnknown_8352F78
_08059CC0:
movs r0, 0x1
_08059CC2:
pop {r1}
bx r1
thumb_func_end sub_8059CA4
thumb_func_start sub_8059CC8
sub_8059CC8: @ 8059CC8
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x11
beq _08059CD6
movs r0, 0
b _08059CD8
_08059CD6:
movs r0, 0x1
_08059CD8:
pop {r1}
bx r1
thumb_func_end sub_8059CC8
thumb_func_start MetatileBehavior_IsEastArrowWarp
MetatileBehavior_IsEastArrowWarp: @ 8059CDC
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x62
beq _08059CEA
movs r0, 0
b _08059CEC
_08059CEA:
movs r0, 0x1
_08059CEC:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsEastArrowWarp
thumb_func_start MetatileBehavior_IsWestArrowWarp
MetatileBehavior_IsWestArrowWarp: @ 8059CF0
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x63
beq _08059CFE
movs r0, 0
b _08059D00
_08059CFE:
movs r0, 0x1
_08059D00:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsWestArrowWarp
thumb_func_start sub_8059D04
sub_8059D04: @ 8059D04
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x64
beq _08059D12
movs r0, 0
b _08059D14
_08059D12:
movs r0, 0x1
_08059D14:
pop {r1}
bx r1
thumb_func_end sub_8059D04
thumb_func_start sub_8059D18
sub_8059D18: @ 8059D18
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x65
beq _08059D26
movs r0, 0
b _08059D28
_08059D26:
movs r0, 0x1
_08059D28:
pop {r1}
bx r1
thumb_func_end sub_8059D18
thumb_func_start sub_8059D2C
sub_8059D2C: @ 8059D2C
push {r4,r5,lr}
lsls r0, 24
lsrs r4, r0, 24
movs r5, 0
adds r0, r4, 0
bl MetatileBehavior_IsEastArrowWarp
lsls r0, 24
cmp r0, 0
bne _08059D64
adds r0, r4, 0
bl MetatileBehavior_IsWestArrowWarp
lsls r0, 24
cmp r0, 0
bne _08059D64
adds r0, r4, 0
bl sub_8059D04
lsls r0, 24
cmp r0, 0
bne _08059D64
adds r0, r4, 0
bl sub_8059D18
lsls r0, 24
cmp r0, 0
beq _08059D66
_08059D64:
movs r5, 0x1
_08059D66:
adds r0, r5, 0
pop {r4,r5}
pop {r1}
bx r1
thumb_func_end sub_8059D2C
thumb_func_start sub_8059D70
sub_8059D70: @ 8059D70
push {lr}
lsls r0, 24
lsrs r1, r0, 24
movs r2, 0xC0
lsls r2, 24
adds r0, r2
lsrs r0, 24
cmp r0, 0x8
bls _08059DA2
adds r0, r1, 0
subs r0, 0x50
lsls r0, 24
lsrs r0, 24
cmp r0, 0x3
bls _08059DA2
cmp r1, 0x13
beq _08059DA2
cmp r1, 0x23
beq _08059DA2
adds r0, r1, 0
subs r0, 0x54
lsls r0, 24
lsrs r0, 24
cmp r0, 0x3
bhi _08059DA6
_08059DA2:
movs r0, 0x1
b _08059DA8
_08059DA6:
movs r0, 0
_08059DA8:
pop {r1}
bx r1
thumb_func_end sub_8059D70
thumb_func_start sub_8059DAC
sub_8059DAC: @ 8059DAC
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x23
beq _08059DBA
movs r0, 0
b _08059DBC
_08059DBA:
movs r0, 0x1
_08059DBC:
pop {r1}
bx r1
thumb_func_end sub_8059DAC
thumb_func_start sub_8059DC0
sub_8059DC0: @ 8059DC0
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x48
beq _08059DCE
movs r0, 0
b _08059DD0
_08059DCE:
movs r0, 0x1
_08059DD0:
pop {r1}
bx r1
thumb_func_end sub_8059DC0
thumb_func_start MetatileBehavior_IsWalkNorth
MetatileBehavior_IsWalkNorth: @ 8059DD4
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x42
beq _08059DE2
movs r0, 0
b _08059DE4
_08059DE2:
movs r0, 0x1
_08059DE4:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsWalkNorth
thumb_func_start MetatileBehavior_IsWalkSouth
MetatileBehavior_IsWalkSouth: @ 8059DE8
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x43
beq _08059DF6
movs r0, 0
b _08059DF8
_08059DF6:
movs r0, 0x1
_08059DF8:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsWalkSouth
thumb_func_start MetatileBehavior_IsWalkWest
MetatileBehavior_IsWalkWest: @ 8059DFC
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x41
beq _08059E0A
movs r0, 0
b _08059E0C
_08059E0A:
movs r0, 0x1
_08059E0C:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsWalkWest
thumb_func_start MetatileBehavior_IsWalkEast
MetatileBehavior_IsWalkEast: @ 8059E10
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x40
beq _08059E1E
movs r0, 0
b _08059E20
_08059E1E:
movs r0, 0x1
_08059E20:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsWalkEast
thumb_func_start MetatileBehavior_IsNorthwardCurrent
MetatileBehavior_IsNorthwardCurrent: @ 8059E24
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x52
beq _08059E32
movs r0, 0
b _08059E34
_08059E32:
movs r0, 0x1
_08059E34:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsNorthwardCurrent
thumb_func_start MetatileBehavior_IsSouthwardCurrent
MetatileBehavior_IsSouthwardCurrent: @ 8059E38
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x53
beq _08059E46
movs r0, 0
b _08059E48
_08059E46:
movs r0, 0x1
_08059E48:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsSouthwardCurrent
thumb_func_start MetatileBehavior_IsWestwardCurrent
MetatileBehavior_IsWestwardCurrent: @ 8059E4C
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x51
beq _08059E5A
movs r0, 0
b _08059E5C
_08059E5A:
movs r0, 0x1
_08059E5C:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsWestwardCurrent
thumb_func_start MetatileBehavior_IsEastwardCurrent
MetatileBehavior_IsEastwardCurrent: @ 8059E60
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x50
beq _08059E6E
movs r0, 0
b _08059E70
_08059E6E:
movs r0, 0x1
_08059E70:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsEastwardCurrent
thumb_func_start MetatileBehavior_IsSlideNorth
MetatileBehavior_IsSlideNorth: @ 8059E74
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x46
beq _08059E82
movs r0, 0
b _08059E84
_08059E82:
movs r0, 0x1
_08059E84:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsSlideNorth
thumb_func_start MetatileBehavior_IsSlideSouth
MetatileBehavior_IsSlideSouth: @ 8059E88
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x47
beq _08059E96
movs r0, 0
b _08059E98
_08059E96:
movs r0, 0x1
_08059E98:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsSlideSouth
thumb_func_start MetatileBehavior_IsSlideWest
MetatileBehavior_IsSlideWest: @ 8059E9C
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x45
beq _08059EAA
movs r0, 0
b _08059EAC
_08059EAA:
movs r0, 0x1
_08059EAC:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsSlideWest
thumb_func_start MetatileBehavior_IsSlideEast
MetatileBehavior_IsSlideEast: @ 8059EB0
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x44
beq _08059EBE
movs r0, 0
b _08059EC0
_08059EBE:
movs r0, 0x1
_08059EC0:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsSlideEast
thumb_func_start MetatileBehavior_IsCounter
MetatileBehavior_IsCounter: @ 8059EC4
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x80
beq _08059ED2
movs r0, 0
b _08059ED4
_08059ED2:
movs r0, 0x1
_08059ED4:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsCounter
thumb_func_start MetatileBehavior_IsPlayerFacingTVScreen
MetatileBehavior_IsPlayerFacingTVScreen: @ 8059ED8
push {lr}
lsls r0, 24
lsrs r0, 24
lsls r1, 24
lsrs r1, 24
cmp r1, 0x2
bne _08059EEA
cmp r0, 0x86
beq _08059EEE
_08059EEA:
movs r0, 0
b _08059EF0
_08059EEE:
movs r0, 0x1
_08059EF0:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsPlayerFacingTVScreen
thumb_func_start MetatileBehavior_IsPC
MetatileBehavior_IsPC: @ 8059EF4
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x83
beq _08059F02
movs r0, 0
b _08059F04
_08059F02:
movs r0, 0x1
_08059F04:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsPC
thumb_func_start sub_8059F08
sub_8059F08: @ 8059F08
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x10
beq _08059F16
cmp r0, 0x16
bne _08059F1A
_08059F16:
movs r0, 0x1
b _08059F1C
_08059F1A:
movs r0, 0
_08059F1C:
pop {r1}
bx r1
thumb_func_end sub_8059F08
thumb_func_start sub_8059F20
sub_8059F20: @ 8059F20
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x16
beq _08059F2E
movs r0, 0
b _08059F30
_08059F2E:
movs r0, 0x1
_08059F30:
pop {r1}
bx r1
thumb_func_end sub_8059F20
thumb_func_start sub_8059F34
sub_8059F34: @ 8059F34
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x2
beq _08059F42
cmp r0, 0xD1
bne _08059F46
_08059F42:
movs r0, 0x1
b _08059F48
_08059F46:
movs r0, 0
_08059F48:
pop {r1}
bx r1
thumb_func_end sub_8059F34
thumb_func_start sub_8059F4C
sub_8059F4C: @ 8059F4C
movs r0, 0
bx lr
thumb_func_end sub_8059F4C
thumb_func_start sub_8059F50
sub_8059F50: @ 8059F50
movs r0, 0
bx lr
thumb_func_end sub_8059F50
thumb_func_start sub_8059F54
sub_8059F54: @ 8059F54
movs r0, 0
bx lr
thumb_func_end sub_8059F54
thumb_func_start sub_8059F58
sub_8059F58: @ 8059F58
movs r0, 0
bx lr
thumb_func_end sub_8059F58
thumb_func_start sub_8059F5C
sub_8059F5C: @ 8059F5C
movs r0, 0
bx lr
thumb_func_end sub_8059F5C
thumb_func_start sub_8059F60
sub_8059F60: @ 8059F60
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x1
beq _08059F6E
movs r0, 0
b _08059F70
_08059F6E:
movs r0, 0x1
_08059F70:
pop {r1}
bx r1
thumb_func_end sub_8059F60
thumb_func_start sub_8059F74
sub_8059F74: @ 8059F74
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x2
beq _08059F82
movs r0, 0
b _08059F84
_08059F82:
movs r0, 0x1
_08059F84:
pop {r1}
bx r1
thumb_func_end sub_8059F74
thumb_func_start MetatileBehavior_IsMB_0B
MetatileBehavior_IsMB_0B: @ 8059F88
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0xB
beq _08059F96
movs r0, 0
b _08059F98
_08059F96:
movs r0, 0x1
_08059F98:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsMB_0B
thumb_func_start MetatileBehavior_IsMountain
MetatileBehavior_IsMountain: @ 8059F9C
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0xC
beq _08059FAA
movs r0, 0
b _08059FAC
_08059FAA:
movs r0, 0x1
_08059FAC:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsMountain
thumb_func_start sub_8059FB0
sub_8059FB0: @ 8059FB0
push {lr}
lsls r0, 24
movs r1, 0xEF
lsls r1, 24
adds r0, r1
lsrs r0, 24
cmp r0, 0x1
bls _08059FC4
movs r0, 0
b _08059FC6
_08059FC4:
movs r0, 0x1
_08059FC6:
pop {r1}
bx r1
thumb_func_end sub_8059FB0
thumb_func_start sub_8059FCC
sub_8059FCC: @ 8059FCC
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x19
beq _08059FDA
movs r0, 0
b _08059FDC
_08059FDA:
movs r0, 0x1
_08059FDC:
pop {r1}
bx r1
thumb_func_end sub_8059FCC
thumb_func_start sub_8059FE0
sub_8059FE0: @ 8059FE0
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x17
beq _08059FEE
movs r0, 0
b _08059FF0
_08059FEE:
movs r0, 0x1
_08059FF0:
pop {r1}
bx r1
thumb_func_end sub_8059FE0
thumb_func_start MetatileBehavior_IsThinIce
MetatileBehavior_IsThinIce: @ 8059FF4
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x26
beq _0805A002
movs r0, 0
b _0805A004
_0805A002:
movs r0, 0x1
_0805A004:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsThinIce
thumb_func_start MetatileBehavior_IsCrackedIce
MetatileBehavior_IsCrackedIce: @ 805A008
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x27
beq _0805A016
movs r0, 0
b _0805A018
_0805A016:
movs r0, 0x1
_0805A018:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsCrackedIce
thumb_func_start sub_805A01C
sub_805A01C: @ 805A01C
push {lr}
lsls r0, 24
lsrs r1, r0, 24
movs r2, 0xEF
lsls r2, 24
adds r0, r2
lsrs r0, 24
cmp r0, 0x1
bls _0805A032
cmp r1, 0x15
bne _0805A036
_0805A032:
movs r0, 0x1
b _0805A038
_0805A036:
movs r0, 0
_0805A038:
pop {r1}
bx r1
thumb_func_end sub_805A01C
thumb_func_start sub_805A03C
sub_805A03C: @ 805A03C
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x1A
beq _0805A04A
movs r0, 0
b _0805A04C
_0805A04A:
movs r0, 0x1
_0805A04C:
pop {r1}
bx r1
thumb_func_end sub_805A03C
thumb_func_start MetatileBehavior_IsSurfableAndNotWaterfall
MetatileBehavior_IsSurfableAndNotWaterfall: @ 805A050
push {r4,lr}
lsls r0, 24
lsrs r4, r0, 24
adds r0, r4, 0
bl sub_8059CA4
lsls r0, 24
cmp r0, 0
beq _0805A072
adds r0, r4, 0
bl MetatileBehavior_IsWaterfall
lsls r0, 24
cmp r0, 0
bne _0805A072
movs r0, 0x1
b _0805A074
_0805A072:
movs r0, 0
_0805A074:
pop {r4}
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsSurfableAndNotWaterfall
thumb_func_start sub_805A07C
sub_805A07C: @ 805A07C
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x30
beq _0805A08E
cmp r0, 0x34
beq _0805A08E
cmp r0, 0x36
bne _0805A092
_0805A08E:
movs r0, 0x1
b _0805A094
_0805A092:
movs r0, 0
_0805A094:
pop {r1}
bx r1
thumb_func_end sub_805A07C
thumb_func_start sub_805A098
sub_805A098: @ 805A098
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x31
beq _0805A0AA
cmp r0, 0x35
beq _0805A0AA
cmp r0, 0x37
bne _0805A0AE
_0805A0AA:
movs r0, 0x1
b _0805A0B0
_0805A0AE:
movs r0, 0
_0805A0B0:
pop {r1}
bx r1
thumb_func_end sub_805A098
thumb_func_start sub_805A0B4
sub_805A0B4: @ 805A0B4
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x32
beq _0805A0C6
cmp r0, 0x34
beq _0805A0C6
cmp r0, 0x35
bne _0805A0CA
_0805A0C6:
movs r0, 0x1
b _0805A0CC
_0805A0CA:
movs r0, 0
_0805A0CC:
pop {r1}
bx r1
thumb_func_end sub_805A0B4
thumb_func_start sub_805A0D0
sub_805A0D0: @ 805A0D0
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x33
beq _0805A0E2
cmp r0, 0x36
beq _0805A0E2
cmp r0, 0x37
bne _0805A0E6
_0805A0E2:
movs r0, 0x1
b _0805A0E8
_0805A0E6:
movs r0, 0
_0805A0E8:
pop {r1}
bx r1
thumb_func_end sub_805A0D0
thumb_func_start sub_805A0EC
sub_805A0EC: @ 805A0EC
movs r0, 0
bx lr
thumb_func_end sub_805A0EC
thumb_func_start MetatileBehavior_IsHotSprings
MetatileBehavior_IsHotSprings: @ 805A0F0
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x28
beq _0805A0FE
movs r0, 0
b _0805A100
_0805A0FE:
movs r0, 0x1
_0805A100:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsHotSprings
thumb_func_start MetatileBehavior_IsWaterfall
MetatileBehavior_IsWaterfall: @ 805A104
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x13
beq _0805A112
movs r0, 0
b _0805A114
_0805A112:
movs r0, 0x1
_0805A114:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsWaterfall
thumb_func_start sub_805A118
sub_805A118: @ 805A118
movs r0, 0
bx lr
thumb_func_end sub_805A118
thumb_func_start sub_805A11C
sub_805A11C: @ 805A11C
movs r0, 0
bx lr
thumb_func_end sub_805A11C
thumb_func_start sub_805A120
sub_805A120: @ 805A120
movs r0, 0
bx lr
thumb_func_end sub_805A120
thumb_func_start sub_805A124
sub_805A124: @ 805A124
movs r0, 0
bx lr
thumb_func_end sub_805A124
thumb_func_start sub_805A128
sub_805A128: @ 805A128
movs r0, 0
bx lr
thumb_func_end sub_805A128
thumb_func_start sub_805A12C
sub_805A12C: @ 805A12C
movs r0, 0
bx lr
thumb_func_end sub_805A12C
thumb_func_start sub_805A130
sub_805A130: @ 805A130
movs r0, 0
bx lr
thumb_func_end sub_805A130
thumb_func_start sub_805A134
sub_805A134: @ 805A134
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x85
beq _0805A142
movs r0, 0
b _0805A144
_0805A142:
movs r0, 0x1
_0805A144:
pop {r1}
bx r1
thumb_func_end sub_805A134
thumb_func_start sub_805A148
sub_805A148: @ 805A148
movs r0, 0
bx lr
thumb_func_end sub_805A148
thumb_func_start sub_805A14C
sub_805A14C: @ 805A14C
movs r0, 0
bx lr
thumb_func_end sub_805A14C
thumb_func_start sub_805A150
sub_805A150: @ 805A150
movs r0, 0
bx lr
thumb_func_end sub_805A150
thumb_func_start sub_805A154
sub_805A154: @ 805A154
movs r0, 0
bx lr
thumb_func_end sub_805A154
thumb_func_start sub_805A158
sub_805A158: @ 805A158
movs r0, 0
bx lr
thumb_func_end sub_805A158
thumb_func_start MetatileBehavior_IsLavaridge1FWarp
MetatileBehavior_IsLavaridge1FWarp: @ 805A15C
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x68
beq _0805A16A
movs r0, 0
b _0805A16C
_0805A16A:
movs r0, 0x1
_0805A16C:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsLavaridge1FWarp
thumb_func_start MetatileBehavior_IsAquaHideoutWarp
MetatileBehavior_IsAquaHideoutWarp: @ 805A170
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x67
beq _0805A17E
movs r0, 0
b _0805A180
_0805A17E:
movs r0, 0x1
_0805A180:
pop {r1}
bx r1
thumb_func_end MetatileBehavior_IsAquaHideoutWarp
thumb_func_start sub_805A184
sub_805A184: @ 805A184
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x71
beq _0805A192
movs r0, 0
b _0805A194
_0805A192:
movs r0, 0x1
_0805A194:
pop {r1}
bx r1
thumb_func_end sub_805A184
thumb_func_start sub_805A198
sub_805A198: @ 805A198
push {lr}
lsls r0, 24
lsrs r1, r0, 24
movs r2, 0xF0
lsls r2, 24
adds r0, r2
lsrs r0, 24
cmp r0, 0x2
bls _0805A1BA
cmp r1, 0x15
beq _0805A1BA
adds r0, r1, 0
subs r0, 0x50
lsls r0, 24
lsrs r0, 24
cmp r0, 0x3
bhi _0805A1BE
_0805A1BA:
movs r0, 0x1
b _0805A1C0
_0805A1BE:
movs r0, 0
_0805A1C0:
pop {r1}
bx r1
thumb_func_end sub_805A198
thumb_func_start sub_805A1C4
sub_805A1C4: @ 805A1C4
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x66
beq _0805A1D2
movs r0, 0
b _0805A1D4
_0805A1D2:
movs r0, 0x1
_0805A1D4:
pop {r1}
bx r1
thumb_func_end sub_805A1C4
thumb_func_start sub_805A1D8
sub_805A1D8: @ 805A1D8
movs r0, 0
bx lr
thumb_func_end sub_805A1D8
thumb_func_start sub_805A1DC
sub_805A1DC: @ 805A1DC
push {lr}
lsls r0, 24
movs r1, 0xC0
lsls r1, 22
adds r0, r1
lsrs r0, 24
cmp r0, 0x1
bls _0805A1F0
movs r0, 0
b _0805A1F2
_0805A1F0:
movs r0, 0x1
_0805A1F2:
pop {r1}
bx r1
thumb_func_end sub_805A1DC
thumb_func_start sub_805A1F8
sub_805A1F8: @ 805A1F8
push {lr}
lsls r0, 24
lsrs r0, 24
movs r1, 0
cmp r0, 0xD1
bne _0805A206
movs r1, 0x1
_0805A206:
adds r0, r1, 0
pop {r1}
bx r1
thumb_func_end sub_805A1F8
thumb_func_start sub_805A20C
sub_805A20C: @ 805A20C
movs r0, 0
bx lr
thumb_func_end sub_805A20C
thumb_func_start sub_805A210
sub_805A210: @ 805A210
movs r0, 0
bx lr
thumb_func_end sub_805A210
thumb_func_start sub_805A214
sub_805A214: @ 805A214
movs r0, 0
bx lr
thumb_func_end sub_805A214
thumb_func_start sub_805A218
sub_805A218: @ 805A218
movs r0, 0
bx lr
thumb_func_end sub_805A218
thumb_func_start sub_805A21C
sub_805A21C: @ 805A21C
movs r0, 0
bx lr
thumb_func_end sub_805A21C
thumb_func_start sub_805A220
sub_805A220: @ 805A220
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x22
beq _0805A22E
movs r0, 0
b _0805A230
_0805A22E:
movs r0, 0x1
_0805A230:
pop {r1}
bx r1
thumb_func_end sub_805A220
thumb_func_start sub_805A234
sub_805A234: @ 805A234
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0xA
beq _0805A242
movs r0, 0
b _0805A244
_0805A242:
movs r0, 0x1
_0805A244:
pop {r1}
bx r1
thumb_func_end sub_805A234
thumb_func_start sub_805A248
sub_805A248: @ 805A248
movs r0, 0
bx lr
thumb_func_end sub_805A248
thumb_func_start sub_805A24C
sub_805A24C: @ 805A24C
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x81
beq _0805A25A
movs r0, 0
b _0805A25C
_0805A25A:
movs r0, 0x1
_0805A25C:
pop {r1}
bx r1
thumb_func_end sub_805A24C
thumb_func_start sub_805A260
sub_805A260: @ 805A260
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x82
beq _0805A26E
movs r0, 0
b _0805A270
_0805A26E:
movs r0, 0x1
_0805A270:
pop {r1}
bx r1
thumb_func_end sub_805A260
thumb_func_start sub_805A274
sub_805A274: @ 805A274
push {lr}
lsls r0, 24
lsrs r0, 24
lsls r1, 24
lsrs r1, 24
cmp r1, 0x2
bne _0805A286
cmp r0, 0x87
beq _0805A28A
_0805A286:
movs r0, 0
b _0805A28C
_0805A28A:
movs r0, 0x1
_0805A28C:
pop {r1}
bx r1
thumb_func_end sub_805A274
thumb_func_start sub_805A290
sub_805A290: @ 805A290
push {lr}
lsls r0, 24
lsrs r0, 24
lsls r1, 24
lsrs r1, 24
cmp r1, 0x2
bne _0805A2A2
cmp r0, 0x88
beq _0805A2A6
_0805A2A2:
movs r0, 0
b _0805A2A8
_0805A2A6:
movs r0, 0x1
_0805A2A8:
pop {r1}
bx r1
thumb_func_end sub_805A290
thumb_func_start sub_805A2AC
sub_805A2AC: @ 805A2AC
movs r0, 0
bx lr
thumb_func_end sub_805A2AC
thumb_func_start sub_805A2B0
sub_805A2B0: @ 805A2B0
movs r0, 0
bx lr
thumb_func_end sub_805A2B0
thumb_func_start sub_805A2B4
sub_805A2B4: @ 805A2B4
movs r0, 0
bx lr
thumb_func_end sub_805A2B4
thumb_func_start sub_805A2B8
sub_805A2B8: @ 805A2B8
movs r0, 0
bx lr
thumb_func_end sub_805A2B8
thumb_func_start sub_805A2BC
sub_805A2BC: @ 805A2BC
push {lr}
lsls r0, 24
lsrs r0, 24
ldr r2, _0805A2D4 @ =gUnknown_8353068
adds r0, r2
ldrb r0, [r0]
ands r0, r1
cmp r0, 0
bne _0805A2D8
movs r0, 0
b _0805A2DA
.align 2, 0
_0805A2D4: .4byte gUnknown_8353068
_0805A2D8:
movs r0, 0x1
_0805A2DA:
pop {r1}
bx r1
thumb_func_end sub_805A2BC
thumb_func_start sub_805A2E0
sub_805A2E0: @ 805A2E0
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x54
beq _0805A2EE
movs r0, 0
b _0805A2F0
_0805A2EE:
movs r0, 0x1
_0805A2F0:
pop {r1}
bx r1
thumb_func_end sub_805A2E0
thumb_func_start sub_805A2F4
sub_805A2F4: @ 805A2F4
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x55
beq _0805A302
movs r0, 0
b _0805A304
_0805A302:
movs r0, 0x1
_0805A304:
pop {r1}
bx r1
thumb_func_end sub_805A2F4
thumb_func_start sub_805A308
sub_805A308: @ 805A308
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x56
beq _0805A316
movs r0, 0
b _0805A318
_0805A316:
movs r0, 0x1
_0805A318:
pop {r1}
bx r1
thumb_func_end sub_805A308
thumb_func_start sub_805A31C
sub_805A31C: @ 805A31C
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x57
beq _0805A32A
movs r0, 0
b _0805A32C
_0805A32A:
movs r0, 0x1
_0805A32C:
pop {r1}
bx r1
thumb_func_end sub_805A31C
thumb_func_start sub_805A330
sub_805A330: @ 805A330
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x58
beq _0805A33E
movs r0, 0
b _0805A340
_0805A33E:
movs r0, 0x1
_0805A340:
pop {r1}
bx r1
thumb_func_end sub_805A330
thumb_func_start sub_805A344
sub_805A344: @ 805A344
push {lr}
lsls r0, 24
movs r1, 0
movs r2, 0xAC
lsls r2, 24
adds r0, r2
lsrs r0, 24
cmp r0, 0x3
bhi _0805A358
movs r1, 0x1
_0805A358:
adds r0, r1, 0
pop {r1}
bx r1
thumb_func_end sub_805A344
thumb_func_start sub_805A360
sub_805A360: @ 805A360
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x84
beq _0805A36E
movs r0, 0
b _0805A370
_0805A36E:
movs r0, 0x1
_0805A370:
pop {r1}
bx r1
thumb_func_end sub_805A360
thumb_func_start sub_805A374
sub_805A374: @ 805A374
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x89
beq _0805A382
movs r0, 0
b _0805A384
_0805A382:
movs r0, 0x1
_0805A384:
pop {r1}
bx r1
thumb_func_end sub_805A374
thumb_func_start sub_805A388
sub_805A388: @ 805A388
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x8A
beq _0805A396
movs r0, 0
b _0805A398
_0805A396:
movs r0, 0x1
_0805A398:
pop {r1}
bx r1
thumb_func_end sub_805A388
thumb_func_start sub_805A39C
sub_805A39C: @ 805A39C
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x8B
beq _0805A3AA
movs r0, 0
b _0805A3AC
_0805A3AA:
movs r0, 0x1
_0805A3AC:
pop {r1}
bx r1
thumb_func_end sub_805A39C
thumb_func_start sub_805A3B0
sub_805A3B0: @ 805A3B0
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x8C
beq _0805A3BE
movs r0, 0
b _0805A3C0
_0805A3BE:
movs r0, 0x1
_0805A3C0:
pop {r1}
bx r1
thumb_func_end sub_805A3B0
thumb_func_start sub_805A3C4
sub_805A3C4: @ 805A3C4
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x20
beq _0805A3D2
movs r0, 0
b _0805A3D4
_0805A3D2:
movs r0, 0x1
_0805A3D4:
pop {r1}
bx r1
thumb_func_end sub_805A3C4
thumb_func_start sub_805A3D8
sub_805A3D8: @ 805A3D8
push {lr}
lsls r0, 24
lsrs r0, 24
lsls r1, 24
lsrs r1, 24
cmp r1, 0x2
bne _0805A3EA
cmp r0, 0x8D
beq _0805A3EE
_0805A3EA:
movs r0, 0
b _0805A3F0
_0805A3EE:
movs r0, 0x1
_0805A3F0:
pop {r1}
bx r1
thumb_func_end sub_805A3D8
thumb_func_start sub_805A3F4
sub_805A3F4: @ 805A3F4
push {lr}
lsls r0, 24
lsrs r0, 24
lsls r1, 24
lsrs r1, 24
cmp r1, 0x2
bne _0805A406
cmp r0, 0x8E
beq _0805A40A
_0805A406:
movs r0, 0
b _0805A40C
_0805A40A:
movs r0, 0x1
_0805A40C:
pop {r1}
bx r1
thumb_func_end sub_805A3F4
thumb_func_start sub_805A410
sub_805A410: @ 805A410
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x8F
beq _0805A41E
movs r0, 0
b _0805A420
_0805A41E:
movs r0, 0x1
_0805A420:
pop {r1}
bx r1
thumb_func_end sub_805A410
thumb_func_start sub_805A424
sub_805A424: @ 805A424
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x91
beq _0805A432
movs r0, 0
b _0805A434
_0805A432:
movs r0, 0x1
_0805A434:
pop {r1}
bx r1
thumb_func_end sub_805A424
thumb_func_start sub_805A438
sub_805A438: @ 805A438
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x92
beq _0805A446
movs r0, 0
b _0805A448
_0805A446:
movs r0, 0x1
_0805A448:
pop {r1}
bx r1
thumb_func_end sub_805A438
thumb_func_start sub_805A44C
sub_805A44C: @ 805A44C
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x90
beq _0805A45A
movs r0, 0
b _0805A45C
_0805A45A:
movs r0, 0x1
_0805A45C:
pop {r1}
bx r1
thumb_func_end sub_805A44C
thumb_func_start sub_805A460
sub_805A460: @ 805A460
push {lr}
lsls r0, 24
lsrs r0, 24
movs r1, 0
cmp r0, 0x2A
bne _0805A46E
movs r1, 0x1
_0805A46E:
adds r0, r1, 0
pop {r1}
bx r1
thumb_func_end sub_805A460
thumb_func_start sub_805A474
sub_805A474: @ 805A474
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x93
beq _0805A482
movs r0, 0
b _0805A484
_0805A482:
movs r0, 0x1
_0805A484:
pop {r1}
bx r1
thumb_func_end sub_805A474
thumb_func_start sub_805A488
sub_805A488: @ 805A488
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x94
beq _0805A496
movs r0, 0
b _0805A498
_0805A496:
movs r0, 0x1
_0805A498:
pop {r1}
bx r1
thumb_func_end sub_805A488
thumb_func_start sub_805A49C
sub_805A49C: @ 805A49C
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x95
beq _0805A4AA
movs r0, 0
b _0805A4AC
_0805A4AA:
movs r0, 0x1
_0805A4AC:
pop {r1}
bx r1
thumb_func_end sub_805A49C
thumb_func_start sub_805A4B0
sub_805A4B0: @ 805A4B0
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x96
beq _0805A4BE
movs r0, 0
b _0805A4C0
_0805A4BE:
movs r0, 0x1
_0805A4C0:
pop {r1}
bx r1
thumb_func_end sub_805A4B0
thumb_func_start sub_805A4C4
sub_805A4C4: @ 805A4C4
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x97
beq _0805A4D2
movs r0, 0
b _0805A4D4
_0805A4D2:
movs r0, 0x1
_0805A4D4:
pop {r1}
bx r1
thumb_func_end sub_805A4C4
thumb_func_start sub_805A4D8
sub_805A4D8: @ 805A4D8
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x98
beq _0805A4E6
movs r0, 0
b _0805A4E8
_0805A4E6:
movs r0, 0x1
_0805A4E8:
pop {r1}
bx r1
thumb_func_end sub_805A4D8
thumb_func_start sub_805A4EC
sub_805A4EC: @ 805A4EC
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x99
beq _0805A4FA
movs r0, 0
b _0805A4FC
_0805A4FA:
movs r0, 0x1
_0805A4FC:
pop {r1}
bx r1
thumb_func_end sub_805A4EC
thumb_func_start sub_805A500
sub_805A500: @ 805A500
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x9A
beq _0805A50E
movs r0, 0
b _0805A510
_0805A50E:
movs r0, 0x1
_0805A510:
pop {r1}
bx r1
thumb_func_end sub_805A500
thumb_func_start sub_805A514
sub_805A514: @ 805A514
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x9B
beq _0805A522
movs r0, 0
b _0805A524
_0805A522:
movs r0, 0x1
_0805A524:
pop {r1}
bx r1
thumb_func_end sub_805A514
thumb_func_start sub_805A528
sub_805A528: @ 805A528
movs r0, 0
bx lr
thumb_func_end sub_805A528
thumb_func_start sub_805A52C
sub_805A52C: @ 805A52C
movs r0, 0
bx lr
thumb_func_end sub_805A52C
thumb_func_start sub_805A530
sub_805A530: @ 805A530
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x9E
beq _0805A53E
movs r0, 0
b _0805A540
_0805A53E:
movs r0, 0x1
_0805A540:
pop {r1}
bx r1
thumb_func_end sub_805A530
thumb_func_start sub_805A544
sub_805A544: @ 805A544
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0x9F
beq _0805A552
movs r0, 0
b _0805A554
_0805A552:
movs r0, 0x1
_0805A554:
pop {r1}
bx r1
thumb_func_end sub_805A544
thumb_func_start sub_805A558
sub_805A558: @ 805A558
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0xA0
beq _0805A566
movs r0, 0
b _0805A568
_0805A566:
movs r0, 0x1
_0805A568:
pop {r1}
bx r1
thumb_func_end sub_805A558
thumb_func_start sub_805A56C
sub_805A56C: @ 805A56C
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0xA1
beq _0805A57A
movs r0, 0
b _0805A57C
_0805A57A:
movs r0, 0x1
_0805A57C:
pop {r1}
bx r1
thumb_func_end sub_805A56C
thumb_func_start sub_805A580
sub_805A580: @ 805A580
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0xA2
beq _0805A58E
movs r0, 0
b _0805A590
_0805A58E:
movs r0, 0x1
_0805A590:
pop {r1}
bx r1
thumb_func_end sub_805A580
thumb_func_start sub_805A594
sub_805A594: @ 805A594
push {lr}
lsls r0, 24
lsrs r0, 24
cmp r0, 0xA3
beq _0805A5A2
movs r0, 0
b _0805A5A4
_0805A5A2:
movs r0, 0x1
_0805A5A4:
pop {r1}
bx r1
thumb_func_end sub_805A594
.align 2, 0 @ Don't pad with nop.
|