diff options
author | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-02-28 21:17:15 -0500 |
---|---|---|
committer | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-03-10 22:32:17 -0500 |
commit | 70ce2c1642376305f26ad0eaebad26d7d3fe9ac9 (patch) | |
tree | 1862acd3b246edb9e5b3491dbe42a04beaf8880f /asm | |
parent | 07285e7e82db008b1f322879f3b22c8eb437a8de (diff) |
Decomped LastUsedMoveOutOfPP()
Diffstat (limited to 'asm')
-rw-r--r-- | asm/code_805D850.s | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/asm/code_805D850.s b/asm/code_805D850.s deleted file mode 100644 index be2ae85..0000000 --- a/asm/code_805D850.s +++ /dev/null @@ -1,42 +0,0 @@ - #include "asm/constants/gba_constants.inc" - #include "asm/macros.inc" - - .syntax unified - - .text - - thumb_func_start LastMoveOutOfPP -LastMoveOutOfPP: - push {r4,r5,lr} - movs r3, 0 - movs r5, 0x1 - adds r2, r0, 0 - movs r4, 0x10 -_0805D85A: - ldrb r1, [r2] - adds r0, r5, 0 - ands r0, r1 - cmp r0, 0 - beq _0805D876 - adds r0, r4, 0 - ands r0, r1 - cmp r0, 0 - beq _0805D876 - ldrb r0, [r2, 0x4] - cmp r0, 0 - bne _0805D876 - movs r0, 0x1 - b _0805D880 -_0805D876: - adds r2, 0x8 - adds r3, 0x1 - cmp r3, 0x3 - ble _0805D85A - movs r0, 0 -_0805D880: - pop {r4,r5} - pop {r1} - bx r1 - thumb_func_end LastMoveOutOfPP - - .align 2, 0
\ No newline at end of file |