diff options
author | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-01-20 18:12:17 -0500 |
---|---|---|
committer | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-01-20 18:12:17 -0500 |
commit | c5cd6e137fbad180a21ec24a50fde76633db0c20 (patch) | |
tree | 38953616b74da130bd832635bed1c605d4b0e322 /asm | |
parent | 74d89a6fe4615b4c463852e98c2ea43bb1f6bf00 (diff) |
Decomped IsSleeping()
-Function provided by SethBarberee.
Diffstat (limited to 'asm')
-rw-r--r-- | asm/code_8070B48.s (renamed from asm/code_8070B28.s) | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/asm/code_8070B28.s b/asm/code_8070B48.s index 65b82a2..c0b90dc 100644 --- a/asm/code_8070B28.s +++ b/asm/code_8070B48.s @@ -5,27 +5,6 @@ .text - thumb_func_start IsSleeping -IsSleeping: - push {lr} - ldr r0, [r0, 0x70] - adds r0, 0xA8 - ldrb r0, [r0] - cmp r0, 0x1 - beq _08070B40 - cmp r0, 0x5 - beq _08070B40 - cmp r0, 0x3 - beq _08070B40 - movs r0, 0 - b _08070B42 -_08070B40: - movs r0, 0x1 -_08070B42: - pop {r1} - bx r1 - thumb_func_end IsSleeping - thumb_func_start HasQuarterHPOrLess HasQuarterHPOrLess: push {lr} |