diff options
author | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-02-20 22:12:40 -0500 |
---|---|---|
committer | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-02-20 22:12:40 -0500 |
commit | e54b3427db443f40cc07da650f64c1573ae0d4a0 (patch) | |
tree | af85b2d6e19e500806df423fc742c2d3a4a49d9c /asm/code_80428A0.s | |
parent | 60a19d681cda14c4ebeab5d18a98e3b07a5e93a3 (diff) |
Decomped IsBossBattle()
Diffstat (limited to 'asm/code_80428A0.s')
-rw-r--r-- | asm/code_80428A0.s | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/asm/code_80428A0.s b/asm/code_80428A0.s index 6f512f1..f2e258a 100644 --- a/asm/code_80428A0.s +++ b/asm/code_80428A0.s @@ -2828,29 +2828,4 @@ _080441B4: .4byte gTeamInventory_203B460 _080441B8: .4byte gRecruitedPokemonRef thumb_func_end sub_8044124 - thumb_func_start IsBossBattle -IsBossBattle: - push {lr} - ldr r0, _080441D8 - ldr r0, [r0] - ldr r1, _080441DC - adds r0, r1 - movs r1, 0 - ldrsh r0, [r0, r1] - cmp r0, 0 - beq _080441E0 - cmp r0, 0x31 - bgt _080441E0 - movs r0, 0x1 - b _080441E2 - .align 2, 0 -_080441D8: .4byte gDungeonGlobalData -_080441DC: .4byte 0x00003a14 -_080441E0: - movs r0, 0 -_080441E2: - pop {r1} - bx r1 - thumb_func_end IsBossBattle - .align 2, 0
\ No newline at end of file |