summaryrefslogtreecommitdiff
path: root/asm/metatile_behavior.s
blob: 30b0f43484f8afa2fcbe6fb2b22c59022762f0c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
	.include "asm/macros.inc"
	.include "constants/constants.inc"

	.syntax unified

	.text

	thumb_func_start ShouldDoJumpLandingDustEffect
ShouldDoJumpLandingDustEffect: @ 8088DEC
	movs r0, 0x1
	bx lr
	thumb_func_end ShouldDoJumpLandingDustEffect

	thumb_func_start sub_8088DF0
sub_8088DF0: @ 8088DF0
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	ldr r1, =gUnknown_08486EFC
	adds r0, r1
	ldrb r1, [r0]
	movs r0, 0x1
	ands r0, r1
	cmp r0, 0
	bne _08088E0C
	movs r0, 0
	b _08088E0E
	.pool
_08088E0C:
	movs r0, 0x1
_08088E0E:
	pop {r1}
	bx r1
	thumb_func_end sub_8088DF0

	thumb_func_start MetatileBehavior_IsJumpEast
MetatileBehavior_IsJumpEast: @ 8088E14
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x38
	beq _08088E22
	movs r0, 0
	b _08088E24
_08088E22:
	movs r0, 0x1
_08088E24:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsJumpEast

	thumb_func_start MetatileBehavior_IsJumpWest
MetatileBehavior_IsJumpWest: @ 8088E28
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x39
	beq _08088E36
	movs r0, 0
	b _08088E38
_08088E36:
	movs r0, 0x1
_08088E38:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsJumpWest

	thumb_func_start MetatileBehavior_IsJumpNorth
MetatileBehavior_IsJumpNorth: @ 8088E3C
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x3A
	beq _08088E4A
	movs r0, 0
	b _08088E4C
_08088E4A:
	movs r0, 0x1
_08088E4C:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsJumpNorth

	thumb_func_start MetatileBehavior_IsJumpSouth
MetatileBehavior_IsJumpSouth: @ 8088E50
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x3B
	beq _08088E5E
	movs r0, 0
	b _08088E60
_08088E5E:
	movs r0, 0x1
_08088E60:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsJumpSouth

	thumb_func_start sub_8088E64
sub_8088E64: @ 8088E64
	push {lr}
	lsls r0, 24
	movs r1, 0xFE
	lsls r1, 24
	adds r0, r1
	lsrs r0, 24
	cmp r0, 0x1
	bls _08088E78
	movs r0, 0
	b _08088E7A
_08088E78:
	movs r0, 0x1
_08088E7A:
	pop {r1}
	bx r1
	thumb_func_end sub_8088E64

	thumb_func_start MetatileBehavior_IsSandOrDeepSand
MetatileBehavior_IsSandOrDeepSand: @ 8088E80
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x21
	beq _08088E8E
	cmp r0, 0x6
	bne _08088E92
_08088E8E:
	movs r0, 0x1
	b _08088E94
_08088E92:
	movs r0, 0
_08088E94:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsSandOrDeepSand

	thumb_func_start MetatileBehavior_IsDeepSand
MetatileBehavior_IsDeepSand: @ 8088E98
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x6
	beq _08088EA6
	movs r0, 0
	b _08088EA8
_08088EA6:
	movs r0, 0x1
_08088EA8:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsDeepSand

	thumb_func_start MetatileBehavior_IsReflective
MetatileBehavior_IsReflective: @ 8088EAC
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x10
	beq _08088ECA
	cmp r0, 0x16
	beq _08088ECA
	cmp r0, 0x1A
	beq _08088ECA
	cmp r0, 0x20
	beq _08088ECA
	cmp r0, 0x14
	beq _08088ECA
	cmp r0, 0x2B
	bne _08088ECE
_08088ECA:
	movs r0, 0x1
	b _08088ED0
_08088ECE:
	movs r0, 0
_08088ED0:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsReflective

	thumb_func_start MetatileBehavior_IsIce
MetatileBehavior_IsIce: @ 8088ED4
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x20
	beq _08088EE2
	movs r0, 0
	b _08088EE4
_08088EE2:
	movs r0, 0x1
_08088EE4:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsIce

	thumb_func_start is_tile_x69_2_warp_door
is_tile_x69_2_warp_door: @ 8088EE8
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x69
	beq _08088EF6
	movs r0, 0
	b _08088EF8
_08088EF6:
	movs r0, 0x1
_08088EF8:
	pop {r1}
	bx r1
	thumb_func_end is_tile_x69_2_warp_door

	thumb_func_start sub_8088EFC
sub_8088EFC: @ 8088EFC
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x8D
	beq _08088F0A
	cmp r0, 0x69
	bne _08088F0E
_08088F0A:
	movs r0, 0x1
	b _08088F10
_08088F0E:
	movs r0, 0
_08088F10:
	pop {r1}
	bx r1
	thumb_func_end sub_8088EFC

	thumb_func_start MetatileBehavior_IsEscalator
MetatileBehavior_IsEscalator: @ 8088F14
	push {lr}
	lsls r0, 24
	movs r1, 0x96
	lsls r1, 24
	adds r0, r1
	lsrs r0, 24
	cmp r0, 0x1
	bls _08088F28
	movs r0, 0
	b _08088F2A
_08088F28:
	movs r0, 0x1
_08088F2A:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsEscalator

	thumb_func_start sub_8088F30
sub_8088F30: @ 8088F30
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x4
	beq _08088F3E
	movs r0, 0
	b _08088F40
_08088F3E:
	movs r0, 0x1
_08088F40:
	pop {r1}
	bx r1
	thumb_func_end sub_8088F30

	thumb_func_start MetatileBehavior_IsLadder
MetatileBehavior_IsLadder: @ 8088F44
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x61
	beq _08088F52
	movs r0, 0
	b _08088F54
_08088F52:
	movs r0, 0x1
_08088F54:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsLadder

	thumb_func_start sub_8088F58
sub_8088F58: @ 8088F58
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x60
	beq _08088F6A
	cmp r0, 0x6C
	beq _08088F6A
	cmp r0, 0x6E
	bne _08088F6E
_08088F6A:
	movs r0, 0x1
	b _08088F70
_08088F6E:
	movs r0, 0
_08088F70:
	pop {r1}
	bx r1
	thumb_func_end sub_8088F58

	thumb_func_start sub_8088F74
sub_8088F74: @ 8088F74
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x6E
	beq _08088F82
	movs r0, 0
	b _08088F84
