diff options
Diffstat (limited to 'asm/code_800B5F0.s')
-rw-r--r-- | asm/code_800B5F0.s | 122 |
1 files changed, 0 insertions, 122 deletions
diff --git a/asm/code_800B5F0.s b/asm/code_800B5F0.s index cb44c31..b30e371 100644 --- a/asm/code_800B5F0.s +++ b/asm/code_800B5F0.s @@ -651,126 +651,4 @@ _0800BC08: .4byte 0x00008304 _0800BC0C: .4byte 0x04000208 thumb_func_end sub_800BB44 - thumb_func_start nullsub_17 -nullsub_17: - bx lr - thumb_func_end nullsub_17 - - thumb_func_start UpdateBGControlRegisters -UpdateBGControlRegisters: - push {r4,lr} - sub sp, 0x10 - ldr r0, _0800BC2C - ldrb r0, [r0] - cmp r0, 0x1 - bne _0800BC30 - str r0, [sp] - movs r0, 0x2 - str r0, [sp, 0x4] - movs r0, 0 - b _0800BC3A - .align 2, 0 -_0800BC2C: .4byte gUnknown_202D7FE -_0800BC30: - movs r0, 0 - str r0, [sp] - movs r0, 0x1 - str r0, [sp, 0x4] - movs r0, 0x2 -_0800BC3A: - str r0, [sp, 0x8] - movs r0, 0x3 - str r0, [sp, 0xC] - ldr r1, _0800BCA8 - ldr r2, _0800BCAC - ldrh r0, [r2, 0x4] - strh r0, [r1] - adds r1, 0x2 - ldrh r0, [r2, 0x6] - strh r0, [r1] - adds r1, 0x2 - ldr r2, _0800BCB0 - ldrh r0, [r2, 0x4] - strh r0, [r1] - adds r1, 0x2 - ldrh r0, [r2, 0x6] - strh r0, [r1] - adds r1, 0x2 - ldr r3, _0800BCB4 - ldrh r0, [r3, 0x4] - strh r0, [r1] - adds r1, 0x2 - ldrh r0, [r3, 0x6] - strh r0, [r1] - adds r1, 0x2 - ldr r2, _0800BCB8 - ldrh r0, [r2, 0x4] - strh r0, [r1] - adds r1, 0x2 - ldrh r0, [r2, 0x6] - strh r0, [r1] - ldr r2, _0800BCBC - ldr r0, [sp] - movs r4, 0xB0 - lsls r4, 6 - adds r1, r4, 0 - orrs r0, r1 - strh r0, [r2] - adds r2, 0x2 - ldr r0, [sp, 0x4] - movs r4, 0xB4 - lsls r4, 6 - adds r1, r4, 0 - orrs r0, r1 - strh r0, [r2] - ldrh r1, [r3, 0x2] - movs r0, 0x80 - lsls r0, 8 - cmp r1, r0 - bne _0800BCC8 - ldr r0, _0800BCC0 - ldr r1, [sp, 0x8] - ldr r3, _0800BCC4 - adds r2, r3, 0 - b _0800BCD2 - .align 2, 0 -_0800BCA8: .4byte 0x04000010 -_0800BCAC: .4byte gUnknown_202D698 -_0800BCB0: .4byte gUnknown_202D6A0 -_0800BCB4: .4byte gUnknown_202D6A8 -_0800BCB8: .4byte gUnknown_202D6B0 -_0800BCBC: .4byte 0x04000008 -_0800BCC0: .4byte 0x0400000c -_0800BCC4: .4byte 0x00002e08 -_0800BCC8: - ldr r0, _0800BCF4 - ldr r1, [sp, 0x8] - movs r4, 0xB8 - lsls r4, 6 - adds r2, r4, 0 -_0800BCD2: - orrs r1, r2 - strh r1, [r0] - ldr r2, _0800BCF8 - ldr r0, [sp, 0xC] - ldr r3, _0800BCFC - adds r1, r3, 0 - orrs r0, r1 - strh r0, [r2] - ldr r1, _0800BD00 - ldr r0, _0800BD04 - ldrh r0, [r0] - strh r0, [r1] - add sp, 0x10 - pop {r4} - pop {r0} - bx r0 - .align 2, 0 -_0800BCF4: .4byte 0x0400000c -_0800BCF8: .4byte 0x0400000e -_0800BCFC: .4byte 0x00002f08 -_0800BD00: .4byte 0x04000050 -_0800BD04: .4byte gUnknown_202D7FC - thumb_func_end UpdateBGControlRegisters - .align 2, 0 @ Don't pad with nop. |