summaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
authorAnonymousRandomPerson <chenghanngan.us@gmail.com>2022-02-20 23:59:57 -0500
committerAnonymousRandomPerson <chenghanngan.us@gmail.com>2022-02-20 23:59:57 -0500
commit07795b6ff619c30426ad279ef840842ef3dea2ac (patch)
treecded82c311a71d7d2dee807dfa46704d233b7d41 /asm
parent4aafa434a61c07b70e6bc2364ab6f63c7e2c4169 (diff)
Decomped IsWaterTileset()
Diffstat (limited to 'asm')
-rw-r--r--asm/code_804AFAC.s (renamed from asm/code_804AF74.s)32
1 files changed, 0 insertions, 32 deletions
diff --git a/asm/code_804AF74.s b/asm/code_804AFAC.s
index 12fa236..ccfc75d 100644
--- a/asm/code_804AF74.s
+++ b/asm/code_804AFAC.s
@@ -5,38 +5,6 @@
.text
- thumb_func_start IsWaterTileset
-IsWaterTileset:
- push {lr}
- ldr r0, _0804AF9C
- ldr r0, [r0]
- ldr r1, _0804AFA0
- adds r0, r1
- movs r1, 0
- ldrsh r0, [r0, r1]
- cmp r0, 0
- beq _0804AF96
- cmp r0, 0x31
- beq _0804AF96
- cmp r0, 0x20
- beq _0804AF96
- cmp r0, 0x21
- beq _0804AF96
- cmp r0, 0x36
- bne _0804AFA4
-_0804AF96:
- movs r0, 0x1
- b _0804AFA6
- .align 2, 0
-_0804AF9C: .4byte gDungeonGlobalData
-_0804AFA0: .4byte 0x00003a0e
-_0804AFA4:
- movs r0, 0
-_0804AFA6:
- pop {r1}
- bx r1
- thumb_func_end IsWaterTileset
-
thumb_func_start sub_804AFAC
sub_804AFAC:
push {r4-r7,lr}