_08088F82:
	movs r0, 0x1
_08088F84:
	pop {r1}
	bx r1
	thumb_func_end sub_8088F74

	thumb_func_start MetatileBehavior_IsSurfableWaterOrUnderwater
MetatileBehavior_IsSurfableWaterOrUnderwater: @ 8088F88
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	ldr r1, =gUnknown_08486EFC
	adds r0, r1
	ldrb r1, [r0]
	movs r0, 0x2
	ands r0, r1
	cmp r0, 0
	bne _08088FA4
	movs r0, 0
	b _08088FA6
	.pool
_08088FA4:
	movs r0, 0x1
_08088FA6:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsSurfableWaterOrUnderwater

	thumb_func_start MetatileBehavior_IsEastArrowWarp
MetatileBehavior_IsEastArrowWarp: @ 8088FAC
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x62
	beq _08088FBA
	movs r0, 0
	b _08088FBC
_08088FBA:
	movs r0, 0x1
_08088FBC:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsEastArrowWarp

	thumb_func_start MetatileBehavior_IsWestArrowWarp
MetatileBehavior_IsWestArrowWarp: @ 8088FC0
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x63
	beq _08088FCE
	movs r0, 0
	b _08088FD0
_08088FCE:
	movs r0, 0x1
_08088FD0:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsWestArrowWarp

	thumb_func_start MetatileBehavior_IsNorthArrowWarp
MetatileBehavior_IsNorthArrowWarp: @ 8088FD4
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x64
	beq _08088FE2
	cmp r0, 0x1B
	bne _08088FE6
_08088FE2:
	movs r0, 0x1
	b _08088FE8
_08088FE6:
	movs r0, 0
_08088FE8:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsNorthArrowWarp

	thumb_func_start MetatileBehavior_IsSouthArrowWarp
MetatileBehavior_IsSouthArrowWarp: @ 8088FEC
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x65
	beq _08088FFE
	cmp r0, 0x6D
	beq _08088FFE
	cmp r0, 0x1C
	bne _08089002
_08088FFE:
	movs r0, 0x1
	b _08089004
_08089002:
	movs r0, 0
_08089004:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsSouthArrowWarp

	thumb_func_start sub_8089008
sub_8089008: @ 8089008
	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 _08089040
	adds r0, r4, 0
	bl MetatileBehavior_IsWestArrowWarp
	lsls r0, 24
	cmp r0, 0
	bne _08089040
	adds r0, r4, 0
	bl MetatileBehavior_IsNorthArrowWarp
	lsls r0, 24
	cmp r0, 0
	bne _08089040
	adds r0, r4, 0
	bl MetatileBehavior_IsSouthArrowWarp
	lsls r0, 24
	cmp r0, 0
	beq _08089042
_08089040:
	movs r5, 0x1
_08089042:
	adds r0, r5, 0
	pop {r4,r5}
	pop {r1}
	bx r1
	thumb_func_end sub_8089008

	thumb_func_start sub_808904C
sub_808904C: @ 808904C
	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 _08089082
	adds r0, r1, 0
	subs r0, 0x50
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x3
	bls _08089082
	cmp r1, 0xD0
	beq _08089082
	cmp r1, 0xD2
	beq _08089082
	cmp r1, 0x13
	beq _08089082
	cmp r1, 0x20
	beq _08089082
	cmp r1, 0xBB
	beq _08089082
	cmp r1, 0xBC
	bne _08089086
_08089082:
	movs r0, 0x1
	b _08089088
_08089086:
	movs r0, 0
_08089088:
	pop {r1}
	bx r1
	thumb_func_end sub_808904C

	thumb_func_start MetatileBehavior_IsIce_2
@ bool8 MetatileBehavior_IsIce_2(u8 metatileBehavior)
MetatileBehavior_IsIce_2: @ 808908C
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x20
	beq _0808909A
	movs r0, 0
	b _0808909C
_0808909A:
	movs r0, 0x1
_0808909C:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsIce_2

	thumb_func_start MetatileBehavior_IsTrickHouseSlipperyFloor
@ bool8 MetatileBehavior_IsTrickHouseSlipperyFloor(u8 metatileBehavior)
MetatileBehavior_IsTrickHouseSlipperyFloor: @ 80890A0
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x48
	beq _080890AE
	movs r0, 0
	b _080890B0
_080890AE:
	movs r0, 0x1
_080890B0:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsTrickHouseSlipperyFloor

	thumb_func_start MetatileBehavior_0x05
MetatileBehavior_0x05: @ 80890B4
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x5
	beq _080890C2
	movs r0, 0
	b _080890C4
_080890C2:
	movs r0, 0x1
_080890C4:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_0x05

	thumb_func_start MetatileBehavior_IsWalkNorth
@ bool8 MetatileBehavior_IsWalkNorth(u8 metatileBehavior)
MetatileBehavior_IsWalkNorth: @ 80890C8
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x42
	beq _080890D6
	movs r0, 0
	b _080890D8
_080890D6:
	movs r0, 0x1
_080890D8:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsWalkNorth

	thumb_func_start MetatileBehavior_IsWalkSouth
@ bool8 MetatileBehavior_IsWalkSouth(u8 metatileBehavior)
MetatileBehavior_IsWalkSouth: @ 80890DC
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x43
	beq _080890EA
	movs r0, 0
	b _080890EC
_080890EA:
	movs r0, 0x1
_080890EC:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsWalkSouth

	thumb_func_start MetatileBehavior_IsWalkWest
@ bool8 MetatileBehavior_IsWalkWest(u8 metatileBehavior)
MetatileBehavior_IsWalkWest: @ 80890F0
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x41
	beq _080890FE
	movs r0, 0
	b _08089100
_080890FE:
	movs r0, 0x1
_08089100:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsWalkWest

	thumb_func_start MetatileBehavior_IsWalkEast
@ bool8 MetatileBehavior_IsWalkEast(u8 metatileBehavior)
MetatileBehavior_IsWalkEast: @ 8089104
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x40
	beq _08089112
	movs r0, 0
	b _08089114
_08089112:
	movs r0, 0x1
_08089114:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsWalkEast

	thumb_func_start MetatileBehavior_IsNorthwardCurrent
@ bool8 MetatileBehavior_IsNorthwardCurrent(u8 metatileBehavior)
MetatileBehavior_IsNorthwardCurrent: @ 8089118
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x52
	beq _08089126
	movs r0, 0
	b _08089128
_08089126:
	movs r0, 0x1
