diff options
author | PikalaxALT <pikalax1@gmail.com> | 2017-05-15 10:38:22 -0400 |
---|---|---|
committer | PikalaxALT <pikalax1@gmail.com> | 2017-05-15 10:43:38 -0400 |
commit | a804adbf16a8d59477e19b3204c1f1ae6175f59f (patch) | |
tree | b6a86ed612565aef843b1ad54c6993bcb09b136a /asm | |
parent | 234bd7da7eff396223d61493014e3556cbb611b7 (diff) |
Get sub_80BB5E4 matching
Diffstat (limited to 'asm')
-rw-r--r-- | asm/secret_base.s | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/asm/secret_base.s b/asm/secret_base.s index eb578f85e..48b70d1c5 100644 --- a/asm/secret_base.s +++ b/asm/secret_base.s @@ -6,79 +6,6 @@ .text - thumb_func_start sub_80BB5E4 -sub_80BB5E4: @ 80BB5E4 - push {r4,lr} - ldr r0, _080BB5F4 @ =gScriptResult - movs r1, 0 - strh r1, [r0] - movs r3, 0 - adds r4, r0, 0 - b _080BB5FE - .align 2, 0 -_080BB5F4: .4byte gScriptResult -_080BB5F8: - adds r0, r3, 0x1 - lsls r0, 16 - lsrs r3, r0, 16 -_080BB5FE: - cmp r3, 0x13 - bhi _080BB626 - ldr r2, _080BB62C @ =gUnknown_020387DC - ldr r1, _080BB630 @ =gSaveBlock1 - lsls r0, r3, 2 - adds r0, r3 - lsls r0, 5 - adds r0, r1 - ldr r1, _080BB634 @ =0x00001a08 - adds r0, r1 - ldrb r1, [r2] - ldrb r0, [r0] - cmp r1, r0 - bne _080BB5F8 - movs r0, 0x1 - strh r0, [r4] - ldr r0, _080BB638 @ =0x00004054 - adds r1, r3, 0 - bl VarSet -_080BB626: - pop {r4} - pop {r0} - bx r0 - .align 2, 0 -_080BB62C: .4byte gUnknown_020387DC -_080BB630: .4byte gSaveBlock1 -_080BB634: .4byte 0x00001a08 -_080BB638: .4byte 0x00004054 - thumb_func_end sub_80BB5E4 - - thumb_func_start sub_80BB63C -sub_80BB63C: @ 80BB63C - push {lr} - ldr r0, _080BB654 @ =gSaveBlock1 - ldr r1, _080BB658 @ =0x00001a08 - adds r0, r1 - ldrb r1, [r0] - cmp r1, 0 - beq _080BB660 - ldr r1, _080BB65C @ =gScriptResult - movs r0, 0x1 - strh r0, [r1] - b _080BB664 - .align 2, 0 -_080BB654: .4byte gSaveBlock1 -_080BB658: .4byte 0x00001a08 -_080BB65C: .4byte gScriptResult -_080BB660: - ldr r0, _080BB668 @ =gScriptResult - strh r1, [r0] -_080BB664: - pop {r0} - bx r0 - .align 2, 0 -_080BB668: .4byte gScriptResult - thumb_func_end sub_80BB63C - thumb_func_start sub_80BB66C sub_80BB66C: @ 80BB66C push {r4,lr} |