summaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
authorAnonymousRandomPerson <chenghanngan.us@gmail.com>2022-02-28 21:04:40 -0500
committerAnonymousRandomPerson <chenghanngan.us@gmail.com>2022-03-10 22:32:17 -0500
commit07285e7e82db008b1f322879f3b22c8eb437a8de (patch)
tree505c70dab18c81a2320ca378ff2ef5101ef8dec7 /asm
parent91c0a142ccf4783c65aecdd75a4faed33edf3ed6 (diff)
Decomped HasDisabledMove()
Diffstat (limited to 'asm')
-rw-r--r--asm/code_805D850.s (renamed from asm/code_805D810.s)40
1 files changed, 0 insertions, 40 deletions
diff --git a/asm/code_805D810.s b/asm/code_805D850.s
index 3630c29..be2ae85 100644
--- a/asm/code_805D810.s
+++ b/asm/code_805D850.s
@@ -5,46 +5,6 @@
.text
- thumb_func_start HasDisabledMove
-HasDisabledMove:
- push {r4-r6,lr}
- adds r4, r0, 0
- movs r3, 0
- movs r6, 0x1
- movs r5, 0x20
- adds r2, r4, 0
-_0805D81C:
- ldrb r1, [r2]
- adds r0, r6, 0
- ands r0, r1
- cmp r0, 0
- beq _0805D82E
- adds r0, r5, 0
- ands r0, r1
- cmp r0, 0
- bne _0805D848
-_0805D82E:
- adds r2, 0x8
- adds r3, 0x1
- cmp r3, 0x3
- ble _0805D81C
- adds r0, r4, 0
- adds r0, 0x20
- ldrb r1, [r0]
- movs r0, 0x20
- ands r0, r1
- cmp r0, 0
- bne _0805D848
- movs r0, 0
- b _0805D84A
-_0805D848:
- movs r0, 0x1
-_0805D84A:
- pop {r4-r6}
- pop {r1}
- bx r1
- thumb_func_end HasDisabledMove
-
thumb_func_start LastMoveOutOfPP
LastMoveOutOfPP:
push {r4,r5,lr}