_08089128:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsNorthwardCurrent

	thumb_func_start MetatileBehavior_IsSouthwardCurrent
@ bool8 MetatileBehavior_IsSouthwardCurrent(u8 metatileBehavior)
MetatileBehavior_IsSouthwardCurrent: @ 808912C
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x53
	beq _0808913A
	movs r0, 0
	b _0808913C
_0808913A:
	movs r0, 0x1
_0808913C:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsSouthwardCurrent

	thumb_func_start MetatileBehavior_IsWestwardCurrent
@ bool8 MetatileBehavior_IsWestwardCurrent(u8 metatileBehavior)
MetatileBehavior_IsWestwardCurrent: @ 8089140
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x51
	beq _0808914E
	movs r0, 0
	b _08089150
_0808914E:
	movs r0, 0x1
_08089150:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsWestwardCurrent

	thumb_func_start MetatileBehavior_IsEastwardCurrent
@ bool8 MetatileBehavior_IsEastwardCurrent(u8 metatileBehavior)
MetatileBehavior_IsEastwardCurrent: @ 8089154
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x50
	beq _08089162
	movs r0, 0
	b _08089164
_08089162:
	movs r0, 0x1
_08089164:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsEastwardCurrent

	thumb_func_start MetatileBehavior_IsSlideNorth
@ bool8 MetatileBehavior_IsSlideNorth(u8 metatileBehavior)
MetatileBehavior_IsSlideNorth: @ 8089168
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x46
	beq _08089176
	movs r0, 0
	b _08089178
_08089176:
	movs r0, 0x1
_08089178:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsSlideNorth

	thumb_func_start MetatileBehavior_IsSlideSouth
@ bool8 MetatileBehavior_IsSlideSouth(u8 metatileBehavior)
MetatileBehavior_IsSlideSouth: @ 808917C
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x47
	beq _0808918A
	movs r0, 0
	b _0808918C
_0808918A:
	movs r0, 0x1
_0808918C:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsSlideSouth

	thumb_func_start MetatileBehavior_IsSlideWest
@ bool8 MetatileBehavior_IsSlideWest(u8 metatileBehavior)
MetatileBehavior_IsSlideWest: @ 8089190
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x45
	beq _0808919E
	movs r0, 0
	b _080891A0
_0808919E:
	movs r0, 0x1
_080891A0:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsSlideWest

	thumb_func_start MetatileBehavior_IsSlideEast
@ bool8 MetatileBehavior_IsSlideEast(u8 metatileBehavior)
MetatileBehavior_IsSlideEast: @ 80891A4
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x44
	beq _080891B2
	movs r0, 0
	b _080891B4
_080891B2:
	movs r0, 0x1
_080891B4:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsSlideEast

	thumb_func_start MetatileBehavior_IsCounter
MetatileBehavior_IsCounter: @ 80891B8
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x80
	beq _080891C6
	movs r0, 0
	b _080891C8
_080891C6:
	movs r0, 0x1
_080891C8:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsCounter

	thumb_func_start MetatileBehavior_IsPlayerFacingTVScreen
@ bool8 MetatileBehavior_IsPlayerFacingTVScreen(u8 behavior, u8 direction)
MetatileBehavior_IsPlayerFacingTVScreen: @ 80891CC
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	lsls r1, 24
	lsrs r1, 24
	cmp r1, 0x2
	bne _080891DE
	cmp r0, 0x86
	beq _080891E2
_080891DE:
	movs r0, 0
	b _080891E4
_080891E2:
	movs r0, 0x1
_080891E4:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsPlayerFacingTVScreen

	thumb_func_start MetatileBehavior_IsPC
MetatileBehavior_IsPC: @ 80891E8
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x83
	beq _080891F6
	movs r0, 0
	b _080891F8
_080891F6:
	movs r0, 0x1
_080891F8:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsPC

	thumb_func_start is_tile_x84
is_tile_x84: @ 80891FC
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x84
	beq _0808920A
	movs r0, 0
	b _0808920C
_0808920A:
	movs r0, 0x1
_0808920C:
	pop {r1}
	bx r1
	thumb_func_end is_tile_x84

	thumb_func_start sub_8089210
sub_8089210: @ 8089210
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x91
	beq _08089232
	cmp r0, 0x93
	beq _08089232
	cmp r0, 0x95
	beq _08089232
	cmp r0, 0x97
	beq _08089232
	cmp r0, 0x99
	beq _08089232
	cmp r0, 0x9B
	beq _08089232
	cmp r0, 0x9D
	bne _08089236
_08089232:
	movs r0, 0x1
	b _08089238
_08089236:
	movs r0, 0
_08089238:
	pop {r1}
	bx r1
	thumb_func_end sub_8089210

	thumb_func_start sub_808923C
sub_808923C: @ 808923C
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x90
	beq _08089252
	cmp r0, 0x92
	beq _08089252
	cmp r0, 0x94
	beq _08089252
	cmp r0, 0x9A
	bne _08089256
_08089252:
	movs r0, 0x1
	b _08089258
_08089256:
	movs r0, 0
_08089258:
	pop {r1}
	bx r1
	thumb_func_end sub_808923C

	thumb_func_start sub_808925C
sub_808925C: @ 808925C
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x96
	beq _0808926A
	cmp r0, 0x9C
	bne _0808926E
_0808926A:
	movs r0, 0x1
	b _08089270
_0808926E:
	movs r0, 0
_08089270:
	pop {r1}
	bx r1
	thumb_func_end sub_808925C

	thumb_func_start is_tile_x98
is_tile_x98: @ 8089274
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x98
	beq _08089282
	movs r0, 0
	b _08089284
_08089282:
	movs r0, 0x1
_08089284:
	pop {r1}
	bx r1
	thumb_func_end is_tile_x98

	thumb_func_start sub_8089288
sub_8089288: @ 8089288
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xB0
	beq _08089296
	movs r0, 0
	b _08089298
_08089296:
	movs r0, 0x1
_08089298:
	pop {r1}
	bx r1
	thumb_func_end sub_8089288

	thumb_func_start sub_808929C
sub_808929C: @ 808929C
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xB1
	beq _080892AA
	movs r0, 0
	b _080892AC
_080892AA:
	movs r0, 0x1
_080892AC:
	pop {r1}
	bx r1
	thumb_func_end sub_808929C

	thumb_func_start sub_80892B0
sub_80892B0: @ 80892B0
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xB2
	beq _080892BE
	movs r0, 0
	b _080892C0
_080892BE:
	movs r0, 0x1
_080892C0:
	pop {r1}
	bx r1
	thumb_func_end sub_80892B0

	thumb_func_start sub_80892C4
sub_80892C4: @ 80892C4
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xB3
	beq _080892D2
	movs r0, 0
	b _080892D4
_080892D2:
	movs r0, 0x1
_080892D4:
	pop {r1}
	bx r1
	thumb_func_end sub_80892C4

	thumb_func_start sub_80892D8
sub_80892D8: @ 80892D8
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xB9
	beq _080892E6
	movs r0, 0
	b _080892E8
_080892E6:
	movs r0, 0x1
_080892E8:
	pop {r1}
	bx r1
	thumb_func_end sub_80892D8

	thumb_func_start sub_80892EC
sub_80892EC: @ 80892EC
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xC6
	beq _080892FA
	movs r0, 0
	b _080892FC
_080892FA:
	movs r0, 0x1
_080892FC:
	pop {r1}
	bx r1
	thumb_func_end sub_80892EC

	thumb_func_start sub_8089300
sub_8089300: @ 8089300
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xC7
	beq _0808930E
	movs r0, 0
	b _08089310
_0808930E:
	movs r0, 0x1
_08089310:
	pop {r1}
	bx r1
	thumb_func_end sub_8089300

	thumb_func_start sub_8089314
sub_8089314: @ 8089314
	push {lr}
	lsls r0, 24
	cmp r0, 0
	beq _08089320
	movs r0, 0
	b _08089322
_08089320:
	movs r0, 0x1
_08089322:
	pop {r1}
	bx r1
	thumb_func_end sub_8089314

	thumb_func_start sub_8089328
sub_8089328: @ 8089328
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xB7
	beq _08089336
	movs r0, 0
	b _08089338
_08089336:
	movs r0, 0x1
_08089338:
	pop {r1}
	bx r1
	thumb_func_end sub_8089328

	thumb_func_start sub_808933C
sub_808933C: @ 808933C
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xB2
	beq _0808934A
	movs r0, 0
	b _0808934C
_0808934A:
	movs r0, 0x1
_0808934C:
	pop {r1}
	bx r1
	thumb_func_end sub_808933C

	thumb_func_start sub_8089350
sub_8089350: @ 8089350
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xB5
	beq _0808935E
	movs r0, 0
	b _08089360
_0808935E:
	movs r0, 0x1
_08089360:
	pop {r1}
	bx r1
	thumb_func_end sub_8089350

	thumb_func_start sub_8089364
sub_8089364: @ 8089364
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xC3
	beq _08089372
	movs r0, 0
	b _08089374
_08089372:
	movs r0, 0x1
_08089374:
	pop {r1}
	bx r1
	thumb_func_end sub_8089364

	thumb_func_start sub_8089378
sub_8089378: @ 8089378
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xC2
	beq _08089386
	movs r0, 0
	b _08089388
_08089386:
	movs r0, 0x1
_08089388:
	pop {r1}
	bx r1
	thumb_func_end sub_8089378

	thumb_func_start sub_808938C
sub_808938C: @ 808938C
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xB8
	beq _0808939A
	movs r0, 0
	b _0808939C
_0808939A:
	movs r0, 0x1
_0808939C:
	pop {r1}
	bx r1
	thumb_func_end sub_808938C

	thumb_func_start sub_80893A0
sub_80893A0: @ 80893A0
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xBE
	beq _080893AE
	movs r0, 0
	b _080893B0
_080893AE:
	movs r0, 0x1
_080893B0:
	pop {r1}
	bx r1
	thumb_func_end sub_80893A0

	thumb_func_start sub_80893B4
sub_80893B4: @ 80893B4
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xBD
	beq _080893C2
	movs r0, 0
	b _080893C4
_080893C2:
	movs r0, 0x1
_080893C4:
	pop {r1}
	bx r1
	thumb_func_end sub_80893B4

	thumb_func_start sub_80893C8
sub_80893C8: @ 80893C8
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xBA
	beq _080893D6
	movs r0, 0
	b _080893D8
_080893D6:
	movs r0, 0x1
_080893D8:
	pop {r1}
	bx r1
	thumb_func_end sub_80893C8

	thumb_func_start sub_80893DC
sub_80893DC: @ 80893DC
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xBF
	beq _080893EA
	movs r0, 0
	b _080893EC
_080893EA:
	movs r0, 0x1
_080893EC:
	pop {r1}
	bx r1
	thumb_func_end sub_80893DC

	thumb_func_start sub_80893F0
sub_80893F0: @ 80893F0
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xC4
	beq _080893FE
	movs r0, 0
	b _08089400
_080893FE:
	movs r0, 0x1
_08089400:
	pop {r1}
	bx r1
	thumb_func_end sub_80893F0

	thumb_func_start sub_8089404
sub_8089404: @ 8089404
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xC5
	beq _08089412
	movs r0, 0
	b _08089414
_08089412:
	movs r0, 0x1
_08089414:
	pop {r1}
	bx r1
	thumb_func_end sub_8089404

	thumb_func_start MetatileBehavior_HasRipples
MetatileBehavior_HasRipples: @ 8089418
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x10
	beq _0808942A
	cmp r0, 0x16
	beq _0808942A
	cmp r0, 0x14
	bne _0808942E
_0808942A:
	movs r0, 0x1
	b _08089430
_0808942E:
	movs r0, 0
_08089430:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_HasRipples

	thumb_func_start MetatileBehavior_IsPuddle
MetatileBehavior_IsPuddle: @ 8089434
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x16
	beq _08089442
	movs r0, 0
	b _08089444
_08089442:
	movs r0, 0x1
_08089444:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsPuddle

	thumb_func_start MetatileBehavior_IsTallGrass
MetatileBehavior_IsTallGrass: @ 8089448
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x2
	beq _08089456
	movs r0, 0
	b _08089458
_08089456:
	movs r0, 0x1
_08089458:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsTallGrass

	thumb_func_start MetatileBehavior_IsLongGrass
MetatileBehavior_IsLongGrass: @ 808945C
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x3
	beq _0808946A
	movs r0, 0
	b _0808946C
_0808946A:
	movs r0, 0x1
_0808946C:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsLongGrass

	thumb_func_start MetatileBehavior_IsBerryTreeSoil
MetatileBehavior_IsBerryTreeSoil: @ 8089470
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xA0
	beq _0808947E
	movs r0, 0
	b _08089480
_0808947E:
	movs r0, 0x1
_08089480:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsBerryTreeSoil

	thumb_func_start MetatileBehavior_IsAsh
MetatileBehavior_IsAsh: @ 8089484
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x24
	beq _08089492
	movs r0, 0
	b _08089494
_08089492:
	movs r0, 0x1
_08089494:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsAsh

	thumb_func_start MetatileBehavior_IsUnusedFootprintMetatile
MetatileBehavior_IsUnusedFootprintMetatile: @ 8089498
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x25
	beq _080894A6
	movs r0, 0
	b _080894A8
_080894A6:
	movs r0, 0x1
_080894A8:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsUnusedFootprintMetatile

	thumb_func_start sub_80894AC
sub_80894AC: @ 80894AC
	push {lr}
	lsls r0, 24
	lsrs r1, r0, 24
	movs r2, 0x90
	lsls r2, 24
	adds r0, r2
	lsrs r0, 24
	cmp r0, 0x3
	bls _080894CA
	adds r0, r1, 0
	subs r0, 0x7C
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x3
	bhi _080894CE
_080894CA:
	movs r0, 0x1
	b _080894D0
_080894CE:
	movs r0, 0
_080894D0:
	pop {r1}
	bx r1
	thumb_func_end sub_80894AC

	thumb_func_start sub_80894D4
sub_80894D4: @ 80894D4
	push {lr}
	lsls r0, 24
	lsrs r1, r0, 24
	adds r2, r1, 0
	adds r0, r1, 0
	subs r0, 0x70
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x3
	bls _0808950A
	adds r0, r1, 0
	subs r0, 0x7A
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x1
	bhi _080894F8
	movs r0, 0x2
	b _0808950A
_080894F8:
	adds r0, r2, 0
	subs r0, 0x7C
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x1
	bls _08089508
	movs r0, 0
	b _0808950A
_08089508:
	movs r0, 0x3
_0808950A:
	pop {r1}
	bx r1
	thumb_func_end sub_80894D4

	thumb_func_start sub_8089510
sub_8089510: @ 8089510
	push {lr}
	lsls r0, 24
	movs r1, 0x90
	lsls r1, 24
	adds r0, r1
	lsrs r0, 24
	cmp r0, 0x3
	bls _08089524
	movs r0, 0
	b _08089526
_08089524:
	movs r0, 0x1
_08089526:
	pop {r1}
	bx r1
	thumb_func_end sub_8089510

	thumb_func_start sub_808952C
sub_808952C: @ 808952C
	push {r4,lr}
	lsls r0, 24
	lsrs r4, r0, 24
	adds r0, r4, 0
	bl MetatileBehavior_IsSurfableWaterOrUnderwater
	lsls r0, 24
	cmp r0, 0
	bne _08089550
	adds r0, r4, 0
	bl sub_8088DF0
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x1
	bne _08089550
	movs r0, 0x1
	b _08089552
_08089550:
	movs r0, 0
_08089552:
	pop {r4}
	pop {r1}
	bx r1
	thumb_func_end sub_808952C

	thumb_func_start sub_8089558
sub_8089558: @ 8089558
	push {r4,lr}
	lsls r0, 24
	lsrs r4, r0, 24
	adds r0, r4, 0
	bl MetatileBehavior_IsSurfableWaterOrUnderwater
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x1
	bne _0808957E
	adds r0, r4, 0
	bl sub_8088DF0
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x1
	bne _0808957E
	movs r0, 0x1
	b _08089580
_0808957E:
	movs r0, 0
_08089580:
	pop {r4}
	pop {r1}
	bx r1
	thumb_func_end sub_8089558

	thumb_func_start sub_8089588
sub_8089588: @ 8089588
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xB
	beq _08089596
	movs r0, 0
	b _08089598
_08089596:
	movs r0, 0x1
_08089598:
	pop {r1}
	bx r1
	thumb_func_end sub_8089588

	thumb_func_start sub_808959C
sub_808959C: @ 808959C
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xC
	beq _080895AA
	movs r0, 0
	b _080895AC
_080895AA:
	movs r0, 0x1
_080895AC:
	pop {r1}
	bx r1
	thumb_func_end sub_808959C

	thumb_func_start sub_80895B0
sub_80895B0: @ 80895B0
	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 _080895C6
	cmp r1, 0x14
	bne _080895CA
_080895C6:
	movs r0, 0x1
	b _080895CC
_080895CA:
	movs r0, 0
_080895CC:
	pop {r1}
	bx r1
	thumb_func_end sub_80895B0

	thumb_func_start sub_80895D0
sub_80895D0: @ 80895D0
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x19
	beq _080895DE
	cmp r0, 0x2A
	bne _080895E2
_080895DE:
	movs r0, 0x1
	b _080895E4
_080895E2:
	movs r0, 0
_080895E4:
	pop {r1}
	bx r1
	thumb_func_end sub_80895D0

	thumb_func_start MetatileBehavior_IsShallowFlowingWater
MetatileBehavior_IsShallowFlowingWater: @ 80895E8
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x17
	beq _080895FA
	cmp r0, 0x1B
	beq _080895FA
	cmp r0, 0x1C
	bne _080895FE
_080895FA:
	movs r0, 0x1
	b _08089600
_080895FE:
	movs r0, 0
_08089600:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsShallowFlowingWater

	thumb_func_start sub_8089604
sub_8089604: @ 8089604
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x26
	beq _08089612
	movs r0, 0
	b _08089614
_08089612:
	movs r0, 0x1
_08089614:
	pop {r1}
	bx r1
	thumb_func_end sub_8089604

	thumb_func_start sub_8089618
sub_8089618: @ 8089618
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x27
	beq _08089626
	movs r0, 0
	b _08089628
_08089626:
	movs r0, 0x1
_08089628:
	pop {r1}
	bx r1
	thumb_func_end sub_8089618

	thumb_func_start sub_808962C
sub_808962C: @ 808962C
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x15
	beq _0808963E
	cmp r0, 0x11
	beq _0808963E
	cmp r0, 0x12
	bne _08089642
_0808963E:
	movs r0, 0x1
	b _08089644
_08089642:
	movs r0, 0
_08089644:
	pop {r1}
	bx r1
	thumb_func_end sub_808962C

	thumb_func_start sub_8089648
sub_8089648: @ 8089648
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x18
	beq _08089656
	cmp r0, 0x1A
	bne _0808965A
_08089656:
	movs r0, 0x1
	b _0808965C
_0808965A:
	movs r0, 0
_0808965C:
	pop {r1}
	bx r1
	thumb_func_end sub_8089648

	thumb_func_start sub_8089660
sub_8089660: @ 8089660
	push {r4,lr}
	lsls r0, 24
	lsrs r4, r0, 24
	adds r0, r4, 0
	bl MetatileBehavior_IsSurfableWaterOrUnderwater
	lsls r0, 24
	cmp r0, 0
	beq _08089682
	adds r0, r4, 0
	bl MetatileBehavior_IsWaterfall
	lsls r0, 24
	cmp r0, 0
	bne _08089682
	movs r0, 0x1
	b _08089684
_08089682:
	movs r0, 0
_08089684:
	pop {r4}
	pop {r1}
	bx r1
	thumb_func_end sub_8089660

	thumb_func_start MetatileBehavior_IsEastBlocked
MetatileBehavior_IsEastBlocked: @ 808968C
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x30
	beq _080896A6
	cmp r0, 0x34
	beq _080896A6
	cmp r0, 0x36
	beq _080896A6
	cmp r0, 0xC1
	beq _080896A6
	cmp r0, 0xBE
	bne _080896AA
_080896A6:
	movs r0, 0x1
	b _080896AC
_080896AA:
	movs r0, 0
_080896AC:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsEastBlocked

	thumb_func_start MetatileBehavior_IsWestBlocked
MetatileBehavior_IsWestBlocked: @ 80896B0
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x31
	beq _080896CA
	cmp r0, 0x35
	beq _080896CA
	cmp r0, 0x37
	beq _080896CA
	cmp r0, 0xC1
	beq _080896CA
	cmp r0, 0xBE
	bne _080896CE
_080896CA:
	movs r0, 0x1
	b _080896D0
_080896CE:
	movs r0, 0
_080896D0:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsWestBlocked

	thumb_func_start MetatileBehavior_IsNorthBlocked
MetatileBehavior_IsNorthBlocked: @ 80896D4
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x32
	beq _080896EA
	cmp r0, 0x34
	beq _080896EA
	cmp r0, 0x35
	beq _080896EA
	cmp r0, 0xC0
	bne _080896EE
_080896EA:
	movs r0, 0x1
	b _080896F0
_080896EE:
	movs r0, 0
_080896F0:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsNorthBlocked

	thumb_func_start MetatileBehavior_IsSouthBlocked
MetatileBehavior_IsSouthBlocked: @ 80896F4
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x33
	beq _0808970A
	cmp r0, 0x36
	beq _0808970A
	cmp r0, 0x37
	beq _0808970A
	cmp r0, 0xC0
	bne _0808970E
_0808970A:
	movs r0, 0x1
	b _08089710
_0808970E:
	movs r0, 0
_08089710:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsSouthBlocked

	thumb_func_start MetatileBehavior_IsShortGrass
MetatileBehavior_IsShortGrass: @ 8089714
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x7
	beq _08089722
	movs r0, 0
	b _08089724
_08089722:
	movs r0, 0x1
_08089724:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsShortGrass

	thumb_func_start MetatileBehavior_IsHotSprings
MetatileBehavior_IsHotSprings: @ 8089728
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x28
	beq _08089736
	movs r0, 0
	b _08089738
_08089736:
	movs r0, 0x1
_08089738:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsHotSprings

	thumb_func_start MetatileBehavior_IsWaterfall
@ bool8 MetatileBehavior_IsWaterfall(u8 metatileBehavior)
MetatileBehavior_IsWaterfall: @ 808973C
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x13
	beq _0808974A
	movs r0, 0
	b _0808974C
_0808974A:
	movs r0, 0x1
_0808974C:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsWaterfall

	thumb_func_start MetatileBehavior_IsFortreeBridge
MetatileBehavior_IsFortreeBridge: @ 8089750
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x78
	beq _0808975E
	movs r0, 0
	b _08089760
_0808975E:
	movs r0, 0x1
_08089760:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsFortreeBridge

	thumb_func_start sub_8089764
sub_8089764: @ 8089764
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x74
	beq _08089772
	movs r0, 0
	b _08089774
_08089772:
	movs r0, 0x1
_08089774:
	pop {r1}
	bx r1
	thumb_func_end sub_8089764

	thumb_func_start sub_8089778
sub_8089778: @ 8089778
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x75
	beq _08089786
	movs r0, 0
	b _08089788
_08089786:
	movs r0, 0x1
_08089788:
	pop {r1}
	bx r1
	thumb_func_end sub_8089778

	thumb_func_start sub_808978C
sub_808978C: @ 808978C
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x76
	beq _0808979A
	movs r0, 0
	b _0808979C
_0808979A:
	movs r0, 0x1
_0808979C:
	pop {r1}
	bx r1
	thumb_func_end sub_808978C

	thumb_func_start sub_80897A0
sub_80897A0: @ 80897A0
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x77
	beq _080897AE
	movs r0, 0
	b _080897B0
_080897AE:
	movs r0, 0x1
_080897B0:
	pop {r1}
	bx r1
	thumb_func_end sub_80897A0

	thumb_func_start MetatileBehavior_IsPacifidlogLog
MetatileBehavior_IsPacifidlogLog: @ 80897B4
	push {lr}
	lsls r0, 24
	movs r1, 0x8C
	lsls r1, 24
	adds r0, r1
	lsrs r0, 24
	cmp r0, 0x3
	bls _080897C8
	movs r0, 0
	b _080897CA
_080897C8:
	movs r0, 0x1
_080897CA:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsPacifidlogLog

	thumb_func_start is_tile_x8C
is_tile_x8C: @ 80897D0
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x8C
	beq _080897DE
	movs r0, 0
	b _080897E0
_080897DE:
	movs r0, 0x1
_080897E0:
	pop {r1}
	bx r1
	thumb_func_end is_tile_x8C

	thumb_func_start is_tile_x85
is_tile_x85: @ 80897E4
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x85
	beq _080897F2
	movs r0, 0
	b _080897F4
_080897F2:
	movs r0, 0x1
_080897F4:
	pop {r1}
	bx r1
	thumb_func_end is_tile_x85

	thumb_func_start is_tile_x8B
is_tile_x8B: @ 80897F8
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x8B
	beq _08089806
	movs r0, 0
	b _08089808
_08089806:
	movs r0, 0x1
_08089808:
	pop {r1}
	bx r1
	thumb_func_end is_tile_x8B

	thumb_func_start is_tile_xEA
is_tile_xEA: @ 808980C
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xEA
	beq _0808981A
	movs r0, 0
	b _0808981C
_0808981A:
	movs r0, 0x1
_0808981C:
	pop {r1}
	bx r1
	thumb_func_end is_tile_xEA

	thumb_func_start is_tile_x8A
is_tile_x8A: @ 8089820
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x8A
	beq _0808982E
	movs r0, 0
	b _08089830
_0808982E:
	movs r0, 0x1
_08089830:
	pop {r1}
	bx r1
	thumb_func_end is_tile_x8A

	thumb_func_start is_tile_x87
is_tile_x87: @ 8089834
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x87
	beq _08089842
	movs r0, 0
	b _08089844
_08089842:
	movs r0, 0x1
_08089844:
	pop {r1}
	bx r1
	thumb_func_end is_tile_x87

	thumb_func_start MetatileBehavior_0xBB
@ bool8 MetatileBehavior_0xBB(u8 metatileBehavior)
MetatileBehavior_0xBB: @ 8089848
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xBB
	beq _08089856
	movs r0, 0
	b _08089858
_08089856:
	movs r0, 0x1
_08089858:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_0xBB

	thumb_func_start MetatileBehavior_0xBC
@ bool8 MetatileBehavior_0xBC(u8 metatileBehavior)
MetatileBehavior_0xBC: @ 808985C
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xBC
	beq _0808986A
	movs r0, 0
	b _0808986C
_0808986A:
	movs r0, 0x1
_0808986C:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_0xBC

	thumb_func_start sub_8089870
sub_8089870: @ 8089870
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x29
	beq _0808987E
	movs r0, 0
	b _08089880
_0808987E:
	movs r0, 0x1
_08089880:
	pop {r1}
	bx r1
	thumb_func_end sub_8089870

	thumb_func_start is_role_x68
is_role_x68: @ 8089884
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x68
	beq _08089892
	movs r0, 0
	b _08089894
_08089892:
	movs r0, 0x1
_08089894:
	pop {r1}
	bx r1
	thumb_func_end is_role_x68

	thumb_func_start MetatileBehavior_IsAquaHideoutWarp
MetatileBehavior_IsAquaHideoutWarp: @ 8089898
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x67
	beq _080898A6
	movs r0, 0
	b _080898A8
_080898A6:
	movs r0, 0x1
_080898A8:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsAquaHideoutWarp

	thumb_func_start sub_80898AC
sub_80898AC: @ 80898AC
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x70
	beq _080898BA
	movs r0, 0
	b _080898BC
_080898BA:
	movs r0, 0x1
_080898BC:
	pop {r1}
	bx r1
	thumb_func_end sub_80898AC

	thumb_func_start sub_80898C0
sub_80898C0: @ 80898C0
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xE
	beq _080898CE
	movs r0, 0
	b _080898D0
_080898CE:
	movs r0, 0x1
_080898D0:
	pop {r1}
	bx r1
	thumb_func_end sub_80898C0

	thumb_func_start MetatileBehavior_IsSurfableFishableWater
MetatileBehavior_IsSurfableFishableWater: @ 80898D4
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x10
	beq _080898F8
	cmp r0, 0x15
	beq _080898F8
	cmp r0, 0x11
	beq _080898F8
	cmp r0, 0x12
	beq _080898F8
	cmp r0, 0x14
	beq _080898F8
	subs r0, 0x50
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x3
	bhi _080898FC
_080898F8:
	movs r0, 0x1
	b _080898FE
_080898FC:
	movs r0, 0
_080898FE:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsSurfableFishableWater

	thumb_func_start sub_8089904
sub_8089904: @ 8089904
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xF
	beq _08089912
	movs r0, 0
	b _08089914
_08089912:
	movs r0, 0x1
_08089914:
	pop {r1}
	bx r1
	thumb_func_end sub_8089904

	thumb_func_start sub_8089918
sub_8089918: @ 8089918
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x66
	beq _08089926
	movs r0, 0
	b _08089928
_08089926:
	movs r0, 0x1
_08089928:
	pop {r1}
	bx r1
	thumb_func_end sub_8089918

	thumb_func_start sub_808992C
sub_808992C: @ 808992C
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xD2
	beq _0808993A
	movs r0, 0
	b _0808993C
_0808993A:
	movs r0, 0x1
_0808993C:
	pop {r1}
	bx r1
	thumb_func_end sub_808992C

	thumb_func_start MetatileBehavior_IsMuddySlope
@ bool8 MetatileBehavior_IsMuddySlope(u8 metatileBehavior)
MetatileBehavior_IsMuddySlope: @ 8089940
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xD0
	beq _0808994E
	movs r0, 0
	b _08089950
_0808994E:
	movs r0, 0x1
_08089950:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsMuddySlope

	thumb_func_start MetatileBehavior_IsBumpySlope
MetatileBehavior_IsBumpySlope: @ 8089954
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xD1
	beq _08089962
	movs r0, 0
	b _08089964
_08089962:
	movs r0, 0x1
_08089964:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsBumpySlope

	thumb_func_start MetatileBehavior_IsIsolatedVerticalRail
MetatileBehavior_IsIsolatedVerticalRail: @ 8089968
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xD3
	beq _08089976
	movs r0, 0
	b _08089978
_08089976:
	movs r0, 0x1
_08089978:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsIsolatedVerticalRail

	thumb_func_start MetatileBehavior_IsIsolatedHorizontalRail
MetatileBehavior_IsIsolatedHorizontalRail: @ 808997C
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xD4
	beq _0808998A
	movs r0, 0
	b _0808998C
_0808998A:
	movs r0, 0x1
_0808998C:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsIsolatedHorizontalRail

	thumb_func_start MetatileBehavior_IsVerticalRail
MetatileBehavior_IsVerticalRail: @ 8089990
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xD5
	beq _0808999E
	movs r0, 0
	b _080899A0
_0808999E:
	movs r0, 0x1
_080899A0:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsVerticalRail

	thumb_func_start MetatileBehavior_IsHorizontalRail
MetatileBehavior_IsHorizontalRail: @ 80899A4
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xD6
	beq _080899B2
	movs r0, 0
	b _080899B4
_080899B2:
	movs r0, 0x1
_080899B4:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsHorizontalRail

	thumb_func_start MetatileBehavior_IsSeaweed
MetatileBehavior_IsSeaweed: @ 80899B8
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x22
	beq _080899C6
	cmp r0, 0x2A
	bne _080899CA
_080899C6:
	movs r0, 0x1
	b _080899CC
_080899CA:
	movs r0, 0
_080899CC:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsSeaweed

	thumb_func_start MetatileBehavior_IsRunningDisallowed
MetatileBehavior_IsRunningDisallowed: @ 80899D0
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xA
	beq _080899EC
	cmp r0, 0x3
	beq _080899EC
	cmp r0, 0x28
	beq _080899EC
	bl MetatileBehavior_IsPacifidlogLog
	lsls r0, 24
	cmp r0, 0
	beq _080899F0
_080899EC:
	movs r0, 0x1
	b _080899F2
_080899F0:
	movs r0, 0
_080899F2:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsRunningDisallowed

	thumb_func_start sub_80899F8
sub_80899F8: @ 80899F8
	push {lr}
	lsls r0, 24
	lsrs r1, r0, 24
	movs r2, 0xFE
	lsls r2, 24
	adds r0, r2
	lsrs r0, 24
	cmp r0, 0x1
	bls _08089A12
	cmp r1, 0x24
	beq _08089A12
	cmp r1, 0x9
	bne _08089A16
_08089A12:
	movs r0, 0x1
	b _08089A18
_08089A16:
	movs r0, 0
_08089A18:
	pop {r1}
	bx r1
	thumb_func_end sub_80899F8

	thumb_func_start sub_8089A1C
sub_8089A1C: @ 8089A1C
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x8E
	beq _08089A2A
	movs r0, 0
	b _08089A2C
_08089A2A:
	movs r0, 0x1
_08089A2C:
	pop {r1}
	bx r1
	thumb_func_end sub_8089A1C

	thumb_func_start sub_8089A30
sub_8089A30: @ 8089A30
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xE0
	beq _08089A3E
	movs r0, 0
	b _08089A40
_08089A3E:
	movs r0, 0x1
_08089A40:
	pop {r1}
	bx r1
	thumb_func_end sub_8089A30

	thumb_func_start sub_8089A44
sub_8089A44: @ 8089A44
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xE1
	beq _08089A52
	movs r0, 0
	b _08089A54
_08089A52:
	movs r0, 0x1
_08089A54:
	pop {r1}
	bx r1
	thumb_func_end sub_8089A44

	thumb_func_start sub_8089A58
sub_8089A58: @ 8089A58
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xE2
	beq _08089A66
	movs r0, 0
	b _08089A68
_08089A66:
	movs r0, 0x1
_08089A68:
	pop {r1}
	bx r1
	thumb_func_end sub_8089A58

	thumb_func_start sub_8089A6C
sub_8089A6C: @ 8089A6C
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xE3
	beq _08089A7A
	movs r0, 0
	b _08089A7C
_08089A7A:
	movs r0, 0x1
_08089A7C:
	pop {r1}
	bx r1
	thumb_func_end sub_8089A6C

	thumb_func_start sub_8089A80
sub_8089A80: @ 8089A80
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xE4
	beq _08089A8E
	movs r0, 0
	b _08089A90
_08089A8E:
	movs r0, 0x1
_08089A90:
	pop {r1}
	bx r1
	thumb_func_end sub_8089A80

	thumb_func_start sub_8089A94
sub_8089A94: @ 8089A94
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xE5
	beq _08089AA2
	movs r0, 0
	b _08089AA4
_08089AA2:
	movs r0, 0x1
_08089AA4:
	pop {r1}
	bx r1
	thumb_func_end sub_8089A94

	thumb_func_start sub_8089AA8
sub_8089AA8: @ 8089AA8
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xE6
	beq _08089AB6
	movs r0, 0
	b _08089AB8
_08089AB6:
	movs r0, 0x1
_08089AB8:
	pop {r1}
	bx r1
	thumb_func_end sub_8089AA8

	thumb_func_start sub_8089ABC
sub_8089ABC: @ 8089ABC
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xD
	beq _08089ACA
	movs r0, 0
	b _08089ACC
_08089ACA:
	movs r0, 0x1
_08089ACC:
	pop {r1}
	bx r1
	thumb_func_end sub_8089ABC

	thumb_func_start sub_8089AD0
sub_8089AD0: @ 8089AD0
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	lsls r1, 24
	lsrs r1, 24
	cmp r1, 0x2
	bne _08089AE2
	cmp r0, 0xE8
	beq _08089AE6
_08089AE2:
	movs r0, 0
	b _08089AE8
_08089AE6:
	movs r0, 0x1
_08089AE8:
	pop {r1}
	bx r1
	thumb_func_end sub_8089AD0

	thumb_func_start sub_8089AEC
sub_8089AEC: @ 8089AEC
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	lsls r1, 24
	lsrs r1, 24
	cmp r1, 0x2
	bne _08089AFE
	cmp r0, 0xE7
	beq _08089B02
_08089AFE:
	movs r0, 0
	b _08089B04
_08089B02:
	movs r0, 0x1
_08089B04:
	pop {r1}
	bx r1
	thumb_func_end sub_8089AEC

	thumb_func_start MetatileBehavior_IsQuestionnaire
MetatileBehavior_IsQuestionnaire: @ 8089B08
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x8F
	beq _08089B16
	movs r0, 0
	b _08089B18
_08089B16:
	movs r0, 0x1
_08089B18:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsQuestionnaire

	thumb_func_start MetatileBehavior_IsLongGrass2
MetatileBehavior_IsLongGrass2: @ 8089B1C
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x3
	beq _08089B2A
	movs r0, 0
	b _08089B2C
_08089B2A:
	movs r0, 0x1
_08089B2C:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsLongGrass2

	thumb_func_start MetatileBehavior_IsLongGrassSouthEdge
MetatileBehavior_IsLongGrassSouthEdge: @ 8089B30
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0x9
	beq _08089B3E
	movs r0, 0
	b _08089B40
_08089B3E:
	movs r0, 0x1
_08089B40:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsLongGrassSouthEdge

	thumb_func_start MetatileBehavior_IsTrainerHillTimer
MetatileBehavior_IsTrainerHillTimer: @ 8089B44
	push {lr}
	lsls r0, 24
	lsrs r0, 24
	cmp r0, 0xE9
	beq _08089B52
	movs r0, 0
	b _08089B54
_08089B52:
	movs r0, 0x1
_08089B54:
	pop {r1}
	bx r1
	thumb_func_end MetatileBehavior_IsTrainerHillTimer

	.align 2, 0 @ Don't pad with nop.