diff --git a/Makefile b/Makefile index ed71b35f..caf5a55e 100644 --- a/Makefile +++ b/Makefile @@ -90,7 +90,7 @@ C_OBJS := $(patsubst $(C_SUBDIR)/%.c,$(C_BUILDDIR)/%.o,$(C_SRCS)) ASM_SRCS := $(wildcard $(ASM_SUBDIR)/*.s) ASM_OBJS := $(patsubst $(ASM_SUBDIR)/%.s,$(ASM_BUILDDIR)/%.o,$(ASM_SRCS)) -DATA_ASM_SRCS := $(wildcard $(DATA_ASM_SUBDIR)/*.s) +DATA_ASM_SRCS := $(wildcard $(DATA_ASM_SUBDIR)/*.s $(DATA_ASM_SUBDIR)/**/*.s) DATA_ASM_OBJS := $(patsubst $(DATA_ASM_SUBDIR)/%.s,$(DATA_ASM_BUILDDIR)/%.o,$(DATA_ASM_SRCS)) SONG_SRCS := $(wildcard $(SONG_SUBDIR)/*.s) diff --git a/asm/beetle.s b/asm/beetle.s deleted file mode 100644 index 9bdbd6d4..00000000 --- a/asm/beetle.s +++ /dev/null @@ -1,812 +0,0 @@ - .include "asm/macros.inc" - - .include "constants/constants.inc" - - .syntax unified - - .text - - - thumb_func_start Beetle -Beetle: @ 0x08021758 - push {lr} - ldr r1, _08021764 @ =gUnk_080CB590 - bl EnemyFunctionHandler - pop {pc} - .align 2, 0 -_08021764: .4byte gUnk_080CB590 - - thumb_func_start sub_08021768 -sub_08021768: @ 0x08021768 - push {lr} - ldr r2, _0802177C @ =gUnk_080CB5A8 - ldrb r1, [r0, #0xc] - lsls r1, r1, #2 - adds r1, r1, r2 - ldr r1, [r1] - bl _call_via_r1 - pop {pc} - .align 2, 0 -_0802177C: .4byte gUnk_080CB5A8 - - thumb_func_start sub_08021780 -sub_08021780: @ 0x08021780 - push {r4, lr} - adds r4, r0, #0 - adds r0, #0x41 - ldrb r0, [r0] - cmp r0, #0x80 - beq _08021792 - cmp r0, #0x93 - beq _080217F4 - b _080217FA -_08021792: - ldr r0, _080217A4 @ =gPlayerState - adds r0, #0xa8 - ldrb r0, [r0] - cmp r0, #0x18 - bne _080217A8 - adds r0, r4, #0 - bl sub_08021768 - b _080217FA - .align 2, 0 -_080217A4: .4byte gPlayerState -_080217A8: - movs r1, #0 - movs r0, #5 - strb r0, [r4, #0xc] - movs r0, #0xb4 - strb r0, [r4, #0xe] - strb r1, [r4, #0xf] - ldrb r1, [r4, #0x10] - movs r0, #0x7f - ands r0, r1 - strb r0, [r4, #0x10] - adds r2, r4, #0 - adds r2, #0x29 - ldrb r1, [r2] - movs r0, #8 - rsbs r0, r0, #0 - ands r0, r1 - movs r1, #3 - orrs r0, r1 - strb r0, [r2] - ldr r0, _080217EC @ =gPlayerEntity - adds r1, r4, #0 - bl CopyPositionAndSpriteOffset - ldr r0, _080217F0 @ =0x0000FFFF - strh r0, [r4, #0x36] - adds r1, r4, #0 - adds r1, #0x87 - movs r0, #1 - strb r0, [r1] - adds r0, r4, #0 - movs r1, #6 - bl InitializeAnimation - b _080217FA - .align 2, 0 -_080217EC: .4byte gPlayerEntity -_080217F0: .4byte 0x0000FFFF -_080217F4: - adds r0, r4, #0 - bl sub_08021768 -_080217FA: - adds r0, r4, #0 - adds r0, #0x45 - ldrb r1, [r0] - cmp r1, #0 - bne _08021808 - subs r0, #3 - strb r1, [r0] -_08021808: - ldr r1, _08021814 @ =gUnk_080CB590 - adds r0, r4, #0 - bl sub_0804AA30 - pop {r4, pc} - .align 2, 0 -_08021814: .4byte gUnk_080CB590 - - thumb_func_start sub_08021818 -sub_08021818: @ 0x08021818 - push {lr} - adds r3, r0, #0 - ldrb r0, [r3, #0xa] - cmp r0, #0 - bne _0802182A - adds r0, r3, #0 - bl sub_0804A7D4 - b _08021844 -_0802182A: - ldr r2, [r3, #0x50] - cmp r2, #0 - beq _0802183A - ldrb r0, [r2, #0xf] - subs r0, #1 - movs r1, #0 - strb r0, [r2, #0xf] - str r1, [r3, #0x50] -_0802183A: - adds r0, r3, #0 - movs r1, #0xf0 - movs r2, #0 - bl CreateDeathFx -_08021844: - pop {pc} - .align 2, 0 - - thumb_func_start sub_08021848 -sub_08021848: @ 0x08021848 - push {r4, lr} - adds r4, r0, #0 - bl sub_0806F520 - adds r1, r0, #0 - cmp r1, #0 - beq _0802186C - ldr r0, _08021868 @ =gUnk_080CB5C8 - ldrb r1, [r4, #0xd] - lsls r1, r1, #2 - adds r1, r1, r0 - ldr r1, [r1] - adds r0, r4, #0 - bl _call_via_r1 - b _0802187A - .align 2, 0 -_08021868: .4byte gUnk_080CB5C8 -_0802186C: - movs r0, #3 - strb r0, [r4, #0xc] - strh r1, [r4, #0x36] - adds r0, r4, #0 - movs r1, #2 - bl InitializeAnimation -_0802187A: - pop {r4, pc} - - thumb_func_start sub_0802187C -sub_0802187C: @ 0x0802187C - movs r1, #2 - strb r1, [r0, #0xd] - bx lr - .align 2, 0 - - thumb_func_start nullsub_130 -nullsub_130: @ 0x08021884 - bx lr - .align 2, 0 - - thumb_func_start sub_08021888 -sub_08021888: @ 0x08021888 - push {r4, lr} - adds r4, r0, #0 - bl sub_0806F3E4 - cmp r0, #0 - beq _0802189A - adds r0, r4, #0 - bl sub_08021818 -_0802189A: - pop {r4, pc} - - thumb_func_start sub_0802189C -sub_0802189C: @ 0x0802189C - push {r4, lr} - adds r4, r0, #0 - bl sub_0804A720 - movs r0, #1 - strb r0, [r4, #0xc] - strb r0, [r4, #0x1c] - adds r0, r4, #0 - movs r1, #3 - bl InitializeAnimation - pop {r4, pc} - - thumb_func_start sub_080218B4 -sub_080218B4: @ 0x080218B4 - push {lr} - ldr r2, _080218C8 @ =gUnk_080CB5D4 - ldrb r1, [r0, #0xb] - lsls r1, r1, #2 - adds r1, r1, r2 - ldr r1, [r1] - bl _call_via_r1 - pop {pc} - .align 2, 0 -_080218C8: .4byte gUnk_080CB5D4 - - thumb_func_start sub_080218CC -sub_080218CC: @ 0x080218CC - push {r4, r5, r6, lr} - adds r5, r0, #0 - ldrb r0, [r5, #0xd] - cmp r0, #0 - bne _08021916 - movs r2, #1 - movs r0, #1 - strb r0, [r5, #0xd] - ldrb r1, [r5, #0x18] - subs r0, #5 - ands r0, r1 - orrs r0, r2 - strb r0, [r5, #0x18] - adds r0, r5, #0 - movs r1, #1 - bl sub_08049F84 - adds r4, r0, #0 - bl Random - movs r1, #0x10 - eors r4, r1 - ldr r2, _08021980 @ =gUnk_080CB5DC - movs r1, #7 - ands r1, r0 - adds r1, r1, r2 - ldrb r0, [r1] - adds r0, r0, r4 - movs r1, #0x1f - ands r0, r1 - strb r0, [r5, #0x15] - movs r0, #0x80 - lsls r0, r0, #1 - strh r0, [r5, #0x24] - movs r0, #0x90 - lsls r0, r0, #9 - str r0, [r5, #0x20] -_08021916: - adds r0, r5, #0 - bl GetNextFrame - adds r2, r5, #0 - adds r2, #0x5a - ldrb r1, [r2] - movs r6, #1 - adds r0, r6, #0 - ands r0, r1 - adds r4, r2, #0 - cmp r0, #0 - beq _08021948 - adds r0, r5, #0 - bl sub_080AEFE0 - movs r1, #0xe0 - lsls r1, r1, #5 - adds r0, r5, #0 - bl sub_080044EC - cmp r0, #0 - bne _08021948 - adds r0, r5, #0 - adds r0, #0x59 - strb r6, [r0] -_08021948: - ldrb r1, [r4] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _0802197C - movs r0, #2 - strb r0, [r5, #0xc] - bl Random - movs r1, #0x38 - ands r0, r1 - adds r0, #8 - strb r0, [r5, #0xe] - movs r0, #1 - strb r0, [r5, #0xf] - ldrb r1, [r5, #0x10] - movs r0, #0x80 - orrs r0, r1 - strb r0, [r5, #0x10] - movs r0, #0xc0 - lsls r0, r0, #1 - strh r0, [r5, #0x24] - adds r0, r5, #0 - movs r1, #0 - bl InitializeAnimation -_0802197C: - pop {r4, r5, r6, pc} - .align 2, 0 -_08021980: .4byte gUnk_080CB5DC - - thumb_func_start sub_08021984 -sub_08021984: @ 0x08021984 - push {r4, lr} - adds r4, r0, #0 - ldrb r0, [r4, #0xd] - cmp r0, #0 - bne _080219C2 - movs r0, #1 - strb r0, [r4, #0xd] - ldrb r1, [r4, #0x10] - movs r0, #0x80 - orrs r0, r1 - strb r0, [r4, #0x10] - ldrb r0, [r4, #0x18] - movs r1, #3 - orrs r0, r1 - strb r0, [r4, #0x18] - ldr r0, _08021A08 @ =0x0000FF80 - strh r0, [r4, #0x36] - ldrb r2, [r4, #0x19] - movs r1, #0x3f - adds r0, r1, #0 - ands r0, r2 - movs r2, #0x40 - orrs r0, r2 - strb r0, [r4, #0x19] - ldrb r0, [r4, #0x1b] - ands r1, r0 - orrs r1, r2 - strb r1, [r4, #0x1b] - ldr r0, _08021A0C @ =0x0000012D - bl sub_08004488 -_080219C2: - movs r1, #0xc0 - lsls r1, r1, #5 - adds r0, r4, #0 - bl sub_08003FC4 - cmp r0, #0 - bne _08021A04 - movs r0, #2 - strb r0, [r4, #0xc] - movs r0, #0x10 - strb r0, [r4, #0xe] - movs r2, #1 - movs r0, #1 - strb r0, [r4, #0xf] - ldrb r1, [r4, #0x18] - subs r0, #5 - ands r0, r1 - orrs r0, r2 - strb r0, [r4, #0x18] - movs r0, #0xc0 - lsls r0, r0, #1 - strh r0, [r4, #0x24] - adds r1, r4, #0 - adds r1, #0x86 - movs r0, #0x3c - strb r0, [r1] - adds r0, r4, #0 - movs r1, #0 - bl InitializeAnimation - adds r0, r4, #0 - bl UpdateSpriteForCollisionLayer -_08021A04: - pop {r4, pc} - .align 2, 0 -_08021A08: .4byte 0x0000FF80 -_08021A0C: .4byte 0x0000012D - - thumb_func_start sub_08021A10 -sub_08021A10: @ 0x08021A10 - push {r4, lr} - adds r4, r0, #0 - bl GetNextFrame - ldr r1, _08021A60 @ =gPlayerEntity - adds r0, r4, #0 - movs r2, #0x78 - movs r3, #0x50 - bl sub_080041A0 - cmp r0, #0 - beq _08021A5E - adds r0, r4, #0 - bl sub_08021D00 - cmp r0, #0 - bne _08021A5E - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _08021A5E - movs r0, #3 - strb r0, [r4, #0xc] - bl Random - movs r1, #0x3f - ands r0, r1 - adds r0, #0x1e - strb r0, [r4, #0xe] - ldrb r1, [r4, #0x15] - adds r0, r4, #0 - bl sub_08021D44 - adds r0, r4, #0 - movs r1, #2 - bl InitializeAnimation -_08021A5E: - pop {r4, pc} - .align 2, 0 -_08021A60: .4byte gPlayerEntity - - thumb_func_start sub_08021A64 -sub_08021A64: @ 0x08021A64 - push {r4, r5, lr} - adds r4, r0, #0 - bl sub_08021D00 - cmp r0, #0 - bne _08021AD4 - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - movs r5, #0xff - lsls r0, r0, #0x18 - cmp r0, #0 - bne _08021A96 - movs r0, #2 - strb r0, [r4, #0xc] - bl Random - movs r1, #0x1f - ands r0, r1 - adds r0, #0x1e - strb r0, [r4, #0xe] - adds r0, r4, #0 - movs r1, #0 - bl InitializeAnimation -_08021A96: - ldrb r0, [r4, #0xf] - subs r0, #1 - strb r0, [r4, #0xf] - ands r0, r5 - cmp r0, #0 - bne _08021AC8 - movs r0, #8 - strb r0, [r4, #0xf] - adds r0, r4, #0 - movs r1, #1 - bl sub_08049F84 - adds r1, r0, #0 - cmp r1, #0xff - bne _08021AC2 - movs r0, #7 - strb r0, [r4, #0xc] - adds r0, r4, #0 - movs r1, #1 - bl InitializeAnimation - b _08021AD4 -_08021AC2: - adds r0, r4, #0 - bl sub_08021D44 -_08021AC8: - adds r0, r4, #0 - bl sub_080AEF88 - adds r0, r4, #0 - bl GetNextFrame -_08021AD4: - pop {r4, r5, pc} - .align 2, 0 - - thumb_func_start sub_08021AD8 -sub_08021AD8: @ 0x08021AD8 - push {r4, lr} - adds r4, r0, #0 - bl GetNextFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #1 - ands r0, r1 - cmp r0, #0 - beq _08021B3A - ldrb r0, [r4, #0xe] - cmp r0, #0 - beq _08021B1E - movs r0, #0 - strb r0, [r4, #0xe] - adds r0, r4, #0 - movs r1, #1 - bl sub_08049F84 - cmp r0, #0xff - bne _08021B16 - movs r0, #2 - strb r0, [r4, #0xc] - movs r0, #8 - strb r0, [r4, #0xe] - adds r0, r4, #0 - movs r1, #0 - bl InitializeAnimation - b _08021B60 -_08021B16: - strb r0, [r4, #0x15] - movs r0, #0x7c - bl sub_08004488 -_08021B1E: - adds r0, r4, #0 - bl sub_080AEFE0 - movs r1, #0xc0 - lsls r1, r1, #5 - adds r0, r4, #0 - bl sub_08003FC4 - cmp r0, #0 - bne _08021B3A - adds r1, r4, #0 - adds r1, #0x59 - movs r0, #1 - strb r0, [r1] -_08021B3A: - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _08021B60 - movs r0, #2 - strb r0, [r4, #0xc] - movs r0, #0x14 - strb r0, [r4, #0xe] - adds r1, r4, #0 - adds r1, #0x86 - movs r0, #0x3c - strb r0, [r1] - adds r0, r4, #0 - movs r1, #0 - bl InitializeAnimation -_08021B60: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_08021B64 -sub_08021B64: @ 0x08021B64 - push {r4, r5, r6, lr} - adds r4, r0, #0 - ldr r0, _08021B88 @ =gPlayerState - ldr r1, [r0, #0x30] - movs r2, #4 - ands r1, r2 - adds r6, r0, #0 - cmp r1, #0 - beq _08021B8C - movs r1, #0 - movs r0, #3 - strb r0, [r4, #0xc] - str r1, [r4, #0x34] - adds r0, r4, #0 - movs r1, #2 - bl InitializeAnimation - b _08021C4E - .align 2, 0 -_08021B88: .4byte gPlayerState -_08021B8C: - movs r5, #1 - adds r0, r6, #0 - adds r0, #0xa8 - ldrb r0, [r0] - cmp r0, #0xb - beq _08021BBA - cmp r0, #0x14 - beq _08021BBA - bl sub_0807953C - cmp r0, #0 - beq _08021BAE - ldrb r1, [r4, #0xa] - lsls r0, r1, #1 - adds r0, r0, r1 - adds r5, r0, #0 - adds r5, #8 -_08021BAE: - ldrb r0, [r4, #0xe] - subs r5, r0, r5 - cmp r5, #0 - bge _08021BB8 - movs r5, #0 -_08021BB8: - strb r5, [r4, #0xe] -_08021BBA: - ldr r0, [r6, #0x30] - movs r1, #0x88 - lsls r1, r1, #1 - ands r0, r1 - cmp r0, #0 - beq _08021BC8 - movs r5, #0 -_08021BC8: - cmp r5, #0 - bne _08021C04 - movs r0, #6 - strb r0, [r4, #0xc] - movs r0, #0x80 - lsls r0, r0, #9 - str r0, [r4, #0x20] - adds r0, r4, #0 - adds r0, #0x87 - strb r5, [r0] - ldr r2, _08021BEC @ =gPlayerEntity - ldrb r1, [r2, #0x15] - adds r0, r1, #0 - cmp r0, #0xff - beq _08021BF0 - movs r0, #0x10 - b _08021BF6 - .align 2, 0 -_08021BEC: .4byte gPlayerEntity -_08021BF0: - ldrb r0, [r2, #0x14] - lsls r0, r0, #2 - movs r1, #0x10 -_08021BF6: - eors r0, r1 - strb r0, [r4, #0x15] - adds r0, r4, #0 - movs r1, #5 - bl InitializeAnimation - b _08021C4E -_08021C04: - ldrb r1, [r6, #0x1a] - movs r0, #0x80 - orrs r0, r1 - strb r0, [r6, #0x1a] - adds r1, r6, #0 - adds r1, #0x80 - ldrh r0, [r1] - subs r0, #0x50 - strh r0, [r1] - adds r1, #0x2a - ldrb r0, [r1] - adds r0, #1 - strb r0, [r1] - ldr r0, _08021C50 @ =gPlayerEntity - adds r1, r4, #0 - bl CopyPositionAndSpriteOffset - ldr r2, _08021C54 @ =gUnk_080CB5E4 - ldrb r1, [r4, #0xf] - adds r0, r1, #1 - strb r0, [r4, #0xf] - movs r0, #0xe - ands r0, r1 - lsrs r0, r0, #1 - adds r0, r0, r2 - ldrb r0, [r0] - lsls r0, r0, #0x18 - asrs r0, r0, #0x18 - ldrh r1, [r4, #0x2e] - adds r0, r0, r1 - strh r0, [r4, #0x2e] - ldrh r0, [r4, #0x36] - subs r0, #1 - strh r0, [r4, #0x36] - adds r0, r4, #0 - bl GetNextFrame -_08021C4E: - pop {r4, r5, r6, pc} - .align 2, 0 -_08021C50: .4byte gPlayerEntity -_08021C54: .4byte gUnk_080CB5E4 - - thumb_func_start sub_08021C58 -sub_08021C58: @ 0x08021C58 - push {r4, r5, lr} - adds r4, r0, #0 - bl GetNextFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r5, #1 - adds r0, r5, #0 - ands r0, r1 - cmp r0, #0 - beq _08021C8A - adds r0, r4, #0 - bl sub_080AEFE0 - movs r1, #0xc0 - lsls r1, r1, #5 - adds r0, r4, #0 - bl sub_08003FC4 - cmp r0, #0 - bne _08021C8A - adds r0, r4, #0 - adds r0, #0x59 - strb r5, [r0] -_08021C8A: - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _08021CCC - movs r0, #2 - strb r0, [r4, #0xc] - movs r2, #0x3c - strb r2, [r4, #0xe] - movs r0, #1 - strb r0, [r4, #0xf] - ldrb r1, [r4, #0x10] - movs r0, #0x80 - orrs r0, r1 - strb r0, [r4, #0x10] - adds r3, r4, #0 - adds r3, #0x29 - ldrb r1, [r3] - movs r0, #8 - rsbs r0, r0, #0 - ands r0, r1 - movs r1, #4 - orrs r0, r1 - strb r0, [r3] - adds r0, r4, #0 - adds r0, #0x86 - strb r2, [r0] - adds r0, r4, #0 - movs r1, #0 - bl InitializeAnimation -_08021CCC: - pop {r4, r5, pc} - .align 2, 0 - - thumb_func_start sub_08021CD0 -sub_08021CD0: @ 0x08021CD0 - push {r4, lr} - adds r4, r0, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - bne _08021CE6 - adds r0, r4, #0 - bl GetNextFrame -_08021CE6: - adds r0, r4, #0 - movs r1, #1 - bl sub_08049F84 - cmp r0, #0xff - beq _08021CFE - movs r0, #3 - strb r0, [r4, #0xc] - adds r0, r4, #0 - movs r1, #2 - bl InitializeAnimation -_08021CFE: - pop {r4, pc} - - thumb_func_start sub_08021D00 -sub_08021D00: @ 0x08021D00 - push {r4, lr} - adds r4, r0, #0 - adds r1, r4, #0 - adds r1, #0x86 - ldrb r0, [r1] - cmp r0, #0 - beq _08021D16 - subs r0, #1 - strb r0, [r1] - movs r0, #0 - b _08021D40 -_08021D16: - adds r0, r4, #0 - movs r1, #1 - movs r2, #0x10 - bl sub_08049F64 - cmp r0, #0 - bne _08021D28 - movs r0, #0 - b _08021D40 -_08021D28: - movs r0, #4 - strb r0, [r4, #0xc] - movs r0, #1 - strb r0, [r4, #0xe] - movs r0, #0xc0 - lsls r0, r0, #9 - str r0, [r4, #0x20] - adds r0, r4, #0 - movs r1, #4 - bl InitializeAnimation - movs r0, #1 -_08021D40: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_08021D44 -sub_08021D44: @ 0x08021D44 - push {lr} - adds r2, r0, #0 - adds r1, #4 - movs r0, #0x18 - ands r1, r0 - strb r1, [r2, #0x15] - movs r0, #8 - ands r1, r0 - cmp r1, #0 - beq _08021D5E - movs r0, #0xc0 - lsls r0, r0, #1 - b _08021D60 -_08021D5E: - movs r0, #0xc0 -_08021D60: - strh r0, [r2, #0x24] - pop {pc} diff --git a/asm/bigGoron.s b/asm/bigGoron.s index 293eb6a0..0377de66 100644 --- a/asm/bigGoron.s +++ b/asm/bigGoron.s @@ -91,7 +91,7 @@ sub_0806D0B0: @ 0x0806D0B0 movs r0, #0x30 bl LoadGfxGroup bl sub_0806D110 - ldr r5, _0806D0EC @ =gUnk_02002F00 + ldr r5, _0806D0EC @ =gMapDataTopSpecial movs r1, #0x80 lsls r1, r1, #6 adds r0, r5, #0 @@ -110,7 +110,7 @@ _0806D0DA: pop {r4, r5, pc} .align 2, 0 _0806D0E8: .4byte gUnk_0200B650 -_0806D0EC: .4byte gUnk_02002F00 +_0806D0EC: .4byte gMapDataTopSpecial _0806D0F0: .4byte gScreen _0806D0F4: .4byte 0x00001D47 @@ -131,7 +131,7 @@ _0806D10C: thumb_func_start sub_0806D110 sub_0806D110: @ 0x0806D110 push {r4, r5, lr} - ldr r4, _0806D134 @ =gUnk_02002F00 + ldr r4, _0806D134 @ =gMapDataTopSpecial movs r0, #0x80 lsls r0, r0, #7 adds r5, r4, r0 @@ -147,7 +147,7 @@ sub_0806D110: @ 0x0806D110 bl sub_0806D138 pop {r4, r5, pc} .align 2, 0 -_0806D134: .4byte gUnk_02002F00 +_0806D134: .4byte gMapDataTopSpecial thumb_func_start sub_0806D138 sub_0806D138: @ 0x0806D138 diff --git a/asm/bobomb.s b/asm/bobomb.s index 13cc7b13..7dc63497 100644 --- a/asm/bobomb.s +++ b/asm/bobomb.s @@ -409,7 +409,7 @@ _0802C964: cmp r1, #8 bne _0802C972 adds r0, r4, #0 - bl sub_080A29FC + bl CreateDustSmall _0802C972: adds r0, r4, #0 bl sub_0802CC18 diff --git a/asm/button.s b/asm/button.s index 044a9d1a..dd80d20d 100644 --- a/asm/button.s +++ b/asm/button.s @@ -538,7 +538,7 @@ _08081E9A: ldr r2, _08081EF8 @ =gUnk_02019EE0 cmp r5, #2 bne _08081EB4 - ldr r2, _08081EFC @ =gUnk_02002F00 + ldr r2, _08081EFC @ =gMapDataTopSpecial _08081EB4: movs r0, #0x3f ands r0, r6 @@ -570,7 +570,7 @@ _08081EEC: .4byte 0x00003FFF _08081EF0: .4byte 0x00007004 _08081EF4: .4byte 0x00006004 _08081EF8: .4byte gUnk_02019EE0 -_08081EFC: .4byte gUnk_02002F00 +_08081EFC: .4byte gMapDataTopSpecial thumb_func_start sub_08081F00 sub_08081F00: @ 0x08081F00 diff --git a/asm/chestSpawner.s b/asm/chestSpawner.s index 2d5c6661..9416152c 100644 --- a/asm/chestSpawner.s +++ b/asm/chestSpawner.s @@ -532,7 +532,7 @@ _0808424C: movs r0, #0x72 bl PlaySFX adds r0, r4, #0 - bl sub_080A29BC + bl CreateDust _08084258: movs r0, #3 strb r0, [r4, #0xc] @@ -596,7 +596,7 @@ _080842BA: ldrb r1, [r1] bl sub_0807BA8C adds r0, r4, #0 - bl sub_080A29BC + bl CreateDust _080842D4: pop {r4, pc} .align 2, 0 diff --git a/asm/chooseFile.s b/asm/chooseFile.s index 1108ccd0..9705194d 100755 --- a/asm/chooseFile.s +++ b/asm/chooseFile.s @@ -1204,7 +1204,7 @@ sub_08051458: @ 0x08051458 ldr r1, _0805147C @ =gUnk_02022030 movs r2, #0x80 lsls r2, r2, #3 - bl sub_0801D66C + bl _DmaCopy pop {pc} .align 2, 0 _08051474: .4byte gMenu @@ -1364,7 +1364,7 @@ sub_08051574: @ 0x08051574 muls r1, r2, r1 adds r3, #0xc adds r1, r1, r3 - bl sub_0801D66C + bl _DmaCopy bl sub_0805070C pop {pc} .align 2, 0 @@ -1742,7 +1742,7 @@ sub_08051874: @ 0x08051874 adds r3, r4, #0 adds r3, #0xc adds r1, r1, r3 - bl sub_0801D66C + bl _DmaCopy movs r0, #0 bl sub_080503BC b _080518DE @@ -1895,7 +1895,7 @@ sub_080519B0: @ 0x080519B0 adds r1, r4, #0 adds r1, #0xc movs r2, #0x20 - bl sub_0801D66C + bl _DmaCopy movs r0, #4 strb r0, [r4, #9] bl sub_08053518 diff --git a/asm/chuchu.s b/asm/chuchu.s deleted file mode 100644 index c1a41f0a..00000000 --- a/asm/chuchu.s +++ /dev/null @@ -1,1867 +0,0 @@ - .include "asm/macros.inc" - - .include "constants/constants.inc" - - .syntax unified - - .text - - - thumb_func_start Chuchu -Chuchu: @ 0x0801EE18 - push {r4, r5, lr} - adds r5, r0, #0 - bl sub_080012DC - adds r4, r0, #0 - cmp r4, #0 - beq _0801EE9E - cmp r4, #2 - beq _0801EE40 - ldr r0, _0801EE3C @ =gUnk_080012C8 - lsls r1, r4, #2 - adds r1, r1, r0 - ldr r1, [r1] - adds r0, r5, #0 - bl _call_via_r1 - b _0801EEE0 - .align 2, 0 -_0801EE3C: .4byte gUnk_080012C8 -_0801EE40: - adds r2, r5, #0 - adds r2, #0x3a - ldrb r1, [r2] - movs r0, #0xfe - ands r0, r1 - strb r0, [r2] - adds r0, r5, #0 - adds r0, #0x81 - ldrb r0, [r0] - cmp r4, r0 - beq _0801EE9E - ldrb r0, [r5, #0xa] - cmp r0, #1 - beq _0801EE9E - cmp r0, #1 - bgt _0801EE66 - cmp r0, #0 - beq _0801EE6C - b _0801EE9E -_0801EE66: - cmp r0, #2 - beq _0801EE96 - b _0801EE9E -_0801EE6C: - ldrb r1, [r5, #0x10] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _0801EE9E - movs r0, #6 - strb r0, [r5, #0xc] - movs r0, #0x7f - ands r0, r1 - strb r0, [r5, #0x10] - movs r0, #0x20 - strh r0, [r5, #0x24] - adds r1, r5, #0 - adds r1, #0x3f - movs r0, #0x5c - strb r0, [r1] - adds r0, r5, #0 - movs r1, #5 - bl InitializeAnimation - b _0801EE9E -_0801EE96: - adds r0, r5, #0 - bl sub_080043A8 - b _0801EEE0 -_0801EE9E: - adds r0, r5, #0 - adds r0, #0x81 - strb r4, [r0] - ldr r4, _0801EED0 @ =gUnk_080CA21C - adds r0, r5, #0 - bl GetNextFunction - lsls r0, r0, #2 - adds r0, r0, r4 - ldr r1, [r0] - adds r0, r5, #0 - bl _call_via_r1 - ldr r0, [r5, #0x68] - ldrb r0, [r0, #0xa] - cmp r0, #0x1c - bne _0801EED4 - movs r3, #0x10 - rsbs r3, r3, #0 - adds r0, r5, #0 - movs r1, #0 - movs r2, #1 - bl SetChildOffset - b _0801EEE0 - .align 2, 0 -_0801EED0: .4byte gUnk_080CA21C -_0801EED4: - ldrb r0, [r5, #0xa] - cmp r0, #2 - bne _0801EEE0 - adds r0, r5, #0 - bl sub_0801FB34 -_0801EEE0: - pop {r4, r5, pc} - .align 2, 0 - - thumb_func_start sub_0801EEE4 -sub_0801EEE4: @ 0x0801EEE4 - push {r4, lr} - adds r4, r0, #0 - ldrb r0, [r4, #0xa] - cmp r0, #1 - beq _0801EF0C - cmp r0, #1 - bgt _0801EEF8 - cmp r0, #0 - beq _0801EEFE - b _0801EF38 -_0801EEF8: - cmp r0, #2 - beq _0801EF28 - b _0801EF38 -_0801EEFE: - adds r0, r4, #0 - bl sub_0801F3AC - ldr r0, _0801EF08 @ =gUnk_080CA234 - b _0801EF14 - .align 2, 0 -_0801EF08: .4byte gUnk_080CA234 -_0801EF0C: - adds r0, r4, #0 - bl sub_0801F764 - ldr r0, _0801EF24 @ =gUnk_080CA25C -_0801EF14: - ldrb r1, [r4, #0xc] - lsls r1, r1, #2 - adds r1, r1, r0 - ldr r1, [r1] - adds r0, r4, #0 - bl _call_via_r1 - b _0801EF38 - .align 2, 0 -_0801EF24: .4byte gUnk_080CA25C -_0801EF28: - ldr r0, _0801EF3C @ =gUnk_080CA288 - ldrb r1, [r4, #0xc] - lsls r1, r1, #2 - adds r1, r1, r0 - ldr r1, [r1] - adds r0, r4, #0 - bl _call_via_r1 -_0801EF38: - pop {r4, pc} - .align 2, 0 -_0801EF3C: .4byte gUnk_080CA288 - - thumb_func_start sub_0801EF40 -sub_0801EF40: @ 0x0801EF40 - push {r4, r5, r6, r7, lr} - adds r4, r0, #0 - ldrb r0, [r4, #0xa] - cmp r0, #2 - bne _0801EF68 - adds r0, r4, #0 - adds r0, #0x41 - ldrb r0, [r0] - cmp r0, #0x8e - beq _0801EF58 - cmp r0, #0x95 - bne _0801EF68 -_0801EF58: - ldrb r0, [r4, #0x10] - movs r1, #0x7f - ands r1, r0 - movs r0, #0 - strb r1, [r4, #0x10] - adds r1, r4, #0 - adds r1, #0x45 - strb r0, [r1] -_0801EF68: - adds r0, r4, #0 - adds r0, #0x45 - ldrb r6, [r0] - adds r7, r0, #0 - cmp r6, #0 - beq _0801EFB0 - subs r0, #4 - ldrb r0, [r0] - cmp r0, #0x94 - bne _0801EF94 - adds r0, r4, #0 - bl sub_0801FB68 - adds r0, r4, #0 - movs r1, #0x1c - bl sub_0804A9FC - adds r0, r4, #0 - movs r1, #6 - bl InitializeAnimation - b _0801EFC0 -_0801EF94: - adds r0, r4, #0 - adds r0, #0x80 - ldrb r1, [r0] - adds r5, r0, #0 - cmp r1, r6 - beq _0801EFC4 - adds r0, r4, #0 - bl sub_0801FB68 - adds r0, r4, #0 - movs r1, #6 - bl InitializeAnimation - b _0801EFC4 -_0801EFB0: - adds r0, r4, #0 - bl sub_0804AA1C - str r6, [r4, #0x20] - adds r0, r4, #0 - movs r1, #9 - bl InitializeAnimation -_0801EFC0: - adds r5, r4, #0 - adds r5, #0x80 -_0801EFC4: - ldrb r0, [r7] - strb r0, [r5] - ldr r1, _0801EFD4 @ =gUnk_080CA21C - adds r0, r4, #0 - bl sub_0804AA30 - pop {r4, r5, r6, r7, pc} - .align 2, 0 -_0801EFD4: .4byte gUnk_080CA21C - - thumb_func_start sub_0801EFD8 -sub_0801EFD8: @ 0x0801EFD8 - push {r4, lr} - adds r4, r0, #0 - bl sub_0806F520 - cmp r0, #0 - bne _0801F000 - adds r0, r4, #0 - adds r0, #0x43 - ldrb r0, [r0] - cmp r0, #0 - beq _0801F000 - adds r0, r4, #0 - movs r1, #0x1c - bl sub_0804A9FC - adds r0, r4, #0 - movs r1, #6 - bl InitializeAnimation - b _0801F028 -_0801F000: - adds r0, r4, #0 - adds r0, #0x58 - ldrb r0, [r0] - cmp r0, #8 - beq _0801F018 - adds r0, r4, #0 - bl sub_0801FB68 - adds r0, r4, #0 - movs r1, #8 - bl InitializeAnimation -_0801F018: - movs r1, #0xc0 - lsls r1, r1, #5 - adds r0, r4, #0 - bl sub_08003FC4 - adds r0, r4, #0 - bl GetNextFrame -_0801F028: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_0801F02C -sub_0801F02C: @ 0x0801F02C - push {r4, lr} - adds r4, r0, #0 - adds r0, #0x58 - ldrb r0, [r0] - cmp r0, #6 - bne _0801F03E - adds r0, r4, #0 - bl GetNextFrame -_0801F03E: - adds r0, r4, #0 - bl sub_08001318 - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_0801F048 -sub_0801F048: @ 0x0801F048 - push {r4, lr} - adds r4, r0, #0 - movs r1, #0xc0 - lsls r1, r1, #5 - bl sub_08003FC4 - adds r0, r4, #0 - bl GetNextFrame - ldrb r0, [r4, #0xa] - cmp r0, #0 - bne _0801F068 - adds r0, r4, #0 - bl sub_0804A7D4 - b _0801F082 -_0801F068: - cmp r0, #1 - bne _0801F078 - adds r0, r4, #0 - movs r1, #0xf2 - movs r2, #0 - bl CreateDeathFx - b _0801F082 -_0801F078: - adds r0, r4, #0 - movs r1, #0xf1 - movs r2, #0 - bl CreateDeathFx -_0801F082: - pop {r4, pc} - - thumb_func_start sub_0801F084 -sub_0801F084: @ 0x0801F084 - push {r4, lr} - adds r4, r0, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - bne _0801F09A - adds r0, r4, #0 - bl GetNextFrame -_0801F09A: - adds r0, r4, #0 - bl sub_08001242 - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_0801F0A4 -sub_0801F0A4: @ 0x0801F0A4 - push {r4, lr} - adds r4, r0, #0 - bl sub_0804A720 - movs r2, #0 - movs r0, #1 - strb r0, [r4, #0xc] - adds r0, r4, #0 - adds r0, #0x45 - ldrb r1, [r0] - adds r0, #0x3b - strb r1, [r0] - adds r4, #0x82 - strb r2, [r4] - pop {r4, pc} - .align 2, 0 - - thumb_func_start nullsub_4 -nullsub_4: @ 0x0801F0C4 - bx lr - .align 2, 0 - - thumb_func_start sub_0801F0C8 -sub_0801F0C8: @ 0x0801F0C8 - push {r4, r5, lr} - adds r5, r0, #0 - bl GetNextFrame - adds r0, r5, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _0801F12A - movs r4, #3 - movs r0, #3 - strb r0, [r5, #0xc] - bl Random - ands r0, r4 - adds r0, #0xc - strb r0, [r5, #0xe] - bl Random - strb r0, [r5, #0xf] - adds r0, r5, #0 - movs r1, #1 - bl sub_08049F84 - strb r0, [r5, #0x15] - ldrb r1, [r5, #0x10] - movs r0, #0x80 - orrs r0, r1 - strb r0, [r5, #0x10] - adds r2, r5, #0 - adds r2, #0x29 - ldrb r1, [r2] - movs r0, #8 - rsbs r0, r0, #0 - ands r0, r1 - movs r1, #4 - orrs r0, r1 - movs r1, #0x39 - rsbs r1, r1, #0 - ands r0, r1 - movs r1, #0x18 - orrs r0, r1 - strb r0, [r2] - adds r0, r5, #0 - movs r1, #2 - bl InitializeAnimation -_0801F12A: - pop {r4, r5, pc} - - thumb_func_start sub_0801F12C -sub_0801F12C: @ 0x0801F12C - push {r4, lr} - adds r4, r0, #0 - bl sub_0801FBD0 - cmp r0, #0 - beq _0801F140 - adds r0, r4, #0 - bl sub_0801F328 - b _0801F1AC -_0801F140: - ldrb r1, [r4, #0xf] - adds r0, r1, #1 - strb r0, [r4, #0xf] - movs r0, #7 - ands r0, r1 - cmp r0, #0 - bne _0801F158 - adds r0, r4, #0 - movs r1, #1 - bl sub_08049F84 - strb r0, [r4, #0x15] -_0801F158: - adds r0, r4, #0 - bl sub_080AEF88 - adds r0, r4, #0 - bl GetNextFrame - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _0801F1AC - adds r0, r4, #0 - movs r1, #1 - movs r2, #0x38 - bl sub_08049F64 - cmp r0, #0 - beq _0801F18A - movs r0, #4 - strb r0, [r4, #0xc] - adds r0, r4, #0 - bl sub_0801FBE4 - b _0801F1AC -_0801F18A: - adds r0, r4, #0 - movs r1, #1 - movs r2, #0x48 - bl sub_08049F64 - cmp r0, #0 - beq _0801F1A6 - bl Random - movs r1, #3 - ands r0, r1 - adds r0, #0xc - strb r0, [r4, #0xe] - b _0801F1AC -_0801F1A6: - adds r0, r4, #0 - bl sub_0801F328 -_0801F1AC: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_0801F1B0 -sub_0801F1B0: @ 0x0801F1B0 - push {r4, lr} - adds r4, r0, #0 - adds r2, r4, #0 - adds r2, #0x5a - ldrb r1, [r2] - movs r0, #0x10 - ands r0, r1 - cmp r0, #0 - beq _0801F1FA - movs r0, #1 - ands r0, r1 - cmp r0, #0 - beq _0801F1DE - movs r0, #1 - eors r0, r1 - strb r0, [r2] - adds r1, r4, #0 - adds r1, #0x3f - movs r0, #0x5a - strb r0, [r1] - adds r0, #0xd1 - bl sub_08004488 -_0801F1DE: - adds r0, r4, #0 - bl sub_080AEFE0 - movs r1, #0x80 - lsls r1, r1, #7 - adds r0, r4, #0 - bl sub_08003FC4 - cmp r0, #0 - bne _0801F200 - adds r0, r4, #0 - bl GetNextFrame - b _0801F200 -_0801F1FA: - adds r0, r4, #0 - bl GetNextFrame -_0801F200: - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _0801F226 - adds r0, r4, #0 - bl sub_0801FBD0 - cmp r0, #0 - beq _0801F220 - adds r0, r4, #0 - bl sub_0801F328 - b _0801F226 -_0801F220: - adds r0, r4, #0 - bl sub_0801F340 -_0801F226: - pop {r4, pc} - - thumb_func_start sub_0801F228 -sub_0801F228: @ 0x0801F228 - push {r4, lr} - adds r4, r0, #0 - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _0801F246 - movs r0, #3 - strb r0, [r4, #0xc] - adds r0, r4, #0 - movs r1, #1 - bl sub_08049F84 - strb r0, [r4, #0x15] -_0801F246: - adds r0, r4, #0 - bl GetNextFrame - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_0801F250 -sub_0801F250: @ 0x0801F250 - push {r4, lr} - adds r4, r0, #0 - bl GetNextFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _0801F26C - adds r0, r4, #0 - bl sub_0801F360 -_0801F26C: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_0801F270 -sub_0801F270: @ 0x0801F270 - push {r4, lr} - adds r4, r0, #0 - ldrb r1, [r4, #0xf] - adds r0, r1, #1 - strb r0, [r4, #0xf] - movs r0, #7 - ands r0, r1 - cmp r0, #0 - bne _0801F28C - adds r0, r4, #0 - movs r1, #1 - bl sub_08049F84 - strb r0, [r4, #0x15] -_0801F28C: - adds r0, r4, #0 - bl sub_080AF160 - adds r0, r4, #0 - bl GetNextFrame - adds r0, r4, #0 - bl sub_0801FBD0 - cmp r0, #0 - bne _0801F2CA - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _0801F2CA - adds r0, r4, #0 - adds r0, #0x81 - ldrb r0, [r0] - cmp r0, #0 - bne _0801F2C6 - movs r0, #2 - strb r0, [r4, #0xc] - adds r0, r4, #0 - movs r1, #4 - bl InitializeAnimation - b _0801F2CA -_0801F2C6: - movs r0, #8 - strb r0, [r4, #0xe] -_0801F2CA: - pop {r4, pc} - - thumb_func_start sub_0801F2CC -sub_0801F2CC: @ 0x0801F2CC - push {r4, lr} - adds r4, r0, #0 - bl GetNextFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _0801F2F6 - movs r0, #1 - strb r0, [r4, #0xc] - ldrb r1, [r4, #0x18] - subs r0, #5 - ands r0, r1 - strb r0, [r4, #0x18] - adds r0, r4, #0 - movs r1, #4 - bl InitializeAnimation -_0801F2F6: - pop {r4, pc} - - thumb_func_start sub_0801F2F8 -sub_0801F2F8: @ 0x0801F2F8 - push {r4, lr} - adds r4, r0, #0 - movs r1, #0xc0 - lsls r1, r1, #5 - bl sub_08003FC4 - adds r0, r4, #0 - bl GetNextFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _0801F324 - adds r0, r4, #0 - bl sub_0801F340 - adds r0, r4, #0 - bl sub_0804AA1C -_0801F324: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_0801F328 -sub_0801F328: @ 0x0801F328 - push {lr} - movs r1, #6 - strb r1, [r0, #0xc] - ldrb r2, [r0, #0x10] - movs r1, #0x7f - ands r1, r2 - strb r1, [r0, #0x10] - movs r1, #5 - bl InitializeAnimation - pop {pc} - .align 2, 0 - - thumb_func_start sub_0801F340 -sub_0801F340: @ 0x0801F340 - push {lr} - movs r1, #5 - strb r1, [r0, #0xc] - movs r1, #0x3c - strb r1, [r0, #0xe] - movs r1, #0x20 - strh r1, [r0, #0x24] - adds r2, r0, #0 - adds r2, #0x3f - movs r1, #0x5c - strb r1, [r2] - movs r1, #2 - bl InitializeAnimation - pop {pc} - .align 2, 0 - - thumb_func_start sub_0801F360 -sub_0801F360: @ 0x0801F360 - push {r4, lr} - adds r4, r0, #0 - movs r0, #7 - strb r0, [r4, #0xc] - bl Random - movs r1, #0x38 - ands r0, r1 - adds r0, #0xb4 - strb r0, [r4, #0xe] - bl Random - strb r0, [r4, #0xf] - adds r0, r4, #0 - movs r1, #1 - bl sub_08049F84 - strb r0, [r4, #0x15] - adds r2, r4, #0 - adds r2, #0x29 - ldrb r1, [r2] - movs r0, #0x39 - rsbs r0, r0, #0 - ands r0, r1 - movs r1, #0x10 - orrs r0, r1 - movs r1, #8 - rsbs r1, r1, #0 - ands r0, r1 - movs r1, #6 - orrs r0, r1 - strb r0, [r2] - adds r0, r4, #0 - movs r1, #1 - bl InitializeAnimation - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_0801F3AC -sub_0801F3AC: @ 0x0801F3AC - push {r4, r5, lr} - adds r4, r0, #0 - ldrb r0, [r4, #0xc] - cmp r0, #9 - beq _0801F426 - cmp r0, #0 - beq _0801F426 - adds r0, r4, #0 - movs r1, #1 - bl sub_08049FDC - cmp r0, #0 - beq _0801F408 - adds r5, r4, #0 - adds r5, #0x82 - ldrb r0, [r5] - cmp r0, #0 - bne _0801F3DE - adds r0, r4, #0 - movs r1, #1 - movs r2, #0x48 - bl sub_08049F64 - cmp r0, #0 - beq _0801F400 -_0801F3DE: - ldrb r2, [r4, #0xc] - cmp r2, #1 - bne _0801F426 - movs r0, #2 - strb r0, [r4, #0xc] - ldrb r1, [r4, #0x18] - subs r0, #6 - ands r0, r1 - movs r1, #1 - orrs r0, r1 - strb r0, [r4, #0x18] - strb r2, [r5] - adds r0, r4, #0 - movs r1, #0 - bl InitializeAnimation - b _0801F426 -_0801F400: - ldrb r0, [r4, #0xc] - cmp r0, #3 - bne _0801F426 - b _0801F40E -_0801F408: - ldrb r0, [r4, #0xc] - cmp r0, #3 - bne _0801F416 -_0801F40E: - adds r0, r4, #0 - bl sub_0801F328 - b _0801F426 -_0801F416: - cmp r0, #7 - bne _0801F426 - movs r0, #8 - strb r0, [r4, #0xc] - adds r0, r4, #0 - movs r1, #7 - bl InitializeAnimation -_0801F426: - pop {r4, r5, pc} - - thumb_func_start sub_0801F428 -sub_0801F428: @ 0x0801F428 - push {r4, r5, lr} - adds r5, r0, #0 - bl sub_0804A720 - movs r4, #0 - movs r0, #1 - strb r0, [r5, #0xc] - bl Random - strb r0, [r5, #0xe] - adds r0, r5, #0 - adds r0, #0x45 - ldrb r1, [r0] - adds r0, #0x3b - strb r1, [r0] - adds r0, #2 - strb r4, [r0] - ldrb r0, [r5, #0xb] - cmp r0, #0 - beq _0801F488 - movs r0, #3 - strb r0, [r5, #0xc] - movs r0, #0x1e - strb r0, [r5, #0xf] - ldrb r0, [r5, #0x10] - movs r1, #0x80 - orrs r0, r1 - strb r0, [r5, #0x10] - adds r2, r5, #0 - adds r2, #0x29 - ldrb r1, [r2] - movs r0, #0x39 - rsbs r0, r0, #0 - ands r0, r1 - movs r1, #0x18 - orrs r0, r1 - strb r0, [r2] - ldrb r1, [r5, #0x18] - movs r0, #4 - rsbs r0, r0, #0 - ands r0, r1 - movs r1, #1 - orrs r0, r1 - strb r0, [r5, #0x18] - adds r0, r5, #0 - movs r1, #2 - bl InitializeAnimation -_0801F488: - pop {r4, r5, pc} - .align 2, 0 - - thumb_func_start sub_0801F48C -sub_0801F48C: @ 0x0801F48C - push {lr} - bl GetNextFrame - pop {pc} - - thumb_func_start sub_0801F494 -sub_0801F494: @ 0x0801F494 - push {r4, lr} - adds r4, r0, #0 - bl GetNextFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _0801F4E8 - movs r0, #3 - strb r0, [r4, #0xc] - movs r0, #0x1e - strb r0, [r4, #0xf] - adds r0, r4, #0 - movs r1, #1 - bl sub_08049F84 - strb r0, [r4, #0x15] - ldrb r1, [r4, #0x10] - movs r0, #0x80 - orrs r0, r1 - strb r0, [r4, #0x10] - adds r2, r4, #0 - adds r2, #0x29 - ldrb r1, [r2] - movs r0, #8 - rsbs r0, r0, #0 - ands r0, r1 - movs r1, #4 - orrs r0, r1 - movs r1, #0x39 - rsbs r1, r1, #0 - ands r0, r1 - movs r1, #0x18 - orrs r0, r1 - strb r0, [r2] - adds r0, r4, #0 - movs r1, #2 - bl InitializeAnimation -_0801F4E8: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_0801F4EC -sub_0801F4EC: @ 0x0801F4EC - push {r4, lr} - adds r4, r0, #0 - bl GetNextFrame - ldrb r0, [r4, #0xf] - subs r0, #1 - strb r0, [r4, #0xf] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _0801F504 - movs r0, #4 - strb r0, [r4, #0xc] -_0801F504: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_0801F508 -sub_0801F508: @ 0x0801F508 - push {r4, r5, lr} - adds r4, r0, #0 - bl sub_0801FBD0 - cmp r0, #0 - beq _0801F51C - adds r1, r4, #0 - adds r1, #0x83 - movs r0, #0 - b _0801F55C -_0801F51C: - ldrb r0, [r4, #0xe] - adds r0, #1 - strb r0, [r4, #0xe] - movs r1, #0xff - adds r5, r0, #0 - ands r5, r1 - movs r0, #7 - ands r5, r0 - cmp r5, #0 - bne _0801F566 - adds r0, r4, #0 - movs r1, #1 - movs r2, #0x38 - bl sub_08049F64 - cmp r0, #0 - beq _0801F566 - bl Random - movs r1, #1 - ands r1, r0 - cmp r1, #0 - beq _0801F556 - movs r0, #5 - strb r0, [r4, #0xc] - adds r0, r4, #0 - bl sub_0801FBE4 - b _0801F580 -_0801F556: - adds r1, r4, #0 - adds r1, #0x83 - movs r0, #0x78 -_0801F55C: - strb r0, [r1] - adds r0, r4, #0 - bl sub_0801F730 - b _0801F580 -_0801F566: - cmp r5, #4 - bne _0801F574 - adds r0, r4, #0 - movs r1, #1 - bl sub_08049F84 - strb r0, [r4, #0x15] -_0801F574: - adds r0, r4, #0 - bl sub_080AEF88 - adds r0, r4, #0 - bl GetNextFrame -_0801F580: - pop {r4, r5, pc} - .align 2, 0 - - thumb_func_start sub_0801F584 -sub_0801F584: @ 0x0801F584 - push {r4, lr} - adds r4, r0, #0 - adds r2, r4, #0 - adds r2, #0x5a - ldrb r1, [r2] - movs r0, #0x10 - ands r0, r1 - cmp r0, #0 - beq _0801F5CE - movs r0, #1 - ands r0, r1 - cmp r0, #0 - beq _0801F5B2 - movs r0, #1 - eors r0, r1 - strb r0, [r2] - adds r1, r4, #0 - adds r1, #0x3f - movs r0, #0x5b - strb r0, [r1] - adds r0, #0xd0 - bl sub_08004488 -_0801F5B2: - adds r0, r4, #0 - bl sub_080AEFE0 - movs r1, #0x80 - lsls r1, r1, #7 - adds r0, r4, #0 - bl sub_08003FC4 - cmp r0, #0 - bne _0801F5D4 - adds r0, r4, #0 - bl GetNextFrame - b _0801F5D4 -_0801F5CE: - adds r0, r4, #0 - bl GetNextFrame -_0801F5D4: - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _0801F618 - adds r0, r4, #0 - bl sub_0801FBD0 - cmp r0, #0 - beq _0801F5FC - adds r1, r4, #0 - adds r1, #0x83 - movs r0, #0 - strb r0, [r1] - adds r0, r4, #0 - bl sub_0801F730 - b _0801F618 -_0801F5FC: - movs r0, #6 - strb r0, [r4, #0xc] - movs r0, #0x3c - strb r0, [r4, #0xf] - movs r0, #0x20 - strh r0, [r4, #0x24] - adds r1, r4, #0 - adds r1, #0x3f - movs r0, #0x5c - strb r0, [r1] - adds r0, r4, #0 - movs r1, #2 - bl InitializeAnimation -_0801F618: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_0801F61C -sub_0801F61C: @ 0x0801F61C - push {lr} - adds r1, r0, #0 - ldrb r0, [r1, #0xf] - subs r0, #1 - strb r0, [r1, #0xf] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _0801F630 - movs r0, #4 - strb r0, [r1, #0xc] -_0801F630: - adds r0, r1, #0 - bl GetNextFrame - pop {pc} - - thumb_func_start sub_0801F638 -sub_0801F638: @ 0x0801F638 - push {r4, lr} - adds r4, r0, #0 - bl GetNextFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _0801F684 - movs r0, #8 - strb r0, [r4, #0xc] - movs r0, #0x1e - strb r0, [r4, #0xf] - adds r0, r4, #0 - movs r1, #1 - bl sub_08049F84 - strb r0, [r4, #0x15] - adds r2, r4, #0 - adds r2, #0x29 - ldrb r1, [r2] - movs r0, #0x39 - rsbs r0, r0, #0 - ands r0, r1 - movs r1, #0x10 - orrs r0, r1 - movs r1, #8 - rsbs r1, r1, #0 - ands r0, r1 - movs r1, #6 - orrs r0, r1 - strb r0, [r2] - adds r0, r4, #0 - movs r1, #1 - bl InitializeAnimation -_0801F684: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_0801F688 -sub_0801F688: @ 0x0801F688 - push {r4, r5, lr} - adds r4, r0, #0 - adds r5, r4, #0 - adds r5, #0x83 - ldrb r0, [r5] - cmp r0, #0 - beq _0801F69A - subs r0, #1 - strb r0, [r5] -_0801F69A: - adds r0, r4, #0 - bl sub_0801FBD0 - cmp r0, #0 - bne _0801F6AA - ldrb r0, [r5] - cmp r0, #0 - beq _0801F6C2 -_0801F6AA: - adds r0, r4, #0 - movs r1, #1 - bl sub_08049F84 - strb r0, [r4, #0x15] - adds r0, r4, #0 - bl sub_080AF160 - adds r0, r4, #0 - bl GetNextFrame - b _0801F6C8 -_0801F6C2: - adds r0, r4, #0 - bl sub_0801F748 -_0801F6C8: - pop {r4, r5, pc} - .align 2, 0 - - thumb_func_start sub_0801F6CC -sub_0801F6CC: @ 0x0801F6CC - push {r4, lr} - adds r4, r0, #0 - bl GetNextFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _0801F6F6 - movs r0, #1 - strb r0, [r4, #0xc] - ldrb r1, [r4, #0x18] - subs r0, #5 - ands r0, r1 - strb r0, [r4, #0x18] - adds r0, r4, #0 - movs r1, #4 - bl InitializeAnimation -_0801F6F6: - pop {r4, pc} - - thumb_func_start sub_0801F6F8 -sub_0801F6F8: @ 0x0801F6F8 - push {r4, lr} - adds r4, r0, #0 - movs r1, #0xc0 - lsls r1, r1, #5 - bl sub_08003FC4 - adds r0, r4, #0 - bl GetNextFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _0801F72E - movs r0, #4 - strb r0, [r4, #0xc] - movs r0, #0x20 - strh r0, [r4, #0x24] - adds r0, r4, #0 - bl sub_0804AA1C - adds r0, r4, #0 - movs r1, #2 - bl InitializeAnimation -_0801F72E: - pop {r4, pc} - - thumb_func_start sub_0801F730 -sub_0801F730: @ 0x0801F730 - push {lr} - movs r1, #7 - strb r1, [r0, #0xc] - ldrb r2, [r0, #0x10] - movs r1, #0x7f - ands r1, r2 - strb r1, [r0, #0x10] - movs r1, #5 - bl InitializeAnimation - pop {pc} - .align 2, 0 - - thumb_func_start sub_0801F748 -sub_0801F748: @ 0x0801F748 - push {lr} - movs r1, #2 - strb r1, [r0, #0xc] - ldrb r2, [r0, #0x18] - subs r1, #6 - ands r1, r2 - movs r2, #1 - orrs r1, r2 - strb r1, [r0, #0x18] - movs r1, #4 - bl InitializeAnimation - pop {pc} - .align 2, 0 - - thumb_func_start sub_0801F764 -sub_0801F764: @ 0x0801F764 - push {r4, r5, r6, lr} - adds r4, r0, #0 - ldrb r0, [r4, #0xc] - cmp r0, #0xa - beq _0801F7D6 - cmp r0, #0 - beq _0801F7D6 - adds r0, r4, #0 - movs r1, #1 - bl sub_08049FDC - cmp r0, #0 - beq _0801F7B8 - ldrb r6, [r4, #0xc] - cmp r6, #1 - bne _0801F7D6 - adds r5, r4, #0 - adds r5, #0x82 - ldrb r0, [r5] - cmp r0, #0 - bne _0801F79C - adds r0, r4, #0 - movs r1, #1 - movs r2, #0x48 - bl sub_08049F64 - cmp r0, #0 - beq _0801F7D6 -_0801F79C: - movs r0, #2 - strb r0, [r4, #0xc] - ldrb r1, [r4, #0x18] - subs r0, #6 - ands r0, r1 - movs r1, #1 - orrs r0, r1 - strb r0, [r4, #0x18] - strb r6, [r5] - adds r0, r4, #0 - movs r1, #0 - bl InitializeAnimation - b _0801F7D6 -_0801F7B8: - ldrb r0, [r4, #0xc] - cmp r0, #4 - bne _0801F7C6 - adds r0, r4, #0 - bl sub_0801F730 - b _0801F7D6 -_0801F7C6: - cmp r0, #8 - bne _0801F7D6 - movs r0, #9 - strb r0, [r4, #0xc] - adds r0, r4, #0 - movs r1, #7 - bl InitializeAnimation -_0801F7D6: - pop {r4, r5, r6, pc} - - thumb_func_start sub_0801F7D8 -sub_0801F7D8: @ 0x0801F7D8 - push {r4, r5, lr} - adds r4, r0, #0 - bl sub_0804A720 - movs r5, #0 - movs r0, #1 - strb r0, [r4, #0xc] - bl Random - strb r0, [r4, #0xe] - adds r0, r4, #0 - adds r0, #0x45 - ldrb r1, [r0] - adds r0, #0x3b - strb r1, [r0] - adds r4, #0x82 - strb r5, [r4] - pop {r4, r5, pc} - - thumb_func_start sub_0801F7FC -sub_0801F7FC: @ 0x0801F7FC - push {r4, r5, lr} - adds r4, r0, #0 - movs r1, #1 - bl sub_08049FDC - cmp r0, #0 - beq _0801F83E - adds r5, r4, #0 - adds r5, #0x82 - ldrb r0, [r5] - cmp r0, #0 - bne _0801F822 - adds r0, r4, #0 - movs r1, #1 - movs r2, #0x48 - bl sub_08049F64 - cmp r0, #0 - beq _0801F83E -_0801F822: - movs r0, #2 - strb r0, [r4, #0xc] - ldrb r1, [r4, #0x18] - subs r0, #6 - ands r0, r1 - movs r1, #1 - orrs r0, r1 - strb r0, [r4, #0x18] - movs r0, #1 - strb r0, [r5] - adds r0, r4, #0 - movs r1, #0 - bl InitializeAnimation -_0801F83E: - pop {r4, r5, pc} - - thumb_func_start sub_0801F840 -sub_0801F840: @ 0x0801F840 - push {r4, lr} - adds r4, r0, #0 - bl GetNextFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _0801F880 - adds r0, r4, #0 - bl sub_0801FB14 - ldrb r1, [r4, #0x10] - movs r0, #0x80 - orrs r0, r1 - strb r0, [r4, #0x10] - adds r2, r4, #0 - adds r2, #0x29 - ldrb r1, [r2] - movs r0, #8 - rsbs r0, r0, #0 - ands r0, r1 - movs r1, #4 - orrs r0, r1 - movs r1, #0x39 - rsbs r1, r1, #0 - ands r0, r1 - movs r1, #0x18 - orrs r0, r1 - strb r0, [r2] -_0801F880: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_0801F884 -sub_0801F884: @ 0x0801F884 - push {r4, lr} - adds r4, r0, #0 - bl GetNextFrame - ldrb r0, [r4, #0xf] - cmp r0, #0 - beq _0801F898 - subs r0, #1 - strb r0, [r4, #0xf] - b _0801F8BC -_0801F898: - adds r0, r4, #0 - movs r1, #0x1b - bl sub_0804A9FC - adds r1, r0, #0 - cmp r1, #0 - beq _0801F8BC - movs r0, #0x40 - strb r0, [r1, #0xb] - movs r0, #4 - strb r0, [r4, #0xc] - adds r1, r4, #0 - adds r1, #0x3f - movs r0, #0xa5 - strb r0, [r1] - adds r0, #0xee - bl sub_08004488 -_0801F8BC: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_0801F8C0 -sub_0801F8C0: @ 0x0801F8C0 - push {r4, r5, lr} - adds r4, r0, #0 - bl sub_0801FBD0 - cmp r0, #0 - beq _0801F8D4 - adds r0, r4, #0 - bl sub_0801FAE0 - b _0801F938 -_0801F8D4: - adds r0, r4, #0 - movs r1, #1 - bl sub_08049FDC - cmp r0, #0 - bne _0801F8E8 - adds r0, r4, #0 - bl sub_0801F730 - b _0801F938 -_0801F8E8: - ldrb r0, [r4, #0xe] - adds r0, #1 - strb r0, [r4, #0xe] - movs r1, #0xff - adds r5, r0, #0 - ands r5, r1 - movs r0, #7 - ands r5, r0 - cmp r5, #0 - bne _0801F91C - ldr r0, _0801F918 @ =gUnk_020000B0 - ldr r1, [r0] - adds r0, r4, #0 - movs r2, #0x38 - bl sub_08049F1C - cmp r0, #0 - beq _0801F91C - movs r0, #5 - strb r0, [r4, #0xc] - adds r0, r4, #0 - bl sub_0801FBE4 - b _0801F938 - .align 2, 0 -_0801F918: .4byte gUnk_020000B0 -_0801F91C: - cmp r5, #4 - bne _0801F92C - ldr r0, _0801F93C @ =gUnk_020000B0 - ldr r1, [r0] - adds r0, r4, #0 - bl GetFacingDirection - strb r0, [r4, #0x15] -_0801F92C: - adds r0, r4, #0 - bl sub_080AEF88 - adds r0, r4, #0 - bl GetNextFrame -_0801F938: - pop {r4, r5, pc} - .align 2, 0 -_0801F93C: .4byte gUnk_020000B0 - - thumb_func_start sub_0801F940 -sub_0801F940: @ 0x0801F940 - push {r4, lr} - adds r4, r0, #0 - adds r2, r4, #0 - adds r2, #0x5a - ldrb r1, [r2] - movs r0, #0x10 - ands r0, r1 - cmp r0, #0 - beq _0801F988 - movs r0, #1 - ands r0, r1 - cmp r0, #0 - beq _0801F966 - movs r0, #1 - eors r0, r1 - strb r0, [r2] - ldr r0, _0801F984 @ =0x0000012B - bl sub_08004488 -_0801F966: - adds r0, r4, #0 - bl sub_080AEFE0 - movs r1, #0x80 - lsls r1, r1, #7 - adds r0, r4, #0 - bl sub_08003FC4 - cmp r0, #0 - bne _0801F98E - adds r0, r4, #0 - bl GetNextFrame - b _0801F98E - .align 2, 0 -_0801F984: .4byte 0x0000012B -_0801F988: - adds r0, r4, #0 - bl GetNextFrame -_0801F98E: - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _0801F9C2 - adds r0, r4, #0 - bl sub_0801FBD0 - cmp r0, #0 - beq _0801F9AE - adds r0, r4, #0 - bl sub_0801FAE0 - b _0801F9C2 -_0801F9AE: - movs r0, #6 - strb r0, [r4, #0xc] - movs r0, #0x3c - strb r0, [r4, #0xf] - movs r0, #0x20 - strh r0, [r4, #0x24] - adds r0, r4, #0 - movs r1, #2 - bl InitializeAnimation -_0801F9C2: - pop {r4, pc} - - thumb_func_start sub_0801F9C4 -sub_0801F9C4: @ 0x0801F9C4 - push {lr} - adds r1, r0, #0 - ldrb r0, [r1, #0xf] - subs r0, #1 - strb r0, [r1, #0xf] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _0801F9D8 - movs r0, #4 - strb r0, [r1, #0xc] -_0801F9D8: - adds r0, r1, #0 - bl GetNextFrame - pop {pc} - - thumb_func_start sub_0801F9E0 -sub_0801F9E0: @ 0x0801F9E0 - push {r4, lr} - adds r4, r0, #0 - bl GetNextFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _0801FA2C - movs r0, #8 - strb r0, [r4, #0xc] - movs r0, #0x1e - strb r0, [r4, #0xf] - adds r0, r4, #0 - movs r1, #1 - bl sub_08049F84 - strb r0, [r4, #0x15] - adds r2, r4, #0 - adds r2, #0x29 - ldrb r1, [r2] - movs r0, #0x39 - rsbs r0, r0, #0 - ands r0, r1 - movs r1, #0x10 - orrs r0, r1 - movs r1, #8 - rsbs r1, r1, #0 - ands r0, r1 - movs r1, #6 - orrs r0, r1 - strb r0, [r2] - adds r0, r4, #0 - movs r1, #1 - bl InitializeAnimation -_0801FA2C: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_0801FA30 -sub_0801FA30: @ 0x0801FA30 - push {r4, lr} - adds r4, r0, #0 - bl sub_0801FBD0 - cmp r0, #0 - beq _0801FA54 - adds r0, r4, #0 - movs r1, #1 - bl sub_08049F84 - strb r0, [r4, #0x15] - adds r0, r4, #0 - bl sub_080AF160 - adds r0, r4, #0 - bl GetNextFrame - b _0801FA74 -_0801FA54: - adds r0, r4, #0 - movs r1, #1 - bl sub_08049FDC - cmp r0, #0 - bne _0801FA6E - movs r0, #9 - strb r0, [r4, #0xc] - adds r0, r4, #0 - movs r1, #7 - bl InitializeAnimation - b _0801FA74 -_0801FA6E: - adds r0, r4, #0 - bl sub_0801FAF8 -_0801FA74: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_0801FA78 -sub_0801FA78: @ 0x0801FA78 - push {r4, lr} - adds r4, r0, #0 - bl GetNextFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _0801FAA8 - movs r0, #1 - strb r0, [r4, #0xc] - ldrb r1, [r4, #0x18] - subs r0, #5 - ands r0, r1 - strb r0, [r4, #0x18] - adds r0, r4, #0 - movs r1, #4 - bl InitializeAnimation - adds r0, r4, #0 - bl sub_0804AA1C -_0801FAA8: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_0801FAAC -sub_0801FAAC: @ 0x0801FAAC - push {r4, lr} - adds r4, r0, #0 - movs r1, #0xc0 - lsls r1, r1, #5 - bl sub_08003FC4 - adds r0, r4, #0 - bl GetNextFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _0801FADC - adds r0, r4, #0 - bl sub_0801FB14 - movs r0, #0x20 - strh r0, [r4, #0x24] - adds r0, r4, #0 - bl sub_0804AA1C -_0801FADC: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_0801FAE0 -sub_0801FAE0: @ 0x0801FAE0 - push {lr} - movs r1, #7 - strb r1, [r0, #0xc] - ldrb r2, [r0, #0x10] - movs r1, #0x7f - ands r1, r2 - strb r1, [r0, #0x10] - movs r1, #5 - bl InitializeAnimation - pop {pc} - .align 2, 0 - - thumb_func_start sub_0801FAF8 -sub_0801FAF8: @ 0x0801FAF8 - push {lr} - movs r1, #2 - strb r1, [r0, #0xc] - ldrb r2, [r0, #0x18] - subs r1, #6 - ands r1, r2 - movs r2, #1 - orrs r1, r2 - strb r1, [r0, #0x18] - movs r1, #4 - bl InitializeAnimation - pop {pc} - .align 2, 0 - - thumb_func_start sub_0801FB14 -sub_0801FB14: @ 0x0801FB14 - push {r4, lr} - adds r4, r0, #0 - movs r0, #3 - strb r0, [r4, #0xc] - movs r0, #0x1e - strb r0, [r4, #0xf] - adds r0, r4, #0 - movs r1, #1 - bl sub_08049F84 - strb r0, [r4, #0x15] - adds r0, r4, #0 - movs r1, #2 - bl InitializeAnimation - pop {r4, pc} - - thumb_func_start sub_0801FB34 -sub_0801FB34: @ 0x0801FB34 - push {r4, lr} - adds r4, r0, #0 - ldr r3, [r4, #0x68] - cmp r3, #0 - beq _0801FB62 - ldr r2, _0801FB64 @ =gUnk_080CA2B4 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0xf - ands r0, r1 - adds r0, r0, r2 - movs r2, #0 - ldrsb r2, [r0, r2] - adds r0, r4, #0 - adds r1, r3, #0 - movs r3, #1 - bl sub_0806FA90 - ldr r1, [r4, #0x68] - adds r1, #0x63 - ldrb r0, [r1] - subs r0, #1 - strb r0, [r1] -_0801FB62: - pop {r4, pc} - .align 2, 0 -_0801FB64: .4byte gUnk_080CA2B4 - - thumb_func_start sub_0801FB68 -sub_0801FB68: @ 0x0801FB68 - push {r4, lr} - adds r4, r0, #0 - ldrb r0, [r4, #0xa] - cmp r0, #1 - beq _0801FB88 - cmp r0, #1 - bgt _0801FB7C - cmp r0, #0 - beq _0801FB82 - b _0801FBC8 -_0801FB7C: - cmp r0, #2 - beq _0801FBB6 - b _0801FBC8 -_0801FB82: - movs r0, #9 - strb r0, [r4, #0xc] - b _0801FBC8 -_0801FB88: - movs r0, #0xa - strb r0, [r4, #0xc] - ldrb r1, [r4, #0x10] - movs r0, #0x80 - orrs r0, r1 - strb r0, [r4, #0x10] - ldrb r1, [r4, #0x18] - movs r0, #4 - rsbs r0, r0, #0 - ands r0, r1 - movs r1, #1 - orrs r0, r1 - strb r0, [r4, #0x18] - adds r2, r4, #0 - adds r2, #0x29 - ldrb r1, [r2] - movs r0, #0x39 - rsbs r0, r0, #0 - ands r0, r1 - movs r1, #0x18 - orrs r0, r1 - strb r0, [r2] - b _0801FBC8 -_0801FBB6: - movs r0, #0xa - strb r0, [r4, #0xc] - adds r1, r4, #0 - adds r1, #0x3f - movs r0, #0x5c - strb r0, [r1] - adds r0, r4, #0 - bl sub_0804AA1C -_0801FBC8: - movs r0, #0 - str r0, [r4, #0x20] - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_0801FBD0 -sub_0801FBD0: @ 0x0801FBD0 - push {lr} - bl sub_080002B8 - cmp r0, #0x10 - beq _0801FBDE - movs r0, #0 - b _0801FBE0 -_0801FBDE: - movs r0, #1 -_0801FBE0: - pop {pc} - .align 2, 0 - - thumb_func_start sub_0801FBE4 -sub_0801FBE4: @ 0x0801FBE4 - push {r4, lr} - adds r4, r0, #0 - movs r0, #0xc0 - lsls r0, r0, #1 - strh r0, [r4, #0x24] - movs r0, #0x80 - lsls r0, r0, #0xa - str r0, [r4, #0x20] - adds r0, r4, #0 - movs r1, #1 - bl sub_08049F84 - strb r0, [r4, #0x15] - adds r0, r4, #0 - movs r1, #3 - bl InitializeAnimation - pop {r4, pc} diff --git a/asm/code_08000108.s b/asm/code_08000108.s index 04c7b12a..7fb9b84d 100644 --- a/asm/code_08000108.s +++ b/asm/code_08000108.s @@ -26,7 +26,7 @@ _08000126: ldr r0, [r0] cmp r0, #0 beq _08000136 - ldr r0, _080001FC @ =gUnk_02002F00 + ldr r0, _080001FC @ =gMapDataTopSpecial ldr r1, _08000200 @ =gUnk_020344F0 bl _call_via_r4 _08000136: @@ -126,7 +126,7 @@ _080001EC: .4byte gUnk_02025EB0 _080001F0: .4byte gUnk_02019EE0 _080001F4: .4byte gUnk_02021F70 _080001F8: .4byte gUnk_0200B650 -_080001FC: .4byte gUnk_02002F00 +_080001FC: .4byte gMapDataTopSpecial _08000200: .4byte gUnk_020344F0 _08000204: .4byte gUnk_08000248 _08000208: .4byte gUnk_08000228 @@ -138,14 +138,14 @@ _0800021C: .4byte gUnk_080B3E80 _08000220: .4byte gUnk_08000278 _08000224: .4byte gUnk_08000228 gUnk_08000228:: - .4byte gUnk_02025EB4 + .4byte gMapDataBottom gUnk_0800022C:: .4byte gMetatileTypesBottom - .4byte gUnk_02025EB4 + .4byte gMapDataBottom .4byte gMetatileTypesBottom - .4byte gUnk_0200B654 + .4byte gMapDataTop .4byte gMetatileTypesTop - .4byte gUnk_02025EB4 + .4byte gMapDataBottom .4byte gMetatileTypesBottom gUnk_08000248:: .4byte gUnk_02027EB4 diff --git a/asm/code_08016DF8.s b/asm/code_08016DF8.s index 69973edf..b30e6ecb 100644 --- a/asm/code_08016DF8.s +++ b/asm/code_08016DF8.s @@ -469,7 +469,7 @@ _08017196: cmp r1, #0 bne _080171A4 adds r0, r5, #0 - bl sub_080A2B80 + bl CreateSparkle _080171A4: ldr r0, _080171B8 @ =gUnk_02002A40 adds r3, r0, #0 diff --git a/asm/code_08018500.s b/asm/code_08018500.s index bd53d8fc..e4aa9e2d 100644 --- a/asm/code_08018500.s +++ b/asm/code_08018500.s @@ -884,7 +884,7 @@ sub_08018BB4: @ 0x08018BB4 mov r5, sp mov r1, sp movs r2, #8 - bl sub_0801D66C + bl _DmaCopy lsls r0, r4, #2 adds r0, r0, r4 lsls r0, r0, #2 diff --git a/asm/code_08019444.s b/asm/code_08019444.s index 4a7713fe..a9a303c8 100644 --- a/asm/code_08019444.s +++ b/asm/code_08019444.s @@ -495,7 +495,7 @@ _08019810: _0801981A: adds r0, r1, #0 adds r1, r3, #0 - bl sub_0801D66C + bl _DmaCopy b _0801982E _08019824: ldrh r0, [r4] @@ -3508,7 +3508,7 @@ _0801AED0: ldr r0, [r1] cmp r0, #0 beq _0801AF10 - ldr r0, _0801AF08 @ =gUnk_02002F00 + ldr r0, _0801AF08 @ =gMapDataTopSpecial bl sub_0801AB08 b _0801AF10 .align 2, 0 @@ -3522,7 +3522,7 @@ _0801AEF8: .4byte 0x00000888 _0801AEFC: .4byte gUnk_02025EB0 _0801AF00: .4byte gUnk_02019EE0 _0801AF04: .4byte gUnk_0200B650 -_0801AF08: .4byte gUnk_02002F00 +_0801AF08: .4byte gMapDataTopSpecial _0801AF0C: bl sub_0807C4F8 _0801AF10: @@ -3815,7 +3815,7 @@ _0801B114: adds r1, r3, r0 lsls r2, r2, #5 adds r0, r5, #0 - bl sub_0801D66C + bl _DmaCopy _0801B122: ldr r0, [r4] cmp r0, #0 diff --git a/asm/code_0801CEC0.s b/asm/code_0801CEC0.s index c2eda998..c9434b01 100644 --- a/asm/code_0801CEC0.s +++ b/asm/code_0801CEC0.s @@ -730,7 +730,7 @@ _0801D4C8: adds r1, r7, #0 movs r2, #0x20 str r3, [sp] - bl sub_0801D66C + bl _DmaCopy adds r6, #0x20 adds r4, #4 adds r7, #0x20 diff --git a/asm/code_0801D79C.s b/asm/code_0801D79C.s index 05616bc7..346a65e9 100644 --- a/asm/code_0801D79C.s +++ b/asm/code_0801D79C.s @@ -2142,11 +2142,11 @@ _0801E86C: adds r0, r6, #0 adds r1, r7, #0 adds r2, r4, #0 - bl sub_0801D66C + bl _DmaCopy mov r0, r8 mov r1, sb adds r2, r4, #0 - bl sub_0801D66C + bl _DmaCopy _0801E890: movs r3, #1 add sb, r3 diff --git a/asm/code_0804AA84.s b/asm/code_0804AA84.s index 00e8af4f..5ea286c8 100644 --- a/asm/code_0804AA84.s +++ b/asm/code_0804AA84.s @@ -45,7 +45,7 @@ _0804ABA4: lsls r2, r2, #2 adds r1, r0, r2 movs r2, #0x20 - bl sub_0801D66C + bl _DmaCopy ldr r2, _0804AC14 @ =gUsedPalettes ldr r0, [r2] movs r1, #0x80 diff --git a/asm/code_0804AEB0.s b/asm/code_0804AEB0.s index b1a43ecc..a83e3f1b 100644 --- a/asm/code_0804AEB0.s +++ b/asm/code_0804AEB0.s @@ -50,7 +50,7 @@ _0804AEF6: _0804AF00: adds r0, r6, #0 movs r2, #0x10 - bl sub_0801D66C + bl _DmaCopy pop {r4, r5, r6, pc} .align 2, 0 diff --git a/asm/code_0804B058.s b/asm/code_0804B058.s index 3557f857..93fc9bca 100644 --- a/asm/code_0804B058.s +++ b/asm/code_0804B058.s @@ -173,7 +173,7 @@ sub_0804B260: @ 0x0804B260 adds r0, r0, r1 ldr r1, _0804B278 @ =gUnk_02034398 movs r2, #0x20 - bl sub_0801D66C + bl _DmaCopy pop {pc} .align 2, 0 _0804B274: .4byte gUnk_080015BC @@ -211,7 +211,7 @@ _0804B2A4: adds r0, r2, #0 adds r1, r4, #0 movs r2, #8 - bl sub_0801D66C + bl _DmaCopy ldrb r1, [r4, #6] movs r0, #1 ands r0, r1 diff --git a/asm/code_080526F8.s b/asm/code_080526F8.s index bb4bcbcc..b7fb77fa 100644 --- a/asm/code_080526F8.s +++ b/asm/code_080526F8.s @@ -161,7 +161,7 @@ sub_080527FC: @ 0x080527FC ldr r1, _08052834 @ =gPaletteBuffer movs r2, #0x80 lsls r2, r2, #3 - bl sub_0801D66C + bl _DmaCopy ldr r1, _08052838 @ =gUsedPalettes movs r0, #1 rsbs r0, r0, #0 @@ -939,7 +939,7 @@ sub_08052E10: @ 0x08052E10 adds r0, r0, r1 ldr r0, [r0] str r0, [r5, #8] - ldr r0, _08052E78 @ =gUnk_08107988 + ldr r0, _08052E78 @ =gAreaRoomMaps adds r0, r2, r0 ldr r0, [r0] lsls r3, r3, #2 @@ -972,7 +972,7 @@ _08052E70: pop {r4, r5, pc} .align 2, 0 _08052E74: .4byte gAreaTilesets -_08052E78: .4byte gUnk_08107988 +_08052E78: .4byte gAreaRoomMaps _08052E7C: .4byte gAreaMetatiles _08052E80: .4byte gUnk_080B755C _08052E84: .4byte gUnk_0813A7F0 @@ -1204,7 +1204,7 @@ sub_08052FF4: @ 0x08052FF4 adds r0, r0, r1 ldr r0, [r0] str r0, [r5, #8] - ldr r0, _08053080 @ =gUnk_08107988 + ldr r0, _08053080 @ =gAreaRoomMaps adds r0, r6, r0 ldr r0, [r0] adds r2, r2, r0 @@ -1225,7 +1225,7 @@ _08053070: .4byte gScreen _08053074: .4byte gUnk_020342CC _08053078: .4byte gAreaRoomHeaders _0805307C: .4byte gAreaTilesets -_08053080: .4byte gUnk_08107988 +_08053080: .4byte gAreaRoomMaps _08053084: .4byte gAreaMetatiles _08053088: .4byte gUnk_080B755C @@ -1258,7 +1258,7 @@ sub_080530B0: @ 0x080530B0 ldr r0, _080530C0 @ =gUnk_080FCAF8 ldr r1, _080530C4 @ =gUnk_030010EC movs r2, #0x20 - bl sub_0801D66C + bl _DmaCopy pop {pc} .align 2, 0 _080530C0: .4byte gUnk_080FCAF8 @@ -1431,7 +1431,7 @@ sub_080531F8: @ 0x080531F8 ldr r1, _08053248 @ =gUnk_02002AC8 adds r0, r5, #0 movs r2, #0x20 - bl sub_0801D66C + bl _DmaCopy bl CheckIsDungeon cmp r0, #0 beq _08053238 @@ -1483,7 +1483,7 @@ sub_08053250: @ 0x08053250 adds r0, #0xc ldr r1, _08053298 @ =gUnk_02002AC8 movs r2, #0x20 - bl sub_0801D66C + bl _DmaCopy pop {r4, pc} .align 2, 0 _0805328C: .4byte gScreenTransition diff --git a/asm/code_08055FF4.s b/asm/code_08055FF4.s index 0ce62bc1..0effa9a0 100644 --- a/asm/code_08055FF4.s +++ b/asm/code_08055FF4.s @@ -32,7 +32,7 @@ _080560E4: lsls r4, r4, #0x12 adds r1, r4, #0 movs r2, #0x10 - bl sub_0801D66C + bl _DmaCopy adds r0, r4, #0 bl sub_0807CF10 _080560F8: diff --git a/asm/code_08056418.s b/asm/code_08056418.s index 6120eabb..e2519ccd 100644 --- a/asm/code_08056418.s +++ b/asm/code_08056418.s @@ -102,7 +102,7 @@ sub_080564EC: @ 0x080564EC ldr r0, _080565A4 @ =gTextBox adds r1, r4, #0 movs r2, #0x20 - bl sub_0801D66C + bl _DmaCopy ldrb r0, [r4, #2] cmp r0, #0x63 bne _08056520 diff --git a/asm/code_0805EC04.s b/asm/code_0805EC04.s index d3380a65..ea3eba03 100644 --- a/asm/code_0805EC04.s +++ b/asm/code_0805EC04.s @@ -966,7 +966,7 @@ sub_0805F324: @ 0x0805F324 adds r7, r1, #0 mov r1, sp movs r2, #0x30 - bl sub_0801D66C + bl _DmaCopy movs r0, #0 str r0, [sp, #0x34] movs r1, #0 @@ -1142,7 +1142,7 @@ _0805F486: adds r0, r5, #0 adds r1, r4, #0 movs r2, #0x18 - bl sub_0801D66C + bl _DmaCopy mov r0, sp adds r1, r6, #0 bl sub_0805F440 @@ -1372,7 +1372,7 @@ _0805F63A: ldr r0, [r4, #8] ldr r1, [r4, #4] adds r2, r5, #0 - bl sub_0801D66C + bl _DmaCopy ldr r0, [r4, #4] adds r0, r0, r5 str r0, [r4, #4] diff --git a/asm/code_08070698.s b/asm/code_08070698.s index 738b3fa8..ce1b6779 100644 --- a/asm/code_08070698.s +++ b/asm/code_08070698.s @@ -542,7 +542,7 @@ _08070BC8: cmp r0, #0 bne _08070BE4 adds r0, r5, #0 - bl sub_080A2A64 + bl CreateWaterTrace _08070BE4: pop {r4, r5, r6, r7, pc} .align 2, 0 diff --git a/asm/code_080732D0.s b/asm/code_080732D0.s index f8c6d611..4eacdd99 100644 --- a/asm/code_080732D0.s +++ b/asm/code_080732D0.s @@ -3691,14 +3691,14 @@ _08074E54: movs r1, #8 movs r2, #0x18 rsbs r2, r2, #0 - bl sub_080A2CFC + bl CreateSpeechBubbleExclamationMark b _08074EF0 _08074E62: adds r0, r4, #0 movs r1, #8 movs r2, #0x18 rsbs r2, r2, #0 - bl sub_080A2D0C + bl CreateSpeechBubbleQuestionMark b _08074EF0 _08074E70: ldrb r0, [r4, #0x18] @@ -4261,7 +4261,7 @@ _08075270: movs r2, #0x1c rsbs r2, r2, #0 adds r0, r4, #0 - bl sub_080A2D1C + bl CreateSpeechBubbleSleep str r0, [r4, #0x6c] cmp r0, #0 beq _0807528C @@ -4280,7 +4280,7 @@ sub_0807529C: @ 0x0807529C movs r2, #0x20 rsbs r2, r2, #0 movs r1, #8 - bl sub_080A2D0C + bl CreateSpeechBubbleQuestionMark pop {pc} .align 2, 0 diff --git a/asm/code_08078778.s b/asm/code_08078778.s index f3bcc358..54e812c4 100644 --- a/asm/code_08078778.s +++ b/asm/code_08078778.s @@ -5117,7 +5117,7 @@ _0807AECC: cmp r0, #0 bne _0807AEDE adds r0, r4, #0 - bl sub_080A2A64 + bl CreateWaterTrace _0807AEDE: pop {r4, pc} .align 2, 0 @@ -5517,7 +5517,7 @@ sub_0807B1A8: @ 0x0807B1A8 cmp r0, #0 bne _0807B1D0 adds r0, r4, #0 - bl sub_080A2B80 + bl CreateSparkle _0807B1D0: pop {r4, pc} .align 2, 0 @@ -5774,7 +5774,7 @@ _0807B3BC: .4byte gUnk_080B37A0 _0807B3C0: .4byte gUnk_02019EE0 _0807B3C4: lsls r1, r1, #1 - ldr r0, _0807B400 @ =gUnk_02002F00 + ldr r0, _0807B400 @ =gMapDataTopSpecial _0807B3C8: adds r3, r1, r0 mov r1, ip @@ -5805,7 +5805,7 @@ _0807B3C8: strb r0, [r1] b _0807B430 .align 2, 0 -_0807B400: .4byte gUnk_02002F00 +_0807B400: .4byte gMapDataTopSpecial _0807B404: .4byte 0x00007004 _0807B408: .4byte gRoomControls _0807B40C: .4byte gUnk_02000070 diff --git a/asm/code_0807B9B8.s b/asm/code_0807B9B8.s index 97ec7f4d..6ab76607 100644 --- a/asm/code_0807B9B8.s +++ b/asm/code_0807B9B8.s @@ -70,7 +70,7 @@ _0807BA38: .4byte gRoomControls _0807BA3C: .4byte gUnk_02019EE0 _0807BA40: lsls r1, r1, #1 - ldr r0, _0807BA7C @ =gUnk_02002F00 + ldr r0, _0807BA7C @ =gMapDataTopSpecial _0807BA44: adds r3, r1, r0 lsls r0, r7, #3 @@ -101,7 +101,7 @@ _0807BA44: _0807BA78: pop {r4, r5, r6, r7, pc} .align 2, 0 -_0807BA7C: .4byte gUnk_02002F00 +_0807BA7C: .4byte gMapDataTopSpecial _0807BA80: .4byte 0x00007004 _0807BA84: .4byte gRoomControls _0807BA88: .4byte gUnk_02000070 @@ -172,7 +172,7 @@ _0807BB14: .4byte gRoomControls _0807BB18: .4byte gUnk_02019EE0 _0807BB1C: lsls r1, r1, #1 - ldr r0, _0807BB58 @ =gUnk_02002F00 + ldr r0, _0807BB58 @ =gMapDataTopSpecial _0807BB20: adds r3, r1, r0 lsls r0, r6, #3 @@ -203,7 +203,7 @@ _0807BB20: _0807BB54: pop {r4, r5, r6, r7, pc} .align 2, 0 -_0807BB58: .4byte gUnk_02002F00 +_0807BB58: .4byte gMapDataTopSpecial _0807BB5C: .4byte 0x00007004 _0807BB60: .4byte gRoomControls _0807BB64: .4byte gUnk_02000070 @@ -853,7 +853,7 @@ _0807C01C: lsls r2, r2, #2 adds r1, r1, r2 movs r2, #0x20 - bl sub_0801D66C + bl _DmaCopy ldr r2, _0807C0D4 @ =gUsedPalettes ldr r0, [r2] movs r1, #0x80 @@ -943,7 +943,7 @@ sub_0807C0DC: @ 0x0807C0DC movs r0, #0xfc ands r0, r1 strb r0, [r7, #0xf] - ldr r5, _0807C15C @ =gUnk_0200B654 + ldr r5, _0807C15C @ =gMapDataTop movs r6, #0x80 lsls r6, r6, #6 adds r0, r5, #0 @@ -958,7 +958,7 @@ sub_0807C0DC: @ 0x0807C0DC lsls r4, r4, #8 adds r1, r4, #0 bl _DmaZero - ldr r0, _0807C164 @ =gUnk_02002F00 + ldr r0, _0807C164 @ =gMapDataTopSpecial adds r1, r4, #0 bl _DmaZero ldr r0, _0807C168 @ =gArea @@ -989,9 +989,9 @@ sub_0807C0DC: @ 0x0807C0DC b _0807C184 .align 2, 0 _0807C158: .4byte gRoomControls -_0807C15C: .4byte gUnk_0200B654 +_0807C15C: .4byte gMapDataTop _0807C160: .4byte gUnk_02019EE0 -_0807C164: .4byte gUnk_02002F00 +_0807C164: .4byte gMapDataTopSpecial _0807C168: .4byte gArea _0807C16C: .4byte 0x0000085C _0807C170: .4byte gUnk_02025EB0 @@ -1008,29 +1008,29 @@ _0807C184: ldrb r0, [r0] cmp r0, #0 bne _0807C1BC - ldr r0, _0807C1B4 @ =gUnk_02025EB4 + ldr r0, _0807C1B4 @ =gMapDataBottom movs r2, #0xc0 lsls r2, r2, #6 adds r1, r0, r2 movs r4, #0x80 lsls r4, r4, #6 adds r2, r4, #0 - bl sub_0801D66C - ldr r0, _0807C1B8 @ =gUnk_0200B654 + bl _DmaCopy + ldr r0, _0807C1B8 @ =gMapDataTop movs r3, #0xc0 lsls r3, r3, #6 adds r1, r0, r3 adds r2, r4, #0 - bl sub_0801D66C + bl _DmaCopy b _0807C26C .align 2, 0 _0807C1B0: .4byte gScreenTransition -_0807C1B4: .4byte gUnk_02025EB4 -_0807C1B8: .4byte gUnk_0200B654 +_0807C1B4: .4byte gMapDataBottom +_0807C1B8: .4byte gMapDataTop _0807C1BC: cmp r0, #2 bne _0807C26C - ldr r4, _0807C278 @ =gUnk_02025EB4 + ldr r4, _0807C278 @ =gMapDataBottom movs r0, #0xb0 lsls r0, r0, #8 adds r0, r0, r4 @@ -1040,35 +1040,35 @@ _0807C1BC: adds r0, r4, #0 mov r1, r8 adds r2, r5, #0 - bl sub_0801D66C + bl _DmaCopy movs r1, #0xc0 lsls r1, r1, #6 adds r6, r4, r1 adds r0, r6, #0 adds r1, r4, #0 adds r2, r5, #0 - bl sub_0801D66C + bl _DmaCopy mov r0, r8 adds r1, r6, #0 adds r2, r5, #0 - bl sub_0801D66C + bl _DmaCopy adds r6, r4, r5 adds r0, r6, #0 mov r1, r8 adds r2, r5, #0 - bl sub_0801D66C + bl _DmaCopy movs r2, #0x80 lsls r2, r2, #7 adds r4, r4, r2 adds r0, r4, #0 adds r1, r6, #0 adds r2, r5, #0 - bl sub_0801D66C + bl _DmaCopy mov r0, r8 adds r1, r4, #0 adds r2, r5, #0 - bl sub_0801D66C - ldr r4, _0807C27C @ =gUnk_0200B654 + bl _DmaCopy + ldr r4, _0807C27C @ =gMapDataTop movs r3, #0xb0 lsls r3, r3, #8 adds r3, r3, r4 @@ -1076,34 +1076,34 @@ _0807C1BC: adds r0, r4, #0 mov r1, r8 adds r2, r5, #0 - bl sub_0801D66C + bl _DmaCopy movs r0, #0xc0 lsls r0, r0, #6 adds r6, r4, r0 adds r0, r6, #0 adds r1, r4, #0 adds r2, r5, #0 - bl sub_0801D66C + bl _DmaCopy mov r0, r8 adds r1, r6, #0 adds r2, r5, #0 - bl sub_0801D66C + bl _DmaCopy adds r6, r4, r5 adds r0, r6, #0 mov r1, r8 adds r2, r5, #0 - bl sub_0801D66C + bl _DmaCopy movs r1, #0x80 lsls r1, r1, #7 adds r4, r4, r1 adds r0, r4, #0 adds r1, r6, #0 adds r2, r5, #0 - bl sub_0801D66C + bl _DmaCopy mov r0, r8 adds r1, r4, #0 adds r2, r5, #0 - bl sub_0801D66C + bl _DmaCopy _0807C26C: mov r2, sb cmp r2, #0 @@ -1111,8 +1111,8 @@ _0807C26C: bl sub_0807BBE4 b _0807C2A0 .align 2, 0 -_0807C278: .4byte gUnk_02025EB4 -_0807C27C: .4byte gUnk_0200B654 +_0807C278: .4byte gMapDataBottom +_0807C27C: .4byte gMapDataTop _0807C280: ldr r0, _0807C2CC @ =gUnk_02027EB4 ldrh r1, [r7, #0x1e] @@ -1141,7 +1141,7 @@ _0807C2A0: ldr r0, _0807C2DC @ =gUnk_02019EE0 adds r1, r4, #0 bl sub_0801AB08 - ldr r0, _0807C2E0 @ =gUnk_02002F00 + ldr r0, _0807C2E0 @ =gMapDataTopSpecial adds r1, r5, #0 bl sub_0801AB08 b _0807C326 @@ -1151,7 +1151,7 @@ _0807C2D0: .4byte gUnk_0200D654 _0807C2D4: .4byte gUnk_02025EB0 _0807C2D8: .4byte gUnk_0200B650 _0807C2DC: .4byte gUnk_02019EE0 -_0807C2E0: .4byte gUnk_02002F00 +_0807C2E0: .4byte gMapDataTopSpecial _0807C2E4: ldr r4, _0807C34C @ =gUnk_02019EE0 movs r0, #0x80 @@ -1161,19 +1161,19 @@ _0807C2E4: adds r0, r4, #0 adds r1, r5, #0 adds r2, r6, #0 - bl sub_0801D66C + bl _DmaCopy adds r0, r4, #0 adds r1, r5, #0 bl sub_0807C5F4 adds r0, r5, #0 adds r1, r6, #0 bl _DmaZero - ldr r4, _0807C350 @ =gUnk_02002F00 + ldr r4, _0807C350 @ =gMapDataTopSpecial adds r5, r4, r6 adds r0, r4, #0 adds r1, r5, #0 adds r2, r6, #0 - bl sub_0801D66C + bl _DmaCopy adds r0, r4, #0 adds r1, r5, #0 bl sub_0807C5F4 @@ -1204,7 +1204,7 @@ _0807C33A: mov pc, r0 .align 2, 0 _0807C34C: .4byte gUnk_02019EE0 -_0807C350: .4byte gUnk_02002F00 +_0807C350: .4byte gMapDataTopSpecial _0807C354: .4byte _0807C358 _0807C358: @ jump table .4byte _0807C3BC @ case 0 @@ -1323,8 +1323,8 @@ sub_0807C460: @ 0x0807C460 mov r5, r8 push {r5, r6, r7} sub sp, #8 - ldr r7, _0807C4E8 @ =gUnk_02025EB4 - ldr r6, _0807C4EC @ =gUnk_0200B654 + ldr r7, _0807C4E8 @ =gMapDataBottom + ldr r6, _0807C4EC @ =gMapDataTop ldr r0, _0807C4F0 @ =gRoomControls ldrh r1, [r0, #0x1e] lsrs r3, r1, #4 @@ -1390,8 +1390,8 @@ _0807C4DC: mov sl, r5 pop {r4, r5, r6, r7, pc} .align 2, 0 -_0807C4E8: .4byte gUnk_02025EB4 -_0807C4EC: .4byte gUnk_0200B654 +_0807C4E8: .4byte gMapDataBottom +_0807C4EC: .4byte gMapDataTop _0807C4F0: .4byte gRoomControls _0807C4F4: .4byte 0x00003FFF @@ -1407,7 +1407,7 @@ sub_0807C4F8: @ 0x0807C4F8 lsls r4, r4, #8 adds r1, r4, #0 bl _DmaZero - ldr r0, _0807C59C @ =gUnk_02002F00 + ldr r0, _0807C59C @ =gMapDataTopSpecial adds r1, r4, #0 bl _DmaZero ldr r5, _0807C5A0 @ =gUnk_02022830 @@ -1423,7 +1423,7 @@ _0807C524: ldr r0, _0807C598 @ =gUnk_02019EE0 cmp r1, r0 beq _0807C534 - ldr r0, _0807C59C @ =gUnk_02002F00 + ldr r0, _0807C59C @ =gMapDataTopSpecial cmp r1, r0 bne _0807C54A _0807C534: @@ -1449,19 +1449,19 @@ _0807C54A: adds r0, r4, #0 adds r1, r5, #0 adds r2, r6, #0 - bl sub_0801D66C + bl _DmaCopy adds r0, r4, #0 adds r1, r5, #0 bl sub_0807C5F4 adds r0, r5, #0 adds r1, r6, #0 bl _DmaZero - ldr r4, _0807C59C @ =gUnk_02002F00 + ldr r4, _0807C59C @ =gMapDataTopSpecial adds r5, r4, r6 adds r0, r4, #0 adds r1, r5, #0 adds r2, r6, #0 - bl sub_0801D66C + bl _DmaCopy adds r0, r4, #0 adds r1, r5, #0 bl sub_0807C5F4 @@ -1473,7 +1473,7 @@ _0807C592: .align 2, 0 _0807C594: .4byte gRoomControls _0807C598: .4byte gUnk_02019EE0 -_0807C59C: .4byte gUnk_02002F00 +_0807C59C: .4byte gMapDataTopSpecial _0807C5A0: .4byte gUnk_02022830 _0807C5A4: .4byte gArea _0807C5A8: .4byte 0x0000085C @@ -1863,25 +1863,25 @@ sub_0807C860: @ 0x0807C860 adds r0, #0x2d movs r1, #1 strb r1, [r0] - ldr r0, _0807C890 @ =gUnk_02025EB4 + ldr r0, _0807C890 @ =gMapDataBottom movs r2, #0xc0 lsls r2, r2, #6 adds r1, r0, r2 movs r4, #0x80 lsls r4, r4, #6 adds r2, r4, #0 - bl sub_0801D66C - ldr r0, _0807C894 @ =gUnk_0200B654 + bl _DmaCopy + ldr r0, _0807C894 @ =gMapDataTop movs r2, #0xc0 lsls r2, r2, #6 adds r1, r0, r2 adds r2, r4, #0 - bl sub_0801D66C + bl _DmaCopy pop {r4, pc} .align 2, 0 _0807C88C: .4byte gScreenTransition -_0807C890: .4byte gUnk_02025EB4 -_0807C894: .4byte gUnk_0200B654 +_0807C890: .4byte gMapDataBottom +_0807C894: .4byte gMapDataTop thumb_func_start sub_0807C898 sub_0807C898: @ 0x0807C898 diff --git a/asm/code_0807CC3C.s b/asm/code_0807CC3C.s index 9cc86918..48053ae7 100644 --- a/asm/code_0807CC3C.s +++ b/asm/code_0807CC3C.s @@ -1806,14 +1806,14 @@ _0807DC82: movs r1, #8 movs r2, #0x18 rsbs r2, r2, #0 - bl sub_080A2CFC + bl CreateSpeechBubbleExclamationMark b _0807DD40 _0807DC90: adds r0, r5, #0 movs r1, #8 movs r2, #0x18 rsbs r2, r2, #0 - bl sub_080A2D0C + bl CreateSpeechBubbleQuestionMark b _0807DD40 _0807DC9E: adds r0, r6, #0 @@ -5183,7 +5183,7 @@ sub_0807F3F8: @ 0x0807F3F8 movs r2, #0x18 rsbs r2, r2, #0 movs r1, #8 - bl sub_080A2CFC + bl CreateSpeechBubbleExclamationMark pop {pc} .align 2, 0 _0807F408: .4byte gPlayerEntity @@ -5195,7 +5195,7 @@ sub_0807F40C: @ 0x0807F40C movs r2, #0x18 rsbs r2, r2, #0 movs r1, #8 - bl sub_080A2D0C + bl CreateSpeechBubbleQuestionMark pop {pc} .align 2, 0 _0807F41C: .4byte gPlayerEntity @@ -5936,7 +5936,7 @@ sub_0807F93C: @ 0x0807F93C movs r3, #0xff ands r1, r3 ands r2, r3 - bl sub_080A2D1C + bl CreateSpeechBubbleSleep pop {pc} .align 2, 0 @@ -6843,14 +6843,14 @@ sub_0807FFE4: @ 0x0807FFE4 ldr r0, [r0] ldr r0, [r0] bl sub_080197D4 - ldr r4, _08080038 @ =gUnk_0200B654 + ldr r4, _08080038 @ =gMapDataTop ldrh r1, [r5, #0x1e] lsrs r1, r1, #4 ldrh r2, [r5, #0x20] lsrs r2, r2, #4 adds r0, r4, #0 bl sub_0807C8B0 - ldr r0, _0808003C @ =gUnk_02002F00 + ldr r0, _0808003C @ =gMapDataTopSpecial subs r4, #4 adds r1, r4, #0 bl sub_0801AB08 @@ -6859,8 +6859,8 @@ sub_0807FFE4: @ 0x0807FFE4 _0808002C: .4byte gUnk_0200B640 _08080030: .4byte gUnk_08109194 _08080034: .4byte gUnk_03004030 -_08080038: .4byte gUnk_0200B654 -_0808003C: .4byte gUnk_02002F00 +_08080038: .4byte gMapDataTop +_0808003C: .4byte gMapDataTopSpecial thumb_func_start sub_08080040 sub_08080040: @ 0x08080040 @@ -6970,7 +6970,7 @@ sub_08080108: @ 0x08080108 push {r4, r5, r6, lr} movs r1, #4 strb r1, [r0, #3] - ldr r5, _08080178 @ =gUnk_02025EB4 + ldr r5, _08080178 @ =gMapDataBottom movs r0, #0xc0 lsls r0, r0, #6 adds r1, r5, r0 @@ -6978,14 +6978,14 @@ sub_08080108: @ 0x08080108 lsls r6, r6, #6 adds r0, r5, #0 adds r2, r6, #0 - bl sub_0801D66C - ldr r4, _0808017C @ =gUnk_0200B654 + bl _DmaCopy + ldr r4, _0808017C @ =gMapDataTop movs r0, #0xc0 lsls r0, r0, #6 adds r1, r4, r0 adds r0, r4, #0 adds r2, r6, #0 - bl sub_0801D66C + bl _DmaCopy bl sub_08080368 ldr r1, _08080180 @ =gUnk_02034480 ldr r0, _08080184 @ =gUnk_0200B640 @@ -6995,7 +6995,7 @@ sub_08080108: @ 0x08080108 ldr r1, _0808018C @ =gUnk_020246B0 movs r2, #0xc0 lsls r2, r2, #5 - bl sub_0801D66C + bl _DmaCopy subs r5, #4 adds r0, r5, #0 bl sub_08080B60 @@ -7008,19 +7008,19 @@ sub_08080108: @ 0x08080108 ldr r0, _08080190 @ =gUnk_02019EE0 adds r1, r5, #0 bl sub_0801AB08 - ldr r0, _08080194 @ =gUnk_02002F00 + ldr r0, _08080194 @ =gMapDataTopSpecial adds r1, r4, #0 bl sub_0801AB08 pop {r4, r5, r6, pc} .align 2, 0 -_08080178: .4byte gUnk_02025EB4 -_0808017C: .4byte gUnk_0200B654 +_08080178: .4byte gMapDataBottom +_0808017C: .4byte gMapDataTop _08080180: .4byte gUnk_02034480 _08080184: .4byte gUnk_0200B640 _08080188: .4byte gUnk_02022830 _0808018C: .4byte gUnk_020246B0 _08080190: .4byte gUnk_02019EE0 -_08080194: .4byte gUnk_02002F00 +_08080194: .4byte gMapDataTopSpecial thumb_func_start sub_08080198 sub_08080198: @ 0x08080198 @@ -7169,11 +7169,11 @@ _080802A2: ldr r0, [sp] cmp r8, r0 bhs _08080328 - ldr r4, _0808034C @ =gUnk_0200B654 + ldr r4, _0808034C @ =gMapDataTop add r4, sb ldr r7, _08080350 @ =gUnk_0200E654 add r7, sb - ldr r3, _08080354 @ =gUnk_02025EB4 + ldr r3, _08080354 @ =gMapDataBottom add r3, sb ldr r6, _08080358 @ =gUnk_02028EB4 add r6, sb @@ -7253,9 +7253,9 @@ _08080336: .align 2, 0 _08080344: .4byte gUnk_02022830 _08080348: .4byte gRoomControls -_0808034C: .4byte gUnk_0200B654 +_0808034C: .4byte gMapDataTop _08080350: .4byte gUnk_0200E654 -_08080354: .4byte gUnk_02025EB4 +_08080354: .4byte gMapDataBottom _08080358: .4byte gUnk_02028EB4 _0808035C: .4byte 0x00003FFF _08080360: .4byte 0x000005FF @@ -7673,7 +7673,7 @@ sub_08080668: @ 0x08080668 lsls r4, r4, #8 adds r1, r4, #0 bl _DmaZero - ldr r0, _080806B8 @ =gUnk_02002F00 + ldr r0, _080806B8 @ =gMapDataTopSpecial adds r1, r4, #0 bl _DmaZero pop {r4, r5, pc} @@ -7683,7 +7683,7 @@ _080806A8: .4byte gUnk_03004030 _080806AC: .4byte 0x0000FFFF _080806B0: .4byte gUnk_02034480 _080806B4: .4byte gUnk_02019EE0 -_080806B8: .4byte gUnk_02002F00 +_080806B8: .4byte gMapDataTopSpecial thumb_func_start sub_080806BC sub_080806BC: @ 0x080806BC diff --git a/asm/code_080A29BC.s b/asm/code_080A29BC.s index 6d214977..291dd7c3 100644 --- a/asm/code_080A29BC.s +++ b/asm/code_080A29BC.s @@ -9,7 +9,7 @@ sub_080A2A84: @ 0x080A2A84 push {r4, r5, r6, r7, lr} adds r5, r1, #0 - bl sub_080A2A64 + bl CreateWaterTrace adds r6, r0, #0 cmp r6, #0 beq _080A2AD2 @@ -132,8 +132,8 @@ _080A2B74: .align 2, 0 _080A2B7C: .4byte gSineTable - thumb_func_start sub_080A2B80 -sub_080A2B80: @ 0x080A2B80 + thumb_func_start CreateSparkle +CreateSparkle: @ 0x080A2B80 push {r4, r5, lr} adds r5, r0, #0 movs r0, #0xf @@ -331,38 +331,38 @@ _080A2CF8: pop {r4, r5, pc} .align 2, 0 - thumb_func_start sub_080A2CFC -sub_080A2CFC: @ 0x080A2CFC + thumb_func_start CreateSpeechBubbleExclamationMark +CreateSpeechBubbleExclamationMark: @ 0x080A2CFC push {r4, lr} adds r4, r1, #0 adds r3, r2, #0 movs r1, #0 adds r2, r4, #0 - bl sub_080A2D2C + bl CreateSpeechBubble pop {r4, pc} - thumb_func_start sub_080A2D0C -sub_080A2D0C: @ 0x080A2D0C + thumb_func_start CreateSpeechBubbleQuestionMark +CreateSpeechBubbleQuestionMark: @ 0x080A2D0C push {r4, lr} adds r4, r1, #0 adds r3, r2, #0 movs r1, #1 adds r2, r4, #0 - bl sub_080A2D2C + bl CreateSpeechBubble pop {r4, pc} - thumb_func_start sub_080A2D1C -sub_080A2D1C: @ 0x080A2D1C + thumb_func_start CreateSpeechBubbleSleep +CreateSpeechBubbleSleep: @ 0x080A2D1C push {r4, lr} adds r4, r1, #0 adds r3, r2, #0 movs r1, #2 adds r2, r4, #0 - bl sub_080A2D2C + bl CreateSpeechBubble pop {r4, pc} - thumb_func_start sub_080A2D2C -sub_080A2D2C: @ 0x080A2D2C + thumb_func_start CreateSpeechBubble +CreateSpeechBubble: @ 0x080A2D2C push {r4, r5, r6, r7, lr} adds r5, r0, #0 adds r4, r1, #0 diff --git a/asm/code_080A3BD0.s b/asm/code_080A3BD0.s index 659d61f3..0c8593af 100644 --- a/asm/code_080A3BD0.s +++ b/asm/code_080A3BD0.s @@ -1130,7 +1130,7 @@ sub_080A44E0: @ 0x080A44E0 adds r5, r5, r1 adds r1, r5, #0 mov r2, r8 - bl sub_0801D66C + bl _DmaCopy adds r0, r6, #0 pop {r3} mov r8, r3 @@ -1980,12 +1980,12 @@ sub_080A4BA0: @ 0x080A4BA0 ldr r0, _080A4C08 @ =gUnk_0812816C mov r1, sp movs r2, #0x18 - bl sub_0801D66C + bl _DmaCopy ldr r0, _080A4C0C @ =gUnk_08128184 add r4, sp, #0x48 adds r1, r4, #0 movs r2, #0xc - bl sub_0801D66C + bl _DmaCopy lsls r1, r6, #1 adds r1, r1, r6 lsls r2, r1, #9 @@ -2127,7 +2127,7 @@ sub_080A4CBC: @ 0x080A4CBC ldr r1, _080A4D14 @ =0x0600E000 adds r0, r4, #0 adds r2, r5, #0 - bl sub_0801D66C + bl _DmaCopy adds r0, r6, #0 bl sub_080A4948 cmp r0, #0 diff --git a/asm/code_080A5574.s b/asm/code_080A5574.s index ba695e1a..9619ff0d 100644 --- a/asm/code_080A5574.s +++ b/asm/code_080A5574.s @@ -867,7 +867,7 @@ sub_080A5BF0: @ 0x080A5BF0 adds r0, r4, #2 adds r1, r4, #0 movs r2, #0xe - bl sub_0801D66C + bl _DmaCopy strh r5, [r4, #0xe] ldr r2, _080A5C40 @ =gUsedPalettes ldr r0, [r2] @@ -3420,7 +3420,7 @@ sub_080A7040: @ 0x080A7040 movs r2, #0x80 lsls r2, r2, #4 adds r0, r4, #0 - bl sub_0801D66C + bl _DmaCopy ldr r1, _080A70A0 @ =gUnk_08128D70 lsls r0, r5, #3 adds r4, r0, r1 @@ -3679,42 +3679,42 @@ sub_080A7250: @ 0x080A7250 ldr r0, _080A72EC @ =gScreen ldr r1, _080A72F0 @ =gUnk_03001020 movs r2, #0x7c - bl sub_0801D66C + bl _DmaCopy ldr r0, _080A72F4 @ =gPaletteBuffer ldr r1, _080A72F8 @ =gUnk_02024090 movs r2, #0x80 lsls r2, r2, #3 - bl sub_0801D66C + bl _DmaCopy ldr r0, _080A72FC @ =gUnk_02024490 ldr r4, _080A7300 @ =gUnk_02032F14 movs r2, #0x85 lsls r2, r2, #2 adds r1, r4, #0 - bl sub_0801D66C + bl _DmaCopy ldr r0, _080A7304 @ =gUnk_02001A00 movs r2, #0x85 lsls r2, r2, #2 adds r1, r4, r2 movs r2, #0x40 - bl sub_0801D66C + bl _DmaCopy ldr r0, _080A7308 @ =gRoomControls adds r1, r4, #0 subs r1, #0x38 movs r2, #0x38 - bl sub_0801D66C + bl _DmaCopy ldr r0, _080A730C @ =gUnk_03000420 movs r2, #0x95 lsls r2, r2, #2 adds r1, r4, r2 movs r2, #0x80 lsls r2, r2, #1 - bl sub_0801D66C + bl _DmaCopy ldr r0, _080A7310 @ =gUnk_02033280 movs r2, #0xd5 lsls r2, r2, #2 adds r1, r4, r2 movs r2, #0xc - bl sub_0801D66C + bl _DmaCopy bl sub_0805E958 adds r1, r4, #0 subs r1, #0x54 @@ -3838,36 +3838,36 @@ _080A73B4: adds r0, r5, r1 ldr r1, _080A7480 @ =gUnk_02033280 movs r2, #0xc - bl sub_0801D66C + bl _DmaCopy movs r1, #0xaa lsls r1, r1, #2 adds r0, r5, r1 ldr r1, _080A7484 @ =gUnk_03000420 movs r2, #0x80 lsls r2, r2, #1 - bl sub_0801D66C + bl _DmaCopy movs r1, #0x9a lsls r1, r1, #2 adds r0, r5, r1 ldr r1, _080A7488 @ =gUnk_02001A00 movs r2, #0x40 - bl sub_0801D66C + bl _DmaCopy adds r0, r5, #0 adds r0, #0x54 ldr r1, _080A748C @ =gUnk_02024490 movs r2, #0x85 lsls r2, r2, #2 - bl sub_0801D66C + bl _DmaCopy adds r0, r5, #0 adds r0, #0x1c ldr r4, _080A7490 @ =gRoomControls adds r1, r4, #0 movs r2, #0x38 - bl sub_0801D66C + bl _DmaCopy ldr r0, _080A7494 @ =gUnk_03001020 ldr r1, _080A7498 @ =gScreen movs r2, #0x7c - bl sub_0801D66C + bl _DmaCopy ldrb r0, [r4, #4] bl sub_08052D58 ldr r4, _080A749C @ =gArea @@ -8153,7 +8153,7 @@ sub_080A9448: @ 0x080A9448 cmp r0, #0 bne _080A9464 adds r0, r4, #0 - bl sub_080A29BC + bl CreateDust bl DeleteThisEntity b _080A9486 _080A9464: @@ -10572,7 +10572,7 @@ sub_080AA654: @ 0x080AA654 ldr r0, _080AA688 @ =gUnk_0812A004 adds r1, r4, #0 movs r2, #0x10 - bl sub_0801D66C + bl _DmaCopy movs r1, #0x3f adds r0, r5, #0 ands r0, r1 @@ -13189,7 +13189,7 @@ sub_080AB9DC: @ 0x080AB9DC adds r1, r4, #0 adds r1, #0x68 movs r2, #0x1c - bl sub_0801D66C + bl _DmaCopy ldrh r1, [r4, #0x2e] adds r0, r4, #0 adds r0, #0x84 @@ -13507,7 +13507,7 @@ _080ABC2A: bl ModHealth _080ABC32: adds r0, r4, #0 - bl sub_080A29BC + bl CreateDust bl DeleteThisEntity b _080ABC52 _080ABC3E: diff --git a/asm/createFx.s b/asm/createFx.s deleted file mode 100644 index 991aa1c4..00000000 --- a/asm/createFx.s +++ /dev/null @@ -1,13 +0,0 @@ - .include "asm/macros.inc" - .text - .syntax unified - - thumb_func_start CreateFx -CreateFx: @ 0x080A29AC - push {r4, lr} - adds r4, r1, #0 - adds r3, r2, #0 - movs r1, #0xf - adds r2, r4, #0 - bl CreateObjectWithParent - pop {r4, pc} \ No newline at end of file diff --git a/asm/crenalBeanSprout.s b/asm/crenalBeanSprout.s index df8bfdc6..9cbb5a75 100644 --- a/asm/crenalBeanSprout.s +++ b/asm/crenalBeanSprout.s @@ -603,7 +603,7 @@ sub_08096780: @ 0x08096780 strb r0, [r5, #0xc] strb r1, [r5, #0xd] adds r0, r5, #0 - bl sub_080A29BC + bl CreateDust b _080967E0 .align 2, 0 _080967D4: .4byte gUnk_0812319C diff --git a/asm/cuccoChickAggr.s b/asm/cuccoChickAggr.s deleted file mode 100644 index 458b4346..00000000 --- a/asm/cuccoChickAggr.s +++ /dev/null @@ -1,346 +0,0 @@ - .include "asm/macros.inc" - - .include "constants/constants.inc" - - .syntax unified - - .text - - - thumb_func_start CuccoChickAggr -CuccoChickAggr: @ 0x08022918 - push {r4, r5, lr} - adds r5, r0, #0 - ldr r4, _08022930 @ =gUnk_080CBB64 - bl GetNextFunction - lsls r0, r0, #2 - adds r0, r0, r4 - ldr r1, [r0] - adds r0, r5, #0 - bl _call_via_r1 - pop {r4, r5, pc} - .align 2, 0 -_08022930: .4byte gUnk_080CBB64 - - thumb_func_start sub_08022934 -sub_08022934: @ 0x08022934 - push {lr} - ldr r2, _08022948 @ =gUnk_080CBB7C - ldrb r1, [r0, #0xc] - lsls r1, r1, #2 - adds r1, r1, r2 - ldr r1, [r1] - bl _call_via_r1 - pop {pc} - .align 2, 0 -_08022948: .4byte gUnk_080CBB7C - - thumb_func_start sub_0802294C -sub_0802294C: @ 0x0802294C - push {lr} - ldr r1, _08022958 @ =gUnk_080CBB64 - bl sub_0804AA30 - pop {pc} - .align 2, 0 -_08022958: .4byte gUnk_080CBB64 - - thumb_func_start nullsub_132 -nullsub_132: @ 0x0802295C - bx lr - .align 2, 0 - - thumb_func_start sub_08022960 -sub_08022960: @ 0x08022960 - push {r4, lr} - adds r4, r0, #0 - bl sub_0804A720 - adds r0, r4, #0 - bl sub_08022A88 - pop {r4, pc} - - thumb_func_start sub_08022970 -sub_08022970: @ 0x08022970 - push {lr} - adds r1, r0, #0 - ldrb r0, [r1, #0xe] - subs r0, #1 - strb r0, [r1, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _08022986 - adds r0, r1, #0 - bl sub_08022AA4 -_08022986: - pop {pc} - - thumb_func_start sub_08022988 -sub_08022988: @ 0x08022988 - push {r4, lr} - adds r4, r0, #0 - movs r1, #0x36 - ldrsh r0, [r4, r1] - cmp r0, #0 - bne _080229A6 - adds r0, r4, #0 - bl sub_08022B20 - cmp r0, #0 - beq _080229A6 - adds r0, r4, #0 - bl sub_08022B0C - b _080229F6 -_080229A6: - ldrb r0, [r4, #0xf] - cmp r0, #0 - beq _080229C6 - subs r0, #1 - strb r0, [r4, #0xf] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _080229F6 - movs r0, #1 - strb r0, [r4, #0x1e] - movs r0, #0x80 - lsls r0, r0, #9 - str r0, [r4, #0x20] - movs r0, #0xd6 - bl sub_08004488 -_080229C6: - adds r0, r4, #0 - bl sub_080AEF88 - movs r1, #0x80 - lsls r1, r1, #6 - adds r0, r4, #0 - bl sub_08003FC4 - adds r1, r0, #0 - cmp r1, #0 - bne _080229F6 - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _080229F0 - adds r0, r4, #0 - bl sub_08022A88 - b _080229F6 -_080229F0: - movs r0, #4 - strb r0, [r4, #0xf] - strb r1, [r4, #0x1e] -_080229F6: - pop {r4, pc} - - thumb_func_start sub_080229F8 -sub_080229F8: @ 0x080229F8 - push {r4, lr} - adds r4, r0, #0 - movs r1, #0xa0 - lsls r1, r1, #6 - bl sub_08003FC4 - cmp r0, #0 - bne _08022A3C - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - lsls r0, r0, #0x18 - lsrs r1, r0, #0x18 - cmp r1, #0 - bne _08022A30 - movs r0, #4 - strb r0, [r4, #0xc] - movs r0, #6 - strb r0, [r4, #0xe] - movs r0, #8 - strb r0, [r4, #0xf] - strb r1, [r4, #0x1e] - movs r0, #0xc0 - strh r0, [r4, #0x24] - adds r0, r4, #0 - bl sub_08022B44 - b _08022A3C -_08022A30: - movs r0, #0x80 - lsls r0, r0, #9 - str r0, [r4, #0x20] - movs r0, #0xd6 - bl sub_08004488 -_08022A3C: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_08022A40 -sub_08022A40: @ 0x08022A40 - push {r4, lr} - adds r4, r0, #0 - ldrb r0, [r4, #0xf] - cmp r0, #0 - beq _08022A58 - subs r0, #1 - strb r0, [r4, #0xf] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _08022A86 - movs r0, #1 - strb r0, [r4, #0x1e] -_08022A58: - adds r0, r4, #0 - bl sub_080AEF88 - movs r1, #0x80 - lsls r1, r1, #6 - adds r0, r4, #0 - bl sub_08003FC4 - cmp r0, #0 - bne _08022A86 - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _08022A80 - adds r0, r4, #0 - bl sub_08022A88 - b _08022A86 -_08022A80: - adds r0, r4, #0 - bl sub_08022B44 -_08022A86: - pop {r4, pc} - - thumb_func_start sub_08022A88 -sub_08022A88: @ 0x08022A88 - push {r4, r5, lr} - adds r4, r0, #0 - movs r5, #0 - movs r0, #1 - strb r0, [r4, #0xc] - bl Random - movs r1, #0xf - ands r0, r1 - adds r0, #8 - strb r0, [r4, #0xe] - strb r5, [r4, #0x1e] - pop {r4, r5, pc} - .align 2, 0 - - thumb_func_start sub_08022AA4 -sub_08022AA4: @ 0x08022AA4 - push {r4, r5, lr} - adds r4, r0, #0 - bl Random - adds r5, r0, #0 - movs r0, #2 - strb r0, [r4, #0xc] - movs r1, #3 - adds r0, r5, #0 - ands r0, r1 - adds r0, #1 - strb r0, [r4, #0xe] - movs r0, #1 - strb r0, [r4, #0xf] - movs r0, #0x80 - strh r0, [r4, #0x24] - adds r0, r4, #0 - bl sub_08049FA0 - cmp r0, #0 - bne _08022AE0 - lsrs r0, r5, #8 - movs r1, #3 - ands r0, r1 - cmp r0, #0 - beq _08022AE0 - adds r0, r4, #0 - bl sub_08049EE4 - b _08022AE6 -_08022AE0: - lsrs r0, r5, #0x10 - movs r1, #0x1f - ands r0, r1 -_08022AE6: - strb r0, [r4, #0x15] - ldrb r1, [r4, #0x15] - movs r0, #0xf - ands r0, r1 - cmp r0, #0 - beq _08022B08 - lsrs r1, r1, #4 - movs r0, #1 - eors r1, r0 - ands r1, r0 - lsls r1, r1, #6 - ldrb r2, [r4, #0x18] - movs r0, #0x41 - rsbs r0, r0, #0 - ands r0, r2 - orrs r0, r1 - strb r0, [r4, #0x18] -_08022B08: - pop {r4, r5, pc} - .align 2, 0 - - thumb_func_start sub_08022B0C -sub_08022B0C: @ 0x08022B0C - push {lr} - movs r1, #3 - strb r1, [r0, #0xc] - strb r1, [r0, #0xe] - movs r1, #8 - strb r1, [r0, #0xf] - bl sub_08022B44 - pop {pc} - .align 2, 0 - - thumb_func_start sub_08022B20 -sub_08022B20: @ 0x08022B20 - push {r4, lr} - adds r4, r0, #0 - movs r0, #2 - bl sub_08049DF4 - cmp r0, #0 - beq _08022B40 - ldr r1, _08022B3C @ =gPlayerEntity - adds r0, r4, #0 - movs r2, #0x24 - movs r3, #0x24 - bl sub_080041A0 - b _08022B42 - .align 2, 0 -_08022B3C: .4byte gPlayerEntity -_08022B40: - movs r0, #0 -_08022B42: - pop {r4, pc} - - thumb_func_start sub_08022B44 -sub_08022B44: @ 0x08022B44 - push {r4, lr} - adds r4, r0, #0 - movs r0, #0xc0 - lsls r0, r0, #8 - str r0, [r4, #0x20] - ldr r1, _08022B84 @ =gPlayerEntity - adds r0, r4, #0 - bl GetFacingDirection - adds r1, r0, #0 - strb r1, [r4, #0x15] - movs r0, #0xf - ands r0, r1 - cmp r0, #0 - beq _08022B7A - lsls r1, r1, #0x18 - lsrs r1, r1, #0x1c - movs r0, #1 - eors r1, r0 - ands r1, r0 - lsls r1, r1, #6 - ldrb r2, [r4, #0x18] - movs r0, #0x41 - rsbs r0, r0, #0 - ands r0, r2 - orrs r0, r1 - strb r0, [r4, #0x18] -_08022B7A: - movs r0, #0xd6 - bl sub_08004488 - pop {r4, pc} - .align 2, 0 -_08022B84: .4byte gPlayerEntity diff --git a/asm/darkNut.s b/asm/darkNut.s deleted file mode 100644 index fd3af0e8..00000000 --- a/asm/darkNut.s +++ /dev/null @@ -1,1549 +0,0 @@ - .include "asm/macros.inc" - - .include "constants/constants.inc" - - .syntax unified - - .text - - - thumb_func_start DarkNut -DarkNut: @ 0x08020B80 - push {r4, lr} - adds r4, r0, #0 - ldr r1, _08020B9C @ =gUnk_080CAA98 - bl EnemyFunctionHandler - movs r3, #0x16 - rsbs r3, r3, #0 - adds r0, r4, #0 - movs r1, #0 - movs r2, #1 - bl SetChildOffset - pop {r4, pc} - .align 2, 0 -_08020B9C: .4byte gUnk_080CAA98 - - thumb_func_start sub_08020BA0 -sub_08020BA0: @ 0x08020BA0 - push {lr} - ldr r2, _08020BB4 @ =gUnk_080CAAB0 - ldrb r1, [r0, #0xc] - lsls r1, r1, #2 - adds r1, r1, r2 - ldr r1, [r1] - bl _call_via_r1 - pop {pc} - .align 2, 0 -_08020BB4: .4byte gUnk_080CAAB0 - - thumb_func_start sub_08020BB8 -sub_08020BB8: @ 0x08020BB8 - push {r4, r5, r6, lr} - adds r4, r0, #0 - adds r0, #0x41 - ldrb r0, [r0] - movs r2, #0x7f - adds r1, r2, #0 - ands r1, r0 - cmp r1, #0x1c - beq _08020BE0 - cmp r1, #0x1c - bgt _08020BD4 - cmp r1, #0x16 - beq _08020C24 - b _08020D32 -_08020BD4: - cmp r1, #0x4b - beq _08020C68 - cmp r1, #0x4c - bne _08020BDE - b _08020CF0 -_08020BDE: - b _08020D32 -_08020BE0: - movs r0, #0xb - strb r0, [r4, #0xc] - ldr r1, _08020C20 @ =gUnk_080CAB0C - ldrb r0, [r4, #0xa] - adds r0, r0, r1 - ldrb r0, [r0] - strb r0, [r4, #0xe] - adds r1, r4, #0 - adds r1, #0x3f - movs r0, #0x51 - strb r0, [r1] - adds r0, r4, #0 - adds r0, #0x3e - ldrb r0, [r0] - movs r2, #0x10 - eors r2, r0 - adds r2, #4 - movs r0, #0x18 - ands r2, r0 - asrs r2, r2, #3 - adds r0, r4, #0 - movs r1, #8 - bl sub_08021218 - adds r0, r4, #0 - bl sub_08021588 - adds r0, r4, #0 - movs r1, #0x1c - bl sub_0804A9FC - b _08020CE2 - .align 2, 0 -_08020C20: .4byte gUnk_080CAB0C -_08020C24: - movs r0, #0xb - strb r0, [r4, #0xc] - ldr r1, _08020C64 @ =gUnk_080CAB10 - ldrb r0, [r4, #0xa] - adds r0, r0, r1 - ldrb r0, [r0] - strb r0, [r4, #0xe] - adds r1, r4, #0 - adds r1, #0x3f - movs r0, #0x51 - strb r0, [r1] - adds r0, r4, #0 - adds r0, #0x3e - ldrb r0, [r0] - movs r2, #0x10 - eors r2, r0 - adds r2, #4 - movs r0, #0x18 - ands r2, r0 - asrs r2, r2, #3 - adds r0, r4, #0 - movs r1, #8 - bl sub_08021218 - adds r0, r4, #0 - bl sub_08021588 - adds r0, r4, #0 - movs r1, #0x1c - bl sub_0804A9FC - b _08020CE2 - .align 2, 0 -_08020C64: .4byte gUnk_080CAB10 -_08020C68: - ldrb r0, [r4, #0xc] - adds r6, r4, #0 - adds r6, #0x45 - adds r5, r4, #0 - adds r5, #0x78 - cmp r0, #0xd - beq _08020D58 - cmp r0, #0xf - beq _08020D58 - cmp r0, #0x13 - beq _08020D58 - cmp r0, #0x12 - beq _08020D58 - adds r0, r4, #0 - adds r0, #0x79 - ldrb r0, [r0] - cmp r0, #4 - blt _08020CC0 - cmp r0, #6 - ble _08020CAC - cmp r0, #0xc - bgt _08020CC0 - cmp r0, #8 - blt _08020CC0 - ldr r0, _08020CA8 @ =gUnk_080CAB04 - ldrb r1, [r4, #0xa] - adds r1, r1, r0 - ldrb r0, [r1] - adds r1, r4, #0 - adds r1, #0x7a - b _08020CC6 - .align 2, 0 -_08020CA8: .4byte gUnk_080CAB04 -_08020CAC: - ldr r0, _08020CBC @ =gUnk_080CAB00 - ldrb r1, [r4, #0xa] - adds r1, r1, r0 - ldrb r0, [r1] - adds r1, r4, #0 - adds r1, #0x7a - b _08020CC6 - .align 2, 0 -_08020CBC: .4byte gUnk_080CAB00 -_08020CC0: - adds r1, r4, #0 - adds r1, #0x7a - movs r0, #0 -_08020CC6: - strb r0, [r1] - movs r0, #0xa - strb r0, [r4, #0xc] - ldrb r2, [r4, #0x14] - adds r0, r4, #0 - movs r1, #0xb - bl sub_08021218 - ldr r0, _08020CEC @ =0x0000015D - bl sub_08004488 - adds r0, r4, #0 - bl sub_08021588 -_08020CE2: - adds r6, r4, #0 - adds r6, #0x45 - adds r5, r4, #0 - adds r5, #0x78 - b _08020D58 - .align 2, 0 -_08020CEC: .4byte 0x0000015D -_08020CF0: - ldrb r0, [r4, #0xc] - adds r6, r4, #0 - adds r6, #0x45 - adds r5, r4, #0 - adds r5, #0x78 - cmp r0, #0xf - bne _08020D58 - movs r1, #0xff - ldr r0, [r4, #0x54] - cmp r0, #0 - beq _08020D0E - adds r0, #0x41 - ldrb r0, [r0] - adds r1, r2, #0 - ands r1, r0 -_08020D0E: - cmp r1, #2 - bne _08020D28 - ldr r0, _08020D24 @ =gUnk_080CAB08 - ldrb r1, [r4, #0xa] - adds r1, r1, r0 - ldrb r1, [r1] - adds r0, r4, #0 - bl sub_080213D0 - b _08020D58 - .align 2, 0 -_08020D24: .4byte gUnk_080CAB08 -_08020D28: - adds r0, r4, #0 - movs r1, #0 - bl sub_080213D0 - b _08020D58 -_08020D32: - adds r2, r4, #0 - adds r2, #0x45 - adds r0, r4, #0 - adds r0, #0x78 - ldrb r1, [r2] - adds r6, r2, #0 - adds r5, r0, #0 - ldrb r0, [r5] - cmp r1, r0 - beq _08020D58 - adds r0, r4, #0 - bl sub_08021588 - adds r0, r4, #0 - bl sub_08021390 - adds r0, r4, #0 - bl sub_0804AA1C -_08020D58: - ldrb r0, [r6] - strb r0, [r5] - ldr r1, _08020D68 @ =gUnk_080CAA98 - adds r0, r4, #0 - bl sub_0804AA30 - pop {r4, r5, r6, pc} - .align 2, 0 -_08020D68: .4byte gUnk_080CAA98 - - thumb_func_start nullsub_129 -nullsub_129: @ 0x08020D6C - bx lr - .align 2, 0 - - thumb_func_start sub_08020D70 -sub_08020D70: @ 0x08020D70 - push {r4, lr} - adds r4, r0, #0 - bl sub_0804A720 - movs r1, #0 - movs r0, #1 - strb r0, [r4, #0xc] - adds r0, r4, #0 - adds r0, #0x75 - strb r1, [r0] - subs r0, #0x30 - ldrb r1, [r0] - adds r0, #0x33 - strb r1, [r0] - movs r0, #0xff - strb r0, [r4, #0x14] - adds r0, r4, #0 - movs r1, #0 - movs r2, #2 - bl sub_08021218 - pop {r4, pc} - - thumb_func_start sub_08020D9C -sub_08020D9C: @ 0x08020D9C - push {r4, lr} - adds r4, r0, #0 - movs r1, #1 - bl sub_08049FDC - cmp r0, #0 - beq _08020DB0 - adds r0, r4, #0 - bl sub_080213F0 -_08020DB0: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_08020DB4 -sub_08020DB4: @ 0x08020DB4 - push {r4, lr} - adds r4, r0, #0 - bl UpdateAnimationSingleFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _08020DD0 - adds r0, r4, #0 - bl sub_08021390 -_08020DD0: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_08020DD4 -sub_08020DD4: @ 0x08020DD4 - push {r4, lr} - adds r4, r0, #0 - bl sub_080214FC - cmp r0, #0 - beq _08020DE8 - adds r0, r4, #0 - bl sub_080213F0 - b _08020E26 -_08020DE8: - adds r1, r4, #0 - adds r1, #0x76 - ldrh r0, [r1] - subs r0, #1 - strh r0, [r1] - lsls r0, r0, #0x10 - cmp r0, #0 - bne _08020E08 - movs r0, #5 - strb r0, [r4, #0xc] - ldrb r2, [r4, #0x14] - adds r0, r4, #0 - movs r1, #5 - bl sub_08021218 - b _08020E26 -_08020E08: - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _08020E1A - adds r0, r4, #0 - bl sub_08021540 -_08020E1A: - adds r0, r4, #0 - bl sub_080AEF88 - adds r0, r4, #0 - bl UpdateAnimationSingleFrame -_08020E26: - pop {r4, pc} - - thumb_func_start sub_08020E28 -sub_08020E28: @ 0x08020E28 - push {r4, lr} - adds r4, r0, #0 - bl UpdateAnimationSingleFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _08020E44 - adds r0, r4, #0 - bl sub_080213B0 -_08020E44: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_08020E48 -sub_08020E48: @ 0x08020E48 - push {r4, lr} - adds r4, r0, #0 - bl sub_080214FC - cmp r0, #0 - beq _08020E5C - adds r0, r4, #0 - bl sub_080213F0 - b _08020E76 -_08020E5C: - adds r0, r4, #0 - bl UpdateAnimationSingleFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _08020E76 - adds r0, r4, #0 - bl sub_080213B0 -_08020E76: - pop {r4, pc} - - thumb_func_start sub_08020E78 -sub_08020E78: @ 0x08020E78 - push {r4, lr} - adds r4, r0, #0 - bl UpdateAnimationSingleFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _08020E94 - adds r0, r4, #0 - bl sub_08021390 -_08020E94: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_08020E98 -sub_08020E98: @ 0x08020E98 - push {r4, r5, lr} - adds r4, r0, #0 - movs r1, #1 - movs r2, #0x38 - bl sub_08049F64 - cmp r0, #0 - beq _08020EF6 - ldr r5, _08020EDC @ =gUnk_020000B0 - ldr r1, [r5] - adds r0, r4, #0 - bl sub_0802169C - cmp r0, #0 - bne _08020ECA - ldr r0, [r5] - adds r1, r4, #0 - bl GetFacingDirection - strb r0, [r4, #0x15] - adds r0, r4, #0 - bl sub_080AEF88 - cmp r0, #0 - bne _08020EE0 -_08020ECA: - movs r0, #8 - strb r0, [r4, #0xc] - ldrb r2, [r4, #0x14] - adds r0, r4, #0 - movs r1, #7 - bl sub_08021218 - b _08020F26 - .align 2, 0 -_08020EDC: .4byte gUnk_020000B0 -_08020EE0: - ldrb r0, [r4, #0x15] - movs r1, #0x10 - eors r0, r1 - strb r0, [r4, #0x15] - adds r0, r4, #0 - bl sub_0802124C - adds r0, r4, #0 - bl sub_08021644 - b _08020F26 -_08020EF6: - ldr r0, _08020F08 @ =gUnk_020000B0 - ldr r1, [r0] - cmp r1, #0 - bne _08020F0C - adds r0, r4, #0 - bl sub_08021414 - b _08020F26 - .align 2, 0 -_08020F08: .4byte gUnk_020000B0 -_08020F0C: - adds r0, r4, #0 - bl GetFacingDirection - strb r0, [r4, #0x15] - adds r0, r4, #0 - bl sub_080AEF88 - adds r0, r4, #0 - bl sub_0802124C - adds r0, r4, #0 - bl sub_08021644 -_08020F26: - pop {r4, r5, pc} - - thumb_func_start sub_08020F28 -sub_08020F28: @ 0x08020F28 - push {r4, lr} - adds r4, r0, #0 - bl UpdateAnimationSingleFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _08020F44 - adds r0, r4, #0 - bl sub_08021400 -_08020F44: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_08020F48 -sub_08020F48: @ 0x08020F48 - push {r4, r5, lr} - adds r4, r0, #0 - movs r1, #1 - movs r2, #0x48 - bl sub_08049F64 - cmp r0, #0 - beq _08020FA4 - ldr r5, _08020F98 @ =gUnk_020000B0 - ldr r1, [r5] - adds r0, r4, #0 - bl sub_08021664 - cmp r0, #0 - beq _08020F9C - ldr r1, [r5] - adds r0, r4, #0 - movs r2, #9 - bl sub_0804A044 - adds r2, r0, #0 - cmp r2, #0xff - beq _08020F9C - movs r0, #0xe - strb r0, [r4, #0xc] - lsrs r2, r2, #3 - adds r0, r4, #0 - movs r1, #0xd - bl sub_08021218 - adds r0, r4, #0 - movs r1, #0 - movs r2, #1 - bl sub_0804A98C - cmp r0, #0 - beq _08020FAA - str r4, [r0, #0x50] - str r0, [r4, #0x54] - b _08020FAA - .align 2, 0 -_08020F98: .4byte gUnk_020000B0 -_08020F9C: - adds r0, r4, #0 - bl sub_08021424 - b _08020FAA -_08020FA4: - adds r0, r4, #0 - bl sub_08021390 -_08020FAA: - pop {r4, r5, pc} - - thumb_func_start sub_08020FAC -sub_08020FAC: @ 0x08020FAC - push {lr} - adds r2, r0, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _08020FDC - adds r1, r2, #0 - adds r1, #0x7a - ldrb r0, [r1] - cmp r0, #0 - beq _08020FCC - subs r0, #1 - strb r0, [r1] - b _08020FE2 -_08020FCC: - adds r1, r2, #0 - adds r1, #0x3d - movs r0, #0xf8 - strb r0, [r1] - adds r0, r2, #0 - bl sub_08021390 - b _08020FE2 -_08020FDC: - adds r0, r2, #0 - bl UpdateAnimationSingleFrame -_08020FE2: - pop {pc} - - thumb_func_start sub_08020FE4 -sub_08020FE4: @ 0x08020FE4 - push {r4, lr} - adds r4, r0, #0 - bl UpdateAnimationSingleFrame - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _0802100C - movs r0, #0xc - strb r0, [r4, #0xc] - ldrb r2, [r4, #0x14] - adds r0, r4, #0 - movs r1, #9 - bl sub_08021218 - adds r0, r4, #0 - bl sub_0804AA1C -_0802100C: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_08021010 -sub_08021010: @ 0x08021010 - push {r4, lr} - adds r4, r0, #0 - bl UpdateAnimationSingleFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _08021034 - adds r1, r4, #0 - adds r1, #0x3f - movs r0, #0x56 - strb r0, [r1] - adds r0, r4, #0 - bl sub_080213F0 -_08021034: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_08021038 -sub_08021038: @ 0x08021038 - push {r4, r5, lr} - adds r4, r0, #0 - ldr r0, [r4, #0x54] - cmp r0, #0 - bne _08021066 - adds r0, r4, #0 - adds r0, #0x5a - ldrb r0, [r0] - cmp r0, #0 - beq _08021066 - adds r0, r4, #0 - movs r1, #0 - movs r2, #0 - bl sub_0804A98C - cmp r0, #0 - beq _0802105E - str r4, [r0, #0x50] - str r0, [r4, #0x54] -_0802105E: - movs r0, #0x87 - lsls r0, r0, #1 - bl sub_08004488 -_08021066: - adds r5, r4, #0 - adds r5, #0x5a - ldrb r1, [r5] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _08021090 - adds r0, r4, #0 - bl sub_08021588 - adds r1, r4, #0 - adds r1, #0x7c - ldrb r0, [r1] - cmp r0, #0 - beq _08021088 - subs r0, #1 - b _080210A2 -_08021088: - adds r0, r4, #0 - bl sub_08021390 - b _080210A4 -_08021090: - adds r0, r4, #0 - bl UpdateAnimationSingleFrame - ldrb r0, [r5] - cmp r0, #4 - bne _080210A4 - adds r1, r4, #0 - adds r1, #0x3f - movs r0, #0x51 -_080210A2: - strb r0, [r1] -_080210A4: - pop {r4, r5, pc} - .align 2, 0 - - thumb_func_start sub_080210A8 -sub_080210A8: @ 0x080210A8 - push {r4, lr} - adds r4, r0, #0 - bl UpdateAnimationSingleFrame - adds r2, r4, #0 - adds r2, #0x5a - ldrb r1, [r2] - movs r0, #1 - ands r0, r1 - cmp r0, #0 - beq _080210D4 - movs r0, #0 - strb r0, [r2] - adds r0, r4, #0 - bl sub_08021588 - ldr r0, _080210D0 @ =0x0000015D - bl sub_08004488 - b _080210E2 - .align 2, 0 -_080210D0: .4byte 0x0000015D -_080210D4: - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _080210E2 - adds r0, r4, #0 - bl sub_08021390 -_080210E2: - pop {r4, pc} - - thumb_func_start sub_080210E4 -sub_080210E4: @ 0x080210E4 - push {r4, lr} - adds r4, r0, #0 - bl UpdateAnimationSingleFrame - adds r2, r4, #0 - adds r2, #0x5a - ldrb r1, [r2] - movs r0, #1 - ands r0, r1 - cmp r0, #0 - beq _0802111A - movs r0, #0xfe - ands r0, r1 - strb r0, [r2] - adds r0, r4, #0 - movs r1, #0 - movs r2, #2 - bl sub_0804A98C - cmp r0, #0 - beq _08021112 - str r4, [r0, #0x50] - str r0, [r4, #0x54] -_08021112: - movs r0, #0x87 - lsls r0, r0, #1 - bl sub_08004488 -_0802111A: - adds r0, r4, #0 - bl sub_08021644 - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x10 - ands r0, r1 - cmp r0, #0 - beq _08021154 - adds r0, r4, #0 - bl sub_080AEF88 - cmp r0, #0 - beq _0802114A - ldr r0, [r4, #0x54] - cmp r0, #0 - beq _08021154 - adds r0, #0x41 - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _08021154 -_0802114A: - adds r0, r4, #0 - movs r1, #0 - bl sub_080213D0 - b _0802116C -_08021154: - adds r1, r4, #0 - adds r1, #0x76 - ldrh r0, [r1] - subs r0, #1 - strh r0, [r1] - lsls r0, r0, #0x10 - cmp r0, #0 - bne _0802116C - adds r0, r4, #0 - movs r1, #0 - bl sub_080213D0 -_0802116C: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_08021170 -sub_08021170: @ 0x08021170 - push {lr} - adds r2, r0, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _08021198 - adds r1, r2, #0 - adds r1, #0x7b - ldrb r0, [r1] - cmp r0, #0 - beq _08021190 - subs r0, #1 - strb r0, [r1] - b _0802119E -_08021190: - adds r0, r2, #0 - bl sub_08021390 - b _0802119E -_08021198: - adds r0, r2, #0 - bl UpdateAnimationSingleFrame -_0802119E: - pop {pc} - - thumb_func_start sub_080211A0 -sub_080211A0: @ 0x080211A0 - push {r4, lr} - adds r4, r0, #0 - bl sub_080214FC - cmp r0, #0 - beq _080211B4 - adds r0, r4, #0 - bl sub_08021390 - b _080211CE -_080211B4: - adds r0, r4, #0 - bl UpdateAnimationSingleFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _080211CE - adds r0, r4, #0 - bl sub_080213B0 -_080211CE: - pop {r4, pc} - - thumb_func_start sub_080211D0 -sub_080211D0: @ 0x080211D0 - push {r4, lr} - adds r4, r0, #0 - bl UpdateAnimationSingleFrame - adds r0, r4, #0 - bl sub_0802159C - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _080211F2 - adds r0, r4, #0 - bl sub_08021390 -_080211F2: - pop {r4, pc} - - thumb_func_start sub_080211F4 -sub_080211F4: @ 0x080211F4 - push {r4, lr} - adds r4, r0, #0 - bl UpdateAnimationSingleFrame - adds r0, r4, #0 - bl sub_08021600 - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _08021216 - adds r0, r4, #0 - bl sub_08021390 -_08021216: - pop {r4, pc} - - thumb_func_start sub_08021218 -sub_08021218: @ 0x08021218 - push {r4, lr} - adds r3, r0, #0 - adds r4, r3, #0 - adds r4, #0x74 - ldrb r0, [r4] - cmp r0, r1 - bne _0802122C - ldrb r0, [r3, #0x14] - cmp r0, r2 - beq _08021244 -_0802122C: - strb r2, [r3, #0x14] - strb r1, [r4] - lsls r0, r1, #1 - ldr r1, _08021248 @ =gUnk_080CAB14 - adds r0, r0, r1 - ldrb r1, [r0, #1] - strh r1, [r3, #0x12] - ldrb r1, [r0] - adds r1, r1, r2 - adds r0, r3, #0 - bl InitAnimationForceUpdate -_08021244: - pop {r4, pc} - .align 2, 0 -_08021248: .4byte gUnk_080CAB14 - - thumb_func_start sub_0802124C -sub_0802124C: @ 0x0802124C - push {r4, lr} - adds r4, r0, #0 - ldrb r0, [r4, #0x14] - ldrb r1, [r4, #0x15] - bl sub_08021274 - adds r2, r0, #0 - cmp r2, #0xff - beq _0802126C - adds r0, r4, #0 - adds r0, #0x74 - ldrb r1, [r0] - adds r0, r4, #0 - bl sub_08021218 - b _08021272 -_0802126C: - adds r0, r4, #0 - bl UpdateAnimationSingleFrame -_08021272: - pop {r4, pc} - - thumb_func_start sub_08021274 -sub_08021274: @ 0x08021274 - push {lr} - adds r2, r0, #0 - movs r0, #7 - ands r0, r1 - subs r0, #3 - cmp r0, #2 - bhi _0802129A - movs r3, #0x18 - adds r0, r1, #0 - ands r0, r3 - lsrs r0, r0, #3 - cmp r0, r2 - beq _080212AA - adds r0, r1, #0 - adds r0, #8 - ands r0, r3 - lsrs r0, r0, #3 - cmp r0, r2 - beq _080212AA -_0802129A: - adds r0, r1, #4 - movs r1, #0x18 - ands r0, r1 - lsrs r1, r0, #3 - cmp r2, r1 - beq _080212AA - adds r0, r1, #0 - b _080212AC -_080212AA: - movs r0, #0xff -_080212AC: - pop {pc} - .align 2, 0 - - thumb_func_start sub_080212B0 -sub_080212B0: @ 0x080212B0 - push {r4, r5, lr} - adds r5, r0, #0 - adds r1, r5, #0 - adds r1, #0x75 - ldrb r0, [r1] - cmp r0, #1 - beq _080212D0 - cmp r0, #2 - beq _080212DC - movs r0, #1 - strb r0, [r1] - ldr r4, _080212CC @ =gUnk_080CAB3A - b _080212E2 - .align 2, 0 -_080212CC: .4byte gUnk_080CAB3A -_080212D0: - movs r0, #2 - strb r0, [r1] - ldr r4, _080212D8 @ =gUnk_080CAB42 - b _080212E2 - .align 2, 0 -_080212D8: .4byte gUnk_080CAB42 -_080212DC: - movs r0, #0 - strb r0, [r1] - ldr r4, _0802131C @ =gUnk_080CAB4A -_080212E2: - bl Random - movs r1, #7 - ands r1, r0 - adds r1, r1, r4 - ldrb r2, [r1] - ldrb r0, [r5, #0xa] - cmp r0, #1 - bhi _08021306 - cmp r2, #2 - bne _08021306 - ldr r4, _08021320 @ =gUnk_080CAB52 - bl Random - movs r1, #3 - ands r1, r0 - adds r1, r1, r4 - ldrb r2, [r1] -_08021306: - movs r0, #0 - str r0, [r5, #0x54] - ldr r1, _08021324 @ =gUnk_080CAB58 - lsls r0, r2, #2 - adds r0, r0, r1 - ldr r1, [r0] - adds r0, r5, #0 - bl _call_via_r1 - pop {r4, r5, pc} - .align 2, 0 -_0802131C: .4byte gUnk_080CAB4A -_08021320: .4byte gUnk_080CAB52 -_08021324: .4byte gUnk_080CAB58 - - thumb_func_start sub_08021328 -sub_08021328: @ 0x08021328 - push {lr} - movs r1, #0xd - strb r1, [r0, #0xc] - ldr r2, _08021348 @ =gUnk_080CAB68 - ldrb r1, [r0, #0xa] - adds r1, r1, r2 - ldrb r2, [r1] - adds r1, r0, #0 - adds r1, #0x7c - strb r2, [r1] - ldrb r2, [r0, #0x14] - movs r1, #0xc - bl sub_08021218 - pop {pc} - .align 2, 0 -_08021348: .4byte gUnk_080CAB68 - - thumb_func_start sub_0802134C -sub_0802134C: @ 0x0802134C - push {lr} - movs r1, #0xf - strb r1, [r0, #0xc] - ldrb r1, [r0, #0x14] - lsls r1, r1, #3 - strb r1, [r0, #0x15] - movs r1, #0x80 - lsls r1, r1, #2 - strh r1, [r0, #0x24] - adds r2, r0, #0 - adds r2, #0x76 - movs r1, #0x78 - strh r1, [r2] - ldrb r2, [r0, #0x14] - movs r1, #0xe - bl sub_08021218 - pop {pc} - - thumb_func_start sub_08021370 -sub_08021370: @ 0x08021370 - push {lr} - movs r1, #0x12 - strb r1, [r0, #0xc] - ldrb r2, [r0, #0x14] - movs r1, #0x10 - bl sub_08021218 - pop {pc} - - thumb_func_start sub_08021380 -sub_08021380: @ 0x08021380 - push {lr} - movs r1, #0x13 - strb r1, [r0, #0xc] - ldrb r2, [r0, #0x14] - movs r1, #0x11 - bl sub_08021218 - pop {pc} - - thumb_func_start sub_08021390 -sub_08021390: @ 0x08021390 - push {lr} - movs r1, #7 - strb r1, [r0, #0xc] - movs r1, #0x80 - lsls r1, r1, #2 - strh r1, [r0, #0x24] - adds r2, r0, #0 - adds r2, #0x3f - movs r1, #0x56 - strb r1, [r2] - ldrb r2, [r0, #0x14] - movs r1, #6 - bl sub_08021218 - pop {pc} - .align 2, 0 - - thumb_func_start sub_080213B0 -sub_080213B0: @ 0x080213B0 - push {lr} - movs r1, #3 - strb r1, [r0, #0xc] - movs r1, #1 - strb r1, [r0, #0xe] - movs r1, #0xc0 - strh r1, [r0, #0x24] - adds r2, r0, #0 - adds r2, #0x76 - movs r1, #0xf0 - strh r1, [r2] - ldrb r2, [r0, #0x14] - movs r1, #3 - bl sub_08021218 - pop {pc} - - thumb_func_start sub_080213D0 -sub_080213D0: @ 0x080213D0 - push {r4, lr} - adds r4, r0, #0 - movs r0, #0x10 - strb r0, [r4, #0xc] - adds r0, r4, #0 - adds r0, #0x7b - strb r1, [r0] - ldrb r2, [r4, #0x14] - adds r0, r4, #0 - movs r1, #0xf - bl sub_08021218 - adds r0, r4, #0 - bl sub_08021588 - pop {r4, pc} - - thumb_func_start sub_080213F0 -sub_080213F0: @ 0x080213F0 - push {lr} - movs r1, #6 - strb r1, [r0, #0xc] - ldrb r2, [r0, #0x14] - movs r1, #1 - bl sub_08021218 - pop {pc} - - thumb_func_start sub_08021400 -sub_08021400: @ 0x08021400 - push {lr} - movs r1, #9 - strb r1, [r0, #0xc] - movs r1, #0x60 - strh r1, [r0, #0x24] - ldrb r2, [r0, #0x14] - movs r1, #0xa - bl sub_08021218 - pop {pc} - - thumb_func_start sub_08021414 -sub_08021414: @ 0x08021414 - push {lr} - movs r1, #0x11 - strb r1, [r0, #0xc] - ldrb r2, [r0, #0x14] - movs r1, #5 - bl sub_08021218 - pop {pc} - - thumb_func_start sub_08021424 -sub_08021424: @ 0x08021424 - push {r4, r5, lr} - adds r5, r0, #0 - ldr r0, _08021450 @ =gUnk_020000B0 - ldr r1, [r0] - adds r0, r5, #0 - bl GetFacingDirection - adds r1, r0, #0 - ldrb r0, [r5, #0x14] - bl sub_08021274 - adds r4, r0, #0 - cmp r4, #0xff - beq _08021454 - adds r0, r5, #0 - adds r0, #0x74 - ldrb r1, [r0] - adds r0, r5, #0 - adds r2, r4, #0 - bl sub_08021218 - b _08021456 - .align 2, 0 -_08021450: .4byte gUnk_020000B0 -_08021454: - ldrb r4, [r5, #0x14] -_08021456: - cmp r4, #1 - beq _08021490 - cmp r4, #1 - blo _08021478 - cmp r4, #2 - beq _080214A8 - ldr r0, _08021474 @ =gUnk_020000B0 - ldr r1, [r0] - movs r2, #0x2e - ldrsh r0, [r1, r2] - adds r2, r0, #0 - adds r2, #0x24 - movs r4, #0x32 - ldrsh r3, [r1, r4] - b _080214B8 - .align 2, 0 -_08021474: .4byte gUnk_020000B0 -_08021478: - ldr r0, _0802148C @ =gUnk_020000B0 - ldr r0, [r0] - movs r1, #0x2e - ldrsh r2, [r0, r1] - movs r4, #0x32 - ldrsh r0, [r0, r4] - adds r3, r0, #0 - adds r3, #0x2c - b _080214B8 - .align 2, 0 -_0802148C: .4byte gUnk_020000B0 -_08021490: - ldr r0, _080214A4 @ =gUnk_020000B0 - ldr r1, [r0] - movs r2, #0x2e - ldrsh r0, [r1, r2] - adds r2, r0, #0 - subs r2, #0x24 - movs r4, #0x32 - ldrsh r3, [r1, r4] - b _080214B8 - .align 2, 0 -_080214A4: .4byte gUnk_020000B0 -_080214A8: - ldr r0, _080214F0 @ =gUnk_020000B0 - ldr r0, [r0] - movs r1, #0x2e - ldrsh r2, [r0, r1] - movs r4, #0x32 - ldrsh r0, [r0, r4] - adds r3, r0, #0 - subs r3, #0x1d -_080214B8: - movs r1, #0x2e - ldrsh r0, [r5, r1] - subs r0, r2, r0 - adds r0, #3 - cmp r0, #6 - bhi _080214D0 - movs r4, #0x32 - ldrsh r0, [r5, r4] - subs r0, r3, r0 - adds r0, #2 - cmp r0, #4 - bls _080214E8 -_080214D0: - movs r1, #0x2e - ldrsh r0, [r5, r1] - movs r4, #0x32 - ldrsh r1, [r5, r4] - bl sub_080045D4 - strb r0, [r5, #0x15] - adds r0, r5, #0 - bl sub_080AEF88 - cmp r0, #0 - bne _080214F4 -_080214E8: - adds r0, r5, #0 - bl sub_080212B0 - b _080214FA - .align 2, 0 -_080214F0: .4byte gUnk_020000B0 -_080214F4: - adds r0, r5, #0 - bl UpdateAnimationSingleFrame -_080214FA: - pop {r4, r5, pc} - - thumb_func_start sub_080214FC -sub_080214FC: @ 0x080214FC - push {r4, lr} - adds r4, r0, #0 - movs r1, #1 - bl sub_08049FDC - cmp r0, #0 - beq _0802153C - ldr r0, _08021538 @ =gUnk_020000B0 - ldr r1, [r0] - adds r0, r4, #0 - bl GetFacingDirection - adds r2, r0, #0 - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x1f - ands r0, r1 - subs r0, r2, r0 - subs r0, #2 - cmp r0, #4 - bhi _0802153C - adds r0, r2, #4 - movs r1, #0x18 - ands r0, r1 - lsrs r0, r0, #3 - strb r0, [r4, #0x14] - movs r0, #1 - b _0802153E - .align 2, 0 -_08021538: .4byte gUnk_020000B0 -_0802153C: - movs r0, #0 -_0802153E: - pop {r4, pc} - - thumb_func_start sub_08021540 -sub_08021540: @ 0x08021540 - push {r4, r5, lr} - adds r4, r0, #0 - bl Random - adds r5, r0, #0 - adds r0, r4, #0 - bl sub_08049FA0 - cmp r0, #0 - bne _08021566 - movs r0, #1 - ands r0, r5 - cmp r0, #0 - beq _08021566 - adds r0, r4, #0 - bl sub_08049EE4 - adds r1, r0, #4 - b _08021568 -_08021566: - lsrs r1, r5, #0x10 -_08021568: - movs r0, #0x18 - ands r1, r0 - strb r1, [r4, #0x15] - ldrb r0, [r4, #0x14] - bl sub_08021274 - adds r2, r0, #0 - cmp r2, #0xff - beq _08021582 - adds r0, r4, #0 - movs r1, #3 - bl sub_08021218 -_08021582: - movs r0, #0x1e - strb r0, [r4, #0xe] - pop {r4, r5, pc} - - thumb_func_start sub_08021588 -sub_08021588: @ 0x08021588 - push {lr} - adds r2, r0, #0 - ldr r1, [r2, #0x54] - cmp r1, #0 - beq _08021598 - movs r0, #0 - str r0, [r1, #0x50] - str r0, [r2, #0x54] -_08021598: - pop {pc} - .align 2, 0 - - thumb_func_start sub_0802159C -sub_0802159C: @ 0x0802159C - push {r4, lr} - adds r4, r0, #0 - adds r2, r4, #0 - adds r2, #0x5a - ldrb r1, [r2] - adds r0, r1, #0 - cmp r0, #1 - bne _080215D4 - movs r0, #0 - strb r0, [r2] - adds r1, r4, #0 - adds r1, #0x3f - movs r0, #0x51 - strb r0, [r1] - adds r0, r4, #0 - movs r1, #0 - movs r2, #3 - bl sub_0804A98C - cmp r0, #0 - beq _080215CA - str r4, [r0, #0x50] - str r0, [r4, #0x54] -_080215CA: - movs r0, #0x8b - lsls r0, r0, #1 - bl sub_08004488 - b _080215F8 -_080215D4: - cmp r0, #2 - bne _080215E4 - movs r0, #0 - strb r0, [r2] - adds r0, r4, #0 - bl sub_08021588 - b _080215F8 -_080215E4: - movs r0, #0x20 - ands r0, r1 - cmp r0, #0 - beq _080215F8 - movs r0, #0xdf - ands r0, r1 - strb r0, [r2] - ldr r0, _080215FC @ =0x00000115 - bl sub_08004488 -_080215F8: - pop {r4, pc} - .align 2, 0 -_080215FC: .4byte 0x00000115 - - thumb_func_start sub_08021600 -sub_08021600: @ 0x08021600 - push {r4, lr} - adds r4, r0, #0 - adds r1, r4, #0 - adds r1, #0x5a - ldrb r0, [r1] - cmp r0, #1 - bne _08021634 - movs r0, #0 - strb r0, [r1] - subs r1, #0x1b - movs r0, #0x51 - strb r0, [r1] - adds r0, r4, #0 - movs r1, #0 - movs r2, #4 - bl sub_0804A98C - cmp r0, #0 - beq _0802162A - str r4, [r0, #0x50] - str r0, [r4, #0x54] -_0802162A: - movs r0, #0x87 - lsls r0, r0, #1 - bl sub_08004488 - b _08021642 -_08021634: - cmp r0, #2 - bne _08021642 - movs r0, #0 - strb r0, [r1] - adds r0, r4, #0 - bl sub_08021588 -_08021642: - pop {r4, pc} - - thumb_func_start sub_08021644 -sub_08021644: @ 0x08021644 - push {lr} - adds r2, r0, #0 - adds r2, #0x5a - ldrb r1, [r2] - movs r0, #0x20 - ands r0, r1 - cmp r0, #0 - beq _08021660 - movs r0, #0xdf - ands r0, r1 - strb r0, [r2] - movs r0, #0x7d - bl sub_08004488 -_08021660: - pop {pc} - .align 2, 0 - - thumb_func_start sub_08021664 -sub_08021664: @ 0x08021664 - push {lr} - ldrb r2, [r0, #0x14] - cmp r2, #1 - beq _08021690 - cmp r2, #1 - bgt _08021676 - cmp r2, #0 - beq _08021680 - b _08021698 -_08021676: - cmp r2, #2 - beq _08021688 - cmp r2, #3 - beq _08021690 - b _08021698 -_08021680: - movs r2, #0x22 - bl sub_08049F1C - b _0802169A -_08021688: - movs r2, #0x13 - bl sub_08049F1C - b _0802169A -_08021690: - movs r2, #0x1a - bl sub_08049F1C - b _0802169A -_08021698: - movs r0, #0 -_0802169A: - pop {pc} - - thumb_func_start sub_0802169C -sub_0802169C: @ 0x0802169C - push {lr} - ldrb r2, [r0, #0x14] - cmp r2, #1 - beq _080216C0 - cmp r2, #1 - bgt _080216AE - cmp r2, #0 - beq _080216B8 - b _080216CE -_080216AE: - cmp r2, #2 - beq _080216BC - cmp r2, #3 - beq _080216C0 - b _080216CE -_080216B8: - movs r2, #0x2c - b _080216C2 -_080216BC: - movs r2, #0x1d - b _080216C2 -_080216C0: - movs r2, #0x24 -_080216C2: - bl sub_08049F1C - cmp r0, #0 - bne _080216CE - movs r0, #1 - b _080216D0 -_080216CE: - movs r0, #0 -_080216D0: - pop {pc} - .align 2, 0 diff --git a/asm/doorMimic.s b/asm/doorMimic.s deleted file mode 100644 index b94c1290..00000000 --- a/asm/doorMimic.s +++ /dev/null @@ -1,343 +0,0 @@ - .include "asm/macros.inc" - - .include "constants/constants.inc" - - .syntax unified - - .text - - - thumb_func_start DoorMimic -DoorMimic: @ 0x08021FA8 - push {r4, r5, lr} - adds r4, r0, #0 - ldr r5, _08021FD4 @ =gUnk_080CB734 - bl GetNextFunction - lsls r0, r0, #2 - adds r0, r0, r5 - ldr r1, [r0] - adds r0, r4, #0 - bl _call_via_r1 - ldr r1, _08021FD8 @ =gUnk_080CB8A4 - ldrb r0, [r4, #0xb] - lsls r0, r0, #2 - adds r0, r0, r1 - ldrb r1, [r4, #0x1e] - ldr r0, [r0] - lsls r1, r1, #2 - adds r1, r1, r0 - ldr r0, [r1] - str r0, [r4, #0x48] - pop {r4, r5, pc} - .align 2, 0 -_08021FD4: .4byte gUnk_080CB734 -_08021FD8: .4byte gUnk_080CB8A4 - - thumb_func_start sub_08021FDC -sub_08021FDC: @ 0x08021FDC - push {lr} - ldr r2, _08021FF0 @ =gUnk_080CB74C - ldrb r1, [r0, #0xc] - lsls r1, r1, #2 - adds r1, r1, r2 - ldr r1, [r1] - bl _call_via_r1 - pop {pc} - .align 2, 0 -_08021FF0: .4byte gUnk_080CB74C - - thumb_func_start sub_08021FF4 -sub_08021FF4: @ 0x08021FF4 - push {lr} - ldr r1, _08022000 @ =gUnk_080CB734 - bl sub_0804AA30 - pop {pc} - .align 2, 0 -_08022000: .4byte gUnk_080CB734 - - thumb_func_start sub_08022004 -sub_08022004: @ 0x08022004 - push {r4, lr} - adds r4, r0, #0 - adds r0, #0x7c - ldrh r0, [r0] - adds r1, r4, #0 - adds r1, #0x7e - ldrh r1, [r1] - adds r2, r4, #0 - adds r2, #0x38 - ldrb r2, [r2] - bl SetTile - adds r0, r4, #0 - movs r1, #5 - movs r2, #0 - bl CreateFx - adds r0, r4, #0 - bl sub_08049CF4 - bl DeleteThisEntity - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_08022034 -sub_08022034: @ 0x08022034 - push {r4, lr} - adds r4, r0, #0 - movs r0, #1 - strb r0, [r4, #0xc] - ldrb r1, [r4, #0xa] - movs r0, #3 - ands r0, r1 - strb r0, [r4, #0xb] - adds r2, r4, #0 - adds r2, #0x29 - ldrb r1, [r2] - movs r0, #8 - rsbs r0, r0, #0 - ands r0, r1 - movs r1, #5 - orrs r0, r1 - strb r0, [r2] - ldr r2, _08022098 @ =gUnk_080CB764 - ldrb r0, [r4, #0xb] - lsls r0, r0, #1 - adds r0, r0, r2 - ldrb r0, [r0] - lsls r0, r0, #0x18 - asrs r0, r0, #0x18 - ldrh r1, [r4, #0x2e] - adds r0, r0, r1 - adds r1, r4, #0 - adds r1, #0x78 - strh r0, [r1] - ldrb r0, [r4, #0xb] - lsls r0, r0, #1 - adds r0, #1 - adds r0, r0, r2 - ldrb r0, [r0] - lsls r0, r0, #0x18 - asrs r0, r0, #0x18 - ldrh r1, [r4, #0x32] - adds r0, r0, r1 - adds r1, r4, #0 - adds r1, #0x7a - strh r0, [r1] - ldrb r1, [r4, #0xb] - adds r0, r4, #0 - bl InitializeAnimation - adds r0, r4, #0 - bl sub_080221C0 - pop {r4, pc} - .align 2, 0 -_08022098: .4byte gUnk_080CB764 - - thumb_func_start sub_0802209C -sub_0802209C: @ 0x0802209C - push {r4, lr} - adds r4, r0, #0 - ldrb r0, [r4, #0xe] - cmp r0, #0 - bne _080220D2 - adds r0, r4, #0 - adds r0, #0x78 - ldrh r0, [r0] - adds r1, r4, #0 - adds r1, #0x7a - ldrh r1, [r1] - movs r2, #0x10 - movs r3, #0x10 - bl sub_0806FBFC - cmp r0, #0 - beq _080220D6 - movs r0, #2 - strb r0, [r4, #0xc] - movs r0, #0x12 - strb r0, [r4, #0xe] - ldrb r1, [r4, #0xb] - adds r1, #4 - adds r0, r4, #0 - bl InitializeAnimation - b _080220D6 -_080220D2: - subs r0, #1 - strb r0, [r4, #0xe] -_080220D6: - pop {r4, pc} - - thumb_func_start sub_080220D8 -sub_080220D8: @ 0x080220D8 - push {lr} - adds r1, r0, #0 - ldrb r0, [r1, #0xe] - subs r0, #1 - strb r0, [r1, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _080220EC - movs r0, #3 - strb r0, [r1, #0xc] -_080220EC: - pop {pc} - .align 2, 0 - - thumb_func_start sub_080220F0 -sub_080220F0: @ 0x080220F0 - push {r4, r5, r6, lr} - adds r5, r0, #0 - bl GetNextFrame - adds r0, r5, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _08022160 - movs r1, #0 - movs r0, #4 - strb r0, [r5, #0xc] - movs r0, #0x78 - strb r0, [r5, #0xe] - adds r0, r5, #0 - adds r0, #0x44 - strb r1, [r0] - ldrb r1, [r5, #0xb] - lsls r0, r1, #1 - adds r0, r0, r1 - lsls r0, r0, #2 - ldr r1, _0802215C @ =gUnk_080CB76C - adds r4, r0, r1 - movs r6, #0 -_08022124: - adds r0, r5, #0 - movs r1, #0x11 - movs r2, #0 - bl CreateFx - adds r1, r0, #0 - cmp r1, #0 - beq _08022148 - movs r0, #0 - ldrsb r0, [r4, r0] - ldrh r2, [r1, #0x2e] - adds r0, r0, r2 - strh r0, [r1, #0x2e] - movs r0, #1 - ldrsb r0, [r4, r0] - ldrh r2, [r1, #0x32] - adds r0, r0, r2 - strh r0, [r1, #0x32] -_08022148: - adds r6, #1 - adds r4, #2 - cmp r6, #5 - bls _08022124 - movs r0, #0x82 - lsls r0, r0, #1 - bl sub_08004488 - b _08022170 - .align 2, 0 -_0802215C: .4byte gUnk_080CB76C -_08022160: - movs r0, #1 - ands r0, r1 - cmp r0, #0 - beq _08022170 - adds r1, r5, #0 - adds r1, #0x44 - movs r0, #4 - strb r0, [r1] -_08022170: - pop {r4, r5, r6, pc} - .align 2, 0 - - thumb_func_start sub_08022174 -sub_08022174: @ 0x08022174 - push {r4, lr} - adds r4, r0, #0 - bl sub_0800445C - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _08022196 - movs r0, #5 - strb r0, [r4, #0xc] - ldrb r1, [r4, #0xb] - adds r1, #8 - adds r0, r4, #0 - bl InitializeAnimation -_08022196: - pop {r4, pc} - - thumb_func_start sub_08022198 -sub_08022198: @ 0x08022198 - push {r4, lr} - adds r4, r0, #0 - bl sub_0800445C - adds r0, r4, #0 - bl GetNextFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _080221BC - movs r0, #1 - strb r0, [r4, #0xc] - movs r0, #0x5a - strb r0, [r4, #0xe] -_080221BC: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_080221C0 -sub_080221C0: @ 0x080221C0 - push {r4, r5, r6, lr} - adds r6, r0, #0 - movs r0, #0x2e - ldrsh r4, [r6, r0] - ldr r1, _08022220 @ =gRoomControls - ldrh r0, [r1, #6] - subs r4, r4, r0 - asrs r4, r4, #4 - movs r2, #0x3f - ands r4, r2 - movs r3, #0x32 - ldrsh r0, [r6, r3] - ldrh r1, [r1, #8] - subs r0, r0, r1 - asrs r0, r0, #4 - ands r0, r2 - lsls r0, r0, #6 - orrs r4, r0 - ldr r1, _08022224 @ =gUnk_080B4488 - ldrb r0, [r6, #0xb] - lsls r0, r0, #1 - adds r0, r0, r1 - movs r1, #0 - ldrsh r0, [r0, r1] - adds r4, r4, r0 - adds r0, r6, #0 - adds r0, #0x7e - strh r4, [r0] - adds r5, r6, #0 - adds r5, #0x38 - ldrb r1, [r5] - adds r0, r4, #0 - bl sub_080001DA - adds r1, r6, #0 - adds r1, #0x7c - strh r0, [r1] - ldr r1, _08022228 @ =gUnk_080CB79C - ldrb r0, [r6, #0xb] - lsls r0, r0, #1 - adds r0, r0, r1 - ldrh r0, [r0] - ldrb r2, [r5] - adds r1, r4, #0 - bl SetTile - pop {r4, r5, r6, pc} - .align 2, 0 -_08022220: .4byte gRoomControls -_08022224: .4byte gUnk_080B4488 -_08022228: .4byte gUnk_080CB79C diff --git a/asm/dust.s b/asm/dust.s index c56c75fb..2f2faa92 100644 --- a/asm/dust.s +++ b/asm/dust.s @@ -146,7 +146,7 @@ _080441F2: beq _0804429A adds r0, r6, #0 adds r2, r5, #0 - bl sub_0801D66C + bl _DmaCopy adds r1, r4, #0 adds r1, #0x28 movs r0, #0xff diff --git a/asm/enemyE.s b/asm/enemyE.s deleted file mode 100644 index 3a6d9ac1..00000000 --- a/asm/enemyE.s +++ /dev/null @@ -1,100 +0,0 @@ - .include "asm/macros.inc" - - .include "constants/constants.inc" - - .syntax unified - - .text - - - thumb_func_start EnemyE -EnemyE: @ 0x08022FA4 - push {lr} - ldr r1, _08022FB0 @ =gUnk_080CBBC8 - bl EnemyFunctionHandler - pop {pc} - .align 2, 0 -_08022FB0: .4byte gUnk_080CBBC8 - - thumb_func_start sub_08022FB4 -sub_08022FB4: @ 0x08022FB4 - push {lr} - ldr r2, _08022FC8 @ =gUnk_080CBBDC - ldrb r1, [r0, #0xc] - lsls r1, r1, #2 - adds r1, r1, r2 - ldr r1, [r1] - bl _call_via_r1 - pop {pc} - .align 2, 0 -_08022FC8: .4byte gUnk_080CBBDC - - thumb_func_start nullsub_133 -nullsub_133: @ 0x08022FCC - bx lr - .align 2, 0 - - thumb_func_start sub_08022FD0 -sub_08022FD0: @ 0x08022FD0 - push {lr} - movs r3, #1 - movs r1, #1 - strb r1, [r0, #0xc] - ldrb r2, [r0, #0x18] - subs r1, #5 - ands r1, r2 - orrs r1, r3 - strb r1, [r0, #0x18] - movs r1, #0 - bl sub_08023000 - pop {pc} - .align 2, 0 - - thumb_func_start sub_08022FEC -sub_08022FEC: @ 0x08022FEC - push {lr} - movs r1, #0x80 - bl sub_08023000 - pop {pc} - .align 2, 0 - - thumb_func_start sub_08022FF8 -sub_08022FF8: @ 0x08022FF8 - bx lr - .align 2, 0 - - thumb_func_start sub_08022FFC -sub_08022FFC: @ 0x08022FFC - bx lr - .align 2, 0 - - thumb_func_start sub_08023000 -sub_08023000: @ 0x08023000 - push {r4, lr} - adds r4, r0, #0 - cmp r1, #0x80 - bne _0802300E - bl UpdateAnimationSingleFrame - b _08023014 -_0802300E: - adds r0, r4, #0 - bl InitAnimationForceUpdate -_08023014: - movs r2, #0x80 - adds r0, r4, #0 - adds r0, #0x5b - ldrb r0, [r0] - cmp r0, #0x40 - bne _08023022 - rsbs r2, r2, #0 -_08023022: - ldrb r0, [r4, #0x19] - movs r1, #3 - orrs r0, r1 - strb r0, [r4, #0x19] - adds r0, r4, #0 - adds r1, r2, #0 - movs r2, #0x80 - movs r3, #0 - bl sub_0805EC9C - pop {r4, pc} diff --git a/asm/gleerok.s b/asm/gleerok.s index 4f5462b4..fba60dd6 100644 --- a/asm/gleerok.s +++ b/asm/gleerok.s @@ -857,7 +857,7 @@ _0802D6C4: rsbs r2, r2, #0 adds r0, r5, #0 movs r1, #0xc - bl sub_080A2CFC + bl CreateSpeechBubbleExclamationMark _0802D6D8: strb r6, [r5, #0x14] b _0802D6EC diff --git a/asm/guardWithSpear.s b/asm/guardWithSpear.s index 1ffd80f5..621a1d62 100644 --- a/asm/guardWithSpear.s +++ b/asm/guardWithSpear.s @@ -234,7 +234,7 @@ _080641E6: cmp r0, #0 bne _08064222 adds r0, r5, #0 - bl sub_080A29FC + bl CreateDustSmall _08064222: adds r4, r5, #0 adds r4, #0x71 @@ -299,7 +299,7 @@ _0806428C: cmp r0, #0 bne _080642AC adds r0, r5, #0 - bl sub_080A29FC + bl CreateDustSmall _080642AC: pop {r4, r5, r6, pc} .align 2, 0 @@ -379,7 +379,7 @@ _08064306: cmp r0, #0 bne _08064342 adds r0, r5, #0 - bl sub_080A29FC + bl CreateDustSmall _08064342: adds r4, r5, #0 adds r4, #0x71 @@ -444,7 +444,7 @@ _080643AC: cmp r0, #0 bne _080643CC adds r0, r5, #0 - bl sub_080A29FC + bl CreateDustSmall _080643CC: pop {r4, r5, r6, pc} .align 2, 0 diff --git a/asm/gyorgFemale.s b/asm/gyorgFemale.s index c7a2f7e0..96d884d9 100644 --- a/asm/gyorgFemale.s +++ b/asm/gyorgFemale.s @@ -113,7 +113,7 @@ sub_0804614C: @ 0x0804614C lsls r4, r4, #8 adds r1, r4, #0 bl _DmaZero - ldr r0, _08046250 @ =gUnk_02002F00 + ldr r0, _08046250 @ =gMapDataTopSpecial adds r1, r4, #0 bl _DmaZero adds r0, r6, #0 @@ -135,7 +135,7 @@ _08046244: .align 2, 0 _08046248: .4byte gEntCount _0804624C: .4byte gUnk_02019EE0 -_08046250: .4byte gUnk_02002F00 +_08046250: .4byte gMapDataTopSpecial _08046254: .4byte gPlayerEntity _08046258: .4byte sub_08046498 @@ -446,7 +446,7 @@ sub_08046498: @ 0x08046498 lsls r4, r4, #8 adds r1, r4, #0 bl _DmaZero - ldr r0, _080464BC @ =gUnk_02002F00 + ldr r0, _080464BC @ =gMapDataTopSpecial adds r1, r4, #0 bl _DmaZero adds r0, r5, #0 @@ -454,7 +454,7 @@ sub_08046498: @ 0x08046498 pop {r4, r5, pc} .align 2, 0 _080464B8: .4byte gUnk_02019EE0 -_080464BC: .4byte gUnk_02002F00 +_080464BC: .4byte gMapDataTopSpecial thumb_func_start sub_080464C0 sub_080464C0: @ 0x080464C0 @@ -475,7 +475,7 @@ _080464DE: adds r0, r4, #0 adds r1, r5, #0 movs r2, #0x40 - bl sub_0801D66C + bl _DmaCopy movs r0, #0x80 lsls r0, r0, #1 adds r5, r5, r0 diff --git a/asm/itemOnGround.s b/asm/itemOnGround.s index 56f4fa8a..19b8d65f 100644 --- a/asm/itemOnGround.s +++ b/asm/itemOnGround.s @@ -395,14 +395,14 @@ _08080C7C: .4byte gUnk_0200B650 sub_08080C80: @ 0x08080C80 push {r4, lr} bl sub_080197D4 - ldr r0, _08080CA8 @ =gUnk_02025EB4 + ldr r0, _08080CA8 @ =gMapDataBottom ldr r4, _08080CAC @ =gRoomControls ldrh r1, [r4, #0x1e] lsrs r1, r1, #4 ldrh r2, [r4, #0x20] lsrs r2, r2, #4 bl sub_0807C8B0 - ldr r0, _08080CB0 @ =gUnk_0200B654 + ldr r0, _08080CB0 @ =gMapDataTop ldrh r1, [r4, #0x1e] lsrs r1, r1, #4 ldrh r2, [r4, #0x20] @@ -410,9 +410,9 @@ sub_08080C80: @ 0x08080C80 bl sub_0807C8B0 pop {r4, pc} .align 2, 0 -_08080CA8: .4byte gUnk_02025EB4 +_08080CA8: .4byte gMapDataBottom _08080CAC: .4byte gRoomControls -_08080CB0: .4byte gUnk_0200B654 +_08080CB0: .4byte gMapDataTop thumb_func_start sub_08080CB4 sub_08080CB4: @ 0x08080CB4 @@ -545,7 +545,7 @@ _08080DEE: cmp r0, #0 bne _08080E00 adds r0, r4, #0 - bl sub_080A2B80 + bl CreateSparkle _08080E00: pop {r4, r5, pc} .align 2, 0 diff --git a/asm/likeLike.s b/asm/likeLike.s index 618b6227..fa3c4f96 100644 --- a/asm/likeLike.s +++ b/asm/likeLike.s @@ -312,7 +312,7 @@ sub_08027F84: @ 0x08027F84 movs r1, #0 bl InitializeAnimation adds r0, r4, #0 - bl sub_080A29BC + bl CreateDust _08027FB0: pop {r4, pc} .align 2, 0 @@ -403,7 +403,7 @@ sub_0802802C: @ 0x0802802C strb r2, [r4, #0x15] strb r2, [r4, #0xe] adds r0, r4, #0 - bl sub_080A29BC + bl CreateDust _0802805A: pop {r4, pc} diff --git a/asm/macros/map.inc b/asm/macros/map.inc index 873b63a2..0716c838 100755 --- a/asm/macros/map.inc +++ b/asm/macros/map.inc @@ -9,16 +9,56 @@ .2byte \tileset_id .endm - .macro tileset_tiles src_offset, dest, size, compressed, terminator=0 + .macro map_data src_offset, dest, size, compressed, terminator=0 .4byte (!(\terminator) << 0x1F) | (\src_offset) .4byte \dest .4byte (\compressed << 0x1F) | (\size) .endm + .macro tileset_tiles src_offset, dest, size, compressed, terminator=0 + map_data \src_offset, \dest, \size, \compressed, \terminator + .endm + .macro tileset_palette_set id, terminator=0 .4byte (!(\terminator) << 0x1F) | (\id) .4byte 0x0 .4byte 0x0 .endm + .macro metatiles_bottom src_offset, size, compressed, terminator=0 + map_data \src_offset, gMetatilesBottom, \size, \compressed, \terminator + .endm + + .macro metatiles_top src_offset, size, compressed, terminator=0 + map_data \src_offset, gMetatilesTop, \size, \compressed, \terminator + .endm + + .macro metatile_types_bottom src_offset, size, compressed, terminator=0 + map_data \src_offset, gMetatileTypesBottom, \size, \compressed, \terminator + .endm + + .macro metatile_types_top src_offset, size, compressed, terminator=0 + map_data \src_offset, gMetatileTypesTop, \size, \compressed, \terminator + .endm + + .macro map_bottom src_offset, size, compressed, terminator=0 + map_data \src_offset, gMapDataBottom, \size, \compressed, \terminator + .endm + + .macro map_top src_offset, size, compressed, terminator=0 + map_data \src_offset, gMapDataTop, \size, \compressed, \terminator + .endm + + .macro map_top_special src_offset, size, compressed, terminator=0 + map_data \src_offset, gMapDataTopSpecial, \size, \compressed, \terminator + .endm + + .macro map_unknown src_offset, size, compressed, terminator=0 + map_data \src_offset, gUnk_02027EB4, \size, \compressed, \terminator + .endm + + .macro map_unknown_2 src_offset, size, compressed, terminator=0 + map_data \src_offset, gUnk_02019EE0, \size, \compressed, \terminator + .endm + .endif @ GUARD_ASM_MACROS_MAP_INC diff --git a/asm/manager10.s b/asm/manager10.s index e07b7189..addec2c9 100644 --- a/asm/manager10.s +++ b/asm/manager10.s @@ -440,7 +440,7 @@ _080598AA: lsls r2, r2, #2 adds r1, r0, r2 movs r2, #0x20 - bl sub_0801D66C + bl _DmaCopy ldr r2, _080598F0 @ =gUsedPalettes ldr r0, [r2] ldr r1, _080598F4 @ =0x00207FFC diff --git a/asm/manager15.s b/asm/manager15.s deleted file mode 100644 index 84043eef..00000000 --- a/asm/manager15.s +++ /dev/null @@ -1,1187 +0,0 @@ - .include "asm/macros.inc" - - .include "constants/constants.inc" - - .syntax unified - - .text - - thumb_func_start sub_0805A280 -sub_0805A280: @ 0x0805A280 - push {lr} - ldr r2, _0805A294 @ =gUnk_081085D8 - ldrb r1, [r0, #0xa] - lsls r1, r1, #2 - adds r1, r1, r2 - ldr r1, [r1] - bl _call_via_r1 - pop {pc} - .align 2, 0 -_0805A294: .4byte gUnk_081085D8 - - thumb_func_start sub_0805A298 -sub_0805A298: @ 0x0805A298 - push {r4, lr} - adds r4, r0, #0 - ldrb r0, [r4, #0xc] - cmp r0, #0 - bne _0805A2D6 - adds r0, r4, #0 - bl sub_0805A89C - ldrh r0, [r4, #0x3e] - bl CheckLocalFlag - cmp r0, #0 - bne _0805A2BA - adds r1, r4, #0 - adds r1, #0x23 - movs r0, #1 - b _0805A2C0 -_0805A2BA: - adds r1, r4, #0 - adds r1, #0x23 - movs r0, #2 -_0805A2C0: - strb r0, [r1] - ldrb r0, [r1] - bl sub_0805AAF0 - ldr r2, _0805A2E0 @ =gScreen - ldrh r1, [r2] - movs r3, #0x90 - lsls r3, r3, #7 - adds r0, r3, #0 - orrs r0, r1 - strh r0, [r2] -_0805A2D6: - adds r0, r4, #0 - bl sub_0805A8EC - pop {r4, pc} - .align 2, 0 -_0805A2E0: .4byte gScreen - - thumb_func_start sub_0805A2E4 -sub_0805A2E4: @ 0x0805A2E4 - push {r4, r5, lr} - adds r4, r0, #0 - ldrb r0, [r4, #0xc] - cmp r0, #0 - bne _0805A34C - adds r0, r4, #0 - bl sub_0805A89C - adds r0, r4, #0 - adds r0, #0x23 - movs r5, #1 - strb r5, [r0] - movs r0, #1 - bl sub_0805AAF0 - ldrh r0, [r4, #0x3e] - bl CheckLocalFlag - cmp r0, #0 - bne _0805A324 - strb r5, [r4, #0xc] - ldr r2, _0805A31C @ =gScreen - ldrh r1, [r2] - ldr r0, _0805A320 @ =0x0000B7FF - ands r0, r1 - strh r0, [r2] - b _0805A35C - .align 2, 0 -_0805A31C: .4byte gScreen -_0805A320: .4byte 0x0000B7FF -_0805A324: - movs r0, #0x48 - bl CheckLocalFlag - cmp r0, #0 - beq _0805A332 - movs r0, #4 - b _0805A334 -_0805A332: - movs r0, #3 -_0805A334: - strb r0, [r4, #0xc] - ldr r2, _0805A348 @ =gScreen - ldrh r1, [r2] - movs r3, #0x90 - lsls r3, r3, #7 - adds r0, r3, #0 - orrs r0, r1 - strh r0, [r2] - b _0805A35C - .align 2, 0 -_0805A348: .4byte gScreen -_0805A34C: - ldr r0, _0805A36C @ =gUnk_081085F8 - ldrb r1, [r4, #0xc] - lsls r1, r1, #2 - adds r1, r1, r0 - ldr r1, [r1] - adds r0, r4, #0 - bl _call_via_r1 -_0805A35C: - ldr r0, [r4, #4] - cmp r0, #0 - beq _0805A368 - adds r0, r4, #0 - bl sub_0805A8EC -_0805A368: - pop {r4, r5, pc} - .align 2, 0 -_0805A36C: .4byte gUnk_081085F8 - - thumb_func_start sub_0805A370 -sub_0805A370: @ 0x0805A370 - push {r4, lr} - adds r4, r0, #0 - ldrb r0, [r4, #0xd] - cmp r0, #0 - beq _0805A38A - ldr r0, _0805A38C @ =gUnk_080E4C08 - bl LoadRoomEntityList - movs r0, #3 - strb r0, [r4, #0xc] - ldr r0, _0805A390 @ =0x80100000 - bl PlaySFX -_0805A38A: - pop {r4, pc} - .align 2, 0 -_0805A38C: .4byte gUnk_080E4C08 -_0805A390: .4byte 0x80100000 - - thumb_func_start sub_0805A394 -sub_0805A394: @ 0x0805A394 - push {lr} - movs r0, #3 - movs r1, #0x13 - movs r2, #4 - bl FindEntityInListBySubtype - cmp r0, #0 - beq _0805A3AA - ldrb r0, [r0, #0xa] - cmp r0, #4 - bne _0805A3C4 -_0805A3AA: - movs r0, #0x48 - bl SetLocalFlag - movs r0, #0 - bl ClearRoomFlag - ldr r2, _0805A3C8 @ =gScreen - ldrh r1, [r2] - ldr r0, _0805A3CC @ =0x0000B7FF - ands r0, r1 - strh r0, [r2] - bl DeleteThisEntity -_0805A3C4: - pop {pc} - .align 2, 0 -_0805A3C8: .4byte gScreen -_0805A3CC: .4byte 0x0000B7FF - - thumb_func_start nullsub_496 -nullsub_496: @ 0x0805A3D0 - bx lr - .align 2, 0 - - thumb_func_start sub_0805A3D4 -sub_0805A3D4: @ 0x0805A3D4 - push {r4, lr} - adds r4, r0, #0 - ldrb r0, [r4, #0xc] - cmp r0, #0 - bne _0805A448 - adds r0, r4, #0 - bl sub_0805A89C - ldrb r0, [r4, #0xa] - cmp r0, #3 - bne _0805A3F2 - adds r1, r4, #0 - adds r1, #0x23 - movs r0, #2 - b _0805A3F8 -_0805A3F2: - adds r1, r4, #0 - adds r1, #0x23 - movs r0, #1 -_0805A3F8: - strb r0, [r1] - ldrb r0, [r1] - bl sub_0805AAF0 - ldrh r0, [r4, #0x3e] - bl CheckLocalFlag - cmp r0, #0 - bne _0805A428 - ldrh r0, [r4, #0x3c] - bl ClearFlag - movs r0, #1 - strb r0, [r4, #0xc] - ldr r2, _0805A420 @ =gScreen - ldrh r1, [r2] - ldr r0, _0805A424 @ =0x0000B7FF - ands r0, r1 - strh r0, [r2] - b _0805A458 - .align 2, 0 -_0805A420: .4byte gScreen -_0805A424: .4byte 0x0000B7FF -_0805A428: - ldrh r0, [r4, #0x3c] - bl SetFlag - movs r0, #3 - strb r0, [r4, #0xc] - ldr r2, _0805A444 @ =gScreen - ldrh r1, [r2] - movs r3, #0x90 - lsls r3, r3, #7 - adds r0, r3, #0 - orrs r0, r1 - strh r0, [r2] - b _0805A458 - .align 2, 0 -_0805A444: .4byte gScreen -_0805A448: - ldr r0, _0805A460 @ =gUnk_0810860C - ldrb r1, [r4, #0xc] - lsls r1, r1, #2 - adds r1, r1, r0 - ldr r1, [r1] - adds r0, r4, #0 - bl _call_via_r1 -_0805A458: - adds r0, r4, #0 - bl sub_0805A8EC - pop {r4, pc} - .align 2, 0 -_0805A460: .4byte gUnk_0810860C - - thumb_func_start sub_0805A464 -sub_0805A464: @ 0x0805A464 - push {r4, lr} - adds r4, r0, #0 - ldrh r0, [r4, #0x3e] - bl CheckLocalFlag - cmp r0, #0 - beq _0805A47E - movs r0, #2 - strb r0, [r4, #0xc] - adds r0, r4, #0 - movs r1, #0 - bl sub_0805A4CC -_0805A47E: - pop {r4, pc} - - thumb_func_start sub_0805A480 -sub_0805A480: @ 0x0805A480 - push {lr} - adds r1, r0, #0 - ldrb r0, [r1, #0xd] - cmp r0, #0 - beq _0805A494 - movs r0, #3 - strb r0, [r1, #0xc] - ldrh r0, [r1, #0x3c] - bl SetFlag -_0805A494: - pop {pc} - .align 2, 0 - - thumb_func_start sub_0805A498 -sub_0805A498: @ 0x0805A498 - push {r4, lr} - adds r4, r0, #0 - ldrh r0, [r4, #0x3e] - bl CheckLocalFlag - cmp r0, #0 - bne _0805A4B2 - movs r0, #4 - strb r0, [r4, #0xc] - adds r0, r4, #0 - movs r1, #1 - bl sub_0805A4CC -_0805A4B2: - pop {r4, pc} - - thumb_func_start sub_0805A4B4 -sub_0805A4B4: @ 0x0805A4B4 - push {lr} - adds r1, r0, #0 - ldrb r0, [r1, #0xd] - cmp r0, #0 - beq _0805A4C8 - movs r0, #1 - strb r0, [r1, #0xc] - ldrh r0, [r1, #0x3c] - bl ClearFlag -_0805A4C8: - pop {pc} - .align 2, 0 - - thumb_func_start sub_0805A4CC -sub_0805A4CC: @ 0x0805A4CC - push {r4, lr} - adds r4, r0, #0 - movs r0, #0x8e - movs r2, #0 - bl CreateObject - adds r3, r0, #0 - cmp r3, #0 - beq _0805A4F8 - ldr r1, _0805A4FC @ =gRoomControls - ldrh r0, [r1, #6] - ldrh r2, [r4, #0x38] - adds r0, r0, r2 - movs r2, #0 - strh r0, [r3, #0x2e] - ldrh r0, [r1, #8] - ldrh r1, [r4, #0x3a] - adds r0, r0, r1 - subs r0, #0x30 - strh r0, [r3, #0x32] - str r4, [r3, #0x50] - strb r2, [r4, #0xd] -_0805A4F8: - pop {r4, pc} - .align 2, 0 -_0805A4FC: .4byte gRoomControls - - thumb_func_start sub_0805A500 -sub_0805A500: @ 0x0805A500 - push {r4, r5, lr} - adds r4, r0, #0 - ldrb r5, [r4, #0xc] - cmp r5, #0 - bne _0805A588 - bl sub_0805A89C - str r5, [r4, #0x28] - movs r0, #0x36 - bl CheckLocalFlag - cmp r0, #0 - beq _0805A538 - adds r3, r4, #0 - adds r3, #0x23 - movs r0, #3 - strb r0, [r3] - movs r0, #5 - strb r0, [r4, #0xc] - ldr r2, _0805A534 @ =gScreen - ldrh r1, [r2] - movs r5, #0x90 - lsls r5, r5, #7 - adds r0, r5, #0 - orrs r0, r1 - b _0805A574 - .align 2, 0 -_0805A534: .4byte gScreen -_0805A538: - movs r0, #0x34 - bl CheckLocalFlag - cmp r0, #0 - beq _0805A560 - adds r3, r4, #0 - adds r3, #0x23 - movs r0, #4 - strb r0, [r3] - movs r0, #3 - strb r0, [r4, #0xc] - ldr r2, _0805A55C @ =gScreen - ldrh r1, [r2] - movs r5, #0x90 - lsls r5, r5, #7 - adds r0, r5, #0 - orrs r0, r1 - b _0805A574 - .align 2, 0 -_0805A55C: .4byte gScreen -_0805A560: - adds r3, r4, #0 - adds r3, #0x23 - movs r0, #4 - strb r0, [r3] - movs r0, #1 - strb r0, [r4, #0xc] - ldr r2, _0805A580 @ =gScreen - ldrh r1, [r2] - ldr r0, _0805A584 @ =0x0000B7FF - ands r0, r1 -_0805A574: - strh r0, [r2] - ldrb r0, [r3] - bl sub_0805AAF0 - b _0805A598 - .align 2, 0 -_0805A580: .4byte gScreen -_0805A584: .4byte 0x0000B7FF -_0805A588: - ldr r0, _0805A5C0 @ =gUnk_08108620 - ldrb r1, [r4, #0xc] - lsls r1, r1, #2 - adds r1, r1, r0 - ldr r1, [r1] - adds r0, r4, #0 - bl _call_via_r1 -_0805A598: - adds r0, r4, #0 - bl sub_0805AA58 - adds r0, r4, #0 - bl sub_0805A9CC - ldr r1, _0805A5C4 @ =gRoomControls - ldrh r3, [r1] - cmp r3, #1 - bne _0805A5CC - ldr r2, _0805A5C8 @ =gScreen - ldrh r1, [r2] - movs r5, #0x80 - lsls r5, r5, #7 - adds r0, r5, #0 - orrs r0, r1 - strh r0, [r2] - strb r3, [r4, #0xd] - b _0805A5F0 - .align 2, 0 -_0805A5C0: .4byte gUnk_08108620 -_0805A5C4: .4byte gRoomControls -_0805A5C8: .4byte gScreen -_0805A5CC: - ldrb r0, [r4, #0xd] - cmp r0, #0 - beq _0805A5F0 - movs r0, #0 - strb r0, [r4, #0xd] - adds r0, r4, #0 - adds r0, #0x20 - ldrb r0, [r0] - ldrb r1, [r1, #5] - cmp r0, r1 - beq _0805A5F0 - ldr r2, _0805A5F4 @ =gScreen - ldrh r1, [r2] - ldr r0, _0805A5F8 @ =0x0000B7FF - ands r0, r1 - strh r0, [r2] - bl DeleteThisEntity -_0805A5F0: - pop {r4, r5, pc} - .align 2, 0 -_0805A5F4: .4byte gScreen -_0805A5F8: .4byte 0x0000B7FF - - thumb_func_start sub_0805A5FC -sub_0805A5FC: @ 0x0805A5FC - push {r4, lr} - adds r4, r0, #0 - movs r0, #0x34 - bl CheckLocalFlag - cmp r0, #0 - beq _0805A616 - movs r0, #2 - strb r0, [r4, #0xc] - adds r0, r4, #0 - movs r1, #2 - bl sub_0805A4CC -_0805A616: - pop {r4, pc} - - thumb_func_start sub_0805A618 -sub_0805A618: @ 0x0805A618 - push {lr} - adds r1, r0, #0 - ldrb r0, [r1, #0xd] - cmp r0, #0 - beq _0805A626 - movs r0, #3 - strb r0, [r1, #0xc] -_0805A626: - pop {pc} - - thumb_func_start sub_0805A628 -sub_0805A628: @ 0x0805A628 - push {r4, lr} - adds r4, r0, #0 - movs r0, #0x36 - bl CheckLocalFlag - cmp r0, #0 - beq _0805A64A - movs r0, #4 - strb r0, [r4, #0xc] - adds r1, r4, #0 - adds r1, #0x23 - movs r0, #3 - strb r0, [r1] - adds r0, r4, #0 - movs r1, #3 - bl sub_0805A4CC -_0805A64A: - pop {r4, pc} - - thumb_func_start sub_0805A64C -sub_0805A64C: @ 0x0805A64C - push {lr} - adds r1, r0, #0 - ldrb r0, [r1, #0xd] - cmp r0, #0 - beq _0805A65A - movs r0, #5 - strb r0, [r1, #0xc] -_0805A65A: - pop {pc} - - thumb_func_start sub_0805A65C -sub_0805A65C: @ 0x0805A65C - bx lr - .align 2, 0 - - thumb_func_start sub_0805A660 -sub_0805A660: @ 0x0805A660 - bx lr - .align 2, 0 - - thumb_func_start sub_0805A664 -sub_0805A664: @ 0x0805A664 - push {r4, lr} - adds r4, r0, #0 - ldr r1, _0805A688 @ =gUnk_08108638 - ldrb r0, [r4, #0xc] - lsls r0, r0, #2 - adds r0, r0, r1 - ldr r1, [r0] - adds r0, r4, #0 - bl _call_via_r1 - adds r0, r4, #0 - bl sub_0805A8EC - adds r0, r4, #0 - bl sub_0805A68C - pop {r4, pc} - .align 2, 0 -_0805A688: .4byte gUnk_08108638 - - thumb_func_start sub_0805A68C -sub_0805A68C: @ 0x0805A68C - push {r4, lr} - adds r4, r0, #0 - movs r1, #0x38 - ldrsh r0, [r4, r1] - subs r0, #0x18 - movs r2, #0x3a - ldrsh r1, [r4, r2] - subs r1, #0x18 - movs r2, #0x30 - movs r3, #0x30 - bl sub_0806FBFC - cmp r0, #0 - beq _0805A6CC - ldrh r1, [r4, #0x2c] - ldr r0, _0805A6C4 @ =0x00001007 - cmp r1, r0 - bhi _0805A6E2 - ldr r0, _0805A6C8 @ =gScreen - adds r1, #1 - movs r2, #0 - strh r1, [r4, #0x2c] - adds r0, #0x68 - strh r1, [r0] - adds r0, r4, #0 - adds r0, #0x22 - strb r2, [r0] - b _0805A6E2 - .align 2, 0 -_0805A6C4: .4byte 0x00001007 -_0805A6C8: .4byte gScreen -_0805A6CC: - ldrh r1, [r4, #0x2c] - movs r0, #0x80 - lsls r0, r0, #5 - cmp r1, r0 - bls _0805A6DA - subs r0, r1, #1 - strh r0, [r4, #0x2c] -_0805A6DA: - ldr r0, _0805A6E4 @ =gScreen - ldrh r1, [r4, #0x2c] - adds r0, #0x68 - strh r1, [r0] -_0805A6E2: - pop {r4, pc} - .align 2, 0 -_0805A6E4: .4byte gScreen - - thumb_func_start sub_0805A6E8 -sub_0805A6E8: @ 0x0805A6E8 - push {r4, lr} - adds r4, r0, #0 - bl sub_0805A89C - adds r1, r4, #0 - adds r1, #0x23 - movs r0, #0 - strb r0, [r1] - bl sub_0805AAF0 - ldr r1, _0805A734 @ =gRoomControls - ldrh r0, [r1, #6] - ldrh r2, [r4, #0x38] - adds r0, r0, r2 - strh r0, [r4, #0x38] - ldrh r0, [r1, #8] - ldrh r3, [r4, #0x3a] - adds r0, r0, r3 - strh r0, [r4, #0x3a] - adds r0, r4, #0 - bl sub_0805A73C - cmp r0, #0 - bne _0805A71E - ldrb r0, [r4, #0xc] - adds r0, #1 - strb r0, [r4, #0xc] -_0805A71E: - movs r0, #0x80 - lsls r0, r0, #5 - strh r0, [r4, #0x2c] - ldr r2, _0805A738 @ =gScreen - ldrh r1, [r2] - movs r3, #0x90 - lsls r3, r3, #7 - adds r0, r3, #0 - orrs r0, r1 - strh r0, [r2] - pop {r4, pc} - .align 2, 0 -_0805A734: .4byte gRoomControls -_0805A738: .4byte gScreen - - thumb_func_start sub_0805A73C -sub_0805A73C: @ 0x0805A73C - push {lr} - adds r1, r0, #0 - movs r2, #0x38 - ldrsh r0, [r1, r2] - subs r0, #6 - movs r2, #0x3a - ldrsh r1, [r1, r2] - subs r1, #6 - movs r2, #0xc - movs r3, #0xc - bl sub_0806FBFC - pop {pc} - .align 2, 0 - - thumb_func_start sub_0805A758 -sub_0805A758: @ 0x0805A758 - push {r4, lr} - adds r4, r0, #0 - bl sub_0805A73C - cmp r0, #0 - bne _0805A76A - ldrb r0, [r4, #0xc] - adds r0, #1 - strb r0, [r4, #0xc] -_0805A76A: - pop {r4, pc} - - thumb_func_start sub_0805A76C -sub_0805A76C: @ 0x0805A76C - push {r4, r5, r6, lr} - adds r4, r0, #0 - ldr r5, _0805A7D4 @ =gPlayerEntity - adds r0, r5, #0 - adds r0, #0x45 - ldrb r0, [r0] - cmp r0, #0 - beq _0805A7D0 - movs r1, #0x36 - ldrsh r0, [r5, r1] - cmp r0, #0 - bne _0805A7D0 - ldr r0, _0805A7D8 @ =gPlayerState - ldr r6, [r0, #0x2c] - cmp r6, #0 - bne _0805A7D0 - adds r0, #0xa9 - ldrb r0, [r0] - cmp r0, #1 - bgt _0805A7D0 - cmp r0, #0 - blt _0805A7D0 - adds r0, r4, #0 - bl sub_0805A73C - cmp r0, #0 - beq _0805A7D0 - ldrb r0, [r4, #0xc] - adds r0, #1 - strb r0, [r4, #0xc] - adds r0, r5, #0 - bl sub_08004168 - movs r0, #4 - strb r0, [r5, #0x14] - movs r1, #0x96 - lsls r1, r1, #2 - adds r0, r4, #0 - bl sub_0805E4E0 - movs r0, #0xff - bl sub_08078A90 - ldr r1, _0805A7DC @ =gUnk_02034490 - movs r0, #1 - strb r0, [r1] - ldr r0, _0805A7E0 @ =gRoomControls - str r6, [r0, #0x30] - bl sub_08077B20 -_0805A7D0: - pop {r4, r5, r6, pc} - .align 2, 0 -_0805A7D4: .4byte gPlayerEntity -_0805A7D8: .4byte gPlayerState -_0805A7DC: .4byte gUnk_02034490 -_0805A7E0: .4byte gRoomControls - - thumb_func_start sub_0805A7E4 -sub_0805A7E4: @ 0x0805A7E4 - push {lr} - ldr r2, _0805A800 @ =gPlayerState - ldrb r0, [r2, #0xc] - cmp r0, #0x12 - beq _0805A7FE - movs r1, #0 - movs r0, #0x12 - strb r0, [r2, #0xc] - adds r0, r2, #0 - adds r0, #0x38 - strb r1, [r0] - adds r0, #1 - strb r1, [r0] -_0805A7FE: - pop {pc} - .align 2, 0 -_0805A800: .4byte gPlayerState - - thumb_func_start sub_0805A804 -sub_0805A804: @ 0x0805A804 - push {r4, lr} - adds r4, r0, #0 - ldrb r0, [r4, #0xc] - cmp r0, #4 - bhi _0805A896 - lsls r0, r0, #2 - ldr r1, _0805A818 @ =_0805A81C - adds r0, r0, r1 - ldr r0, [r0] - mov pc, r0 - .align 2, 0 -_0805A818: .4byte _0805A81C -_0805A81C: @ jump table - .4byte _0805A830 @ case 0 - .4byte _0805A858 @ case 1 - .4byte _0805A866 @ case 2 - .4byte _0805A872 @ case 3 - .4byte _0805A88A @ case 4 -_0805A830: - ldrh r0, [r4, #0x3e] - bl CheckLocalFlag - cmp r0, #0 - beq _0805A83E - movs r0, #1 - b _0805A840 -_0805A83E: - movs r0, #2 -_0805A840: - strb r0, [r4, #0xc] - movs r0, #1 - strb r0, [r4, #0xd] - ldrb r1, [r4, #0x10] - movs r0, #0x20 - orrs r0, r1 - strb r0, [r4, #0x10] - adds r0, r4, #0 - movs r1, #6 - bl sub_0805E3A0 - b _0805A89A -_0805A858: - ldrh r0, [r4, #0x3e] - bl CheckLocalFlag - cmp r0, #0 - bne _0805A89A - movs r0, #2 - b _0805A87E -_0805A866: - ldrb r0, [r4, #0xd] - cmp r0, #0 - beq _0805A89A - movs r0, #3 - strb r0, [r4, #0xc] - b _0805A89A -_0805A872: - ldrh r0, [r4, #0x3e] - bl CheckLocalFlag - cmp r0, #0 - beq _0805A89A - movs r0, #4 -_0805A87E: - strb r0, [r4, #0xc] - adds r0, r4, #0 - movs r1, #4 - bl sub_0805A4CC - b _0805A89A -_0805A88A: - ldrb r0, [r4, #0xd] - cmp r0, #0 - beq _0805A89A - movs r0, #1 - strb r0, [r4, #0xc] - b _0805A89A -_0805A896: - bl DeleteThisEntity -_0805A89A: - pop {r4, pc} - - thumb_func_start sub_0805A89C -sub_0805A89C: @ 0x0805A89C - push {r4, lr} - adds r4, r0, #0 - movs r1, #6 - bl sub_0805E3A0 - movs r2, #0 - movs r0, #1 - strb r0, [r4, #0xc] - ldrb r1, [r4, #0x10] - movs r0, #0x20 - orrs r0, r1 - strb r0, [r4, #0x10] - movs r0, #8 - strb r0, [r4, #0xe] - movs r0, #0x10 - strb r0, [r4, #0xf] - adds r0, r4, #0 - adds r0, #0x21 - strb r2, [r0] - adds r0, #1 - strb r2, [r0] - ldr r1, _0805A8E4 @ =gRoomControls - ldrb r2, [r1, #5] - subs r0, #2 - strb r2, [r0] - ldrh r0, [r1, #6] - strh r0, [r4, #0x24] - ldrh r0, [r1, #8] - strh r0, [r4, #0x26] - ldr r1, _0805A8E8 @ =sub_0805AAC8 - adds r0, r4, #0 - movs r2, #0 - bl sub_08052D74 - pop {r4, pc} - .align 2, 0 -_0805A8E4: .4byte gRoomControls -_0805A8E8: .4byte sub_0805AAC8 - - thumb_func_start sub_0805A8EC -sub_0805A8EC: @ 0x0805A8EC - push {r4, r5, lr} - adds r4, r0, #0 - bl sub_0805AA58 - adds r0, r4, #0 - bl sub_0805A94C - ldr r1, _0805A914 @ =gRoomControls - ldrh r3, [r1] - cmp r3, #1 - bne _0805A91C - ldr r2, _0805A918 @ =gScreen - ldrh r1, [r2] - movs r5, #0x80 - lsls r5, r5, #7 - adds r0, r5, #0 - orrs r0, r1 - strh r0, [r2] - strb r3, [r4, #0xd] - b _0805A940 - .align 2, 0 -_0805A914: .4byte gRoomControls -_0805A918: .4byte gScreen -_0805A91C: - ldrb r0, [r4, #0xd] - cmp r0, #0 - beq _0805A940 - movs r0, #0 - strb r0, [r4, #0xd] - adds r0, r4, #0 - adds r0, #0x20 - ldrb r0, [r0] - ldrb r1, [r1, #5] - cmp r0, r1 - beq _0805A940 - ldr r2, _0805A944 @ =gScreen - ldrh r1, [r2] - ldr r0, _0805A948 @ =0x0000B7FF - ands r0, r1 - strh r0, [r2] - bl DeleteThisEntity -_0805A940: - pop {r4, r5, pc} - .align 2, 0 -_0805A944: .4byte gScreen -_0805A948: .4byte 0x0000B7FF - - thumb_func_start sub_0805A94C -sub_0805A94C: @ 0x0805A94C - push {r4, lr} - ldr r4, _0805A9C4 @ =gScreen - ldr r3, _0805A9C8 @ =gRoomControls - ldrh r1, [r3, #0xa] - ldrh r2, [r0, #0x24] - subs r1, r1, r2 - ldrh r2, [r0, #0x34] - adds r1, r1, r2 - strh r1, [r4, #0x2e] - ldrh r1, [r3, #0xc] - ldrh r2, [r0, #0x26] - subs r1, r1, r2 - ldrh r0, [r0, #0x36] - adds r1, r1, r0 - strh r1, [r4, #0x30] - movs r1, #0x2e - ldrsh r0, [r4, r1] - rsbs r0, r0, #0 - movs r2, #0x80 - lsls r2, r2, #1 - adds r1, r0, r2 - cmp r0, #0 - bge _0805A97C - movs r0, #0 -_0805A97C: - cmp r0, #0xf0 - ble _0805A982 - movs r0, #0xf0 -_0805A982: - cmp r1, #0 - bge _0805A988 - movs r1, #0 -_0805A988: - cmp r1, #0xf0 - ble _0805A98E - movs r1, #0xf0 -_0805A98E: - lsls r0, r0, #8 - orrs r0, r1 - adds r1, r4, #0 - adds r1, #0x5a - strh r0, [r1] - movs r1, #0x30 - ldrsh r0, [r4, r1] - rsbs r0, r0, #0 - adds r1, r0, r2 - cmp r0, #0 - bge _0805A9A6 - movs r0, #0 -_0805A9A6: - cmp r0, #0xa0 - ble _0805A9AC - movs r0, #0xa0 -_0805A9AC: - cmp r1, #0 - bge _0805A9B2 - movs r1, #0 -_0805A9B2: - cmp r1, #0xa0 - ble _0805A9B8 - movs r1, #0xa0 -_0805A9B8: - lsls r0, r0, #8 - orrs r0, r1 - adds r1, r4, #0 - adds r1, #0x5e - strh r0, [r1] - pop {r4, pc} - .align 2, 0 -_0805A9C4: .4byte gScreen -_0805A9C8: .4byte gRoomControls - - thumb_func_start sub_0805A9CC -sub_0805A9CC: @ 0x0805A9CC - push {r4, r5, lr} - adds r4, r0, #0 - ldr r3, _0805AA4C @ =gScreen - ldr r5, _0805AA50 @ =gRoomControls - ldrh r0, [r5, #0xa] - ldrh r1, [r4, #0x24] - subs r0, r0, r1 - ldrh r1, [r4, #0x34] - adds r0, r0, r1 - strh r0, [r3, #0x2e] - movs r2, #0x2e - ldrsh r0, [r3, r2] - rsbs r2, r0, #0 - movs r0, #0x80 - lsls r0, r0, #1 - adds r1, r2, r0 - cmp r2, #0 - bge _0805A9F2 - movs r2, #0 -_0805A9F2: - cmp r2, #0xf0 - ble _0805A9F8 - movs r2, #0xf0 -_0805A9F8: - cmp r1, #0 - bge _0805A9FE - movs r1, #0 -_0805A9FE: - cmp r1, #0xf0 - ble _0805AA04 - movs r1, #0xf0 -_0805AA04: - lsls r0, r2, #8 - orrs r0, r1 - adds r1, r3, #0 - adds r1, #0x5a - strh r0, [r1] - movs r1, #0xc - ldrsh r0, [r5, r1] - ldrh r1, [r4, #0x26] - subs r0, r0, r1 - movs r2, #0x36 - ldrsh r1, [r4, r2] - adds r2, r0, r1 - movs r1, #0x3f - adds r0, r2, #0 - ands r0, r1 - strh r0, [r3, #0x30] - adds r0, r2, #0 - cmp r0, #0 - bge _0805AA2C - adds r0, #0x3f -_0805AA2C: - asrs r0, r0, #6 - lsls r0, r0, #9 - ldr r1, _0805AA54 @ =gUnk_02001A40 - adds r1, r0, r1 - str r1, [r3, #0x34] - adds r2, r3, #0 - adds r2, #0x5e - movs r0, #0xa0 - strh r0, [r2] - ldr r0, [r4, #0x28] - cmp r0, r1 - beq _0805AA4A - str r1, [r4, #0x28] - movs r0, #1 - strh r0, [r3, #0x32] -_0805AA4A: - pop {r4, r5, pc} - .align 2, 0 -_0805AA4C: .4byte gScreen -_0805AA50: .4byte gRoomControls -_0805AA54: .4byte gUnk_02001A40 - - thumb_func_start sub_0805AA58 -sub_0805AA58: @ 0x0805AA58 - push {r4, r5, lr} - adds r4, r0, #0 - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - movs r5, #0xff - lsls r0, r0, #0x18 - cmp r0, #0 - bne _0805AA8C - movs r0, #8 - strb r0, [r4, #0xe] - adds r2, r4, #0 - adds r2, #0x21 - ldrb r0, [r2] - adds r0, #1 - movs r1, #3 - ands r0, r1 - strb r0, [r2] - ldrb r0, [r2] - lsls r0, r0, #5 - ldr r1, _0805AABC @ =gUnk_085A97A0 - adds r0, r0, r1 - movs r1, #5 - movs r2, #1 - bl LoadPalettes -_0805AA8C: - ldrb r0, [r4, #0xf] - subs r0, #1 - strb r0, [r4, #0xf] - ands r0, r5 - cmp r0, #0 - bne _0805AABA - movs r0, #0x10 - strb r0, [r4, #0xf] - adds r2, r4, #0 - adds r2, #0x22 - ldrb r0, [r2] - adds r0, #1 - movs r1, #0xf - ands r0, r1 - strb r0, [r2] - ldr r1, _0805AAC0 @ =gScreen - ldr r3, _0805AAC4 @ =gUnk_081085B8 - ldrb r0, [r2] - lsls r0, r0, #1 - adds r0, r0, r3 - ldrh r0, [r0] - adds r1, #0x68 - strh r0, [r1] -_0805AABA: - pop {r4, r5, pc} - .align 2, 0 -_0805AABC: .4byte gUnk_085A97A0 -_0805AAC0: .4byte gScreen -_0805AAC4: .4byte gUnk_081085B8 - - thumb_func_start sub_0805AAC8 -sub_0805AAC8: @ 0x0805AAC8 - push {r4, lr} - adds r4, r0, #0 - adds r0, #0x23 - ldrb r0, [r0] - bl sub_0805AAF0 - adds r0, r4, #0 - bl sub_0805A280 - pop {r4, pc} - - thumb_func_start sub_0805AADC -sub_0805AADC: @ 0x0805AADC - push {lr} - ldr r1, _0805AAEC @ =gUnk_08108648 - lsls r0, r0, #1 - adds r0, r0, r1 - ldrh r0, [r0] - bl LoadGfxGroup - pop {pc} - .align 2, 0 -_0805AAEC: .4byte gUnk_08108648 - - thumb_func_start sub_0805AAF0 -sub_0805AAF0: @ 0x0805AAF0 - push {lr} - bl sub_0805AADC - ldr r3, _0805AB34 @ =gScreen - adds r1, r3, #0 - adds r1, #0x66 - movs r2, #0 - ldr r0, _0805AB38 @ =0x00003E48 - strh r0, [r1] - adds r1, #2 - ldr r0, _0805AB3C @ =0x00001008 - strh r0, [r1] - ldr r0, _0805AB40 @ =0x00001E04 - strh r0, [r3, #0x2c] - ldr r0, _0805AB44 @ =gUnk_02001A40 - str r0, [r3, #0x34] - strh r2, [r3, #0x2e] - strh r2, [r3, #0x30] - movs r0, #1 - strh r0, [r3, #0x32] - subs r1, #8 - ldr r0, _0805AB48 @ =0x00003F3F - strh r0, [r1] - adds r1, #2 - movs r0, #0x37 - strh r0, [r1] - subs r1, #8 - movs r0, #0xf0 - strh r0, [r1] - adds r1, #4 - movs r0, #0xa0 - strh r0, [r1] - pop {pc} - .align 2, 0 -_0805AB34: .4byte gScreen -_0805AB38: .4byte 0x00003E48 -_0805AB3C: .4byte 0x00001008 -_0805AB40: .4byte 0x00001E04 -_0805AB44: .4byte gUnk_02001A40 -_0805AB48: .4byte 0x00003F3F diff --git a/asm/manager2.s b/asm/manager2.s index ca617098..a1ffd36e 100644 --- a/asm/manager2.s +++ b/asm/manager2.s @@ -29,7 +29,7 @@ sub_0805754C: @ 0x0805754C _08057570: asrs r0, r0, #6 lsls r0, r0, #9 - ldr r5, _080575C4 @ =gUnk_02002F00 + ldr r5, _080575C4 @ =gMapDataTopSpecial adds r1, r0, r5 str r1, [r4, #0x34] ldr r0, [r2, #0x38] @@ -71,7 +71,7 @@ _080575BA: .align 2, 0 _080575BC: .4byte gRoomControls _080575C0: .4byte gScreen -_080575C4: .4byte gUnk_02002F00 +_080575C4: .4byte gMapDataTopSpecial thumb_func_start sub_080575C8 sub_080575C8: @ 0x080575C8 @@ -107,7 +107,7 @@ sub_080575C8: @ 0x080575C8 _08057604: asrs r0, r0, #6 lsls r0, r0, #9 - ldr r4, _08057674 @ =gUnk_02002F00 + ldr r4, _08057674 @ =gMapDataTopSpecial adds r0, r0, r4 str r0, [r2, #0x34] ldr r0, _08057678 @ =0x00001D49 @@ -158,7 +158,7 @@ _08057664: .4byte gUnk_0200B650 _08057668: .4byte gRoomVars _0805766C: .4byte gRoomControls _08057670: .4byte gScreen -_08057674: .4byte gUnk_02002F00 +_08057674: .4byte gMapDataTopSpecial _08057678: .4byte 0x00001D49 _0805767C: .4byte 0x00001E49 _08057680: .4byte 0x00003C48 diff --git a/asm/manager23.s b/asm/manager23.s index acdd6c56..c5387705 100644 --- a/asm/manager23.s +++ b/asm/manager23.s @@ -188,7 +188,7 @@ sub_0805BDB4: @ 0x0805BDB4 movs r2, #0x3a ldrsh r1, [r4, r2] ldrb r2, [r4, #0xb] - bl sub_080A29C8 + bl CreateDustAt ldrh r0, [r4, #0x3e] bl ClearFlag ldrh r0, [r4, #0x20] diff --git a/asm/manager30.s b/asm/manager30.s deleted file mode 100644 index 6d5e1c08..00000000 --- a/asm/manager30.s +++ /dev/null @@ -1,204 +0,0 @@ - .include "asm/macros.inc" - - .include "constants/constants.inc" - - .syntax unified - - .text - - thumb_func_start sub_0805D4AC -sub_0805D4AC: @ 0x0805D4AC - push {r4, r5, r6, r7, lr} - mov r7, sb - mov r6, r8 - push {r6, r7} - adds r6, r0, #0 - ldrb r0, [r6, #0xc] - cmp r0, #1 - beq _0805D520 - cmp r0, #1 - bgt _0805D4C6 - cmp r0, #0 - beq _0805D4D2 - b _0805D628 -_0805D4C6: - cmp r0, #2 - beq _0805D5A4 - cmp r0, #3 - bne _0805D4D0 - b _0805D604 -_0805D4D0: - b _0805D628 -_0805D4D2: - movs r0, #1 - strb r0, [r6, #0xc] - ldrb r0, [r6, #0xe] - strb r0, [r6, #0xf] - ldrh r1, [r6, #0x38] - lsls r1, r1, #0x10 - asrs r1, r1, #0x14 - movs r3, #0x3f - ands r1, r3 - ldrh r0, [r6, #0x3a] - lsls r0, r0, #0x10 - asrs r0, r0, #0x14 - ands r0, r3 - lsls r0, r0, #6 - orrs r1, r0 - strh r1, [r6, #0x28] - ldr r4, _0805D518 @ =gPlayerEntity - movs r0, #0x2e - ldrsh r1, [r4, r0] - ldr r2, _0805D51C @ =gRoomControls - ldrh r0, [r2, #6] - subs r1, r1, r0 - asrs r1, r1, #4 - ands r1, r3 - movs r5, #0x32 - ldrsh r0, [r4, r5] - ldrh r2, [r2, #8] - subs r0, r0, r2 - asrs r0, r0, #4 - ands r0, r3 - lsls r0, r0, #6 - orrs r1, r0 - strh r1, [r6, #0x2e] - strh r1, [r6, #0x2c] - b _0805D628 - .align 2, 0 -_0805D518: .4byte gPlayerEntity -_0805D51C: .4byte gRoomControls -_0805D520: - ldr r4, _0805D568 @ =gPlayerEntity - movs r1, #0x2e - ldrsh r0, [r4, r1] - ldr r3, _0805D56C @ =gRoomControls - ldrh r1, [r3, #6] - subs r0, r0, r1 - asrs r5, r0, #4 - movs r2, #0x3f - ands r5, r2 - movs r1, #0x32 - ldrsh r0, [r4, r1] - ldrh r1, [r3, #8] - subs r0, r0, r1 - asrs r0, r0, #4 - ands r0, r2 - lsls r0, r0, #6 - orrs r5, r0 - strh r5, [r6, #0x2e] - ldrh r2, [r6, #0x2c] - cmp r5, r2 - beq _0805D5A4 - strh r5, [r6, #0x2c] - ldrh r0, [r6, #0x2e] - ldrb r1, [r6, #0xb] - bl GetTileType - adds r1, r0, #0 - ldr r3, _0805D570 @ =0x00000317 - cmp r1, r3 - beq _0805D574 - movs r0, #0xc6 - lsls r0, r0, #2 - cmp r1, r0 - beq _0805D580 - b _0805D5A4 - .align 2, 0 -_0805D568: .4byte gPlayerEntity -_0805D56C: .4byte gRoomControls -_0805D570: .4byte 0x00000317 -_0805D574: - movs r0, #2 - strb r0, [r6, #0xc] - movs r0, #0x6d - bl PlaySFX - b _0805D5A4 -_0805D580: - ldrh r1, [r6, #0x2e] - ldrb r2, [r6, #0xb] - adds r0, r3, #0 - bl sub_0807B7D8 - movs r0, #0x6b - bl PlaySFX - ldrb r0, [r6, #0xe] - subs r0, #1 - strb r0, [r6, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _0805D5A4 - movs r0, #3 - strb r0, [r6, #0xc] - movs r0, #0x40 - strb r0, [r6, #0xe] -_0805D5A4: - ldrh r0, [r6, #0x3e] - cmp r0, #0 - beq _0805D628 - bl CheckFlags - cmp r0, #0 - beq _0805D628 - ldrh r0, [r6, #0x3e] - bl ClearFlag - movs r0, #1 - strb r0, [r6, #0xc] - ldrb r0, [r6, #0xf] - strb r0, [r6, #0xe] - movs r1, #0 - adds r0, r6, #0 - adds r0, #0x37 - mov sb, r0 - ldrb r5, [r0] - cmp r1, r5 - bhs _0805D628 - movs r0, #0x36 - adds r0, r0, r6 - mov r8, r0 -_0805D5D4: - lsls r0, r1, #6 - ldrh r2, [r6, #0x28] - adds r5, r0, r2 - movs r4, #0 - adds r7, r1, #1 - mov r0, r8 - ldrb r0, [r0] - cmp r4, r0 - bhs _0805D5F8 -_0805D5E6: - adds r0, r5, r4 - ldrb r1, [r6, #0xb] - bl sub_0807BA8C - adds r4, #1 - mov r1, r8 - ldrb r1, [r1] - cmp r4, r1 - blo _0805D5E6 -_0805D5F8: - adds r1, r7, #0 - mov r2, sb - ldrb r2, [r2] - cmp r1, r2 - blo _0805D5D4 - b _0805D628 -_0805D604: - ldrb r0, [r6, #0xe] - cmp r0, #0 - beq _0805D628 - subs r0, #1 - strb r0, [r6, #0xe] - lsls r0, r0, #0x18 - lsrs r0, r0, #0x18 - cmp r0, #0 - beq _0805D622 - cmp r0, #0x20 - bne _0805D628 - ldrh r0, [r6, #0x3c] - bl SetFlag - b _0805D628 -_0805D622: - movs r0, #0x72 - bl PlaySFX -_0805D628: - pop {r3, r4} - mov r8, r3 - mov sb, r4 - pop {r4, r5, r6, r7, pc} diff --git a/asm/manager37.s b/asm/manager37.s index 106e9932..7ffdb9c7 100644 --- a/asm/manager37.s +++ b/asm/manager37.s @@ -124,7 +124,7 @@ _0805DF1A: rsbs r2, r2, #0 adds r0, r5, #0 movs r1, #8 - bl sub_080A2CFC + bl CreateSpeechBubbleExclamationMark adds r2, r0, #0 cmp r2, #0 beq _0805DF3C diff --git a/asm/manager39.s b/asm/manager39.s index f5c9a542..1e92532d 100644 --- a/asm/manager39.s +++ b/asm/manager39.s @@ -142,7 +142,7 @@ sub_0805E1F8: @ 0x0805E1F8 ldr r0, _0805E238 @ =gUnk_08108E60 mov r1, sp movs r2, #9 - bl sub_0801D66C + bl _DmaCopy mov r1, sp lsrs r0, r4, #8 strb r0, [r1, #4] diff --git a/asm/manager8.s b/asm/manager8.s index 4cee9e01..92809da7 100644 --- a/asm/manager8.s +++ b/asm/manager8.s @@ -188,7 +188,7 @@ _08058030: .4byte 0x80000020 thumb_func_start sub_08058034 sub_08058034: @ 0x08058034 push {r4, r5, r6, lr} - ldr r6, _08058080 @ =gUnk_02002F00 + ldr r6, _08058080 @ =gMapDataTopSpecial movs r0, #0x80 lsls r0, r0, #7 adds r5, r6, r0 @@ -204,7 +204,7 @@ _08058040: adds r4, #1 cmp r4, #3 bls _08058040 - ldr r0, _08058080 @ =gUnk_02002F00 + ldr r0, _08058080 @ =gMapDataTopSpecial movs r1, #0x80 lsls r1, r1, #6 adds r6, r0, r1 @@ -225,7 +225,7 @@ _08058066: bls _08058066 pop {r4, r5, r6, pc} .align 2, 0 -_08058080: .4byte gUnk_02002F00 +_08058080: .4byte gMapDataTopSpecial thumb_func_start sub_08058084 sub_08058084: @ 0x08058084 diff --git a/asm/manager9.s b/asm/manager9.s index 2b7bd3c1..1f9385b4 100644 --- a/asm/manager9.s +++ b/asm/manager9.s @@ -134,7 +134,7 @@ _080582CC: .4byte 0x80000020 thumb_func_start sub_080582D0 sub_080582D0: @ 0x080582D0 push {r4, r5, lr} - ldr r4, _080582F4 @ =gUnk_02002F00 + ldr r4, _080582F4 @ =gMapDataTopSpecial movs r0, #0x80 lsls r0, r0, #7 adds r5, r4, r0 @@ -150,7 +150,7 @@ sub_080582D0: @ 0x080582D0 bl sub_080582F8 pop {r4, r5, pc} .align 2, 0 -_080582F4: .4byte gUnk_02002F00 +_080582F4: .4byte gMapDataTopSpecial thumb_func_start sub_080582F8 sub_080582F8: @ 0x080582F8 diff --git a/asm/managerC.s b/asm/managerC.s index d634ea71..ef613cdd 100644 --- a/asm/managerC.s +++ b/asm/managerC.s @@ -653,7 +653,7 @@ sub_08058D34: @ 0x08058D34 lsls r2, r2, #2 adds r1, r0, r2 movs r2, #0x20 - bl sub_0801D66C + bl _DmaCopy ldr r2, _08058DB0 @ =gUsedPalettes ldr r0, [r2] movs r1, #0x80 diff --git a/asm/managerF.s b/asm/managerF.s index 93add104..60d32fc0 100644 --- a/asm/managerF.s +++ b/asm/managerF.s @@ -333,7 +333,7 @@ sub_08059124: @ 0x08059124 movs r2, #0x3a ldrsh r1, [r4, r2] ldrb r2, [r4, #0xb] - bl sub_080A29C8 + bl CreateDustAt ldrh r0, [r4, #0x38] lsls r0, r0, #0x10 asrs r0, r0, #0x14 diff --git a/asm/moldorm.s b/asm/moldorm.s deleted file mode 100644 index 24d0838f..00000000 --- a/asm/moldorm.s +++ /dev/null @@ -1,558 +0,0 @@ - .include "asm/macros.inc" - - .include "constants/constants.inc" - - .syntax unified - - .text - - - thumb_func_start Moldorm -Moldorm: @ 0x08022B88 - push {lr} - ldr r2, _08022B9C @ =gUnk_080CBB90 - ldrb r1, [r0, #0xa] - lsls r1, r1, #2 - adds r1, r1, r2 - ldr r1, [r1] - bl _call_via_r1 - pop {pc} - .align 2, 0 -_08022B9C: .4byte gUnk_080CBB90 - - thumb_func_start sub_08022BA0 -sub_08022BA0: @ 0x08022BA0 - push {r4, lr} - adds r4, r0, #0 - adds r1, r4, #0 - adds r1, #0x79 - ldrb r0, [r1] - adds r0, #1 - strb r0, [r1] - ldrh r1, [r4, #0x2e] - adds r0, r4, #0 - adds r0, #0x74 - strh r1, [r0] - ldrh r0, [r4, #0x32] - adds r1, r4, #0 - adds r1, #0x76 - strh r0, [r1] - ldr r1, _08022BD0 @ =gUnk_080CBBA0 - adds r0, r4, #0 - bl EnemyFunctionHandler - adds r0, r4, #0 - bl sub_08022EAC - pop {r4, pc} - .align 2, 0 -_08022BD0: .4byte gUnk_080CBBA0 - - thumb_func_start sub_08022BD4 -sub_08022BD4: @ 0x08022BD4 - push {lr} - ldr r2, _08022BE8 @ =gUnk_080CBBB4 - ldrb r1, [r0, #0xc] - lsls r1, r1, #2 - adds r1, r1, r2 - ldr r1, [r1] - bl _call_via_r1 - pop {pc} - .align 2, 0 -_08022BE8: .4byte gUnk_080CBBB4 - - thumb_func_start sub_08022BEC -sub_08022BEC: @ 0x08022BEC - push {lr} - adds r2, r0, #0 - movs r0, #0x7a - adds r0, r0, r2 - mov ip, r0 - adds r3, r2, #0 - adds r3, #0x45 - ldrb r0, [r0] - ldrb r1, [r3] - cmp r0, r1 - beq _08022C0A - adds r1, r2, #0 - adds r1, #0x7b - movs r0, #0x1e - strb r0, [r1] -_08022C0A: - ldrb r0, [r3] - mov r1, ip - strb r0, [r1] - movs r0, #1 - strb r0, [r2, #0xe] - adds r0, r2, #0 - adds r0, #0x3e - ldrb r0, [r0] - strb r0, [r2, #0x15] - ldrb r0, [r2, #0x15] - adds r0, #2 - movs r1, #0x1c - ands r0, r1 - asrs r0, r0, #2 - strb r0, [r2, #0x14] - strb r0, [r2, #0x1e] - ldr r0, [r2, #0x54] - adds r3, r2, #0 - adds r3, #0x3d - ldrb r1, [r3] - adds r0, #0x3d - strb r1, [r0] - ldr r0, [r2, #0x7c] - ldrb r1, [r3] - adds r0, #0x3d - strb r1, [r0] - adds r0, r2, #0 - adds r0, #0x80 - ldr r0, [r0] - ldrb r1, [r3] - adds r0, #0x3d - strb r1, [r0] - ldr r1, _08022C54 @ =gUnk_080CBBA0 - adds r0, r2, #0 - bl sub_0804AA30 - pop {pc} - .align 2, 0 -_08022C54: .4byte gUnk_080CBBA0 - - thumb_func_start sub_08022C58 -sub_08022C58: @ 0x08022C58 - push {r4, r5, r6, r7, lr} - mov r7, sb - mov r6, r8 - push {r6, r7} - adds r7, r0, #0 - ldrb r1, [r7, #0x10] - movs r0, #0x7f - ands r0, r1 - strb r0, [r7, #0x10] - ldr r0, _08022D3C @ =gEntCount - ldrb r0, [r0] - cmp r0, #0x44 - bhi _08022D34 - movs r0, #0xd - movs r1, #1 - bl CreateEnemy - mov sb, r0 - str r0, [r7, #0x54] - mov r2, sb - adds r2, #0x29 - ldrb r1, [r2] - movs r4, #8 - rsbs r4, r4, #0 - adds r0, r4, #0 - ands r0, r1 - movs r1, #5 - mov r8, r1 - mov r1, r8 - orrs r0, r1 - strb r0, [r2] - mov r0, sb - str r7, [r0, #0x50] - adds r0, r7, #0 - mov r1, sb - bl CopyPosition - movs r0, #0xd - movs r1, #2 - bl CreateEnemy - adds r6, r0, #0 - mov r1, sb - str r6, [r1, #0x54] - adds r2, r6, #0 - adds r2, #0x29 - ldrb r1, [r2] - adds r0, r4, #0 - ands r0, r1 - mov r1, r8 - orrs r0, r1 - strb r0, [r2] - str r7, [r6, #0x50] - adds r0, r7, #0 - adds r1, r6, #0 - bl CopyPosition - movs r0, #0xd - movs r1, #3 - bl CreateEnemy - adds r5, r0, #0 - str r5, [r6, #0x54] - adds r1, r5, #0 - adds r1, #0x29 - ldrb r0, [r1] - ands r4, r0 - mov r0, r8 - orrs r4, r0 - strb r4, [r1] - str r7, [r5, #0x50] - adds r0, r7, #0 - adds r1, r5, #0 - bl CopyPosition - adds r0, r7, #0 - bl sub_0804A720 - movs r0, #1 - strb r0, [r7, #0xc] - strb r0, [r7, #0xe] - strb r0, [r7, #0xf] - ldrb r0, [r7, #0x10] - movs r1, #0x80 - orrs r0, r1 - strb r0, [r7, #0x10] - str r7, [r7, #0x50] - mov r1, sb - str r1, [r7, #0x54] - str r6, [r7, #0x7c] - adds r0, r7, #0 - adds r0, #0x80 - str r5, [r0] - bl Random - movs r1, #0x1f - ands r0, r1 - strb r0, [r7, #0x15] - ldrb r0, [r7, #0x15] - adds r0, #2 - movs r1, #0x1c - ands r0, r1 - asrs r0, r0, #2 - strb r0, [r7, #0x14] - strb r0, [r7, #0x1e] - adds r0, r7, #0 - adds r0, #0x45 - ldrb r1, [r0] - adds r0, #0x35 - strb r1, [r0] -_08022D34: - pop {r3, r4} - mov r8, r3 - mov sb, r4 - pop {r4, r5, r6, r7, pc} - .align 2, 0 -_08022D3C: .4byte gEntCount - - thumb_func_start sub_08022D40 -sub_08022D40: @ 0x08022D40 - push {r4, lr} - adds r4, r0, #0 - adds r2, r4, #0 - adds r2, #0x7b - ldrb r1, [r2] - cmp r1, #0 - beq _08022D66 - adds r0, r1, #0 - adds r0, #0xff - strb r0, [r2] - movs r0, #1 - ands r0, r1 - cmp r0, #0 - beq _08022D8E - ldrb r0, [r4, #0x14] - adds r0, #1 - movs r1, #7 - ands r0, r1 - b _08022D8A -_08022D66: - adds r0, r4, #0 - bl sub_08022F14 - adds r0, r4, #0 - bl sub_080AEF88 - ldrh r0, [r4, #0x2a] - cmp r0, #0 - beq _08022D8E - adds r1, r0, #0 - adds r0, r4, #0 - bl sub_0800417E - ldrb r0, [r4, #0x15] - adds r0, #2 - movs r1, #0x1c - ands r0, r1 - asrs r0, r0, #2 -_08022D8A: - strb r0, [r4, #0x14] - strb r0, [r4, #0x1e] -_08022D8E: - pop {r4, pc} - - thumb_func_start sub_08022D90 -sub_08022D90: @ 0x08022D90 - push {r4, r5, lr} - adds r5, r0, #0 - ldr r0, [r5, #0x50] - ldr r0, [r0, #4] - cmp r0, #0 - beq _08022DE0 - ldr r1, _08022DDC @ =gUnk_080CBBBC - ldrb r0, [r5, #0xc] - lsls r0, r0, #2 - adds r0, r0, r1 - ldr r1, [r0] - adds r0, r5, #0 - bl _call_via_r1 - ldr r4, [r5, #0x50] - ldrb r2, [r4, #0x1b] - lsrs r2, r2, #6 - lsls r2, r2, #6 - ldrb r3, [r5, #0x1b] - movs r1, #0x3f - adds r0, r1, #0 - ands r0, r3 - orrs r0, r2 - strb r0, [r5, #0x1b] - ldrb r0, [r4, #0x19] - lsrs r0, r0, #6 - lsls r0, r0, #6 - ldrb r2, [r5, #0x19] - ands r1, r2 - orrs r1, r0 - strb r1, [r5, #0x19] - adds r4, #0x38 - ldrb r1, [r4] - adds r0, r5, #0 - adds r0, #0x38 - strb r1, [r0] - b _08022DE6 - .align 2, 0 -_08022DDC: .4byte gUnk_080CBBBC -_08022DE0: - adds r0, r5, #0 - bl DeleteEntity -_08022DE6: - pop {r4, r5, pc} - - thumb_func_start sub_08022DE8 -sub_08022DE8: @ 0x08022DE8 - push {lr} - adds r3, r0, #0 - movs r0, #1 - strb r0, [r3, #0xc] - adds r0, r3, #0 - adds r0, #0x7c - movs r1, #0x88 - strb r1, [r0] - adds r0, #1 - strb r1, [r0] - adds r0, #1 - strb r1, [r0] - adds r0, #1 - strb r1, [r0] - adds r0, #1 - strb r1, [r0] - adds r0, #1 - strb r1, [r0] - adds r0, #1 - strb r1, [r0] - adds r0, #1 - strb r1, [r0] - ldr r0, [r3, #0x50] - ldrb r0, [r0, #0x14] - strb r0, [r3, #0x14] - adds r2, r3, #0 - adds r2, #0x84 - ldrb r1, [r3, #0x14] - lsls r0, r1, #4 - adds r0, r0, r1 - lsls r1, r0, #8 - adds r0, r0, r1 - lsls r1, r0, #0x10 - adds r0, r0, r1 - str r0, [r2] - ldrb r0, [r3, #0xa] - cmp r0, #3 - beq _08022E38 - adds r0, #7 - b _08022E3C -_08022E38: - ldrb r0, [r3, #0x14] - adds r0, #0xa -_08022E3C: - strb r0, [r3, #0x1e] - pop {pc} - - thumb_func_start sub_08022E40 -sub_08022E40: @ 0x08022E40 - push {r4, r5, lr} - adds r4, r0, #0 - ldrh r1, [r4, #0x2e] - adds r0, #0x74 - strh r1, [r0] - ldrh r0, [r4, #0x32] - adds r1, r4, #0 - adds r1, #0x76 - strh r0, [r1] - ldr r2, [r4, #0x50] - adds r2, #0x79 - ldrb r0, [r2] - adds r0, #1 - movs r3, #7 - ands r0, r3 - adds r0, #0x7c - adds r0, r4, r0 - ldrb r1, [r0] - movs r0, #0xf - ands r0, r1 - subs r0, #8 - lsrs r1, r1, #4 - lsls r0, r0, #0x18 - asrs r0, r0, #0x18 - ldrh r5, [r4, #0x2e] - adds r0, r0, r5 - strh r0, [r4, #0x2e] - subs r1, #8 - ldrh r0, [r4, #0x32] - adds r1, r1, r0 - strh r1, [r4, #0x32] - adds r1, r4, #0 - adds r1, #0x84 - ldrb r0, [r2] - adds r0, #1 - ands r0, r3 - lsls r0, r0, #2 - ldr r1, [r1] - lsrs r1, r0 - movs r0, #7 - ands r1, r0 - strb r1, [r4, #0x14] - ldrb r0, [r4, #0xa] - cmp r0, #3 - bne _08022EA2 - adds r0, r1, #0 - adds r0, #0xa - strb r0, [r4, #0x1e] - b _08022EA8 -_08022EA2: - adds r0, r4, #0 - bl sub_08022EAC -_08022EA8: - pop {r4, r5, pc} - .align 2, 0 - - thumb_func_start sub_08022EAC -sub_08022EAC: @ 0x08022EAC - push {r4, r5, lr} - mov ip, r0 - ldr r1, [r0, #0x54] - cmp r1, #0 - beq _08022F12 - ldr r0, [r0, #0x50] - adds r0, #0x79 - ldrb r0, [r0] - movs r4, #7 - adds r3, r4, #0 - ands r3, r0 - adds r3, r3, r1 - adds r3, #0x7c - mov r0, ip - ldrh r1, [r0, #0x2e] - adds r0, #0x74 - ldrb r0, [r0] - subs r1, r1, r0 - adds r1, #8 - movs r5, #0xf - ands r1, r5 - mov r2, ip - ldrh r0, [r2, #0x32] - adds r2, #0x76 - ldrb r2, [r2] - subs r0, r0, r2 - adds r0, #8 - ands r0, r5 - lsls r0, r0, #4 - adds r1, r1, r0 - strb r1, [r3] - mov r1, ip - ldr r0, [r1, #0x50] - adds r0, #0x79 - ldrb r1, [r0] - adds r0, r4, #0 - ands r0, r1 - lsls r0, r0, #2 - mov r2, ip - ldrb r1, [r2, #0x14] - ands r4, r1 - lsls r4, r0 - movs r2, #0xf - lsls r2, r0 - mov r0, ip - ldr r1, [r0, #0x54] - adds r1, #0x84 - ldr r0, [r1] - bics r0, r2 - orrs r4, r0 - str r4, [r1] -_08022F12: - pop {r4, r5, pc} - - thumb_func_start sub_08022F14 -sub_08022F14: @ 0x08022F14 - push {r4, r5, lr} - adds r4, r0, #0 - bl sub_08049FA0 - cmp r0, #0 - bne _08022F4E - adds r0, r4, #0 - bl sub_08049EE4 - ldrb r1, [r4, #0x15] - subs r2, r0, r1 - movs r1, #0x1f - ands r2, r1 - adds r0, r2, #4 - ands r0, r1 - cmp r0, #8 - bls _08022F4E - movs r0, #8 - strb r0, [r4, #0xf] - cmp r2, #0xf - bhi _08022F46 - adds r1, r4, #0 - adds r1, #0x78 - movs r0, #1 - b _08022F4C -_08022F46: - adds r1, r4, #0 - adds r1, #0x78 - movs r0, #0xff -_08022F4C: - strb r0, [r1] -_08022F4E: - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - movs r1, #0xff - lsls r0, r0, #0x18 - cmp r0, #0 - bne _08022F9E - movs r0, #4 - strb r0, [r4, #0xe] - ldrb r0, [r4, #0xf] - subs r0, #1 - strb r0, [r4, #0xf] - ands r0, r1 - adds r5, r4, #0 - adds r5, #0x78 - cmp r0, #0 - bne _08022F84 - movs r0, #8 - strb r0, [r4, #0xf] - bl Random - ldr r2, _08022FA0 @ =gUnk_080CBBC4 - movs r1, #1 - ands r1, r0 - adds r1, r1, r2 - ldrb r0, [r1] - strb r0, [r5] -_08022F84: - ldrb r0, [r5] - ldrb r1, [r4, #0x15] - adds r0, r0, r1 - movs r1, #0x1f - ands r0, r1 - strb r0, [r4, #0x15] - ldrb r0, [r4, #0x15] - adds r0, #2 - movs r1, #0x1c - ands r0, r1 - asrs r0, r0, #2 - strb r0, [r4, #0x14] - strb r0, [r4, #0x1e] -_08022F9E: - pop {r4, r5, pc} - .align 2, 0 -_08022FA0: .4byte gUnk_080CBBC4 diff --git a/asm/non_matching/acroBandits/sub_08031C58.inc b/asm/non_matching/acroBandits/sub_08031C58.inc deleted file mode 100644 index 8d93c546..00000000 --- a/asm/non_matching/acroBandits/sub_08031C58.inc +++ /dev/null @@ -1,136 +0,0 @@ - - .syntax unified - - .text - - push {r4, r5, r6, r7, lr} - mov r7, sb - mov r6, r8 - push {r6, r7} - adds r7, r0, #0 - bl GetNextFrame - adds r3, r7, #0 - adds r3, #0x5a - ldrb r1, [r3] - movs r0, #0x80 - ands r0, r1 - lsls r0, r0, #0x18 - lsrs r2, r0, #0x18 - cmp r2, #0 - beq _08031D54 - ldr r0, _08031D50 @ =gEntCount - ldrb r0, [r0] - cmp r0, #0x42 - bhi _08031D66 - bl Random - adds r6, r0, #0 - movs r0, #3 - mov sb, r0 - ands r6, r0 - movs r0, #0x2e - movs r1, #1 - bl CreateEnemy - adds r4, r0, #0 - movs r0, #0 - mov r8, r0 - mov r0, r8 - strb r0, [r4, #0xb] - mov r0, r8 - str r0, [r4, #0x50] - adds r0, r4, #0 - adds r0, #0x74 - strb r6, [r0] - adds r0, r7, #0 - adds r1, r4, #0 - bl sub_08031E48 - movs r0, #0x2e - movs r1, #1 - bl CreateEnemy - adds r5, r0, #0 - str r5, [r4, #0x54] - movs r0, #1 - strb r0, [r5, #0xb] - str r4, [r5, #0x50] - adds r0, r5, #0 - adds r0, #0x74 - strb r6, [r0] - adds r0, r7, #0 - adds r1, r5, #0 - bl sub_08031E48 - movs r0, #0x2e - movs r1, #1 - bl CreateEnemy - adds r4, r0, #0 - str r4, [r5, #0x54] - movs r0, #2 - strb r0, [r4, #0xb] - str r5, [r4, #0x50] - adds r0, r4, #0 - adds r0, #0x74 - strb r6, [r0] - adds r0, r7, #0 - adds r1, r4, #0 - bl sub_08031E48 - movs r0, #0x2e - movs r1, #1 - bl CreateEnemy - adds r5, r0, #0 - str r5, [r4, #0x54] - mov r0, sb - strb r0, [r5, #0xb] - str r4, [r5, #0x50] - adds r0, r5, #0 - adds r0, #0x74 - strb r6, [r0] - adds r0, r7, #0 - adds r1, r5, #0 - bl sub_08031E48 - movs r0, #0x2e - movs r1, #1 - bl CreateEnemy - adds r1, r0, #0 - str r1, [r5, #0x54] - movs r0, #4 - strb r0, [r1, #0xb] - str r5, [r1, #0x50] - mov r0, r8 - str r0, [r1, #0x54] - adds r0, r1, #0 - adds r0, #0x74 - strb r6, [r0] - adds r0, r7, #0 - bl sub_08031E48 - movs r0, #6 - strb r0, [r7, #0xc] - movs r0, #0x14 - strb r0, [r7, #0xe] - adds r2, r7, #0 - adds r2, #0x29 - ldrb r0, [r2] - movs r1, #7 - orrs r0, r1 - strb r0, [r2] - adds r0, r7, #0 - movs r1, #7 - bl InitializeAnimation - b _08031D66 - .align 2, 0 -_08031D50: .4byte gEntCount -_08031D54: - movs r0, #1 - ands r0, r1 - cmp r0, #0 - beq _08031D66 - strb r2, [r3] - ldrb r1, [r7, #0x10] - movs r0, #0x7f - ands r0, r1 - strb r0, [r7, #0x10] -_08031D66: - pop {r3, r4} - mov r8, r3 - mov sb, r4 - pop {r4, r5, r6, r7, pc} - .align 2, 0 - .syntax divided - \ No newline at end of file diff --git a/asm/non_matching/acroBandits/sub_08031E04.inc b/asm/non_matching/acroBandits/sub_08031E04.inc deleted file mode 100644 index 464f2572..00000000 --- a/asm/non_matching/acroBandits/sub_08031E04.inc +++ /dev/null @@ -1,41 +0,0 @@ - - .syntax unified - - .text - - push {r4, lr} - adds r4, r0, #0 - movs r0, #1 - bl sub_08049DF4 - adds r2, r0, #0 - cmp r2, #0 - beq _08031E44 - adds r0, r4, #0 - adds r0, #0x5a - ldrb r0, [r0] - movs r3, #6 - ands r3, r0 - ldr r0, _08031E40 @ =gUnk_080CE5C0 - adds r3, r3, r0 - movs r0, #0x2e - ldrsh r1, [r2, r0] - movs r0, #0 - ldrsb r0, [r3, r0] - adds r1, r1, r0 - movs r0, #0x32 - ldrsh r2, [r2, r0] - movs r0, #1 - ldrsb r0, [r3, r0] - adds r2, r2, r0 - adds r0, r4, #0 - movs r3, #0x50 - bl sub_0806FCB8 - b _08031E46 - .align 2, 0 -_08031E40: .4byte gUnk_080CE5C0 -_08031E44: - movs r0, #0 -_08031E46: - pop {r4, pc} - .syntax divided - \ No newline at end of file diff --git a/asm/non_matching/darkNut/sub_08021274.inc b/asm/non_matching/darkNut/sub_08021274.inc new file mode 100644 index 00000000..9809b641 --- /dev/null +++ b/asm/non_matching/darkNut/sub_08021274.inc @@ -0,0 +1,43 @@ + .include "asm/macros.inc" + + .include "constants/constants.inc" + + .syntax unified + + .text + + push {lr} + adds r2, r0, #0 + movs r0, #7 + ands r0, r1 + subs r0, #3 + cmp r0, #2 + bhi _0802129A + movs r3, #0x18 + adds r0, r1, #0 + ands r0, r3 + lsrs r0, r0, #3 + cmp r0, r2 + beq _080212AA + adds r0, r1, #0 + adds r0, #8 + ands r0, r3 + lsrs r0, r0, #3 + cmp r0, r2 + beq _080212AA +_0802129A: + adds r0, r1, #4 + movs r1, #0x18 + ands r0, r1 + lsrs r1, r0, #3 + cmp r2, r1 + beq _080212AA + adds r0, r1, #0 + b _080212AC +_080212AA: + movs r0, #0xff +_080212AC: + pop {pc} + .align 2, 0 + + .syntax divided diff --git a/asm/non_matching/forestMinish/sub_08060158.inc b/asm/non_matching/forestMinish/sub_08060158.inc deleted file mode 100644 index 92ec5d85..00000000 --- a/asm/non_matching/forestMinish/sub_08060158.inc +++ /dev/null @@ -1,72 +0,0 @@ - .include "asm/macros.inc" - - .include "constants/constants.inc" - - .syntax unified - - .text - - push {r4, r5, r6, r7, lr} - adds r4, r0, #0 - ldrb r0, [r4, #0xe] - adds r7, r0, #0 - cmp r7, #0 - beq _0806016A - subs r0, #1 - strb r0, [r4, #0xe] - b _080601CC -_0806016A: - movs r0, #2 - strb r0, [r4, #0xe] - adds r0, r4, #0 - movs r1, #0x20 - movs r2, #0x20 - bl sub_0806EDD8 - adds r3, r0, #0 - cmp r3, #0 - bge _08060188 - adds r0, r4, #0 - adds r0, #0x69 - ldrb r0, [r0] - strb r0, [r4, #0x14] - lsls r3, r0, #2 -_08060188: - ldrb r0, [r4, #0x14] - lsrs r0, r0, #1 - lsls r0, r0, #5 - asrs r1, r3, #1 - lsls r1, r1, #1 - ldr r2, _080601D0 @ =gUnk_08109C98 - adds r1, r1, r2 - adds r0, r0, r1 - ldrb r6, [r0] - ldrb r5, [r0, #1] - movs r0, #0x80 - ands r0, r5 - cmp r0, #0 - beq _080601AC - adds r0, r3, #0 - bl sub_0806F5B0 - strb r0, [r4, #0x14] -_080601AC: - movs r0, #0x7f - ands r5, r0 - adds r0, r4, #0 - adds r0, #0x5a - strb r6, [r0] - strb r5, [r4, #0x1e] - adds r1, r4, #0 - adds r1, #0x5b - movs r0, #1 - strb r0, [r1] - adds r0, r4, #0 - adds r0, #0x58 - strb r7, [r0] - subs r1, #2 - movs r0, #0xf0 - strb r0, [r1] -_080601CC: - pop {r4, r5, r6, r7, pc} - .align 2, 0 -_080601D0: .4byte gUnk_08109C98 - .syntax divided \ No newline at end of file diff --git a/asm/non_matching/manager15/sub_0805A9CC.inc b/asm/non_matching/manager15/sub_0805A9CC.inc new file mode 100644 index 00000000..a5953bf2 --- /dev/null +++ b/asm/non_matching/manager15/sub_0805A9CC.inc @@ -0,0 +1,75 @@ +sub_0805A9CC: @ 0x0805A9CC + push {r4, r5, lr} + add r4, r0, #0 + ldr r3, _0805AA4C @ =gScreen + ldr r5, _0805AA50 @ =gRoomControls + ldrh r0, [r5, #0xa] + ldrh r1, [r4, #0x24] + sub r0, r0, r1 + ldrh r1, [r4, #0x34] + add r0, r0, r1 + strh r0, [r3, #0x2e] + mov r2, #0x2e + ldrsh r0, [r3, r2] + neg r2, r0 + mov r0, #0x80 + lsl r0, r0, #1 + add r1, r2, r0 + cmp r2, #0 + bge _0805A9F2 + mov r2, #0 +_0805A9F2: + cmp r2, #0xf0 + ble _0805A9F8 + mov r2, #0xf0 +_0805A9F8: + cmp r1, #0 + bge _0805A9FE + mov r1, #0 +_0805A9FE: + cmp r1, #0xf0 + ble _0805AA04 + mov r1, #0xf0 +_0805AA04: + lsl r0, r2, #8 + orr r0, r1 + add r1, r3, #0 + add r1, #0x5a + strh r0, [r1] + mov r1, #0xc + ldrsh r0, [r5, r1] + ldrh r1, [r4, #0x26] + sub r0, r0, r1 + mov r2, #0x36 + ldrsh r1, [r4, r2] + add r2, r0, r1 + mov r1, #0x3f + add r0, r2, #0 + and r0, r1 + strh r0, [r3, #0x30] + add r0, r2, #0 + cmp r0, #0 + bge _0805AA2C + add r0, #0x3f +_0805AA2C: + asr r0, r0, #6 + lsl r0, r0, #9 + ldr r1, _0805AA54 @ =gUnk_02001A40 + add r1, r0, r1 + str r1, [r3, #0x34] + add r2, r3, #0 + add r2, #0x5e + mov r0, #0xa0 + strh r0, [r2] + ldr r0, [r4, #0x28] + cmp r0, r1 + beq _0805AA4A + str r1, [r4, #0x28] + mov r0, #1 + strh r0, [r3, #0x32] +_0805AA4A: + pop {r4, r5, pc} + .align 2, 0 +_0805AA4C: .4byte gScreen +_0805AA50: .4byte gRoomControls +_0805AA54: .4byte gUnk_02001A40 diff --git a/asm/non_matching/moldorm/sub_08022E40.inc b/asm/non_matching/moldorm/sub_08022E40.inc new file mode 100644 index 00000000..a4f2d937 --- /dev/null +++ b/asm/non_matching/moldorm/sub_08022E40.inc @@ -0,0 +1,62 @@ + + .syntax unified + + .text + + push {r4, r5, lr} + adds r4, r0, #0 + ldrh r1, [r4, #0x2e] + adds r0, #0x74 + strh r1, [r0] + ldrh r0, [r4, #0x32] + adds r1, r4, #0 + adds r1, #0x76 + strh r0, [r1] + ldr r2, [r4, #0x50] + adds r2, #0x79 + ldrb r0, [r2] + adds r0, #1 + movs r3, #7 + ands r0, r3 + adds r0, #0x7c + adds r0, r4, r0 + ldrb r1, [r0] + movs r0, #0xf + ands r0, r1 + subs r0, #8 + lsrs r1, r1, #4 + lsls r0, r0, #0x18 + asrs r0, r0, #0x18 + ldrh r5, [r4, #0x2e] + adds r0, r0, r5 + strh r0, [r4, #0x2e] + subs r1, #8 + ldrh r0, [r4, #0x32] + adds r1, r1, r0 + strh r1, [r4, #0x32] + adds r1, r4, #0 + adds r1, #0x84 + ldrb r0, [r2] + adds r0, #1 + ands r0, r3 + lsls r0, r0, #2 + ldr r1, [r1] + lsrs r1, r0 + movs r0, #7 + ands r1, r0 + strb r1, [r4, #0x14] + ldrb r0, [r4, #0xa] + cmp r0, #3 + bne _08022EA2 + adds r0, r1, #0 + adds r0, #0xa + strb r0, [r4, #0x1e] + b _08022EA8 +_08022EA2: + adds r0, r4, #0 + bl sub_08022EAC +_08022EA8: + pop {r4, r5, pc} + .align 2, 0 + + .syntax divided diff --git a/asm/non_matching/moldorm/sub_08022EAC.inc b/asm/non_matching/moldorm/sub_08022EAC.inc new file mode 100644 index 00000000..ca3bce96 --- /dev/null +++ b/asm/non_matching/moldorm/sub_08022EAC.inc @@ -0,0 +1,60 @@ + + .syntax unified + + .text + + push {r4, r5, lr} + mov ip, r0 + ldr r1, [r0, #0x54] + cmp r1, #0 + beq _08022F12 + ldr r0, [r0, #0x50] + adds r0, #0x79 + ldrb r0, [r0] + movs r4, #7 + adds r3, r4, #0 + ands r3, r0 + adds r3, r3, r1 + adds r3, #0x7c + mov r0, ip + ldrh r1, [r0, #0x2e] + adds r0, #0x74 + ldrb r0, [r0] + subs r1, r1, r0 + adds r1, #8 + movs r5, #0xf + ands r1, r5 + mov r2, ip + ldrh r0, [r2, #0x32] + adds r2, #0x76 + ldrb r2, [r2] + subs r0, r0, r2 + adds r0, #8 + ands r0, r5 + lsls r0, r0, #4 + adds r1, r1, r0 + strb r1, [r3] + mov r1, ip + ldr r0, [r1, #0x50] + adds r0, #0x79 + ldrb r1, [r0] + adds r0, r4, #0 + ands r0, r1 + lsls r0, r0, #2 + mov r2, ip + ldrb r1, [r2, #0x14] + ands r4, r1 + lsls r4, r0 + movs r2, #0xf + lsls r2, r0 + mov r0, ip + ldr r1, [r0, #0x54] + adds r1, #0x84 + ldr r0, [r1] + bics r0, r2 + orrs r4, r0 + str r4, [r1] +_08022F12: + pop {r4, r5, pc} + + .syntax divided diff --git a/asm/non_matching/railtrack/sub_08085394.inc b/asm/non_matching/railtrack/sub_08085394.inc deleted file mode 100644 index 9a2ba760..00000000 --- a/asm/non_matching/railtrack/sub_08085394.inc +++ /dev/null @@ -1,87 +0,0 @@ - .include "asm/macros.inc" - - .include "constants/constants.inc" - - .syntax unified - - .text - - push {r4, r5, r6, r7, lr} - mov r7, sl - mov r6, sb - mov r5, r8 - push {r5, r6, r7} - adds r7, r0, #0 - ldr r0, _08085430 @ =gUnk_081205E0 - ldrb r2, [r7, #0x14] - lsrs r2, r2, #1 - lsls r2, r2, #1 - adds r0, r2, r0 - ldrh r0, [r0] - mov sl, r0 - ldr r0, _08085434 @ =gUnk_080B4488 - adds r2, r2, r0 - ldr r0, [r7, #0x70] - mov sb, r0 - movs r1, #0x2e - ldrsh r4, [r7, r1] - ldr r1, _08085438 @ =gRoomControls - ldrh r0, [r1, #6] - subs r4, r4, r0 - asrs r4, r4, #4 - movs r3, #0x3f - ands r4, r3 - movs r5, #0x32 - ldrsh r0, [r7, r5] - ldrh r1, [r1, #8] - subs r0, r0, r1 - asrs r0, r0, #4 - ands r0, r3 - lsls r0, r0, #6 - orrs r4, r0 - ldrb r2, [r2] - lsls r2, r2, #0x18 - asrs r2, r2, #0x18 - mov r8, r2 - lsls r5, r2, #1 - mov r1, sb - subs r0, r1, r5 - ldrh r1, [r0] - adds r0, r7, #0 - adds r0, #0x74 - strh r1, [r0] - subs r1, r4, r2 - adds r6, r7, #0 - adds r6, #0x38 - ldrb r2, [r6] - mov r0, sl - bl SetTile - mov r1, sb - ldrh r0, [r1] - adds r1, r7, #0 - adds r1, #0x76 - strh r0, [r1] - ldrb r2, [r6] - mov r0, sl - adds r1, r4, #0 - bl SetTile - add r5, sb - ldrh r1, [r5] - adds r0, r7, #0 - adds r0, #0x78 - strh r1, [r0] - add r4, r8 - ldrb r2, [r6] - mov r0, sl - adds r1, r4, #0 - bl SetTile - pop {r3, r4, r5} - mov r8, r3 - mov sb, r4 - mov sl, r5 - pop {r4, r5, r6, r7, pc} - .align 2, 0 -_08085430: .4byte gUnk_081205E0 -_08085434: .4byte gUnk_080B4488 -_08085438: .4byte gRoomControls - .syntax divided \ No newline at end of file diff --git a/asm/non_matching/smith/smith.inc b/asm/non_matching/smith/smith.inc deleted file mode 100644 index c2997056..00000000 --- a/asm/non_matching/smith/smith.inc +++ /dev/null @@ -1,119 +0,0 @@ - .include "asm/macros.inc" - - .include "constants/constants.inc" - - .syntax unified - - .text - - push {r4, r5, r6, lr} - adds r4, r0, #0 - ldrb r1, [r4, #0x10] - movs r0, #2 - ands r0, r1 - cmp r0, #0 - beq _08066028 - adds r2, r4, #0 - adds r2, #0x39 - movs r0, #0 - ldrsb r0, [r2, r0] - adds r6, r4, #0 - adds r6, #0x58 - cmp r0, #2 - bne _0806600C - movs r0, #0 - movs r1, #4 - strb r1, [r4, #0xc] - strb r0, [r2] - ldrb r0, [r6] - movs r5, #0 - cmp r0, #0xc - bne _08065FF0 - movs r5, #8 -_08065FF0: - ldr r1, _08066020 @ =gPlayerEntity - adds r0, r4, #0 - bl GetFacingDirection - bl sub_0806F5A4 - adds r5, r5, r0 - adds r0, r4, #0 - adds r1, r5, #0 - bl InitAnimationForceUpdate - adds r0, r4, #0 - bl sub_0806F118 -_0806600C: - ldr r0, _08066024 @ =gUnk_0811036C - ldrb r1, [r4, #0xc] - lsls r1, r1, #2 - adds r1, r1, r0 - ldr r1, [r1] - adds r0, r4, #0 - bl _call_via_r1 - b _08066042 - .align 2, 0 -_08066020: .4byte gPlayerEntity -_08066024: .4byte gUnk_0811036C -_08066028: - ldr r0, _08066058 @ =gUnk_08110360 - ldrb r1, [r4, #0xc] - lsls r1, r1, #2 - adds r1, r1, r0 - ldr r1, [r1] - adds r0, r4, #0 - bl _call_via_r1 - adds r0, r4, #0 - bl sub_0806ED78 - adds r6, r4, #0 - adds r6, #0x58 -_08066042: - ldrb r0, [r6] - cmp r0, #0xc - bne _0806605C - adds r2, r4, #0 - adds r2, #0x29 - ldrb r1, [r2] - movs r0, #0x39 - rsbs r0, r0, #0 - ands r0, r1 - strb r0, [r2] - b _0806606E - .align 2, 0 -_08066058: .4byte gUnk_08110360 -_0806605C: - adds r2, r4, #0 - adds r2, #0x29 - ldrb r0, [r2] - movs r1, #0x39 - rsbs r1, r1, #0 - ands r1, r0 - movs r0, #8 - orrs r1, r0 - strb r1, [r2] -_0806606E: - adds r2, r4, #0 - adds r2, #0x5a - ldrb r1, [r2] - movs r0, #1 - ands r0, r1 - cmp r0, #0 - beq _080660A0 - movs r0, #0xfe - ands r0, r1 - strb r0, [r2] - adds r0, r4, #0 - movs r1, #0x3d - movs r2, #0x20 - bl CreateFx - ldr r4, _080660A4 @ =gUnk_08110380 - bl Random - movs r1, #7 - ands r1, r0 - lsls r1, r1, #1 - adds r1, r1, r4 - ldrh r0, [r1] - bl PlaySFX -_080660A0: - pop {r4, r5, r6, pc} - .align 2, 0 -_080660A4: .4byte gUnk_08110380 - .syntax divided \ No newline at end of file diff --git a/asm/non_matching/sub_08054524.inc b/asm/non_matching/sub_08054524.inc index fd079ac9..018cb569 100644 --- a/asm/non_matching/sub_08054524.inc +++ b/asm/non_matching/sub_08054524.inc @@ -20,7 +20,7 @@ _0805453A: adds r0, r0, r1 ldr r1, _08054560 @ =gUnk_02034398 movs r2, #0x20 - bl sub_0801D66C + bl _DmaCopy pop {pc} .align 2, 0 _08054550: .4byte gArea diff --git a/asm/object35.s b/asm/object35.s index f99aae2c..586fc402 100644 --- a/asm/object35.s +++ b/asm/object35.s @@ -356,7 +356,7 @@ _0808BAEA: strb r4, [r2, #0x1e] _0808BAFC: adds r0, r2, #0 - bl sub_080A29BC + bl CreateDust pop {r4, pc} thumb_func_start sub_0808BB04 diff --git a/asm/object6A.s b/asm/object6A.s index dedb6152..d8eb941e 100644 --- a/asm/object6A.s +++ b/asm/object6A.s @@ -211,7 +211,7 @@ sub_08094B94: @ 0x08094B94 adds r1, #0x84 str r0, [r1] adds r0, r4, #0 - bl sub_080A29BC + bl CreateDust ldrh r0, [r4, #0x36] adds r0, #0x10 strh r0, [r4, #0x36] @@ -1692,7 +1692,7 @@ _0809572C: adds r0, #0x6c adds r1, r4, #0 movs r2, #0x1c - bl sub_0801D66C + bl _DmaCopy ldrh r0, [r4, #0x14] strh r0, [r5, #0x2e] ldrh r0, [r4, #0x16] diff --git a/asm/object91.s b/asm/object91.s index faa013cd..fff595ca 100644 --- a/asm/object91.s +++ b/asm/object91.s @@ -470,7 +470,7 @@ _0809C74A: cmp r0, #0 bne _0809C772 ldr r0, [r5, #0x54] - bl sub_080A2B80 + bl CreateSparkle _0809C772: adds r3, r5, #0 adds r3, #0x7e diff --git a/asm/objectB2.s b/asm/objectB2.s deleted file mode 100644 index 6b752af2..00000000 --- a/asm/objectB2.s +++ /dev/null @@ -1,79 +0,0 @@ - .include "asm/macros.inc" - - .include "constants/constants.inc" - - .syntax unified - - .text - - - thumb_func_start ObjectB2 -ObjectB2: @ 0x080A09A4 - push {r4, lr} - adds r4, r0, #0 - ldrb r0, [r4, #0xc] - cmp r0, #0 - bne _080A09D4 - movs r0, #1 - strb r0, [r4, #0xc] - movs r0, #0x10 - strb r0, [r4, #0xe] - ldrb r0, [r4, #0xa] - lsls r0, r0, #3 - strb r0, [r4, #0x15] - adds r0, r4, #0 - adds r0, #0x38 - ldrb r0, [r0] - ldr r1, _080A0A2C @ =gUnk_02027EB4 - cmp r0, #2 - bne _080A09CA - ldr r1, _080A0A30 @ =gUnk_0200D654 -_080A09CA: - str r1, [r4, #0x54] - ldrb r1, [r4, #0xa] - adds r0, r4, #0 - bl InitializeAnimation -_080A09D4: - ldr r0, [r4, #0x50] - ldrh r0, [r0, #0x24] - strh r0, [r4, #0x24] - adds r0, r4, #0 - bl sub_0806F69C - ldr r0, [r4, #0x54] - movs r2, #0x2e - ldrsh r1, [r4, r2] - movs r3, #0x32 - ldrsh r2, [r4, r3] - movs r3, #9 - bl sub_080AE4CC - cmp r0, #0 - beq _080A09F8 - bl DeleteThisEntity -_080A09F8: - movs r1, #0x24 - ldrsh r0, [r4, r1] - cmp r0, #0x40 - bgt _080A0A22 - ldrb r2, [r4, #0x18] - lsls r1, r2, #0x1e - lsrs r1, r1, #0x1e - movs r0, #1 - eors r1, r0 - subs r0, #5 - ands r0, r2 - orrs r0, r1 - strb r0, [r4, #0x18] - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _080A0A22 - bl DeleteThisEntity -_080A0A22: - adds r0, r4, #0 - bl GetNextFrame - pop {r4, pc} - .align 2, 0 -_080A0A2C: .4byte gUnk_02027EB4 -_080A0A30: .4byte gUnk_0200D654 diff --git a/asm/octorok.s b/asm/octorok.s deleted file mode 100644 index 2a2de200..00000000 --- a/asm/octorok.s +++ /dev/null @@ -1,246 +0,0 @@ - .include "asm/macros.inc" - - .include "constants/constants.inc" - - .syntax unified - - .text - - thumb_func_start sub_0801EC2C -sub_0801EC2C: @ 0x0801EC2C - push {r4, r5, lr} - adds r5, r0, #0 - bl sub_080AEF88 - adds r0, r5, #0 - bl GetNextFrame - ldrb r0, [r5, #0xe] - subs r0, #1 - strb r0, [r5, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _0801EC7E - adds r0, r5, #0 - bl sub_0801EDEC - cmp r0, #0 - beq _0801EC78 - ldr r1, _0801EC74 @ =gUnk_080CA174 - ldrb r0, [r5, #0xa] - adds r0, r0, r1 - ldrb r4, [r0] - bl Random - movs r1, #3 - ands r0, r1 - cmp r4, r0 - bhi _0801EC78 - strb r1, [r5, #0xc] - ldrb r1, [r5, #0x14] - adds r1, #4 - adds r0, r5, #0 - bl InitializeAnimation - b _0801EC7E - .align 2, 0 -_0801EC74: .4byte gUnk_080CA174 -_0801EC78: - adds r0, r5, #0 - bl sub_0801ECFC -_0801EC7E: - pop {r4, r5, pc} - - thumb_func_start sub_0801EC80 -sub_0801EC80: @ 0x0801EC80 - push {r4, r5, lr} - adds r4, r0, #0 - bl GetNextFrame - adds r5, r4, #0 - adds r5, #0x5a - ldrb r1, [r5] - movs r0, #1 - ands r0, r1 - cmp r0, #0 - beq _0801ECD8 - adds r0, r4, #0 - movs r1, #1 - movs r2, #0 - bl sub_0804A98C - adds r2, r0, #0 - cmp r2, #0 - beq _0801ECD8 - ldrb r0, [r4, #0x15] - strb r0, [r2, #0x15] - ldrb r1, [r4, #0x15] - lsrs r1, r1, #2 - ldr r0, _0801ECF0 @ =gUnk_080CA176 - adds r1, r1, r0 - movs r0, #0 - ldrsb r0, [r1, r0] - ldrh r3, [r2, #0x2e] - adds r0, r0, r3 - strh r0, [r2, #0x2e] - movs r0, #1 - ldrsb r0, [r1, r0] - ldrh r1, [r2, #0x32] - adds r0, r0, r1 - strh r0, [r2, #0x32] - ldr r0, _0801ECF4 @ =0x0000FFFD - strh r0, [r2, #0x36] - ldrb r1, [r5] - movs r0, #0xfe - ands r0, r1 - strb r0, [r5] - ldr r0, _0801ECF8 @ =0x0000018D - bl sub_08004488 -_0801ECD8: - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _0801ECEC - adds r0, r4, #0 - bl sub_0801ECFC -_0801ECEC: - pop {r4, r5, pc} - .align 2, 0 -_0801ECF0: .4byte gUnk_080CA176 -_0801ECF4: .4byte 0x0000FFFD -_0801ECF8: .4byte 0x0000018D - - thumb_func_start sub_0801ECFC -sub_0801ECFC: @ 0x0801ECFC - push {r4, lr} - adds r4, r0, #0 - movs r0, #1 - strb r0, [r4, #0xc] - bl Random - movs r1, #0x38 - ands r0, r1 - adds r0, #0x18 - strb r0, [r4, #0xe] - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_0801ED14 -sub_0801ED14: @ 0x0801ED14 - push {r4, r5, lr} - adds r5, r0, #0 - ldrb r0, [r5, #0xa] - cmp r0, #2 - beq _0801ED7E - adds r0, r5, #0 - bl sub_08049FA0 - cmp r0, #0 - beq _0801ED4C - ldrb r0, [r5, #0xa] - cmp r0, #1 - bne _0801ED46 - bl Random - movs r1, #3 - ands r1, r0 - cmp r1, #0 - bne _0801ED46 - adds r0, r5, #0 - movs r1, #1 - bl sub_08049FDC - cmp r0, #0 - bne _0801EDC4 -_0801ED46: - bl Random - b _0801EDD0 -_0801ED4C: - bl Random - movs r1, #3 - ands r1, r0 - cmp r1, #0 - beq _0801ED78 - adds r0, r5, #0 - bl sub_08049EE4 - adds r4, r0, #0 - bl Random - ldr r2, _0801ED74 @ =gUnk_080CA17E - movs r1, #1 - ands r1, r0 - adds r1, r1, r2 - ldrb r0, [r1] - adds r0, r0, r4 - b _0801EDD0 - .align 2, 0 -_0801ED74: .4byte gUnk_080CA17E -_0801ED78: - bl Random - b _0801EDD0 -_0801ED7E: - adds r0, r5, #0 - movs r1, #1 - bl sub_08049FDC - cmp r0, #0 - bne _0801EDC4 - adds r0, r5, #0 - bl sub_08049FA0 - cmp r0, #0 - beq _0801ED9A - bl Random - b _0801EDD0 -_0801ED9A: - bl Random - movs r1, #3 - ands r1, r0 - cmp r1, #0 - beq _0801EDC4 - adds r0, r5, #0 - bl sub_08049EE4 - adds r4, r0, #0 - bl Random - ldr r2, _0801EDC0 @ =gUnk_080CA17E - movs r1, #1 - ands r1, r0 - adds r1, r1, r2 - ldrb r0, [r1] - adds r0, r0, r4 - b _0801EDD0 - .align 2, 0 -_0801EDC0: .4byte gUnk_080CA17E -_0801EDC4: - ldr r0, _0801EDE8 @ =gUnk_020000B0 - ldr r1, [r0] - adds r0, r5, #0 - bl GetFacingDirection - adds r0, #4 -_0801EDD0: - movs r1, #0x18 - ands r0, r1 - strb r0, [r5, #0x15] - ldrb r0, [r5, #0x15] - lsrs r0, r0, #3 - strb r0, [r5, #0x14] - ldrb r1, [r5, #0x14] - adds r0, r5, #0 - bl InitializeAnimation - pop {r4, r5, pc} - .align 2, 0 -_0801EDE8: .4byte gUnk_020000B0 - - thumb_func_start sub_0801EDEC -sub_0801EDEC: @ 0x0801EDEC - push {r4, lr} - adds r4, r0, #0 - movs r0, #1 - bl sub_08049DF4 - adds r1, r0, #0 - cmp r1, #0 - beq _0801EE12 - adds r0, r4, #0 - bl GetFacingDirection - adds r0, #4 - movs r1, #0x18 - ands r0, r1 - ldrb r4, [r4, #0x15] - cmp r0, r4 - bne _0801EE12 - movs r0, #1 - b _0801EE14 -_0801EE12: - movs r0, #0 -_0801EE14: - pop {r4, pc} - .align 2, 0 diff --git a/asm/octorok/sub_0801EBC8.inc b/asm/octorok/sub_0801EBC8.inc deleted file mode 100644 index f0b3286c..00000000 --- a/asm/octorok/sub_0801EBC8.inc +++ /dev/null @@ -1,28 +0,0 @@ - .include "asm/macros.inc" - - .include "constants/constants.inc" - - .text - - .syntax unified - push {r4, lr} - adds r4, r0, #0 - bl sub_0804A720 - ldrb r0, [r4, #0xa] - cmp r0, #2 - beq _0801EBDE - bl Random - movs r1, #3 - ands r0, r1 -_0801EBDE: - strb r0, [r4, #0x14] - movs r0, #0x12 - strb r0, [r4, #0x1c] - adds r0, r4, #0 - bl sub_0801ECFC - ldrb r1, [r4, #0x14] - adds r0, r4, #0 - bl InitializeAnimation - pop {r4, pc} - .syntax divided - \ No newline at end of file diff --git a/asm/octorokBoss.s b/asm/octorokBoss.s index d713b2b4..a6043de6 100644 --- a/asm/octorokBoss.s +++ b/asm/octorokBoss.s @@ -1233,7 +1233,7 @@ _08035B18: movs r2, #0x18 rsbs r2, r2, #0 movs r1, #0xc - bl sub_080A2CFC + bl CreateSpeechBubbleExclamationMark _08035B2C: pop {pc} .align 2, 0 diff --git a/asm/peahat.s b/asm/peahat.s deleted file mode 100644 index 35197070..00000000 --- a/asm/peahat.s +++ /dev/null @@ -1,928 +0,0 @@ - .include "asm/macros.inc" - - .include "constants/constants.inc" - - .syntax unified - - .text - - - thumb_func_start Peahat -Peahat: @ 0x0801FF5C - push {r4, lr} - adds r4, r0, #0 - ldrb r0, [r4, #0xa] - cmp r0, #0 - bne _0801FF84 - ldr r1, _0801FF80 @ =gUnk_080CA570 - adds r0, r4, #0 - bl EnemyFunctionHandler - movs r3, #0x10 - rsbs r3, r3, #0 - adds r0, r4, #0 - movs r1, #0 - movs r2, #1 - bl SetChildOffset - b _0801FF94 - .align 2, 0 -_0801FF80: .4byte gUnk_080CA570 -_0801FF84: - ldr r0, _0801FF98 @ =gUnk_080CA588 - ldrb r1, [r4, #0xc] - lsls r1, r1, #2 - adds r1, r1, r0 - ldr r1, [r1] - adds r0, r4, #0 - bl _call_via_r1 -_0801FF94: - pop {r4, pc} - .align 2, 0 -_0801FF98: .4byte gUnk_080CA588 - - thumb_func_start sub_0801FF9C -sub_0801FF9C: @ 0x0801FF9C - push {r4, lr} - adds r4, r0, #0 - ldr r1, _0801FFD4 @ =gUnk_080CA590 - ldrb r0, [r4, #0xc] - lsls r0, r0, #2 - adds r0, r0, r1 - ldr r1, [r0] - adds r0, r4, #0 - bl _call_via_r1 - adds r0, r4, #0 - adds r0, #0x81 - ldrb r0, [r0] - cmp r0, #0 - beq _0801FFD2 - ldr r2, _0801FFD8 @ =gUnk_080CA5B8 - ldrb r1, [r4, #0xf] - adds r0, r1, #1 - strb r0, [r4, #0xf] - movs r0, #0x30 - ands r0, r1 - lsrs r0, r0, #4 - adds r0, r0, r2 - ldrb r0, [r0] - lsls r0, r0, #0x18 - asrs r0, r0, #0x18 - strh r0, [r4, #0x36] -_0801FFD2: - pop {r4, pc} - .align 2, 0 -_0801FFD4: .4byte gUnk_080CA590 -_0801FFD8: .4byte gUnk_080CA5B8 - - thumb_func_start sub_0801FFDC -sub_0801FFDC: @ 0x0801FFDC - push {r4, r5, r6, lr} - adds r4, r0, #0 - adds r6, r4, #0 - adds r6, #0x82 - ldrb r0, [r6] - cmp r0, #0 - beq _08020068 - adds r0, r4, #0 - adds r0, #0x41 - ldrb r1, [r0] - cmp r1, #0x94 - bne _08020018 - movs r0, #3 - movs r1, #1 - bl CreateEnemy - adds r5, r0, #0 - cmp r5, #0 - beq _08020010 - adds r0, r4, #0 - adds r1, r5, #0 - bl CopyPosition - ldrh r0, [r5, #0x36] - subs r0, #8 - strh r0, [r5, #0x36] -_08020010: - movs r0, #0 - strb r0, [r6] - movs r0, #2 - b _0802001E -_08020018: - cmp r1, #0x9b - bne _08020042 - movs r0, #1 -_0802001E: - strb r0, [r4, #0x14] - movs r0, #5 - strb r0, [r4, #0xc] - movs r1, #0 - movs r0, #0x80 - strh r0, [r4, #0x24] - adds r2, r4, #0 - adds r2, #0x3d - movs r0, #0xe2 - strb r0, [r2] - adds r0, r4, #0 - adds r0, #0x81 - strb r1, [r0] - ldrb r1, [r4, #0x14] - adds r0, r4, #0 - bl InitializeAnimation - b _08020068 -_08020042: - cmp r1, #0x80 - bne _08020068 - ldrb r0, [r4, #0x14] - cmp r0, #0 - bne _08020068 - movs r0, #1 - strb r0, [r4, #0xc] - movs r0, #0x1e - strb r0, [r4, #0xe] - strh r1, [r4, #0x24] - movs r0, #0xff - strb r0, [r4, #0x15] - adds r1, r4, #0 - adds r1, #0x83 - movs r0, #0x78 - strb r0, [r1] - adds r0, r4, #0 - bl GetNextFrame -_08020068: - adds r0, r4, #0 - adds r0, #0x43 - ldrb r0, [r0] - cmp r0, #0 - beq _0802007A - adds r0, r4, #0 - movs r1, #0x1c - bl sub_0804A9FC -_0802007A: - ldr r1, _08020084 @ =gUnk_080CA570 - adds r0, r4, #0 - bl sub_0804AA30 - pop {r4, r5, r6, pc} - .align 2, 0 -_08020084: .4byte gUnk_080CA570 - - thumb_func_start sub_08020088 -sub_08020088: @ 0x08020088 - push {r4, lr} - adds r4, r0, #0 - ldrb r0, [r4, #0xd] - cmp r0, #2 - bhi _0802009C - adds r0, r4, #0 - bl sub_0806F520 - cmp r0, #0 - beq _080200AC -_0802009C: - ldr r0, _080200B0 @ =gUnk_080CA5BC - ldrb r1, [r4, #0xd] - lsls r1, r1, #2 - adds r1, r1, r0 - ldr r1, [r1] - adds r0, r4, #0 - bl _call_via_r1 -_080200AC: - pop {r4, pc} - .align 2, 0 -_080200B0: .4byte gUnk_080CA5BC - - thumb_func_start sub_080200B4 -sub_080200B4: @ 0x080200B4 - push {lr} - adds r2, r0, #0 - movs r1, #1 - strb r1, [r2, #0xd] - movs r0, #0x3c - strb r0, [r2, #0x1d] - ldrb r3, [r2, #0x14] - cmp r3, #0 - bne _080200E2 - strb r1, [r2, #0x14] - movs r0, #5 - strb r0, [r2, #0xc] - adds r1, r2, #0 - adds r1, #0x3f - movs r0, #0x71 - strb r0, [r1] - adds r0, r2, #0 - adds r0, #0x81 - strb r3, [r0] - ldrb r1, [r2, #0x14] - adds r0, r2, #0 - bl InitializeAnimation -_080200E2: - pop {pc} - - thumb_func_start sub_080200E4 -sub_080200E4: @ 0x080200E4 - push {lr} - bl sub_0806F4E8 - pop {pc} - - thumb_func_start sub_080200EC -sub_080200EC: @ 0x080200EC - push {lr} - bl sub_0806F3E4 - pop {pc} - - thumb_func_start sub_080200F4 -sub_080200F4: @ 0x080200F4 - ldrb r2, [r0, #0x10] - movs r1, #0x7f - ands r1, r2 - strb r1, [r0, #0x10] - bx lr - .align 2, 0 - - thumb_func_start nullsub_5 -nullsub_5: @ 0x08020100 - bx lr - .align 2, 0 - - thumb_func_start sub_08020104 -sub_08020104: @ 0x08020104 - push {lr} - adds r2, r0, #0 - ldrb r3, [r2, #0x10] - movs r0, #0x80 - ands r0, r3 - lsls r0, r0, #0x18 - lsrs r1, r0, #0x18 - cmp r1, #0 - beq _08020128 - movs r0, #0x80 - orrs r0, r3 - strb r0, [r2, #0x10] - adds r2, #0x3a - ldrb r1, [r2] - movs r0, #0xfb - ands r0, r1 - strb r0, [r2] - b _0802012E -_08020128: - adds r0, r2, #0 - adds r0, #0x45 - strb r1, [r0] -_0802012E: - pop {pc} - - thumb_func_start sub_08020130 -sub_08020130: @ 0x08020130 - push {r4, r5, lr} - adds r4, r0, #0 - bl sub_0804A720 - movs r5, #1 - strb r5, [r4, #0xc] - movs r0, #0x10 - strb r0, [r4, #0xe] - bl Random - strb r0, [r4, #0xf] - bl Random - movs r1, #0x1f - ands r0, r1 - strb r0, [r4, #0x15] - movs r0, #0x12 - strb r0, [r4, #0x1c] - bl Random - ands r0, r5 - movs r1, #0xfe - cmp r0, #0 - beq _08020162 - movs r1, #2 -_08020162: - adds r0, r4, #0 - adds r0, #0x80 - strb r1, [r0] - adds r0, #1 - strb r5, [r0] - adds r0, #1 - strb r5, [r0] - movs r0, #0 - strb r0, [r4, #0x14] - adds r0, r4, #0 - movs r1, #0 - bl InitializeAnimation - pop {r4, r5, pc} - .align 2, 0 - - thumb_func_start sub_08020180 -sub_08020180: @ 0x08020180 - push {r4, r5, lr} - adds r4, r0, #0 - adds r5, r4, #0 - adds r5, #0x83 - ldrb r0, [r5] - cmp r0, #0 - beq _08020192 - subs r0, #1 - strb r0, [r5] -_08020192: - adds r0, r4, #0 - movs r1, #1 - bl sub_08049FDC - cmp r0, #0 - beq _080201D4 - ldrb r0, [r5] - cmp r0, #0 - bne _080201D4 - ldrb r1, [r4, #0xf] - movs r0, #0xf - ands r0, r1 - cmp r0, #0 - bne _080201D4 - ldr r0, _0802021C @ =gUnk_020000B0 - ldr r1, [r0] - adds r0, r4, #0 - movs r2, #0x30 - bl sub_08049F1C - cmp r0, #0 - beq _080201D4 - movs r0, #2 - strb r0, [r4, #0xc] - bl Random - movs r1, #3 - ands r0, r1 - strb r0, [r4, #0xd] - movs r0, #0x3c - strb r0, [r4, #0xe] - movs r0, #0xa0 - strh r0, [r4, #0x24] -_080201D4: - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _0802020C - movs r0, #0x10 - strb r0, [r4, #0xe] - adds r0, r4, #0 - bl sub_08020604 - bl Random - movs r1, #3 - ands r1, r0 - cmp r1, #0 - bne _0802020C - bl Random - movs r1, #1 - ands r1, r0 - movs r2, #0xfe - cmp r1, #0 - beq _08020206 - movs r2, #2 -_08020206: - adds r0, r4, #0 - adds r0, #0x80 - strb r2, [r0] -_0802020C: - adds r0, r4, #0 - bl sub_080AEFE0 - adds r0, r4, #0 - bl GetNextFrame - pop {r4, r5, pc} - .align 2, 0 -_0802021C: .4byte gUnk_020000B0 - - thumb_func_start sub_08020220 -sub_08020220: @ 0x08020220 - push {r4, r5, lr} - adds r5, r0, #0 - movs r1, #1 - bl sub_08049FDC - cmp r0, #0 - beq _08020284 - ldrb r0, [r5, #0xe] - subs r1, r0, #1 - strb r1, [r5, #0xe] - lsls r0, r1, #0x18 - cmp r0, #0 - beq _0802024C - lsrs r0, r0, #0x1c - movs r1, #3 - ands r0, r1 - movs r1, #4 - subs r1, r1, r0 - adds r0, r5, #0 - bl UpdateAnimationVariableFrames - b _08020292 -_0802024C: - movs r0, #3 - strb r0, [r5, #0xc] - movs r0, #0x78 - strb r0, [r5, #0xe] - movs r0, #0xc0 - strh r0, [r5, #0x24] - ldr r0, _0802027C @ =gUnk_020000B0 - ldr r1, [r0] - adds r0, r5, #0 - bl GetFacingDirection - adds r4, r0, #0 - bl Random - ldr r2, _08020280 @ =gUnk_080CA5D4 - movs r1, #1 - ands r1, r0 - adds r1, r1, r2 - ldrb r0, [r1] - adds r0, r0, r4 - movs r1, #0x1f - ands r0, r1 - strb r0, [r5, #0x15] - b _0802028A - .align 2, 0 -_0802027C: .4byte gUnk_020000B0 -_08020280: .4byte gUnk_080CA5D4 -_08020284: - adds r0, r5, #0 - bl sub_080205F8 -_0802028A: - adds r0, r5, #0 - movs r1, #4 - bl UpdateAnimationVariableFrames -_08020292: - pop {r4, r5, pc} - - thumb_func_start sub_08020294 -sub_08020294: @ 0x08020294 - push {r4, lr} - adds r4, r0, #0 - movs r1, #1 - bl sub_08049FDC - cmp r0, #0 - beq _080202F8 - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _080202B4 - adds r0, r4, #0 - bl sub_080205F8 -_080202B4: - ldrb r1, [r4, #0xe] - cmp r1, #0x3c - bls _080202E6 - movs r0, #1 - ands r0, r1 - cmp r0, #0 - beq _080202C8 - ldrh r0, [r4, #0x24] - adds r0, #4 - strh r0, [r4, #0x24] -_080202C8: - ldr r0, _080202F0 @ =gScreenTransition - ldr r0, [r0] - movs r1, #3 - ands r0, r1 - cmp r0, #0 - bne _080202E6 - ldr r0, _080202F4 @ =gUnk_020000B0 - ldr r1, [r0] - adds r0, r4, #0 - bl GetFacingDirection - adds r1, r0, #0 - adds r0, r4, #0 - bl sub_08004596 -_080202E6: - adds r0, r4, #0 - bl sub_080AEFE0 - b _080202FE - .align 2, 0 -_080202F0: .4byte gScreenTransition -_080202F4: .4byte gUnk_020000B0 -_080202F8: - adds r0, r4, #0 - bl sub_080205F8 -_080202FE: - adds r0, r4, #0 - movs r1, #4 - bl UpdateAnimationVariableFrames - pop {r4, pc} - - thumb_func_start sub_08020308 -sub_08020308: @ 0x08020308 - push {r4, lr} - adds r4, r0, #0 - ldrb r0, [r4, #0xe] - subs r1, r0, #1 - strb r1, [r4, #0xe] - lsls r0, r1, #0x18 - cmp r0, #0 - bne _08020332 - movs r0, #1 - strb r0, [r4, #0xc] - strb r0, [r4, #0xe] - movs r0, #0x80 - strh r0, [r4, #0x24] - adds r1, r4, #0 - adds r1, #0x83 - movs r0, #0x78 - strb r0, [r1] - adds r0, r4, #0 - bl GetNextFrame - b _0802034E -_08020332: - movs r0, #1 - ands r1, r0 - cmp r1, #0 - beq _08020340 - ldrh r0, [r4, #0x24] - subs r0, #8 - strh r0, [r4, #0x24] -_08020340: - adds r0, r4, #0 - bl sub_080AEFE0 - adds r0, r4, #0 - movs r1, #4 - bl UpdateAnimationVariableFrames -_0802034E: - pop {r4, pc} - - thumb_func_start sub_08020350 -sub_08020350: @ 0x08020350 - push {r4, lr} - adds r4, r0, #0 - ldrb r0, [r4, #0x14] - cmp r0, #2 - beq _08020398 - movs r1, #0xc0 - lsls r1, r1, #5 - adds r0, r4, #0 - bl sub_080044EC - cmp r0, #0 - bne _0802037C - movs r0, #6 - strb r0, [r4, #0xc] - movs r0, #0xf0 - strb r0, [r4, #0xe] - movs r0, #0xa - strb r0, [r4, #0xf] - adds r1, r4, #0 - adds r1, #0x3f - movs r0, #0x71 - strb r0, [r1] -_0802037C: - ldrb r0, [r4, #0x15] - cmp r0, #0xff - bne _0802038A - adds r0, r4, #0 - adds r0, #0x3e - ldrb r0, [r0] - strb r0, [r4, #0x15] -_0802038A: - adds r0, r4, #0 - bl sub_080AEF88 - adds r0, r4, #0 - bl GetNextFrame - b _080203BE -_08020398: - movs r1, #0xe0 - lsls r1, r1, #5 - adds r0, r4, #0 - bl sub_08003FC4 - movs r1, #0x36 - ldrsh r0, [r4, r1] - cmp r0, #0 - bne _080203BE - movs r0, #7 - strb r0, [r4, #0xc] - movs r0, #0x96 - strb r0, [r4, #0xe] - movs r0, #0xa - strb r0, [r4, #0xf] - adds r1, r4, #0 - adds r1, #0x3f - movs r0, #0x71 - strb r0, [r1] -_080203BE: - pop {r4, pc} - - thumb_func_start sub_080203C0 -sub_080203C0: @ 0x080203C0 - push {r4, lr} - adds r4, r0, #0 - ldrb r0, [r4, #0xf] - cmp r0, #0 - beq _080203DC - subs r0, #1 - strb r0, [r4, #0xf] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _080203DC - adds r0, r4, #0 - movs r1, #0x1c - bl sub_0804A9FC -_080203DC: - adds r0, r4, #0 - bl sub_0800442E - cmp r0, #0 - bne _080203F2 - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _08020418 -_080203F2: - movs r0, #9 - strb r0, [r4, #0xc] - movs r0, #0xc0 - lsls r0, r0, #9 - str r0, [r4, #0x20] - bl Random - movs r1, #0x1f - ands r0, r1 - strb r0, [r4, #0x15] - adds r0, r4, #0 - bl sub_0804AA1C - movs r0, #5 - strb r0, [r4, #0x14] - adds r0, r4, #0 - movs r1, #5 - bl InitializeAnimation -_08020418: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_0802041C -sub_0802041C: @ 0x0802041C - push {r4, lr} - adds r4, r0, #0 - ldrb r0, [r4, #0xf] - cmp r0, #0 - beq _08020438 - subs r0, #1 - strb r0, [r4, #0xf] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _08020438 - adds r0, r4, #0 - movs r1, #0x1c - bl sub_0804A9FC -_08020438: - adds r0, r4, #0 - bl sub_0800442E - cmp r0, #0 - bne _0802044E - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _08020466 -_0802044E: - movs r0, #8 - strb r0, [r4, #0xc] - movs r0, #0xf0 - strb r0, [r4, #0xe] - bl Random - movs r1, #0x1f - ands r0, r1 - strb r0, [r4, #0x15] - adds r0, r4, #0 - bl sub_0804AA1C -_08020466: - pop {r4, pc} - - thumb_func_start sub_08020468 -sub_08020468: @ 0x08020468 - push {r4, r5, lr} - adds r4, r0, #0 - bl GetNextFrame - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _080204A6 - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _080204A2 - movs r0, #9 - strb r0, [r4, #0xc] - movs r0, #0xc0 - lsls r0, r0, #9 - str r0, [r4, #0x20] - movs r0, #4 - strb r0, [r4, #0x14] - adds r0, r4, #0 - movs r1, #4 - bl InitializeAnimation - b _080204A6 -_080204A2: - movs r0, #1 - strb r0, [r4, #0xe] -_080204A6: - adds r5, r4, #0 - adds r5, #0x5a - ldrb r1, [r5] - movs r0, #2 - ands r0, r1 - cmp r0, #0 - beq _080204C4 - movs r0, #0xfd - ands r0, r1 - strb r0, [r5] - bl Random - movs r1, #0x1f - ands r0, r1 - strb r0, [r4, #0x15] -_080204C4: - ldrb r1, [r5] - movs r0, #1 - ands r0, r1 - cmp r0, #0 - beq _080204D6 - adds r0, r4, #0 - bl sub_0800442E - b _080204DC -_080204D6: - adds r0, r4, #0 - bl sub_080AEF88 -_080204DC: - pop {r4, r5, pc} - .align 2, 0 - - thumb_func_start sub_080204E0 -sub_080204E0: @ 0x080204E0 - push {r4, lr} - adds r4, r0, #0 - bl GetNextFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _0802051A - movs r2, #0 - movs r1, #1 - strb r1, [r4, #0xc] - adds r3, r4, #0 - adds r3, #0x3f - movs r0, #0x70 - strb r0, [r3] - adds r0, r4, #0 - adds r0, #0x82 - strb r1, [r0] - subs r0, #1 - strb r1, [r0] - strb r2, [r4, #0x14] - adds r0, r4, #0 - movs r1, #0 - bl InitializeAnimation - b _0802053A -_0802051A: - movs r0, #1 - ands r0, r1 - cmp r0, #0 - beq _0802052A - adds r0, r4, #0 - bl sub_0800442E - b _0802053A -_0802052A: - movs r1, #0xe0 - lsls r1, r1, #5 - adds r0, r4, #0 - bl sub_08003FC4 - adds r0, r4, #0 - bl sub_080AEF88 -_0802053A: - pop {r4, pc} - - thumb_func_start sub_0802053C -sub_0802053C: @ 0x0802053C - push {r4, lr} - adds r4, r0, #0 - movs r1, #1 - movs r0, #1 - strb r0, [r4, #0xc] - movs r0, #0xf0 - strb r0, [r4, #0xe] - movs r0, #0x28 - strb r0, [r4, #0xf] - ldrb r0, [r4, #0x18] - movs r2, #4 - rsbs r2, r2, #0 - ands r2, r0 - orrs r2, r1 - ldrb r3, [r4, #0x19] - movs r1, #0x3f - adds r0, r1, #0 - ands r0, r3 - movs r3, #0x40 - orrs r0, r3 - strb r0, [r4, #0x19] - ldrb r0, [r4, #0x1b] - ands r1, r0 - orrs r1, r3 - strb r1, [r4, #0x1b] - movs r0, #0x31 - rsbs r0, r0, #0 - ands r2, r0 - strb r2, [r4, #0x18] - movs r0, #0x20 - strh r0, [r4, #0x24] - bl Random - movs r1, #0x10 - ands r0, r1 - adds r0, #8 - strb r0, [r4, #0x15] - adds r0, r4, #0 - movs r1, #3 - bl InitializeAnimation - pop {r4, pc} - - thumb_func_start sub_08020590 -sub_08020590: @ 0x08020590 - push {r4, r5, lr} - adds r4, r0, #0 - bl GetNextFrame - ldrb r0, [r4, #0xe] - subs r1, r0, #1 - strb r1, [r4, #0xe] - movs r5, #0xff - lsls r0, r1, #0x18 - cmp r0, #0 - bne _080205AE - adds r0, r4, #0 - bl DeleteEntity - b _080205F2 -_080205AE: - lsls r0, r1, #0x18 - lsrs r0, r0, #0x18 - cmp r0, #0x3b - bhi _080205C8 - ldrb r2, [r4, #0x18] - lsls r1, r2, #0x1e - lsrs r1, r1, #0x1e - movs r0, #1 - eors r1, r0 - subs r0, #5 - ands r0, r2 - orrs r0, r1 - strb r0, [r4, #0x18] -_080205C8: - ldr r0, [r4, #0x34] - ldr r1, _080205F4 @ =0xFFFF4000 - adds r0, r0, r1 - str r0, [r4, #0x34] - adds r0, r4, #0 - bl sub_0806F69C - ldrb r0, [r4, #0xf] - subs r0, #1 - strb r0, [r4, #0xf] - ands r0, r5 - cmp r0, #0 - bne _080205F2 - movs r0, #0x28 - strb r0, [r4, #0xf] - bl Random - movs r1, #0x10 - ands r0, r1 - adds r0, #8 - strb r0, [r4, #0x15] -_080205F2: - pop {r4, r5, pc} - .align 2, 0 -_080205F4: .4byte 0xFFFF4000 - - thumb_func_start sub_080205F8 -sub_080205F8: @ 0x080205F8 - movs r1, #4 - strb r1, [r0, #0xc] - movs r1, #0x3c - strb r1, [r0, #0xe] - bx lr - .align 2, 0 - - thumb_func_start sub_08020604 -sub_08020604: @ 0x08020604 - push {r4, lr} - adds r4, r0, #0 - bl sub_08049FA0 - cmp r0, #0 - bne _08020624 - bl Random - movs r1, #3 - ands r1, r0 - cmp r1, #0 - beq _08020624 - adds r0, r4, #0 - bl sub_08049EE4 - b _08020632 -_08020624: - adds r0, r4, #0 - adds r0, #0x80 - ldrb r0, [r0] - ldrb r1, [r4, #0x15] - adds r0, r0, r1 - movs r1, #0x1f - ands r0, r1 -_08020632: - strb r0, [r4, #0x15] - pop {r4, pc} - .align 2, 0 diff --git a/asm/pesto.s b/asm/pesto.s index 80a94b95..444b0ceb 100644 --- a/asm/pesto.s +++ b/asm/pesto.s @@ -229,7 +229,7 @@ sub_0802409C: @ 0x0802409C adds r0, r4, #0 bl InitializeAnimation adds r0, r4, #0 - bl sub_080A29BC + bl CreateDust pop {r4, pc} thumb_func_start sub_080240B8 diff --git a/asm/pina.s b/asm/pina.s index 80d77d98..11a47b9a 100644 --- a/asm/pina.s +++ b/asm/pina.s @@ -297,7 +297,7 @@ sub_08063C74: @ 0x08063C74 movs r2, #0x18 rsbs r2, r2, #0 movs r1, #8 - bl sub_080A2CFC + bl CreateSpeechBubbleExclamationMark _08063C8C: pop {pc} .align 2, 0 diff --git a/asm/pinwheel.s b/asm/pinwheel.s index 29916fb2..aaa5c88a 100644 --- a/asm/pinwheel.s +++ b/asm/pinwheel.s @@ -84,7 +84,7 @@ sub_080A2420: @ 0x080A2420 movs r0, #2 strb r0, [r4, #0xc] adds r0, r4, #0 - bl sub_080A29BC + bl CreateDust _080A243A: pop {r4, pc} diff --git a/asm/rockChuchu.s b/asm/rockChuchu.s deleted file mode 100644 index 1d4bcc7b..00000000 --- a/asm/rockChuchu.s +++ /dev/null @@ -1,237 +0,0 @@ - .include "asm/macros.inc" - - .include "constants/constants.inc" - - .syntax unified - - .text - - - thumb_func_start RockChuchu -RockChuchu: @ 0x0802222C - push {lr} - ldr r1, _08022238 @ =gUnk_080CB948 - bl EnemyFunctionHandler - pop {pc} - .align 2, 0 -_08022238: .4byte gUnk_080CB948 - - thumb_func_start sub_0802223C -sub_0802223C: @ 0x0802223C - push {lr} - ldr r2, _08022250 @ =gUnk_080CB960 - ldrb r1, [r0, #0xc] - lsls r1, r1, #2 - adds r1, r1, r2 - ldr r1, [r1] - bl _call_via_r1 - pop {pc} - .align 2, 0 -_08022250: .4byte gUnk_080CB960 - - thumb_func_start sub_08022254 -sub_08022254: @ 0x08022254 - push {r4, r5, lr} - adds r4, r0, #0 - adds r0, #0x45 - ldrb r0, [r0] - cmp r0, #0 - beq _08022344 - adds r0, r4, #0 - adds r0, #0x41 - ldrb r1, [r0] - movs r0, #0x7f - ands r0, r1 - subs r0, #4 - cmp r0, #0x18 - bhi _08022356 - lsls r0, r0, #2 - ldr r1, _0802227C @ =_08022280 - adds r0, r0, r1 - ldr r0, [r0] - mov pc, r0 - .align 2, 0 -_0802227C: .4byte _08022280 -_08022280: @ jump table - .4byte _080222E4 @ case 0 - .4byte _080222E4 @ case 1 - .4byte _080222E4 @ case 2 - .4byte _08022356 @ case 3 - .4byte _080222E4 @ case 4 - .4byte _080222E4 @ case 5 - .4byte _080222E4 @ case 6 - .4byte _080222E4 @ case 7 - .4byte _080222E4 @ case 8 - .4byte _080222E4 @ case 9 - .4byte _08022356 @ case 10 - .4byte _08022356 @ case 11 - .4byte _080222E4 @ case 12 - .4byte _080222E4 @ case 13 - .4byte _080222E4 @ case 14 - .4byte _08022356 @ case 15 - .4byte _08022356 @ case 16 - .4byte _08022356 @ case 17 - .4byte _080222F2 @ case 18 - .4byte _08022356 @ case 19 - .4byte _080222E4 @ case 20 - .4byte _080222E4 @ case 21 - .4byte _080222E4 @ case 22 - .4byte _08022356 @ case 23 - .4byte _080222F2 @ case 24 -_080222E4: - ldr r0, _08022340 @ =gPlayerState - adds r0, #0xac - ldrh r1, [r0] - movs r0, #8 - ands r0, r1 - cmp r0, #0 - beq _08022356 -_080222F2: - adds r0, r4, #0 - movs r1, #4 - movs r2, #0 - bl CreateFx - movs r0, #1 - movs r1, #1 - bl CreateEnemy - adds r5, r0, #0 - cmp r5, #0 - beq _08022356 - movs r0, #1 - strb r0, [r5, #0xb] - adds r1, r5, #0 - adds r1, #0x3d - movs r0, #0xf8 - strb r0, [r1] - adds r0, r4, #0 - adds r1, r5, #0 - bl sub_0804A4E4 - movs r0, #2 - strb r0, [r4, #0xc] - ldrb r1, [r4, #0x10] - movs r0, #0x7f - ands r0, r1 - strb r0, [r4, #0x10] - ldrb r1, [r4, #0x18] - movs r0, #4 - rsbs r0, r0, #0 - ands r0, r1 - strb r0, [r4, #0x18] - adds r0, r4, #0 - adds r0, #0x3e - ldrb r0, [r0] - strb r0, [r4, #0x15] - str r5, [r4, #0x54] - b _08022356 - .align 2, 0 -_08022340: .4byte gPlayerState -_08022344: - adds r0, r4, #0 - adds r0, #0x3f - ldrb r0, [r0] - cmp r0, #0x94 - beq _08022356 - adds r0, r4, #0 - movs r1, #2 - bl InitializeAnimation -_08022356: - ldr r1, _08022360 @ =gUnk_080CB948 - adds r0, r4, #0 - bl sub_0804AA30 - pop {r4, r5, pc} - .align 2, 0 -_08022360: .4byte gUnk_080CB948 - - thumb_func_start nullsub_131 -nullsub_131: @ 0x08022364 - bx lr - .align 2, 0 - - thumb_func_start sub_08022368 -sub_08022368: @ 0x08022368 - push {r4, lr} - adds r4, r0, #0 - bl sub_0804A720 - movs r0, #1 - strb r0, [r4, #0xc] - bl Random - strb r0, [r4, #0xe] - adds r0, r4, #0 - movs r1, #1 - bl sub_08049F84 - strb r0, [r4, #0x15] - adds r0, r4, #0 - movs r1, #0 - bl InitializeAnimation - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_08022390 -sub_08022390: @ 0x08022390 - push {r4, lr} - adds r4, r0, #0 - movs r1, #1 - bl sub_08049FDC - cmp r0, #0 - beq _080223D4 - ldrb r1, [r4, #0xe] - adds r0, r1, #1 - strb r0, [r4, #0xe] - movs r0, #0xf - ands r0, r1 - cmp r0, #0 - bne _080223C0 - adds r0, r4, #0 - movs r1, #1 - bl sub_08049F84 - strb r0, [r4, #0x15] - bl Random - movs r1, #4 - ands r0, r1 - strb r0, [r4, #0xf] -_080223C0: - ldrb r0, [r4, #0xf] - cmp r0, #0 - bne _080223CE - adds r0, r4, #0 - bl sub_080AEF88 - b _080223DA -_080223CE: - subs r0, #1 - strb r0, [r4, #0xf] - b _080223DA -_080223D4: - bl Random - strb r0, [r4, #0xe] -_080223DA: - adds r0, r4, #0 - bl GetNextFrame - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_080223E4 -sub_080223E4: @ 0x080223E4 - push {lr} - adds r3, r0, #0 - ldr r2, [r3, #0x54] - cmp r2, #0 - beq _0802240A - adds r1, r2, #0 - adds r1, #0x41 - movs r0, #0x94 - strb r0, [r1] - subs r1, #4 - movs r0, #0x10 - strb r0, [r1] - adds r1, #5 - movs r0, #0xc - strb r0, [r1] - ldrb r1, [r3, #0x15] - adds r0, r2, #0 - adds r0, #0x3e - strb r1, [r0] -_0802240A: - adds r0, r3, #0 - bl DeleteEntity - pop {pc} - .align 2, 0 diff --git a/asm/rollobite.s b/asm/rollobite.s deleted file mode 100644 index 916f1612..00000000 --- a/asm/rollobite.s +++ /dev/null @@ -1,735 +0,0 @@ - .include "asm/macros.inc" - - .include "constants/constants.inc" - - .syntax unified - - .text - - - thumb_func_start Rollobite -Rollobite: @ 0x08020638 - push {lr} - ldr r1, _08020644 @ =gUnk_080CA66C - bl EnemyFunctionHandler - pop {pc} - .align 2, 0 -_08020644: .4byte gUnk_080CA66C - - thumb_func_start sub_08020648 -sub_08020648: @ 0x08020648 - push {r4, lr} - adds r4, r0, #0 - bl sub_08020AD0 - ldr r1, _08020664 @ =gUnk_080CA684 - ldrb r0, [r4, #0xc] - lsls r0, r0, #2 - adds r0, r0, r1 - ldr r1, [r0] - adds r0, r4, #0 - bl _call_via_r1 - pop {r4, pc} - .align 2, 0 -_08020664: .4byte gUnk_080CA684 - - thumb_func_start sub_08020668 -sub_08020668: @ 0x08020668 - push {r4, r5, lr} - adds r4, r0, #0 - adds r2, r4, #0 - adds r2, #0x3f - ldrb r0, [r2] - cmp r0, #0x22 - bne _080206A2 - adds r1, r4, #0 - adds r1, #0x45 - ldrb r0, [r1] - cmp r0, #0xff - beq _080206A2 - movs r0, #4 - strb r0, [r4, #0xc] - movs r0, #0x80 - lsls r0, r0, #0xa - str r0, [r4, #0x20] - movs r0, #0xff - strb r0, [r4, #0x15] - movs r0, #1 - rsbs r0, r0, #0 - strb r0, [r1] - movs r0, #0x23 - strb r0, [r2] - ldrb r1, [r4, #0x14] - adds r1, #8 - adds r0, r4, #0 - bl InitializeAnimation -_080206A2: - adds r0, r4, #0 - adds r0, #0x41 - ldrb r1, [r0] - adds r5, r0, #0 - cmp r1, #0x80 - beq _080206D0 - ldrb r0, [r4, #0xc] - subs r0, #4 - lsls r0, r0, #0x18 - lsrs r0, r0, #0x18 - cmp r0, #1 - bhi _080206D0 - movs r0, #4 - strb r0, [r4, #0xc] - movs r0, #0xb4 - strb r0, [r4, #0xe] - movs r0, #0xff - strb r0, [r4, #0x15] - ldrb r1, [r4, #0x14] - adds r1, #0x10 - adds r0, r4, #0 - bl InitializeAnimation -_080206D0: - ldrb r0, [r5] - cmp r0, #0x93 - bne _080206DC - adds r0, r4, #0 - bl sub_08020648 -_080206DC: - pop {r4, r5, pc} - .align 2, 0 - - thumb_func_start sub_080206E0 -sub_080206E0: @ 0x080206E0 - push {r4, r5, lr} - adds r4, r0, #0 - bl sub_08020AD0 - cmp r0, #0 - beq _080206F6 - adds r1, r4, #0 - adds r1, #0x42 - movs r0, #0 - strb r0, [r1] - b _08020730 -_080206F6: - adds r0, r4, #0 - bl sub_08020B6C - cmp r0, #0 - beq _0802072A - adds r1, r4, #0 - adds r1, #0x42 - ldrb r0, [r1] - subs r0, #1 - strb r0, [r1] - adds r5, r4, #0 - adds r5, #0x3e - ldrb r1, [r5] - adds r0, r4, #0 - movs r2, #0xa - bl sub_080AE58C - adds r0, r4, #0 - adds r0, #0x46 - ldrh r1, [r0] - ldrb r2, [r5] - adds r0, r4, #0 - movs r3, #0xa - bl sub_080AE7E8 - b _08020730 -_0802072A: - adds r0, r4, #0 - bl sub_08001324 -_08020730: - pop {r4, r5, pc} - .align 2, 0 - - thumb_func_start sub_08020734 -sub_08020734: @ 0x08020734 - push {r4, lr} - adds r4, r0, #0 - ldrb r0, [r4, #0xd] - cmp r0, #2 - bhi _08020764 - adds r0, r4, #0 - bl sub_0806F520 - cmp r0, #0 - bne _08020764 - movs r0, #4 - strb r0, [r4, #0xc] - ldrb r1, [r4, #0x10] - movs r0, #0x80 - orrs r0, r1 - strb r0, [r4, #0x10] - movs r0, #0xff - strb r0, [r4, #0x15] - ldrb r1, [r4, #0x14] - adds r1, #0x10 - adds r0, r4, #0 - bl InitializeAnimation - b _08020774 -_08020764: - ldr r0, _08020778 @ =gUnk_080CA6A4 - ldrb r1, [r4, #0xd] - lsls r1, r1, #2 - adds r1, r1, r0 - ldr r1, [r1] - adds r0, r4, #0 - bl _call_via_r1 -_08020774: - pop {r4, pc} - .align 2, 0 -_08020778: .4byte gUnk_080CA6A4 - - thumb_func_start sub_0802077C -sub_0802077C: @ 0x0802077C - movs r1, #1 - strb r1, [r0, #0xd] - movs r1, #0x3c - strb r1, [r0, #0x1d] - bx lr - .align 2, 0 - - thumb_func_start sub_08020788 -sub_08020788: @ 0x08020788 - push {lr} - bl sub_0806F4E8 - pop {pc} - - thumb_func_start sub_08020790 -sub_08020790: @ 0x08020790 - push {lr} - bl sub_0806F3E4 - pop {pc} - - thumb_func_start sub_08020798 -sub_08020798: @ 0x08020798 - ldrb r2, [r0, #0x10] - movs r1, #0x7f - ands r1, r2 - strb r1, [r0, #0x10] - bx lr - .align 2, 0 - - thumb_func_start nullsub_6 -nullsub_6: @ 0x080207A4 - bx lr - .align 2, 0 - - thumb_func_start sub_080207A8 -sub_080207A8: @ 0x080207A8 - push {lr} - movs r3, #4 - movs r1, #4 - strb r1, [r0, #0xc] - ldrb r2, [r0, #0x10] - movs r1, #0x80 - orrs r1, r2 - strb r1, [r0, #0x10] - movs r1, #0x29 - adds r1, r1, r0 - mov ip, r1 - ldrb r2, [r1] - movs r1, #8 - rsbs r1, r1, #0 - ands r1, r2 - orrs r1, r3 - mov r2, ip - strb r1, [r2] - adds r3, r0, #0 - adds r3, #0x3a - ldrb r2, [r3] - movs r1, #0xfb - ands r1, r2 - strb r1, [r3] - ldrb r1, [r0, #0x15] - movs r2, #0x10 - eors r1, r2 - strb r1, [r0, #0x15] - movs r1, #0xc0 - lsls r1, r1, #9 - str r1, [r0, #0x20] - movs r1, #0x80 - strh r1, [r0, #0x24] - ldrb r1, [r0, #0x14] - adds r1, #0x10 - bl InitializeAnimation - pop {pc} - - thumb_func_start sub_080207F4 -sub_080207F4: @ 0x080207F4 - push {r4, lr} - adds r4, r0, #0 - bl sub_0804A720 - movs r1, #0 - movs r0, #0x30 - strb r0, [r4, #0x16] - movs r0, #0x12 - strb r0, [r4, #0x1c] - adds r0, r4, #0 - adds r0, #0x84 - strb r1, [r0] - bl Random - movs r1, #0x18 - ands r0, r1 - strb r0, [r4, #0x15] - adds r0, r4, #0 - bl sub_08020A30 - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_08020820 -sub_08020820: @ 0x08020820 - push {r4, r5, lr} - adds r4, r0, #0 - bl GetNextFrame - adds r2, r4, #0 - adds r2, #0x5a - ldrb r1, [r2] - movs r5, #1 - adds r0, r5, #0 - ands r0, r1 - cmp r0, #0 - beq _0802084A - movs r0, #0xfe - ands r0, r1 - strb r0, [r2] - adds r0, r4, #0 - bl sub_080AEF88 - cmp r0, #0 - bne _0802084A - strb r5, [r4, #0xe] -_0802084A: - adds r2, r4, #0 - adds r2, #0x5a - ldrb r1, [r2] - movs r0, #0x10 - ands r0, r1 - cmp r0, #0 - beq _08020872 - movs r0, #0xef - ands r0, r1 - strb r0, [r2] - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _08020872 - movs r0, #3 - strb r0, [r4, #0xc] - movs r0, #0x3c - strb r0, [r4, #0xe] -_08020872: - pop {r4, r5, pc} - - thumb_func_start sub_08020874 -sub_08020874: @ 0x08020874 - push {lr} - ldr r2, _08020888 @ =gUnk_080CA6BC - ldrb r1, [r0, #0xd] - lsls r1, r1, #2 - adds r1, r1, r2 - ldr r1, [r1] - bl _call_via_r1 - pop {pc} - .align 2, 0 -_08020888: .4byte gUnk_080CA6BC - - thumb_func_start sub_0802088C -sub_0802088C: @ 0x0802088C - movs r1, #1 - strb r1, [r0, #0xd] - ldrb r2, [r0, #0x10] - movs r1, #0x7f - ands r1, r2 - strb r1, [r0, #0x10] - ldr r1, _080208B0 @ =gPlayerEntity - ldrb r1, [r1, #0x14] - adds r2, r0, #0 - adds r2, #0x85 - strb r1, [r2] - adds r0, #0x29 - ldrb r2, [r0] - movs r1, #0x39 - rsbs r1, r1, #0 - ands r1, r2 - strb r1, [r0] - bx lr - .align 2, 0 -_080208B0: .4byte gPlayerEntity - - thumb_func_start sub_080208B4 -sub_080208B4: @ 0x080208B4 - push {r4, r5, lr} - adds r2, r0, #0 - adds r4, r2, #0 - adds r4, #0x85 - ldrb r0, [r4] - ldr r5, _080208EC @ =gPlayerEntity - ldrb r1, [r5, #0x14] - subs r0, r0, r1 - lsrs r1, r0, #0x1f - adds r0, r0, r1 - asrs r0, r0, #1 - lsls r0, r0, #0x18 - lsrs r1, r0, #0x18 - cmp r0, #0 - beq _080208E6 - ldrb r0, [r2, #0x14] - adds r0, r0, r1 - movs r1, #3 - ands r0, r1 - strb r0, [r2, #0x14] - ldrb r1, [r2, #0x14] - adds r1, #0x10 - adds r0, r2, #0 - bl InitializeAnimation -_080208E6: - ldrb r0, [r5, #0x14] - strb r0, [r4] - pop {r4, r5, pc} - .align 2, 0 -_080208EC: .4byte gPlayerEntity - - thumb_func_start sub_080208F0 -sub_080208F0: @ 0x080208F0 - adds r0, #0x29 - ldrb r2, [r0] - movs r1, #0x39 - rsbs r1, r1, #0 - ands r1, r2 - movs r2, #0x18 - orrs r1, r2 - strb r1, [r0] - bx lr - .align 2, 0 - - thumb_func_start sub_08020904 -sub_08020904: @ 0x08020904 - push {lr} - movs r1, #4 - strb r1, [r0, #0xc] - ldrb r2, [r0, #0x10] - movs r1, #0x80 - orrs r1, r2 - strb r1, [r0, #0x10] - movs r1, #0xff - strb r1, [r0, #0x15] - ldrb r1, [r0, #0x14] - adds r1, #0x10 - bl InitializeAnimation - pop {pc} - - thumb_func_start sub_08020920 -sub_08020920: @ 0x08020920 - push {lr} - adds r1, r0, #0 - ldrb r0, [r1, #0xe] - subs r0, #1 - strb r0, [r1, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _08020936 - adds r0, r1, #0 - bl sub_08020A30 -_08020936: - pop {pc} - - thumb_func_start sub_08020938 -sub_08020938: @ 0x08020938 - push {r4, r5, lr} - adds r4, r0, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r5, #0x80 - adds r0, r5, #0 - ands r0, r1 - cmp r0, #0 - bne _08020950 - adds r0, r4, #0 - bl GetNextFrame -_08020950: - movs r1, #0xa0 - lsls r1, r1, #6 - adds r0, r4, #0 - bl sub_080044EC - cmp r0, #0 - bne _08020980 - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _08020978 - movs r0, #5 - strb r0, [r4, #0xc] - ldrb r1, [r4, #0x14] - adds r1, #0xc - adds r0, r4, #0 - bl InitializeAnimation -_08020978: - adds r0, r4, #0 - bl sub_08078930 - b _0802099C -_08020980: - cmp r0, #1 - bne _0802098C - movs r0, #0x82 - lsls r0, r0, #1 - bl sub_08004488 -_0802098C: - ldrb r1, [r4, #0x15] - adds r0, r5, #0 - ands r0, r1 - cmp r0, #0 - bne _0802099C - adds r0, r4, #0 - bl sub_080AEFE0 -_0802099C: - pop {r4, r5, pc} - .align 2, 0 - - thumb_func_start sub_080209A0 -sub_080209A0: @ 0x080209A0 - push {r4, lr} - adds r4, r0, #0 - bl GetNextFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _080209E2 - ldrb r1, [r4, #0x10] - movs r0, #0x80 - orrs r0, r1 - strb r0, [r4, #0x10] - movs r0, #0x80 - lsls r0, r0, #1 - strh r0, [r4, #0x24] - adds r1, r4, #0 - adds r1, #0x3f - movs r0, #0x22 - strb r0, [r1] - adds r0, r4, #0 - bl sub_08020A30 - ldrb r0, [r4, #0x14] - lsls r0, r0, #3 - strb r0, [r4, #0x15] - ldrb r1, [r4, #0x14] - adds r0, r4, #0 - bl InitializeAnimation - b _080209F0 -_080209E2: - movs r0, #1 - ands r0, r1 - cmp r0, #0 - bne _080209F0 - adds r0, r4, #0 - bl sub_08078930 -_080209F0: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_080209F4 -sub_080209F4: @ 0x080209F4 - push {r4, lr} - adds r4, r0, #0 - movs r1, #0xe0 - lsls r1, r1, #5 - bl sub_08003FC4 - cmp r0, #0 - bne _08020A14 - movs r1, #7 - movs r0, #7 - strb r0, [r4, #0xc] - adds r2, r4, #0 - adds r2, #0x29 - ldrb r0, [r2] - orrs r0, r1 - strb r0, [r2] -_08020A14: - adds r0, r4, #0 - adds r0, #0x5a - ldrb r0, [r0] - cmp r0, #0 - bne _08020A24 - adds r0, r4, #0 - bl GetNextFrame -_08020A24: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_08020A28 -sub_08020A28: @ 0x08020A28 - push {lr} - bl GetNextFrame - pop {pc} - - thumb_func_start sub_08020A30 -sub_08020A30: @ 0x08020A30 - push {r4, r5, lr} - adds r4, r0, #0 - adds r5, r4, #0 - adds r5, #0x84 - ldrb r0, [r5] - cmp r0, #1 - bhi _08020A68 - bl Random - ldr r2, _08020A64 @ =gUnk_080CA6CC - movs r1, #7 - ands r1, r0 - adds r1, r1, r2 - ldrb r0, [r1] - strb r0, [r4, #0xe] - cmp r0, #0 - bne _08020A68 - movs r0, #3 - strb r0, [r4, #0xc] - movs r0, #0x3c - strb r0, [r4, #0xe] - ldrb r0, [r5] - adds r0, #1 - strb r0, [r5] - b _08020A7A - .align 2, 0 -_08020A64: .4byte gUnk_080CA6CC -_08020A68: - movs r0, #0 - movs r1, #1 - strb r1, [r4, #0xc] - adds r1, r4, #0 - adds r1, #0x84 - strb r0, [r1] - adds r0, r4, #0 - bl sub_08020A7C -_08020A7A: - pop {r4, r5, pc} - - thumb_func_start sub_08020A7C -sub_08020A7C: @ 0x08020A7C - push {r4, r5, r6, lr} - adds r6, r0, #0 - bl Random - ldrb r5, [r6, #0x15] - ldr r4, _08020ACC @ =gUnk_080CA6D4 - movs r1, #3 - bl __modsi3 - adds r0, r0, r4 - ldrb r0, [r0] - lsls r0, r0, #0x18 - asrs r0, r0, #0x18 - adds r5, r5, r0 - movs r4, #0x18 - ands r5, r4 - adds r0, r6, #0 - bl sub_08049FA0 - cmp r0, #0 - bne _08020ABA - adds r0, r6, #0 - bl sub_08049EE4 - adds r0, #4 - ands r0, r4 - movs r1, #0x10 - eors r1, r5 - cmp r1, r0 - bne _08020ABA - adds r5, r1, #0 -_08020ABA: - strb r5, [r6, #0x15] - lsrs r0, r5, #3 - strb r0, [r6, #0x14] - ldrb r1, [r6, #0x14] - adds r0, r6, #0 - bl InitializeAnimation - pop {r4, r5, r6, pc} - .align 2, 0 -_08020ACC: .4byte gUnk_080CA6D4 - - thumb_func_start sub_08020AD0 -sub_08020AD0: @ 0x08020AD0 - push {r4, r5, r6, lr} - adds r4, r0, #0 - bl sub_08020B6C - cmp r0, #0 - beq _08020B68 - movs r1, #0x36 - ldrsh r0, [r4, r1] - cmp r0, #0 - bne _08020B68 - movs r1, #0x2e - ldrsh r0, [r4, r1] - ldr r3, _08020B5C @ =gRoomControls - ldrh r1, [r3, #6] - subs r0, r0, r1 - asrs r5, r0, #4 - movs r2, #0x3f - ands r5, r2 - movs r1, #0x32 - ldrsh r0, [r4, r1] - ldrh r1, [r3, #8] - subs r0, r0, r1 - asrs r0, r0, #4 - ands r0, r2 - lsls r0, r0, #6 - orrs r5, r0 - adds r6, r4, #0 - adds r6, #0x38 - ldrb r1, [r6] - adds r0, r5, #0 - bl GetTileType - lsls r0, r0, #0x10 - ldr r1, _08020B60 @ =0xFF8F0000 - adds r0, r0, r1 - lsrs r0, r0, #0x10 - cmp r0, #1 - bhi _08020B68 - movs r0, #6 - strb r0, [r4, #0xc] - ldrb r1, [r4, #0x10] - movs r0, #0x7f - ands r0, r1 - strb r0, [r4, #0x10] - ldrh r2, [r4, #0x2e] - movs r1, #0x10 - rsbs r1, r1, #0 - adds r0, r1, #0 - ands r0, r2 - adds r0, #8 - strh r0, [r4, #0x2e] - ldrh r0, [r4, #0x32] - ands r1, r0 - adds r1, #0xd - strh r1, [r4, #0x32] - movs r0, #0x80 - lsls r0, r0, #0xa - str r0, [r4, #0x20] - ldrb r1, [r4, #0x14] - adds r1, #0x14 - adds r0, r4, #0 - bl InitializeAnimation - ldr r0, _08020B64 @ =0x00004034 - ldrb r2, [r6] - adds r1, r5, #0 - bl SetTile - movs r0, #1 - b _08020B6A - .align 2, 0 -_08020B5C: .4byte gRoomControls -_08020B60: .4byte 0xFF8F0000 -_08020B64: .4byte 0x00004034 -_08020B68: - movs r0, #0 -_08020B6A: - pop {r4, r5, r6, pc} - - thumb_func_start sub_08020B6C -sub_08020B6C: @ 0x08020B6C - push {lr} - adds r0, #0x58 - ldrb r0, [r0] - subs r0, #0x10 - cmp r0, #3 - bls _08020B7C - movs r0, #0 - b _08020B7E -_08020B7C: - movs r0, #1 -_08020B7E: - pop {pc} diff --git a/asm/spinyBeetle.s b/asm/spinyBeetle.s index 8a910315..b65ad269 100644 --- a/asm/spinyBeetle.s +++ b/asm/spinyBeetle.s @@ -933,7 +933,7 @@ sub_08033E1C: @ 0x08033E1C rsbs r2, r2, #0 adds r0, r4, #0 movs r1, #0xa - bl sub_080A2CFC + bl CreateSpeechBubbleExclamationMark pop {r4, pc} .align 2, 0 _08033EA4: .4byte 0xFFF00000 diff --git a/asm/spinyChuchu.s b/asm/spinyChuchu.s deleted file mode 100644 index 8e2b6aba..00000000 --- a/asm/spinyChuchu.s +++ /dev/null @@ -1,646 +0,0 @@ - .include "asm/macros.inc" - - .include "constants/constants.inc" - - .syntax unified - - .text - - - thumb_func_start SpinyChuchu -SpinyChuchu: @ 0x08022414 - push {r4, lr} - adds r4, r0, #0 - ldr r1, _08022430 @ =gUnk_080CBA28 - bl EnemyFunctionHandler - movs r3, #0x10 - rsbs r3, r3, #0 - adds r0, r4, #0 - movs r1, #0 - movs r2, #1 - bl SetChildOffset - pop {r4, pc} - .align 2, 0 -_08022430: .4byte gUnk_080CBA28 - - thumb_func_start sub_08022434 -sub_08022434: @ 0x08022434 - push {lr} - ldr r2, _08022448 @ =gUnk_080CBA40 - ldrb r1, [r0, #0xc] - lsls r1, r1, #2 - adds r1, r1, r2 - ldr r1, [r1] - bl _call_via_r1 - pop {pc} - .align 2, 0 -_08022448: .4byte gUnk_080CBA40 - - thumb_func_start sub_0802244C -sub_0802244C: @ 0x0802244C - push {r4, r5, r6, r7, lr} - adds r4, r0, #0 - adds r5, r4, #0 - adds r5, #0x45 - ldrb r0, [r5] - cmp r0, #0 - bne _0802245C - b _08022582 -_0802245C: - adds r0, r4, #0 - adds r0, #0x3f - ldrb r1, [r0] - adds r6, r0, #0 - cmp r1, #0x65 - bne _08022522 - adds r0, #2 - ldrb r1, [r0] - movs r0, #0x7f - ands r0, r1 - subs r0, #2 - cmp r0, #0x18 - bhi _08022540 - lsls r0, r0, #2 - ldr r1, _08022480 @ =_08022484 - adds r0, r0, r1 - ldr r0, [r0] - mov pc, r0 - .align 2, 0 -_08022480: .4byte _08022484 -_08022484: @ jump table - .4byte _080224E8 @ case 0 - .4byte _080224E8 @ case 1 - .4byte _08022540 @ case 2 - .4byte _08022540 @ case 3 - .4byte _08022540 @ case 4 - .4byte _08022540 @ case 5 - .4byte _08022508 @ case 6 - .4byte _08022508 @ case 7 - .4byte _08022508 @ case 8 - .4byte _08022508 @ case 9 - .4byte _08022508 @ case 10 - .4byte _08022540 @ case 11 - .4byte _08022540 @ case 12 - .4byte _08022540 @ case 13 - .4byte _08022540 @ case 14 - .4byte _08022540 @ case 15 - .4byte _08022540 @ case 16 - .4byte _08022540 @ case 17 - .4byte _08022540 @ case 18 - .4byte _08022540 @ case 19 - .4byte _08022508 @ case 20 - .4byte _08022540 @ case 21 - .4byte _08022508 @ case 22 - .4byte _08022508 @ case 23 - .4byte _08022508 @ case 24 -_080224E8: - movs r0, #2 - strb r0, [r4, #0xc] - movs r0, #0x3c - strb r0, [r4, #0xf] - movs r0, #0x5c - strb r0, [r6] - ldr r0, _08022504 @ =gUnk_080FD468 - str r0, [r4, #0x48] - adds r0, r4, #0 - movs r1, #0 - bl InitializeAnimation - b _08022540 - .align 2, 0 -_08022504: .4byte gUnk_080FD468 -_08022508: - adds r0, r4, #0 - movs r1, #0x1c - bl sub_0804A9FC - movs r0, #5 - strb r0, [r4, #0xc] - movs r0, #0x5c - strb r0, [r6] - adds r0, r4, #0 - movs r1, #1 - bl InitializeAnimation - b _08022540 -_08022522: - adds r0, r4, #0 - adds r0, #0x41 - ldrb r0, [r0] - cmp r0, #0x94 - bne _08022540 - adds r0, r4, #0 - movs r1, #0x1c - bl sub_0804A9FC - movs r0, #5 - strb r0, [r4, #0xc] - adds r0, r4, #0 - movs r1, #1 - bl InitializeAnimation -_08022540: - adds r0, r4, #0 - adds r0, #0x80 - adds r1, r4, #0 - adds r1, #0x45 - ldrb r2, [r0] - adds r5, r1, #0 - adds r7, r0, #0 - ldrb r0, [r5] - cmp r2, r0 - beq _08022566 - movs r0, #5 - strb r0, [r4, #0xc] - movs r0, #0x5c - strb r0, [r6] - adds r0, r4, #0 - movs r1, #1 - bl InitializeAnimation - b _0802258E -_08022566: - ldrb r0, [r4, #0xc] - cmp r0, #3 - bne _0802258E - movs r0, #4 - strb r0, [r4, #0xc] - adds r0, r4, #0 - movs r1, #3 - bl InitializeAnimation - movs r0, #0xca - lsls r0, r0, #1 - bl sub_08004488 - b _0802258E -_08022582: - adds r0, r4, #0 - movs r1, #1 - bl InitializeAnimation - adds r7, r4, #0 - adds r7, #0x80 -_0802258E: - ldrb r0, [r5] - strb r0, [r7] - ldr r1, _0802259C @ =gUnk_080CBA28 - adds r0, r4, #0 - bl sub_0804AA30 - pop {r4, r5, r6, r7, pc} - .align 2, 0 -_0802259C: .4byte gUnk_080CBA28 - - thumb_func_start sub_080225A0 -sub_080225A0: @ 0x080225A0 - push {r4, lr} - adds r4, r0, #0 - adds r0, #0x58 - ldrb r0, [r0] - cmp r0, #1 - bne _080225B2 - adds r0, r4, #0 - bl GetNextFrame -_080225B2: - adds r0, r4, #0 - bl sub_08001318 - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_080225BC -sub_080225BC: @ 0x080225BC - push {r4, lr} - adds r4, r0, #0 - movs r1, #0xc0 - lsls r1, r1, #5 - bl sub_08003FC4 - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #1 - ands r0, r1 - cmp r0, #0 - beq _080225DE - adds r0, r4, #0 - bl sub_0804A7D4 - b _080225E4 -_080225DE: - adds r0, r4, #0 - bl GetNextFrame -_080225E4: - pop {r4, pc} - .align 2, 0 - - thumb_func_start nullsub_9 -nullsub_9: @ 0x080225E8 - bx lr - .align 2, 0 - - thumb_func_start sub_080225EC -sub_080225EC: @ 0x080225EC - push {r4, lr} - adds r4, r0, #0 - bl sub_0804A720 - adds r0, r4, #0 - adds r0, #0x45 - ldrb r1, [r0] - adds r0, #0x3b - strb r1, [r0] - adds r1, r4, #0 - adds r1, #0x81 - movs r0, #0x5a - strb r0, [r1] - ldrb r0, [r4, #0xe] - cmp r0, #0 - bne _0802261A - movs r0, #2 - strb r0, [r4, #0xc] - adds r0, r4, #0 - movs r1, #0 - bl InitializeAnimation - b _0802264C -_0802261A: - movs r0, #1 - strb r0, [r4, #0xc] - movs r0, #0x3c - strb r0, [r4, #0xf] - ldrb r0, [r4, #0x18] - movs r1, #3 - orrs r0, r1 - strb r0, [r4, #0x18] - ldrb r2, [r4, #0x19] - movs r1, #0x3f - adds r0, r1, #0 - ands r0, r2 - movs r2, #0x40 - orrs r0, r2 - strb r0, [r4, #0x19] - ldrb r0, [r4, #0x1b] - ands r1, r0 - orrs r1, r2 - strb r1, [r4, #0x1b] - ldr r0, _08022650 @ =0x0000FF80 - strh r0, [r4, #0x36] - adds r0, r4, #0 - movs r1, #6 - bl InitializeAnimation -_0802264C: - pop {r4, pc} - .align 2, 0 -_08022650: .4byte 0x0000FF80 - - thumb_func_start sub_08022654 -sub_08022654: @ 0x08022654 - push {r4, lr} - adds r4, r0, #0 - ldrb r0, [r4, #0xd] - cmp r0, #1 - beq _0802268C - cmp r0, #1 - bgt _08022668 - cmp r0, #0 - beq _0802266E - b _080226E4 -_08022668: - cmp r0, #2 - beq _080226BE - b _080226E4 -_0802266E: - ldrb r0, [r4, #0xf] - subs r0, #1 - strb r0, [r4, #0xf] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _080226E4 - movs r0, #1 - strb r0, [r4, #0xd] - ldr r0, _080226E8 @ =0x0000012D - bl PlaySFX - adds r0, r4, #0 - movs r1, #0 - bl InitializeAnimation -_0802268C: - movs r1, #0xc0 - lsls r1, r1, #5 - adds r0, r4, #0 - bl sub_08003FC4 - cmp r0, #0 - bne _080226E4 - movs r0, #2 - strb r0, [r4, #0xd] - ldrb r1, [r4, #0x18] - subs r0, #6 - ands r0, r1 - movs r1, #1 - orrs r0, r1 - strb r0, [r4, #0x18] - adds r0, r4, #0 - movs r1, #5 - bl InitializeAnimation - movs r0, #0x7d - bl sub_08004488 - adds r0, r4, #0 - bl UpdateSpriteForCollisionLayer -_080226BE: - adds r0, r4, #0 - bl GetNextFrame - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _080226E4 - movs r0, #3 - strb r0, [r4, #0xc] - adds r1, r4, #0 - adds r1, #0x3f - movs r0, #0x65 - strb r0, [r1] - adds r0, r4, #0 - movs r1, #2 - bl InitializeAnimation -_080226E4: - pop {r4, pc} - .align 2, 0 -_080226E8: .4byte 0x0000012D - - thumb_func_start sub_080226EC -sub_080226EC: @ 0x080226EC - push {r4, lr} - adds r4, r0, #0 - movs r1, #1 - bl sub_08049FDC - cmp r0, #0 - beq _08022776 - adds r0, r4, #0 - bl sub_080228CC - cmp r0, #0 - beq _0802271A - movs r0, #3 - strb r0, [r4, #0xc] - adds r1, r4, #0 - adds r1, #0x3f - movs r0, #0x65 - strb r0, [r1] - adds r0, r4, #0 - movs r1, #2 - bl InitializeAnimation - b _0802277C -_0802271A: - adds r0, r4, #0 - bl sub_080228F0 - cmp r0, #0 - beq _08022758 - movs r0, #6 - strb r0, [r4, #0xc] - movs r0, #0x90 - lsls r0, r0, #9 - str r0, [r4, #0x20] - movs r0, #0xa0 - lsls r0, r0, #1 - strh r0, [r4, #0x24] - ldr r0, _08022754 @ =gUnk_020000B0 - ldr r1, [r0] - adds r0, r4, #0 - bl GetFacingDirection - strb r0, [r4, #0x15] - adds r1, r4, #0 - adds r1, #0x3f - movs r0, #0x5a - strb r0, [r1] - adds r0, r4, #0 - movs r1, #4 - bl InitializeAnimation - b _0802277C - .align 2, 0 -_08022754: .4byte gUnk_020000B0 -_08022758: - ldrb r1, [r4, #0xe] - adds r0, r1, #1 - strb r0, [r4, #0xe] - movs r0, #7 - ands r0, r1 - cmp r0, #0 - bne _08022770 - adds r0, r4, #0 - movs r1, #1 - bl sub_08049F84 - strb r0, [r4, #0x15] -_08022770: - adds r0, r4, #0 - bl sub_080AEF88 -_08022776: - adds r0, r4, #0 - bl GetNextFrame -_0802277C: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_08022780 -sub_08022780: @ 0x08022780 - push {r4, lr} - adds r4, r0, #0 - bl GetNextFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _080227AA - movs r0, #4 - strb r0, [r4, #0xc] - adds r0, r4, #0 - movs r1, #3 - bl InitializeAnimation - movs r0, #0xca - lsls r0, r0, #1 - bl sub_08004488 -_080227AA: - pop {r4, pc} - - thumb_func_start sub_080227AC -sub_080227AC: @ 0x080227AC - push {r4, lr} - adds r4, r0, #0 - bl GetNextFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #1 - ands r0, r1 - cmp r0, #0 - beq _080227CC - ldr r0, _080227C8 @ =gUnk_080FD470 - b _080227CE - .align 2, 0 -_080227C8: .4byte gUnk_080FD470 -_080227CC: - ldr r0, _08022814 @ =gUnk_080FD468 -_080227CE: - str r0, [r4, #0x48] - adds r2, r4, #0 - adds r2, #0x5a - ldrb r1, [r2] - movs r3, #2 - adds r0, r3, #0 - ands r0, r1 - cmp r0, #0 - beq _080227EE - movs r0, #0xfd - ands r0, r1 - strb r0, [r2] - adds r1, r4, #0 - adds r1, #0x3f - movs r0, #0x5c - strb r0, [r1] -_080227EE: - ldrb r1, [r2] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _08022812 - strb r3, [r4, #0xc] - bl Random - ldr r2, _08022818 @ =gUnk_080CBA60 - movs r1, #3 - ands r1, r0 - adds r1, r1, r2 - ldrb r0, [r1] - strb r0, [r4, #0xf] - adds r0, r4, #0 - movs r1, #0 - bl InitializeAnimation -_08022812: - pop {r4, pc} - .align 2, 0 -_08022814: .4byte gUnk_080FD468 -_08022818: .4byte gUnk_080CBA60 - - thumb_func_start sub_0802281C -sub_0802281C: @ 0x0802281C - push {r4, lr} - adds r4, r0, #0 - movs r1, #0xc0 - lsls r1, r1, #5 - bl sub_08003FC4 - adds r0, r4, #0 - bl GetNextFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _08022852 - movs r0, #2 - strb r0, [r4, #0xc] - movs r0, #0x20 - strh r0, [r4, #0x24] - adds r0, r4, #0 - movs r1, #0 - bl InitializeAnimation - adds r0, r4, #0 - bl sub_0804AA1C -_08022852: - pop {r4, pc} - - thumb_func_start sub_08022854 -sub_08022854: @ 0x08022854 - push {r4, lr} - adds r4, r0, #0 - bl GetNextFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #1 - ands r0, r1 - cmp r0, #0 - beq _08022898 - adds r0, r4, #0 - bl sub_080AEFE0 - movs r1, #0xc0 - lsls r1, r1, #5 - adds r0, r4, #0 - bl sub_08003FC4 - cmp r0, #0 - bne _08022898 - movs r0, #7 - strb r0, [r4, #0xc] - adds r1, r4, #0 - adds r1, #0x3f - movs r0, #0x5c - strb r0, [r1] - adds r0, r4, #0 - movs r1, #5 - bl InitializeAnimation - movs r0, #0x7d - bl sub_08004488 -_08022898: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_0802289C -sub_0802289C: @ 0x0802289C - push {r4, lr} - adds r4, r0, #0 - bl GetNextFrame - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _080228CA - movs r0, #2 - strb r0, [r4, #0xc] - movs r0, #0x20 - strh r0, [r4, #0x24] - adds r1, r4, #0 - adds r1, #0x81 - movs r0, #0x78 - strb r0, [r1] - adds r0, r4, #0 - movs r1, #0 - bl InitializeAnimation -_080228CA: - pop {r4, pc} - - thumb_func_start sub_080228CC -sub_080228CC: @ 0x080228CC - push {lr} - adds r1, r0, #0 - ldrb r0, [r1, #0xf] - cmp r0, #0 - bne _080228E8 - adds r0, r1, #0 - movs r1, #1 - movs r2, #0x28 - bl sub_08049F64 - cmp r0, #0 - beq _080228EC - movs r0, #1 - b _080228EE -_080228E8: - subs r0, #1 - strb r0, [r1, #0xf] -_080228EC: - movs r0, #0 -_080228EE: - pop {pc} - - thumb_func_start sub_080228F0 -sub_080228F0: @ 0x080228F0 - push {lr} - adds r1, r0, #0 - adds r2, r1, #0 - adds r2, #0x81 - ldrb r0, [r2] - cmp r0, #0 - bne _08022910 - adds r0, r1, #0 - movs r1, #1 - movs r2, #0x40 - bl sub_08049F64 - cmp r0, #0 - beq _08022914 - movs r0, #1 - b _08022916 -_08022910: - subs r0, #1 - strb r0, [r2] -_08022914: - movs r0, #0 -_08022916: - pop {pc} diff --git a/asm/stockwell.s b/asm/stockwell.s index 013f39ac..6d643e31 100644 --- a/asm/stockwell.s +++ b/asm/stockwell.s @@ -233,7 +233,7 @@ sub_080651F8: @ 0x080651F8 rsbs r2, r2, #0 adds r0, r4, #0 movs r1, #8 - bl sub_080A2CFC + bl CreateSpeechBubbleExclamationMark movs r0, #1 bl sub_08078A90 _0806522A: @@ -281,7 +281,7 @@ _08065264: rsbs r2, r2, #0 adds r0, r4, #0 movs r1, #8 - bl sub_080A2CFC + bl CreateSpeechBubbleExclamationMark b _0806528A _0806527E: movs r0, #0 @@ -612,7 +612,7 @@ sub_080654DC: @ 0x080654DC movs r2, #0x18 rsbs r2, r2, #0 movs r1, #8 - bl sub_080A2D0C + bl CreateSpeechBubbleQuestionMark pop {pc} .align 2, 0 @@ -622,7 +622,7 @@ sub_080654EC: @ 0x080654EC movs r2, #0x18 rsbs r2, r2, #0 movs r1, #8 - bl sub_080A2CFC + bl CreateSpeechBubbleExclamationMark pop {pc} .align 2, 0 diff --git a/asm/sturgeon.s b/asm/sturgeon.s index 6537ba17..66a5193b 100644 --- a/asm/sturgeon.s +++ b/asm/sturgeon.s @@ -282,7 +282,7 @@ sub_08064C9C: @ 0x08064C9C cmp r0, #0 bne _08064CB8 adds r0, r2, #0 - bl sub_080A29BC + bl CreateDust _08064CB8: pop {pc} .align 2, 0 diff --git a/asm/sub_0801D66C.s b/asm/sub_0801D66C.s deleted file mode 100644 index 5976f92b..00000000 --- a/asm/sub_0801D66C.s +++ /dev/null @@ -1,56 +0,0 @@ - .include "asm/macros.inc" - .include "constants/constants.inc" - - .syntax unified - - .text - - thumb_func_start sub_0801D66C -sub_0801D66C: @ 0x0801D66C - push {r4, lr} - adds r3, r0, #0 - adds r4, r2, #0 - adds r2, r3, #0 - orrs r2, r1 - orrs r2, r4 - movs r0, #3 - ands r2, r0 - cmp r2, #0 - beq _0801D686 - cmp r2, #2 - beq _0801D698 - b _0801D6B0 -_0801D686: - ldr r2, _0801D694 @ =0x040000D4 - str r3, [r2] - str r1, [r2, #4] - lsrs r0, r4, #2 - movs r1, #0x84 - lsls r1, r1, #0x18 - b _0801D6A4 - .align 2, 0 -_0801D694: .4byte 0x040000D4 -_0801D698: - ldr r2, _0801D6AC @ =0x040000D4 - str r3, [r2] - str r1, [r2, #4] - lsrs r0, r4, #1 - movs r1, #0x80 - lsls r1, r1, #0x18 -_0801D6A4: - orrs r0, r1 - str r0, [r2, #8] - ldr r0, [r2, #8] - b _0801D6BE - .align 2, 0 -_0801D6AC: .4byte 0x040000D4 -_0801D6B0: - ldrb r0, [r3] - strb r0, [r1] - adds r3, #1 - adds r1, #1 - subs r4, #1 - cmp r4, #0 - bne _0801D6B0 -_0801D6BE: - pop {r4, pc} \ No newline at end of file diff --git a/asm/sub_08052418.s b/asm/sub_08052418.s index f7bd8bd3..5e51b509 100644 --- a/asm/sub_08052418.s +++ b/asm/sub_08052418.s @@ -30,7 +30,7 @@ sub_08052418: @ 0x08052418 adds r0, r4, #0 mov r1, sp movs r2, #0x18 - bl sub_0801D66C + bl _DmaCopy lsls r2, r6, #1 adds r2, r2, r6 lsls r2, r2, #2 diff --git a/asm/sub_0807CA18.s b/asm/sub_0807CA18.s index b2c27a4b..c769da3b 100644 --- a/asm/sub_0807CA18.s +++ b/asm/sub_0807CA18.s @@ -54,7 +54,7 @@ _0807CA66: bne _0807CA78 ldr r0, _0807CA80 @ =gUnk_0811E470 movs r2, #5 - bl sub_0801D66C + bl _DmaCopy _0807CA78: movs r0, #1 pop {pc} diff --git a/asm/vaatiBall.s b/asm/vaatiBall.s deleted file mode 100644 index acb12dbc..00000000 --- a/asm/vaatiBall.s +++ /dev/null @@ -1,1292 +0,0 @@ - .include "asm/macros.inc" - - .include "constants/constants.inc" - - .syntax unified - - .text - - - thumb_func_start VaatiBall -VaatiBall: @ 0x080445DC - push {r4, r5, lr} - adds r4, r0, #0 - ldr r5, [r4, #0x50] - ldrb r0, [r4, #0xc] - cmp r0, #0 - beq _08044604 - cmp r0, #3 - beq _08044604 - ldr r1, [r5, #0x2c] - ldr r0, [r5, #0x78] - subs r1, r1, r0 - ldr r0, [r4, #0x2c] - adds r0, r0, r1 - str r0, [r4, #0x2c] - ldr r1, [r5, #0x30] - ldr r0, [r5, #0x7c] - subs r1, r1, r0 - ldr r0, [r4, #0x30] - adds r0, r0, r1 - str r0, [r4, #0x30] -_08044604: - ldr r1, _08044684 @ =gUnk_080D1604 - ldrb r0, [r4, #0xc] - lsls r0, r0, #2 - adds r0, r0, r1 - ldr r1, [r0] - adds r0, r4, #0 - bl _call_via_r1 - adds r0, r4, #0 - adds r0, #0x84 - ldrb r0, [r0] - cmp r0, #0 - beq _08044626 - adds r1, r4, #0 - adds r1, #0x45 - movs r0, #0xff - strb r0, [r1] -_08044626: - adds r0, r4, #0 - adds r0, #0x41 - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _08044680 - movs r0, #0x3f - ands r0, r1 - cmp r0, #0 - bne _0804464A - ldrb r0, [r4, #0xc] - cmp r0, #6 - bne _0804464A - movs r0, #2 - rsbs r0, r0, #0 - bl ModHealth -_0804464A: - adds r2, r4, #0 - adds r2, #0x45 - ldrb r0, [r2] - cmp r0, #0xfc - bhi _08044680 - ldrb r1, [r4, #0x18] - movs r0, #4 - rsbs r0, r0, #0 - ands r0, r1 - strb r0, [r4, #0x18] - ldrb r1, [r4, #0x10] - movs r0, #0x7f - ands r0, r1 - strb r0, [r4, #0x10] - movs r0, #0xff - strb r0, [r2] - adds r1, r5, #0 - adds r1, #0x80 - ldrb r0, [r1] - subs r0, #1 - strb r0, [r1] - adds r0, r4, #0 - bl sub_080A29BC - ldr r0, _08044688 @ =0x000001C3 - bl PlaySFX -_08044680: - pop {r4, r5, pc} - .align 2, 0 -_08044684: .4byte gUnk_080D1604 -_08044688: .4byte 0x000001C3 - - thumb_func_start sub_0804468C -sub_0804468C: @ 0x0804468C - push {r4, r5, r6, lr} - adds r4, r0, #0 - adds r0, #0x38 - movs r6, #0 - movs r5, #3 - strb r5, [r0] - ldrb r1, [r4, #0x19] - movs r0, #0x3f - ands r0, r1 - movs r1, #0x80 - orrs r0, r1 - strb r0, [r4, #0x19] - adds r2, r4, #0 - adds r2, #0x29 - ldrb r1, [r2] - movs r0, #8 - rsbs r0, r0, #0 - ands r0, r1 - movs r1, #5 - orrs r0, r1 - strb r0, [r2] - adds r0, r4, #0 - adds r0, #0x84 - strb r6, [r0] - ldrb r3, [r4, #0xa] - cmp r3, #0 - beq _080446C8 - cmp r3, #1 - beq _08044728 - b _0804474A -_080446C8: - movs r0, #1 - strb r0, [r4, #0xc] - strb r0, [r4, #0xe] - adds r2, r4, #0 - adds r2, #0x79 - ldrb r0, [r2] - lsls r0, r0, #3 - movs r1, #0x1f - ands r0, r1 - strb r0, [r4, #0x15] - adds r0, r4, #0 - adds r0, #0x78 - strb r3, [r0] - adds r0, #0xb - strb r3, [r0] - ldrb r1, [r4, #0x18] - movs r0, #4 - rsbs r0, r0, #0 - ands r0, r1 - strb r0, [r4, #0x18] - ldrb r0, [r2] - adds r1, r5, #0 - ands r1, r0 - lsls r1, r1, #1 - ldr r0, _08044724 @ =gUnk_080D1620 - adds r1, r1, r0 - ldr r0, [r4, #0x50] - movs r2, #0 - ldrsb r2, [r1, r2] - lsls r2, r2, #0x10 - movs r3, #1 - ldrsb r3, [r1, r3] - subs r3, #0x10 - lsls r3, r3, #0x10 - adds r1, r4, #0 - bl PositionRelative - ldr r0, [r4, #0x50] - ldrh r0, [r0, #0x36] - strh r0, [r4, #0x36] - adds r0, r4, #0 - movs r1, #0 - bl InitAnimationForceUpdate - b _0804474A - .align 2, 0 -_08044724: .4byte gUnk_080D1620 -_08044728: - strb r5, [r4, #0xc] - adds r0, r4, #0 - adds r0, #0x74 - strb r6, [r0] - adds r0, #0xf - movs r2, #1 - strb r3, [r0] - ldrb r1, [r4, #0x18] - movs r0, #4 - rsbs r0, r0, #0 - ands r0, r1 - orrs r0, r2 - strb r0, [r4, #0x18] - adds r0, r4, #0 - movs r1, #1 - bl InitAnimationForceUpdate -_0804474A: - pop {r4, r5, r6, pc} - - thumb_func_start sub_0804474C -sub_0804474C: @ 0x0804474C - push {r4, lr} - adds r4, r0, #0 - ldr r0, [r4, #0x50] - ldrb r2, [r0, #0xc] - cmp r2, #3 - beq _0804476C - cmp r2, #3 - bgt _08044762 - cmp r2, #2 - beq _0804479A - b _080447A8 -_08044762: - cmp r2, #5 - beq _0804477A - cmp r2, #6 - beq _0804478A - b _080447A8 -_0804476C: - movs r1, #0 - strb r2, [r4, #0xc] - adds r0, r4, #0 - adds r0, #0x74 - strb r1, [r0] - strb r1, [r4, #0xe] - b _080447A8 -_0804477A: - movs r0, #0 - strb r2, [r4, #0xc] - adds r1, r4, #0 - adds r1, #0x74 - strb r0, [r1] - movs r0, #1 - strb r0, [r4, #0xf] - b _080447A8 -_0804478A: - movs r0, #0 - strb r2, [r4, #0xc] - adds r1, r4, #0 - adds r1, #0x74 - strb r0, [r1] - movs r0, #0x20 - strb r0, [r4, #0xf] - b _080447A8 -_0804479A: - movs r1, #0 - strb r2, [r4, #0xc] - adds r0, r4, #0 - adds r0, #0x74 - strb r1, [r0] - subs r0, #0x35 - strb r1, [r0] -_080447A8: - ldrb r0, [r4, #0xc] - cmp r0, #1 - beq _080447B6 - adds r0, r4, #0 - bl UpdateAnimationSingleFrame - b _080447DC -_080447B6: - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _080447D0 - movs r0, #2 - strb r0, [r4, #0xe] - ldrb r0, [r4, #0x15] - adds r0, #1 - movs r1, #0x1f - ands r0, r1 - strb r0, [r4, #0x15] -_080447D0: - adds r0, r4, #0 - bl sub_0806F69C - adds r0, r4, #0 - bl UpdateAnimationSingleFrame -_080447DC: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_080447E0 -sub_080447E0: @ 0x080447E0 - push {r4, lr} - adds r4, r0, #0 - ldr r3, [r4, #0x50] - ldrb r0, [r3, #0xc] - cmp r0, #1 - bne _08044818 - strb r0, [r4, #0xc] - adds r1, r4, #0 - adds r1, #0x3f - movs r0, #0x2b - strb r0, [r1] - adds r0, r4, #0 - movs r1, #0 - bl sub_08044E74 - ldrb r1, [r4, #0x10] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _08044864 - ldrb r0, [r4, #0x18] - movs r1, #4 - rsbs r1, r1, #0 - ands r1, r0 - movs r0, #1 - orrs r1, r0 - strb r1, [r4, #0x18] - b _08044864 -_08044818: - adds r1, r4, #0 - adds r1, #0x77 - ldrb r0, [r1] - adds r2, r0, #1 - movs r0, #7 - ands r2, r0 - strb r2, [r1] - ldrb r1, [r4, #0x10] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - beq _08044852 - movs r0, #1 - ands r0, r2 - cmp r0, #0 - beq _08044848 - ldrb r0, [r4, #0x18] - movs r1, #4 - rsbs r1, r1, #0 - ands r1, r0 - movs r0, #1 - orrs r1, r0 - strb r1, [r4, #0x18] - b _08044852 -_08044848: - ldrb r1, [r4, #0x18] - movs r0, #4 - rsbs r0, r0, #0 - ands r0, r1 - strb r0, [r4, #0x18] -_08044852: - adds r0, r3, #0 - adds r0, #0x74 - ldrb r0, [r0] - cmp r0, #2 - bne _08044864 - adds r0, r4, #0 - movs r1, #2 - bl sub_08044E74 -_08044864: - pop {r4, pc} - .align 2, 0 - - thumb_func_start sub_08044868 -sub_08044868: @ 0x08044868 - push {r4, r5, r6, r7, lr} - mov r7, r8 - push {r7} - adds r4, r0, #0 - ldr r5, [r4, #0x50] - adds r0, r5, #0 - adds r0, #0x74 - ldrb r0, [r0] - cmp r0, #3 - bne _0804487E - b _080449C8 -_0804487E: - cmp r0, #3 - bgt _0804488E - cmp r0, #1 - beq _08044948 - cmp r0, #2 - bne _0804488C - b _080449AE -_0804488C: - b _080449EA -_0804488E: - cmp r0, #0xfe - beq _08044898 - cmp r0, #0xff - beq _080448B6 - b _080449EA -_08044898: - adds r0, r4, #0 - adds r0, #0x83 - ldrb r0, [r0] - cmp r0, #0 - bne _080448A4 - b _080449EA -_080448A4: - adds r0, r4, #0 - adds r0, #0x74 - ldrb r0, [r0] - cmp r0, #2 - beq _080448B0 - b _080449EA -_080448B0: - bl DeleteThisEntity - b _080449EA -_080448B6: - adds r0, r4, #0 - adds r0, #0x83 - ldrb r0, [r0] - cmp r0, #0 - bne _080448C2 - b _080449EA -_080448C2: - adds r6, r4, #0 - adds r6, #0x74 - ldrb r0, [r6] - cmp r0, #0 - beq _080448D2 - cmp r0, #1 - beq _08044900 - b _080449EA -_080448D2: - adds r0, r4, #0 - adds r0, #0x5a - ldrb r1, [r0] - movs r0, #0x80 - ands r0, r1 - cmp r0, #0 - bne _080448E2 - b _080449EA -_080448E2: - movs r0, #1 - strb r0, [r6] - movs r0, #0x2e - ldrsh r1, [r5, r0] - movs r0, #0x32 - ldrsh r2, [r5, r0] - subs r2, #0x10 - adds r0, r4, #0 - bl sub_080045B4 - strb r0, [r4, #0x15] - movs r0, #0xc0 - lsls r0, r0, #1 - strh r0, [r4, #0x24] - b _080449EA -_08044900: - adds r0, r4, #0 - bl sub_0806F69C - movs r0, #0x2e - ldrsh r1, [r5, r0] - movs r0, #0x32 - ldrsh r2, [r5, r0] - subs r2, #0x10 - adds r0, r4, #0 - movs r3, #0xc - bl sub_0806FCB8 - cmp r0, #0 - beq _08044934 - ldrb r0, [r6] - adds r0, #1 - strb r0, [r6] - ldrh r0, [r5, #0x2e] - strh r0, [r4, #0x2e] - ldrh r0, [r5, #0x32] - subs r0, #0x10 - strh r0, [r4, #0x32] - ldrb r0, [r5, #0xe] - adds r0, #1 - strb r0, [r5, #0xe] - b _080449EA -_08044934: - movs r0, #0x2e - ldrsh r1, [r5, r0] - movs r0, #0x32 - ldrsh r2, [r5, r0] - subs r2, #0x10 - adds r0, r4, #0 - bl sub_080045B4 - strb r0, [r4, #0x15] - b _080449EA -_08044948: - adds r1, r4, #0 - adds r1, #0x83 - ldrb r0, [r1] - cmp r0, #0 - bne _08044964 - adds r0, #1 - strb r0, [r1] - ldrb r1, [r4, #0x18] - movs r0, #4 - rsbs r0, r0, #0 - ands r0, r1 - movs r1, #1 - orrs r0, r1 - strb r0, [r4, #0x18] -_08044964: - adds r0, r4, #0 - bl sub_08044DEC - adds r0, r5, #0 - adds r0, #0x86 - ldrb r0, [r0] - cmp r0, #1 - bls _080449A8 - ldrb r0, [r4, #0x18] - lsls r0, r0, #0x1e - lsrs r6, r0, #0x1e - cmp r6, #1 - bne _080449A8 - movs r0, #0x84 - adds r0, r0, r4 - mov r8, r0 - ldrb r7, [r0] - cmp r7, #0 - bne _080449A8 - adds r0, r4, #0 - movs r1, #0x18 - movs r2, #0 - bl sub_0804A98C - adds r5, r0, #0 - cmp r5, #0 - beq _080449A8 - strb r6, [r5, #0xb] - str r4, [r5, #0x50] - mov r0, r8 - strb r6, [r0] - adds r0, r4, #0 - adds r0, #0x3f - strb r7, [r0] -_080449A8: - movs r0, #0x20 - strb r0, [r4, #0xe] - b _080449EA -_080449AE: - ldrb r0, [r4, #0xe] - cmp r0, #0 - beq _080449EA - subs r0, #1 - strb r0, [r4, #0xe] - lsls r0, r0, #0x18 - lsrs r0, r0, #0x18 - cmp r0, #0x10 - bhi _080449EA - adds r0, r4, #0 - bl sub_0806F69C - b _080449EA -_080449C8: - adds r0, r4, #0 - movs r1, #1 - bl sub_08044E74 - ldrb r0, [r4, #0x18] - lsls r0, r0, #0x1e - lsrs r0, r0, #0x1e - cmp r0, #1 - bne _080449E2 - ldrb r1, [r4, #0x10] - movs r0, #0x80 - orrs r0, r1 - b _080449E8 -_080449E2: - ldrb r1, [r4, #0x10] - movs r0, #0x7f - ands r0, r1 -_080449E8: - strb r0, [r4, #0x10] -_080449EA: - adds r0, r4, #0 - bl UpdateAnimationSingleFrame - pop {r3} - mov r8, r3 - pop {r4, r5, r6, r7, pc} - .align 2, 0 - - thumb_func_start sub_080449F8 -sub_080449F8: @ 0x080449F8 - push {r4, r5, r6, lr} - adds r5, r0, #0 - ldr r4, [r5, #0x50] - bl UpdateAnimationSingleFrame - ldrb r0, [r4, #0xc] - cmp r0, #1 - beq _08044A90 - adds r6, r4, #0 - adds r6, #0x74 - ldrb r0, [r6] - cmp r0, #1 - beq _08044A6A - cmp r0, #1 - bgt _08044A1C - cmp r0, #0 - beq _08044A26 - b _08044B02 -_08044A1C: - cmp r0, #2 - beq _08044AC6 - cmp r0, #3 - beq _08044AF8 - b _08044B02 -_08044A26: - adds r0, r5, #0 - bl sub_0806F69C - ldrb r0, [r5, #0xe] - subs r0, #1 - strb r0, [r5, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _08044B02 - adds r1, r5, #0 - adds r1, #0x78 - ldrb r0, [r1] - cmp r0, #0 - bne _08044A4C - adds r0, #1 - strb r0, [r1] - movs r0, #0xa0 - lsls r0, r0, #2 - strh r0, [r5, #0x24] -_08044A4C: - movs r0, #4 - strb r0, [r5, #0xe] - ldrb r0, [r5, #0x15] - adds r0, #1 - movs r1, #0x1f - ands r0, r1 - strb r0, [r5, #0x15] - adds r0, r4, #0 - adds r0, #0x80 - ldrb r0, [r0] - cmp r0, #0 - bne _08044B02 - movs r0, #1 - strb r0, [r6] - b _08044B02 -_08044A6A: - ldrb r0, [r5, #0xe] - cmp r0, #2 - beq _08044A84 - cmp r0, #2 - bgt _08044A7A - cmp r0, #1 - beq _08044A9A - b _08044B02 -_08044A7A: - cmp r0, #3 - beq _08044ABA - cmp r0, #4 - beq _08044AB4 - b _08044B02 -_08044A84: - adds r0, r4, #0 - adds r0, #0x80 - ldrb r0, [r0] - cmp r0, #0 - bne _08044B02 - strb r0, [r5, #0xf] -_08044A90: - adds r0, r5, #0 - movs r1, #0 - bl sub_08044E74 - b _08044B02 -_08044A9A: - ldrb r0, [r5, #0x15] - adds r0, #0x10 - movs r4, #0x1f - ands r0, r4 - strb r0, [r5, #0x15] - adds r0, r5, #0 - bl sub_0806F69C - ldrb r0, [r5, #0x15] - adds r0, #0x10 - ands r0, r4 - strb r0, [r5, #0x15] - b _08044AC0 -_08044AB4: - adds r0, r5, #0 - bl sub_0806F69C -_08044ABA: - adds r0, r5, #0 - bl sub_0806F69C -_08044AC0: - movs r0, #2 - strb r0, [r5, #0xe] - b _08044B02 -_08044AC6: - adds r1, r5, #0 - adds r1, #0x74 - ldrb r0, [r1] - cmp r0, #0 - bne _08044B02 - adds r0, #1 - strb r0, [r1] - ldrb r0, [r5, #0x18] - lsls r0, r0, #0x1e - cmp r0, #0 - beq _08044B02 - adds r0, r5, #0 - movs r1, #0x1c - movs r2, #0 - bl sub_0804A98C - adds r4, r0, #0 - cmp r4, #0 - beq _08044B02 - ldrh r0, [r4, #0x32] - adds r0, #4 - strh r0, [r4, #0x32] - str r5, [r4, #0x50] - str r4, [r5, #0x54] - b _08044B02 -_08044AF8: - ldrb r0, [r5, #0xf] - cmp r0, #0 - beq _08044B02 - movs r0, #0 - strb r0, [r5, #0xf] -_08044B02: - pop {r4, r5, r6, pc} - - thumb_func_start sub_08044B04 -sub_08044B04: @ 0x08044B04 - push {r4, r5, r6, r7, lr} - mov r7, r8 - push {r7} - adds r4, r0, #0 - ldr r6, [r4, #0x50] - bl UpdateAnimationSingleFrame - ldrb r0, [r6, #0xc] - cmp r0, #1 - bne _08044B26 - adds r0, r4, #0 - movs r1, #0 - bl sub_08044E74 - movs r0, #0x20 - strb r0, [r4, #0xe] - b _08044DE6 -_08044B26: - adds r0, r6, #0 - adds r0, #0x74 - ldrb r5, [r0] - cmp r5, #1 - bne _08044B32 - b _08044D10 -_08044B32: - cmp r5, #1 - bgt _08044B3C - cmp r5, #0 - beq _08044B4A - b _08044DE6 -_08044B3C: - cmp r5, #2 - bne _08044B42 - b _08044DE6 -_08044B42: - cmp r5, #3 - bne _08044B48 - b _08044D6A -_08044B48: - b _08044DE6 -_08044B4A: - adds r0, r4, #0 - bl sub_0806F69C - adds r7, r4, #0 - adds r7, #0x74 - ldrb r0, [r7] - mov r8, r7 - cmp r0, #1 - beq _08044BF4 - cmp r0, #1 - bgt _08044B66 - cmp r0, #0 - beq _08044B72 - b _08044DE6 -_08044B66: - cmp r0, #2 - beq _08044C4C - cmp r0, #3 - bne _08044B70 - b _08044C9C -_08044B70: - b _08044DE6 -_08044B72: - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _08044B98 - adds r0, r4, #0 - adds r0, #0x78 - ldrb r0, [r0] - movs r1, #2 - cmp r0, #0 - beq _08044B8C - movs r1, #4 -_08044B8C: - strb r1, [r4, #0xe] - ldrb r0, [r4, #0x15] - adds r0, #1 - movs r1, #0x1f - ands r0, r1 - strb r0, [r4, #0x15] -_08044B98: - ldrb r0, [r4, #0xf] - subs r0, #1 - strb r0, [r4, #0xf] - movs r2, #0xff - lsls r0, r0, #0x18 - lsrs r3, r0, #0x18 - cmp r3, #0 - beq _08044BAA - b _08044DE6 -_08044BAA: - ldrb r0, [r4, #0xe] - cmp r0, #2 - beq _08044BB6 - movs r0, #1 - strb r0, [r4, #0xf] - b _08044DE6 -_08044BB6: - adds r1, r4, #0 - adds r1, #0x78 - ldrb r0, [r1] - adds r0, #1 - strb r0, [r1] - ands r0, r2 - cmp r0, #2 - bls _08044BDA - mov r2, r8 - ldrb r0, [r2] - adds r0, #1 - strb r0, [r2] - movs r0, #1 - strb r0, [r1] - movs r0, #4 - strb r0, [r4, #0xe] - strb r3, [r4, #0xf] - b _08044BDE -_08044BDA: - movs r0, #0x20 - strb r0, [r4, #0xf] -_08044BDE: - ldrb r0, [r1] - movs r2, #0xa0 - lsls r2, r2, #3 - adds r1, r2, #0 - cmp r0, #0 - beq _08044BF0 - movs r0, #0xa0 - lsls r0, r0, #2 - adds r1, r0, #0 -_08044BF0: - strh r1, [r4, #0x24] - b _08044DE6 -_08044BF4: - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - movs r1, #0xff - lsls r0, r0, #0x18 - cmp r0, #0 - beq _08044C04 - b _08044DE6 -_08044C04: - movs r0, #6 - strb r0, [r4, #0xe] - ldrb r0, [r4, #0x15] - adds r0, #1 - movs r2, #0x1f - mov r8, r2 - mov r2, r8 - ands r0, r2 - strb r0, [r4, #0x15] - ldrb r0, [r4, #0xf] - adds r0, #1 - strb r0, [r4, #0xf] - ands r0, r1 - cmp r0, #0x30 - beq _08044C24 - b _08044DE6 -_08044C24: - movs r0, #0x2e - ldrsh r1, [r6, r0] - movs r0, #0x32 - ldrsh r2, [r6, r0] - subs r2, #0x10 - adds r0, r4, #0 - bl sub_080045B4 - strh r5, [r4, #0x24] - adds r0, #0x10 - mov r1, r8 - ands r0, r1 - strb r0, [r4, #0x15] - movs r0, #0x10 - strb r0, [r4, #0xe] - strb r0, [r4, #0xf] - ldrb r0, [r7] - adds r0, #1 - strb r0, [r7] - b _08044DE6 -_08044C4C: - ldrb r0, [r4, #0xf] - cmp r0, #0 - bne _08044CA2 - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - lsls r0, r0, #0x18 - lsrs r5, r0, #0x18 - cmp r5, #4 - beq _08044CAE - cmp r5, #4 - bgt _08044C6A - cmp r5, #0 - beq _08044C78 - b _08044DE6 -_08044C6A: - cmp r5, #0xc - beq _08044C70 - b _08044DE6 -_08044C70: - movs r0, #0xa0 - lsls r0, r0, #3 - strh r0, [r4, #0x24] - b _08044DE6 -_08044C78: - ldrb r0, [r7] - adds r0, #1 - strb r0, [r7] - movs r2, #0x2e - ldrsh r1, [r6, r2] - movs r0, #0x32 - ldrsh r2, [r6, r0] - subs r2, #0x10 - adds r0, r4, #0 - bl sub_080045B4 - strb r0, [r4, #0x15] - strh r5, [r4, #0x24] - movs r0, #4 - strb r0, [r4, #0xe] - movs r0, #0x10 - strb r0, [r4, #0xf] - b _08044DE6 -_08044C9C: - ldrb r0, [r4, #0xf] - cmp r0, #0 - beq _08044CB6 -_08044CA2: - subs r0, #1 - strb r0, [r4, #0xf] - lsls r0, r0, #0x18 - cmp r0, #0 - beq _08044CAE - b _08044DE6 -_08044CAE: - movs r0, #0xa0 - lsls r0, r0, #2 - strh r0, [r4, #0x24] - b _08044DE6 -_08044CB6: - ldrb r0, [r4, #0xe] - cmp r0, #0 - beq _08044CD2 - subs r0, #1 - strb r0, [r4, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _08044CD2 - movs r0, #0xa0 - lsls r0, r0, #3 - strh r0, [r4, #0x24] - ldr r0, _08044D0C @ =0x0000014F - bl PlaySFX -_08044CD2: - adds r0, r4, #0 - adds r0, #0x79 - ldrb r0, [r0] - cmp r0, #3 - bne _08044CF8 - movs r2, #0x2e - ldrsh r1, [r6, r2] - movs r0, #0x32 - ldrsh r2, [r6, r0] - subs r2, #0x10 - adds r0, r4, #0 - movs r3, #0xc - bl sub_0806FCB8 - cmp r0, #0 - beq _08044CF8 - ldrb r0, [r6, #0xe] - adds r0, #1 - strb r0, [r6, #0xe] -_08044CF8: - movs r2, #0x2e - ldrsh r1, [r6, r2] - movs r0, #0x32 - ldrsh r2, [r6, r0] - subs r2, #0x10 - adds r0, r4, #0 - bl sub_080045B4 - strb r0, [r4, #0x15] - b _08044DE6 - .align 2, 0 -_08044D0C: .4byte 0x0000014F -_08044D10: - adds r1, r4, #0 - adds r1, #0x74 - ldrb r0, [r1] - cmp r0, #1 - beq _08044D50 - cmp r0, #3 - bne _08044DE6 - strb r5, [r1] - movs r0, #0x50 - strb r0, [r4, #0xe] - ldrb r1, [r4, #0x10] - movs r0, #0x7f - ands r0, r1 - strb r0, [r4, #0x10] - ldr r3, _08044D4C @ =0xFFF00000 - adds r0, r6, #0 - adds r1, r4, #0 - movs r2, #0 - bl PositionRelative - ldrb r0, [r4, #0xf] - cmp r0, #0 - beq _08044DE6 - ldrb r1, [r4, #0x18] - movs r0, #4 - rsbs r0, r0, #0 - ands r0, r1 - strb r0, [r4, #0x18] - b _08044DE6 - .align 2, 0 -_08044D4C: .4byte 0xFFF00000 -_08044D50: - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - lsls r0, r0, #0x18 - lsrs r0, r0, #0x18 - cmp r0, #0 - bne _08044DE6 - strb r0, [r1] - movs r0, #0x20 - strb r0, [r4, #0xe] - movs r0, #4 - strb r0, [r4, #0xf] - b _08044DE6 -_08044D6A: - adds r5, r4, #0 - adds r5, #0x74 - ldrb r0, [r5] - cmp r0, #1 - beq _08044DA4 - cmp r0, #1 - bgt _08044D7E - cmp r0, #0 - beq _08044D84 - b _08044DE6 -_08044D7E: - cmp r0, #2 - beq _08044DBE - b _08044DE6 -_08044D84: - ldrb r0, [r4, #0xf] - cmp r0, #0 - beq _08044DE6 - subs r0, #1 - strb r0, [r4, #0xf] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _08044DE6 - adds r0, r4, #0 - bl sub_08044DEC - movs r0, #1 - strb r0, [r5] - movs r0, #0x10 - strb r0, [r4, #0xe] - b _08044DE6 -_08044DA4: - adds r0, r4, #0 - bl sub_0806F69C - ldrb r0, [r4, #0xe] - subs r0, #1 - strb r0, [r4, #0xe] - lsls r0, r0, #0x18 - cmp r0, #0 - bne _08044DE6 - ldrb r0, [r5] - adds r0, #1 - strb r0, [r5] - b _08044DE6 -_08044DBE: - adds r0, r4, #0 - movs r1, #1 - bl sub_08044E74 - ldrb r0, [r4, #0x18] - lsls r0, r0, #0x1e - lsrs r0, r0, #0x1e - cmp r0, #1 - bne _08044DD8 - ldrb r1, [r4, #0x10] - movs r0, #0x80 - orrs r0, r1 - b _08044DDE -_08044DD8: - ldrb r1, [r4, #0x10] - movs r0, #0x7f - ands r0, r1 -_08044DDE: - strb r0, [r4, #0x10] - ldrb r0, [r6, #0xe] - adds r0, #1 - strb r0, [r6, #0xe] -_08044DE6: - pop {r3} - mov r8, r3 - pop {r4, r5, r6, r7, pc} - - thumb_func_start sub_08044DEC -sub_08044DEC: @ 0x08044DEC - push {lr} - mov ip, r0 - ldr r0, [r0, #0x50] - adds r0, #0x80 - mov r1, ip - adds r1, #0x79 - ldrb r0, [r0] - ldrb r1, [r1] - cmp r0, r1 - bls _08044E1A - mov r0, ip - ldrb r1, [r0, #0x18] - movs r0, #4 - rsbs r0, r0, #0 - ands r0, r1 - movs r1, #1 - orrs r0, r1 - mov r1, ip - strb r0, [r1, #0x18] - adds r1, #0x45 - movs r0, #0xff - strb r0, [r1] - b _08044E26 -_08044E1A: - mov r2, ip - ldrb r1, [r2, #0x18] - movs r0, #4 - rsbs r0, r0, #0 - ands r0, r1 - strb r0, [r2, #0x18] -_08044E26: - mov r0, ip - ldrb r1, [r0, #0x10] - movs r0, #0x7f - ands r0, r1 - movs r1, #0 - mov r2, ip - strb r0, [r2, #0x10] - mov r0, ip - adds r0, #0x78 - strb r1, [r0] - movs r0, #0xc0 - lsls r0, r0, #2 - strh r0, [r2, #0x24] - ldr r0, [r2, #0x50] - adds r1, r0, #0 - adds r1, #0x80 - ldrb r1, [r1] - subs r1, #1 - ldr r2, _08044E6C @ =gUnk_080D1628 - mov r3, ip - adds r3, #0x79 - lsls r1, r1, #2 - ldrb r3, [r3] - adds r1, r1, r3 - adds r1, r1, r2 - ldrb r1, [r1] - mov r2, ip - strb r1, [r2, #0x15] - ldr r3, _08044E70 @ =0xFFF00000 - mov r1, ip - movs r2, #0 - bl PositionRelative - pop {pc} - .align 2, 0 -_08044E6C: .4byte gUnk_080D1628 -_08044E70: .4byte 0xFFF00000 - - thumb_func_start sub_08044E74 -sub_08044E74: @ 0x08044E74 - push {r4, r5, r6, lr} - adds r5, r0, #0 - adds r2, r1, #0 - movs r0, #0 - movs r1, #1 - strb r1, [r5, #0xc] - adds r1, r5, #0 - adds r1, #0x74 - strb r0, [r1] - cmp r2, #1 - beq _08044ED4 - cmp r2, #1 - blo _08044EE4 - adds r6, r5, #0 - adds r6, #0x78 - cmp r2, #2 - bne _08044F3E - strb r2, [r5, #0xc] - ldrb r0, [r5, #0x15] - adds r0, #0x18 - movs r4, #0x1f - ands r0, r4 - strb r0, [r5, #0x15] - ldr r0, [r5, #0x50] - ldr r3, _08044ED0 @ =0xFFF00000 - adds r1, r5, #0 - movs r2, #0 - bl PositionRelative - movs r0, #0xc0 - lsls r0, r0, #6 - strh r0, [r5, #0x24] - adds r0, r5, #0 - bl sub_0806F69C - ldrb r0, [r5, #0x15] - adds r0, #8 - ands r0, r4 - strb r0, [r5, #0x15] - movs r0, #0xa0 - lsls r0, r0, #3 - strh r0, [r5, #0x24] - adds r0, r5, #0 - bl sub_0806F69C - b _08044F3E - .align 2, 0 -_08044ED0: .4byte 0xFFF00000 -_08044ED4: - ldrb r0, [r5, #0x15] - adds r0, #8 - movs r1, #0x1f - ands r0, r1 - strb r0, [r5, #0x15] - adds r6, r5, #0 - adds r6, #0x78 - b _08044F3E -_08044EE4: - adds r0, r5, #0 - adds r0, #0x78 - ldrb r1, [r0] - adds r6, r0, #0 - cmp r1, #0 - beq _08044F32 - ldrb r0, [r5, #0xe] - cmp r0, #1 - beq _08044F18 - cmp r0, #1 - blt _08044F3E - cmp r0, #4 - bgt _08044F3E - cmp r0, #3 - blt _08044F3E - movs r4, #0xff -_08044F04: - adds r0, r5, #0 - bl sub_0806F69C - ldrb r0, [r5, #0xe] - subs r0, #1 - strb r0, [r5, #0xe] - ands r0, r4 - cmp r0, #2 - bne _08044F04 - b _08044F3E -_08044F18: - ldrb r0, [r5, #0x15] - adds r0, #0x10 - movs r4, #0x1f - ands r0, r4 - strb r0, [r5, #0x15] - adds r0, r5, #0 - bl sub_0806F69C - ldrb r0, [r5, #0x15] - adds r0, #0x10 - ands r0, r4 - strb r0, [r5, #0x15] - b _08044F3E -_08044F32: - ldrb r0, [r5, #0xe] - cmp r0, #2 - bne _08044F3E - adds r0, r5, #0 - bl sub_0806F69C -_08044F3E: - movs r0, #0 - movs r1, #1 - strb r1, [r5, #0xe] - strb r0, [r6] - movs r0, #0xa0 - lsls r0, r0, #3 - strh r0, [r5, #0x24] - pop {r4, r5, r6, pc} - .align 2, 0 diff --git a/data/animations/beetle.s b/data/animations/beetle.s new file mode 100644 index 00000000..e9bdbbf0 --- /dev/null +++ b/data/animations/beetle.s @@ -0,0 +1,28 @@ + .include "asm/macros.inc" + .include "constants/constants.inc" + + .section .rodata + +gUnk_080CB5EC:: @ 080CB5EC + .incbin "baserom.gba", 0x0CB5EC, 0x0000014 + +gUnk_080CB600:: @ 080CB600 + .incbin "baserom.gba", 0x0CB600, 0x000001C + +gUnk_080CB61C:: @ 080CB61C + .incbin "baserom.gba", 0x0CB61C, 0x0000011 + +gUnk_080CB62D:: @ 080CB62D + .incbin "baserom.gba", 0x0CB62D, 0x0000018 + +gUnk_080CB645:: @ 080CB645 + .incbin "baserom.gba", 0x0CB645, 0x0000018 + +gUnk_080CB65D:: @ 080CB65D + .incbin "baserom.gba", 0x0CB65D, 0x0000014 + +gUnk_080CB671:: @ 080CB671 + .incbin "baserom.gba", 0x0CB671, 0x000000B + +gUnk_080CB67C:: @ 080CB67C + .incbin "baserom.gba", 0x0CB67C, 0x0000020 diff --git a/data/animations/chuchu.s b/data/animations/chuchu.s new file mode 100644 index 00000000..7b9b2642 --- /dev/null +++ b/data/animations/chuchu.s @@ -0,0 +1,41 @@ + .include "asm/macros.inc" + .include "constants/constants.inc" + + .section .rodata + .align 2 + +gUnk_080CA2B4:: @ 080CA2B4 + .incbin "baserom.gba", 0x0CA2B4, 0x000000A + +gUnk_080CA2BE:: @ 080CA2BE + .incbin "baserom.gba", 0x0CA2BE, 0x000002C + +gUnk_080CA2EA:: @ 080CA2EA + .incbin "baserom.gba", 0x0CA2EA, 0x0000011 + +gUnk_080CA2FB:: @ 080CA2FB + .incbin "baserom.gba", 0x0CA2FB, 0x0000041 + +gUnk_080CA33C:: @ 080CA33C + .incbin "baserom.gba", 0x0CA33C, 0x000001C + +gUnk_080CA358:: @ 080CA358 + .incbin "baserom.gba", 0x0CA358, 0x000000C + +gUnk_080CA364:: @ 080CA364 + .incbin "baserom.gba", 0x0CA364, 0x000000C + +gUnk_080CA370:: @ 080CA370 + .incbin "baserom.gba", 0x0CA370, 0x0000041 + +gUnk_080CA3B1:: @ 080CA3B1 + .incbin "baserom.gba", 0x0CA3B1, 0x0000014 + +gUnk_080CA3C5:: @ 080CA3C5 + .incbin "baserom.gba", 0x0CA3C5, 0x0000069 + +gUnk_080CA42E:: @ 080CA42E + .incbin "baserom.gba", 0x0CA42E, 0x0000042 + +gUnk_080CA470:: @ 080CA470 + .incbin "baserom.gba", 0x0CA470, 0x000002C diff --git a/data/animations/darkNut.s b/data/animations/darkNut.s new file mode 100644 index 00000000..67419e1d --- /dev/null +++ b/data/animations/darkNut.s @@ -0,0 +1,239 @@ + .include "asm/macros.inc" + .include "constants/constants.inc" + + .section .rodata + .align 2 + +gUnk_080CAB6C:: @ 080CAB6C + .incbin "baserom.gba", 0x0CAB6C, 0x0000004 + +gUnk_080CAB70:: @ 080CAB70 + .incbin "baserom.gba", 0x0CAB70, 0x0000004 + +gUnk_080CAB74:: @ 080CAB74 + .incbin "baserom.gba", 0x0CAB74, 0x0000004 + +gUnk_080CAB78:: @ 080CAB78 + .incbin "baserom.gba", 0x0CAB78, 0x0000004 + +gUnk_080CAB7C:: @ 080CAB7C + .incbin "baserom.gba", 0x0CAB7C, 0x0000010 + +gUnk_080CAB8C:: @ 080CAB8C + .incbin "baserom.gba", 0x0CAB8C, 0x0000010 + +gUnk_080CAB9C:: @ 080CAB9C + .incbin "baserom.gba", 0x0CAB9C, 0x0000010 + +gUnk_080CABAC:: @ 080CABAC + .incbin "baserom.gba", 0x0CABAC, 0x0000010 + +gUnk_080CABBC:: @ 080CABBC + .incbin "baserom.gba", 0x0CABBC, 0x0000004 + +gUnk_080CABC0:: @ 080CABC0 + .incbin "baserom.gba", 0x0CABC0, 0x0000004 + +gUnk_080CABC4:: @ 080CABC4 + .incbin "baserom.gba", 0x0CABC4, 0x0000004 + +gUnk_080CABC8:: @ 080CABC8 + .incbin "baserom.gba", 0x0CABC8, 0x0000004 + +gUnk_080CABCC:: @ 080CABCC + .incbin "baserom.gba", 0x0CABCC, 0x0000019 + +gUnk_080CABE5:: @ 080CABE5 + .incbin "baserom.gba", 0x0CABE5, 0x0000019 + +gUnk_080CABFE:: @ 080CABFE + .incbin "baserom.gba", 0x0CABFE, 0x0000019 + +gUnk_080CAC17:: @ 080CAC17 + .incbin "baserom.gba", 0x0CAC17, 0x0000019 + +gUnk_080CAC30:: @ 080CAC30 + .incbin "baserom.gba", 0x0CAC30, 0x000000C + +gUnk_080CAC3C:: @ 080CAC3C + .incbin "baserom.gba", 0x0CAC3C, 0x000000C + +gUnk_080CAC48:: @ 080CAC48 + .incbin "baserom.gba", 0x0CAC48, 0x000000C + +gUnk_080CAC54:: @ 080CAC54 + .incbin "baserom.gba", 0x0CAC54, 0x000000C + +gUnk_080CAC60:: @ 080CAC60 + .incbin "baserom.gba", 0x0CAC60, 0x0000028 + +gUnk_080CAC88:: @ 080CAC88 + .incbin "baserom.gba", 0x0CAC88, 0x0000028 + +gUnk_080CACB0:: @ 080CACB0 + .incbin "baserom.gba", 0x0CACB0, 0x0000028 + +gUnk_080CACD8:: @ 080CACD8 + .incbin "baserom.gba", 0x0CACD8, 0x0000028 + +gUnk_080CAD00:: @ 080CAD00 + .incbin "baserom.gba", 0x0CAD00, 0x0000019 + +gUnk_080CAD19:: @ 080CAD19 + .incbin "baserom.gba", 0x0CAD19, 0x0000019 + +gUnk_080CAD32:: @ 080CAD32 + .incbin "baserom.gba", 0x0CAD32, 0x0000019 + +gUnk_080CAD4B:: @ 080CAD4B + .incbin "baserom.gba", 0x0CAD4B, 0x0000019 + +gUnk_080CAD64:: @ 080CAD64 + .incbin "baserom.gba", 0x0CAD64, 0x000000C + +gUnk_080CAD70:: @ 080CAD70 + .incbin "baserom.gba", 0x0CAD70, 0x000000C + +gUnk_080CAD7C:: @ 080CAD7C + .incbin "baserom.gba", 0x0CAD7C, 0x000000C + +gUnk_080CAD88:: @ 080CAD88 + .incbin "baserom.gba", 0x0CAD88, 0x000000C + +gUnk_080CAD94:: @ 080CAD94 + .incbin "baserom.gba", 0x0CAD94, 0x0000015 + +gUnk_080CADA9:: @ 080CADA9 + .incbin "baserom.gba", 0x0CADA9, 0x0000015 + +gUnk_080CADBE:: @ 080CADBE + .incbin "baserom.gba", 0x0CADBE, 0x0000015 + +gUnk_080CADD3:: @ 080CADD3 + .incbin "baserom.gba", 0x0CADD3, 0x0000015 + +gUnk_080CADE8:: @ 080CADE8 + .incbin "baserom.gba", 0x0CADE8, 0x0000019 + +gUnk_080CAE01:: @ 080CAE01 + .incbin "baserom.gba", 0x0CAE01, 0x0000019 + +gUnk_080CAE1A:: @ 080CAE1A + .incbin "baserom.gba", 0x0CAE1A, 0x0000019 + +gUnk_080CAE33:: @ 080CAE33 + .incbin "baserom.gba", 0x0CAE33, 0x0000019 + +gUnk_080CAE4C:: @ 080CAE4C + .incbin "baserom.gba", 0x0CAE4C, 0x0000019 + +gUnk_080CAE65:: @ 080CAE65 + .incbin "baserom.gba", 0x0CAE65, 0x0000019 + +gUnk_080CAE7E:: @ 080CAE7E + .incbin "baserom.gba", 0x0CAE7E, 0x0000019 + +gUnk_080CAE97:: @ 080CAE97 + .incbin "baserom.gba", 0x0CAE97, 0x0000019 + +gUnk_080CAEB0:: @ 080CAEB0 + .incbin "baserom.gba", 0x0CAEB0, 0x0000010 + +gUnk_080CAEC0:: @ 080CAEC0 + .incbin "baserom.gba", 0x0CAEC0, 0x0000010 + +gUnk_080CAED0:: @ 080CAED0 + .incbin "baserom.gba", 0x0CAED0, 0x0000010 + +gUnk_080CAEE0:: @ 080CAEE0 + .incbin "baserom.gba", 0x0CAEE0, 0x0000010 + +gUnk_080CAEF0:: @ 080CAEF0 + .incbin "baserom.gba", 0x0CAEF0, 0x0000030 + +gUnk_080CAF20:: @ 080CAF20 + .incbin "baserom.gba", 0x0CAF20, 0x0000030 + +gUnk_080CAF50:: @ 080CAF50 + .incbin "baserom.gba", 0x0CAF50, 0x0000030 + +gUnk_080CAF80:: @ 080CAF80 + .incbin "baserom.gba", 0x0CAF80, 0x0000030 + +gUnk_080CAFB0:: @ 080CAFB0 + .incbin "baserom.gba", 0x0CAFB0, 0x0000018 + +gUnk_080CAFC8:: @ 080CAFC8 + .incbin "baserom.gba", 0x0CAFC8, 0x0000018 + +gUnk_080CAFE0:: @ 080CAFE0 + .incbin "baserom.gba", 0x0CAFE0, 0x0000018 + +gUnk_080CAFF8:: @ 080CAFF8 + .incbin "baserom.gba", 0x0CAFF8, 0x0000018 + +gUnk_080CB010:: @ 080CB010 + .incbin "baserom.gba", 0x0CB010, 0x0000035 + +gUnk_080CB045:: @ 080CB045 + .incbin "baserom.gba", 0x0CB045, 0x0000035 + +gUnk_080CB07A:: @ 080CB07A + .incbin "baserom.gba", 0x0CB07A, 0x0000035 + +gUnk_080CB0AF:: @ 080CB0AF + .incbin "baserom.gba", 0x0CB0AF, 0x0000035 + +gUnk_080CB0E4:: @ 080CB0E4 + .incbin "baserom.gba", 0x0CB0E4, 0x0000008 + +gUnk_080CB0EC:: @ 080CB0EC + .incbin "baserom.gba", 0x0CB0EC, 0x0000008 + +gUnk_080CB0F4:: @ 080CB0F4 + .incbin "baserom.gba", 0x0CB0F4, 0x0000008 + +gUnk_080CB0FC:: @ 080CB0FC + .incbin "baserom.gba", 0x0CB0FC, 0x0000008 + +gUnk_080CB104:: @ 080CB104 + .incbin "baserom.gba", 0x0CB104, 0x0000070 + +gUnk_080CB174:: @ 080CB174 + .incbin "baserom.gba", 0x0CB174, 0x0000070 + +gUnk_080CB1E4:: @ 080CB1E4 + .incbin "baserom.gba", 0x0CB1E4, 0x0000070 + +gUnk_080CB254:: @ 080CB254 + .incbin "baserom.gba", 0x0CB254, 0x0000070 + +gUnk_080CB2C4:: @ 080CB2C4 + .incbin "baserom.gba", 0x0CB2C4, 0x0000034 + +gUnk_080CB2F8:: @ 080CB2F8 + .incbin "baserom.gba", 0x0CB2F8, 0x0000034 + +gUnk_080CB32C:: @ 080CB32C + .incbin "baserom.gba", 0x0CB32C, 0x0000034 + +gUnk_080CB360:: @ 080CB360 + .incbin "baserom.gba", 0x0CB360, 0x0000034 + +gUnk_080CB394:: @ 080CB394 + .incbin "baserom.gba", 0x0CB394, 0x0000029 + +gUnk_080CB3BD:: @ 080CB3BD + .incbin "baserom.gba", 0x0CB3BD, 0x0000029 + +gUnk_080CB3E6:: @ 080CB3E6 + .incbin "baserom.gba", 0x0CB3E6, 0x0000029 + +gUnk_080CB40F:: @ 080CB40F + .incbin "baserom.gba", 0x0CB40F, 0x0000029 + +gUnk_080CB438:: @ 080CB438 + .incbin "baserom.gba", 0x0CB438, 0x00000C4 + +gUnk_080CB4FC:: @ 080CB4FC + .incbin "baserom.gba", 0x0CB4FC, 0x0000074 diff --git a/data/animations/doorMimic.s b/data/animations/doorMimic.s new file mode 100644 index 00000000..deaf716b --- /dev/null +++ b/data/animations/doorMimic.s @@ -0,0 +1,25 @@ + .include "asm/macros.inc" + .include "constants/constants.inc" + + .section .rodata + +gUnk_080CB8B4:: @ 080CB8B4 + .incbin "baserom.gba", 0x0CB8B4, 0x0000005 + +gUnk_080CB8B9:: @ 080CB8B9 + .incbin "baserom.gba", 0x0CB8B9, 0x0000005 + +gUnk_080CB8BE:: @ 080CB8BE + .incbin "baserom.gba", 0x0CB8BE, 0x0000019 + +gUnk_080CB8D7:: @ 080CB8D7 + .incbin "baserom.gba", 0x0CB8D7, 0x0000019 + +gUnk_080CB8F0:: @ 080CB8F0 + .incbin "baserom.gba", 0x0CB8F0, 0x0000011 + +gUnk_080CB901:: @ 080CB901 + .incbin "baserom.gba", 0x0CB901, 0x0000013 + +gUnk_080CB914:: @ 080CB914 + .incbin "baserom.gba", 0x0CB914, 0x0000034 diff --git a/data/animations/enemyE.s b/data/animations/enemyE.s new file mode 100644 index 00000000..d958e227 --- /dev/null +++ b/data/animations/enemyE.s @@ -0,0 +1,7 @@ + .include "asm/macros.inc" + .include "constants/constants.inc" + + .section .rodata + +gUnk_080CBBEC:: @ 080CBBEC + .incbin "baserom.gba", 0x0CBBEC, 0x000004C diff --git a/data/greatFairyAnimations.s b/data/animations/greatFairy.s similarity index 100% rename from data/greatFairyAnimations.s rename to data/animations/greatFairy.s diff --git a/data/animations/keese.s b/data/animations/keese.s new file mode 100644 index 00000000..3275c2d1 --- /dev/null +++ b/data/animations/keese.s @@ -0,0 +1,13 @@ + .include "asm/macros.inc" + .include "constants/constants.inc" + + .section .rodata + +gUnk_080CB706:: @ 080CB706 + .incbin "baserom.gba", 0x0CB706, 0x0000018 + +gUnk_080CB71E:: @ 080CB71E + .incbin "baserom.gba", 0x0CB71E, 0x000000A + +gUnk_080CB728:: @ 080CB728 + .incbin "baserom.gba", 0x0CB728, 0x000000C diff --git a/data/animations/leever.s b/data/animations/leever.s new file mode 100644 index 00000000..08fccd38 --- /dev/null +++ b/data/animations/leever.s @@ -0,0 +1,17 @@ + .include "asm/macros.inc" + .include "constants/constants.inc" + + .section .rodata + .align 2 + +gUnk_080CA4D4:: @ 080CA4D4 + .incbin "baserom.gba", 0x0CA4D4, 0x000002C + +gUnk_080CA500:: @ 080CA500 + .incbin "baserom.gba", 0x0CA500, 0x000001C + +gUnk_080CA51C:: @ 080CA51C + .incbin "baserom.gba", 0x0CA51C, 0x0000044 + +gUnk_080CA560:: @ 080CA560 + .incbin "baserom.gba", 0x0CA560, 0x0000010 diff --git a/data/animations/octorok.s b/data/animations/octorok.s new file mode 100644 index 00000000..d5e52e44 --- /dev/null +++ b/data/animations/octorok.s @@ -0,0 +1,32 @@ + .include "asm/macros.inc" + .include "constants/constants.inc" + + .section .rodata + .align 2 + +gUnk_080CA180:: @ 080CA180 + .incbin "baserom.gba", 0x0CA180, 0x0000009 + +gUnk_080CA189:: @ 080CA189 + .incbin "baserom.gba", 0x0CA189, 0x0000009 + +gUnk_080CA192:: @ 080CA192 + .incbin "baserom.gba", 0x0CA192, 0x0000009 + +gUnk_080CA19B:: @ 080CA19B + .incbin "baserom.gba", 0x0CA19B, 0x0000009 + +gUnk_080CA1A4:: @ 080CA1A4 + .incbin "baserom.gba", 0x0CA1A4, 0x0000015 + +gUnk_080CA1B9:: @ 080CA1B9 + .incbin "baserom.gba", 0x0CA1B9, 0x0000015 + +gUnk_080CA1CE:: @ 080CA1CE + .incbin "baserom.gba", 0x0CA1CE, 0x0000015 + +gUnk_080CA1E3:: @ 080CA1E3 + .incbin "baserom.gba", 0x0CA1E3, 0x0000015 + +gUnk_080CA1F8:: @ 080CA1F8 + .incbin "baserom.gba", 0x0CA1F8, 0x0000024 diff --git a/data/animations/peahat.s b/data/animations/peahat.s new file mode 100644 index 00000000..8977da85 --- /dev/null +++ b/data/animations/peahat.s @@ -0,0 +1,29 @@ + .include "asm/macros.inc" + .include "constants/constants.inc" + + .section .rodata + .align 2 + +gUnk_080CA5D4:: @ 080CA5D4 + .incbin "baserom.gba", 0x0CA5D4, 0x0000002 + +gUnk_080CA5D6:: @ 080CA5D6 + .incbin "baserom.gba", 0x0CA5D6, 0x0000011 + +gUnk_080CA5E7:: @ 080CA5E7 + .incbin "baserom.gba", 0x0CA5E7, 0x0000011 + +gUnk_080CA5F8:: @ 080CA5F8 + .incbin "baserom.gba", 0x0CA5F8, 0x000001D + +gUnk_080CA615:: @ 080CA615 + .incbin "baserom.gba", 0x0CA615, 0x0000011 + +gUnk_080CA626:: @ 080CA626 + .incbin "baserom.gba", 0x0CA626, 0x0000014 + +gUnk_080CA63A:: @ 080CA63A + .incbin "baserom.gba", 0x0CA63A, 0x0000016 + +gUnk_080CA650:: @ 080CA650 + .incbin "baserom.gba", 0x0CA650, 0x000001C diff --git a/data/animations/rockChuchu.s b/data/animations/rockChuchu.s new file mode 100644 index 00000000..d28e303f --- /dev/null +++ b/data/animations/rockChuchu.s @@ -0,0 +1,16 @@ + .include "asm/macros.inc" + .include "constants/constants.inc" + + .section .rodata + +gUnk_080CB96C:: @ 080CB96C + .incbin "baserom.gba", 0x0CB96C, 0x0000029 + +gUnk_080CB995:: @ 080CB995 + .incbin "baserom.gba", 0x0CB995, 0x0000041 + +gUnk_080CB9D6:: @ 080CB9D6 + .incbin "baserom.gba", 0x0CB9D6, 0x0000042 + +gUnk_080CBA18:: @ 080CBA18 + .incbin "baserom.gba", 0x0CBA18, 0x0000010 diff --git a/data/animations/rollobite.s b/data/animations/rollobite.s new file mode 100644 index 00000000..1abb3ffd --- /dev/null +++ b/data/animations/rollobite.s @@ -0,0 +1,83 @@ + .include "asm/macros.inc" + .include "constants/constants.inc" + + .section .rodata + .align 2 + +gUnk_080CA6D4:: @ 080CA6D4 + .incbin "baserom.gba", 0x0CA6D4, 0x0000003 + +gUnk_080CA6D7:: @ 080CA6D7 + .incbin "baserom.gba", 0x0CA6D7, 0x0000021 + +gUnk_080CA6F8:: @ 080CA6F8 + .incbin "baserom.gba", 0x0CA6F8, 0x0000021 + +gUnk_080CA719:: @ 080CA719 + .incbin "baserom.gba", 0x0CA719, 0x0000021 + +gUnk_080CA73A:: @ 080CA73A + .incbin "baserom.gba", 0x0CA73A, 0x0000021 + +gUnk_080CA75B:: @ 080CA75B + .incbin "baserom.gba", 0x0CA75B, 0x0000011 + +gUnk_080CA76C:: @ 080CA76C + .incbin "baserom.gba", 0x0CA76C, 0x0000011 + +gUnk_080CA77D:: @ 080CA77D + .incbin "baserom.gba", 0x0CA77D, 0x0000011 + +gUnk_080CA78E:: @ 080CA78E + .incbin "baserom.gba", 0x0CA78E, 0x0000011 + +gUnk_080CA79F:: @ 080CA79F + .incbin "baserom.gba", 0x0CA79F, 0x0000058 + +gUnk_080CA7F7:: @ 080CA7F7 + .incbin "baserom.gba", 0x0CA7F7, 0x0000058 + +gUnk_080CA84F:: @ 080CA84F + .incbin "baserom.gba", 0x0CA84F, 0x0000058 + +gUnk_080CA8A7:: @ 080CA8A7 + .incbin "baserom.gba", 0x0CA8A7, 0x0000058 + +gUnk_080CA8FF:: @ 080CA8FF + .incbin "baserom.gba", 0x0CA8FF, 0x0000008 + +gUnk_080CA907:: @ 080CA907 + .incbin "baserom.gba", 0x0CA907, 0x0000008 + +gUnk_080CA90F:: @ 080CA90F + .incbin "baserom.gba", 0x0CA90F, 0x0000008 + +gUnk_080CA917:: @ 080CA917 + .incbin "baserom.gba", 0x0CA917, 0x0000008 + +gUnk_080CA91F:: @ 080CA91F + .incbin "baserom.gba", 0x0CA91F, 0x0000004 + +gUnk_080CA923:: @ 080CA923 + .incbin "baserom.gba", 0x0CA923, 0x0000004 + +gUnk_080CA927:: @ 080CA927 + .incbin "baserom.gba", 0x0CA927, 0x0000004 + +gUnk_080CA92B:: @ 080CA92B + .incbin "baserom.gba", 0x0CA92B, 0x0000004 + +gUnk_080CA92F:: @ 080CA92F + .incbin "baserom.gba", 0x0CA92F, 0x0000041 + +gUnk_080CA970:: @ 080CA970 + .incbin "baserom.gba", 0x0CA970, 0x0000041 + +gUnk_080CA9B1:: @ 080CA9B1 + .incbin "baserom.gba", 0x0CA9B1, 0x0000041 + +gUnk_080CA9F2:: @ 080CA9F2 + .incbin "baserom.gba", 0x0CA9F2, 0x0000042 + +gUnk_080CAA34:: @ 080CAA34 + .incbin "baserom.gba", 0x0CAA34, 0x0000064 diff --git a/data/animations/spinyChuchu.s b/data/animations/spinyChuchu.s new file mode 100644 index 00000000..ab88f654 --- /dev/null +++ b/data/animations/spinyChuchu.s @@ -0,0 +1,28 @@ + .include "asm/macros.inc" + .include "constants/constants.inc" + + .section .rodata + +gUnk_080CBA64:: @ 080CBA64 + .incbin "baserom.gba", 0x0CBA64, 0x0000041 + +gUnk_080CBAA5:: @ 080CBAA5 + .incbin "baserom.gba", 0x0CBAA5, 0x0000040 + +gUnk_080CBAE5:: @ 080CBAE5 + .incbin "baserom.gba", 0x0CBAE5, 0x0000018 + +gUnk_080CBAFD:: @ 080CBAFD + .incbin "baserom.gba", 0x0CBAFD, 0x0000024 + +gUnk_080CBB21:: @ 080CBB21 + .incbin "baserom.gba", 0x0CBB21, 0x0000011 + +gUnk_080CBB32:: @ 080CBB32 + .incbin "baserom.gba", 0x0CBB32, 0x000000D + +gUnk_080CBB3F:: @ 080CBB3F + .incbin "baserom.gba", 0x0CBB3F, 0x0000005 + +gUnk_080CBB44:: @ 080CBB44 + .incbin "baserom.gba", 0x0CBB44, 0x0000020 diff --git a/data/data_080C93E0.s b/data/data_080C93E0.s index 5b2ad0f8..85db529c 100644 --- a/data/data_080C93E0.s +++ b/data/data_080C93E0.s @@ -120,6093 +120,3 @@ gUnk_080CA06C:: @ 080CA06C gUnk_080CA11C:: @ 080CA11C .incbin "baserom.gba", 0x0CA11C, 0x0000014 - -gOctorok:: @ 080CA130 - .incbin "baserom.gba", 0x0CA130, 0x0000018 - -gOctorokIdle:: @ 080CA148 - .incbin "baserom.gba", 0x0CA148, 0x0000010 - -gUnk_080CA158:: @ 080CA158 - .incbin "baserom.gba", 0x0CA158, 0x0000018 - -gUnk_080CA170:: @ 080CA170 - .incbin "baserom.gba", 0x0CA170, 0x0000004 - -gUnk_080CA174:: @ 080CA174 - .incbin "baserom.gba", 0x0CA174, 0x0000002 - -gUnk_080CA176:: @ 080CA176 - .incbin "baserom.gba", 0x0CA176, 0x0000008 - -gUnk_080CA17E:: @ 080CA17E - .incbin "baserom.gba", 0x0CA17E, 0x0000002 - -gUnk_080CA180:: @ 080CA180 - .incbin "baserom.gba", 0x0CA180, 0x0000009 - -gUnk_080CA189:: @ 080CA189 - .incbin "baserom.gba", 0x0CA189, 0x0000009 - -gUnk_080CA192:: @ 080CA192 - .incbin "baserom.gba", 0x0CA192, 0x0000009 - -gUnk_080CA19B:: @ 080CA19B - .incbin "baserom.gba", 0x0CA19B, 0x0000009 - -gUnk_080CA1A4:: @ 080CA1A4 - .incbin "baserom.gba", 0x0CA1A4, 0x0000015 - -gUnk_080CA1B9:: @ 080CA1B9 - .incbin "baserom.gba", 0x0CA1B9, 0x0000015 - -gUnk_080CA1CE:: @ 080CA1CE - .incbin "baserom.gba", 0x0CA1CE, 0x0000015 - -gUnk_080CA1E3:: @ 080CA1E3 - .incbin "baserom.gba", 0x0CA1E3, 0x0000015 - -gUnk_080CA1F8:: @ 080CA1F8 - .incbin "baserom.gba", 0x0CA1F8, 0x0000024 - -gUnk_080CA21C:: @ 080CA21C - .incbin "baserom.gba", 0x0CA21C, 0x0000018 - -gUnk_080CA234:: @ 080CA234 - .incbin "baserom.gba", 0x0CA234, 0x0000028 - -gUnk_080CA25C:: @ 080CA25C - .incbin "baserom.gba", 0x0CA25C, 0x000002C - -gUnk_080CA288:: @ 080CA288 - .incbin "baserom.gba", 0x0CA288, 0x000002C - -gUnk_080CA2B4:: @ 080CA2B4 - .incbin "baserom.gba", 0x0CA2B4, 0x000000A - -gUnk_080CA2BE:: @ 080CA2BE - .incbin "baserom.gba", 0x0CA2BE, 0x000002C - -gUnk_080CA2EA:: @ 080CA2EA - .incbin "baserom.gba", 0x0CA2EA, 0x0000011 - -gUnk_080CA2FB:: @ 080CA2FB - .incbin "baserom.gba", 0x0CA2FB, 0x0000041 - -gUnk_080CA33C:: @ 080CA33C - .incbin "baserom.gba", 0x0CA33C, 0x000001C - -gUnk_080CA358:: @ 080CA358 - .incbin "baserom.gba", 0x0CA358, 0x000000C - -gUnk_080CA364:: @ 080CA364 - .incbin "baserom.gba", 0x0CA364, 0x000000C - -gUnk_080CA370:: @ 080CA370 - .incbin "baserom.gba", 0x0CA370, 0x0000041 - -gUnk_080CA3B1:: @ 080CA3B1 - .incbin "baserom.gba", 0x0CA3B1, 0x0000014 - -gUnk_080CA3C5:: @ 080CA3C5 - .incbin "baserom.gba", 0x0CA3C5, 0x0000069 - -gUnk_080CA42E:: @ 080CA42E - .incbin "baserom.gba", 0x0CA42E, 0x0000042 - -gUnk_080CA470:: @ 080CA470 - .incbin "baserom.gba", 0x0CA470, 0x000002C - -gUnk_080CA49C:: @ 080CA49C - .incbin "baserom.gba", 0x0CA49C, 0x0000018 - -gUnk_080CA4B4:: @ 080CA4B4 - .incbin "baserom.gba", 0x0CA4B4, 0x0000014 - -gUnk_080CA4C8:: @ 080CA4C8 - .incbin "baserom.gba", 0x0CA4C8, 0x0000002 - -gUnk_080CA4CA:: @ 080CA4CA - .incbin "baserom.gba", 0x0CA4CA, 0x000000A - -gUnk_080CA4D4:: @ 080CA4D4 - .incbin "baserom.gba", 0x0CA4D4, 0x000002C - -gUnk_080CA500:: @ 080CA500 - .incbin "baserom.gba", 0x0CA500, 0x000001C - -gUnk_080CA51C:: @ 080CA51C - .incbin "baserom.gba", 0x0CA51C, 0x0000044 - -gUnk_080CA560:: @ 080CA560 - .incbin "baserom.gba", 0x0CA560, 0x0000010 - -gUnk_080CA570:: @ 080CA570 - .incbin "baserom.gba", 0x0CA570, 0x0000018 - -gUnk_080CA588:: @ 080CA588 - .incbin "baserom.gba", 0x0CA588, 0x0000008 - -gUnk_080CA590:: @ 080CA590 - .incbin "baserom.gba", 0x0CA590, 0x0000028 - -gUnk_080CA5B8:: @ 080CA5B8 - .incbin "baserom.gba", 0x0CA5B8, 0x0000004 - -gUnk_080CA5BC:: @ 080CA5BC - .incbin "baserom.gba", 0x0CA5BC, 0x0000018 - -gUnk_080CA5D4:: @ 080CA5D4 - .incbin "baserom.gba", 0x0CA5D4, 0x0000002 - -gUnk_080CA5D6:: @ 080CA5D6 - .incbin "baserom.gba", 0x0CA5D6, 0x0000011 - -gUnk_080CA5E7:: @ 080CA5E7 - .incbin "baserom.gba", 0x0CA5E7, 0x0000011 - -gUnk_080CA5F8:: @ 080CA5F8 - .incbin "baserom.gba", 0x0CA5F8, 0x000001D - -gUnk_080CA615:: @ 080CA615 - .incbin "baserom.gba", 0x0CA615, 0x0000011 - -gUnk_080CA626:: @ 080CA626 - .incbin "baserom.gba", 0x0CA626, 0x0000014 - -gUnk_080CA63A:: @ 080CA63A - .incbin "baserom.gba", 0x0CA63A, 0x0000016 - -gUnk_080CA650:: @ 080CA650 - .incbin "baserom.gba", 0x0CA650, 0x000001C - -gUnk_080CA66C:: @ 080CA66C - .incbin "baserom.gba", 0x0CA66C, 0x0000018 - -gUnk_080CA684:: @ 080CA684 - .incbin "baserom.gba", 0x0CA684, 0x0000020 - -gUnk_080CA6A4:: @ 080CA6A4 - .incbin "baserom.gba", 0x0CA6A4, 0x0000018 - -gUnk_080CA6BC:: @ 080CA6BC - .incbin "baserom.gba", 0x0CA6BC, 0x0000010 - -gUnk_080CA6CC:: @ 080CA6CC - .incbin "baserom.gba", 0x0CA6CC, 0x0000008 - -gUnk_080CA6D4:: @ 080CA6D4 - .incbin "baserom.gba", 0x0CA6D4, 0x0000003 - -gUnk_080CA6D7:: @ 080CA6D7 - .incbin "baserom.gba", 0x0CA6D7, 0x0000021 - -gUnk_080CA6F8:: @ 080CA6F8 - .incbin "baserom.gba", 0x0CA6F8, 0x0000021 - -gUnk_080CA719:: @ 080CA719 - .incbin "baserom.gba", 0x0CA719, 0x0000021 - -gUnk_080CA73A:: @ 080CA73A - .incbin "baserom.gba", 0x0CA73A, 0x0000021 - -gUnk_080CA75B:: @ 080CA75B - .incbin "baserom.gba", 0x0CA75B, 0x0000011 - -gUnk_080CA76C:: @ 080CA76C - .incbin "baserom.gba", 0x0CA76C, 0x0000011 - -gUnk_080CA77D:: @ 080CA77D - .incbin "baserom.gba", 0x0CA77D, 0x0000011 - -gUnk_080CA78E:: @ 080CA78E - .incbin "baserom.gba", 0x0CA78E, 0x0000011 - -gUnk_080CA79F:: @ 080CA79F - .incbin "baserom.gba", 0x0CA79F, 0x0000058 - -gUnk_080CA7F7:: @ 080CA7F7 - .incbin "baserom.gba", 0x0CA7F7, 0x0000058 - -gUnk_080CA84F:: @ 080CA84F - .incbin "baserom.gba", 0x0CA84F, 0x0000058 - -gUnk_080CA8A7:: @ 080CA8A7 - .incbin "baserom.gba", 0x0CA8A7, 0x0000058 - -gUnk_080CA8FF:: @ 080CA8FF - .incbin "baserom.gba", 0x0CA8FF, 0x0000008 - -gUnk_080CA907:: @ 080CA907 - .incbin "baserom.gba", 0x0CA907, 0x0000008 - -gUnk_080CA90F:: @ 080CA90F - .incbin "baserom.gba", 0x0CA90F, 0x0000008 - -gUnk_080CA917:: @ 080CA917 - .incbin "baserom.gba", 0x0CA917, 0x0000008 - -gUnk_080CA91F:: @ 080CA91F - .incbin "baserom.gba", 0x0CA91F, 0x0000004 - -gUnk_080CA923:: @ 080CA923 - .incbin "baserom.gba", 0x0CA923, 0x0000004 - -gUnk_080CA927:: @ 080CA927 - .incbin "baserom.gba", 0x0CA927, 0x0000004 - -gUnk_080CA92B:: @ 080CA92B - .incbin "baserom.gba", 0x0CA92B, 0x0000004 - -gUnk_080CA92F:: @ 080CA92F - .incbin "baserom.gba", 0x0CA92F, 0x0000041 - -gUnk_080CA970:: @ 080CA970 - .incbin "baserom.gba", 0x0CA970, 0x0000041 - -gUnk_080CA9B1:: @ 080CA9B1 - .incbin "baserom.gba", 0x0CA9B1, 0x0000041 - -gUnk_080CA9F2:: @ 080CA9F2 - .incbin "baserom.gba", 0x0CA9F2, 0x0000042 - -gUnk_080CAA34:: @ 080CAA34 - .incbin "baserom.gba", 0x0CAA34, 0x0000064 - -gUnk_080CAA98:: @ 080CAA98 - .incbin "baserom.gba", 0x0CAA98, 0x0000018 - -gUnk_080CAAB0:: @ 080CAAB0 - .incbin "baserom.gba", 0x0CAAB0, 0x0000050 - -gUnk_080CAB00:: @ 080CAB00 - .incbin "baserom.gba", 0x0CAB00, 0x0000004 - -gUnk_080CAB04:: @ 080CAB04 - .incbin "baserom.gba", 0x0CAB04, 0x0000004 - -gUnk_080CAB08:: @ 080CAB08 - .incbin "baserom.gba", 0x0CAB08, 0x0000004 - -gUnk_080CAB0C:: @ 080CAB0C - .incbin "baserom.gba", 0x0CAB0C, 0x0000004 - -gUnk_080CAB10:: @ 080CAB10 - .incbin "baserom.gba", 0x0CAB10, 0x0000004 - -gUnk_080CAB14:: @ 080CAB14 - .incbin "baserom.gba", 0x0CAB14, 0x0000026 - -gUnk_080CAB3A:: @ 080CAB3A - .incbin "baserom.gba", 0x0CAB3A, 0x0000008 - -gUnk_080CAB42:: @ 080CAB42 - .incbin "baserom.gba", 0x0CAB42, 0x0000008 - -gUnk_080CAB4A:: @ 080CAB4A - .incbin "baserom.gba", 0x0CAB4A, 0x0000008 - -gUnk_080CAB52:: @ 080CAB52 - .incbin "baserom.gba", 0x0CAB52, 0x0000006 - -gUnk_080CAB58:: @ 080CAB58 - .incbin "baserom.gba", 0x0CAB58, 0x0000010 - -gUnk_080CAB68:: @ 080CAB68 - .incbin "baserom.gba", 0x0CAB68, 0x0000004 - -gUnk_080CAB6C:: @ 080CAB6C - .incbin "baserom.gba", 0x0CAB6C, 0x0000004 - -gUnk_080CAB70:: @ 080CAB70 - .incbin "baserom.gba", 0x0CAB70, 0x0000004 - -gUnk_080CAB74:: @ 080CAB74 - .incbin "baserom.gba", 0x0CAB74, 0x0000004 - -gUnk_080CAB78:: @ 080CAB78 - .incbin "baserom.gba", 0x0CAB78, 0x0000004 - -gUnk_080CAB7C:: @ 080CAB7C - .incbin "baserom.gba", 0x0CAB7C, 0x0000010 - -gUnk_080CAB8C:: @ 080CAB8C - .incbin "baserom.gba", 0x0CAB8C, 0x0000010 - -gUnk_080CAB9C:: @ 080CAB9C - .incbin "baserom.gba", 0x0CAB9C, 0x0000010 - -gUnk_080CABAC:: @ 080CABAC - .incbin "baserom.gba", 0x0CABAC, 0x0000010 - -gUnk_080CABBC:: @ 080CABBC - .incbin "baserom.gba", 0x0CABBC, 0x0000004 - -gUnk_080CABC0:: @ 080CABC0 - .incbin "baserom.gba", 0x0CABC0, 0x0000004 - -gUnk_080CABC4:: @ 080CABC4 - .incbin "baserom.gba", 0x0CABC4, 0x0000004 - -gUnk_080CABC8:: @ 080CABC8 - .incbin "baserom.gba", 0x0CABC8, 0x0000004 - -gUnk_080CABCC:: @ 080CABCC - .incbin "baserom.gba", 0x0CABCC, 0x0000019 - -gUnk_080CABE5:: @ 080CABE5 - .incbin "baserom.gba", 0x0CABE5, 0x0000019 - -gUnk_080CABFE:: @ 080CABFE - .incbin "baserom.gba", 0x0CABFE, 0x0000019 - -gUnk_080CAC17:: @ 080CAC17 - .incbin "baserom.gba", 0x0CAC17, 0x0000019 - -gUnk_080CAC30:: @ 080CAC30 - .incbin "baserom.gba", 0x0CAC30, 0x000000C - -gUnk_080CAC3C:: @ 080CAC3C - .incbin "baserom.gba", 0x0CAC3C, 0x000000C - -gUnk_080CAC48:: @ 080CAC48 - .incbin "baserom.gba", 0x0CAC48, 0x000000C - -gUnk_080CAC54:: @ 080CAC54 - .incbin "baserom.gba", 0x0CAC54, 0x000000C - -gUnk_080CAC60:: @ 080CAC60 - .incbin "baserom.gba", 0x0CAC60, 0x0000028 - -gUnk_080CAC88:: @ 080CAC88 - .incbin "baserom.gba", 0x0CAC88, 0x0000028 - -gUnk_080CACB0:: @ 080CACB0 - .incbin "baserom.gba", 0x0CACB0, 0x0000028 - -gUnk_080CACD8:: @ 080CACD8 - .incbin "baserom.gba", 0x0CACD8, 0x0000028 - -gUnk_080CAD00:: @ 080CAD00 - .incbin "baserom.gba", 0x0CAD00, 0x0000019 - -gUnk_080CAD19:: @ 080CAD19 - .incbin "baserom.gba", 0x0CAD19, 0x0000019 - -gUnk_080CAD32:: @ 080CAD32 - .incbin "baserom.gba", 0x0CAD32, 0x0000019 - -gUnk_080CAD4B:: @ 080CAD4B - .incbin "baserom.gba", 0x0CAD4B, 0x0000019 - -gUnk_080CAD64:: @ 080CAD64 - .incbin "baserom.gba", 0x0CAD64, 0x000000C - -gUnk_080CAD70:: @ 080CAD70 - .incbin "baserom.gba", 0x0CAD70, 0x000000C - -gUnk_080CAD7C:: @ 080CAD7C - .incbin "baserom.gba", 0x0CAD7C, 0x000000C - -gUnk_080CAD88:: @ 080CAD88 - .incbin "baserom.gba", 0x0CAD88, 0x000000C - -gUnk_080CAD94:: @ 080CAD94 - .incbin "baserom.gba", 0x0CAD94, 0x0000015 - -gUnk_080CADA9:: @ 080CADA9 - .incbin "baserom.gba", 0x0CADA9, 0x0000015 - -gUnk_080CADBE:: @ 080CADBE - .incbin "baserom.gba", 0x0CADBE, 0x0000015 - -gUnk_080CADD3:: @ 080CADD3 - .incbin "baserom.gba", 0x0CADD3, 0x0000015 - -gUnk_080CADE8:: @ 080CADE8 - .incbin "baserom.gba", 0x0CADE8, 0x0000019 - -gUnk_080CAE01:: @ 080CAE01 - .incbin "baserom.gba", 0x0CAE01, 0x0000019 - -gUnk_080CAE1A:: @ 080CAE1A - .incbin "baserom.gba", 0x0CAE1A, 0x0000019 - -gUnk_080CAE33:: @ 080CAE33 - .incbin "baserom.gba", 0x0CAE33, 0x0000019 - -gUnk_080CAE4C:: @ 080CAE4C - .incbin "baserom.gba", 0x0CAE4C, 0x0000019 - -gUnk_080CAE65:: @ 080CAE65 - .incbin "baserom.gba", 0x0CAE65, 0x0000019 - -gUnk_080CAE7E:: @ 080CAE7E - .incbin "baserom.gba", 0x0CAE7E, 0x0000019 - -gUnk_080CAE97:: @ 080CAE97 - .incbin "baserom.gba", 0x0CAE97, 0x0000019 - -gUnk_080CAEB0:: @ 080CAEB0 - .incbin "baserom.gba", 0x0CAEB0, 0x0000010 - -gUnk_080CAEC0:: @ 080CAEC0 - .incbin "baserom.gba", 0x0CAEC0, 0x0000010 - -gUnk_080CAED0:: @ 080CAED0 - .incbin "baserom.gba", 0x0CAED0, 0x0000010 - -gUnk_080CAEE0:: @ 080CAEE0 - .incbin "baserom.gba", 0x0CAEE0, 0x0000010 - -gUnk_080CAEF0:: @ 080CAEF0 - .incbin "baserom.gba", 0x0CAEF0, 0x0000030 - -gUnk_080CAF20:: @ 080CAF20 - .incbin "baserom.gba", 0x0CAF20, 0x0000030 - -gUnk_080CAF50:: @ 080CAF50 - .incbin "baserom.gba", 0x0CAF50, 0x0000030 - -gUnk_080CAF80:: @ 080CAF80 - .incbin "baserom.gba", 0x0CAF80, 0x0000030 - -gUnk_080CAFB0:: @ 080CAFB0 - .incbin "baserom.gba", 0x0CAFB0, 0x0000018 - -gUnk_080CAFC8:: @ 080CAFC8 - .incbin "baserom.gba", 0x0CAFC8, 0x0000018 - -gUnk_080CAFE0:: @ 080CAFE0 - .incbin "baserom.gba", 0x0CAFE0, 0x0000018 - -gUnk_080CAFF8:: @ 080CAFF8 - .incbin "baserom.gba", 0x0CAFF8, 0x0000018 - -gUnk_080CB010:: @ 080CB010 - .incbin "baserom.gba", 0x0CB010, 0x0000035 - -gUnk_080CB045:: @ 080CB045 - .incbin "baserom.gba", 0x0CB045, 0x0000035 - -gUnk_080CB07A:: @ 080CB07A - .incbin "baserom.gba", 0x0CB07A, 0x0000035 - -gUnk_080CB0AF:: @ 080CB0AF - .incbin "baserom.gba", 0x0CB0AF, 0x0000035 - -gUnk_080CB0E4:: @ 080CB0E4 - .incbin "baserom.gba", 0x0CB0E4, 0x0000008 - -gUnk_080CB0EC:: @ 080CB0EC - .incbin "baserom.gba", 0x0CB0EC, 0x0000008 - -gUnk_080CB0F4:: @ 080CB0F4 - .incbin "baserom.gba", 0x0CB0F4, 0x0000008 - -gUnk_080CB0FC:: @ 080CB0FC - .incbin "baserom.gba", 0x0CB0FC, 0x0000008 - -gUnk_080CB104:: @ 080CB104 - .incbin "baserom.gba", 0x0CB104, 0x0000070 - -gUnk_080CB174:: @ 080CB174 - .incbin "baserom.gba", 0x0CB174, 0x0000070 - -gUnk_080CB1E4:: @ 080CB1E4 - .incbin "baserom.gba", 0x0CB1E4, 0x0000070 - -gUnk_080CB254:: @ 080CB254 - .incbin "baserom.gba", 0x0CB254, 0x0000070 - -gUnk_080CB2C4:: @ 080CB2C4 - .incbin "baserom.gba", 0x0CB2C4, 0x0000034 - -gUnk_080CB2F8:: @ 080CB2F8 - .incbin "baserom.gba", 0x0CB2F8, 0x0000034 - -gUnk_080CB32C:: @ 080CB32C - .incbin "baserom.gba", 0x0CB32C, 0x0000034 - -gUnk_080CB360:: @ 080CB360 - .incbin "baserom.gba", 0x0CB360, 0x0000034 - -gUnk_080CB394:: @ 080CB394 - .incbin "baserom.gba", 0x0CB394, 0x0000029 - -gUnk_080CB3BD:: @ 080CB3BD - .incbin "baserom.gba", 0x0CB3BD, 0x0000029 - -gUnk_080CB3E6:: @ 080CB3E6 - .incbin "baserom.gba", 0x0CB3E6, 0x0000029 - -gUnk_080CB40F:: @ 080CB40F - .incbin "baserom.gba", 0x0CB40F, 0x0000029 - -gUnk_080CB438:: @ 080CB438 - .incbin "baserom.gba", 0x0CB438, 0x00000C4 - -gUnk_080CB4FC:: @ 080CB4FC - .incbin "baserom.gba", 0x0CB4FC, 0x0000074 - -gUnk_080CB570:: @ 080CB570 - .incbin "baserom.gba", 0x0CB570, 0x0000018 - -gUnk_080CB588:: @ 080CB588 - .incbin "baserom.gba", 0x0CB588, 0x0000008 - -gUnk_080CB590:: @ 080CB590 - .incbin "baserom.gba", 0x0CB590, 0x0000018 - -gUnk_080CB5A8:: @ 080CB5A8 - .incbin "baserom.gba", 0x0CB5A8, 0x0000020 - -gUnk_080CB5C8:: @ 080CB5C8 - .incbin "baserom.gba", 0x0CB5C8, 0x000000C - -gUnk_080CB5D4:: @ 080CB5D4 - .incbin "baserom.gba", 0x0CB5D4, 0x0000008 - -gUnk_080CB5DC:: @ 080CB5DC - .incbin "baserom.gba", 0x0CB5DC, 0x0000008 - -gUnk_080CB5E4:: @ 080CB5E4 - .incbin "baserom.gba", 0x0CB5E4, 0x0000008 - -gUnk_080CB5EC:: @ 080CB5EC - .incbin "baserom.gba", 0x0CB5EC, 0x0000014 - -gUnk_080CB600:: @ 080CB600 - .incbin "baserom.gba", 0x0CB600, 0x000001C - -gUnk_080CB61C:: @ 080CB61C - .incbin "baserom.gba", 0x0CB61C, 0x0000011 - -gUnk_080CB62D:: @ 080CB62D - .incbin "baserom.gba", 0x0CB62D, 0x0000018 - -gUnk_080CB645:: @ 080CB645 - .incbin "baserom.gba", 0x0CB645, 0x0000018 - -gUnk_080CB65D:: @ 080CB65D - .incbin "baserom.gba", 0x0CB65D, 0x0000014 - -gUnk_080CB671:: @ 080CB671 - .incbin "baserom.gba", 0x0CB671, 0x000000B - -gUnk_080CB67C:: @ 080CB67C - .incbin "baserom.gba", 0x0CB67C, 0x0000020 - -gUnk_080CB69C:: @ 080CB69C - .incbin "baserom.gba", 0x0CB69C, 0x0000018 - -gUnk_080CB6B4:: @ 080CB6B4 - .incbin "baserom.gba", 0x0CB6B4, 0x0000010 - -gUnk_080CB6C4:: @ 080CB6C4 - .incbin "baserom.gba", 0x0CB6C4, 0x000000C - -gUnk_080CB6D0:: @ 080CB6D0 - .incbin "baserom.gba", 0x0CB6D0, 0x0000006 - -gUnk_080CB6D6:: @ 080CB6D6 - .incbin "baserom.gba", 0x0CB6D6, 0x0000020 - -gUnk_080CB6F6:: @ 080CB6F6 - .incbin "baserom.gba", 0x0CB6F6, 0x0000010 - -gUnk_080CB706:: @ 080CB706 - .incbin "baserom.gba", 0x0CB706, 0x0000018 - -gUnk_080CB71E:: @ 080CB71E - .incbin "baserom.gba", 0x0CB71E, 0x000000A - -gUnk_080CB728:: @ 080CB728 - .incbin "baserom.gba", 0x0CB728, 0x000000C - -gUnk_080CB734:: @ 080CB734 - .incbin "baserom.gba", 0x0CB734, 0x0000018 - -gUnk_080CB74C:: @ 080CB74C - .incbin "baserom.gba", 0x0CB74C, 0x0000018 - -gUnk_080CB764:: @ 080CB764 - .incbin "baserom.gba", 0x0CB764, 0x0000008 - -gUnk_080CB76C:: @ 080CB76C - .incbin "baserom.gba", 0x0CB76C, 0x0000030 - -gUnk_080CB79C:: @ 080CB79C - .incbin "baserom.gba", 0x0CB79C, 0x0000008 - -gUnk_080CB7A4:: @ 080CB7A4 - .incbin "baserom.gba", 0x0CB7A4, 0x0000008 - -gUnk_080CB7AC:: @ 080CB7AC - .incbin "baserom.gba", 0x0CB7AC, 0x0000008 - -gUnk_080CB7B4:: @ 080CB7B4 - .incbin "baserom.gba", 0x0CB7B4, 0x0000008 - -gUnk_080CB7BC:: @ 080CB7BC - .incbin "baserom.gba", 0x0CB7BC, 0x0000008 - -gUnk_080CB7C4:: @ 080CB7C4 - .incbin "baserom.gba", 0x0CB7C4, 0x0000008 - -gUnk_080CB7CC:: @ 080CB7CC - .incbin "baserom.gba", 0x0CB7CC, 0x0000008 - -gUnk_080CB7D4:: @ 080CB7D4 - .incbin "baserom.gba", 0x0CB7D4, 0x0000008 - -gUnk_080CB7DC:: @ 080CB7DC - .incbin "baserom.gba", 0x0CB7DC, 0x0000008 - -gUnk_080CB7E4:: @ 080CB7E4 - .incbin "baserom.gba", 0x0CB7E4, 0x0000008 - -gUnk_080CB7EC:: @ 080CB7EC - .incbin "baserom.gba", 0x0CB7EC, 0x0000008 - -gUnk_080CB7F4:: @ 080CB7F4 - .incbin "baserom.gba", 0x0CB7F4, 0x0000030 - -gUnk_080CB824:: @ 080CB824 - .incbin "baserom.gba", 0x0CB824, 0x0000008 - -gUnk_080CB82C:: @ 080CB82C - .incbin "baserom.gba", 0x0CB82C, 0x0000008 - -gUnk_080CB834:: @ 080CB834 - .incbin "baserom.gba", 0x0CB834, 0x0000008 - -gUnk_080CB83C:: @ 080CB83C - .incbin "baserom.gba", 0x0CB83C, 0x0000008 - -gUnk_080CB844:: @ 080CB844 - .incbin "baserom.gba", 0x0CB844, 0x0000008 - -gUnk_080CB84C:: @ 080CB84C - .incbin "baserom.gba", 0x0CB84C, 0x0000008 - -gUnk_080CB854:: @ 080CB854 - .incbin "baserom.gba", 0x0CB854, 0x0000008 - -gUnk_080CB85C:: @ 080CB85C - .incbin "baserom.gba", 0x0CB85C, 0x0000008 - -gUnk_080CB864:: @ 080CB864 - .incbin "baserom.gba", 0x0CB864, 0x0000008 - -gUnk_080CB86C:: @ 080CB86C - .incbin "baserom.gba", 0x0CB86C, 0x0000008 - -gUnk_080CB874:: @ 080CB874 - .incbin "baserom.gba", 0x0CB874, 0x0000030 - -gUnk_080CB8A4:: @ 080CB8A4 - .incbin "baserom.gba", 0x0CB8A4, 0x0000010 - -gUnk_080CB8B4:: @ 080CB8B4 - .incbin "baserom.gba", 0x0CB8B4, 0x0000005 - -gUnk_080CB8B9:: @ 080CB8B9 - .incbin "baserom.gba", 0x0CB8B9, 0x0000005 - -gUnk_080CB8BE:: @ 080CB8BE - .incbin "baserom.gba", 0x0CB8BE, 0x0000019 - -gUnk_080CB8D7:: @ 080CB8D7 - .incbin "baserom.gba", 0x0CB8D7, 0x0000019 - -gUnk_080CB8F0:: @ 080CB8F0 - .incbin "baserom.gba", 0x0CB8F0, 0x0000011 - -gUnk_080CB901:: @ 080CB901 - .incbin "baserom.gba", 0x0CB901, 0x0000013 - -gUnk_080CB914:: @ 080CB914 - .incbin "baserom.gba", 0x0CB914, 0x0000034 - -gUnk_080CB948:: @ 080CB948 - .incbin "baserom.gba", 0x0CB948, 0x0000018 - -gUnk_080CB960:: @ 080CB960 - .incbin "baserom.gba", 0x0CB960, 0x000000C - -gUnk_080CB96C:: @ 080CB96C - .incbin "baserom.gba", 0x0CB96C, 0x0000029 - -gUnk_080CB995:: @ 080CB995 - .incbin "baserom.gba", 0x0CB995, 0x0000041 - -gUnk_080CB9D6:: @ 080CB9D6 - .incbin "baserom.gba", 0x0CB9D6, 0x0000042 - -gUnk_080CBA18:: @ 080CBA18 - .incbin "baserom.gba", 0x0CBA18, 0x0000010 - -gUnk_080CBA28:: @ 080CBA28 - .incbin "baserom.gba", 0x0CBA28, 0x0000018 - -gUnk_080CBA40:: @ 080CBA40 - .incbin "baserom.gba", 0x0CBA40, 0x0000020 - -gUnk_080CBA60:: @ 080CBA60 - .incbin "baserom.gba", 0x0CBA60, 0x0000004 - -gUnk_080CBA64:: @ 080CBA64 - .incbin "baserom.gba", 0x0CBA64, 0x0000041 - -gUnk_080CBAA5:: @ 080CBAA5 - .incbin "baserom.gba", 0x0CBAA5, 0x0000040 - -gUnk_080CBAE5:: @ 080CBAE5 - .incbin "baserom.gba", 0x0CBAE5, 0x0000018 - -gUnk_080CBAFD:: @ 080CBAFD - .incbin "baserom.gba", 0x0CBAFD, 0x0000024 - -gUnk_080CBB21:: @ 080CBB21 - .incbin "baserom.gba", 0x0CBB21, 0x0000011 - -gUnk_080CBB32:: @ 080CBB32 - .incbin "baserom.gba", 0x0CBB32, 0x000000D - -gUnk_080CBB3F:: @ 080CBB3F - .incbin "baserom.gba", 0x0CBB3F, 0x0000005 - -gUnk_080CBB44:: @ 080CBB44 - .incbin "baserom.gba", 0x0CBB44, 0x0000020 - -gUnk_080CBB64:: @ 080CBB64 - .incbin "baserom.gba", 0x0CBB64, 0x0000018 - -gUnk_080CBB7C:: @ 080CBB7C - .incbin "baserom.gba", 0x0CBB7C, 0x0000014 - -gUnk_080CBB90:: @ 080CBB90 - .incbin "baserom.gba", 0x0CBB90, 0x0000010 - -gUnk_080CBBA0:: @ 080CBBA0 - .incbin "baserom.gba", 0x0CBBA0, 0x0000014 - -gUnk_080CBBB4:: @ 080CBBB4 - .incbin "baserom.gba", 0x0CBBB4, 0x0000008 - -gUnk_080CBBBC:: @ 080CBBBC - .incbin "baserom.gba", 0x0CBBBC, 0x0000008 - -gUnk_080CBBC4:: @ 080CBBC4 - .incbin "baserom.gba", 0x0CBBC4, 0x0000004 - -gUnk_080CBBC8:: @ 080CBBC8 - .incbin "baserom.gba", 0x0CBBC8, 0x0000014 - -gUnk_080CBBDC:: @ 080CBBDC - .incbin "baserom.gba", 0x0CBBDC, 0x0000010 - -gUnk_080CBBEC:: @ 080CBBEC - .incbin "baserom.gba", 0x0CBBEC, 0x000004C - -gUnk_080CBC38:: @ 080CBC38 - .incbin "baserom.gba", 0x0CBC38, 0x0000018 - -gUnk_080CBC50:: @ 080CBC50 - .incbin "baserom.gba", 0x0CBC50, 0x0000020 - -gUnk_080CBC70:: @ 080CBC70 - .incbin "baserom.gba", 0x0CBC70, 0x0000020 - -gUnk_080CBC90:: @ 080CBC90 - .incbin "baserom.gba", 0x0CBC90, 0x0000008 - -gUnk_080CBC98:: @ 080CBC98 - .incbin "baserom.gba", 0x0CBC98, 0x0000010 - -gUnk_080CBCA8:: @ 080CBCA8 - .incbin "baserom.gba", 0x0CBCA8, 0x0000010 - -gUnk_080CBCB8:: @ 080CBCB8 - .incbin "baserom.gba", 0x0CBCB8, 0x0000010 - -gUnk_080CBCC8:: @ 080CBCC8 - .incbin "baserom.gba", 0x0CBCC8, 0x0000004 - -gUnk_080CBCCC:: @ 080CBCCC - .incbin "baserom.gba", 0x0CBCCC, 0x0000004 - -gUnk_080CBCD0:: @ 080CBCD0 - .incbin "baserom.gba", 0x0CBCD0, 0x0000004 - -gUnk_080CBCD4:: @ 080CBCD4 - .incbin "baserom.gba", 0x0CBCD4, 0x0000004 - -gUnk_080CBCD8:: @ 080CBCD8 - .incbin "baserom.gba", 0x0CBCD8, 0x0000004 - -gUnk_080CBCDC:: @ 080CBCDC - .incbin "baserom.gba", 0x0CBCDC, 0x0000004 - -gUnk_080CBCE0:: @ 080CBCE0 - .incbin "baserom.gba", 0x0CBCE0, 0x0000004 - -gUnk_080CBCE4:: @ 080CBCE4 - .incbin "baserom.gba", 0x0CBCE4, 0x0000004 - -gUnk_080CBCE8:: @ 080CBCE8 - .incbin "baserom.gba", 0x0CBCE8, 0x0000004 - -gUnk_080CBCEC:: @ 080CBCEC - .incbin "baserom.gba", 0x0CBCEC, 0x0000004 - -gUnk_080CBCF0:: @ 080CBCF0 - .incbin "baserom.gba", 0x0CBCF0, 0x0000004 - -gUnk_080CBCF4:: @ 080CBCF4 - .incbin "baserom.gba", 0x0CBCF4, 0x0000004 - -gUnk_080CBCF8:: @ 080CBCF8 - .incbin "baserom.gba", 0x0CBCF8, 0x0000004 - -gUnk_080CBCFC:: @ 080CBCFC - .incbin "baserom.gba", 0x0CBCFC, 0x0000004 - -gUnk_080CBD00:: @ 080CBD00 - .incbin "baserom.gba", 0x0CBD00, 0x0000004 - -gUnk_080CBD04:: @ 080CBD04 - .incbin "baserom.gba", 0x0CBD04, 0x0000004 - -gUnk_080CBD08:: @ 080CBD08 - .incbin "baserom.gba", 0x0CBD08, 0x0000004 - -gUnk_080CBD0C:: @ 080CBD0C - .incbin "baserom.gba", 0x0CBD0C, 0x0000004 - -gUnk_080CBD10:: @ 080CBD10 - .incbin "baserom.gba", 0x0CBD10, 0x0000004 - -gUnk_080CBD14:: @ 080CBD14 - .incbin "baserom.gba", 0x0CBD14, 0x0000004 - -gUnk_080CBD18:: @ 080CBD18 - .incbin "baserom.gba", 0x0CBD18, 0x0000004 - -gUnk_080CBD1C:: @ 080CBD1C - .incbin "baserom.gba", 0x0CBD1C, 0x0000004 - -gUnk_080CBD20:: @ 080CBD20 - .incbin "baserom.gba", 0x0CBD20, 0x000002C - -gUnk_080CBD4C:: @ 080CBD4C - .incbin "baserom.gba", 0x0CBD4C, 0x000000C - -gUnk_080CBD58:: @ 080CBD58 - .incbin "baserom.gba", 0x0CBD58, 0x0000064 - -gUnk_080CBDBC:: @ 080CBDBC - .incbin "baserom.gba", 0x0CBDBC, 0x0000018 - -gUnk_080CBDD4:: @ 080CBDD4 - .incbin "baserom.gba", 0x0CBDD4, 0x0000018 - -gUnk_080CBDEC:: @ 080CBDEC - .incbin "baserom.gba", 0x0CBDEC, 0x0000008 - -gUnk_080CBDF4:: @ 080CBDF4 - .incbin "baserom.gba", 0x0CBDF4, 0x0000003 - -gUnk_080CBDF7:: @ 080CBDF7 - .incbin "baserom.gba", 0x0CBDF7, 0x0000008 - -gUnk_080CBDFF:: @ 080CBDFF - .incbin "baserom.gba", 0x0CBDFF, 0x0000003 - -gUnk_080CBE02:: @ 080CBE02 - .incbin "baserom.gba", 0x0CBE02, 0x0000019 - -gUnk_080CBE1B:: @ 080CBE1B - .incbin "baserom.gba", 0x0CBE1B, 0x0000019 - -gUnk_080CBE34:: @ 080CBE34 - .incbin "baserom.gba", 0x0CBE34, 0x0000019 - -gUnk_080CBE4D:: @ 080CBE4D - .incbin "baserom.gba", 0x0CBE4D, 0x0000019 - -gUnk_080CBE66:: @ 080CBE66 - .incbin "baserom.gba", 0x0CBE66, 0x0000024 - -gUnk_080CBE8A:: @ 080CBE8A - .incbin "baserom.gba", 0x0CBE8A, 0x0000014 - -gUnk_080CBE9E:: @ 080CBE9E - .incbin "baserom.gba", 0x0CBE9E, 0x0000006 - -gUnk_080CBEA4:: @ 080CBEA4 - .incbin "baserom.gba", 0x0CBEA4, 0x0000020 - -gUnk_080CBEC4:: @ 080CBEC4 - .incbin "baserom.gba", 0x0CBEC4, 0x0000018 - -gUnk_080CBEDC:: @ 080CBEDC - .incbin "baserom.gba", 0x0CBEDC, 0x000001C - -gUnk_080CBEF8:: @ 080CBEF8 - .incbin "baserom.gba", 0x0CBEF8, 0x0000018 - -gUnk_080CBF10:: @ 080CBF10 - .incbin "baserom.gba", 0x0CBF10, 0x0000008 - -gUnk_080CBF18:: @ 080CBF18 - .incbin "baserom.gba", 0x0CBF18, 0x0000008 - -gUnk_080CBF20:: @ 080CBF20 - .incbin "baserom.gba", 0x0CBF20, 0x0000010 - -gUnk_080CBF30:: @ 080CBF30 - .incbin "baserom.gba", 0x0CBF30, 0x0000009 - -gUnk_080CBF39:: @ 080CBF39 - .incbin "baserom.gba", 0x0CBF39, 0x0000009 - -gUnk_080CBF42:: @ 080CBF42 - .incbin "baserom.gba", 0x0CBF42, 0x0000009 - -gUnk_080CBF4B:: @ 080CBF4B - .incbin "baserom.gba", 0x0CBF4B, 0x0000009 - -gUnk_080CBF54:: @ 080CBF54 - .incbin "baserom.gba", 0x0CBF54, 0x0000009 - -gUnk_080CBF5D:: @ 080CBF5D - .incbin "baserom.gba", 0x0CBF5D, 0x0000009 - -gUnk_080CBF66:: @ 080CBF66 - .incbin "baserom.gba", 0x0CBF66, 0x0000009 - -gUnk_080CBF6F:: @ 080CBF6F - .incbin "baserom.gba", 0x0CBF6F, 0x0000009 - -gUnk_080CBF78:: @ 080CBF78 - .incbin "baserom.gba", 0x0CBF78, 0x0000024 - -gUnk_080CBF9C:: @ 080CBF9C - .incbin "baserom.gba", 0x0CBF9C, 0x0000018 - -gUnk_080CBFB4:: @ 080CBFB4 - .incbin "baserom.gba", 0x0CBFB4, 0x0000034 - -gUnk_080CBFE8:: @ 080CBFE8 - .incbin "baserom.gba", 0x0CBFE8, 0x0000004 - -gUnk_080CBFEC:: @ 080CBFEC - .incbin "baserom.gba", 0x0CBFEC, 0x000000C - -gUnk_080CBFF8:: @ 080CBFF8 - .incbin "baserom.gba", 0x0CBFF8, 0x0000008 - -gUnk_080CC000:: @ 080CC000 - .incbin "baserom.gba", 0x0CC000, 0x0000020 - -gUnk_080CC020:: @ 080CC020 - .incbin "baserom.gba", 0x0CC020, 0x0000030 - -gUnk_080CC050:: @ 080CC050 - .incbin "baserom.gba", 0x0CC050, 0x0000008 - -gUnk_080CC058:: @ 080CC058 - .incbin "baserom.gba", 0x0CC058, 0x000000B - -gUnk_080CC063:: @ 080CC063 - .incbin "baserom.gba", 0x0CC063, 0x0000011 - -gUnk_080CC074:: @ 080CC074 - .incbin "baserom.gba", 0x0CC074, 0x0000011 - -gUnk_080CC085:: @ 080CC085 - .incbin "baserom.gba", 0x0CC085, 0x000000B - -gUnk_080CC090:: @ 080CC090 - .incbin "baserom.gba", 0x0CC090, 0x0000010 - -gUnk_080CC0A0:: @ 080CC0A0 - .incbin "baserom.gba", 0x0CC0A0, 0x0000008 - -gUnk_080CC0A8:: @ 080CC0A8 - .incbin "baserom.gba", 0x0CC0A8, 0x0000012 - -gUnk_080CC0BA:: @ 080CC0BA - .incbin "baserom.gba", 0x0CC0BA, 0x0000008 - -gUnk_080CC0C2:: @ 080CC0C2 - .incbin "baserom.gba", 0x0CC0C2, 0x0000008 - -gUnk_080CC0CA:: @ 080CC0CA - .incbin "baserom.gba", 0x0CC0CA, 0x0000041 - -gUnk_080CC10B:: @ 080CC10B - .incbin "baserom.gba", 0x0CC10B, 0x000000D - -gUnk_080CC118:: @ 080CC118 - .incbin "baserom.gba", 0x0CC118, 0x0000009 - -gUnk_080CC121:: @ 080CC121 - .incbin "baserom.gba", 0x0CC121, 0x0000010 - -gUnk_080CC131:: @ 080CC131 - .incbin "baserom.gba", 0x0CC131, 0x000000D - -gUnk_080CC13E:: @ 080CC13E - .incbin "baserom.gba", 0x0CC13E, 0x000000D - -gUnk_080CC14B:: @ 080CC14B - .incbin "baserom.gba", 0x0CC14B, 0x000000D - -gUnk_080CC158:: @ 080CC158 - .incbin "baserom.gba", 0x0CC158, 0x000000D - -gUnk_080CC165:: @ 080CC165 - .incbin "baserom.gba", 0x0CC165, 0x000000F - -gUnk_080CC174:: @ 080CC174 - .incbin "baserom.gba", 0x0CC174, 0x0000028 - -gUnk_080CC19C:: @ 080CC19C - .incbin "baserom.gba", 0x0CC19C, 0x0000014 - -gUnk_080CC1B0:: @ 080CC1B0 - .incbin "baserom.gba", 0x0CC1B0, 0x0000008 - -gUnk_080CC1B8:: @ 080CC1B8 - .incbin "baserom.gba", 0x0CC1B8, 0x0000010 - -gUnk_080CC1C8:: @ 080CC1C8 - .incbin "baserom.gba", 0x0CC1C8, 0x0000014 - -gUnk_080CC1DC:: @ 080CC1DC - .incbin "baserom.gba", 0x0CC1DC, 0x0000030 - -gUnk_080CC20C:: @ 080CC20C - .incbin "baserom.gba", 0x0CC20C, 0x0000028 - -gUnk_080CC234:: @ 080CC234 - .incbin "baserom.gba", 0x0CC234, 0x000001B - -gUnk_080CC24F:: @ 080CC24F - .incbin "baserom.gba", 0x0CC24F, 0x0000009 - -gUnk_080CC258:: @ 080CC258 - .incbin "baserom.gba", 0x0CC258, 0x000000C - -gUnk_080CC264:: @ 080CC264 - .incbin "baserom.gba", 0x0CC264, 0x0000008 - -gUnk_080CC26C:: @ 080CC26C - .incbin "baserom.gba", 0x0CC26C, 0x000000C - -gUnk_080CC278:: @ 080CC278 - .incbin "baserom.gba", 0x0CC278, 0x0000004 - -gUnk_080CC27C:: @ 080CC27C - .incbin "baserom.gba", 0x0CC27C, 0x0000020 - -gUnk_080CC29C:: @ 080CC29C - .incbin "baserom.gba", 0x0CC29C, 0x0000020 - -gUnk_080CC2BC:: @ 080CC2BC - .incbin "baserom.gba", 0x0CC2BC, 0x0000020 - -gUnk_080CC2DC:: @ 080CC2DC - .incbin "baserom.gba", 0x0CC2DC, 0x0000003 - -gUnk_080CC2DF:: @ 080CC2DF - .incbin "baserom.gba", 0x0CC2DF, 0x0000004 - -gUnk_080CC2E3:: @ 080CC2E3 - .incbin "baserom.gba", 0x0CC2E3, 0x0000004 - -gUnk_080CC2E7:: @ 080CC2E7 - .incbin "baserom.gba", 0x0CC2E7, 0x0000004 - -gUnk_080CC2EB:: @ 080CC2EB - .incbin "baserom.gba", 0x0CC2EB, 0x0000004 - -gUnk_080CC2EF:: @ 080CC2EF - .incbin "baserom.gba", 0x0CC2EF, 0x0000005 - -gUnk_080CC2F4:: @ 080CC2F4 - .incbin "baserom.gba", 0x0CC2F4, 0x0000011 - -gUnk_080CC305:: @ 080CC305 - .incbin "baserom.gba", 0x0CC305, 0x0000019 - -gUnk_080CC31E:: @ 080CC31E - .incbin "baserom.gba", 0x0CC31E, 0x000000D - -gUnk_080CC32B:: @ 080CC32B - .incbin "baserom.gba", 0x0CC32B, 0x000000D - -gUnk_080CC338:: @ 080CC338 - .incbin "baserom.gba", 0x0CC338, 0x0000005 - -gUnk_080CC33D:: @ 080CC33D - .incbin "baserom.gba", 0x0CC33D, 0x0000009 - -gUnk_080CC346:: @ 080CC346 - .incbin "baserom.gba", 0x0CC346, 0x000000D - -gUnk_080CC353:: @ 080CC353 - .incbin "baserom.gba", 0x0CC353, 0x0000009 - -gUnk_080CC35C:: @ 080CC35C - .incbin "baserom.gba", 0x0CC35C, 0x000000D - -gUnk_080CC369:: @ 080CC369 - .incbin "baserom.gba", 0x0CC369, 0x0000009 - -gUnk_080CC372:: @ 080CC372 - .incbin "baserom.gba", 0x0CC372, 0x0000009 - -gUnk_080CC37B:: @ 080CC37B - .incbin "baserom.gba", 0x0CC37B, 0x0000021 - -gUnk_080CC39C:: @ 080CC39C - .incbin "baserom.gba", 0x0CC39C, 0x0000038 - -gUnk_080CC3D4:: @ 080CC3D4 - .incbin "baserom.gba", 0x0CC3D4, 0x0000038 - -gUnk_080CC40C:: @ 080CC40C - .incbin "baserom.gba", 0x0CC40C, 0x0000034 - -gUnk_080CC440:: @ 080CC440 - .incbin "baserom.gba", 0x0CC440, 0x0000038 - -gUnk_080CC478:: @ 080CC478 - .incbin "baserom.gba", 0x0CC478, 0x0000038 - -gUnk_080CC4B0:: @ 080CC4B0 - .incbin "baserom.gba", 0x0CC4B0, 0x0000065 - -gUnk_080CC515:: @ 080CC515 - .incbin "baserom.gba", 0x0CC515, 0x000006D - -gUnk_080CC582:: @ 080CC582 - .incbin "baserom.gba", 0x0CC582, 0x000006D - -gUnk_080CC5EF:: @ 080CC5EF - .incbin "baserom.gba", 0x0CC5EF, 0x000006D - -gUnk_080CC65C:: @ 080CC65C - .incbin "baserom.gba", 0x0CC65C, 0x0000021 - -gUnk_080CC67D:: @ 080CC67D - .incbin "baserom.gba", 0x0CC67D, 0x0000007 - -gUnk_080CC684:: @ 080CC684 - .incbin "baserom.gba", 0x0CC684, 0x0000018 - -gUnk_080CC69C:: @ 080CC69C - .incbin "baserom.gba", 0x0CC69C, 0x0000038 - -gUnk_080CC6D4:: @ 080CC6D4 - .incbin "baserom.gba", 0x0CC6D4, 0x0000028 - -gUnk_080CC6FC:: @ 080CC6FC - .incbin "baserom.gba", 0x0CC6FC, 0x0000018 - -gUnk_080CC714:: @ 080CC714 - .incbin "baserom.gba", 0x0CC714, 0x0000020 - -gUnk_080CC734:: @ 080CC734 - .incbin "baserom.gba", 0x0CC734, 0x0000025 - -gUnk_080CC759:: @ 080CC759 - .incbin "baserom.gba", 0x0CC759, 0x0000015 - -gUnk_080CC76E:: @ 080CC76E - .incbin "baserom.gba", 0x0CC76E, 0x0000012 - -gUnk_080CC780:: @ 080CC780 - .incbin "baserom.gba", 0x0CC780, 0x0000010 - -gUnk_080CC790:: @ 080CC790 - .incbin "baserom.gba", 0x0CC790, 0x0000018 - -gUnk_080CC7A8:: @ 080CC7A8 - .incbin "baserom.gba", 0x0CC7A8, 0x0000014 - -gUnk_080CC7BC:: @ 080CC7BC - .incbin "baserom.gba", 0x0CC7BC, 0x0000004 - -gUnk_080CC7C0:: @ 080CC7C0 - .incbin "baserom.gba", 0x0CC7C0, 0x0000010 - -gUnk_080CC7D0:: @ 080CC7D0 - .incbin "baserom.gba", 0x0CC7D0, 0x0000008 - -gUnk_080CC7D8:: @ 080CC7D8 - .incbin "baserom.gba", 0x0CC7D8, 0x0000008 - -gUnk_080CC7E0:: @ 080CC7E0 - .incbin "baserom.gba", 0x0CC7E0, 0x0000009 - -gUnk_080CC7E9:: @ 080CC7E9 - .incbin "baserom.gba", 0x0CC7E9, 0x0000009 - -gUnk_080CC7F2:: @ 080CC7F2 - .incbin "baserom.gba", 0x0CC7F2, 0x0000009 - -gUnk_080CC7FB:: @ 080CC7FB - .incbin "baserom.gba", 0x0CC7FB, 0x0000009 - -gUnk_080CC804:: @ 080CC804 - .incbin "baserom.gba", 0x0CC804, 0x0000011 - -gUnk_080CC815:: @ 080CC815 - .incbin "baserom.gba", 0x0CC815, 0x0000011 - -gUnk_080CC826:: @ 080CC826 - .incbin "baserom.gba", 0x0CC826, 0x0000011 - -gUnk_080CC837:: @ 080CC837 - .incbin "baserom.gba", 0x0CC837, 0x0000011 - -gUnk_080CC848:: @ 080CC848 - .incbin "baserom.gba", 0x0CC848, 0x0000011 - -gUnk_080CC859:: @ 080CC859 - .incbin "baserom.gba", 0x0CC859, 0x0000011 - -gUnk_080CC86A:: @ 080CC86A - .incbin "baserom.gba", 0x0CC86A, 0x0000011 - -gUnk_080CC87B:: @ 080CC87B - .incbin "baserom.gba", 0x0CC87B, 0x0000011 - -gUnk_080CC88C:: @ 080CC88C - .incbin "baserom.gba", 0x0CC88C, 0x0000015 - -gUnk_080CC8A1:: @ 080CC8A1 - .incbin "baserom.gba", 0x0CC8A1, 0x0000015 - -gUnk_080CC8B6:: @ 080CC8B6 - .incbin "baserom.gba", 0x0CC8B6, 0x0000015 - -gUnk_080CC8CB:: @ 080CC8CB - .incbin "baserom.gba", 0x0CC8CB, 0x0000015 - -gUnk_080CC8E0:: @ 080CC8E0 - .incbin "baserom.gba", 0x0CC8E0, 0x0000044 - -gUnk_080CC924:: @ 080CC924 - .incbin "baserom.gba", 0x0CC924, 0x0000008 - -gUnk_080CC92C:: @ 080CC92C - .incbin "baserom.gba", 0x0CC92C, 0x0000008 - -gUnk_080CC934:: @ 080CC934 - .incbin "baserom.gba", 0x0CC934, 0x0000008 - -gUnk_080CC93C:: @ 080CC93C - .incbin "baserom.gba", 0x0CC93C, 0x0000008 - -gUnk_080CC944:: @ 080CC944 - .incbin "baserom.gba", 0x0CC944, 0x0000010 - -gUnk_080CC954:: @ 080CC954 - .incbin "baserom.gba", 0x0CC954, 0x000006C - -gUnk_080CC9C0:: @ 080CC9C0 - .incbin "baserom.gba", 0x0CC9C0, 0x0000008 - -gUnk_080CC9C8:: @ 080CC9C8 - .incbin "baserom.gba", 0x0CC9C8, 0x0000018 - -gUnk_080CC9E0:: @ 080CC9E0 - .incbin "baserom.gba", 0x0CC9E0, 0x0000024 - -gUnk_080CCA04:: @ 080CCA04 - .incbin "baserom.gba", 0x0CCA04, 0x0000006 - -gUnk_080CCA0A:: @ 080CCA0A - .incbin "baserom.gba", 0x0CCA0A, 0x0000015 - -gUnk_080CCA1F:: @ 080CCA1F - .incbin "baserom.gba", 0x0CCA1F, 0x0000015 - -gUnk_080CCA34:: @ 080CCA34 - .incbin "baserom.gba", 0x0CCA34, 0x0000015 - -gUnk_080CCA49:: @ 080CCA49 - .incbin "baserom.gba", 0x0CCA49, 0x0000015 - -gUnk_080CCA5E:: @ 080CCA5E - .incbin "baserom.gba", 0x0CCA5E, 0x0000011 - -gUnk_080CCA6F:: @ 080CCA6F - .incbin "baserom.gba", 0x0CCA6F, 0x0000011 - -gUnk_080CCA80:: @ 080CCA80 - .incbin "baserom.gba", 0x0CCA80, 0x0000011 - -gUnk_080CCA91:: @ 080CCA91 - .incbin "baserom.gba", 0x0CCA91, 0x0000011 - -gUnk_080CCAA2:: @ 080CCAA2 - .incbin "baserom.gba", 0x0CCAA2, 0x0000005 - -gUnk_080CCAA7:: @ 080CCAA7 - .incbin "baserom.gba", 0x0CCAA7, 0x0000005 - -gUnk_080CCAAC:: @ 080CCAAC - .incbin "baserom.gba", 0x0CCAAC, 0x0000005 - -gUnk_080CCAB1:: @ 080CCAB1 - .incbin "baserom.gba", 0x0CCAB1, 0x0000005 - -gUnk_080CCAB6:: @ 080CCAB6 - .incbin "baserom.gba", 0x0CCAB6, 0x0000010 - -gUnk_080CCAC6:: @ 080CCAC6 - .incbin "baserom.gba", 0x0CCAC6, 0x0000010 - -gUnk_080CCAD6:: @ 080CCAD6 - .incbin "baserom.gba", 0x0CCAD6, 0x0000010 - -gUnk_080CCAE6:: @ 080CCAE6 - .incbin "baserom.gba", 0x0CCAE6, 0x0000010 - -gUnk_080CCAF6:: @ 080CCAF6 - .incbin "baserom.gba", 0x0CCAF6, 0x0000011 - -gUnk_080CCB07:: @ 080CCB07 - .incbin "baserom.gba", 0x0CCB07, 0x0000011 - -gUnk_080CCB18:: @ 080CCB18 - .incbin "baserom.gba", 0x0CCB18, 0x0000011 - -gUnk_080CCB29:: @ 080CCB29 - .incbin "baserom.gba", 0x0CCB29, 0x0000011 - -gUnk_080CCB3A:: @ 080CCB3A - .incbin "baserom.gba", 0x0CCB3A, 0x000000D - -gUnk_080CCB47:: @ 080CCB47 - .incbin "baserom.gba", 0x0CCB47, 0x000000D - -gUnk_080CCB54:: @ 080CCB54 - .incbin "baserom.gba", 0x0CCB54, 0x000000D - -gUnk_080CCB61:: @ 080CCB61 - .incbin "baserom.gba", 0x0CCB61, 0x000000D - -gUnk_080CCB6E:: @ 080CCB6E - .incbin "baserom.gba", 0x0CCB6E, 0x0000011 - -gUnk_080CCB7F:: @ 080CCB7F - .incbin "baserom.gba", 0x0CCB7F, 0x0000015 - -gUnk_080CCB94:: @ 080CCB94 - .incbin "baserom.gba", 0x0CCB94, 0x000006C - -gUnk_080CCC00:: @ 080CCC00 - .incbin "baserom.gba", 0x0CCC00, 0x0000018 - -gUnk_080CCC18:: @ 080CCC18 - .incbin "baserom.gba", 0x0CCC18, 0x000001C - -gUnk_080CCC34:: @ 080CCC34 - .incbin "baserom.gba", 0x0CCC34, 0x0000008 - -gUnk_080CCC3C:: @ 080CCC3C - .incbin "baserom.gba", 0x0CCC3C, 0x0000008 - -gUnk_080CCC44:: @ 080CCC44 - .incbin "baserom.gba", 0x0CCC44, 0x0000003 - -gUnk_080CCC47:: @ 080CCC47 - .incbin "baserom.gba", 0x0CCC47, 0x0000003 - -gUnk_080CCC4A:: @ 080CCC4A - .incbin "baserom.gba", 0x0CCC4A, 0x0000015 - -gUnk_080CCC5F:: @ 080CCC5F - .incbin "baserom.gba", 0x0CCC5F, 0x0000015 - -gUnk_080CCC74:: @ 080CCC74 - .incbin "baserom.gba", 0x0CCC74, 0x0000028 - -gUnk_080CCC9C:: @ 080CCC9C - .incbin "baserom.gba", 0x0CCC9C, 0x0000018 - -gUnk_080CCCB4:: @ 080CCCB4 - .incbin "baserom.gba", 0x0CCCB4, 0x0000015 - -gUnk_080CCCC9:: @ 080CCCC9 - .incbin "baserom.gba", 0x0CCCC9, 0x0000015 - -gUnk_080CCCDE:: @ 080CCCDE - .incbin "baserom.gba", 0x0CCCDE, 0x0000028 - -gUnk_080CCD06:: @ 080CCD06 - .incbin "baserom.gba", 0x0CCD06, 0x000001A - -gUnk_080CCD20:: @ 080CCD20 - .incbin "baserom.gba", 0x0CCD20, 0x0000024 - -gUnk_080CCD44:: @ 080CCD44 - .incbin "baserom.gba", 0x0CCD44, 0x000001C - -gUnk_080CCD60:: @ 080CCD60 - .incbin "baserom.gba", 0x0CCD60, 0x0000018 - -gUnk_080CCD78:: @ 080CCD78 - .incbin "baserom.gba", 0x0CCD78, 0x0000010 - -gUnk_080CCD88:: @ 080CCD88 - .incbin "baserom.gba", 0x0CCD88, 0x0000018 - -gUnk_080CCDA0:: @ 080CCDA0 - .incbin "baserom.gba", 0x0CCDA0, 0x0000008 - -gUnk_080CCDA8:: @ 080CCDA8 - .incbin "baserom.gba", 0x0CCDA8, 0x0000020 - -gUnk_080CCDC8:: @ 080CCDC8 - .incbin "baserom.gba", 0x0CCDC8, 0x000000C - -gUnk_080CCDD4:: @ 080CCDD4 - .incbin "baserom.gba", 0x0CCDD4, 0x0000008 - -gUnk_080CCDDC:: @ 080CCDDC - .incbin "baserom.gba", 0x0CCDDC, 0x0000011 - -gUnk_080CCDED:: @ 080CCDED - .incbin "baserom.gba", 0x0CCDED, 0x0000011 - -gUnk_080CCDFE:: @ 080CCDFE - .incbin "baserom.gba", 0x0CCDFE, 0x0000011 - -gUnk_080CCE0F:: @ 080CCE0F - .incbin "baserom.gba", 0x0CCE0F, 0x0000011 - -gUnk_080CCE20:: @ 080CCE20 - .incbin "baserom.gba", 0x0CCE20, 0x0000011 - -gUnk_080CCE31:: @ 080CCE31 - .incbin "baserom.gba", 0x0CCE31, 0x0000011 - -gUnk_080CCE42:: @ 080CCE42 - .incbin "baserom.gba", 0x0CCE42, 0x0000011 - -gUnk_080CCE53:: @ 080CCE53 - .incbin "baserom.gba", 0x0CCE53, 0x0000011 - -gUnk_080CCE64:: @ 080CCE64 - .incbin "baserom.gba", 0x0CCE64, 0x0000024 - -gUnk_080CCE88:: @ 080CCE88 - .incbin "baserom.gba", 0x0CCE88, 0x0000011 - -gUnk_080CCE99:: @ 080CCE99 - .incbin "baserom.gba", 0x0CCE99, 0x0000011 - -gUnk_080CCEAA:: @ 080CCEAA - .incbin "baserom.gba", 0x0CCEAA, 0x0000011 - -gUnk_080CCEBB:: @ 080CCEBB - .incbin "baserom.gba", 0x0CCEBB, 0x0000011 - -gUnk_080CCECC:: @ 080CCECC - .incbin "baserom.gba", 0x0CCECC, 0x0000011 - -gUnk_080CCEDD:: @ 080CCEDD - .incbin "baserom.gba", 0x0CCEDD, 0x0000011 - -gUnk_080CCEEE:: @ 080CCEEE - .incbin "baserom.gba", 0x0CCEEE, 0x0000011 - -gUnk_080CCEFF:: @ 080CCEFF - .incbin "baserom.gba", 0x0CCEFF, 0x0000011 - -gUnk_080CCF10:: @ 080CCF10 - .incbin "baserom.gba", 0x0CCF10, 0x0000005 - -gUnk_080CCF15:: @ 080CCF15 - .incbin "baserom.gba", 0x0CCF15, 0x0000005 - -gUnk_080CCF1A:: @ 080CCF1A - .incbin "baserom.gba", 0x0CCF1A, 0x0000005 - -gUnk_080CCF1F:: @ 080CCF1F - .incbin "baserom.gba", 0x0CCF1F, 0x0000005 - -gUnk_080CCF24:: @ 080CCF24 - .incbin "baserom.gba", 0x0CCF24, 0x000001D - -gUnk_080CCF41:: @ 080CCF41 - .incbin "baserom.gba", 0x0CCF41, 0x000001D - -gUnk_080CCF5E:: @ 080CCF5E - .incbin "baserom.gba", 0x0CCF5E, 0x000001D - -gUnk_080CCF7B:: @ 080CCF7B - .incbin "baserom.gba", 0x0CCF7B, 0x000001D - -gUnk_080CCF98:: @ 080CCF98 - .incbin "baserom.gba", 0x0CCF98, 0x0000011 - -gUnk_080CCFA9:: @ 080CCFA9 - .incbin "baserom.gba", 0x0CCFA9, 0x0000011 - -gUnk_080CCFBA:: @ 080CCFBA - .incbin "baserom.gba", 0x0CCFBA, 0x0000011 - -gUnk_080CCFCB:: @ 080CCFCB - .incbin "baserom.gba", 0x0CCFCB, 0x0000011 - -gUnk_080CCFDC:: @ 080CCFDC - .incbin "baserom.gba", 0x0CCFDC, 0x0000054 - -gUnk_080CD030:: @ 080CD030 - .incbin "baserom.gba", 0x0CD030, 0x000000C - -gUnk_080CD03C:: @ 080CD03C - .incbin "baserom.gba", 0x0CD03C, 0x0000004 - -gUnk_080CD040:: @ 080CD040 - .incbin "baserom.gba", 0x0CD040, 0x0000004 - -gUnk_080CD044:: @ 080CD044 - .incbin "baserom.gba", 0x0CD044, 0x0000025 - -gUnk_080CD069:: @ 080CD069 - .incbin "baserom.gba", 0x0CD069, 0x0000007 - -gUnk_080CD070:: @ 080CD070 - .incbin "baserom.gba", 0x0CD070, 0x000000C - -gUnk_080CD07C:: @ 080CD07C - .incbin "baserom.gba", 0x0CD07C, 0x0000018 - -gUnk_080CD094:: @ 080CD094 - .incbin "baserom.gba", 0x0CD094, 0x000001C - -gUnk_080CD0B0:: @ 080CD0B0 - .incbin "baserom.gba", 0x0CD0B0, 0x0000008 - -gUnk_080CD0B8:: @ 080CD0B8 - .incbin "baserom.gba", 0x0CD0B8, 0x000000D - -gUnk_080CD0C5:: @ 080CD0C5 - .incbin "baserom.gba", 0x0CD0C5, 0x0000015 - -gUnk_080CD0DA:: @ 080CD0DA - .incbin "baserom.gba", 0x0CD0DA, 0x0000006 - -gUnk_080CD0E0:: @ 080CD0E0 - .incbin "baserom.gba", 0x0CD0E0, 0x0000010 - -gUnk_080CD0F0:: @ 080CD0F0 - .incbin "baserom.gba", 0x0CD0F0, 0x0000018 - -gUnk_080CD108:: @ 080CD108 - .incbin "baserom.gba", 0x0CD108, 0x0000018 - -gUnk_080CD120:: @ 080CD120 - .incbin "baserom.gba", 0x0CD120, 0x0000014 - -gUnk_080CD134:: @ 080CD134 - .incbin "baserom.gba", 0x0CD134, 0x000000C - -gUnk_080CD140:: @ 080CD140 - .incbin "baserom.gba", 0x0CD140, 0x0000018 - -gUnk_080CD158:: @ 080CD158 - .incbin "baserom.gba", 0x0CD158, 0x0000014 - -gUnk_080CD16C:: @ 080CD16C - .incbin "baserom.gba", 0x0CD16C, 0x0000008 - -gUnk_080CD174:: @ 080CD174 - .incbin "baserom.gba", 0x0CD174, 0x0000008 - -gUnk_080CD17C:: @ 080CD17C - .incbin "baserom.gba", 0x0CD17C, 0x0000008 - -gUnk_080CD184:: @ 080CD184 - .incbin "baserom.gba", 0x0CD184, 0x0000011 - -gUnk_080CD195:: @ 080CD195 - .incbin "baserom.gba", 0x0CD195, 0x0000041 - -gUnk_080CD1D6:: @ 080CD1D6 - .incbin "baserom.gba", 0x0CD1D6, 0x0000041 - -gUnk_080CD217:: @ 080CD217 - .incbin "baserom.gba", 0x0CD217, 0x0000009 - -gUnk_080CD220:: @ 080CD220 - .incbin "baserom.gba", 0x0CD220, 0x0000014 - -gUnk_080CD234:: @ 080CD234 - .incbin "baserom.gba", 0x0CD234, 0x0000018 - -gUnk_080CD24C:: @ 080CD24C - .incbin "baserom.gba", 0x0CD24C, 0x000000C - -gUnk_080CD258:: @ 080CD258 - .incbin "baserom.gba", 0x0CD258, 0x000001C - -gUnk_080CD274:: @ 080CD274 - .incbin "baserom.gba", 0x0CD274, 0x0000008 - -gUnk_080CD27C:: @ 080CD27C - .incbin "baserom.gba", 0x0CD27C, 0x000001C - -gUnk_080CD298:: @ 080CD298 - .incbin "baserom.gba", 0x0CD298, 0x0000010 - -gUnk_080CD2A8:: @ 080CD2A8 - .incbin "baserom.gba", 0x0CD2A8, 0x0000004 - -gUnk_080CD2AC:: @ 080CD2AC - .incbin "baserom.gba", 0x0CD2AC, 0x0000011 - -gUnk_080CD2BD:: @ 080CD2BD - .incbin "baserom.gba", 0x0CD2BD, 0x000000B - -gUnk_080CD2C8:: @ 080CD2C8 - .incbin "baserom.gba", 0x0CD2C8, 0x0000010 - -gUnk_080CD2D8:: @ 080CD2D8 - .incbin "baserom.gba", 0x0CD2D8, 0x0000018 - -gUnk_080CD2F0:: @ 080CD2F0 - .incbin "baserom.gba", 0x0CD2F0, 0x0000024 - -gUnk_080CD314:: @ 080CD314 - .incbin "baserom.gba", 0x0CD314, 0x0000004 - -gUnk_080CD318:: @ 080CD318 - .incbin "baserom.gba", 0x0CD318, 0x0000004 - -gUnk_080CD31C:: @ 080CD31C - .incbin "baserom.gba", 0x0CD31C, 0x0000011 - -gUnk_080CD32D:: @ 080CD32D - .incbin "baserom.gba", 0x0CD32D, 0x0000011 - -gUnk_080CD33E:: @ 080CD33E - .incbin "baserom.gba", 0x0CD33E, 0x0000011 - -gUnk_080CD34F:: @ 080CD34F - .incbin "baserom.gba", 0x0CD34F, 0x0000011 - -gUnk_080CD360:: @ 080CD360 - .incbin "baserom.gba", 0x0CD360, 0x0000008 - -gUnk_080CD368:: @ 080CD368 - .incbin "baserom.gba", 0x0CD368, 0x0000008 - -gUnk_080CD370:: @ 080CD370 - .incbin "baserom.gba", 0x0CD370, 0x0000008 - -gUnk_080CD378:: @ 080CD378 - .incbin "baserom.gba", 0x0CD378, 0x0000008 - -gUnk_080CD380:: @ 080CD380 - .incbin "baserom.gba", 0x0CD380, 0x0000011 - -gUnk_080CD391:: @ 080CD391 - .incbin "baserom.gba", 0x0CD391, 0x0000007 - -gUnk_080CD398:: @ 080CD398 - .incbin "baserom.gba", 0x0CD398, 0x000002C - -gUnk_080CD3C4:: @ 080CD3C4 - .incbin "baserom.gba", 0x0CD3C4, 0x0000010 - -gUnk_080CD3D4:: @ 080CD3D4 - .incbin "baserom.gba", 0x0CD3D4, 0x0000008 - -gUnk_080CD3DC:: @ 080CD3DC - .incbin "baserom.gba", 0x0CD3DC, 0x0000008 - -gUnk_080CD3E4:: @ 080CD3E4 - .incbin "baserom.gba", 0x0CD3E4, 0x0000018 - -gUnk_080CD3FC:: @ 080CD3FC - .incbin "baserom.gba", 0x0CD3FC, 0x000000C - -gUnk_080CD408:: @ 080CD408 - .incbin "baserom.gba", 0x0CD408, 0x0000024 - -gUnk_080CD42C:: @ 080CD42C - .incbin "baserom.gba", 0x0CD42C, 0x000000C - -gUnk_080CD438:: @ 080CD438 - .incbin "baserom.gba", 0x0CD438, 0x0000018 - -gUnk_080CD450:: @ 080CD450 - .incbin "baserom.gba", 0x0CD450, 0x000000C - -gUnk_080CD45C:: @ 080CD45C - .incbin "baserom.gba", 0x0CD45C, 0x0000008 - -gUnk_080CD464:: @ 080CD464 - .incbin "baserom.gba", 0x0CD464, 0x0000010 - -gUnk_080CD474:: @ 080CD474 - .incbin "baserom.gba", 0x0CD474, 0x0000011 - -gUnk_080CD485:: @ 080CD485 - .incbin "baserom.gba", 0x0CD485, 0x0000011 - -gUnk_080CD496:: @ 080CD496 - .incbin "baserom.gba", 0x0CD496, 0x0000011 - -gUnk_080CD4A7:: @ 080CD4A7 - .incbin "baserom.gba", 0x0CD4A7, 0x0000011 - -gUnk_080CD4B8:: @ 080CD4B8 - .incbin "baserom.gba", 0x0CD4B8, 0x0000011 - -gUnk_080CD4C9:: @ 080CD4C9 - .incbin "baserom.gba", 0x0CD4C9, 0x0000011 - -gUnk_080CD4DA:: @ 080CD4DA - .incbin "baserom.gba", 0x0CD4DA, 0x0000011 - -gUnk_080CD4EB:: @ 080CD4EB - .incbin "baserom.gba", 0x0CD4EB, 0x0000011 - -gUnk_080CD4FC:: @ 080CD4FC - .incbin "baserom.gba", 0x0CD4FC, 0x0000004 - -gUnk_080CD500:: @ 080CD500 - .incbin "baserom.gba", 0x0CD500, 0x0000004 - -gUnk_080CD504:: @ 080CD504 - .incbin "baserom.gba", 0x0CD504, 0x0000004 - -gUnk_080CD508:: @ 080CD508 - .incbin "baserom.gba", 0x0CD508, 0x0000004 - -gUnk_080CD50C:: @ 080CD50C - .incbin "baserom.gba", 0x0CD50C, 0x0000034 - -gUnk_080CD540:: @ 080CD540 - .incbin "baserom.gba", 0x0CD540, 0x0000018 - -gUnk_080CD558:: @ 080CD558 - .incbin "baserom.gba", 0x0CD558, 0x0000010 - -gUnk_080CD568:: @ 080CD568 - .incbin "baserom.gba", 0x0CD568, 0x0000018 - -gUnk_080CD580:: @ 080CD580 - .incbin "baserom.gba", 0x0CD580, 0x000000C - -gUnk_080CD58C:: @ 080CD58C - .incbin "baserom.gba", 0x0CD58C, 0x0000018 - -gUnk_080CD5A4:: @ 080CD5A4 - .incbin "baserom.gba", 0x0CD5A4, 0x0000011 - -gUnk_080CD5B5:: @ 080CD5B5 - .incbin "baserom.gba", 0x0CD5B5, 0x0000013 - -gUnk_080CD5C8:: @ 080CD5C8 - .incbin "baserom.gba", 0x0CD5C8, 0x000000C - -gUnk_080CD5D4:: @ 080CD5D4 - .incbin "baserom.gba", 0x0CD5D4, 0x0000018 - -gUnk_080CD5EC:: @ 080CD5EC - .incbin "baserom.gba", 0x0CD5EC, 0x0000014 - -gUnk_080CD600:: @ 080CD600 - .incbin "baserom.gba", 0x0CD600, 0x0000018 - -gUnk_080CD618:: @ 080CD618 - .incbin "baserom.gba", 0x0CD618, 0x0000010 - -gUnk_080CD628:: @ 080CD628 - .incbin "baserom.gba", 0x0CD628, 0x0000011 - -gUnk_080CD639:: @ 080CD639 - .incbin "baserom.gba", 0x0CD639, 0x0000011 - -gUnk_080CD64A:: @ 080CD64A - .incbin "baserom.gba", 0x0CD64A, 0x0000011 - -gUnk_080CD65B:: @ 080CD65B - .incbin "baserom.gba", 0x0CD65B, 0x0000011 - -gUnk_080CD66C:: @ 080CD66C - .incbin "baserom.gba", 0x0CD66C, 0x0000005 - -gUnk_080CD671:: @ 080CD671 - .incbin "baserom.gba", 0x0CD671, 0x0000005 - -gUnk_080CD676:: @ 080CD676 - .incbin "baserom.gba", 0x0CD676, 0x0000009 - -gUnk_080CD67F:: @ 080CD67F - .incbin "baserom.gba", 0x0CD67F, 0x0000009 - -gUnk_080CD688:: @ 080CD688 - .incbin "baserom.gba", 0x0CD688, 0x0000024 - -gUnk_080CD6AC:: @ 080CD6AC - .incbin "baserom.gba", 0x0CD6AC, 0x0000024 - -gUnk_080CD6D0:: @ 080CD6D0 - .incbin "baserom.gba", 0x0CD6D0, 0x000002C - -gUnk_080CD6FC:: @ 080CD6FC - .incbin "baserom.gba", 0x0CD6FC, 0x0000018 - -gUnk_080CD714:: @ 080CD714 - .incbin "baserom.gba", 0x0CD714, 0x0000014 - -gUnk_080CD728:: @ 080CD728 - .incbin "baserom.gba", 0x0CD728, 0x0000008 - -gUnk_080CD730:: @ 080CD730 - .incbin "baserom.gba", 0x0CD730, 0x0000010 - -gUnk_080CD740:: @ 080CD740 - .incbin "baserom.gba", 0x0CD740, 0x0000008 - -gUnk_080CD748:: @ 080CD748 - .incbin "baserom.gba", 0x0CD748, 0x0000014 - -gUnk_080CD75C:: @ 080CD75C - .incbin "baserom.gba", 0x0CD75C, 0x0000018 - -gUnk_080CD774:: @ 080CD774 - .incbin "baserom.gba", 0x0CD774, 0x0000044 - -gUnk_080CD7B8:: @ 080CD7B8 - .incbin "baserom.gba", 0x0CD7B8, 0x000000C - -gUnk_080CD7C4:: @ 080CD7C4 - .incbin "baserom.gba", 0x0CD7C4, 0x0000020 - -gUnk_080CD7E4:: @ 080CD7E4 - .incbin "baserom.gba", 0x0CD7E4, 0x0000014 - -gUnk_080CD7F8:: @ 080CD7F8 - .incbin "baserom.gba", 0x0CD7F8, 0x0000018 - -gUnk_080CD810:: @ 080CD810 - .incbin "baserom.gba", 0x0CD810, 0x0000018 - -gUnk_080CD828:: @ 080CD828 - .incbin "baserom.gba", 0x0CD828, 0x0000018 - -gUnk_080CD840:: @ 080CD840 - .incbin "baserom.gba", 0x0CD840, 0x0000004 - -gUnk_080CD844:: @ 080CD844 - .incbin "baserom.gba", 0x0CD844, 0x0000004 - -gUnk_080CD848:: @ 080CD848 - .incbin "baserom.gba", 0x0CD848, 0x0000008 - -gUnk_080CD850:: @ 080CD850 - .incbin "baserom.gba", 0x0CD850, 0x0000004 - -gUnk_080CD854:: @ 080CD854 - .incbin "baserom.gba", 0x0CD854, 0x0000004 - -gUnk_080CD858:: @ 080CD858 - .incbin "baserom.gba", 0x0CD858, 0x0000003 - -gUnk_080CD85B:: @ 080CD85B - .incbin "baserom.gba", 0x0CD85B, 0x0000003 - -gUnk_080CD85E:: @ 080CD85E - .incbin "baserom.gba", 0x0CD85E, 0x0000003 - -gUnk_080CD861:: @ 080CD861 - .incbin "baserom.gba", 0x0CD861, 0x0000003 - -gUnk_080CD864:: @ 080CD864 - .incbin "baserom.gba", 0x0CD864, 0x0000003 - -gUnk_080CD867:: @ 080CD867 - .incbin "baserom.gba", 0x0CD867, 0x0000005 - -gUnk_080CD86C:: @ 080CD86C - .incbin "baserom.gba", 0x0CD86C, 0x000000C - -gUnk_080CD878:: @ 080CD878 - .incbin "baserom.gba", 0x0CD878, 0x000000C - -gUnk_080CD884:: @ 080CD884 - .incbin "baserom.gba", 0x0CD884, 0x000001F - -gUnk_080CD8A3:: @ 080CD8A3 - .incbin "baserom.gba", 0x0CD8A3, 0x0000004 - -gUnk_080CD8A7:: @ 080CD8A7 - .incbin "baserom.gba", 0x0CD8A7, 0x0000004 - -gUnk_080CD8AB:: @ 080CD8AB - .incbin "baserom.gba", 0x0CD8AB, 0x0000004 - -gUnk_080CD8AF:: @ 080CD8AF - .incbin "baserom.gba", 0x0CD8AF, 0x0000004 - -gUnk_080CD8B3:: @ 080CD8B3 - .incbin "baserom.gba", 0x0CD8B3, 0x0000004 - -gUnk_080CD8B7:: @ 080CD8B7 - .incbin "baserom.gba", 0x0CD8B7, 0x0000004 - -gUnk_080CD8BB:: @ 080CD8BB - .incbin "baserom.gba", 0x0CD8BB, 0x0000004 - -gUnk_080CD8BF:: @ 080CD8BF - .incbin "baserom.gba", 0x0CD8BF, 0x0000004 - -gUnk_080CD8C3:: @ 080CD8C3 - .incbin "baserom.gba", 0x0CD8C3, 0x0000004 - -gUnk_080CD8C7:: @ 080CD8C7 - .incbin "baserom.gba", 0x0CD8C7, 0x0000004 - -gUnk_080CD8CB:: @ 080CD8CB - .incbin "baserom.gba", 0x0CD8CB, 0x0000004 - -gUnk_080CD8CF:: @ 080CD8CF - .incbin "baserom.gba", 0x0CD8CF, 0x0000004 - -gUnk_080CD8D3:: @ 080CD8D3 - .incbin "baserom.gba", 0x0CD8D3, 0x0000004 - -gUnk_080CD8D7:: @ 080CD8D7 - .incbin "baserom.gba", 0x0CD8D7, 0x0000004 - -gUnk_080CD8DB:: @ 080CD8DB - .incbin "baserom.gba", 0x0CD8DB, 0x0000004 - -gUnk_080CD8DF:: @ 080CD8DF - .incbin "baserom.gba", 0x0CD8DF, 0x0000004 - -gUnk_080CD8E3:: @ 080CD8E3 - .incbin "baserom.gba", 0x0CD8E3, 0x0000004 - -gUnk_080CD8E7:: @ 080CD8E7 - .incbin "baserom.gba", 0x0CD8E7, 0x0000004 - -gUnk_080CD8EB:: @ 080CD8EB - .incbin "baserom.gba", 0x0CD8EB, 0x0000004 - -gUnk_080CD8EF:: @ 080CD8EF - .incbin "baserom.gba", 0x0CD8EF, 0x0000004 - -gUnk_080CD8F3:: @ 080CD8F3 - .incbin "baserom.gba", 0x0CD8F3, 0x0000004 - -gUnk_080CD8F7:: @ 080CD8F7 - .incbin "baserom.gba", 0x0CD8F7, 0x0000004 - -gUnk_080CD8FB:: @ 080CD8FB - .incbin "baserom.gba", 0x0CD8FB, 0x0000004 - -gUnk_080CD8FF:: @ 080CD8FF - .incbin "baserom.gba", 0x0CD8FF, 0x0000004 - -gUnk_080CD903:: @ 080CD903 - .incbin "baserom.gba", 0x0CD903, 0x0000004 - -gUnk_080CD907:: @ 080CD907 - .incbin "baserom.gba", 0x0CD907, 0x0000004 - -gUnk_080CD90B:: @ 080CD90B - .incbin "baserom.gba", 0x0CD90B, 0x0000004 - -gUnk_080CD90F:: @ 080CD90F - .incbin "baserom.gba", 0x0CD90F, 0x0000004 - -gUnk_080CD913:: @ 080CD913 - .incbin "baserom.gba", 0x0CD913, 0x0000004 - -gUnk_080CD917:: @ 080CD917 - .incbin "baserom.gba", 0x0CD917, 0x0000004 - -gUnk_080CD91B:: @ 080CD91B - .incbin "baserom.gba", 0x0CD91B, 0x0000004 - -gUnk_080CD91F:: @ 080CD91F - .incbin "baserom.gba", 0x0CD91F, 0x0000004 - -gUnk_080CD923:: @ 080CD923 - .incbin "baserom.gba", 0x0CD923, 0x0000004 - -gUnk_080CD927:: @ 080CD927 - .incbin "baserom.gba", 0x0CD927, 0x0000004 - -gUnk_080CD92B:: @ 080CD92B - .incbin "baserom.gba", 0x0CD92B, 0x0000004 - -gUnk_080CD92F:: @ 080CD92F - .incbin "baserom.gba", 0x0CD92F, 0x0000004 - -gUnk_080CD933:: @ 080CD933 - .incbin "baserom.gba", 0x0CD933, 0x0000004 - -gUnk_080CD937:: @ 080CD937 - .incbin "baserom.gba", 0x0CD937, 0x0000004 - -gUnk_080CD93B:: @ 080CD93B - .incbin "baserom.gba", 0x0CD93B, 0x0000004 - -gUnk_080CD93F:: @ 080CD93F - .incbin "baserom.gba", 0x0CD93F, 0x0000004 - -gUnk_080CD943:: @ 080CD943 - .incbin "baserom.gba", 0x0CD943, 0x0000004 - -gUnk_080CD947:: @ 080CD947 - .incbin "baserom.gba", 0x0CD947, 0x0000004 - -gUnk_080CD94B:: @ 080CD94B - .incbin "baserom.gba", 0x0CD94B, 0x0000004 - -gUnk_080CD94F:: @ 080CD94F - .incbin "baserom.gba", 0x0CD94F, 0x0000004 - -gUnk_080CD953:: @ 080CD953 - .incbin "baserom.gba", 0x0CD953, 0x0000004 - -gUnk_080CD957:: @ 080CD957 - .incbin "baserom.gba", 0x0CD957, 0x0000004 - -gUnk_080CD95B:: @ 080CD95B - .incbin "baserom.gba", 0x0CD95B, 0x0000004 - -gUnk_080CD95F:: @ 080CD95F - .incbin "baserom.gba", 0x0CD95F, 0x0000004 - -gUnk_080CD963:: @ 080CD963 - .incbin "baserom.gba", 0x0CD963, 0x0000004 - -gUnk_080CD967:: @ 080CD967 - .incbin "baserom.gba", 0x0CD967, 0x0000004 - -gUnk_080CD96B:: @ 080CD96B - .incbin "baserom.gba", 0x0CD96B, 0x0000004 - -gUnk_080CD96F:: @ 080CD96F - .incbin "baserom.gba", 0x0CD96F, 0x0000004 - -gUnk_080CD973:: @ 080CD973 - .incbin "baserom.gba", 0x0CD973, 0x0000004 - -gUnk_080CD977:: @ 080CD977 - .incbin "baserom.gba", 0x0CD977, 0x0000004 - -gUnk_080CD97B:: @ 080CD97B - .incbin "baserom.gba", 0x0CD97B, 0x0000004 - -gUnk_080CD97F:: @ 080CD97F - .incbin "baserom.gba", 0x0CD97F, 0x0000004 - -gUnk_080CD983:: @ 080CD983 - .incbin "baserom.gba", 0x0CD983, 0x0000004 - -gUnk_080CD987:: @ 080CD987 - .incbin "baserom.gba", 0x0CD987, 0x0000004 - -gUnk_080CD98B:: @ 080CD98B - .incbin "baserom.gba", 0x0CD98B, 0x0000004 - -gUnk_080CD98F:: @ 080CD98F - .incbin "baserom.gba", 0x0CD98F, 0x0000004 - -gUnk_080CD993:: @ 080CD993 - .incbin "baserom.gba", 0x0CD993, 0x0000004 - -gUnk_080CD997:: @ 080CD997 - .incbin "baserom.gba", 0x0CD997, 0x0000004 - -gUnk_080CD99B:: @ 080CD99B - .incbin "baserom.gba", 0x0CD99B, 0x0000004 - -gUnk_080CD99F:: @ 080CD99F - .incbin "baserom.gba", 0x0CD99F, 0x0000004 - -gUnk_080CD9A3:: @ 080CD9A3 - .incbin "baserom.gba", 0x0CD9A3, 0x0000004 - -gUnk_080CD9A7:: @ 080CD9A7 - .incbin "baserom.gba", 0x0CD9A7, 0x0000004 - -gUnk_080CD9AB:: @ 080CD9AB - .incbin "baserom.gba", 0x0CD9AB, 0x0000004 - -gUnk_080CD9AF:: @ 080CD9AF - .incbin "baserom.gba", 0x0CD9AF, 0x0000004 - -gUnk_080CD9B3:: @ 080CD9B3 - .incbin "baserom.gba", 0x0CD9B3, 0x0000004 - -gUnk_080CD9B7:: @ 080CD9B7 - .incbin "baserom.gba", 0x0CD9B7, 0x0000004 - -gUnk_080CD9BB:: @ 080CD9BB - .incbin "baserom.gba", 0x0CD9BB, 0x0000004 - -gUnk_080CD9BF:: @ 080CD9BF - .incbin "baserom.gba", 0x0CD9BF, 0x0000004 - -gUnk_080CD9C3:: @ 080CD9C3 - .incbin "baserom.gba", 0x0CD9C3, 0x0000004 - -gUnk_080CD9C7:: @ 080CD9C7 - .incbin "baserom.gba", 0x0CD9C7, 0x0000004 - -gUnk_080CD9CB:: @ 080CD9CB - .incbin "baserom.gba", 0x0CD9CB, 0x0000004 - -gUnk_080CD9CF:: @ 080CD9CF - .incbin "baserom.gba", 0x0CD9CF, 0x0000010 - -gUnk_080CD9DF:: @ 080CD9DF - .incbin "baserom.gba", 0x0CD9DF, 0x000001C - -gUnk_080CD9FB:: @ 080CD9FB - .incbin "baserom.gba", 0x0CD9FB, 0x0000004 - -gUnk_080CD9FF:: @ 080CD9FF - .incbin "baserom.gba", 0x0CD9FF, 0x0000004 - -gUnk_080CDA03:: @ 080CDA03 - .incbin "baserom.gba", 0x0CDA03, 0x0000004 - -gUnk_080CDA07:: @ 080CDA07 - .incbin "baserom.gba", 0x0CDA07, 0x0000004 - -gUnk_080CDA0B:: @ 080CDA0B - .incbin "baserom.gba", 0x0CDA0B, 0x0000004 - -gUnk_080CDA0F:: @ 080CDA0F - .incbin "baserom.gba", 0x0CDA0F, 0x0000004 - -gUnk_080CDA13:: @ 080CDA13 - .incbin "baserom.gba", 0x0CDA13, 0x0000004 - -gUnk_080CDA17:: @ 080CDA17 - .incbin "baserom.gba", 0x0CDA17, 0x0000004 - -gUnk_080CDA1B:: @ 080CDA1B - .incbin "baserom.gba", 0x0CDA1B, 0x0000004 - -gUnk_080CDA1F:: @ 080CDA1F - .incbin "baserom.gba", 0x0CDA1F, 0x0000004 - -gUnk_080CDA23:: @ 080CDA23 - .incbin "baserom.gba", 0x0CDA23, 0x0000004 - -gUnk_080CDA27:: @ 080CDA27 - .incbin "baserom.gba", 0x0CDA27, 0x0000004 - -gUnk_080CDA2B:: @ 080CDA2B - .incbin "baserom.gba", 0x0CDA2B, 0x0000004 - -gUnk_080CDA2F:: @ 080CDA2F - .incbin "baserom.gba", 0x0CDA2F, 0x0000004 - -gUnk_080CDA33:: @ 080CDA33 - .incbin "baserom.gba", 0x0CDA33, 0x0000004 - -gUnk_080CDA37:: @ 080CDA37 - .incbin "baserom.gba", 0x0CDA37, 0x0000004 - -gUnk_080CDA3B:: @ 080CDA3B - .incbin "baserom.gba", 0x0CDA3B, 0x0000004 - -gUnk_080CDA3F:: @ 080CDA3F - .incbin "baserom.gba", 0x0CDA3F, 0x0000004 - -gUnk_080CDA43:: @ 080CDA43 - .incbin "baserom.gba", 0x0CDA43, 0x0000004 - -gUnk_080CDA47:: @ 080CDA47 - .incbin "baserom.gba", 0x0CDA47, 0x0000004 - -gUnk_080CDA4B:: @ 080CDA4B - .incbin "baserom.gba", 0x0CDA4B, 0x0000004 - -gUnk_080CDA4F:: @ 080CDA4F - .incbin "baserom.gba", 0x0CDA4F, 0x0000004 - -gUnk_080CDA53:: @ 080CDA53 - .incbin "baserom.gba", 0x0CDA53, 0x0000004 - -gUnk_080CDA57:: @ 080CDA57 - .incbin "baserom.gba", 0x0CDA57, 0x0000004 - -gUnk_080CDA5B:: @ 080CDA5B - .incbin "baserom.gba", 0x0CDA5B, 0x0000004 - -gUnk_080CDA5F:: @ 080CDA5F - .incbin "baserom.gba", 0x0CDA5F, 0x0000004 - -gUnk_080CDA63:: @ 080CDA63 - .incbin "baserom.gba", 0x0CDA63, 0x0000004 - -gUnk_080CDA67:: @ 080CDA67 - .incbin "baserom.gba", 0x0CDA67, 0x0000004 - -gUnk_080CDA6B:: @ 080CDA6B - .incbin "baserom.gba", 0x0CDA6B, 0x0000004 - -gUnk_080CDA6F:: @ 080CDA6F - .incbin "baserom.gba", 0x0CDA6F, 0x0000004 - -gUnk_080CDA73:: @ 080CDA73 - .incbin "baserom.gba", 0x0CDA73, 0x0000004 - -gUnk_080CDA77:: @ 080CDA77 - .incbin "baserom.gba", 0x0CDA77, 0x0000004 - -gUnk_080CDA7B:: @ 080CDA7B - .incbin "baserom.gba", 0x0CDA7B, 0x0000004 - -gUnk_080CDA7F:: @ 080CDA7F - .incbin "baserom.gba", 0x0CDA7F, 0x0000004 - -gUnk_080CDA83:: @ 080CDA83 - .incbin "baserom.gba", 0x0CDA83, 0x0000004 - -gUnk_080CDA87:: @ 080CDA87 - .incbin "baserom.gba", 0x0CDA87, 0x0000004 - -gUnk_080CDA8B:: @ 080CDA8B - .incbin "baserom.gba", 0x0CDA8B, 0x0000005 - -gUnk_080CDA90:: @ 080CDA90 - .incbin "baserom.gba", 0x0CDA90, 0x0000005 - -gUnk_080CDA95:: @ 080CDA95 - .incbin "baserom.gba", 0x0CDA95, 0x0000005 - -gUnk_080CDA9A:: @ 080CDA9A - .incbin "baserom.gba", 0x0CDA9A, 0x0000005 - -gUnk_080CDA9F:: @ 080CDA9F - .incbin "baserom.gba", 0x0CDA9F, 0x0000025 - -gUnk_080CDAC4:: @ 080CDAC4 - .incbin "baserom.gba", 0x0CDAC4, 0x0000011 - -gUnk_080CDAD5:: @ 080CDAD5 - .incbin "baserom.gba", 0x0CDAD5, 0x0000011 - -gUnk_080CDAE6:: @ 080CDAE6 - .incbin "baserom.gba", 0x0CDAE6, 0x000000D - -gUnk_080CDAF3:: @ 080CDAF3 - .incbin "baserom.gba", 0x0CDAF3, 0x0000010 - -gUnk_080CDB03:: @ 080CDB03 - .incbin "baserom.gba", 0x0CDB03, 0x0000014 - -gUnk_080CDB17:: @ 080CDB17 - .incbin "baserom.gba", 0x0CDB17, 0x0000011 - -gUnk_080CDB28:: @ 080CDB28 - .incbin "baserom.gba", 0x0CDB28, 0x0000011 - -gUnk_080CDB39:: @ 080CDB39 - .incbin "baserom.gba", 0x0CDB39, 0x0000024 - -gUnk_080CDB5D:: @ 080CDB5D - .incbin "baserom.gba", 0x0CDB5D, 0x0000010 - -gUnk_080CDB6D:: @ 080CDB6D - .incbin "baserom.gba", 0x0CDB6D, 0x0000011 - -gUnk_080CDB7E:: @ 080CDB7E - .incbin "baserom.gba", 0x0CDB7E, 0x0000014 - -gUnk_080CDB92:: @ 080CDB92 - .incbin "baserom.gba", 0x0CDB92, 0x0000019 - -gUnk_080CDBAB:: @ 080CDBAB - .incbin "baserom.gba", 0x0CDBAB, 0x0000019 - -gUnk_080CDBC4:: @ 080CDBC4 - .incbin "baserom.gba", 0x0CDBC4, 0x0000019 - -gUnk_080CDBDD:: @ 080CDBDD - .incbin "baserom.gba", 0x0CDBDD, 0x0000023 - -gUnk_080CDC00:: @ 080CDC00 - .incbin "baserom.gba", 0x0CDC00, 0x00000E7 - -gUnk_080CDCE7:: @ 080CDCE7 - .incbin "baserom.gba", 0x0CDCE7, 0x000007D - -gUnk_080CDD64:: @ 080CDD64 - .incbin "baserom.gba", 0x0CDD64, 0x00000D0 - -gUnk_080CDE34:: @ 080CDE34 - .incbin "baserom.gba", 0x0CDE34, 0x0000018 - -gUnk_080CDE4C:: @ 080CDE4C - .incbin "baserom.gba", 0x0CDE4C, 0x0000010 - -gUnk_080CDE5C:: @ 080CDE5C - .incbin "baserom.gba", 0x0CDE5C, 0x0000008 - -gUnk_080CDE64:: @ 080CDE64 - .incbin "baserom.gba", 0x0CDE64, 0x0000008 - -gUnk_080CDE6C:: @ 080CDE6C - .incbin "baserom.gba", 0x0CDE6C, 0x0000004 - -gUnk_080CDE70:: @ 080CDE70 - .incbin "baserom.gba", 0x0CDE70, 0x0000020 - -gUnk_080CDE90:: @ 080CDE90 - .incbin "baserom.gba", 0x0CDE90, 0x0000008 - -gUnk_080CDE98:: @ 080CDE98 - .incbin "baserom.gba", 0x0CDE98, 0x0000008 - -gUnk_080CDEA0:: @ 080CDEA0 - .incbin "baserom.gba", 0x0CDEA0, 0x0000011 - -gUnk_080CDEB1:: @ 080CDEB1 - .incbin "baserom.gba", 0x0CDEB1, 0x0000013 - -gUnk_080CDEC4:: @ 080CDEC4 - .incbin "baserom.gba", 0x0CDEC4, 0x000000C - -gUnk_080CDED0:: @ 080CDED0 - .incbin "baserom.gba", 0x0CDED0, 0x0000018 - -gUnk_080CDEE8:: @ 080CDEE8 - .incbin "baserom.gba", 0x0CDEE8, 0x0000010 - -gUnk_080CDEF8:: @ 080CDEF8 - .incbin "baserom.gba", 0x0CDEF8, 0x0000004 - -gUnk_080CDEFC:: @ 080CDEFC - .incbin "baserom.gba", 0x0CDEFC, 0x000000D - -gUnk_080CDF09:: @ 080CDF09 - .incbin "baserom.gba", 0x0CDF09, 0x0000011 - -gUnk_080CDF1A:: @ 080CDF1A - .incbin "baserom.gba", 0x0CDF1A, 0x000000D - -gUnk_080CDF27:: @ 080CDF27 - .incbin "baserom.gba", 0x0CDF27, 0x000000C - -gUnk_080CDF33:: @ 080CDF33 - .incbin "baserom.gba", 0x0CDF33, 0x0000005 - -gUnk_080CDF38:: @ 080CDF38 - .incbin "baserom.gba", 0x0CDF38, 0x0000018 - -gUnk_080CDF50:: @ 080CDF50 - .incbin "baserom.gba", 0x0CDF50, 0x0000018 - -gUnk_080CDF68:: @ 080CDF68 - .incbin "baserom.gba", 0x0CDF68, 0x0000010 - -gUnk_080CDF78:: @ 080CDF78 - .incbin "baserom.gba", 0x0CDF78, 0x0000005 - -gUnk_080CDF7D:: @ 080CDF7D - .incbin "baserom.gba", 0x0CDF7D, 0x0000005 - -gUnk_080CDF82:: @ 080CDF82 - .incbin "baserom.gba", 0x0CDF82, 0x0000005 - -gUnk_080CDF87:: @ 080CDF87 - .incbin "baserom.gba", 0x0CDF87, 0x0000005 - -gUnk_080CDF8C:: @ 080CDF8C - .incbin "baserom.gba", 0x0CDF8C, 0x0000005 - -gUnk_080CDF91:: @ 080CDF91 - .incbin "baserom.gba", 0x0CDF91, 0x0000005 - -gUnk_080CDF96:: @ 080CDF96 - .incbin "baserom.gba", 0x0CDF96, 0x0000005 - -gUnk_080CDF9B:: @ 080CDF9B - .incbin "baserom.gba", 0x0CDF9B, 0x0000005 - -gUnk_080CDFA0:: @ 080CDFA0 - .incbin "baserom.gba", 0x0CDFA0, 0x0000024 - -gUnk_080CDFC4:: @ 080CDFC4 - .incbin "baserom.gba", 0x0CDFC4, 0x0000018 - -gUnk_080CDFDC:: @ 080CDFDC - .incbin "baserom.gba", 0x0CDFDC, 0x000000C - -gUnk_080CDFE8:: @ 080CDFE8 - .incbin "baserom.gba", 0x0CDFE8, 0x000000D - -gUnk_080CDFF5:: @ 080CDFF5 - .incbin "baserom.gba", 0x0CDFF5, 0x000000D - -gUnk_080CE002:: @ 080CE002 - .incbin "baserom.gba", 0x0CE002, 0x000000D - -gUnk_080CE00F:: @ 080CE00F - .incbin "baserom.gba", 0x0CE00F, 0x000000D - -gUnk_080CE01C:: @ 080CE01C - .incbin "baserom.gba", 0x0CE01C, 0x000000D - -gUnk_080CE029:: @ 080CE029 - .incbin "baserom.gba", 0x0CE029, 0x000000D - -gUnk_080CE036:: @ 080CE036 - .incbin "baserom.gba", 0x0CE036, 0x000000D - -gUnk_080CE043:: @ 080CE043 - .incbin "baserom.gba", 0x0CE043, 0x000000D - -gUnk_080CE050:: @ 080CE050 - .incbin "baserom.gba", 0x0CE050, 0x0000024 - -gUnk_080CE074:: @ 080CE074 - .incbin "baserom.gba", 0x0CE074, 0x0000018 - -gUnk_080CE08C:: @ 080CE08C - .incbin "baserom.gba", 0x0CE08C, 0x000000C - -gUnk_080CE098:: @ 080CE098 - .incbin "baserom.gba", 0x0CE098, 0x000000D - -gUnk_080CE0A5:: @ 080CE0A5 - .incbin "baserom.gba", 0x0CE0A5, 0x000000D - -gUnk_080CE0B2:: @ 080CE0B2 - .incbin "baserom.gba", 0x0CE0B2, 0x000000D - -gUnk_080CE0BF:: @ 080CE0BF - .incbin "baserom.gba", 0x0CE0BF, 0x000000D - -gUnk_080CE0CC:: @ 080CE0CC - .incbin "baserom.gba", 0x0CE0CC, 0x000000D - -gUnk_080CE0D9:: @ 080CE0D9 - .incbin "baserom.gba", 0x0CE0D9, 0x000000D - -gUnk_080CE0E6:: @ 080CE0E6 - .incbin "baserom.gba", 0x0CE0E6, 0x000000D - -gUnk_080CE0F3:: @ 080CE0F3 - .incbin "baserom.gba", 0x0CE0F3, 0x000000D - -gUnk_080CE100:: @ 080CE100 - .incbin "baserom.gba", 0x0CE100, 0x0000024 - -gUnk_080CE124:: @ 080CE124 - .incbin "baserom.gba", 0x0CE124, 0x0000018 - -gUnk_080CE13C:: @ 080CE13C - .incbin "baserom.gba", 0x0CE13C, 0x0000024 - -gUnk_080CE160:: @ 080CE160 - .incbin "baserom.gba", 0x0CE160, 0x0000004 - -gUnk_080CE164:: @ 080CE164 - .incbin "baserom.gba", 0x0CE164, 0x0000008 - -gUnk_080CE16C:: @ 080CE16C - .incbin "baserom.gba", 0x0CE16C, 0x0000019 - -gUnk_080CE185:: @ 080CE185 - .incbin "baserom.gba", 0x0CE185, 0x0000019 - -gUnk_080CE19E:: @ 080CE19E - .incbin "baserom.gba", 0x0CE19E, 0x0000019 - -gUnk_080CE1B7:: @ 080CE1B7 - .incbin "baserom.gba", 0x0CE1B7, 0x0000019 - -gUnk_080CE1D0:: @ 080CE1D0 - .incbin "baserom.gba", 0x0CE1D0, 0x0000035 - -gUnk_080CE205:: @ 080CE205 - .incbin "baserom.gba", 0x0CE205, 0x0000041 - -gUnk_080CE246:: @ 080CE246 - .incbin "baserom.gba", 0x0CE246, 0x0000018 - -gUnk_080CE25E:: @ 080CE25E - .incbin "baserom.gba", 0x0CE25E, 0x0000006 - -gUnk_080CE264:: @ 080CE264 - .incbin "baserom.gba", 0x0CE264, 0x0000024 - -gUnk_080CE288:: @ 080CE288 - .incbin "baserom.gba", 0x0CE288, 0x0000018 - -gUnk_080CE2A0:: @ 080CE2A0 - .incbin "baserom.gba", 0x0CE2A0, 0x000001C - -gUnk_080CE2BC:: @ 080CE2BC - .incbin "baserom.gba", 0x0CE2BC, 0x0000004 - -gUnk_080CE2C0:: @ 080CE2C0 - .incbin "baserom.gba", 0x0CE2C0, 0x0000034 - -gUnk_080CE2F4:: @ 080CE2F4 - .incbin "baserom.gba", 0x0CE2F4, 0x0000010 - -gUnk_080CE304:: @ 080CE304 - .incbin "baserom.gba", 0x0CE304, 0x0000008 - -gUnk_080CE30C:: @ 080CE30C - .incbin "baserom.gba", 0x0CE30C, 0x0000010 - -gUnk_080CE31C:: @ 080CE31C - .incbin "baserom.gba", 0x0CE31C, 0x0000019 - -gUnk_080CE335:: @ 080CE335 - .incbin "baserom.gba", 0x0CE335, 0x0000010 - -gUnk_080CE345:: @ 080CE345 - .incbin "baserom.gba", 0x0CE345, 0x0000019 - -gUnk_080CE35E:: @ 080CE35E - .incbin "baserom.gba", 0x0CE35E, 0x0000010 - -gUnk_080CE36E:: @ 080CE36E - .incbin "baserom.gba", 0x0CE36E, 0x0000019 - -gUnk_080CE387:: @ 080CE387 - .incbin "baserom.gba", 0x0CE387, 0x0000010 - -gUnk_080CE397:: @ 080CE397 - .incbin "baserom.gba", 0x0CE397, 0x0000019 - -gUnk_080CE3B0:: @ 080CE3B0 - .incbin "baserom.gba", 0x0CE3B0, 0x000000C - -gUnk_080CE3BC:: @ 080CE3BC - .incbin "baserom.gba", 0x0CE3BC, 0x000000C - -gUnk_080CE3C8:: @ 080CE3C8 - .incbin "baserom.gba", 0x0CE3C8, 0x000000C - -gUnk_080CE3D4:: @ 080CE3D4 - .incbin "baserom.gba", 0x0CE3D4, 0x000000C - -gUnk_080CE3E0:: @ 080CE3E0 - .incbin "baserom.gba", 0x0CE3E0, 0x000000C - -gUnk_080CE3EC:: @ 080CE3EC - .incbin "baserom.gba", 0x0CE3EC, 0x000000C - -gUnk_080CE3F8:: @ 080CE3F8 - .incbin "baserom.gba", 0x0CE3F8, 0x000000C - -gUnk_080CE404:: @ 080CE404 - .incbin "baserom.gba", 0x0CE404, 0x0000003 - -gUnk_080CE407:: @ 080CE407 - .incbin "baserom.gba", 0x0CE407, 0x0000041 - -gUnk_080CE448:: @ 080CE448 - .incbin "baserom.gba", 0x0CE448, 0x0000018 - -gUnk_080CE460:: @ 080CE460 - .incbin "baserom.gba", 0x0CE460, 0x0000010 - -gUnk_080CE470:: @ 080CE470 - .incbin "baserom.gba", 0x0CE470, 0x000000C - -gUnk_080CE47C:: @ 080CE47C - .incbin "baserom.gba", 0x0CE47C, 0x0000011 - -gUnk_080CE48D:: @ 080CE48D - .incbin "baserom.gba", 0x0CE48D, 0x0000011 - -gUnk_080CE49E:: @ 080CE49E - .incbin "baserom.gba", 0x0CE49E, 0x0000011 - -gUnk_080CE4AF:: @ 080CE4AF - .incbin "baserom.gba", 0x0CE4AF, 0x0000011 - -gUnk_080CE4C0:: @ 080CE4C0 - .incbin "baserom.gba", 0x0CE4C0, 0x0000011 - -gUnk_080CE4D1:: @ 080CE4D1 - .incbin "baserom.gba", 0x0CE4D1, 0x0000011 - -gUnk_080CE4E2:: @ 080CE4E2 - .incbin "baserom.gba", 0x0CE4E2, 0x0000011 - -gUnk_080CE4F3:: @ 080CE4F3 - .incbin "baserom.gba", 0x0CE4F3, 0x0000019 - -gUnk_080CE50C:: @ 080CE50C - .incbin "baserom.gba", 0x0CE50C, 0x0000024 - -gUnk_080CE530:: @ 080CE530 - .incbin "baserom.gba", 0x0CE530, 0x0000018 - -gUnk_080CE548:: @ 080CE548 - .incbin "baserom.gba", 0x0CE548, 0x000000C - -gUnk_080CE554:: @ 080CE554 - .incbin "baserom.gba", 0x0CE554, 0x000000C - -gUnk_080CE560:: @ 080CE560 - .incbin "baserom.gba", 0x0CE560, 0x000000C - -gUnk_080CE56C:: @ 080CE56C - .incbin "baserom.gba", 0x0CE56C, 0x0000018 - -gUnk_080CE584:: @ 080CE584 - .incbin "baserom.gba", 0x0CE584, 0x0000008 - -gUnk_080CE58C:: @ 080CE58C - .incbin "baserom.gba", 0x0CE58C, 0x0000024 - -gUnk_080CE5B0:: @ 080CE5B0 - .incbin "baserom.gba", 0x0CE5B0, 0x0000008 - -gUnk_080CE5B8:: @ 080CE5B8 - .incbin "baserom.gba", 0x0CE5B8, 0x0000008 - -gUnk_080CE5C0:: @ 080CE5C0 - .incbin "baserom.gba", 0x0CE5C0, 0x0000008 - -gUnk_080CE5C8:: @ 080CE5C8 - .incbin "baserom.gba", 0x0CE5C8, 0x0000028 - -gUnk_080CE5F0:: @ 080CE5F0 - .incbin "baserom.gba", 0x0CE5F0, 0x000000A - -gUnk_080CE5FA:: @ 080CE5FA - .incbin "baserom.gba", 0x0CE5FA, 0x0000014 - -gUnk_080CE60E:: @ 080CE60E - .incbin "baserom.gba", 0x0CE60E, 0x0000018 - -gUnk_080CE626:: @ 080CE626 - .incbin "baserom.gba", 0x0CE626, 0x0000031 - -gUnk_080CE657:: @ 080CE657 - .incbin "baserom.gba", 0x0CE657, 0x0000010 - -gUnk_080CE667:: @ 080CE667 - .incbin "baserom.gba", 0x0CE667, 0x0000028 - -gUnk_080CE68F:: @ 080CE68F - .incbin "baserom.gba", 0x0CE68F, 0x0000009 - -gUnk_080CE698:: @ 080CE698 - .incbin "baserom.gba", 0x0CE698, 0x0000005 - -gUnk_080CE69D:: @ 080CE69D - .incbin "baserom.gba", 0x0CE69D, 0x0000009 - -gUnk_080CE6A6:: @ 080CE6A6 - .incbin "baserom.gba", 0x0CE6A6, 0x0000009 - -gUnk_080CE6AF:: @ 080CE6AF - .incbin "baserom.gba", 0x0CE6AF, 0x0000011 - -gUnk_080CE6C0:: @ 080CE6C0 - .incbin "baserom.gba", 0x0CE6C0, 0x0000011 - -gUnk_080CE6D1:: @ 080CE6D1 - .incbin "baserom.gba", 0x0CE6D1, 0x0000005 - -gUnk_080CE6D6:: @ 080CE6D6 - .incbin "baserom.gba", 0x0CE6D6, 0x0000005 - -gUnk_080CE6DB:: @ 080CE6DB - .incbin "baserom.gba", 0x0CE6DB, 0x000000C - -gUnk_080CE6E7:: @ 080CE6E7 - .incbin "baserom.gba", 0x0CE6E7, 0x0000040 - -gUnk_080CE727:: @ 080CE727 - .incbin "baserom.gba", 0x0CE727, 0x0000049 - -gUnk_080CE770:: @ 080CE770 - .incbin "baserom.gba", 0x0CE770, 0x0000040 - -gUnk_080CE7B0:: @ 080CE7B0 - .incbin "baserom.gba", 0x0CE7B0, 0x0000018 - -gUnk_080CE7C8:: @ 080CE7C8 - .incbin "baserom.gba", 0x0CE7C8, 0x0000018 - -gUnk_080CE7E0:: @ 080CE7E0 - .incbin "baserom.gba", 0x0CE7E0, 0x0000010 - -gUnk_080CE7F0:: @ 080CE7F0 - .incbin "baserom.gba", 0x0CE7F0, 0x0000020 - -gUnk_080CE810:: @ 080CE810 - .incbin "baserom.gba", 0x0CE810, 0x0000008 - -gUnk_080CE818:: @ 080CE818 - .incbin "baserom.gba", 0x0CE818, 0x0000011 - -gUnk_080CE829:: @ 080CE829 - .incbin "baserom.gba", 0x0CE829, 0x0000011 - -gUnk_080CE83A:: @ 080CE83A - .incbin "baserom.gba", 0x0CE83A, 0x0000011 - -gUnk_080CE84B:: @ 080CE84B - .incbin "baserom.gba", 0x0CE84B, 0x0000011 - -gUnk_080CE85C:: @ 080CE85C - .incbin "baserom.gba", 0x0CE85C, 0x0000011 - -gUnk_080CE86D:: @ 080CE86D - .incbin "baserom.gba", 0x0CE86D, 0x0000011 - -gUnk_080CE87E:: @ 080CE87E - .incbin "baserom.gba", 0x0CE87E, 0x0000011 - -gUnk_080CE88F:: @ 080CE88F - .incbin "baserom.gba", 0x0CE88F, 0x0000011 - -gUnk_080CE8A0:: @ 080CE8A0 - .incbin "baserom.gba", 0x0CE8A0, 0x0000029 - -gUnk_080CE8C9:: @ 080CE8C9 - .incbin "baserom.gba", 0x0CE8C9, 0x0000029 - -gUnk_080CE8F2:: @ 080CE8F2 - .incbin "baserom.gba", 0x0CE8F2, 0x0000029 - -gUnk_080CE91B:: @ 080CE91B - .incbin "baserom.gba", 0x0CE91B, 0x0000029 - -gUnk_080CE944:: @ 080CE944 - .incbin "baserom.gba", 0x0CE944, 0x0000034 - -gUnk_080CE978:: @ 080CE978 - .incbin "baserom.gba", 0x0CE978, 0x0000018 - -gUnk_080CE990:: @ 080CE990 - .incbin "baserom.gba", 0x0CE990, 0x0000014 - -gUnk_080CE9A4:: @ 080CE9A4 - .incbin "baserom.gba", 0x0CE9A4, 0x000000C - -gUnk_080CE9B0:: @ 080CE9B0 - .incbin "baserom.gba", 0x0CE9B0, 0x0000005 - -gUnk_080CE9B5:: @ 080CE9B5 - .incbin "baserom.gba", 0x0CE9B5, 0x0000005 - -gUnk_080CE9BA:: @ 080CE9BA - .incbin "baserom.gba", 0x0CE9BA, 0x0000011 - -gUnk_080CE9CB:: @ 080CE9CB - .incbin "baserom.gba", 0x0CE9CB, 0x0000011 - -gUnk_080CE9DC:: @ 080CE9DC - .incbin "baserom.gba", 0x0CE9DC, 0x0000011 - -gUnk_080CE9ED:: @ 080CE9ED - .incbin "baserom.gba", 0x0CE9ED, 0x0000013 - -gUnk_080CEA00:: @ 080CEA00 - .incbin "baserom.gba", 0x0CEA00, 0x000001C - -gUnk_080CEA1C:: @ 080CEA1C - .incbin "baserom.gba", 0x0CEA1C, 0x0000018 - -gUnk_080CEA34:: @ 080CEA34 - .incbin "baserom.gba", 0x0CEA34, 0x000001C - -gUnk_080CEA50:: @ 080CEA50 - .incbin "baserom.gba", 0x0CEA50, 0x0000004 - -gUnk_080CEA54:: @ 080CEA54 - .incbin "baserom.gba", 0x0CEA54, 0x0000002 - -gUnk_080CEA56:: @ 080CEA56 - .incbin "baserom.gba", 0x0CEA56, 0x0000010 - -gUnk_080CEA66:: @ 080CEA66 - .incbin "baserom.gba", 0x0CEA66, 0x0000005 - -gUnk_080CEA6B:: @ 080CEA6B - .incbin "baserom.gba", 0x0CEA6B, 0x0000005 - -gUnk_080CEA70:: @ 080CEA70 - .incbin "baserom.gba", 0x0CEA70, 0x0000005 - -gUnk_080CEA75:: @ 080CEA75 - .incbin "baserom.gba", 0x0CEA75, 0x0000005 - -gUnk_080CEA7A:: @ 080CEA7A - .incbin "baserom.gba", 0x0CEA7A, 0x0000011 - -gUnk_080CEA8B:: @ 080CEA8B - .incbin "baserom.gba", 0x0CEA8B, 0x0000011 - -gUnk_080CEA9C:: @ 080CEA9C - .incbin "baserom.gba", 0x0CEA9C, 0x0000011 - -gUnk_080CEAAD:: @ 080CEAAD - .incbin "baserom.gba", 0x0CEAAD, 0x0000011 - -gUnk_080CEABE:: @ 080CEABE - .incbin "baserom.gba", 0x0CEABE, 0x0000011 - -gUnk_080CEACF:: @ 080CEACF - .incbin "baserom.gba", 0x0CEACF, 0x0000011 - -gUnk_080CEAE0:: @ 080CEAE0 - .incbin "baserom.gba", 0x0CEAE0, 0x0000011 - -gUnk_080CEAF1:: @ 080CEAF1 - .incbin "baserom.gba", 0x0CEAF1, 0x0000013 - -gUnk_080CEB04:: @ 080CEB04 - .incbin "baserom.gba", 0x0CEB04, 0x0000034 - -gUnk_080CEB38:: @ 080CEB38 - .incbin "baserom.gba", 0x0CEB38, 0x0000018 - -gUnk_080CEB50:: @ 080CEB50 - .incbin "baserom.gba", 0x0CEB50, 0x0000010 - -gUnk_080CEB60:: @ 080CEB60 - .incbin "baserom.gba", 0x0CEB60, 0x000000C - -gUnk_080CEB6C:: @ 080CEB6C - .incbin "baserom.gba", 0x0CEB6C, 0x0000008 - -gUnk_080CEB74:: @ 080CEB74 - .incbin "baserom.gba", 0x0CEB74, 0x0000018 - -gUnk_080CEB8C:: @ 080CEB8C - .incbin "baserom.gba", 0x0CEB8C, 0x000000C - -gUnk_080CEB98:: @ 080CEB98 - .incbin "baserom.gba", 0x0CEB98, 0x000000C - -gUnk_080CEBA4:: @ 080CEBA4 - .incbin "baserom.gba", 0x0CEBA4, 0x0000008 - -gUnk_080CEBAC:: @ 080CEBAC - .incbin "baserom.gba", 0x0CEBAC, 0x0000011 - -gUnk_080CEBBD:: @ 080CEBBD - .incbin "baserom.gba", 0x0CEBBD, 0x0000013 - -gUnk_080CEBD0:: @ 080CEBD0 - .incbin "baserom.gba", 0x0CEBD0, 0x000001C - -gUnk_080CEBEC:: @ 080CEBEC - .incbin "baserom.gba", 0x0CEBEC, 0x0000018 - -gUnk_080CEC04:: @ 080CEC04 - .incbin "baserom.gba", 0x0CEC04, 0x0000018 - -gUnk_080CEC1C:: @ 080CEC1C - .incbin "baserom.gba", 0x0CEC1C, 0x0000008 - -gUnk_080CEC24:: @ 080CEC24 - .incbin "baserom.gba", 0x0CEC24, 0x0000005 - -gUnk_080CEC29:: @ 080CEC29 - .incbin "baserom.gba", 0x0CEC29, 0x0000019 - -gUnk_080CEC42:: @ 080CEC42 - .incbin "baserom.gba", 0x0CEC42, 0x0000009 - -gUnk_080CEC4B:: @ 080CEC4B - .incbin "baserom.gba", 0x0CEC4B, 0x0000011 - -gUnk_080CEC5C:: @ 080CEC5C - .incbin "baserom.gba", 0x0CEC5C, 0x0000014 - -gUnk_080CEC70:: @ 080CEC70 - .incbin "baserom.gba", 0x0CEC70, 0x0000018 - -gUnk_080CEC88:: @ 080CEC88 - .incbin "baserom.gba", 0x0CEC88, 0x0000018 - -gUnk_080CECA0:: @ 080CECA0 - .incbin "baserom.gba", 0x0CECA0, 0x0000014 - -gUnk_080CECB4:: @ 080CECB4 - .incbin "baserom.gba", 0x0CECB4, 0x0000019 - -gUnk_080CECCD:: @ 080CECCD - .incbin "baserom.gba", 0x0CECCD, 0x000001F - -gUnk_080CECEC:: @ 080CECEC - .incbin "baserom.gba", 0x0CECEC, 0x0000008 - -gUnk_080CECF4:: @ 080CECF4 - .incbin "baserom.gba", 0x0CECF4, 0x000000E - -gUnk_080CED02:: @ 080CED02 - .incbin "baserom.gba", 0x0CED02, 0x0000004 - -gUnk_080CED06:: @ 080CED06 - .incbin "baserom.gba", 0x0CED06, 0x0000006 - -gUnk_080CED0C:: @ 080CED0C - .incbin "baserom.gba", 0x0CED0C, 0x0000020 - -gUnk_080CED2C:: @ 080CED2C - .incbin "baserom.gba", 0x0CED2C, 0x0000020 - -gUnk_080CED4C:: @ 080CED4C - .incbin "baserom.gba", 0x0CED4C, 0x0000020 - -gUnk_080CED6C:: @ 080CED6C - .incbin "baserom.gba", 0x0CED6C, 0x0000008 - -gUnk_080CED74:: @ 080CED74 - .incbin "baserom.gba", 0x0CED74, 0x0000010 - -gUnk_080CED84:: @ 080CED84 - .incbin "baserom.gba", 0x0CED84, 0x0000004 - -gUnk_080CED88:: @ 080CED88 - .incbin "baserom.gba", 0x0CED88, 0x0000014 - -gUnk_080CED9C:: @ 080CED9C - .incbin "baserom.gba", 0x0CED9C, 0x0000014 - -gUnk_080CEDB0:: @ 080CEDB0 - .incbin "baserom.gba", 0x0CEDB0, 0x0000005 - -gUnk_080CEDB5:: @ 080CEDB5 - .incbin "baserom.gba", 0x0CEDB5, 0x0000005 - -gUnk_080CEDBA:: @ 080CEDBA - .incbin "baserom.gba", 0x0CEDBA, 0x0000015 - -gUnk_080CEDCF:: @ 080CEDCF - .incbin "baserom.gba", 0x0CEDCF, 0x0000038 - -gUnk_080CEE07:: @ 080CEE07 - .incbin "baserom.gba", 0x0CEE07, 0x0000038 - -gUnk_080CEE3F:: @ 080CEE3F - .incbin "baserom.gba", 0x0CEE3F, 0x0000018 - -gUnk_080CEE57:: @ 080CEE57 - .incbin "baserom.gba", 0x0CEE57, 0x0000019 - -gUnk_080CEE70:: @ 080CEE70 - .incbin "baserom.gba", 0x0CEE70, 0x0000020 - -gUnk_080CEE90:: @ 080CEE90 - .incbin "baserom.gba", 0x0CEE90, 0x0000014 - -gUnk_080CEEA4:: @ 080CEEA4 - .incbin "baserom.gba", 0x0CEEA4, 0x000000C - -gUnk_080CEEB0:: @ 080CEEB0 - .incbin "baserom.gba", 0x0CEEB0, 0x0000018 - -gUnk_080CEEC8:: @ 080CEEC8 - .incbin "baserom.gba", 0x0CEEC8, 0x0000004 - -gUnk_080CEECC:: @ 080CEECC - .incbin "baserom.gba", 0x0CEECC, 0x000000C - -gUnk_080CEED8:: @ 080CEED8 - .incbin "baserom.gba", 0x0CEED8, 0x0000004 - -gUnk_080CEEDC:: @ 080CEEDC - .incbin "baserom.gba", 0x0CEEDC, 0x000002C - -gUnk_080CEF08:: @ 080CEF08 - .incbin "baserom.gba", 0x0CEF08, 0x0000004 - -gUnk_080CEF0C:: @ 080CEF0C - .incbin "baserom.gba", 0x0CEF0C, 0x0000011 - -gUnk_080CEF1D:: @ 080CEF1D - .incbin "baserom.gba", 0x0CEF1D, 0x0000007 - -gUnk_080CEF24:: @ 080CEF24 - .incbin "baserom.gba", 0x0CEF24, 0x0000010 - -gUnk_080CEF34:: @ 080CEF34 - .incbin "baserom.gba", 0x0CEF34, 0x0000024 - -gUnk_080CEF58:: @ 080CEF58 - .incbin "baserom.gba", 0x0CEF58, 0x0000024 - -gUnk_080CEF7C:: @ 080CEF7C - .incbin "baserom.gba", 0x0CEF7C, 0x0000021 - -gUnk_080CEF9D:: @ 080CEF9D - .incbin "baserom.gba", 0x0CEF9D, 0x0000008 - -gUnk_080CEFA5:: @ 080CEFA5 - .incbin "baserom.gba", 0x0CEFA5, 0x0000009 - -gUnk_080CEFAE:: @ 080CEFAE - .incbin "baserom.gba", 0x0CEFAE, 0x0000004 - -gUnk_080CEFB2:: @ 080CEFB2 - .incbin "baserom.gba", 0x0CEFB2, 0x0000004 - -gUnk_080CEFB6:: @ 080CEFB6 - .incbin "baserom.gba", 0x0CEFB6, 0x0000015 - -gUnk_080CEFCB:: @ 080CEFCB - .incbin "baserom.gba", 0x0CEFCB, 0x0000015 - -gUnk_080CEFE0:: @ 080CEFE0 - .incbin "baserom.gba", 0x0CEFE0, 0x0000009 - -gUnk_080CEFE9:: @ 080CEFE9 - .incbin "baserom.gba", 0x0CEFE9, 0x0000019 - -gUnk_080CF002:: @ 080CF002 - .incbin "baserom.gba", 0x0CF002, 0x0000012 - -gUnk_080CF014:: @ 080CF014 - .incbin "baserom.gba", 0x0CF014, 0x000002C - -gUnk_080CF040:: @ 080CF040 - .incbin "baserom.gba", 0x0CF040, 0x0000014 - -gUnk_080CF054:: @ 080CF054 - .incbin "baserom.gba", 0x0CF054, 0x000001C - -gUnk_080CF070:: @ 080CF070 - .incbin "baserom.gba", 0x0CF070, 0x0000008 - -gUnk_080CF078:: @ 080CF078 - .incbin "baserom.gba", 0x0CF078, 0x0000014 - -gUnk_080CF08C:: @ 080CF08C - .incbin "baserom.gba", 0x0CF08C, 0x0000020 - -gUnk_080CF0AC:: @ 080CF0AC - .incbin "baserom.gba", 0x0CF0AC, 0x0000018 - -gUnk_080CF0C4:: @ 080CF0C4 - .incbin "baserom.gba", 0x0CF0C4, 0x0000014 - -gUnk_080CF0D8:: @ 080CF0D8 - .incbin "baserom.gba", 0x0CF0D8, 0x0000004 - -gUnk_080CF0DC:: @ 080CF0DC - .incbin "baserom.gba", 0x0CF0DC, 0x0000004 - -gUnk_080CF0E0:: @ 080CF0E0 - .incbin "baserom.gba", 0x0CF0E0, 0x0000010 - -gUnk_080CF0F0:: @ 080CF0F0 - .incbin "baserom.gba", 0x0CF0F0, 0x0000010 - -gUnk_080CF100:: @ 080CF100 - .incbin "baserom.gba", 0x0CF100, 0x000000C - -gUnk_080CF10C:: @ 080CF10C - .incbin "baserom.gba", 0x0CF10C, 0x0000004 - -gUnk_080CF110:: @ 080CF110 - .incbin "baserom.gba", 0x0CF110, 0x0000004 - -gUnk_080CF114:: @ 080CF114 - .incbin "baserom.gba", 0x0CF114, 0x0000005 - -gUnk_080CF119:: @ 080CF119 - .incbin "baserom.gba", 0x0CF119, 0x0000005 - -gUnk_080CF11E:: @ 080CF11E - .incbin "baserom.gba", 0x0CF11E, 0x0000006 - -gUnk_080CF124:: @ 080CF124 - .incbin "baserom.gba", 0x0CF124, 0x0000010 - -gUnk_080CF134:: @ 080CF134 - .incbin "baserom.gba", 0x0CF134, 0x0000004 - -gUnk_080CF138:: @ 080CF138 - .incbin "baserom.gba", 0x0CF138, 0x0000004 - -gUnk_080CF13C:: @ 080CF13C - .incbin "baserom.gba", 0x0CF13C, 0x0000003 - -gUnk_080CF13F:: @ 080CF13F - .incbin "baserom.gba", 0x0CF13F, 0x0000003 - -gUnk_080CF142:: @ 080CF142 - .incbin "baserom.gba", 0x0CF142, 0x0000005 - -gUnk_080CF147:: @ 080CF147 - .incbin "baserom.gba", 0x0CF147, 0x0000005 - -gUnk_080CF14C:: @ 080CF14C - .incbin "baserom.gba", 0x0CF14C, 0x0000004 - -gUnk_080CF150:: @ 080CF150 - .incbin "baserom.gba", 0x0CF150, 0x0000004 - -gUnk_080CF154:: @ 080CF154 - .incbin "baserom.gba", 0x0CF154, 0x0000004 - -gUnk_080CF158:: @ 080CF158 - .incbin "baserom.gba", 0x0CF158, 0x0000015 - -gUnk_080CF16D:: @ 080CF16D - .incbin "baserom.gba", 0x0CF16D, 0x0000015 - -gUnk_080CF182:: @ 080CF182 - .incbin "baserom.gba", 0x0CF182, 0x0000004 - -gUnk_080CF186:: @ 080CF186 - .incbin "baserom.gba", 0x0CF186, 0x0000011 - -gUnk_080CF197:: @ 080CF197 - .incbin "baserom.gba", 0x0CF197, 0x0000015 - -gUnk_080CF1AC:: @ 080CF1AC - .incbin "baserom.gba", 0x0CF1AC, 0x0000011 - -gUnk_080CF1BD:: @ 080CF1BD - .incbin "baserom.gba", 0x0CF1BD, 0x0000020 - -gUnk_080CF1DD:: @ 080CF1DD - .incbin "baserom.gba", 0x0CF1DD, 0x0000005 - -gUnk_080CF1E2:: @ 080CF1E2 - .incbin "baserom.gba", 0x0CF1E2, 0x0000019 - -gUnk_080CF1FB:: @ 080CF1FB - .incbin "baserom.gba", 0x0CF1FB, 0x0000004 - -gUnk_080CF1FF:: @ 080CF1FF - .incbin "baserom.gba", 0x0CF1FF, 0x0000005 - -gUnk_080CF204:: @ 080CF204 - .incbin "baserom.gba", 0x0CF204, 0x0000030 - -gUnk_080CF234:: @ 080CF234 - .incbin "baserom.gba", 0x0CF234, 0x0000010 - -gUnk_080CF244:: @ 080CF244 - .incbin "baserom.gba", 0x0CF244, 0x0000018 - -gUnk_080CF25C:: @ 080CF25C - .incbin "baserom.gba", 0x0CF25C, 0x000001C - -gUnk_080CF278:: @ 080CF278 - .incbin "baserom.gba", 0x0CF278, 0x0000018 - -gUnk_080CF290:: @ 080CF290 - .incbin "baserom.gba", 0x0CF290, 0x0000004 - -gUnk_080CF294:: @ 080CF294 - .incbin "baserom.gba", 0x0CF294, 0x0000018 - -gUnk_080CF2AC:: @ 080CF2AC - .incbin "baserom.gba", 0x0CF2AC, 0x0000024 - -gUnk_080CF2D0:: @ 080CF2D0 - .incbin "baserom.gba", 0x0CF2D0, 0x0000004 - -gUnk_080CF2D4:: @ 080CF2D4 - .incbin "baserom.gba", 0x0CF2D4, 0x0000004 - -gUnk_080CF2D8:: @ 080CF2D8 - .incbin "baserom.gba", 0x0CF2D8, 0x0000004 - -gUnk_080CF2DC:: @ 080CF2DC - .incbin "baserom.gba", 0x0CF2DC, 0x0000004 - -gUnk_080CF2E0:: @ 080CF2E0 - .incbin "baserom.gba", 0x0CF2E0, 0x0000019 - -gUnk_080CF2F9:: @ 080CF2F9 - .incbin "baserom.gba", 0x0CF2F9, 0x0000019 - -gUnk_080CF312:: @ 080CF312 - .incbin "baserom.gba", 0x0CF312, 0x0000019 - -gUnk_080CF32B:: @ 080CF32B - .incbin "baserom.gba", 0x0CF32B, 0x0000019 - -gUnk_080CF344:: @ 080CF344 - .incbin "baserom.gba", 0x0CF344, 0x0000018 - -gUnk_080CF35C:: @ 080CF35C - .incbin "baserom.gba", 0x0CF35C, 0x0000018 - -gUnk_080CF374:: @ 080CF374 - .incbin "baserom.gba", 0x0CF374, 0x0000018 - -gUnk_080CF38C:: @ 080CF38C - .incbin "baserom.gba", 0x0CF38C, 0x0000018 - -gUnk_080CF3A4:: @ 080CF3A4 - .incbin "baserom.gba", 0x0CF3A4, 0x0000009 - -gUnk_080CF3AD:: @ 080CF3AD - .incbin "baserom.gba", 0x0CF3AD, 0x0000009 - -gUnk_080CF3B6:: @ 080CF3B6 - .incbin "baserom.gba", 0x0CF3B6, 0x0000009 - -gUnk_080CF3BF:: @ 080CF3BF - .incbin "baserom.gba", 0x0CF3BF, 0x0000009 - -gUnk_080CF3C8:: @ 080CF3C8 - .incbin "baserom.gba", 0x0CF3C8, 0x0000014 - -gUnk_080CF3DC:: @ 080CF3DC - .incbin "baserom.gba", 0x0CF3DC, 0x0000014 - -gUnk_080CF3F0:: @ 080CF3F0 - .incbin "baserom.gba", 0x0CF3F0, 0x0000014 - -gUnk_080CF404:: @ 080CF404 - .incbin "baserom.gba", 0x0CF404, 0x0000014 - -gUnk_080CF418:: @ 080CF418 - .incbin "baserom.gba", 0x0CF418, 0x0000054 - -gUnk_080CF46C:: @ 080CF46C - .incbin "baserom.gba", 0x0CF46C, 0x0000018 - -gUnk_080CF484:: @ 080CF484 - .incbin "baserom.gba", 0x0CF484, 0x000000C - -gUnk_080CF490:: @ 080CF490 - .incbin "baserom.gba", 0x0CF490, 0x0000008 - -gUnk_080CF498:: @ 080CF498 - .incbin "baserom.gba", 0x0CF498, 0x0000008 - -gUnk_080CF4A0:: @ 080CF4A0 - .incbin "baserom.gba", 0x0CF4A0, 0x0000018 - -gUnk_080CF4B8:: @ 080CF4B8 - .incbin "baserom.gba", 0x0CF4B8, 0x000000C - -gUnk_080CF4C4:: @ 080CF4C4 - .incbin "baserom.gba", 0x0CF4C4, 0x0000004 - -gUnk_080CF4C8:: @ 080CF4C8 - .incbin "baserom.gba", 0x0CF4C8, 0x0000018 - -gUnk_080CF4E0:: @ 080CF4E0 - .incbin "baserom.gba", 0x0CF4E0, 0x0000010 - -gUnk_080CF4F0:: @ 080CF4F0 - .incbin "baserom.gba", 0x0CF4F0, 0x0000018 - -gUnk_080CF508:: @ 080CF508 - .incbin "baserom.gba", 0x0CF508, 0x0000018 - -gUnk_080CF520:: @ 080CF520 - .incbin "baserom.gba", 0x0CF520, 0x0000010 - -gUnk_080CF530:: @ 080CF530 - .incbin "baserom.gba", 0x0CF530, 0x000000D - -gUnk_080CF53D:: @ 080CF53D - .incbin "baserom.gba", 0x0CF53D, 0x000000D - -gUnk_080CF54A:: @ 080CF54A - .incbin "baserom.gba", 0x0CF54A, 0x000000D - -gUnk_080CF557:: @ 080CF557 - .incbin "baserom.gba", 0x0CF557, 0x000000D - -gUnk_080CF564:: @ 080CF564 - .incbin "baserom.gba", 0x0CF564, 0x000000D - -gUnk_080CF571:: @ 080CF571 - .incbin "baserom.gba", 0x0CF571, 0x000000D - -gUnk_080CF57E:: @ 080CF57E - .incbin "baserom.gba", 0x0CF57E, 0x000000D - -gUnk_080CF58B:: @ 080CF58B - .incbin "baserom.gba", 0x0CF58B, 0x000000D - -gUnk_080CF598:: @ 080CF598 - .incbin "baserom.gba", 0x0CF598, 0x000000D - -gUnk_080CF5A5:: @ 080CF5A5 - .incbin "baserom.gba", 0x0CF5A5, 0x000000D - -gUnk_080CF5B2:: @ 080CF5B2 - .incbin "baserom.gba", 0x0CF5B2, 0x000000D - -gUnk_080CF5BF:: @ 080CF5BF - .incbin "baserom.gba", 0x0CF5BF, 0x000000D - -gUnk_080CF5CC:: @ 080CF5CC - .incbin "baserom.gba", 0x0CF5CC, 0x0000034 - -gUnk_080CF600:: @ 080CF600 - .incbin "baserom.gba", 0x0CF600, 0x0000018 - -gUnk_080CF618:: @ 080CF618 - .incbin "baserom.gba", 0x0CF618, 0x0000014 - -gUnk_080CF62C:: @ 080CF62C - .incbin "baserom.gba", 0x0CF62C, 0x0000008 - -gUnk_080CF634:: @ 080CF634 - .incbin "baserom.gba", 0x0CF634, 0x0000008 - -gUnk_080CF63C:: @ 080CF63C - .incbin "baserom.gba", 0x0CF63C, 0x0000008 - -gUnk_080CF644:: @ 080CF644 - .incbin "baserom.gba", 0x0CF644, 0x0000005 - -gUnk_080CF649:: @ 080CF649 - .incbin "baserom.gba", 0x0CF649, 0x0000005 - -gUnk_080CF64E:: @ 080CF64E - .incbin "baserom.gba", 0x0CF64E, 0x0000005 - -gUnk_080CF653:: @ 080CF653 - .incbin "baserom.gba", 0x0CF653, 0x0000005 - -gUnk_080CF658:: @ 080CF658 - .incbin "baserom.gba", 0x0CF658, 0x0000011 - -gUnk_080CF669:: @ 080CF669 - .incbin "baserom.gba", 0x0CF669, 0x0000011 - -gUnk_080CF67A:: @ 080CF67A - .incbin "baserom.gba", 0x0CF67A, 0x0000011 - -gUnk_080CF68B:: @ 080CF68B - .incbin "baserom.gba", 0x0CF68B, 0x0000011 - -gUnk_080CF69C:: @ 080CF69C - .incbin "baserom.gba", 0x0CF69C, 0x0000005 - -gUnk_080CF6A1:: @ 080CF6A1 - .incbin "baserom.gba", 0x0CF6A1, 0x0000005 - -gUnk_080CF6A6:: @ 080CF6A6 - .incbin "baserom.gba", 0x0CF6A6, 0x0000005 - -gUnk_080CF6AB:: @ 080CF6AB - .incbin "baserom.gba", 0x0CF6AB, 0x0000005 - -gUnk_080CF6B0:: @ 080CF6B0 - .incbin "baserom.gba", 0x0CF6B0, 0x0000011 - -gUnk_080CF6C1:: @ 080CF6C1 - .incbin "baserom.gba", 0x0CF6C1, 0x0000011 - -gUnk_080CF6D2:: @ 080CF6D2 - .incbin "baserom.gba", 0x0CF6D2, 0x0000011 - -gUnk_080CF6E3:: @ 080CF6E3 - .incbin "baserom.gba", 0x0CF6E3, 0x0000011 - -gUnk_080CF6F4:: @ 080CF6F4 - .incbin "baserom.gba", 0x0CF6F4, 0x000000C - -gUnk_080CF700:: @ 080CF700 - .incbin "baserom.gba", 0x0CF700, 0x000000C - -gUnk_080CF70C:: @ 080CF70C - .incbin "baserom.gba", 0x0CF70C, 0x000000C - -gUnk_080CF718:: @ 080CF718 - .incbin "baserom.gba", 0x0CF718, 0x000000C - -gUnk_080CF724:: @ 080CF724 - .incbin "baserom.gba", 0x0CF724, 0x0000054 - -gUnk_080CF778:: @ 080CF778 - .incbin "baserom.gba", 0x0CF778, 0x0000018 - -gUnk_080CF790:: @ 080CF790 - .incbin "baserom.gba", 0x0CF790, 0x000001C - -gUnk_080CF7AC:: @ 080CF7AC - .incbin "baserom.gba", 0x0CF7AC, 0x0000010 - -gUnk_080CF7BC:: @ 080CF7BC - .incbin "baserom.gba", 0x0CF7BC, 0x0000002 - -gUnk_080CF7BE:: @ 080CF7BE - .incbin "baserom.gba", 0x0CF7BE, 0x0000004 - -gUnk_080CF7C2:: @ 080CF7C2 - .incbin "baserom.gba", 0x0CF7C2, 0x0000002 - -gUnk_080CF7C4:: @ 080CF7C4 - .incbin "baserom.gba", 0x0CF7C4, 0x0000037 - -gUnk_080CF7FB:: @ 080CF7FB - .incbin "baserom.gba", 0x0CF7FB, 0x0000018 - -gUnk_080CF813:: @ 080CF813 - .incbin "baserom.gba", 0x0CF813, 0x0000011 - -gUnk_080CF824:: @ 080CF824 - .incbin "baserom.gba", 0x0CF824, 0x0000004 - -gUnk_080CF828:: @ 080CF828 - .incbin "baserom.gba", 0x0CF828, 0x0000004 - -gUnk_080CF82C:: @ 080CF82C - .incbin "baserom.gba", 0x0CF82C, 0x0000002 - -gUnk_080CF82E:: @ 080CF82E - .incbin "baserom.gba", 0x0CF82E, 0x0000003 - -gUnk_080CF831:: @ 080CF831 - .incbin "baserom.gba", 0x0CF831, 0x0000005 - -gUnk_080CF836:: @ 080CF836 - .incbin "baserom.gba", 0x0CF836, 0x0000011 - -gUnk_080CF847:: @ 080CF847 - .incbin "baserom.gba", 0x0CF847, 0x0000018 - -gUnk_080CF85F:: @ 080CF85F - .incbin "baserom.gba", 0x0CF85F, 0x0000020 - -gUnk_080CF87F:: @ 080CF87F - .incbin "baserom.gba", 0x0CF87F, 0x0000011 - -gUnk_080CF890:: @ 080CF890 - .incbin "baserom.gba", 0x0CF890, 0x0000014 - -gUnk_080CF8A4:: @ 080CF8A4 - .incbin "baserom.gba", 0x0CF8A4, 0x0000018 - -gUnk_080CF8BC:: @ 080CF8BC - .incbin "baserom.gba", 0x0CF8BC, 0x0000030 - -gUnk_080CF8EC:: @ 080CF8EC - .incbin "baserom.gba", 0x0CF8EC, 0x000000C - -gUnk_080CF8F8:: @ 080CF8F8 - .incbin "baserom.gba", 0x0CF8F8, 0x0000008 - -gUnk_080CF900:: @ 080CF900 - .incbin "baserom.gba", 0x0CF900, 0x0000010 - -gUnk_080CF910:: @ 080CF910 - .incbin "baserom.gba", 0x0CF910, 0x0000008 - -gUnk_080CF918:: @ 080CF918 - .incbin "baserom.gba", 0x0CF918, 0x0000010 - -gUnk_080CF928:: @ 080CF928 - .incbin "baserom.gba", 0x0CF928, 0x0000004 - -gUnk_080CF92C:: @ 080CF92C - .incbin "baserom.gba", 0x0CF92C, 0x0000004 - -gUnk_080CF930:: @ 080CF930 - .incbin "baserom.gba", 0x0CF930, 0x0000008 - -gUnk_080CF938:: @ 080CF938 - .incbin "baserom.gba", 0x0CF938, 0x000000A - -gUnk_080CF942:: @ 080CF942 - .incbin "baserom.gba", 0x0CF942, 0x0000004 - -gUnk_080CF946:: @ 080CF946 - .incbin "baserom.gba", 0x0CF946, 0x0000004 - -gUnk_080CF94A:: @ 080CF94A - .incbin "baserom.gba", 0x0CF94A, 0x0000004 - -gUnk_080CF94E:: @ 080CF94E - .incbin "baserom.gba", 0x0CF94E, 0x0000004 - -gUnk_080CF952:: @ 080CF952 - .incbin "baserom.gba", 0x0CF952, 0x0000019 - -gUnk_080CF96B:: @ 080CF96B - .incbin "baserom.gba", 0x0CF96B, 0x0000019 - -gUnk_080CF984:: @ 080CF984 - .incbin "baserom.gba", 0x0CF984, 0x0000019 - -gUnk_080CF99D:: @ 080CF99D - .incbin "baserom.gba", 0x0CF99D, 0x0000019 - -gUnk_080CF9B6:: @ 080CF9B6 - .incbin "baserom.gba", 0x0CF9B6, 0x0000004 - -gUnk_080CF9BA:: @ 080CF9BA - .incbin "baserom.gba", 0x0CF9BA, 0x0000004 - -gUnk_080CF9BE:: @ 080CF9BE - .incbin "baserom.gba", 0x0CF9BE, 0x0000004 - -gUnk_080CF9C2:: @ 080CF9C2 - .incbin "baserom.gba", 0x0CF9C2, 0x0000004 - -gUnk_080CF9C6:: @ 080CF9C6 - .incbin "baserom.gba", 0x0CF9C6, 0x0000011 - -gUnk_080CF9D7:: @ 080CF9D7 - .incbin "baserom.gba", 0x0CF9D7, 0x0000011 - -gUnk_080CF9E8:: @ 080CF9E8 - .incbin "baserom.gba", 0x0CF9E8, 0x000000B - -gUnk_080CF9F3:: @ 080CF9F3 - .incbin "baserom.gba", 0x0CF9F3, 0x0000004 - -gUnk_080CF9F7:: @ 080CF9F7 - .incbin "baserom.gba", 0x0CF9F7, 0x0000002 - -gUnk_080CF9F9:: @ 080CF9F9 - .incbin "baserom.gba", 0x0CF9F9, 0x0000011 - -gUnk_080CFA0A:: @ 080CFA0A - .incbin "baserom.gba", 0x0CFA0A, 0x0000004 - -gUnk_080CFA0E:: @ 080CFA0E - .incbin "baserom.gba", 0x0CFA0E, 0x0000004 - -gUnk_080CFA12:: @ 080CFA12 - .incbin "baserom.gba", 0x0CFA12, 0x0000004 - -gUnk_080CFA16:: @ 080CFA16 - .incbin "baserom.gba", 0x0CFA16, 0x0000004 - -gUnk_080CFA1A:: @ 080CFA1A - .incbin "baserom.gba", 0x0CFA1A, 0x0000019 - -gUnk_080CFA33:: @ 080CFA33 - .incbin "baserom.gba", 0x0CFA33, 0x0000019 - -gUnk_080CFA4C:: @ 080CFA4C - .incbin "baserom.gba", 0x0CFA4C, 0x0000019 - -gUnk_080CFA65:: @ 080CFA65 - .incbin "baserom.gba", 0x0CFA65, 0x0000019 - -gUnk_080CFA7E:: @ 080CFA7E - .incbin "baserom.gba", 0x0CFA7E, 0x0000014 - -gUnk_080CFA92:: @ 080CFA92 - .incbin "baserom.gba", 0x0CFA92, 0x0000014 - -gUnk_080CFAA6:: @ 080CFAA6 - .incbin "baserom.gba", 0x0CFAA6, 0x0000014 - -gUnk_080CFABA:: @ 080CFABA - .incbin "baserom.gba", 0x0CFABA, 0x0000014 - -gUnk_080CFACE:: @ 080CFACE - .incbin "baserom.gba", 0x0CFACE, 0x0000004 - -gUnk_080CFAD2:: @ 080CFAD2 - .incbin "baserom.gba", 0x0CFAD2, 0x0000004 - -gUnk_080CFAD6:: @ 080CFAD6 - .incbin "baserom.gba", 0x0CFAD6, 0x0000004 - -gUnk_080CFADA:: @ 080CFADA - .incbin "baserom.gba", 0x0CFADA, 0x0000004 - -gUnk_080CFADE:: @ 080CFADE - .incbin "baserom.gba", 0x0CFADE, 0x0000004 - -gUnk_080CFAE2:: @ 080CFAE2 - .incbin "baserom.gba", 0x0CFAE2, 0x0000004 - -gUnk_080CFAE6:: @ 080CFAE6 - .incbin "baserom.gba", 0x0CFAE6, 0x0000004 - -gUnk_080CFAEA:: @ 080CFAEA - .incbin "baserom.gba", 0x0CFAEA, 0x0000006 - -gUnk_080CFAF0:: @ 080CFAF0 - .incbin "baserom.gba", 0x0CFAF0, 0x0000003 - -gUnk_080CFAF3:: @ 080CFAF3 - .incbin "baserom.gba", 0x0CFAF3, 0x0000091 - -gUnk_080CFB84:: @ 080CFB84 - .incbin "baserom.gba", 0x0CFB84, 0x0000018 - -gUnk_080CFB9C:: @ 080CFB9C - .incbin "baserom.gba", 0x0CFB9C, 0x0000020 - -gUnk_080CFBBC:: @ 080CFBBC - .incbin "baserom.gba", 0x0CFBBC, 0x0000018 - -gUnk_080CFBD4:: @ 080CFBD4 - .incbin "baserom.gba", 0x0CFBD4, 0x0000010 - -gUnk_080CFBE4:: @ 080CFBE4 - .incbin "baserom.gba", 0x0CFBE4, 0x0000004 - -gUnk_080CFBE8:: @ 080CFBE8 - .incbin "baserom.gba", 0x0CFBE8, 0x0000024 - -gUnk_080CFC0C:: @ 080CFC0C - .incbin "baserom.gba", 0x0CFC0C, 0x0000008 - -gUnk_080CFC14:: @ 080CFC14 - .incbin "baserom.gba", 0x0CFC14, 0x0000018 - -gUnk_080CFC2C:: @ 080CFC2C - .incbin "baserom.gba", 0x0CFC2C, 0x0000010 - -gUnk_080CFC3C:: @ 080CFC3C - .incbin "baserom.gba", 0x0CFC3C, 0x00000BB - -gUnk_080CFCF7:: @ 080CFCF7 - .incbin "baserom.gba", 0x0CFCF7, 0x0000011 - -gUnk_080CFD08:: @ 080CFD08 - .incbin "baserom.gba", 0x0CFD08, 0x0000002 - -gUnk_080CFD0A:: @ 080CFD0A - .incbin "baserom.gba", 0x0CFD0A, 0x0000002 - -gUnk_080CFD0C:: @ 080CFD0C - .incbin "baserom.gba", 0x0CFD0C, 0x000000D - -gUnk_080CFD19:: @ 080CFD19 - .incbin "baserom.gba", 0x0CFD19, 0x0000002 - -gUnk_080CFD1B:: @ 080CFD1B - .incbin "baserom.gba", 0x0CFD1B, 0x0000002 - -gUnk_080CFD1D:: @ 080CFD1D - .incbin "baserom.gba", 0x0CFD1D, 0x0000003 - -gUnk_080CFD20:: @ 080CFD20 - .incbin "baserom.gba", 0x0CFD20, 0x0000010 - -gUnk_080CFD30:: @ 080CFD30 - .incbin "baserom.gba", 0x0CFD30, 0x0000014 - -gUnk_080CFD44:: @ 080CFD44 - .incbin "baserom.gba", 0x0CFD44, 0x0000014 - -gUnk_080CFD58:: @ 080CFD58 - .incbin "baserom.gba", 0x0CFD58, 0x0000004 - -gUnk_080CFD5C:: @ 080CFD5C - .incbin "baserom.gba", 0x0CFD5C, 0x0000004 - -gUnk_080CFD60:: @ 080CFD60 - .incbin "baserom.gba", 0x0CFD60, 0x0000011 - -gUnk_080CFD71:: @ 080CFD71 - .incbin "baserom.gba", 0x0CFD71, 0x0000011 - -gUnk_080CFD82:: @ 080CFD82 - .incbin "baserom.gba", 0x0CFD82, 0x0000054 - -gUnk_080CFDD6:: @ 080CFDD6 - .incbin "baserom.gba", 0x0CFDD6, 0x0000013 - -gUnk_080CFDE9:: @ 080CFDE9 - .incbin "baserom.gba", 0x0CFDE9, 0x0000041 - -gUnk_080CFE2A:: @ 080CFE2A - .incbin "baserom.gba", 0x0CFE2A, 0x000000D - -gUnk_080CFE37:: @ 080CFE37 - .incbin "baserom.gba", 0x0CFE37, 0x000000D - -gUnk_080CFE44:: @ 080CFE44 - .incbin "baserom.gba", 0x0CFE44, 0x0000008 - -gUnk_080CFE4C:: @ 080CFE4C - .incbin "baserom.gba", 0x0CFE4C, 0x0000008 - -gUnk_080CFE54:: @ 080CFE54 - .incbin "baserom.gba", 0x0CFE54, 0x0000004 - -gUnk_080CFE58:: @ 080CFE58 - .incbin "baserom.gba", 0x0CFE58, 0x0000004 - -gUnk_080CFE5C:: @ 080CFE5C - .incbin "baserom.gba", 0x0CFE5C, 0x0000004 - -gUnk_080CFE60:: @ 080CFE60 - .incbin "baserom.gba", 0x0CFE60, 0x0000011 - -gUnk_080CFE71:: @ 080CFE71 - .incbin "baserom.gba", 0x0CFE71, 0x0000005 - -gUnk_080CFE76:: @ 080CFE76 - .incbin "baserom.gba", 0x0CFE76, 0x0000005 - -gUnk_080CFE7B:: @ 080CFE7B - .incbin "baserom.gba", 0x0CFE7B, 0x0000005 - -gUnk_080CFE80:: @ 080CFE80 - .incbin "baserom.gba", 0x0CFE80, 0x0000005 - -gUnk_080CFE85:: @ 080CFE85 - .incbin "baserom.gba", 0x0CFE85, 0x0000005 - -gUnk_080CFE8A:: @ 080CFE8A - .incbin "baserom.gba", 0x0CFE8A, 0x0000005 - -gUnk_080CFE8F:: @ 080CFE8F - .incbin "baserom.gba", 0x0CFE8F, 0x0000005 - -gUnk_080CFE94:: @ 080CFE94 - .incbin "baserom.gba", 0x0CFE94, 0x0000005 - -gUnk_080CFE99:: @ 080CFE99 - .incbin "baserom.gba", 0x0CFE99, 0x0000005 - -gUnk_080CFE9E:: @ 080CFE9E - .incbin "baserom.gba", 0x0CFE9E, 0x0000005 - -gUnk_080CFEA3:: @ 080CFEA3 - .incbin "baserom.gba", 0x0CFEA3, 0x000000D - -gUnk_080CFEB0:: @ 080CFEB0 - .incbin "baserom.gba", 0x0CFEB0, 0x0000011 - -gUnk_080CFEC1:: @ 080CFEC1 - .incbin "baserom.gba", 0x0CFEC1, 0x0000013 - -gUnk_080CFED4:: @ 080CFED4 - .incbin "baserom.gba", 0x0CFED4, 0x0000028 - -gUnk_080CFEFC:: @ 080CFEFC - .incbin "baserom.gba", 0x0CFEFC, 0x0000040 - -gUnk_080CFF3C:: @ 080CFF3C - .incbin "baserom.gba", 0x0CFF3C, 0x0000018 - -gUnk_080CFF54:: @ 080CFF54 - .incbin "baserom.gba", 0x0CFF54, 0x0000018 - -gUnk_080CFF6C:: @ 080CFF6C - .incbin "baserom.gba", 0x0CFF6C, 0x000000C - -gUnk_080CFF78:: @ 080CFF78 - .incbin "baserom.gba", 0x0CFF78, 0x0000018 - -gUnk_080CFF90:: @ 080CFF90 - .incbin "baserom.gba", 0x0CFF90, 0x0000014 - -gUnk_080CFFA4:: @ 080CFFA4 - .incbin "baserom.gba", 0x0CFFA4, 0x0000008 - -gUnk_080CFFAC:: @ 080CFFAC - .incbin "baserom.gba", 0x0CFFAC, 0x0000010 - -gUnk_080CFFBC:: @ 080CFFBC - .incbin "baserom.gba", 0x0CFFBC, 0x0000008 - -gUnk_080CFFC4:: @ 080CFFC4 - .incbin "baserom.gba", 0x0CFFC4, 0x0000008 - -gUnk_080CFFCC:: @ 080CFFCC - .incbin "baserom.gba", 0x0CFFCC, 0x0000009 - -gUnk_080CFFD5:: @ 080CFFD5 - .incbin "baserom.gba", 0x0CFFD5, 0x0000009 - -gUnk_080CFFDE:: @ 080CFFDE - .incbin "baserom.gba", 0x0CFFDE, 0x0000009 - -gUnk_080CFFE7:: @ 080CFFE7 - .incbin "baserom.gba", 0x0CFFE7, 0x0000009 - -gUnk_080CFFF0:: @ 080CFFF0 - .incbin "baserom.gba", 0x0CFFF0, 0x0000011 - -gUnk_080D0001:: @ 080D0001 - .incbin "baserom.gba", 0x0D0001, 0x0000004 - -gUnk_080D0005:: @ 080D0005 - .incbin "baserom.gba", 0x0D0005, 0x0000003 - -gUnk_080D0008:: @ 080D0008 - .incbin "baserom.gba", 0x0D0008, 0x0000001 - -gUnk_080D0009:: @ 080D0009 - .incbin "baserom.gba", 0x0D0009, 0x0000003 - -gUnk_080D000C:: @ 080D000C - .incbin "baserom.gba", 0x0D000C, 0x0000006 - -gUnk_080D0012:: @ 080D0012 - .incbin "baserom.gba", 0x0D0012, 0x0000011 - -gUnk_080D0023:: @ 080D0023 - .incbin "baserom.gba", 0x0D0023, 0x0000009 - -gUnk_080D002C:: @ 080D002C - .incbin "baserom.gba", 0x0D002C, 0x0000008 - -gUnk_080D0034:: @ 080D0034 - .incbin "baserom.gba", 0x0D0034, 0x0000011 - -gUnk_080D0045:: @ 080D0045 - .incbin "baserom.gba", 0x0D0045, 0x0000011 - -gUnk_080D0056:: @ 080D0056 - .incbin "baserom.gba", 0x0D0056, 0x0000011 - -gUnk_080D0067:: @ 080D0067 - .incbin "baserom.gba", 0x0D0067, 0x0000011 - -gUnk_080D0078:: @ 080D0078 - .incbin "baserom.gba", 0x0D0078, 0x0000015 - -gUnk_080D008D:: @ 080D008D - .incbin "baserom.gba", 0x0D008D, 0x0000015 - -gUnk_080D00A2:: @ 080D00A2 - .incbin "baserom.gba", 0x0D00A2, 0x0000015 - -gUnk_080D00B7:: @ 080D00B7 - .incbin "baserom.gba", 0x0D00B7, 0x0000015 - -gUnk_080D00CC:: @ 080D00CC - .incbin "baserom.gba", 0x0D00CC, 0x0000008 - -gUnk_080D00D4:: @ 080D00D4 - .incbin "baserom.gba", 0x0D00D4, 0x000002C - -gUnk_080D0100:: @ 080D0100 - .incbin "baserom.gba", 0x0D0100, 0x0000010 - -gUnk_080D0110:: @ 080D0110 - .incbin "baserom.gba", 0x0D0110, 0x0000018 - -gUnk_080D0128:: @ 080D0128 - .incbin "baserom.gba", 0x0D0128, 0x0000020 - -gUnk_080D0148:: @ 080D0148 - .incbin "baserom.gba", 0x0D0148, 0x000000C - -gUnk_080D0154:: @ 080D0154 - .incbin "baserom.gba", 0x0D0154, 0x0000008 - -gUnk_080D015C:: @ 080D015C - .incbin "baserom.gba", 0x0D015C, 0x0000011 - -gUnk_080D016D:: @ 080D016D - .incbin "baserom.gba", 0x0D016D, 0x0000011 - -gUnk_080D017E:: @ 080D017E - .incbin "baserom.gba", 0x0D017E, 0x0000011 - -gUnk_080D018F:: @ 080D018F - .incbin "baserom.gba", 0x0D018F, 0x0000011 - -gUnk_080D01A0:: @ 080D01A0 - .incbin "baserom.gba", 0x0D01A0, 0x0000011 - -gUnk_080D01B1:: @ 080D01B1 - .incbin "baserom.gba", 0x0D01B1, 0x0000011 - -gUnk_080D01C2:: @ 080D01C2 - .incbin "baserom.gba", 0x0D01C2, 0x0000011 - -gUnk_080D01D3:: @ 080D01D3 - .incbin "baserom.gba", 0x0D01D3, 0x0000011 - -gUnk_080D01E4:: @ 080D01E4 - .incbin "baserom.gba", 0x0D01E4, 0x000000B - -gUnk_080D01EF:: @ 080D01EF - .incbin "baserom.gba", 0x0D01EF, 0x000001D - -gUnk_080D020C:: @ 080D020C - .incbin "baserom.gba", 0x0D020C, 0x0000004 - -gUnk_080D0210:: @ 080D0210 - .incbin "baserom.gba", 0x0D0210, 0x0000001 - -gUnk_080D0211:: @ 080D0211 - .incbin "baserom.gba", 0x0D0211, 0x0000014 - -gUnk_080D0225:: @ 080D0225 - .incbin "baserom.gba", 0x0D0225, 0x0000041 - -gUnk_080D0266:: @ 080D0266 - .incbin "baserom.gba", 0x0D0266, 0x0000041 - -gUnk_080D02A7:: @ 080D02A7 - .incbin "baserom.gba", 0x0D02A7, 0x0000041 - -gUnk_080D02E8:: @ 080D02E8 - .incbin "baserom.gba", 0x0D02E8, 0x000000B - -gUnk_080D02F3:: @ 080D02F3 - .incbin "baserom.gba", 0x0D02F3, 0x0000003 - -gUnk_080D02F6:: @ 080D02F6 - .incbin "baserom.gba", 0x0D02F6, 0x0000001 - -gUnk_080D02F7:: @ 080D02F7 - .incbin "baserom.gba", 0x0D02F7, 0x0000002 - -gUnk_080D02F9:: @ 080D02F9 - .incbin "baserom.gba", 0x0D02F9, 0x0000003 - -gUnk_080D02FC:: @ 080D02FC - .incbin "baserom.gba", 0x0D02FC, 0x0000004 - -gUnk_080D0300:: @ 080D0300 - .incbin "baserom.gba", 0x0D0300, 0x000000A - -gUnk_080D030A:: @ 080D030A - .incbin "baserom.gba", 0x0D030A, 0x0000011 - -gUnk_080D031B:: @ 080D031B - .incbin "baserom.gba", 0x0D031B, 0x0000011 - -gUnk_080D032C:: @ 080D032C - .incbin "baserom.gba", 0x0D032C, 0x0000011 - -gUnk_080D033D:: @ 080D033D - .incbin "baserom.gba", 0x0D033D, 0x0000011 - -gUnk_080D034E:: @ 080D034E - .incbin "baserom.gba", 0x0D034E, 0x0000011 - -gUnk_080D035F:: @ 080D035F - .incbin "baserom.gba", 0x0D035F, 0x0000011 - -gUnk_080D0370:: @ 080D0370 - .incbin "baserom.gba", 0x0D0370, 0x0000011 - -gUnk_080D0381:: @ 080D0381 - .incbin "baserom.gba", 0x0D0381, 0x0000011 - -gUnk_080D0392:: @ 080D0392 - .incbin "baserom.gba", 0x0D0392, 0x0000011 - -gUnk_080D03A3:: @ 080D03A3 - .incbin "baserom.gba", 0x0D03A3, 0x0000011 - -gUnk_080D03B4:: @ 080D03B4 - .incbin "baserom.gba", 0x0D03B4, 0x000003C - -gUnk_080D03F0:: @ 080D03F0 - .incbin "baserom.gba", 0x0D03F0, 0x0000014 - -gUnk_080D0404:: @ 080D0404 - .incbin "baserom.gba", 0x0D0404, 0x0000014 - -gUnk_080D0418:: @ 080D0418 - .incbin "baserom.gba", 0x0D0418, 0x0000018 - -gUnk_080D0430:: @ 080D0430 - .incbin "baserom.gba", 0x0D0430, 0x000000C - -gUnk_080D043C:: @ 080D043C - .incbin "baserom.gba", 0x0D043C, 0x000000C - -gUnk_080D0448:: @ 080D0448 - .incbin "baserom.gba", 0x0D0448, 0x0000010 - -gUnk_080D0458:: @ 080D0458 - .incbin "baserom.gba", 0x0D0458, 0x0000010 - -gUnk_080D0468:: @ 080D0468 - .incbin "baserom.gba", 0x0D0468, 0x0000008 - -gUnk_080D0470:: @ 080D0470 - .incbin "baserom.gba", 0x0D0470, 0x0000020 - -gUnk_080D0490:: @ 080D0490 - .incbin "baserom.gba", 0x0D0490, 0x0000008 - -gUnk_080D0498:: @ 080D0498 - .incbin "baserom.gba", 0x0D0498, 0x0000008 - -gUnk_080D04A0:: @ 080D04A0 - .incbin "baserom.gba", 0x0D04A0, 0x0000008 - -gUnk_080D04A8:: @ 080D04A8 - .incbin "baserom.gba", 0x0D04A8, 0x0000004 - -gUnk_080D04AC:: @ 080D04AC - .incbin "baserom.gba", 0x0D04AC, 0x0000014 - -gUnk_080D04C0:: @ 080D04C0 - .incbin "baserom.gba", 0x0D04C0, 0x0000008 - -gUnk_080D04C8:: @ 080D04C8 - .incbin "baserom.gba", 0x0D04C8, 0x0000008 - -gUnk_080D04D0:: @ 080D04D0 - .incbin "baserom.gba", 0x0D04D0, 0x0000003 - -gUnk_080D04D3:: @ 080D04D3 - .incbin "baserom.gba", 0x0D04D3, 0x0000004 - -gUnk_080D04D7:: @ 080D04D7 - .incbin "baserom.gba", 0x0D04D7, 0x0000011 - -gUnk_080D04E8:: @ 080D04E8 - .incbin "baserom.gba", 0x0D04E8, 0x0000011 - -gUnk_080D04F9:: @ 080D04F9 - .incbin "baserom.gba", 0x0D04F9, 0x0000005 - -gUnk_080D04FE:: @ 080D04FE - .incbin "baserom.gba", 0x0D04FE, 0x0000003 - -gUnk_080D0501:: @ 080D0501 - .incbin "baserom.gba", 0x0D0501, 0x0000001 - -gUnk_080D0502:: @ 080D0502 - .incbin "baserom.gba", 0x0D0502, 0x0000006 - -gUnk_080D0508:: @ 080D0508 - .incbin "baserom.gba", 0x0D0508, 0x0000005 - -gUnk_080D050D:: @ 080D050D - .incbin "baserom.gba", 0x0D050D, 0x0000024 - -gUnk_080D0531:: @ 080D0531 - .incbin "baserom.gba", 0x0D0531, 0x0000027 - -gUnk_080D0558:: @ 080D0558 - .incbin "baserom.gba", 0x0D0558, 0x0000018 - -gUnk_080D0570:: @ 080D0570 - .incbin "baserom.gba", 0x0D0570, 0x0000005 - -gUnk_080D0575:: @ 080D0575 - .incbin "baserom.gba", 0x0D0575, 0x0000010 - -gUnk_080D0585:: @ 080D0585 - .incbin "baserom.gba", 0x0D0585, 0x0000007 - -gUnk_080D058C:: @ 080D058C - .incbin "baserom.gba", 0x0D058C, 0x0000010 - -gUnk_080D059C:: @ 080D059C - .incbin "baserom.gba", 0x0D059C, 0x0000011 - -gUnk_080D05AD:: @ 080D05AD - .incbin "baserom.gba", 0x0D05AD, 0x0000011 - -gUnk_080D05BE:: @ 080D05BE - .incbin "baserom.gba", 0x0D05BE, 0x0000011 - -gUnk_080D05CF:: @ 080D05CF - .incbin "baserom.gba", 0x0D05CF, 0x0000011 - -gUnk_080D05E0:: @ 080D05E0 - .incbin "baserom.gba", 0x0D05E0, 0x0000014 - -gUnk_080D05F4:: @ 080D05F4 - .incbin "baserom.gba", 0x0D05F4, 0x0000006 - -gUnk_080D05FA:: @ 080D05FA - .incbin "baserom.gba", 0x0D05FA, 0x0000002 - -gUnk_080D05FC:: @ 080D05FC - .incbin "baserom.gba", 0x0D05FC, 0x0000001 - -gUnk_080D05FD:: @ 080D05FD - .incbin "baserom.gba", 0x0D05FD, 0x0000001 - -gUnk_080D05FE:: @ 080D05FE - .incbin "baserom.gba", 0x0D05FE, 0x0000007 - -gUnk_080D0605:: @ 080D0605 - .incbin "baserom.gba", 0x0D0605, 0x0000003 - -gUnk_080D0608:: @ 080D0608 - .incbin "baserom.gba", 0x0D0608, 0x0000001 - -gUnk_080D0609:: @ 080D0609 - .incbin "baserom.gba", 0x0D0609, 0x0000015 - -gUnk_080D061E:: @ 080D061E - .incbin "baserom.gba", 0x0D061E, 0x0000016 - -gUnk_080D0634:: @ 080D0634 - .incbin "baserom.gba", 0x0D0634, 0x0000014 - -gUnk_080D0648:: @ 080D0648 - .incbin "baserom.gba", 0x0D0648, 0x0000018 - -gUnk_080D0660:: @ 080D0660 - .incbin "baserom.gba", 0x0D0660, 0x0000028 - -gUnk_080D0688:: @ 080D0688 - .incbin "baserom.gba", 0x0D0688, 0x0000019 - -gUnk_080D06A1:: @ 080D06A1 - .incbin "baserom.gba", 0x0D06A1, 0x0000011 - -gUnk_080D06B2:: @ 080D06B2 - .incbin "baserom.gba", 0x0D06B2, 0x000001E - -gUnk_080D06D0:: @ 080D06D0 - .incbin "baserom.gba", 0x0D06D0, 0x0000010 - -gUnk_080D06E0:: @ 080D06E0 - .incbin "baserom.gba", 0x0D06E0, 0x0000008 - -gUnk_080D06E8:: @ 080D06E8 - .incbin "baserom.gba", 0x0D06E8, 0x0000010 - -gUnk_080D06F8:: @ 080D06F8 - .incbin "baserom.gba", 0x0D06F8, 0x0000004 - -gUnk_080D06FC:: @ 080D06FC - .incbin "baserom.gba", 0x0D06FC, 0x0000002 - -gUnk_080D06FE:: @ 080D06FE - .incbin "baserom.gba", 0x0D06FE, 0x0000002 - -gUnk_080D0700:: @ 080D0700 - .incbin "baserom.gba", 0x0D0700, 0x0000001 - -gUnk_080D0701:: @ 080D0701 - .incbin "baserom.gba", 0x0D0701, 0x0000023 - -gUnk_080D0724:: @ 080D0724 - .incbin "baserom.gba", 0x0D0724, 0x0000004 - -gUnk_080D0728:: @ 080D0728 - .incbin "baserom.gba", 0x0D0728, 0x0000008 - -gUnk_080D0730:: @ 080D0730 - .incbin "baserom.gba", 0x0D0730, 0x0000008 - -gUnk_080D0738:: @ 080D0738 - .incbin "baserom.gba", 0x0D0738, 0x0000004 - -gUnk_080D073C:: @ 080D073C - .incbin "baserom.gba", 0x0D073C, 0x0000004 - -gUnk_080D0740:: @ 080D0740 - .incbin "baserom.gba", 0x0D0740, 0x0000004 - -gUnk_080D0744:: @ 080D0744 - .incbin "baserom.gba", 0x0D0744, 0x0000004 - -gUnk_080D0748:: @ 080D0748 - .incbin "baserom.gba", 0x0D0748, 0x0000004 - -gUnk_080D074C:: @ 080D074C - .incbin "baserom.gba", 0x0D074C, 0x0000004 - -gUnk_080D0750:: @ 080D0750 - .incbin "baserom.gba", 0x0D0750, 0x0000004 - -gUnk_080D0754:: @ 080D0754 - .incbin "baserom.gba", 0x0D0754, 0x0000004 - -gUnk_080D0758:: @ 080D0758 - .incbin "baserom.gba", 0x0D0758, 0x0000004 - -gUnk_080D075C:: @ 080D075C - .incbin "baserom.gba", 0x0D075C, 0x0000004 - -gUnk_080D0760:: @ 080D0760 - .incbin "baserom.gba", 0x0D0760, 0x0000004 - -gUnk_080D0764:: @ 080D0764 - .incbin "baserom.gba", 0x0D0764, 0x0000004 - -gUnk_080D0768:: @ 080D0768 - .incbin "baserom.gba", 0x0D0768, 0x0000004 - -gUnk_080D076C:: @ 080D076C - .incbin "baserom.gba", 0x0D076C, 0x0000004 - -gUnk_080D0770:: @ 080D0770 - .incbin "baserom.gba", 0x0D0770, 0x0000004 - -gUnk_080D0774:: @ 080D0774 - .incbin "baserom.gba", 0x0D0774, 0x0000004 - -gUnk_080D0778:: @ 080D0778 - .incbin "baserom.gba", 0x0D0778, 0x0000004 - -gUnk_080D077C:: @ 080D077C - .incbin "baserom.gba", 0x0D077C, 0x0000004 - -gUnk_080D0780:: @ 080D0780 - .incbin "baserom.gba", 0x0D0780, 0x0000004 - -gUnk_080D0784:: @ 080D0784 - .incbin "baserom.gba", 0x0D0784, 0x0000004 - -gUnk_080D0788:: @ 080D0788 - .incbin "baserom.gba", 0x0D0788, 0x0000004 - -gUnk_080D078C:: @ 080D078C - .incbin "baserom.gba", 0x0D078C, 0x0000004 - -gUnk_080D0790:: @ 080D0790 - .incbin "baserom.gba", 0x0D0790, 0x0000004 - -gUnk_080D0794:: @ 080D0794 - .incbin "baserom.gba", 0x0D0794, 0x0000004 - -gUnk_080D0798:: @ 080D0798 - .incbin "baserom.gba", 0x0D0798, 0x0000004 - -gUnk_080D079C:: @ 080D079C - .incbin "baserom.gba", 0x0D079C, 0x0000004 - -gUnk_080D07A0:: @ 080D07A0 - .incbin "baserom.gba", 0x0D07A0, 0x0000004 - -gUnk_080D07A4:: @ 080D07A4 - .incbin "baserom.gba", 0x0D07A4, 0x0000004 - -gUnk_080D07A8:: @ 080D07A8 - .incbin "baserom.gba", 0x0D07A8, 0x0000004 - -gUnk_080D07AC:: @ 080D07AC - .incbin "baserom.gba", 0x0D07AC, 0x0000004 - -gUnk_080D07B0:: @ 080D07B0 - .incbin "baserom.gba", 0x0D07B0, 0x0000004 - -gUnk_080D07B4:: @ 080D07B4 - .incbin "baserom.gba", 0x0D07B4, 0x0000004 - -gUnk_080D07B8:: @ 080D07B8 - .incbin "baserom.gba", 0x0D07B8, 0x000000D - -gUnk_080D07C5:: @ 080D07C5 - .incbin "baserom.gba", 0x0D07C5, 0x000000D - -gUnk_080D07D2:: @ 080D07D2 - .incbin "baserom.gba", 0x0D07D2, 0x000000D - -gUnk_080D07DF:: @ 080D07DF - .incbin "baserom.gba", 0x0D07DF, 0x000000D - -gUnk_080D07EC:: @ 080D07EC - .incbin "baserom.gba", 0x0D07EC, 0x0000010 - -gUnk_080D07FC:: @ 080D07FC - .incbin "baserom.gba", 0x0D07FC, 0x0000001 - -gUnk_080D07FD:: @ 080D07FD - .incbin "baserom.gba", 0x0D07FD, 0x0000002 - -gUnk_080D07FF:: @ 080D07FF - .incbin "baserom.gba", 0x0D07FF, 0x0000001 - -gUnk_080D0800:: @ 080D0800 - .incbin "baserom.gba", 0x0D0800, 0x0000001 - -gUnk_080D0801:: @ 080D0801 - .incbin "baserom.gba", 0x0D0801, 0x0000005 - -gUnk_080D0806:: @ 080D0806 - .incbin "baserom.gba", 0x0D0806, 0x0000001 - -gUnk_080D0807:: @ 080D0807 - .incbin "baserom.gba", 0x0D0807, 0x0000003 - -gUnk_080D080A:: @ 080D080A - .incbin "baserom.gba", 0x0D080A, 0x000000F - -gUnk_080D0819:: @ 080D0819 - .incbin "baserom.gba", 0x0D0819, 0x0000067 - -gUnk_080D0880:: @ 080D0880 - .incbin "baserom.gba", 0x0D0880, 0x0000018 - -gUnk_080D0898:: @ 080D0898 - .incbin "baserom.gba", 0x0D0898, 0x000002C - -gUnk_080D08C4:: @ 080D08C4 - .incbin "baserom.gba", 0x0D08C4, 0x0000004 - -gUnk_080D08C8:: @ 080D08C8 - .incbin "baserom.gba", 0x0D08C8, 0x0000035 - -gUnk_080D08FD:: @ 080D08FD - .incbin "baserom.gba", 0x0D08FD, 0x0000003 - -gUnk_080D0900:: @ 080D0900 - .incbin "baserom.gba", 0x0D0900, 0x0000003 - -gUnk_080D0903:: @ 080D0903 - .incbin "baserom.gba", 0x0D0903, 0x0000001 - -gUnk_080D0904:: @ 080D0904 - .incbin "baserom.gba", 0x0D0904, 0x0000002 - -gUnk_080D0906:: @ 080D0906 - .incbin "baserom.gba", 0x0D0906, 0x0000002 - -gUnk_080D0908:: @ 080D0908 - .incbin "baserom.gba", 0x0D0908, 0x000000A - -gUnk_080D0912:: @ 080D0912 - .incbin "baserom.gba", 0x0D0912, 0x0000012 - -gUnk_080D0924:: @ 080D0924 - .incbin "baserom.gba", 0x0D0924, 0x0000018 - -gUnk_080D093C:: @ 080D093C - .incbin "baserom.gba", 0x0D093C, 0x0000028 - -gUnk_080D0964:: @ 080D0964 - .incbin "baserom.gba", 0x0D0964, 0x000000C - -gUnk_080D0970:: @ 080D0970 - .incbin "baserom.gba", 0x0D0970, 0x0000004 - -gUnk_080D0974:: @ 080D0974 - .incbin "baserom.gba", 0x0D0974, 0x0000004 - -gUnk_080D0978:: @ 080D0978 - .incbin "baserom.gba", 0x0D0978, 0x0000008 - -gUnk_080D0980:: @ 080D0980 - .incbin "baserom.gba", 0x0D0980, 0x0000004 - -gUnk_080D0984:: @ 080D0984 - .incbin "baserom.gba", 0x0D0984, 0x0000004 - -gUnk_080D0988:: @ 080D0988 - .incbin "baserom.gba", 0x0D0988, 0x000001C - -gUnk_080D09A4:: @ 080D09A4 - .incbin "baserom.gba", 0x0D09A4, 0x0000025 - -gUnk_080D09C9:: @ 080D09C9 - .incbin "baserom.gba", 0x0D09C9, 0x0000025 - -gUnk_080D09EE:: @ 080D09EE - .incbin "baserom.gba", 0x0D09EE, 0x000000E - -gUnk_080D09FC:: @ 080D09FC - .incbin "baserom.gba", 0x0D09FC, 0x0000005 - -gUnk_080D0A01:: @ 080D0A01 - .incbin "baserom.gba", 0x0D0A01, 0x0000002 - -gUnk_080D0A03:: @ 080D0A03 - .incbin "baserom.gba", 0x0D0A03, 0x0000005 - -gUnk_080D0A08:: @ 080D0A08 - .incbin "baserom.gba", 0x0D0A08, 0x0000002 - -gUnk_080D0A0A:: @ 080D0A0A - .incbin "baserom.gba", 0x0D0A0A, 0x0000002 - -gUnk_080D0A0C:: @ 080D0A0C - .incbin "baserom.gba", 0x0D0A0C, 0x0000001 - -gUnk_080D0A0D:: @ 080D0A0D - .incbin "baserom.gba", 0x0D0A0D, 0x0000001 - -gUnk_080D0A0E:: @ 080D0A0E - .incbin "baserom.gba", 0x0D0A0E, 0x0000002 - -gUnk_080D0A10:: @ 080D0A10 - .incbin "baserom.gba", 0x0D0A10, 0x0000022 - -gUnk_080D0A32:: @ 080D0A32 - .incbin "baserom.gba", 0x0D0A32, 0x0000039 - -gUnk_080D0A6B:: @ 080D0A6B - .incbin "baserom.gba", 0x0D0A6B, 0x0000004 - -gUnk_080D0A6F:: @ 080D0A6F - .incbin "baserom.gba", 0x0D0A6F, 0x0000004 - -gUnk_080D0A73:: @ 080D0A73 - .incbin "baserom.gba", 0x0D0A73, 0x000000C - -gUnk_080D0A7F:: @ 080D0A7F - .incbin "baserom.gba", 0x0D0A7F, 0x000000C - -gUnk_080D0A8B:: @ 080D0A8B - .incbin "baserom.gba", 0x0D0A8B, 0x0000005 - -gUnk_080D0A90:: @ 080D0A90 - .incbin "baserom.gba", 0x0D0A90, 0x000002C - -gUnk_080D0ABC:: @ 080D0ABC - .incbin "baserom.gba", 0x0D0ABC, 0x0000003 - -gUnk_080D0ABF:: @ 080D0ABF - .incbin "baserom.gba", 0x0D0ABF, 0x0000009 - -gUnk_080D0AC8:: @ 080D0AC8 - .incbin "baserom.gba", 0x0D0AC8, 0x0000020 - -gUnk_080D0AE8:: @ 080D0AE8 - .incbin "baserom.gba", 0x0D0AE8, 0x0000008 - -gUnk_080D0AF0:: @ 080D0AF0 - .incbin "baserom.gba", 0x0D0AF0, 0x000000C - -gUnk_080D0AFC:: @ 080D0AFC - .incbin "baserom.gba", 0x0D0AFC, 0x0000004 - -gUnk_080D0B00:: @ 080D0B00 - .incbin "baserom.gba", 0x0D0B00, 0x0000001 - -gUnk_080D0B01:: @ 080D0B01 - .incbin "baserom.gba", 0x0D0B01, 0x0000001 - -gUnk_080D0B02:: @ 080D0B02 - .incbin "baserom.gba", 0x0D0B02, 0x0000002 - -gUnk_080D0B04:: @ 080D0B04 - .incbin "baserom.gba", 0x0D0B04, 0x0000002 - -gUnk_080D0B06:: @ 080D0B06 - .incbin "baserom.gba", 0x0D0B06, 0x0000006 - -gUnk_080D0B0C:: @ 080D0B0C - .incbin "baserom.gba", 0x0D0B0C, 0x0000003 - -gUnk_080D0B0F:: @ 080D0B0F - .incbin "baserom.gba", 0x0D0B0F, 0x0000001 - -gUnk_080D0B10:: @ 080D0B10 - .incbin "baserom.gba", 0x0D0B10, 0x0000008 - -gUnk_080D0B18:: @ 080D0B18 - .incbin "baserom.gba", 0x0D0B18, 0x0000011 - -gUnk_080D0B29:: @ 080D0B29 - .incbin "baserom.gba", 0x0D0B29, 0x000002F - -gUnk_080D0B58:: @ 080D0B58 - .incbin "baserom.gba", 0x0D0B58, 0x000000C - -gUnk_080D0B64:: @ 080D0B64 - .incbin "baserom.gba", 0x0D0B64, 0x0000010 - -gUnk_080D0B74:: @ 080D0B74 - .incbin "baserom.gba", 0x0D0B74, 0x0000010 - -gUnk_080D0B84:: @ 080D0B84 - .incbin "baserom.gba", 0x0D0B84, 0x0000020 - -gUnk_080D0BA4:: @ 080D0BA4 - .incbin "baserom.gba", 0x0D0BA4, 0x0000011 - -gUnk_080D0BB5:: @ 080D0BB5 - .incbin "baserom.gba", 0x0D0BB5, 0x000000F - -gUnk_080D0BC4:: @ 080D0BC4 - .incbin "baserom.gba", 0x0D0BC4, 0x0000018 - -gUnk_080D0BDC:: @ 080D0BDC - .incbin "baserom.gba", 0x0D0BDC, 0x0000005 - -gUnk_080D0BE1:: @ 080D0BE1 - .incbin "baserom.gba", 0x0D0BE1, 0x000000C - -gUnk_080D0BED:: @ 080D0BED - .incbin "baserom.gba", 0x0D0BED, 0x0000005 - -gUnk_080D0BF2:: @ 080D0BF2 - .incbin "baserom.gba", 0x0D0BF2, 0x0000005 - -gUnk_080D0BF7:: @ 080D0BF7 - .incbin "baserom.gba", 0x0D0BF7, 0x0000004 - -gUnk_080D0BFB:: @ 080D0BFB - .incbin "baserom.gba", 0x0D0BFB, 0x0000001 - -gUnk_080D0BFC:: @ 080D0BFC - .incbin "baserom.gba", 0x0D0BFC, 0x0000004 - -gUnk_080D0C00:: @ 080D0C00 - .incbin "baserom.gba", 0x0D0C00, 0x0000006 - -gUnk_080D0C06:: @ 080D0C06 - .incbin "baserom.gba", 0x0D0C06, 0x0000002 - -gUnk_080D0C08:: @ 080D0C08 - .incbin "baserom.gba", 0x0D0C08, 0x0000002 - -gUnk_080D0C0A:: @ 080D0C0A - .incbin "baserom.gba", 0x0D0C0A, 0x0000002 - -gUnk_080D0C0C:: @ 080D0C0C - .incbin "baserom.gba", 0x0D0C0C, 0x0000028 - -gUnk_080D0C34:: @ 080D0C34 - .incbin "baserom.gba", 0x0D0C34, 0x0000021 - -gUnk_080D0C55:: @ 080D0C55 - .incbin "baserom.gba", 0x0D0C55, 0x0000033 - -gUnk_080D0C88:: @ 080D0C88 - .incbin "baserom.gba", 0x0D0C88, 0x0000018 - -gUnk_080D0CA0:: @ 080D0CA0 - .incbin "baserom.gba", 0x0D0CA0, 0x0000005 - -gUnk_080D0CA5:: @ 080D0CA5 - .incbin "baserom.gba", 0x0D0CA5, 0x0000030 - -gUnk_080D0CD5:: @ 080D0CD5 - .incbin "baserom.gba", 0x0D0CD5, 0x0000011 - -gUnk_080D0CE6:: @ 080D0CE6 - .incbin "baserom.gba", 0x0D0CE6, 0x000000E - -gUnk_080D0CF4:: @ 080D0CF4 - .incbin "baserom.gba", 0x0D0CF4, 0x0000010 - -gUnk_080D0D04:: @ 080D0D04 - .incbin "baserom.gba", 0x0D0D04, 0x0000001 - -gUnk_080D0D05:: @ 080D0D05 - .incbin "baserom.gba", 0x0D0D05, 0x0000001 - -gUnk_080D0D06:: @ 080D0D06 - .incbin "baserom.gba", 0x0D0D06, 0x0000003 - -gUnk_080D0D09:: @ 080D0D09 - .incbin "baserom.gba", 0x0D0D09, 0x0000002 - -gUnk_080D0D0B:: @ 080D0D0B - .incbin "baserom.gba", 0x0D0D0B, 0x0000001 - -gUnk_080D0D0C:: @ 080D0D0C - .incbin "baserom.gba", 0x0D0D0C, 0x0000002 - -gUnk_080D0D0E:: @ 080D0D0E - .incbin "baserom.gba", 0x0D0D0E, 0x0000006 - -gUnk_080D0D14:: @ 080D0D14 - .incbin "baserom.gba", 0x0D0D14, 0x000002C - -gUnk_080D0D40:: @ 080D0D40 - .incbin "baserom.gba", 0x0D0D40, 0x0000008 - -gUnk_080D0D48:: @ 080D0D48 - .incbin "baserom.gba", 0x0D0D48, 0x0000030 - -gUnk_080D0D78:: @ 080D0D78 - .incbin "baserom.gba", 0x0D0D78, 0x0000019 - -gUnk_080D0D91:: @ 080D0D91 - .incbin "baserom.gba", 0x0D0D91, 0x0000010 - -gUnk_080D0DA1:: @ 080D0DA1 - .incbin "baserom.gba", 0x0D0DA1, 0x000000F - -gUnk_080D0DB0:: @ 080D0DB0 - .incbin "baserom.gba", 0x0D0DB0, 0x0000014 - -gUnk_080D0DC4:: @ 080D0DC4 - .incbin "baserom.gba", 0x0D0DC4, 0x0000018 - -gUnk_080D0DDC:: @ 080D0DDC - .incbin "baserom.gba", 0x0D0DDC, 0x000001B - -gUnk_080D0DF7:: @ 080D0DF7 - .incbin "baserom.gba", 0x0D0DF7, 0x000000A - -gUnk_080D0E01:: @ 080D0E01 - .incbin "baserom.gba", 0x0D0E01, 0x0000007 - -gUnk_080D0E08:: @ 080D0E08 - .incbin "baserom.gba", 0x0D0E08, 0x0000002 - -gUnk_080D0E0A:: @ 080D0E0A - .incbin "baserom.gba", 0x0D0E0A, 0x0000002 - -gUnk_080D0E0C:: @ 080D0E0C - .incbin "baserom.gba", 0x0D0E0C, 0x0000001 - -gUnk_080D0E0D:: @ 080D0E0D - .incbin "baserom.gba", 0x0D0E0D, 0x0000001 - -gUnk_080D0E0E:: @ 080D0E0E - .incbin "baserom.gba", 0x0D0E0E, 0x0000001 - -gUnk_080D0E0F:: @ 080D0E0F - .incbin "baserom.gba", 0x0D0E0F, 0x0000004 - -gUnk_080D0E13:: @ 080D0E13 - .incbin "baserom.gba", 0x0D0E13, 0x0000001 - -gUnk_080D0E14:: @ 080D0E14 - .incbin "baserom.gba", 0x0D0E14, 0x0000004 - -gUnk_080D0E18:: @ 080D0E18 - .incbin "baserom.gba", 0x0D0E18, 0x0000004 - -gUnk_080D0E1C:: @ 080D0E1C - .incbin "baserom.gba", 0x0D0E1C, 0x0000010 - -gUnk_080D0E2C:: @ 080D0E2C - .incbin "baserom.gba", 0x0D0E2C, 0x0000038 - -gUnk_080D0E64:: @ 080D0E64 - .incbin "baserom.gba", 0x0D0E64, 0x0000004 - -gUnk_080D0E68:: @ 080D0E68 - .incbin "baserom.gba", 0x0D0E68, 0x0000018 - -gUnk_080D0E80:: @ 080D0E80 - .incbin "baserom.gba", 0x0D0E80, 0x0000010 - -gUnk_080D0E90:: @ 080D0E90 - .incbin "baserom.gba", 0x0D0E90, 0x0000010 - -gUnk_080D0EA0:: @ 080D0EA0 - .incbin "baserom.gba", 0x0D0EA0, 0x0000008 - -gUnk_080D0EA8:: @ 080D0EA8 - .incbin "baserom.gba", 0x0D0EA8, 0x0000004 - -gUnk_080D0EAC:: @ 080D0EAC - .incbin "baserom.gba", 0x0D0EAC, 0x0000004 - -gUnk_080D0EB0:: @ 080D0EB0 - .incbin "baserom.gba", 0x0D0EB0, 0x0000020 - -gUnk_080D0ED0:: @ 080D0ED0 - .incbin "baserom.gba", 0x0D0ED0, 0x0000019 - -gUnk_080D0EE9:: @ 080D0EE9 - .incbin "baserom.gba", 0x0D0EE9, 0x000000C - -gUnk_080D0EF5:: @ 080D0EF5 - .incbin "baserom.gba", 0x0D0EF5, 0x000000D - -gUnk_080D0F02:: @ 080D0F02 - .incbin "baserom.gba", 0x0D0F02, 0x0000003 - -gUnk_080D0F05:: @ 080D0F05 - .incbin "baserom.gba", 0x0D0F05, 0x0000003 - -gUnk_080D0F08:: @ 080D0F08 - .incbin "baserom.gba", 0x0D0F08, 0x0000001 - -gUnk_080D0F09:: @ 080D0F09 - .incbin "baserom.gba", 0x0D0F09, 0x0000004 - -gUnk_080D0F0D:: @ 080D0F0D - .incbin "baserom.gba", 0x0D0F0D, 0x0000001 - -gUnk_080D0F0E:: @ 080D0F0E - .incbin "baserom.gba", 0x0D0F0E, 0x0000001 - -gUnk_080D0F0F:: @ 080D0F0F - .incbin "baserom.gba", 0x0D0F0F, 0x0000001 - -gUnk_080D0F10:: @ 080D0F10 - .incbin "baserom.gba", 0x0D0F10, 0x0000001 - -gUnk_080D0F11:: @ 080D0F11 - .incbin "baserom.gba", 0x0D0F11, 0x0000001 - -gUnk_080D0F12:: @ 080D0F12 - .incbin "baserom.gba", 0x0D0F12, 0x0000001 - -gUnk_080D0F13:: @ 080D0F13 - .incbin "baserom.gba", 0x0D0F13, 0x0000004 - -gUnk_080D0F17:: @ 080D0F17 - .incbin "baserom.gba", 0x0D0F17, 0x0000011 - -gUnk_080D0F28:: @ 080D0F28 - .incbin "baserom.gba", 0x0D0F28, 0x0000045 - -gUnk_080D0F6D:: @ 080D0F6D - .incbin "baserom.gba", 0x0D0F6D, 0x0000015 - -gUnk_080D0F82:: @ 080D0F82 - .incbin "baserom.gba", 0x0D0F82, 0x0000019 - -gUnk_080D0F9B:: @ 080D0F9B - .incbin "baserom.gba", 0x0D0F9B, 0x0000015 - -gUnk_080D0FB0:: @ 080D0FB0 - .incbin "baserom.gba", 0x0D0FB0, 0x0000011 - -gUnk_080D0FC1:: @ 080D0FC1 - .incbin "baserom.gba", 0x0D0FC1, 0x0000015 - -gUnk_080D0FD6:: @ 080D0FD6 - .incbin "baserom.gba", 0x0D0FD6, 0x000001D - -gUnk_080D0FF3:: @ 080D0FF3 - .incbin "baserom.gba", 0x0D0FF3, 0x0000005 - -gUnk_080D0FF8:: @ 080D0FF8 - .incbin "baserom.gba", 0x0D0FF8, 0x0000015 - -gUnk_080D100D:: @ 080D100D - .incbin "baserom.gba", 0x0D100D, 0x0000002 - -gUnk_080D100F:: @ 080D100F - .incbin "baserom.gba", 0x0D100F, 0x0000001 - -gUnk_080D1010:: @ 080D1010 - .incbin "baserom.gba", 0x0D1010, 0x0000001 - -gUnk_080D1011:: @ 080D1011 - .incbin "baserom.gba", 0x0D1011, 0x0000001 - -gUnk_080D1012:: @ 080D1012 - .incbin "baserom.gba", 0x0D1012, 0x0000001 - -gUnk_080D1013:: @ 080D1013 - .incbin "baserom.gba", 0x0D1013, 0x0000006 - -gUnk_080D1019:: @ 080D1019 - .incbin "baserom.gba", 0x0D1019, 0x0000012 - -gUnk_080D102B:: @ 080D102B - .incbin "baserom.gba", 0x0D102B, 0x000000B - -gUnk_080D1036:: @ 080D1036 - .incbin "baserom.gba", 0x0D1036, 0x0000019 - -gUnk_080D104F:: @ 080D104F - .incbin "baserom.gba", 0x0D104F, 0x0000011 - -gUnk_080D1060:: @ 080D1060 - .incbin "baserom.gba", 0x0D1060, 0x000000D - -gUnk_080D106D:: @ 080D106D - .incbin "baserom.gba", 0x0D106D, 0x000000D - -gUnk_080D107A:: @ 080D107A - .incbin "baserom.gba", 0x0D107A, 0x0000005 - -gUnk_080D107F:: @ 080D107F - .incbin "baserom.gba", 0x0D107F, 0x0000021 - -gUnk_080D10A0:: @ 080D10A0 - .incbin "baserom.gba", 0x0D10A0, 0x0000015 - -gUnk_080D10B5:: @ 080D10B5 - .incbin "baserom.gba", 0x0D10B5, 0x0000011 - -gUnk_080D10C6:: @ 080D10C6 - .incbin "baserom.gba", 0x0D10C6, 0x0000011 - -gUnk_080D10D7:: @ 080D10D7 - .incbin "baserom.gba", 0x0D10D7, 0x0000015 - -gUnk_080D10EC:: @ 080D10EC - .incbin "baserom.gba", 0x0D10EC, 0x0000005 - -gUnk_080D10F1:: @ 080D10F1 - .incbin "baserom.gba", 0x0D10F1, 0x0000015 - -gUnk_080D1106:: @ 080D1106 - .incbin "baserom.gba", 0x0D1106, 0x0000006 - -gUnk_080D110C:: @ 080D110C - .incbin "baserom.gba", 0x0D110C, 0x0000003 - -gUnk_080D110F:: @ 080D110F - .incbin "baserom.gba", 0x0D110F, 0x0000001 - -gUnk_080D1110:: @ 080D1110 - .incbin "baserom.gba", 0x0D1110, 0x0000001 - -gUnk_080D1111:: @ 080D1111 - .incbin "baserom.gba", 0x0D1111, 0x0000001 - -gUnk_080D1112:: @ 080D1112 - .incbin "baserom.gba", 0x0D1112, 0x0000002 - -gUnk_080D1114:: @ 080D1114 - .incbin "baserom.gba", 0x0D1114, 0x0000001 - -gUnk_080D1115:: @ 080D1115 - .incbin "baserom.gba", 0x0D1115, 0x0000001 - -gUnk_080D1116:: @ 080D1116 - .incbin "baserom.gba", 0x0D1116, 0x0000001 - -gUnk_080D1117:: @ 080D1117 - .incbin "baserom.gba", 0x0D1117, 0x0000007 - -gUnk_080D111E:: @ 080D111E - .incbin "baserom.gba", 0x0D111E, 0x000001A - -gUnk_080D1138:: @ 080D1138 - .incbin "baserom.gba", 0x0D1138, 0x0000015 - -gUnk_080D114D:: @ 080D114D - .incbin "baserom.gba", 0x0D114D, 0x0000031 - -gUnk_080D117E:: @ 080D117E - .incbin "baserom.gba", 0x0D117E, 0x0000019 - -gUnk_080D1197:: @ 080D1197 - .incbin "baserom.gba", 0x0D1197, 0x0000015 - -gUnk_080D11AC:: @ 080D11AC - .incbin "baserom.gba", 0x0D11AC, 0x000005C - -gUnk_080D1208:: @ 080D1208 - .incbin "baserom.gba", 0x0D1208, 0x0000004 - -gUnk_080D120C:: @ 080D120C - .incbin "baserom.gba", 0x0D120C, 0x0000001 - -gUnk_080D120D:: @ 080D120D - .incbin "baserom.gba", 0x0D120D, 0x0000002 - -gUnk_080D120F:: @ 080D120F - .incbin "baserom.gba", 0x0D120F, 0x0000002 - -gUnk_080D1211:: @ 080D1211 - .incbin "baserom.gba", 0x0D1211, 0x0000003 - -gUnk_080D1214:: @ 080D1214 - .incbin "baserom.gba", 0x0D1214, 0x0000001 - -gUnk_080D1215:: @ 080D1215 - .incbin "baserom.gba", 0x0D1215, 0x0000001 - -gUnk_080D1216:: @ 080D1216 - .incbin "baserom.gba", 0x0D1216, 0x0000001 - -gUnk_080D1217:: @ 080D1217 - .incbin "baserom.gba", 0x0D1217, 0x0000001 - -gUnk_080D1218:: @ 080D1218 - .incbin "baserom.gba", 0x0D1218, 0x0000001 - -gUnk_080D1219:: @ 080D1219 - .incbin "baserom.gba", 0x0D1219, 0x0000004 - -gUnk_080D121D:: @ 080D121D - .incbin "baserom.gba", 0x0D121D, 0x0000013 - -gUnk_080D1230:: @ 080D1230 - .incbin "baserom.gba", 0x0D1230, 0x0000018 - -gUnk_080D1248:: @ 080D1248 - .incbin "baserom.gba", 0x0D1248, 0x0000014 - -gUnk_080D125C:: @ 080D125C - .incbin "baserom.gba", 0x0D125C, 0x0000024 - -gUnk_080D1280:: @ 080D1280 - .incbin "baserom.gba", 0x0D1280, 0x0000004 - -gUnk_080D1284:: @ 080D1284 - .incbin "baserom.gba", 0x0D1284, 0x0000002 - -gUnk_080D1286:: @ 080D1286 - .incbin "baserom.gba", 0x0D1286, 0x000000A - -gUnk_080D1290:: @ 080D1290 - .incbin "baserom.gba", 0x0D1290, 0x000001C - -gUnk_080D12AC:: @ 080D12AC - .incbin "baserom.gba", 0x0D12AC, 0x0000004 - -gUnk_080D12B0:: @ 080D12B0 - .incbin "baserom.gba", 0x0D12B0, 0x0000002 - -gUnk_080D12B2:: @ 080D12B2 - .incbin "baserom.gba", 0x0D12B2, 0x0000002 - -gUnk_080D12B4:: @ 080D12B4 - .incbin "baserom.gba", 0x0D12B4, 0x0000002 - -gUnk_080D12B6:: @ 080D12B6 - .incbin "baserom.gba", 0x0D12B6, 0x0000002 - -gUnk_080D12B8:: @ 080D12B8 - .incbin "baserom.gba", 0x0D12B8, 0x0000010 - -gUnk_080D12C8:: @ 080D12C8 - .incbin "baserom.gba", 0x0D12C8, 0x0000002 - -gUnk_080D12CA:: @ 080D12CA - .incbin "baserom.gba", 0x0D12CA, 0x0000006 - -gUnk_080D12D0:: @ 080D12D0 - .incbin "baserom.gba", 0x0D12D0, 0x000001D - -gUnk_080D12ED:: @ 080D12ED - .incbin "baserom.gba", 0x0D12ED, 0x000000B - -gUnk_080D12F8:: @ 080D12F8 - .incbin "baserom.gba", 0x0D12F8, 0x0000006 - -gUnk_080D12FE:: @ 080D12FE - .incbin "baserom.gba", 0x0D12FE, 0x0000002 - -gUnk_080D1300:: @ 080D1300 - .incbin "baserom.gba", 0x0D1300, 0x0000004 - -gUnk_080D1304:: @ 080D1304 - .incbin "baserom.gba", 0x0D1304, 0x0000008 - -gUnk_080D130C:: @ 080D130C - .incbin "baserom.gba", 0x0D130C, 0x0000001 - -gUnk_080D130D:: @ 080D130D - .incbin "baserom.gba", 0x0D130D, 0x0000003 - -gUnk_080D1310:: @ 080D1310 - .incbin "baserom.gba", 0x0D1310, 0x0000004 - -gUnk_080D1314:: @ 080D1314 - .incbin "baserom.gba", 0x0D1314, 0x0000001 - -gUnk_080D1315:: @ 080D1315 - .incbin "baserom.gba", 0x0D1315, 0x0000001 - -gUnk_080D1316:: @ 080D1316 - .incbin "baserom.gba", 0x0D1316, 0x0000001 - -gUnk_080D1317:: @ 080D1317 - .incbin "baserom.gba", 0x0D1317, 0x0000001 - -gUnk_080D1318:: @ 080D1318 - .incbin "baserom.gba", 0x0D1318, 0x0000001 - -gUnk_080D1319:: @ 080D1319 - .incbin "baserom.gba", 0x0D1319, 0x0000001 - -gUnk_080D131A:: @ 080D131A - .incbin "baserom.gba", 0x0D131A, 0x0000002 - -gUnk_080D131C:: @ 080D131C - .incbin "baserom.gba", 0x0D131C, 0x0000004 - -gUnk_080D1320:: @ 080D1320 - .incbin "baserom.gba", 0x0D1320, 0x0000018 - -gUnk_080D1338:: @ 080D1338 - .incbin "baserom.gba", 0x0D1338, 0x0000004 - -gUnk_080D133C:: @ 080D133C - .incbin "baserom.gba", 0x0D133C, 0x0000004 - -gUnk_080D1340:: @ 080D1340 - .incbin "baserom.gba", 0x0D1340, 0x0000008 - -gUnk_080D1348:: @ 080D1348 - .incbin "baserom.gba", 0x0D1348, 0x0000014 - -gUnk_080D135C:: @ 080D135C - .incbin "baserom.gba", 0x0D135C, 0x0000006 - -gUnk_080D1362:: @ 080D1362 - .incbin "baserom.gba", 0x0D1362, 0x0000050 - -gUnk_080D13B2:: @ 080D13B2 - .incbin "baserom.gba", 0x0D13B2, 0x0000005 - -gUnk_080D13B7:: @ 080D13B7 - .incbin "baserom.gba", 0x0D13B7, 0x0000021 - -gUnk_080D13D8:: @ 080D13D8 - .incbin "baserom.gba", 0x0D13D8, 0x0000008 - -gUnk_080D13E0:: @ 080D13E0 - .incbin "baserom.gba", 0x0D13E0, 0x0000003 - -gUnk_080D13E3:: @ 080D13E3 - .incbin "baserom.gba", 0x0D13E3, 0x0000006 - -gUnk_080D13E9:: @ 080D13E9 - .incbin "baserom.gba", 0x0D13E9, 0x0000003 - -gUnk_080D13EC:: @ 080D13EC - .incbin "baserom.gba", 0x0D13EC, 0x0000014 - -gUnk_080D1400:: @ 080D1400 - .incbin "baserom.gba", 0x0D1400, 0x000000D - -gUnk_080D140D:: @ 080D140D - .incbin "baserom.gba", 0x0D140D, 0x0000005 - -gUnk_080D1412:: @ 080D1412 - .incbin "baserom.gba", 0x0D1412, 0x0000002 - -gUnk_080D1414:: @ 080D1414 - .incbin "baserom.gba", 0x0D1414, 0x0000003 - -gUnk_080D1417:: @ 080D1417 - .incbin "baserom.gba", 0x0D1417, 0x0000001 - -gUnk_080D1418:: @ 080D1418 - .incbin "baserom.gba", 0x0D1418, 0x0000001 - -gUnk_080D1419:: @ 080D1419 - .incbin "baserom.gba", 0x0D1419, 0x0000003 - -gUnk_080D141C:: @ 080D141C - .incbin "baserom.gba", 0x0D141C, 0x0000002 - -gUnk_080D141E:: @ 080D141E - .incbin "baserom.gba", 0x0D141E, 0x0000001 - -gUnk_080D141F:: @ 080D141F - .incbin "baserom.gba", 0x0D141F, 0x0000004 - -gUnk_080D1423:: @ 080D1423 - .incbin "baserom.gba", 0x0D1423, 0x0000008 - -gUnk_080D142B:: @ 080D142B - .incbin "baserom.gba", 0x0D142B, 0x0000005 - -gUnk_080D1430:: @ 080D1430 - .incbin "baserom.gba", 0x0D1430, 0x0000005 - -gUnk_080D1435:: @ 080D1435 - .incbin "baserom.gba", 0x0D1435, 0x0000005 - -gUnk_080D143A:: @ 080D143A - .incbin "baserom.gba", 0x0D143A, 0x0000005 - -gUnk_080D143F:: @ 080D143F - .incbin "baserom.gba", 0x0D143F, 0x0000005 - -gUnk_080D1444:: @ 080D1444 - .incbin "baserom.gba", 0x0D1444, 0x0000005 - -gUnk_080D1449:: @ 080D1449 - .incbin "baserom.gba", 0x0D1449, 0x0000005 - -gUnk_080D144E:: @ 080D144E - .incbin "baserom.gba", 0x0D144E, 0x0000005 - -gUnk_080D1453:: @ 080D1453 - .incbin "baserom.gba", 0x0D1453, 0x0000005 - -gUnk_080D1458:: @ 080D1458 - .incbin "baserom.gba", 0x0D1458, 0x0000005 - -gUnk_080D145D:: @ 080D145D - .incbin "baserom.gba", 0x0D145D, 0x0000005 - -gUnk_080D1462:: @ 080D1462 - .incbin "baserom.gba", 0x0D1462, 0x0000005 - -gUnk_080D1467:: @ 080D1467 - .incbin "baserom.gba", 0x0D1467, 0x0000021 - -gUnk_080D1488:: @ 080D1488 - .incbin "baserom.gba", 0x0D1488, 0x0000005 - -gUnk_080D148D:: @ 080D148D - .incbin "baserom.gba", 0x0D148D, 0x0000051 - -gUnk_080D14DE:: @ 080D14DE - .incbin "baserom.gba", 0x0D14DE, 0x0000015 - -gUnk_080D14F3:: @ 080D14F3 - .incbin "baserom.gba", 0x0D14F3, 0x0000019 - -gUnk_080D150C:: @ 080D150C - .incbin "baserom.gba", 0x0D150C, 0x0000009 - -gUnk_080D1515:: @ 080D1515 - .incbin "baserom.gba", 0x0D1515, 0x0000005 - -gUnk_080D151A:: @ 080D151A - .incbin "baserom.gba", 0x0D151A, 0x000000B - -gUnk_080D1525:: @ 080D1525 - .incbin "baserom.gba", 0x0D1525, 0x0000005 - -gUnk_080D152A:: @ 080D152A - .incbin "baserom.gba", 0x0D152A, 0x0000006 - -gUnk_080D1530:: @ 080D1530 - .incbin "baserom.gba", 0x0D1530, 0x0000058 - -gUnk_080D1588:: @ 080D1588 - .incbin "baserom.gba", 0x0D1588, 0x0000018 - -gUnk_080D15A0:: @ 080D15A0 - .incbin "baserom.gba", 0x0D15A0, 0x0000008 - -gUnk_080D15A8:: @ 080D15A8 - .incbin "baserom.gba", 0x0D15A8, 0x000000C - -gUnk_080D15B4:: @ 080D15B4 - .incbin "baserom.gba", 0x0D15B4, 0x0000050 - -gUnk_080D1604:: @ 080D1604 - .incbin "baserom.gba", 0x0D1604, 0x0000014 - -gUnk_080D1618:: @ 080D1618 - .incbin "baserom.gba", 0x0D1618, 0x0000005 - -gUnk_080D161D:: @ 080D161D - .incbin "baserom.gba", 0x0D161D, 0x0000003 - -gUnk_080D1620:: @ 080D1620 - .incbin "baserom.gba", 0x0D1620, 0x0000008 - -gUnk_080D1628:: @ 080D1628 - .incbin "baserom.gba", 0x0D1628, 0x0000007 - -gUnk_080D162F:: @ 080D162F - .incbin "baserom.gba", 0x0D162F, 0x0000009 - -gUnk_080D1638:: @ 080D1638 - .incbin "baserom.gba", 0x0D1638, 0x0000005 - -gUnk_080D163D:: @ 080D163D - .incbin "baserom.gba", 0x0D163D, 0x0000031 - -gUnk_080D166E:: @ 080D166E - .incbin "baserom.gba", 0x0D166E, 0x0000026 - -gUnk_080D1694:: @ 080D1694 - .incbin "baserom.gba", 0x0D1694, 0x0000010 - -gUnk_080D16A4:: @ 080D16A4 - .incbin "baserom.gba", 0x0D16A4, 0x0000018 - -gUnk_080D16BC:: @ 080D16BC - .incbin "baserom.gba", 0x0D16BC, 0x0000014 - -gUnk_080D16D0:: @ 080D16D0 - .incbin "baserom.gba", 0x0D16D0, 0x0000004 - -gUnk_080D16D4:: @ 080D16D4 - .incbin "baserom.gba", 0x0D16D4, 0x0000008 - -gUnk_080D16DC:: @ 080D16DC - .incbin "baserom.gba", 0x0D16DC, 0x0000009 - -gUnk_080D16E5:: @ 080D16E5 - .incbin "baserom.gba", 0x0D16E5, 0x0000010 - -gUnk_080D16F5:: @ 080D16F5 - .incbin "baserom.gba", 0x0D16F5, 0x0000018 - -gUnk_080D170D:: @ 080D170D - .incbin "baserom.gba", 0x0D170D, 0x0000010 - -gUnk_080D171D:: @ 080D171D - .incbin "baserom.gba", 0x0D171D, 0x0000004 - -gUnk_080D1721:: @ 080D1721 - .incbin "baserom.gba", 0x0D1721, 0x0000020 - -gUnk_080D1741:: @ 080D1741 - .incbin "baserom.gba", 0x0D1741, 0x0000020 - -gUnk_080D1761:: @ 080D1761 - .incbin "baserom.gba", 0x0D1761, 0x0000009 - -gUnk_080D176A:: @ 080D176A - .incbin "baserom.gba", 0x0D176A, 0x0000009 - -gUnk_080D1773:: @ 080D1773 - .incbin "baserom.gba", 0x0D1773, 0x0000005 - -gUnk_080D1778:: @ 080D1778 - .incbin "baserom.gba", 0x0D1778, 0x0000005 - -gUnk_080D177D:: @ 080D177D - .incbin "baserom.gba", 0x0D177D, 0x0000013 - -gUnk_080D1790:: @ 080D1790 - .incbin "baserom.gba", 0x0D1790, 0x0000030 - -gUnk_080D17C0:: @ 080D17C0 - .incbin "baserom.gba", 0x0D17C0, 0x0000018 - -gUnk_080D17D8:: @ 080D17D8 - .incbin "baserom.gba", 0x0D17D8, 0x0000010 - -gUnk_080D17E8:: @ 080D17E8 - .incbin "baserom.gba", 0x0D17E8, 0x0000018 - -gUnk_080D1800:: @ 080D1800 - .incbin "baserom.gba", 0x0D1800, 0x000000C - -gUnk_080D180C:: @ 080D180C - .incbin "baserom.gba", 0x0D180C, 0x0000004 - -gUnk_080D1810:: @ 080D1810 - .incbin "baserom.gba", 0x0D1810, 0x0000008 - -gUnk_080D1818:: @ 080D1818 - .incbin "baserom.gba", 0x0D1818, 0x0000004 - -gUnk_080D181C:: @ 080D181C - .incbin "baserom.gba", 0x0D181C, 0x0000010 - -gUnk_080D182C:: @ 080D182C - .incbin "baserom.gba", 0x0D182C, 0x000000D - -gUnk_080D1839:: @ 080D1839 - .incbin "baserom.gba", 0x0D1839, 0x0000023 - -gUnk_080D185C:: @ 080D185C - .incbin "baserom.gba", 0x0D185C, 0x000000C - -gUnk_080D1868:: @ 080D1868 - .incbin "baserom.gba", 0x0D1868, 0x0000018 - -gUnk_080D1880:: @ 080D1880 - .incbin "baserom.gba", 0x0D1880, 0x0000008 - -gUnk_080D1888:: @ 080D1888 - .incbin "baserom.gba", 0x0D1888, 0x0000018 - -gUnk_080D18A0:: @ 080D18A0 - .incbin "baserom.gba", 0x0D18A0, 0x0000014 - -gUnk_080D18B4:: @ 080D18B4 - .incbin "baserom.gba", 0x0D18B4, 0x0000010 - -gUnk_080D18C4:: @ 080D18C4 - .incbin "baserom.gba", 0x0D18C4, 0x0000005 - -gUnk_080D18C9:: @ 080D18C9 - .incbin "baserom.gba", 0x0D18C9, 0x0000011 - -gUnk_080D18DA:: @ 080D18DA - .incbin "baserom.gba", 0x0D18DA, 0x0000019 - -gUnk_080D18F3:: @ 080D18F3 - .incbin "baserom.gba", 0x0D18F3, 0x0000021 - -gUnk_080D1914:: @ 080D1914 - .incbin "baserom.gba", 0x0D1914, 0x0000004 - -gUnk_080D1918:: @ 080D1918 - .incbin "baserom.gba", 0x0D1918, 0x0000005 - -gUnk_080D191D:: @ 080D191D - .incbin "baserom.gba", 0x0D191D, 0x0000007 - -gUnk_080D1924:: @ 080D1924 - .incbin "baserom.gba", 0x0D1924, 0x0000002 - -gUnk_080D1926:: @ 080D1926 - .incbin "baserom.gba", 0x0D1926, 0x0000009 - -gUnk_080D192F:: @ 080D192F - .incbin "baserom.gba", 0x0D192F, 0x0000005 - -gUnk_080D1934:: @ 080D1934 - .incbin "baserom.gba", 0x0D1934, 0x0000011 - -gUnk_080D1945:: @ 080D1945 - .incbin "baserom.gba", 0x0D1945, 0x0000015 - -gUnk_080D195A:: @ 080D195A - .incbin "baserom.gba", 0x0D195A, 0x000000D - -gUnk_080D1967:: @ 080D1967 - .incbin "baserom.gba", 0x0D1967, 0x0000021 - -gUnk_080D1988:: @ 080D1988 - .incbin "baserom.gba", 0x0D1988, 0x0000025 - -gUnk_080D19AD:: @ 080D19AD - .incbin "baserom.gba", 0x0D19AD, 0x000000B - -gUnk_080D19B8:: @ 080D19B8 - .incbin "baserom.gba", 0x0D19B8, 0x0000044 - -gUnk_080D19FC:: @ 080D19FC - .incbin "baserom.gba", 0x0D19FC, 0x0000018 - -gUnk_080D1A14:: @ 080D1A14 - .incbin "baserom.gba", 0x0D1A14, 0x0000024 - -gUnk_080D1A38:: @ 080D1A38 - .incbin "baserom.gba", 0x0D1A38, 0x0000006 - -gUnk_080D1A3E:: @ 080D1A3E - .incbin "baserom.gba", 0x0D1A3E, 0x0000010 - -gUnk_080D1A4E:: @ 080D1A4E - .incbin "baserom.gba", 0x0D1A4E, 0x0000016 - -gUnk_080D1A64:: @ 080D1A64 - .incbin "baserom.gba", 0x0D1A64, 0x0000010 - -gUnk_080D1A74:: @ 080D1A74 - .incbin "baserom.gba", 0x0D1A74, 0x0000010 - -gUnk_080D1A84:: @ 080D1A84 - .incbin "baserom.gba", 0x0D1A84, 0x0000010 - -gUnk_080D1A94:: @ 080D1A94 - .incbin "baserom.gba", 0x0D1A94, 0x0000018 - -gUnk_080D1AAC:: @ 080D1AAC - .incbin "baserom.gba", 0x0D1AAC, 0x0000018 - -gUnk_080D1AC4:: @ 080D1AC4 - .incbin "baserom.gba", 0x0D1AC4, 0x0000018 - -gUnk_080D1ADC:: @ 080D1ADC - .incbin "baserom.gba", 0x0D1ADC, 0x0000018 - -gUnk_080D1AF4:: @ 080D1AF4 - .incbin "baserom.gba", 0x0D1AF4, 0x0000004 - -gUnk_080D1AF8:: @ 080D1AF8 - .incbin "baserom.gba", 0x0D1AF8, 0x0000004 - -gUnk_080D1AFC:: @ 080D1AFC - .incbin "baserom.gba", 0x0D1AFC, 0x0000020 - -gUnk_080D1B1C:: @ 080D1B1C - .incbin "baserom.gba", 0x0D1B1C, 0x0000003 - -gUnk_080D1B1F:: @ 080D1B1F - .incbin "baserom.gba", 0x0D1B1F, 0x0000019 - -gUnk_080D1B38:: @ 080D1B38 - .incbin "baserom.gba", 0x0D1B38, 0x0000014 - -gUnk_080D1B4C:: @ 080D1B4C - .incbin "baserom.gba", 0x0D1B4C, 0x0000014 - -gUnk_080D1B60:: @ 080D1B60 - .incbin "baserom.gba", 0x0D1B60, 0x0000010 - -gUnk_080D1B70:: @ 080D1B70 - .incbin "baserom.gba", 0x0D1B70, 0x0000004 - -gUnk_080D1B74:: @ 080D1B74 - .incbin "baserom.gba", 0x0D1B74, 0x0000020 - -gUnk_080D1B94:: @ 080D1B94 - .incbin "baserom.gba", 0x0D1B94, 0x0000028 - -gUnk_080D1BBC:: @ 080D1BBC - .incbin "baserom.gba", 0x0D1BBC, 0x0000004 - -gUnk_080D1BC0:: @ 080D1BC0 - .incbin "baserom.gba", 0x0D1BC0, 0x000001C - -gUnk_080D1BDC:: @ 080D1BDC - .incbin "baserom.gba", 0x0D1BDC, 0x0000014 - -gUnk_080D1BF0:: @ 080D1BF0 - .incbin "baserom.gba", 0x0D1BF0, 0x0000004 - -gUnk_080D1BF4:: @ 080D1BF4 - .incbin "baserom.gba", 0x0D1BF4, 0x000000C - -gUnk_080D1C00:: @ 080D1C00 - .incbin "baserom.gba", 0x0D1C00, 0x0000004 - -gUnk_080D1C04:: @ 080D1C04 - .incbin "baserom.gba", 0x0D1C04, 0x0000017 - -gUnk_080D1C1B:: @ 080D1C1B - .incbin "baserom.gba", 0x0D1C1B, 0x0000013 - -gUnk_080D1C2E:: @ 080D1C2E - .incbin "baserom.gba", 0x0D1C2E, 0x0000016 - -gUnk_080D1C44:: @ 080D1C44 - .incbin "baserom.gba", 0x0D1C44, 0x000000C - -gUnk_080D1C50:: @ 080D1C50 - .incbin "baserom.gba", 0x0D1C50, 0x0000010 - -gUnk_080D1C60:: @ 080D1C60 - .incbin "baserom.gba", 0x0D1C60, 0x0000010 - -gUnk_080D1C70:: @ 080D1C70 - .incbin "baserom.gba", 0x0D1C70, 0x0000021 - -gUnk_080D1C91:: @ 080D1C91 - .incbin "baserom.gba", 0x0D1C91, 0x000002B - -gUnk_080D1CBC:: @ 080D1CBC - .incbin "baserom.gba", 0x0D1CBC, 0x000000C - -gUnk_080D1CC8:: @ 080D1CC8 - .incbin "baserom.gba", 0x0D1CC8, 0x0000018 - -gUnk_080D1CE0:: @ 080D1CE0 - .incbin "baserom.gba", 0x0D1CE0, 0x0000010 - -gUnk_080D1CF0:: @ 080D1CF0 - .incbin "baserom.gba", 0x0D1CF0, 0x0000009 - -gUnk_080D1CF9:: @ 080D1CF9 - .incbin "baserom.gba", 0x0D1CF9, 0x0000009 - -gUnk_080D1D02:: @ 080D1D02 - .incbin "baserom.gba", 0x0D1D02, 0x0000020 - -gUnk_080D1D22:: @ 080D1D22 - .incbin "baserom.gba", 0x0D1D22, 0x0000001 - -gUnk_080D1D23:: @ 080D1D23 - .incbin "baserom.gba", 0x0D1D23, 0x0000003 - -gUnk_080D1D26:: @ 080D1D26 - .incbin "baserom.gba", 0x0D1D26, 0x0000001 - -gUnk_080D1D27:: @ 080D1D27 - .incbin "baserom.gba", 0x0D1D27, 0x0000005 - -gUnk_080D1D2C:: @ 080D1D2C - .incbin "baserom.gba", 0x0D1D2C, 0x0000008 - -gUnk_080D1D34:: @ 080D1D34 - .incbin "baserom.gba", 0x0D1D34, 0x0000014 - -gUnk_080D1D48:: @ 080D1D48 - .incbin "baserom.gba", 0x0D1D48, 0x0000028 - -gUnk_080D1D70:: @ 080D1D70 - .incbin "baserom.gba", 0x0D1D70, 0x0000008 - -gUnk_080D1D78:: @ 080D1D78 - .incbin "baserom.gba", 0x0D1D78, 0x0000020 - -gUnk_080D1D98:: @ 080D1D98 - .incbin "baserom.gba", 0x0D1D98, 0x0000008 - -gUnk_080D1DA0:: @ 080D1DA0 - .incbin "baserom.gba", 0x0D1DA0, 0x0000028 - -gUnk_080D1DC8:: @ 080D1DC8 - .incbin "baserom.gba", 0x0D1DC8, 0x0000004 - -gUnk_080D1DCC:: @ 080D1DCC - .incbin "baserom.gba", 0x0D1DCC, 0x0000004 - -gUnk_080D1DD0:: @ 080D1DD0 - .incbin "baserom.gba", 0x0D1DD0, 0x000000C - -gUnk_080D1DDC:: @ 080D1DDC - .incbin "baserom.gba", 0x0D1DDC, 0x000000C - -gUnk_080D1DE8:: @ 080D1DE8 - .incbin "baserom.gba", 0x0D1DE8, 0x000001D - -gUnk_080D1E05:: @ 080D1E05 - .incbin "baserom.gba", 0x0D1E05, 0x0000016 - -gUnk_080D1E1B:: @ 080D1E1B - .incbin "baserom.gba", 0x0D1E1B, 0x0000006 - -gUnk_080D1E21:: @ 080D1E21 - .incbin "baserom.gba", 0x0D1E21, 0x0000005 - -gUnk_080D1E26:: @ 080D1E26 - .incbin "baserom.gba", 0x0D1E26, 0x000000C - -gUnk_080D1E32:: @ 080D1E32 - .incbin "baserom.gba", 0x0D1E32, 0x0000012 - -gUnk_080D1E44:: @ 080D1E44 - .incbin "baserom.gba", 0x0D1E44, 0x0000028 - -gUnk_080D1E6C:: @ 080D1E6C - .incbin "baserom.gba", 0x0D1E6C, 0x0000018 - -gUnk_080D1E84:: @ 080D1E84 - .incbin "baserom.gba", 0x0D1E84, 0x0000010 - -gUnk_080D1E94:: @ 080D1E94 - .incbin "baserom.gba", 0x0D1E94, 0x000000C - -gUnk_080D1EA0:: @ 080D1EA0 - .incbin "baserom.gba", 0x0D1EA0, 0x0000016 - -gUnk_080D1EB6:: @ 080D1EB6 - .incbin "baserom.gba", 0x0D1EB6, 0x0000009 - -gUnk_080D1EBF:: @ 080D1EBF - .incbin "baserom.gba", 0x0D1EBF, 0x0000009 - -gUnk_080D1EC8:: @ 080D1EC8 - .incbin "baserom.gba", 0x0D1EC8, 0x0000009 - -gUnk_080D1ED1:: @ 080D1ED1 - .incbin "baserom.gba", 0x0D1ED1, 0x0000009 - -gUnk_080D1EDA:: @ 080D1EDA - .incbin "baserom.gba", 0x0D1EDA, 0x0000009 - -gUnk_080D1EE3:: @ 080D1EE3 - .incbin "baserom.gba", 0x0D1EE3, 0x0000009 - -gUnk_080D1EEC:: @ 080D1EEC - .incbin "baserom.gba", 0x0D1EEC, 0x0000009 - -gUnk_080D1EF5:: @ 080D1EF5 - .incbin "baserom.gba", 0x0D1EF5, 0x0000009 - -gUnk_080D1EFE:: @ 080D1EFE - .incbin "baserom.gba", 0x0D1EFE, 0x0000004 - -gUnk_080D1F02:: @ 080D1F02 - .incbin "baserom.gba", 0x0D1F02, 0x0000004 - -gUnk_080D1F06:: @ 080D1F06 - .incbin "baserom.gba", 0x0D1F06, 0x0000004 - -gUnk_080D1F0A:: @ 080D1F0A - .incbin "baserom.gba", 0x0D1F0A, 0x0000004 - -gUnk_080D1F0E:: @ 080D1F0E - .incbin "baserom.gba", 0x0D1F0E, 0x0000004 - -gUnk_080D1F12:: @ 080D1F12 - .incbin "baserom.gba", 0x0D1F12, 0x0000004 - -gUnk_080D1F16:: @ 080D1F16 - .incbin "baserom.gba", 0x0D1F16, 0x0000004 - -gUnk_080D1F1A:: @ 080D1F1A - .incbin "baserom.gba", 0x0D1F1A, 0x0000006 - -gUnk_080D1F20:: @ 080D1F20 - .incbin "baserom.gba", 0x0D1F20, 0x0000014 - -gUnk_080D1F34:: @ 080D1F34 - .incbin "baserom.gba", 0x0D1F34, 0x0000030 - -gUnk_080D1F64:: @ 080D1F64 - .incbin "baserom.gba", 0x0D1F64, 0x0000018 - -gUnk_080D1F7C:: @ 080D1F7C - .incbin "baserom.gba", 0x0D1F7C, 0x0000014 - -gUnk_080D1F90:: @ 080D1F90 - .incbin "baserom.gba", 0x0D1F90, 0x0000080 - -gUnk_080D2010:: @ 080D2010 - .incbin "baserom.gba", 0x0D2010, 0x0000020 - -gUnk_080D2030:: @ 080D2030 - .incbin "baserom.gba", 0x0D2030, 0x0000020 - -gUnk_080D2050:: @ 080D2050 - .incbin "baserom.gba", 0x0D2050, 0x0000014 - -gUnk_080D2064:: @ 080D2064 - .incbin "baserom.gba", 0x0D2064, 0x0000014 - -gUnk_080D2078:: @ 080D2078 - .incbin "baserom.gba", 0x0D2078, 0x0000014 - -gUnk_080D208C:: @ 080D208C - .incbin "baserom.gba", 0x0D208C, 0x0000014 - -gUnk_080D20A0:: @ 080D20A0 - .incbin "baserom.gba", 0x0D20A0, 0x0000014 - -gUnk_080D20B4:: @ 080D20B4 - .incbin "baserom.gba", 0x0D20B4, 0x0000014 - -gUnk_080D20C8:: @ 080D20C8 - .incbin "baserom.gba", 0x0D20C8, 0x0000014 - -gUnk_080D20DC:: @ 080D20DC - .incbin "baserom.gba", 0x0D20DC, 0x0000014 - -gUnk_080D20F0:: @ 080D20F0 - .incbin "baserom.gba", 0x0D20F0, 0x0000014 - -gUnk_080D2104:: @ 080D2104 - .incbin "baserom.gba", 0x0D2104, 0x0000014 - -gUnk_080D2118:: @ 080D2118 - .incbin "baserom.gba", 0x0D2118, 0x0000014 - -gUnk_080D212C:: @ 080D212C - .incbin "baserom.gba", 0x0D212C, 0x0000014 - -gUnk_080D2140:: @ 080D2140 - .incbin "baserom.gba", 0x0D2140, 0x0000014 - -gUnk_080D2154:: @ 080D2154 - .incbin "baserom.gba", 0x0D2154, 0x0000014 - -gUnk_080D2168:: @ 080D2168 - .incbin "baserom.gba", 0x0D2168, 0x0000014 - -gUnk_080D217C:: @ 080D217C - .incbin "baserom.gba", 0x0D217C, 0x0000014 - -gUnk_080D2190:: @ 080D2190 - .incbin "baserom.gba", 0x0D2190, 0x0000029 - -gUnk_080D21B9:: @ 080D21B9 - .incbin "baserom.gba", 0x0D21B9, 0x0000029 - -gUnk_080D21E2:: @ 080D21E2 - .incbin "baserom.gba", 0x0D21E2, 0x0000029 - -gUnk_080D220B:: @ 080D220B - .incbin "baserom.gba", 0x0D220B, 0x0000029 - -gUnk_080D2234:: @ 080D2234 - .incbin "baserom.gba", 0x0D2234, 0x0000010 - -gUnk_080D2244:: @ 080D2244 - .incbin "baserom.gba", 0x0D2244, 0x0000010 - -gUnk_080D2254:: @ 080D2254 - .incbin "baserom.gba", 0x0D2254, 0x0000010 - -gUnk_080D2264:: @ 080D2264 - .incbin "baserom.gba", 0x0D2264, 0x0000010 - -gUnk_080D2274:: @ 080D2274 - .incbin "baserom.gba", 0x0D2274, 0x0000064 - -gUnk_080D22D8:: @ 080D22D8 - .incbin "baserom.gba", 0x0D22D8, 0x0000018 - -gUnk_080D22F0:: @ 080D22F0 - .incbin "baserom.gba", 0x0D22F0, 0x0000010 - -gUnk_080D2300:: @ 080D2300 - .incbin "baserom.gba", 0x0D2300, 0x0000048 - -gUnk_080D2348:: @ 080D2348 - .incbin "baserom.gba", 0x0D2348, 0x0000020 - -gUnk_080D2368:: @ 080D2368 - .incbin "baserom.gba", 0x0D2368, 0x0000011 - -gUnk_080D2379:: @ 080D2379 - .incbin "baserom.gba", 0x0D2379, 0x0000011 - -gUnk_080D238A:: @ 080D238A - .incbin "baserom.gba", 0x0D238A, 0x0000011 - -gUnk_080D239B:: @ 080D239B - .incbin "baserom.gba", 0x0D239B, 0x0000011 - -gUnk_080D23AC:: @ 080D23AC - .incbin "baserom.gba", 0x0D23AC, 0x0000011 - -gUnk_080D23BD:: @ 080D23BD - .incbin "baserom.gba", 0x0D23BD, 0x0000011 - -gUnk_080D23CE:: @ 080D23CE - .incbin "baserom.gba", 0x0D23CE, 0x0000011 - -gUnk_080D23DF:: @ 080D23DF - .incbin "baserom.gba", 0x0D23DF, 0x0000011 - -gUnk_080D23F0:: @ 080D23F0 - .incbin "baserom.gba", 0x0D23F0, 0x0000011 - -gUnk_080D2401:: @ 080D2401 - .incbin "baserom.gba", 0x0D2401, 0x0000011 - -gUnk_080D2412:: @ 080D2412 - .incbin "baserom.gba", 0x0D2412, 0x0000011 - -gUnk_080D2423:: @ 080D2423 - .incbin "baserom.gba", 0x0D2423, 0x0000011 - -gUnk_080D2434:: @ 080D2434 - .incbin "baserom.gba", 0x0D2434, 0x0000011 - -gUnk_080D2445:: @ 080D2445 - .incbin "baserom.gba", 0x0D2445, 0x0000011 - -gUnk_080D2456:: @ 080D2456 - .incbin "baserom.gba", 0x0D2456, 0x0000011 - -gUnk_080D2467:: @ 080D2467 - .incbin "baserom.gba", 0x0D2467, 0x0000011 - -gUnk_080D2478:: @ 080D2478 - .incbin "baserom.gba", 0x0D2478, 0x0000011 - -gUnk_080D2489:: @ 080D2489 - .incbin "baserom.gba", 0x0D2489, 0x0000011 - -gUnk_080D249A:: @ 080D249A - .incbin "baserom.gba", 0x0D249A, 0x0000011 - -gUnk_080D24AB:: @ 080D24AB - .incbin "baserom.gba", 0x0D24AB, 0x0000011 - -gUnk_080D24BC:: @ 080D24BC - .incbin "baserom.gba", 0x0D24BC, 0x0000011 - -gUnk_080D24CD:: @ 080D24CD - .incbin "baserom.gba", 0x0D24CD, 0x0000011 - -gUnk_080D24DE:: @ 080D24DE - .incbin "baserom.gba", 0x0D24DE, 0x0000011 - -gUnk_080D24EF:: @ 080D24EF - .incbin "baserom.gba", 0x0D24EF, 0x0000011 - -gUnk_080D2500:: @ 080D2500 - .incbin "baserom.gba", 0x0D2500, 0x0000011 - -gUnk_080D2511:: @ 080D2511 - .incbin "baserom.gba", 0x0D2511, 0x0000011 - -gUnk_080D2522:: @ 080D2522 - .incbin "baserom.gba", 0x0D2522, 0x0000011 - -gUnk_080D2533:: @ 080D2533 - .incbin "baserom.gba", 0x0D2533, 0x0000011 - -gUnk_080D2544:: @ 080D2544 - .incbin "baserom.gba", 0x0D2544, 0x0000011 - -gUnk_080D2555:: @ 080D2555 - .incbin "baserom.gba", 0x0D2555, 0x0000011 - -gUnk_080D2566:: @ 080D2566 - .incbin "baserom.gba", 0x0D2566, 0x0000011 - -gUnk_080D2577:: @ 080D2577 - .incbin "baserom.gba", 0x0D2577, 0x0000011 - -gUnk_080D2588:: @ 080D2588 - .incbin "baserom.gba", 0x0D2588, 0x0000011 - -gUnk_080D2599:: @ 080D2599 - .incbin "baserom.gba", 0x0D2599, 0x0000011 - -gUnk_080D25AA:: @ 080D25AA - .incbin "baserom.gba", 0x0D25AA, 0x0000011 - -gUnk_080D25BB:: @ 080D25BB - .incbin "baserom.gba", 0x0D25BB, 0x0000011 - -gUnk_080D25CC:: @ 080D25CC - .incbin "baserom.gba", 0x0D25CC, 0x0000011 - -gUnk_080D25DD:: @ 080D25DD - .incbin "baserom.gba", 0x0D25DD, 0x0000011 - -gUnk_080D25EE:: @ 080D25EE - .incbin "baserom.gba", 0x0D25EE, 0x0000011 - -gUnk_080D25FF:: @ 080D25FF - .incbin "baserom.gba", 0x0D25FF, 0x0000011 - -gUnk_080D2610:: @ 080D2610 - .incbin "baserom.gba", 0x0D2610, 0x0000011 - -gUnk_080D2621:: @ 080D2621 - .incbin "baserom.gba", 0x0D2621, 0x0000011 - -gUnk_080D2632:: @ 080D2632 - .incbin "baserom.gba", 0x0D2632, 0x0000011 - -gUnk_080D2643:: @ 080D2643 - .incbin "baserom.gba", 0x0D2643, 0x0000011 - -gUnk_080D2654:: @ 080D2654 - .incbin "baserom.gba", 0x0D2654, 0x0000011 - -gUnk_080D2665:: @ 080D2665 - .incbin "baserom.gba", 0x0D2665, 0x0000011 - -gUnk_080D2676:: @ 080D2676 - .incbin "baserom.gba", 0x0D2676, 0x0000011 - -gUnk_080D2687:: @ 080D2687 - .incbin "baserom.gba", 0x0D2687, 0x0000011 - -gUnk_080D2698:: @ 080D2698 - .incbin "baserom.gba", 0x0D2698, 0x0000011 - -gUnk_080D26A9:: @ 080D26A9 - .incbin "baserom.gba", 0x0D26A9, 0x0000011 - -gUnk_080D26BA:: @ 080D26BA - .incbin "baserom.gba", 0x0D26BA, 0x0000011 - -gUnk_080D26CB:: @ 080D26CB - .incbin "baserom.gba", 0x0D26CB, 0x0000011 - -gUnk_080D26DC:: @ 080D26DC - .incbin "baserom.gba", 0x0D26DC, 0x0000011 - -gUnk_080D26ED:: @ 080D26ED - .incbin "baserom.gba", 0x0D26ED, 0x0000011 - -gUnk_080D26FE:: @ 080D26FE - .incbin "baserom.gba", 0x0D26FE, 0x0000011 - -gUnk_080D270F:: @ 080D270F - .incbin "baserom.gba", 0x0D270F, 0x0000011 - -gUnk_080D2720:: @ 080D2720 - .incbin "baserom.gba", 0x0D2720, 0x0000011 - -gUnk_080D2731:: @ 080D2731 - .incbin "baserom.gba", 0x0D2731, 0x0000011 - -gUnk_080D2742:: @ 080D2742 - .incbin "baserom.gba", 0x0D2742, 0x0000011 - -gUnk_080D2753:: @ 080D2753 - .incbin "baserom.gba", 0x0D2753, 0x0000011 - -gUnk_080D2764:: @ 080D2764 - .incbin "baserom.gba", 0x0D2764, 0x0000011 - -gUnk_080D2775:: @ 080D2775 - .incbin "baserom.gba", 0x0D2775, 0x0000011 - -gUnk_080D2786:: @ 080D2786 - .incbin "baserom.gba", 0x0D2786, 0x0000011 - -gUnk_080D2797:: @ 080D2797 - .incbin "baserom.gba", 0x0D2797, 0x0000011 - -gUnk_080D27A8:: @ 080D27A8 - .incbin "baserom.gba", 0x0D27A8, 0x0000104 - -gUnk_080D28AC:: @ 080D28AC - .incbin "baserom.gba", 0x0D28AC, 0x0000020 - -gUnk_080D28CC:: @ 080D28CC - .incbin "baserom.gba", 0x0D28CC, 0x0000010 - -gUnk_080D28DC:: @ 080D28DC - .incbin "baserom.gba", 0x0D28DC, 0x0000008 - -gUnk_080D28E4:: @ 080D28E4 - .incbin "baserom.gba", 0x0D28E4, 0x0000008 - -gUnk_080D28EC:: @ 080D28EC - .incbin "baserom.gba", 0x0D28EC, 0x0000008 - -gUnk_080D28F4:: @ 080D28F4 - .incbin "baserom.gba", 0x0D28F4, 0x0000008 - -gUnk_080D28FC:: @ 080D28FC - .incbin "baserom.gba", 0x0D28FC, 0x0000008 - -gUnk_080D2904:: @ 080D2904 - .incbin "baserom.gba", 0x0D2904, 0x0000008 - -gUnk_080D290C:: @ 080D290C - .incbin "baserom.gba", 0x0D290C, 0x0000008 - -gUnk_080D2914:: @ 080D2914 - .incbin "baserom.gba", 0x0D2914, 0x0000008 - -gUnk_080D291C:: @ 080D291C - .incbin "baserom.gba", 0x0D291C, 0x0000011 - -gUnk_080D292D:: @ 080D292D - .incbin "baserom.gba", 0x0D292D, 0x0000011 - -gUnk_080D293E:: @ 080D293E - .incbin "baserom.gba", 0x0D293E, 0x000000C - -gUnk_080D294A:: @ 080D294A - .incbin "baserom.gba", 0x0D294A, 0x0000005 - -gUnk_080D294F:: @ 080D294F - .incbin "baserom.gba", 0x0D294F, 0x0000011 - -gUnk_080D2960:: @ 080D2960 - .incbin "baserom.gba", 0x0D2960, 0x0000014 - -gUnk_080D2974:: @ 080D2974 - .incbin "baserom.gba", 0x0D2974, 0x0000014 - -gUnk_080D2988:: @ 080D2988 - .incbin "baserom.gba", 0x0D2988, 0x0000008 - -gUnk_080D2990:: @ 080D2990 - .incbin "baserom.gba", 0x0D2990, 0x0000018 - -gUnk_080D29A8:: @ 080D29A8 - .incbin "baserom.gba", 0x0D29A8, 0x0000010 - -gUnk_080D29B8:: @ 080D29B8 - .incbin "baserom.gba", 0x0D29B8, 0x0000008 - -gUnk_080D29C0:: @ 080D29C0 - .incbin "baserom.gba", 0x0D29C0, 0x0000020 - -gUnk_080D29E0:: @ 080D29E0 - .incbin "baserom.gba", 0x0D29E0, 0x00000D0 - -gUnk_080D2AB0:: @ 080D2AB0 - .incbin "baserom.gba", 0x0D2AB0, 0x000000C - -gUnk_080D2ABC:: @ 080D2ABC - .incbin "baserom.gba", 0x0D2ABC, 0x000019C - -gUnk_080D2C58:: @ 080D2C58 - .incbin "baserom.gba", 0x0D2C58, 0x00001CE - -gUnk_080D2E26:: @ 080D2E26 - .incbin "baserom.gba", 0x0D2E26, 0x0000492 - -gUnk_080D32B8:: @ 080D32B8 - .incbin "baserom.gba", 0x0D32B8, 0x0000030 - -gUnk_080D32E8:: @ 080D32E8 - .incbin "baserom.gba", 0x0D32E8, 0x0000020 - -gUnk_080D3308:: @ 080D3308 - .incbin "baserom.gba", 0x0D3308, 0x0000080 - -gUnk_080D3388:: @ 080D3388 - .incbin "baserom.gba", 0x0D3388, 0x0000040 - -gUnk_080D33C8:: @ 080D33C8 - .incbin "baserom.gba", 0x0D33C8, 0x0000090 - -gUnk_080D3458:: @ 080D3458 - .incbin "baserom.gba", 0x0D3458, 0x0000030 - -gUnk_080D3488:: @ 080D3488 - .incbin "baserom.gba", 0x0D3488, 0x0000030 - -gUnk_080D34B8:: @ 080D34B8 - .incbin "baserom.gba", 0x0D34B8, 0x0000020 - -gUnk_080D34D8:: @ 080D34D8 - .incbin "baserom.gba", 0x0D34D8, 0x0000030 - -gUnk_080D3508:: @ 080D3508 - .incbin "baserom.gba", 0x0D3508, 0x0000090 - -gUnk_080D3598:: @ 080D3598 - .incbin "baserom.gba", 0x0D3598, 0x0000040 - -gUnk_080D35D8:: @ 080D35D8 - .incbin "baserom.gba", 0x0D35D8, 0x0000070 - -gUnk_080D3648:: @ 080D3648 - .incbin "baserom.gba", 0x0D3648, 0x0000080 - -gUnk_080D36C8:: @ 080D36C8 - .incbin "baserom.gba", 0x0D36C8, 0x0000020 - -gUnk_080D36E8:: @ 080D36E8 - .incbin "baserom.gba", 0x0D36E8, 0x0000030 - -gUnk_080D3718:: @ 080D3718 - .incbin "baserom.gba", 0x0D3718, 0x0000030 - -gUnk_080D3748:: @ 080D3748 - .incbin "baserom.gba", 0x0D3748, 0x0000020 - -gUnk_080D3768:: @ 080D3768 - .incbin "baserom.gba", 0x0D3768, 0x0000020 - -gUnk_080D3788:: @ 080D3788 - .incbin "baserom.gba", 0x0D3788, 0x0000050 - -gUnk_080D37D8:: @ 080D37D8 - .incbin "baserom.gba", 0x0D37D8, 0x0000020 - -gUnk_080D37F8:: @ 080D37F8 - .incbin "baserom.gba", 0x0D37F8, 0x0000030 - -gUnk_080D3828:: @ 080D3828 - .incbin "baserom.gba", 0x0D3828, 0x0000080 - -gUnk_080D38A8:: @ 080D38A8 - .incbin "baserom.gba", 0x0D38A8, 0x0000030 - -gUnk_080D38D8:: @ 080D38D8 - .incbin "baserom.gba", 0x0D38D8, 0x0000040 - -gUnk_080D3918:: @ 080D3918 - .incbin "baserom.gba", 0x0D3918, 0x0000020 - -gUnk_080D3938:: @ 080D3938 - .incbin "baserom.gba", 0x0D3938, 0x0000017 - -gUnk_080D394F:: @ 080D394F - .incbin "baserom.gba", 0x0D394F, 0x0000029 - -gUnk_080D3978:: @ 080D3978 - .incbin "baserom.gba", 0x0D3978, 0x0000060 - -gUnk_080D39D8:: @ 080D39D8 - .incbin "baserom.gba", 0x0D39D8, 0x0000040 - -gUnk_080D3A18:: @ 080D3A18 - .incbin "baserom.gba", 0x0D3A18, 0x0000050 - -gUnk_080D3A68:: @ 080D3A68 - .incbin "baserom.gba", 0x0D3A68, 0x0000030 - -gUnk_080D3A98:: @ 080D3A98 - .incbin "baserom.gba", 0x0D3A98, 0x0000030 - -gUnk_080D3AC8:: @ 080D3AC8 - .incbin "baserom.gba", 0x0D3AC8, 0x0000020 - -gUnk_080D3AE8:: @ 080D3AE8 - .incbin "baserom.gba", 0x0D3AE8, 0x0000040 - -gUnk_080D3B28:: @ 080D3B28 - .incbin "baserom.gba", 0x0D3B28, 0x0000020 - -gUnk_080D3B48:: @ 080D3B48 - .incbin "baserom.gba", 0x0D3B48, 0x0000040 - -gUnk_080D3B88:: @ 080D3B88 - .incbin "baserom.gba", 0x0D3B88, 0x0000020 - -gUnk_080D3BA8:: @ 080D3BA8 - .incbin "baserom.gba", 0x0D3BA8, 0x0000020 - -gUnk_080D3BC8:: @ 080D3BC8 - .incbin "baserom.gba", 0x0D3BC8, 0x0000020 - -gUnk_080D3BE8:: @ 080D3BE8 - .incbin "baserom.gba", 0x0D3BE8, 0x0000010 diff --git a/data/data_080CBC38.s b/data/data_080CBC38.s new file mode 100644 index 00000000..6c805bb0 --- /dev/null +++ b/data/data_080CBC38.s @@ -0,0 +1,5305 @@ + .include "asm/macros.inc" + .include "constants/constants.inc" + + .section .rodata + +gUnk_080CBC38:: @ 080CBC38 + .incbin "baserom.gba", 0x0CBC38, 0x0000018 + +gUnk_080CBC50:: @ 080CBC50 + .incbin "baserom.gba", 0x0CBC50, 0x0000020 + +gUnk_080CBC70:: @ 080CBC70 + .incbin "baserom.gba", 0x0CBC70, 0x0000020 + +gUnk_080CBC90:: @ 080CBC90 + .incbin "baserom.gba", 0x0CBC90, 0x0000008 + +gUnk_080CBC98:: @ 080CBC98 + .incbin "baserom.gba", 0x0CBC98, 0x0000010 + +gUnk_080CBCA8:: @ 080CBCA8 + .incbin "baserom.gba", 0x0CBCA8, 0x0000010 + +gUnk_080CBCB8:: @ 080CBCB8 + .incbin "baserom.gba", 0x0CBCB8, 0x0000010 + +gUnk_080CBCC8:: @ 080CBCC8 + .incbin "baserom.gba", 0x0CBCC8, 0x0000004 + +gUnk_080CBCCC:: @ 080CBCCC + .incbin "baserom.gba", 0x0CBCCC, 0x0000004 + +gUnk_080CBCD0:: @ 080CBCD0 + .incbin "baserom.gba", 0x0CBCD0, 0x0000004 + +gUnk_080CBCD4:: @ 080CBCD4 + .incbin "baserom.gba", 0x0CBCD4, 0x0000004 + +gUnk_080CBCD8:: @ 080CBCD8 + .incbin "baserom.gba", 0x0CBCD8, 0x0000004 + +gUnk_080CBCDC:: @ 080CBCDC + .incbin "baserom.gba", 0x0CBCDC, 0x0000004 + +gUnk_080CBCE0:: @ 080CBCE0 + .incbin "baserom.gba", 0x0CBCE0, 0x0000004 + +gUnk_080CBCE4:: @ 080CBCE4 + .incbin "baserom.gba", 0x0CBCE4, 0x0000004 + +gUnk_080CBCE8:: @ 080CBCE8 + .incbin "baserom.gba", 0x0CBCE8, 0x0000004 + +gUnk_080CBCEC:: @ 080CBCEC + .incbin "baserom.gba", 0x0CBCEC, 0x0000004 + +gUnk_080CBCF0:: @ 080CBCF0 + .incbin "baserom.gba", 0x0CBCF0, 0x0000004 + +gUnk_080CBCF4:: @ 080CBCF4 + .incbin "baserom.gba", 0x0CBCF4, 0x0000004 + +gUnk_080CBCF8:: @ 080CBCF8 + .incbin "baserom.gba", 0x0CBCF8, 0x0000004 + +gUnk_080CBCFC:: @ 080CBCFC + .incbin "baserom.gba", 0x0CBCFC, 0x0000004 + +gUnk_080CBD00:: @ 080CBD00 + .incbin "baserom.gba", 0x0CBD00, 0x0000004 + +gUnk_080CBD04:: @ 080CBD04 + .incbin "baserom.gba", 0x0CBD04, 0x0000004 + +gUnk_080CBD08:: @ 080CBD08 + .incbin "baserom.gba", 0x0CBD08, 0x0000004 + +gUnk_080CBD0C:: @ 080CBD0C + .incbin "baserom.gba", 0x0CBD0C, 0x0000004 + +gUnk_080CBD10:: @ 080CBD10 + .incbin "baserom.gba", 0x0CBD10, 0x0000004 + +gUnk_080CBD14:: @ 080CBD14 + .incbin "baserom.gba", 0x0CBD14, 0x0000004 + +gUnk_080CBD18:: @ 080CBD18 + .incbin "baserom.gba", 0x0CBD18, 0x0000004 + +gUnk_080CBD1C:: @ 080CBD1C + .incbin "baserom.gba", 0x0CBD1C, 0x0000004 + +gUnk_080CBD20:: @ 080CBD20 + .incbin "baserom.gba", 0x0CBD20, 0x000002C + +gUnk_080CBD4C:: @ 080CBD4C + .incbin "baserom.gba", 0x0CBD4C, 0x000000C + +gUnk_080CBD58:: @ 080CBD58 + .incbin "baserom.gba", 0x0CBD58, 0x0000064 + +gUnk_080CBDBC:: @ 080CBDBC + .incbin "baserom.gba", 0x0CBDBC, 0x0000018 + +gUnk_080CBDD4:: @ 080CBDD4 + .incbin "baserom.gba", 0x0CBDD4, 0x0000018 + +gUnk_080CBDEC:: @ 080CBDEC + .incbin "baserom.gba", 0x0CBDEC, 0x0000008 + +gUnk_080CBDF4:: @ 080CBDF4 + .incbin "baserom.gba", 0x0CBDF4, 0x0000003 + +gUnk_080CBDF7:: @ 080CBDF7 + .incbin "baserom.gba", 0x0CBDF7, 0x0000008 + +gUnk_080CBDFF:: @ 080CBDFF + .incbin "baserom.gba", 0x0CBDFF, 0x0000003 + +gUnk_080CBE02:: @ 080CBE02 + .incbin "baserom.gba", 0x0CBE02, 0x0000019 + +gUnk_080CBE1B:: @ 080CBE1B + .incbin "baserom.gba", 0x0CBE1B, 0x0000019 + +gUnk_080CBE34:: @ 080CBE34 + .incbin "baserom.gba", 0x0CBE34, 0x0000019 + +gUnk_080CBE4D:: @ 080CBE4D + .incbin "baserom.gba", 0x0CBE4D, 0x0000019 + +gUnk_080CBE66:: @ 080CBE66 + .incbin "baserom.gba", 0x0CBE66, 0x0000024 + +gUnk_080CBE8A:: @ 080CBE8A + .incbin "baserom.gba", 0x0CBE8A, 0x0000014 + +gUnk_080CBE9E:: @ 080CBE9E + .incbin "baserom.gba", 0x0CBE9E, 0x0000006 + +gUnk_080CBEA4:: @ 080CBEA4 + .incbin "baserom.gba", 0x0CBEA4, 0x0000020 + +gUnk_080CBEC4:: @ 080CBEC4 + .incbin "baserom.gba", 0x0CBEC4, 0x0000018 + +gUnk_080CBEDC:: @ 080CBEDC + .incbin "baserom.gba", 0x0CBEDC, 0x000001C + +gUnk_080CBEF8:: @ 080CBEF8 + .incbin "baserom.gba", 0x0CBEF8, 0x0000018 + +gUnk_080CBF10:: @ 080CBF10 + .incbin "baserom.gba", 0x0CBF10, 0x0000008 + +gUnk_080CBF18:: @ 080CBF18 + .incbin "baserom.gba", 0x0CBF18, 0x0000008 + +gUnk_080CBF20:: @ 080CBF20 + .incbin "baserom.gba", 0x0CBF20, 0x0000010 + +gUnk_080CBF30:: @ 080CBF30 + .incbin "baserom.gba", 0x0CBF30, 0x0000009 + +gUnk_080CBF39:: @ 080CBF39 + .incbin "baserom.gba", 0x0CBF39, 0x0000009 + +gUnk_080CBF42:: @ 080CBF42 + .incbin "baserom.gba", 0x0CBF42, 0x0000009 + +gUnk_080CBF4B:: @ 080CBF4B + .incbin "baserom.gba", 0x0CBF4B, 0x0000009 + +gUnk_080CBF54:: @ 080CBF54 + .incbin "baserom.gba", 0x0CBF54, 0x0000009 + +gUnk_080CBF5D:: @ 080CBF5D + .incbin "baserom.gba", 0x0CBF5D, 0x0000009 + +gUnk_080CBF66:: @ 080CBF66 + .incbin "baserom.gba", 0x0CBF66, 0x0000009 + +gUnk_080CBF6F:: @ 080CBF6F + .incbin "baserom.gba", 0x0CBF6F, 0x0000009 + +gUnk_080CBF78:: @ 080CBF78 + .incbin "baserom.gba", 0x0CBF78, 0x0000024 + +gUnk_080CBF9C:: @ 080CBF9C + .incbin "baserom.gba", 0x0CBF9C, 0x0000018 + +gUnk_080CBFB4:: @ 080CBFB4 + .incbin "baserom.gba", 0x0CBFB4, 0x0000034 + +gUnk_080CBFE8:: @ 080CBFE8 + .incbin "baserom.gba", 0x0CBFE8, 0x0000004 + +gUnk_080CBFEC:: @ 080CBFEC + .incbin "baserom.gba", 0x0CBFEC, 0x000000C + +gUnk_080CBFF8:: @ 080CBFF8 + .incbin "baserom.gba", 0x0CBFF8, 0x0000008 + +gUnk_080CC000:: @ 080CC000 + .incbin "baserom.gba", 0x0CC000, 0x0000020 + +gUnk_080CC020:: @ 080CC020 + .incbin "baserom.gba", 0x0CC020, 0x0000030 + +gUnk_080CC050:: @ 080CC050 + .incbin "baserom.gba", 0x0CC050, 0x0000008 + +gUnk_080CC058:: @ 080CC058 + .incbin "baserom.gba", 0x0CC058, 0x000000B + +gUnk_080CC063:: @ 080CC063 + .incbin "baserom.gba", 0x0CC063, 0x0000011 + +gUnk_080CC074:: @ 080CC074 + .incbin "baserom.gba", 0x0CC074, 0x0000011 + +gUnk_080CC085:: @ 080CC085 + .incbin "baserom.gba", 0x0CC085, 0x000000B + +gUnk_080CC090:: @ 080CC090 + .incbin "baserom.gba", 0x0CC090, 0x0000010 + +gUnk_080CC0A0:: @ 080CC0A0 + .incbin "baserom.gba", 0x0CC0A0, 0x0000008 + +gUnk_080CC0A8:: @ 080CC0A8 + .incbin "baserom.gba", 0x0CC0A8, 0x0000012 + +gUnk_080CC0BA:: @ 080CC0BA + .incbin "baserom.gba", 0x0CC0BA, 0x0000008 + +gUnk_080CC0C2:: @ 080CC0C2 + .incbin "baserom.gba", 0x0CC0C2, 0x0000008 + +gUnk_080CC0CA:: @ 080CC0CA + .incbin "baserom.gba", 0x0CC0CA, 0x0000041 + +gUnk_080CC10B:: @ 080CC10B + .incbin "baserom.gba", 0x0CC10B, 0x000000D + +gUnk_080CC118:: @ 080CC118 + .incbin "baserom.gba", 0x0CC118, 0x0000009 + +gUnk_080CC121:: @ 080CC121 + .incbin "baserom.gba", 0x0CC121, 0x0000010 + +gUnk_080CC131:: @ 080CC131 + .incbin "baserom.gba", 0x0CC131, 0x000000D + +gUnk_080CC13E:: @ 080CC13E + .incbin "baserom.gba", 0x0CC13E, 0x000000D + +gUnk_080CC14B:: @ 080CC14B + .incbin "baserom.gba", 0x0CC14B, 0x000000D + +gUnk_080CC158:: @ 080CC158 + .incbin "baserom.gba", 0x0CC158, 0x000000D + +gUnk_080CC165:: @ 080CC165 + .incbin "baserom.gba", 0x0CC165, 0x000000F + +gUnk_080CC174:: @ 080CC174 + .incbin "baserom.gba", 0x0CC174, 0x0000028 + +gUnk_080CC19C:: @ 080CC19C + .incbin "baserom.gba", 0x0CC19C, 0x0000014 + +gUnk_080CC1B0:: @ 080CC1B0 + .incbin "baserom.gba", 0x0CC1B0, 0x0000008 + +gUnk_080CC1B8:: @ 080CC1B8 + .incbin "baserom.gba", 0x0CC1B8, 0x0000010 + +gUnk_080CC1C8:: @ 080CC1C8 + .incbin "baserom.gba", 0x0CC1C8, 0x0000014 + +gUnk_080CC1DC:: @ 080CC1DC + .incbin "baserom.gba", 0x0CC1DC, 0x0000030 + +gUnk_080CC20C:: @ 080CC20C + .incbin "baserom.gba", 0x0CC20C, 0x0000028 + +gUnk_080CC234:: @ 080CC234 + .incbin "baserom.gba", 0x0CC234, 0x000001B + +gUnk_080CC24F:: @ 080CC24F + .incbin "baserom.gba", 0x0CC24F, 0x0000009 + +gUnk_080CC258:: @ 080CC258 + .incbin "baserom.gba", 0x0CC258, 0x000000C + +gUnk_080CC264:: @ 080CC264 + .incbin "baserom.gba", 0x0CC264, 0x0000008 + +gUnk_080CC26C:: @ 080CC26C + .incbin "baserom.gba", 0x0CC26C, 0x000000C + +gUnk_080CC278:: @ 080CC278 + .incbin "baserom.gba", 0x0CC278, 0x0000004 + +gUnk_080CC27C:: @ 080CC27C + .incbin "baserom.gba", 0x0CC27C, 0x0000020 + +gUnk_080CC29C:: @ 080CC29C + .incbin "baserom.gba", 0x0CC29C, 0x0000020 + +gUnk_080CC2BC:: @ 080CC2BC + .incbin "baserom.gba", 0x0CC2BC, 0x0000020 + +gUnk_080CC2DC:: @ 080CC2DC + .incbin "baserom.gba", 0x0CC2DC, 0x0000003 + +gUnk_080CC2DF:: @ 080CC2DF + .incbin "baserom.gba", 0x0CC2DF, 0x0000004 + +gUnk_080CC2E3:: @ 080CC2E3 + .incbin "baserom.gba", 0x0CC2E3, 0x0000004 + +gUnk_080CC2E7:: @ 080CC2E7 + .incbin "baserom.gba", 0x0CC2E7, 0x0000004 + +gUnk_080CC2EB:: @ 080CC2EB + .incbin "baserom.gba", 0x0CC2EB, 0x0000004 + +gUnk_080CC2EF:: @ 080CC2EF + .incbin "baserom.gba", 0x0CC2EF, 0x0000005 + +gUnk_080CC2F4:: @ 080CC2F4 + .incbin "baserom.gba", 0x0CC2F4, 0x0000011 + +gUnk_080CC305:: @ 080CC305 + .incbin "baserom.gba", 0x0CC305, 0x0000019 + +gUnk_080CC31E:: @ 080CC31E + .incbin "baserom.gba", 0x0CC31E, 0x000000D + +gUnk_080CC32B:: @ 080CC32B + .incbin "baserom.gba", 0x0CC32B, 0x000000D + +gUnk_080CC338:: @ 080CC338 + .incbin "baserom.gba", 0x0CC338, 0x0000005 + +gUnk_080CC33D:: @ 080CC33D + .incbin "baserom.gba", 0x0CC33D, 0x0000009 + +gUnk_080CC346:: @ 080CC346 + .incbin "baserom.gba", 0x0CC346, 0x000000D + +gUnk_080CC353:: @ 080CC353 + .incbin "baserom.gba", 0x0CC353, 0x0000009 + +gUnk_080CC35C:: @ 080CC35C + .incbin "baserom.gba", 0x0CC35C, 0x000000D + +gUnk_080CC369:: @ 080CC369 + .incbin "baserom.gba", 0x0CC369, 0x0000009 + +gUnk_080CC372:: @ 080CC372 + .incbin "baserom.gba", 0x0CC372, 0x0000009 + +gUnk_080CC37B:: @ 080CC37B + .incbin "baserom.gba", 0x0CC37B, 0x0000021 + +gUnk_080CC39C:: @ 080CC39C + .incbin "baserom.gba", 0x0CC39C, 0x0000038 + +gUnk_080CC3D4:: @ 080CC3D4 + .incbin "baserom.gba", 0x0CC3D4, 0x0000038 + +gUnk_080CC40C:: @ 080CC40C + .incbin "baserom.gba", 0x0CC40C, 0x0000034 + +gUnk_080CC440:: @ 080CC440 + .incbin "baserom.gba", 0x0CC440, 0x0000038 + +gUnk_080CC478:: @ 080CC478 + .incbin "baserom.gba", 0x0CC478, 0x0000038 + +gUnk_080CC4B0:: @ 080CC4B0 + .incbin "baserom.gba", 0x0CC4B0, 0x0000065 + +gUnk_080CC515:: @ 080CC515 + .incbin "baserom.gba", 0x0CC515, 0x000006D + +gUnk_080CC582:: @ 080CC582 + .incbin "baserom.gba", 0x0CC582, 0x000006D + +gUnk_080CC5EF:: @ 080CC5EF + .incbin "baserom.gba", 0x0CC5EF, 0x000006D + +gUnk_080CC65C:: @ 080CC65C + .incbin "baserom.gba", 0x0CC65C, 0x0000021 + +gUnk_080CC67D:: @ 080CC67D + .incbin "baserom.gba", 0x0CC67D, 0x0000007 + +gUnk_080CC684:: @ 080CC684 + .incbin "baserom.gba", 0x0CC684, 0x0000018 + +gUnk_080CC69C:: @ 080CC69C + .incbin "baserom.gba", 0x0CC69C, 0x0000038 + +gUnk_080CC6D4:: @ 080CC6D4 + .incbin "baserom.gba", 0x0CC6D4, 0x0000028 + +gUnk_080CC6FC:: @ 080CC6FC + .incbin "baserom.gba", 0x0CC6FC, 0x0000018 + +gUnk_080CC714:: @ 080CC714 + .incbin "baserom.gba", 0x0CC714, 0x0000020 + +gUnk_080CC734:: @ 080CC734 + .incbin "baserom.gba", 0x0CC734, 0x0000025 + +gUnk_080CC759:: @ 080CC759 + .incbin "baserom.gba", 0x0CC759, 0x0000015 + +gUnk_080CC76E:: @ 080CC76E + .incbin "baserom.gba", 0x0CC76E, 0x0000012 + +gUnk_080CC780:: @ 080CC780 + .incbin "baserom.gba", 0x0CC780, 0x0000010 + +gUnk_080CC790:: @ 080CC790 + .incbin "baserom.gba", 0x0CC790, 0x0000018 + +gUnk_080CC7A8:: @ 080CC7A8 + .incbin "baserom.gba", 0x0CC7A8, 0x0000014 + +gUnk_080CC7BC:: @ 080CC7BC + .incbin "baserom.gba", 0x0CC7BC, 0x0000004 + +gUnk_080CC7C0:: @ 080CC7C0 + .incbin "baserom.gba", 0x0CC7C0, 0x0000010 + +gUnk_080CC7D0:: @ 080CC7D0 + .incbin "baserom.gba", 0x0CC7D0, 0x0000008 + +gUnk_080CC7D8:: @ 080CC7D8 + .incbin "baserom.gba", 0x0CC7D8, 0x0000008 + +gUnk_080CC7E0:: @ 080CC7E0 + .incbin "baserom.gba", 0x0CC7E0, 0x0000009 + +gUnk_080CC7E9:: @ 080CC7E9 + .incbin "baserom.gba", 0x0CC7E9, 0x0000009 + +gUnk_080CC7F2:: @ 080CC7F2 + .incbin "baserom.gba", 0x0CC7F2, 0x0000009 + +gUnk_080CC7FB:: @ 080CC7FB + .incbin "baserom.gba", 0x0CC7FB, 0x0000009 + +gUnk_080CC804:: @ 080CC804 + .incbin "baserom.gba", 0x0CC804, 0x0000011 + +gUnk_080CC815:: @ 080CC815 + .incbin "baserom.gba", 0x0CC815, 0x0000011 + +gUnk_080CC826:: @ 080CC826 + .incbin "baserom.gba", 0x0CC826, 0x0000011 + +gUnk_080CC837:: @ 080CC837 + .incbin "baserom.gba", 0x0CC837, 0x0000011 + +gUnk_080CC848:: @ 080CC848 + .incbin "baserom.gba", 0x0CC848, 0x0000011 + +gUnk_080CC859:: @ 080CC859 + .incbin "baserom.gba", 0x0CC859, 0x0000011 + +gUnk_080CC86A:: @ 080CC86A + .incbin "baserom.gba", 0x0CC86A, 0x0000011 + +gUnk_080CC87B:: @ 080CC87B + .incbin "baserom.gba", 0x0CC87B, 0x0000011 + +gUnk_080CC88C:: @ 080CC88C + .incbin "baserom.gba", 0x0CC88C, 0x0000015 + +gUnk_080CC8A1:: @ 080CC8A1 + .incbin "baserom.gba", 0x0CC8A1, 0x0000015 + +gUnk_080CC8B6:: @ 080CC8B6 + .incbin "baserom.gba", 0x0CC8B6, 0x0000015 + +gUnk_080CC8CB:: @ 080CC8CB + .incbin "baserom.gba", 0x0CC8CB, 0x0000015 + +gUnk_080CC8E0:: @ 080CC8E0 + .incbin "baserom.gba", 0x0CC8E0, 0x0000044 + +gUnk_080CC924:: @ 080CC924 + .incbin "baserom.gba", 0x0CC924, 0x0000008 + +gUnk_080CC92C:: @ 080CC92C + .incbin "baserom.gba", 0x0CC92C, 0x0000008 + +gUnk_080CC934:: @ 080CC934 + .incbin "baserom.gba", 0x0CC934, 0x0000008 + +gUnk_080CC93C:: @ 080CC93C + .incbin "baserom.gba", 0x0CC93C, 0x0000008 + +gUnk_080CC944:: @ 080CC944 + .incbin "baserom.gba", 0x0CC944, 0x0000010 + +gUnk_080CC954:: @ 080CC954 + .incbin "baserom.gba", 0x0CC954, 0x000006C + +gUnk_080CC9C0:: @ 080CC9C0 + .incbin "baserom.gba", 0x0CC9C0, 0x0000008 + +gUnk_080CC9C8:: @ 080CC9C8 + .incbin "baserom.gba", 0x0CC9C8, 0x0000018 + +gUnk_080CC9E0:: @ 080CC9E0 + .incbin "baserom.gba", 0x0CC9E0, 0x0000024 + +gUnk_080CCA04:: @ 080CCA04 + .incbin "baserom.gba", 0x0CCA04, 0x0000006 + +gUnk_080CCA0A:: @ 080CCA0A + .incbin "baserom.gba", 0x0CCA0A, 0x0000015 + +gUnk_080CCA1F:: @ 080CCA1F + .incbin "baserom.gba", 0x0CCA1F, 0x0000015 + +gUnk_080CCA34:: @ 080CCA34 + .incbin "baserom.gba", 0x0CCA34, 0x0000015 + +gUnk_080CCA49:: @ 080CCA49 + .incbin "baserom.gba", 0x0CCA49, 0x0000015 + +gUnk_080CCA5E:: @ 080CCA5E + .incbin "baserom.gba", 0x0CCA5E, 0x0000011 + +gUnk_080CCA6F:: @ 080CCA6F + .incbin "baserom.gba", 0x0CCA6F, 0x0000011 + +gUnk_080CCA80:: @ 080CCA80 + .incbin "baserom.gba", 0x0CCA80, 0x0000011 + +gUnk_080CCA91:: @ 080CCA91 + .incbin "baserom.gba", 0x0CCA91, 0x0000011 + +gUnk_080CCAA2:: @ 080CCAA2 + .incbin "baserom.gba", 0x0CCAA2, 0x0000005 + +gUnk_080CCAA7:: @ 080CCAA7 + .incbin "baserom.gba", 0x0CCAA7, 0x0000005 + +gUnk_080CCAAC:: @ 080CCAAC + .incbin "baserom.gba", 0x0CCAAC, 0x0000005 + +gUnk_080CCAB1:: @ 080CCAB1 + .incbin "baserom.gba", 0x0CCAB1, 0x0000005 + +gUnk_080CCAB6:: @ 080CCAB6 + .incbin "baserom.gba", 0x0CCAB6, 0x0000010 + +gUnk_080CCAC6:: @ 080CCAC6 + .incbin "baserom.gba", 0x0CCAC6, 0x0000010 + +gUnk_080CCAD6:: @ 080CCAD6 + .incbin "baserom.gba", 0x0CCAD6, 0x0000010 + +gUnk_080CCAE6:: @ 080CCAE6 + .incbin "baserom.gba", 0x0CCAE6, 0x0000010 + +gUnk_080CCAF6:: @ 080CCAF6 + .incbin "baserom.gba", 0x0CCAF6, 0x0000011 + +gUnk_080CCB07:: @ 080CCB07 + .incbin "baserom.gba", 0x0CCB07, 0x0000011 + +gUnk_080CCB18:: @ 080CCB18 + .incbin "baserom.gba", 0x0CCB18, 0x0000011 + +gUnk_080CCB29:: @ 080CCB29 + .incbin "baserom.gba", 0x0CCB29, 0x0000011 + +gUnk_080CCB3A:: @ 080CCB3A + .incbin "baserom.gba", 0x0CCB3A, 0x000000D + +gUnk_080CCB47:: @ 080CCB47 + .incbin "baserom.gba", 0x0CCB47, 0x000000D + +gUnk_080CCB54:: @ 080CCB54 + .incbin "baserom.gba", 0x0CCB54, 0x000000D + +gUnk_080CCB61:: @ 080CCB61 + .incbin "baserom.gba", 0x0CCB61, 0x000000D + +gUnk_080CCB6E:: @ 080CCB6E + .incbin "baserom.gba", 0x0CCB6E, 0x0000011 + +gUnk_080CCB7F:: @ 080CCB7F + .incbin "baserom.gba", 0x0CCB7F, 0x0000015 + +gUnk_080CCB94:: @ 080CCB94 + .incbin "baserom.gba", 0x0CCB94, 0x000006C + +gUnk_080CCC00:: @ 080CCC00 + .incbin "baserom.gba", 0x0CCC00, 0x0000018 + +gUnk_080CCC18:: @ 080CCC18 + .incbin "baserom.gba", 0x0CCC18, 0x000001C + +gUnk_080CCC34:: @ 080CCC34 + .incbin "baserom.gba", 0x0CCC34, 0x0000008 + +gUnk_080CCC3C:: @ 080CCC3C + .incbin "baserom.gba", 0x0CCC3C, 0x0000008 + +gUnk_080CCC44:: @ 080CCC44 + .incbin "baserom.gba", 0x0CCC44, 0x0000003 + +gUnk_080CCC47:: @ 080CCC47 + .incbin "baserom.gba", 0x0CCC47, 0x0000003 + +gUnk_080CCC4A:: @ 080CCC4A + .incbin "baserom.gba", 0x0CCC4A, 0x0000015 + +gUnk_080CCC5F:: @ 080CCC5F + .incbin "baserom.gba", 0x0CCC5F, 0x0000015 + +gUnk_080CCC74:: @ 080CCC74 + .incbin "baserom.gba", 0x0CCC74, 0x0000028 + +gUnk_080CCC9C:: @ 080CCC9C + .incbin "baserom.gba", 0x0CCC9C, 0x0000018 + +gUnk_080CCCB4:: @ 080CCCB4 + .incbin "baserom.gba", 0x0CCCB4, 0x0000015 + +gUnk_080CCCC9:: @ 080CCCC9 + .incbin "baserom.gba", 0x0CCCC9, 0x0000015 + +gUnk_080CCCDE:: @ 080CCCDE + .incbin "baserom.gba", 0x0CCCDE, 0x0000028 + +gUnk_080CCD06:: @ 080CCD06 + .incbin "baserom.gba", 0x0CCD06, 0x000001A + +gUnk_080CCD20:: @ 080CCD20 + .incbin "baserom.gba", 0x0CCD20, 0x0000024 + +gUnk_080CCD44:: @ 080CCD44 + .incbin "baserom.gba", 0x0CCD44, 0x000001C + +gUnk_080CCD60:: @ 080CCD60 + .incbin "baserom.gba", 0x0CCD60, 0x0000018 + +gUnk_080CCD78:: @ 080CCD78 + .incbin "baserom.gba", 0x0CCD78, 0x0000010 + +gUnk_080CCD88:: @ 080CCD88 + .incbin "baserom.gba", 0x0CCD88, 0x0000018 + +gUnk_080CCDA0:: @ 080CCDA0 + .incbin "baserom.gba", 0x0CCDA0, 0x0000008 + +gUnk_080CCDA8:: @ 080CCDA8 + .incbin "baserom.gba", 0x0CCDA8, 0x0000020 + +gUnk_080CCDC8:: @ 080CCDC8 + .incbin "baserom.gba", 0x0CCDC8, 0x000000C + +gUnk_080CCDD4:: @ 080CCDD4 + .incbin "baserom.gba", 0x0CCDD4, 0x0000008 + +gUnk_080CCDDC:: @ 080CCDDC + .incbin "baserom.gba", 0x0CCDDC, 0x0000011 + +gUnk_080CCDED:: @ 080CCDED + .incbin "baserom.gba", 0x0CCDED, 0x0000011 + +gUnk_080CCDFE:: @ 080CCDFE + .incbin "baserom.gba", 0x0CCDFE, 0x0000011 + +gUnk_080CCE0F:: @ 080CCE0F + .incbin "baserom.gba", 0x0CCE0F, 0x0000011 + +gUnk_080CCE20:: @ 080CCE20 + .incbin "baserom.gba", 0x0CCE20, 0x0000011 + +gUnk_080CCE31:: @ 080CCE31 + .incbin "baserom.gba", 0x0CCE31, 0x0000011 + +gUnk_080CCE42:: @ 080CCE42 + .incbin "baserom.gba", 0x0CCE42, 0x0000011 + +gUnk_080CCE53:: @ 080CCE53 + .incbin "baserom.gba", 0x0CCE53, 0x0000011 + +gUnk_080CCE64:: @ 080CCE64 + .incbin "baserom.gba", 0x0CCE64, 0x0000024 + +gUnk_080CCE88:: @ 080CCE88 + .incbin "baserom.gba", 0x0CCE88, 0x0000011 + +gUnk_080CCE99:: @ 080CCE99 + .incbin "baserom.gba", 0x0CCE99, 0x0000011 + +gUnk_080CCEAA:: @ 080CCEAA + .incbin "baserom.gba", 0x0CCEAA, 0x0000011 + +gUnk_080CCEBB:: @ 080CCEBB + .incbin "baserom.gba", 0x0CCEBB, 0x0000011 + +gUnk_080CCECC:: @ 080CCECC + .incbin "baserom.gba", 0x0CCECC, 0x0000011 + +gUnk_080CCEDD:: @ 080CCEDD + .incbin "baserom.gba", 0x0CCEDD, 0x0000011 + +gUnk_080CCEEE:: @ 080CCEEE + .incbin "baserom.gba", 0x0CCEEE, 0x0000011 + +gUnk_080CCEFF:: @ 080CCEFF + .incbin "baserom.gba", 0x0CCEFF, 0x0000011 + +gUnk_080CCF10:: @ 080CCF10 + .incbin "baserom.gba", 0x0CCF10, 0x0000005 + +gUnk_080CCF15:: @ 080CCF15 + .incbin "baserom.gba", 0x0CCF15, 0x0000005 + +gUnk_080CCF1A:: @ 080CCF1A + .incbin "baserom.gba", 0x0CCF1A, 0x0000005 + +gUnk_080CCF1F:: @ 080CCF1F + .incbin "baserom.gba", 0x0CCF1F, 0x0000005 + +gUnk_080CCF24:: @ 080CCF24 + .incbin "baserom.gba", 0x0CCF24, 0x000001D + +gUnk_080CCF41:: @ 080CCF41 + .incbin "baserom.gba", 0x0CCF41, 0x000001D + +gUnk_080CCF5E:: @ 080CCF5E + .incbin "baserom.gba", 0x0CCF5E, 0x000001D + +gUnk_080CCF7B:: @ 080CCF7B + .incbin "baserom.gba", 0x0CCF7B, 0x000001D + +gUnk_080CCF98:: @ 080CCF98 + .incbin "baserom.gba", 0x0CCF98, 0x0000011 + +gUnk_080CCFA9:: @ 080CCFA9 + .incbin "baserom.gba", 0x0CCFA9, 0x0000011 + +gUnk_080CCFBA:: @ 080CCFBA + .incbin "baserom.gba", 0x0CCFBA, 0x0000011 + +gUnk_080CCFCB:: @ 080CCFCB + .incbin "baserom.gba", 0x0CCFCB, 0x0000011 + +gUnk_080CCFDC:: @ 080CCFDC + .incbin "baserom.gba", 0x0CCFDC, 0x0000054 + +gUnk_080CD030:: @ 080CD030 + .incbin "baserom.gba", 0x0CD030, 0x000000C + +gUnk_080CD03C:: @ 080CD03C + .incbin "baserom.gba", 0x0CD03C, 0x0000004 + +gUnk_080CD040:: @ 080CD040 + .incbin "baserom.gba", 0x0CD040, 0x0000004 + +gUnk_080CD044:: @ 080CD044 + .incbin "baserom.gba", 0x0CD044, 0x0000025 + +gUnk_080CD069:: @ 080CD069 + .incbin "baserom.gba", 0x0CD069, 0x0000007 + +gUnk_080CD070:: @ 080CD070 + .incbin "baserom.gba", 0x0CD070, 0x000000C + +gUnk_080CD07C:: @ 080CD07C + .incbin "baserom.gba", 0x0CD07C, 0x0000018 + +gUnk_080CD094:: @ 080CD094 + .incbin "baserom.gba", 0x0CD094, 0x000001C + +gUnk_080CD0B0:: @ 080CD0B0 + .incbin "baserom.gba", 0x0CD0B0, 0x0000008 + +gUnk_080CD0B8:: @ 080CD0B8 + .incbin "baserom.gba", 0x0CD0B8, 0x000000D + +gUnk_080CD0C5:: @ 080CD0C5 + .incbin "baserom.gba", 0x0CD0C5, 0x0000015 + +gUnk_080CD0DA:: @ 080CD0DA + .incbin "baserom.gba", 0x0CD0DA, 0x0000006 + +gUnk_080CD0E0:: @ 080CD0E0 + .incbin "baserom.gba", 0x0CD0E0, 0x0000010 + +gUnk_080CD0F0:: @ 080CD0F0 + .incbin "baserom.gba", 0x0CD0F0, 0x0000018 + +gUnk_080CD108:: @ 080CD108 + .incbin "baserom.gba", 0x0CD108, 0x0000018 + +gUnk_080CD120:: @ 080CD120 + .incbin "baserom.gba", 0x0CD120, 0x0000014 + +gUnk_080CD134:: @ 080CD134 + .incbin "baserom.gba", 0x0CD134, 0x000000C + +gUnk_080CD140:: @ 080CD140 + .incbin "baserom.gba", 0x0CD140, 0x0000018 + +gUnk_080CD158:: @ 080CD158 + .incbin "baserom.gba", 0x0CD158, 0x0000014 + +gUnk_080CD16C:: @ 080CD16C + .incbin "baserom.gba", 0x0CD16C, 0x0000008 + +gUnk_080CD174:: @ 080CD174 + .incbin "baserom.gba", 0x0CD174, 0x0000008 + +gUnk_080CD17C:: @ 080CD17C + .incbin "baserom.gba", 0x0CD17C, 0x0000008 + +gUnk_080CD184:: @ 080CD184 + .incbin "baserom.gba", 0x0CD184, 0x0000011 + +gUnk_080CD195:: @ 080CD195 + .incbin "baserom.gba", 0x0CD195, 0x0000041 + +gUnk_080CD1D6:: @ 080CD1D6 + .incbin "baserom.gba", 0x0CD1D6, 0x0000041 + +gUnk_080CD217:: @ 080CD217 + .incbin "baserom.gba", 0x0CD217, 0x0000009 + +gUnk_080CD220:: @ 080CD220 + .incbin "baserom.gba", 0x0CD220, 0x0000014 + +gUnk_080CD234:: @ 080CD234 + .incbin "baserom.gba", 0x0CD234, 0x0000018 + +gUnk_080CD24C:: @ 080CD24C + .incbin "baserom.gba", 0x0CD24C, 0x000000C + +gUnk_080CD258:: @ 080CD258 + .incbin "baserom.gba", 0x0CD258, 0x000001C + +gUnk_080CD274:: @ 080CD274 + .incbin "baserom.gba", 0x0CD274, 0x0000008 + +gUnk_080CD27C:: @ 080CD27C + .incbin "baserom.gba", 0x0CD27C, 0x000001C + +gUnk_080CD298:: @ 080CD298 + .incbin "baserom.gba", 0x0CD298, 0x0000010 + +gUnk_080CD2A8:: @ 080CD2A8 + .incbin "baserom.gba", 0x0CD2A8, 0x0000004 + +gUnk_080CD2AC:: @ 080CD2AC + .incbin "baserom.gba", 0x0CD2AC, 0x0000011 + +gUnk_080CD2BD:: @ 080CD2BD + .incbin "baserom.gba", 0x0CD2BD, 0x000000B + +gUnk_080CD2C8:: @ 080CD2C8 + .incbin "baserom.gba", 0x0CD2C8, 0x0000010 + +gUnk_080CD2D8:: @ 080CD2D8 + .incbin "baserom.gba", 0x0CD2D8, 0x0000018 + +gUnk_080CD2F0:: @ 080CD2F0 + .incbin "baserom.gba", 0x0CD2F0, 0x0000024 + +gUnk_080CD314:: @ 080CD314 + .incbin "baserom.gba", 0x0CD314, 0x0000004 + +gUnk_080CD318:: @ 080CD318 + .incbin "baserom.gba", 0x0CD318, 0x0000004 + +gUnk_080CD31C:: @ 080CD31C + .incbin "baserom.gba", 0x0CD31C, 0x0000011 + +gUnk_080CD32D:: @ 080CD32D + .incbin "baserom.gba", 0x0CD32D, 0x0000011 + +gUnk_080CD33E:: @ 080CD33E + .incbin "baserom.gba", 0x0CD33E, 0x0000011 + +gUnk_080CD34F:: @ 080CD34F + .incbin "baserom.gba", 0x0CD34F, 0x0000011 + +gUnk_080CD360:: @ 080CD360 + .incbin "baserom.gba", 0x0CD360, 0x0000008 + +gUnk_080CD368:: @ 080CD368 + .incbin "baserom.gba", 0x0CD368, 0x0000008 + +gUnk_080CD370:: @ 080CD370 + .incbin "baserom.gba", 0x0CD370, 0x0000008 + +gUnk_080CD378:: @ 080CD378 + .incbin "baserom.gba", 0x0CD378, 0x0000008 + +gUnk_080CD380:: @ 080CD380 + .incbin "baserom.gba", 0x0CD380, 0x0000011 + +gUnk_080CD391:: @ 080CD391 + .incbin "baserom.gba", 0x0CD391, 0x0000007 + +gUnk_080CD398:: @ 080CD398 + .incbin "baserom.gba", 0x0CD398, 0x000002C + +gUnk_080CD3C4:: @ 080CD3C4 + .incbin "baserom.gba", 0x0CD3C4, 0x0000010 + +gUnk_080CD3D4:: @ 080CD3D4 + .incbin "baserom.gba", 0x0CD3D4, 0x0000008 + +gUnk_080CD3DC:: @ 080CD3DC + .incbin "baserom.gba", 0x0CD3DC, 0x0000008 + +gUnk_080CD3E4:: @ 080CD3E4 + .incbin "baserom.gba", 0x0CD3E4, 0x0000018 + +gUnk_080CD3FC:: @ 080CD3FC + .incbin "baserom.gba", 0x0CD3FC, 0x000000C + +gUnk_080CD408:: @ 080CD408 + .incbin "baserom.gba", 0x0CD408, 0x0000024 + +gUnk_080CD42C:: @ 080CD42C + .incbin "baserom.gba", 0x0CD42C, 0x000000C + +gUnk_080CD438:: @ 080CD438 + .incbin "baserom.gba", 0x0CD438, 0x0000018 + +gUnk_080CD450:: @ 080CD450 + .incbin "baserom.gba", 0x0CD450, 0x000000C + +gUnk_080CD45C:: @ 080CD45C + .incbin "baserom.gba", 0x0CD45C, 0x0000008 + +gUnk_080CD464:: @ 080CD464 + .incbin "baserom.gba", 0x0CD464, 0x0000010 + +gUnk_080CD474:: @ 080CD474 + .incbin "baserom.gba", 0x0CD474, 0x0000011 + +gUnk_080CD485:: @ 080CD485 + .incbin "baserom.gba", 0x0CD485, 0x0000011 + +gUnk_080CD496:: @ 080CD496 + .incbin "baserom.gba", 0x0CD496, 0x0000011 + +gUnk_080CD4A7:: @ 080CD4A7 + .incbin "baserom.gba", 0x0CD4A7, 0x0000011 + +gUnk_080CD4B8:: @ 080CD4B8 + .incbin "baserom.gba", 0x0CD4B8, 0x0000011 + +gUnk_080CD4C9:: @ 080CD4C9 + .incbin "baserom.gba", 0x0CD4C9, 0x0000011 + +gUnk_080CD4DA:: @ 080CD4DA + .incbin "baserom.gba", 0x0CD4DA, 0x0000011 + +gUnk_080CD4EB:: @ 080CD4EB + .incbin "baserom.gba", 0x0CD4EB, 0x0000011 + +gUnk_080CD4FC:: @ 080CD4FC + .incbin "baserom.gba", 0x0CD4FC, 0x0000004 + +gUnk_080CD500:: @ 080CD500 + .incbin "baserom.gba", 0x0CD500, 0x0000004 + +gUnk_080CD504:: @ 080CD504 + .incbin "baserom.gba", 0x0CD504, 0x0000004 + +gUnk_080CD508:: @ 080CD508 + .incbin "baserom.gba", 0x0CD508, 0x0000004 + +gUnk_080CD50C:: @ 080CD50C + .incbin "baserom.gba", 0x0CD50C, 0x0000034 + +gUnk_080CD540:: @ 080CD540 + .incbin "baserom.gba", 0x0CD540, 0x0000018 + +gUnk_080CD558:: @ 080CD558 + .incbin "baserom.gba", 0x0CD558, 0x0000010 + +gUnk_080CD568:: @ 080CD568 + .incbin "baserom.gba", 0x0CD568, 0x0000018 + +gUnk_080CD580:: @ 080CD580 + .incbin "baserom.gba", 0x0CD580, 0x000000C + +gUnk_080CD58C:: @ 080CD58C + .incbin "baserom.gba", 0x0CD58C, 0x0000018 + +gUnk_080CD5A4:: @ 080CD5A4 + .incbin "baserom.gba", 0x0CD5A4, 0x0000011 + +gUnk_080CD5B5:: @ 080CD5B5 + .incbin "baserom.gba", 0x0CD5B5, 0x0000013 + +gUnk_080CD5C8:: @ 080CD5C8 + .incbin "baserom.gba", 0x0CD5C8, 0x000000C + +gUnk_080CD5D4:: @ 080CD5D4 + .incbin "baserom.gba", 0x0CD5D4, 0x0000018 + +gUnk_080CD5EC:: @ 080CD5EC + .incbin "baserom.gba", 0x0CD5EC, 0x0000014 + +gUnk_080CD600:: @ 080CD600 + .incbin "baserom.gba", 0x0CD600, 0x0000018 + +gUnk_080CD618:: @ 080CD618 + .incbin "baserom.gba", 0x0CD618, 0x0000010 + +gUnk_080CD628:: @ 080CD628 + .incbin "baserom.gba", 0x0CD628, 0x0000011 + +gUnk_080CD639:: @ 080CD639 + .incbin "baserom.gba", 0x0CD639, 0x0000011 + +gUnk_080CD64A:: @ 080CD64A + .incbin "baserom.gba", 0x0CD64A, 0x0000011 + +gUnk_080CD65B:: @ 080CD65B + .incbin "baserom.gba", 0x0CD65B, 0x0000011 + +gUnk_080CD66C:: @ 080CD66C + .incbin "baserom.gba", 0x0CD66C, 0x0000005 + +gUnk_080CD671:: @ 080CD671 + .incbin "baserom.gba", 0x0CD671, 0x0000005 + +gUnk_080CD676:: @ 080CD676 + .incbin "baserom.gba", 0x0CD676, 0x0000009 + +gUnk_080CD67F:: @ 080CD67F + .incbin "baserom.gba", 0x0CD67F, 0x0000009 + +gUnk_080CD688:: @ 080CD688 + .incbin "baserom.gba", 0x0CD688, 0x0000024 + +gUnk_080CD6AC:: @ 080CD6AC + .incbin "baserom.gba", 0x0CD6AC, 0x0000024 + +gUnk_080CD6D0:: @ 080CD6D0 + .incbin "baserom.gba", 0x0CD6D0, 0x000002C + +gUnk_080CD6FC:: @ 080CD6FC + .incbin "baserom.gba", 0x0CD6FC, 0x0000018 + +gUnk_080CD714:: @ 080CD714 + .incbin "baserom.gba", 0x0CD714, 0x0000014 + +gUnk_080CD728:: @ 080CD728 + .incbin "baserom.gba", 0x0CD728, 0x0000008 + +gUnk_080CD730:: @ 080CD730 + .incbin "baserom.gba", 0x0CD730, 0x0000010 + +gUnk_080CD740:: @ 080CD740 + .incbin "baserom.gba", 0x0CD740, 0x0000008 + +gUnk_080CD748:: @ 080CD748 + .incbin "baserom.gba", 0x0CD748, 0x0000014 + +gUnk_080CD75C:: @ 080CD75C + .incbin "baserom.gba", 0x0CD75C, 0x0000018 + +gUnk_080CD774:: @ 080CD774 + .incbin "baserom.gba", 0x0CD774, 0x0000044 + +gUnk_080CD7B8:: @ 080CD7B8 + .incbin "baserom.gba", 0x0CD7B8, 0x000000C + +gUnk_080CD7C4:: @ 080CD7C4 + .incbin "baserom.gba", 0x0CD7C4, 0x0000020 + +gUnk_080CD7E4:: @ 080CD7E4 + .incbin "baserom.gba", 0x0CD7E4, 0x0000014 + +gUnk_080CD7F8:: @ 080CD7F8 + .incbin "baserom.gba", 0x0CD7F8, 0x0000018 + +gUnk_080CD810:: @ 080CD810 + .incbin "baserom.gba", 0x0CD810, 0x0000018 + +gUnk_080CD828:: @ 080CD828 + .incbin "baserom.gba", 0x0CD828, 0x0000018 + +gUnk_080CD840:: @ 080CD840 + .incbin "baserom.gba", 0x0CD840, 0x0000004 + +gUnk_080CD844:: @ 080CD844 + .incbin "baserom.gba", 0x0CD844, 0x0000004 + +gUnk_080CD848:: @ 080CD848 + .incbin "baserom.gba", 0x0CD848, 0x0000008 + +gUnk_080CD850:: @ 080CD850 + .incbin "baserom.gba", 0x0CD850, 0x0000004 + +gUnk_080CD854:: @ 080CD854 + .incbin "baserom.gba", 0x0CD854, 0x0000004 + +gUnk_080CD858:: @ 080CD858 + .incbin "baserom.gba", 0x0CD858, 0x0000003 + +gUnk_080CD85B:: @ 080CD85B + .incbin "baserom.gba", 0x0CD85B, 0x0000003 + +gUnk_080CD85E:: @ 080CD85E + .incbin "baserom.gba", 0x0CD85E, 0x0000003 + +gUnk_080CD861:: @ 080CD861 + .incbin "baserom.gba", 0x0CD861, 0x0000003 + +gUnk_080CD864:: @ 080CD864 + .incbin "baserom.gba", 0x0CD864, 0x0000003 + +gUnk_080CD867:: @ 080CD867 + .incbin "baserom.gba", 0x0CD867, 0x0000005 + +gUnk_080CD86C:: @ 080CD86C + .incbin "baserom.gba", 0x0CD86C, 0x000000C + +gUnk_080CD878:: @ 080CD878 + .incbin "baserom.gba", 0x0CD878, 0x000000C + +gUnk_080CD884:: @ 080CD884 + .incbin "baserom.gba", 0x0CD884, 0x000001F + +gUnk_080CD8A3:: @ 080CD8A3 + .incbin "baserom.gba", 0x0CD8A3, 0x0000004 + +gUnk_080CD8A7:: @ 080CD8A7 + .incbin "baserom.gba", 0x0CD8A7, 0x0000004 + +gUnk_080CD8AB:: @ 080CD8AB + .incbin "baserom.gba", 0x0CD8AB, 0x0000004 + +gUnk_080CD8AF:: @ 080CD8AF + .incbin "baserom.gba", 0x0CD8AF, 0x0000004 + +gUnk_080CD8B3:: @ 080CD8B3 + .incbin "baserom.gba", 0x0CD8B3, 0x0000004 + +gUnk_080CD8B7:: @ 080CD8B7 + .incbin "baserom.gba", 0x0CD8B7, 0x0000004 + +gUnk_080CD8BB:: @ 080CD8BB + .incbin "baserom.gba", 0x0CD8BB, 0x0000004 + +gUnk_080CD8BF:: @ 080CD8BF + .incbin "baserom.gba", 0x0CD8BF, 0x0000004 + +gUnk_080CD8C3:: @ 080CD8C3 + .incbin "baserom.gba", 0x0CD8C3, 0x0000004 + +gUnk_080CD8C7:: @ 080CD8C7 + .incbin "baserom.gba", 0x0CD8C7, 0x0000004 + +gUnk_080CD8CB:: @ 080CD8CB + .incbin "baserom.gba", 0x0CD8CB, 0x0000004 + +gUnk_080CD8CF:: @ 080CD8CF + .incbin "baserom.gba", 0x0CD8CF, 0x0000004 + +gUnk_080CD8D3:: @ 080CD8D3 + .incbin "baserom.gba", 0x0CD8D3, 0x0000004 + +gUnk_080CD8D7:: @ 080CD8D7 + .incbin "baserom.gba", 0x0CD8D7, 0x0000004 + +gUnk_080CD8DB:: @ 080CD8DB + .incbin "baserom.gba", 0x0CD8DB, 0x0000004 + +gUnk_080CD8DF:: @ 080CD8DF + .incbin "baserom.gba", 0x0CD8DF, 0x0000004 + +gUnk_080CD8E3:: @ 080CD8E3 + .incbin "baserom.gba", 0x0CD8E3, 0x0000004 + +gUnk_080CD8E7:: @ 080CD8E7 + .incbin "baserom.gba", 0x0CD8E7, 0x0000004 + +gUnk_080CD8EB:: @ 080CD8EB + .incbin "baserom.gba", 0x0CD8EB, 0x0000004 + +gUnk_080CD8EF:: @ 080CD8EF + .incbin "baserom.gba", 0x0CD8EF, 0x0000004 + +gUnk_080CD8F3:: @ 080CD8F3 + .incbin "baserom.gba", 0x0CD8F3, 0x0000004 + +gUnk_080CD8F7:: @ 080CD8F7 + .incbin "baserom.gba", 0x0CD8F7, 0x0000004 + +gUnk_080CD8FB:: @ 080CD8FB + .incbin "baserom.gba", 0x0CD8FB, 0x0000004 + +gUnk_080CD8FF:: @ 080CD8FF + .incbin "baserom.gba", 0x0CD8FF, 0x0000004 + +gUnk_080CD903:: @ 080CD903 + .incbin "baserom.gba", 0x0CD903, 0x0000004 + +gUnk_080CD907:: @ 080CD907 + .incbin "baserom.gba", 0x0CD907, 0x0000004 + +gUnk_080CD90B:: @ 080CD90B + .incbin "baserom.gba", 0x0CD90B, 0x0000004 + +gUnk_080CD90F:: @ 080CD90F + .incbin "baserom.gba", 0x0CD90F, 0x0000004 + +gUnk_080CD913:: @ 080CD913 + .incbin "baserom.gba", 0x0CD913, 0x0000004 + +gUnk_080CD917:: @ 080CD917 + .incbin "baserom.gba", 0x0CD917, 0x0000004 + +gUnk_080CD91B:: @ 080CD91B + .incbin "baserom.gba", 0x0CD91B, 0x0000004 + +gUnk_080CD91F:: @ 080CD91F + .incbin "baserom.gba", 0x0CD91F, 0x0000004 + +gUnk_080CD923:: @ 080CD923 + .incbin "baserom.gba", 0x0CD923, 0x0000004 + +gUnk_080CD927:: @ 080CD927 + .incbin "baserom.gba", 0x0CD927, 0x0000004 + +gUnk_080CD92B:: @ 080CD92B + .incbin "baserom.gba", 0x0CD92B, 0x0000004 + +gUnk_080CD92F:: @ 080CD92F + .incbin "baserom.gba", 0x0CD92F, 0x0000004 + +gUnk_080CD933:: @ 080CD933 + .incbin "baserom.gba", 0x0CD933, 0x0000004 + +gUnk_080CD937:: @ 080CD937 + .incbin "baserom.gba", 0x0CD937, 0x0000004 + +gUnk_080CD93B:: @ 080CD93B + .incbin "baserom.gba", 0x0CD93B, 0x0000004 + +gUnk_080CD93F:: @ 080CD93F + .incbin "baserom.gba", 0x0CD93F, 0x0000004 + +gUnk_080CD943:: @ 080CD943 + .incbin "baserom.gba", 0x0CD943, 0x0000004 + +gUnk_080CD947:: @ 080CD947 + .incbin "baserom.gba", 0x0CD947, 0x0000004 + +gUnk_080CD94B:: @ 080CD94B + .incbin "baserom.gba", 0x0CD94B, 0x0000004 + +gUnk_080CD94F:: @ 080CD94F + .incbin "baserom.gba", 0x0CD94F, 0x0000004 + +gUnk_080CD953:: @ 080CD953 + .incbin "baserom.gba", 0x0CD953, 0x0000004 + +gUnk_080CD957:: @ 080CD957 + .incbin "baserom.gba", 0x0CD957, 0x0000004 + +gUnk_080CD95B:: @ 080CD95B + .incbin "baserom.gba", 0x0CD95B, 0x0000004 + +gUnk_080CD95F:: @ 080CD95F + .incbin "baserom.gba", 0x0CD95F, 0x0000004 + +gUnk_080CD963:: @ 080CD963 + .incbin "baserom.gba", 0x0CD963, 0x0000004 + +gUnk_080CD967:: @ 080CD967 + .incbin "baserom.gba", 0x0CD967, 0x0000004 + +gUnk_080CD96B:: @ 080CD96B + .incbin "baserom.gba", 0x0CD96B, 0x0000004 + +gUnk_080CD96F:: @ 080CD96F + .incbin "baserom.gba", 0x0CD96F, 0x0000004 + +gUnk_080CD973:: @ 080CD973 + .incbin "baserom.gba", 0x0CD973, 0x0000004 + +gUnk_080CD977:: @ 080CD977 + .incbin "baserom.gba", 0x0CD977, 0x0000004 + +gUnk_080CD97B:: @ 080CD97B + .incbin "baserom.gba", 0x0CD97B, 0x0000004 + +gUnk_080CD97F:: @ 080CD97F + .incbin "baserom.gba", 0x0CD97F, 0x0000004 + +gUnk_080CD983:: @ 080CD983 + .incbin "baserom.gba", 0x0CD983, 0x0000004 + +gUnk_080CD987:: @ 080CD987 + .incbin "baserom.gba", 0x0CD987, 0x0000004 + +gUnk_080CD98B:: @ 080CD98B + .incbin "baserom.gba", 0x0CD98B, 0x0000004 + +gUnk_080CD98F:: @ 080CD98F + .incbin "baserom.gba", 0x0CD98F, 0x0000004 + +gUnk_080CD993:: @ 080CD993 + .incbin "baserom.gba", 0x0CD993, 0x0000004 + +gUnk_080CD997:: @ 080CD997 + .incbin "baserom.gba", 0x0CD997, 0x0000004 + +gUnk_080CD99B:: @ 080CD99B + .incbin "baserom.gba", 0x0CD99B, 0x0000004 + +gUnk_080CD99F:: @ 080CD99F + .incbin "baserom.gba", 0x0CD99F, 0x0000004 + +gUnk_080CD9A3:: @ 080CD9A3 + .incbin "baserom.gba", 0x0CD9A3, 0x0000004 + +gUnk_080CD9A7:: @ 080CD9A7 + .incbin "baserom.gba", 0x0CD9A7, 0x0000004 + +gUnk_080CD9AB:: @ 080CD9AB + .incbin "baserom.gba", 0x0CD9AB, 0x0000004 + +gUnk_080CD9AF:: @ 080CD9AF + .incbin "baserom.gba", 0x0CD9AF, 0x0000004 + +gUnk_080CD9B3:: @ 080CD9B3 + .incbin "baserom.gba", 0x0CD9B3, 0x0000004 + +gUnk_080CD9B7:: @ 080CD9B7 + .incbin "baserom.gba", 0x0CD9B7, 0x0000004 + +gUnk_080CD9BB:: @ 080CD9BB + .incbin "baserom.gba", 0x0CD9BB, 0x0000004 + +gUnk_080CD9BF:: @ 080CD9BF + .incbin "baserom.gba", 0x0CD9BF, 0x0000004 + +gUnk_080CD9C3:: @ 080CD9C3 + .incbin "baserom.gba", 0x0CD9C3, 0x0000004 + +gUnk_080CD9C7:: @ 080CD9C7 + .incbin "baserom.gba", 0x0CD9C7, 0x0000004 + +gUnk_080CD9CB:: @ 080CD9CB + .incbin "baserom.gba", 0x0CD9CB, 0x0000004 + +gUnk_080CD9CF:: @ 080CD9CF + .incbin "baserom.gba", 0x0CD9CF, 0x0000010 + +gUnk_080CD9DF:: @ 080CD9DF + .incbin "baserom.gba", 0x0CD9DF, 0x000001C + +gUnk_080CD9FB:: @ 080CD9FB + .incbin "baserom.gba", 0x0CD9FB, 0x0000004 + +gUnk_080CD9FF:: @ 080CD9FF + .incbin "baserom.gba", 0x0CD9FF, 0x0000004 + +gUnk_080CDA03:: @ 080CDA03 + .incbin "baserom.gba", 0x0CDA03, 0x0000004 + +gUnk_080CDA07:: @ 080CDA07 + .incbin "baserom.gba", 0x0CDA07, 0x0000004 + +gUnk_080CDA0B:: @ 080CDA0B + .incbin "baserom.gba", 0x0CDA0B, 0x0000004 + +gUnk_080CDA0F:: @ 080CDA0F + .incbin "baserom.gba", 0x0CDA0F, 0x0000004 + +gUnk_080CDA13:: @ 080CDA13 + .incbin "baserom.gba", 0x0CDA13, 0x0000004 + +gUnk_080CDA17:: @ 080CDA17 + .incbin "baserom.gba", 0x0CDA17, 0x0000004 + +gUnk_080CDA1B:: @ 080CDA1B + .incbin "baserom.gba", 0x0CDA1B, 0x0000004 + +gUnk_080CDA1F:: @ 080CDA1F + .incbin "baserom.gba", 0x0CDA1F, 0x0000004 + +gUnk_080CDA23:: @ 080CDA23 + .incbin "baserom.gba", 0x0CDA23, 0x0000004 + +gUnk_080CDA27:: @ 080CDA27 + .incbin "baserom.gba", 0x0CDA27, 0x0000004 + +gUnk_080CDA2B:: @ 080CDA2B + .incbin "baserom.gba", 0x0CDA2B, 0x0000004 + +gUnk_080CDA2F:: @ 080CDA2F + .incbin "baserom.gba", 0x0CDA2F, 0x0000004 + +gUnk_080CDA33:: @ 080CDA33 + .incbin "baserom.gba", 0x0CDA33, 0x0000004 + +gUnk_080CDA37:: @ 080CDA37 + .incbin "baserom.gba", 0x0CDA37, 0x0000004 + +gUnk_080CDA3B:: @ 080CDA3B + .incbin "baserom.gba", 0x0CDA3B, 0x0000004 + +gUnk_080CDA3F:: @ 080CDA3F + .incbin "baserom.gba", 0x0CDA3F, 0x0000004 + +gUnk_080CDA43:: @ 080CDA43 + .incbin "baserom.gba", 0x0CDA43, 0x0000004 + +gUnk_080CDA47:: @ 080CDA47 + .incbin "baserom.gba", 0x0CDA47, 0x0000004 + +gUnk_080CDA4B:: @ 080CDA4B + .incbin "baserom.gba", 0x0CDA4B, 0x0000004 + +gUnk_080CDA4F:: @ 080CDA4F + .incbin "baserom.gba", 0x0CDA4F, 0x0000004 + +gUnk_080CDA53:: @ 080CDA53 + .incbin "baserom.gba", 0x0CDA53, 0x0000004 + +gUnk_080CDA57:: @ 080CDA57 + .incbin "baserom.gba", 0x0CDA57, 0x0000004 + +gUnk_080CDA5B:: @ 080CDA5B + .incbin "baserom.gba", 0x0CDA5B, 0x0000004 + +gUnk_080CDA5F:: @ 080CDA5F + .incbin "baserom.gba", 0x0CDA5F, 0x0000004 + +gUnk_080CDA63:: @ 080CDA63 + .incbin "baserom.gba", 0x0CDA63, 0x0000004 + +gUnk_080CDA67:: @ 080CDA67 + .incbin "baserom.gba", 0x0CDA67, 0x0000004 + +gUnk_080CDA6B:: @ 080CDA6B + .incbin "baserom.gba", 0x0CDA6B, 0x0000004 + +gUnk_080CDA6F:: @ 080CDA6F + .incbin "baserom.gba", 0x0CDA6F, 0x0000004 + +gUnk_080CDA73:: @ 080CDA73 + .incbin "baserom.gba", 0x0CDA73, 0x0000004 + +gUnk_080CDA77:: @ 080CDA77 + .incbin "baserom.gba", 0x0CDA77, 0x0000004 + +gUnk_080CDA7B:: @ 080CDA7B + .incbin "baserom.gba", 0x0CDA7B, 0x0000004 + +gUnk_080CDA7F:: @ 080CDA7F + .incbin "baserom.gba", 0x0CDA7F, 0x0000004 + +gUnk_080CDA83:: @ 080CDA83 + .incbin "baserom.gba", 0x0CDA83, 0x0000004 + +gUnk_080CDA87:: @ 080CDA87 + .incbin "baserom.gba", 0x0CDA87, 0x0000004 + +gUnk_080CDA8B:: @ 080CDA8B + .incbin "baserom.gba", 0x0CDA8B, 0x0000005 + +gUnk_080CDA90:: @ 080CDA90 + .incbin "baserom.gba", 0x0CDA90, 0x0000005 + +gUnk_080CDA95:: @ 080CDA95 + .incbin "baserom.gba", 0x0CDA95, 0x0000005 + +gUnk_080CDA9A:: @ 080CDA9A + .incbin "baserom.gba", 0x0CDA9A, 0x0000005 + +gUnk_080CDA9F:: @ 080CDA9F + .incbin "baserom.gba", 0x0CDA9F, 0x0000025 + +gUnk_080CDAC4:: @ 080CDAC4 + .incbin "baserom.gba", 0x0CDAC4, 0x0000011 + +gUnk_080CDAD5:: @ 080CDAD5 + .incbin "baserom.gba", 0x0CDAD5, 0x0000011 + +gUnk_080CDAE6:: @ 080CDAE6 + .incbin "baserom.gba", 0x0CDAE6, 0x000000D + +gUnk_080CDAF3:: @ 080CDAF3 + .incbin "baserom.gba", 0x0CDAF3, 0x0000010 + +gUnk_080CDB03:: @ 080CDB03 + .incbin "baserom.gba", 0x0CDB03, 0x0000014 + +gUnk_080CDB17:: @ 080CDB17 + .incbin "baserom.gba", 0x0CDB17, 0x0000011 + +gUnk_080CDB28:: @ 080CDB28 + .incbin "baserom.gba", 0x0CDB28, 0x0000011 + +gUnk_080CDB39:: @ 080CDB39 + .incbin "baserom.gba", 0x0CDB39, 0x0000024 + +gUnk_080CDB5D:: @ 080CDB5D + .incbin "baserom.gba", 0x0CDB5D, 0x0000010 + +gUnk_080CDB6D:: @ 080CDB6D + .incbin "baserom.gba", 0x0CDB6D, 0x0000011 + +gUnk_080CDB7E:: @ 080CDB7E + .incbin "baserom.gba", 0x0CDB7E, 0x0000014 + +gUnk_080CDB92:: @ 080CDB92 + .incbin "baserom.gba", 0x0CDB92, 0x0000019 + +gUnk_080CDBAB:: @ 080CDBAB + .incbin "baserom.gba", 0x0CDBAB, 0x0000019 + +gUnk_080CDBC4:: @ 080CDBC4 + .incbin "baserom.gba", 0x0CDBC4, 0x0000019 + +gUnk_080CDBDD:: @ 080CDBDD + .incbin "baserom.gba", 0x0CDBDD, 0x0000023 + +gUnk_080CDC00:: @ 080CDC00 + .incbin "baserom.gba", 0x0CDC00, 0x00000E7 + +gUnk_080CDCE7:: @ 080CDCE7 + .incbin "baserom.gba", 0x0CDCE7, 0x000007D + +gUnk_080CDD64:: @ 080CDD64 + .incbin "baserom.gba", 0x0CDD64, 0x00000D0 + +gUnk_080CDE34:: @ 080CDE34 + .incbin "baserom.gba", 0x0CDE34, 0x0000018 + +gUnk_080CDE4C:: @ 080CDE4C + .incbin "baserom.gba", 0x0CDE4C, 0x0000010 + +gUnk_080CDE5C:: @ 080CDE5C + .incbin "baserom.gba", 0x0CDE5C, 0x0000008 + +gUnk_080CDE64:: @ 080CDE64 + .incbin "baserom.gba", 0x0CDE64, 0x0000008 + +gUnk_080CDE6C:: @ 080CDE6C + .incbin "baserom.gba", 0x0CDE6C, 0x0000004 + +gUnk_080CDE70:: @ 080CDE70 + .incbin "baserom.gba", 0x0CDE70, 0x0000020 + +gUnk_080CDE90:: @ 080CDE90 + .incbin "baserom.gba", 0x0CDE90, 0x0000008 + +gUnk_080CDE98:: @ 080CDE98 + .incbin "baserom.gba", 0x0CDE98, 0x0000008 + +gUnk_080CDEA0:: @ 080CDEA0 + .incbin "baserom.gba", 0x0CDEA0, 0x0000011 + +gUnk_080CDEB1:: @ 080CDEB1 + .incbin "baserom.gba", 0x0CDEB1, 0x0000013 + +gUnk_080CDEC4:: @ 080CDEC4 + .incbin "baserom.gba", 0x0CDEC4, 0x000000C + +gUnk_080CDED0:: @ 080CDED0 + .incbin "baserom.gba", 0x0CDED0, 0x0000018 + +gUnk_080CDEE8:: @ 080CDEE8 + .incbin "baserom.gba", 0x0CDEE8, 0x0000010 + +gUnk_080CDEF8:: @ 080CDEF8 + .incbin "baserom.gba", 0x0CDEF8, 0x0000004 + +gUnk_080CDEFC:: @ 080CDEFC + .incbin "baserom.gba", 0x0CDEFC, 0x000000D + +gUnk_080CDF09:: @ 080CDF09 + .incbin "baserom.gba", 0x0CDF09, 0x0000011 + +gUnk_080CDF1A:: @ 080CDF1A + .incbin "baserom.gba", 0x0CDF1A, 0x000000D + +gUnk_080CDF27:: @ 080CDF27 + .incbin "baserom.gba", 0x0CDF27, 0x000000C + +gUnk_080CDF33:: @ 080CDF33 + .incbin "baserom.gba", 0x0CDF33, 0x0000005 + +gUnk_080CDF38:: @ 080CDF38 + .incbin "baserom.gba", 0x0CDF38, 0x0000018 + +gUnk_080CDF50:: @ 080CDF50 + .incbin "baserom.gba", 0x0CDF50, 0x0000018 + +gUnk_080CDF68:: @ 080CDF68 + .incbin "baserom.gba", 0x0CDF68, 0x0000010 + +gUnk_080CDF78:: @ 080CDF78 + .incbin "baserom.gba", 0x0CDF78, 0x0000005 + +gUnk_080CDF7D:: @ 080CDF7D + .incbin "baserom.gba", 0x0CDF7D, 0x0000005 + +gUnk_080CDF82:: @ 080CDF82 + .incbin "baserom.gba", 0x0CDF82, 0x0000005 + +gUnk_080CDF87:: @ 080CDF87 + .incbin "baserom.gba", 0x0CDF87, 0x0000005 + +gUnk_080CDF8C:: @ 080CDF8C + .incbin "baserom.gba", 0x0CDF8C, 0x0000005 + +gUnk_080CDF91:: @ 080CDF91 + .incbin "baserom.gba", 0x0CDF91, 0x0000005 + +gUnk_080CDF96:: @ 080CDF96 + .incbin "baserom.gba", 0x0CDF96, 0x0000005 + +gUnk_080CDF9B:: @ 080CDF9B + .incbin "baserom.gba", 0x0CDF9B, 0x0000005 + +gUnk_080CDFA0:: @ 080CDFA0 + .incbin "baserom.gba", 0x0CDFA0, 0x0000024 + +gUnk_080CDFC4:: @ 080CDFC4 + .incbin "baserom.gba", 0x0CDFC4, 0x0000018 + +gUnk_080CDFDC:: @ 080CDFDC + .incbin "baserom.gba", 0x0CDFDC, 0x000000C + +gUnk_080CDFE8:: @ 080CDFE8 + .incbin "baserom.gba", 0x0CDFE8, 0x000000D + +gUnk_080CDFF5:: @ 080CDFF5 + .incbin "baserom.gba", 0x0CDFF5, 0x000000D + +gUnk_080CE002:: @ 080CE002 + .incbin "baserom.gba", 0x0CE002, 0x000000D + +gUnk_080CE00F:: @ 080CE00F + .incbin "baserom.gba", 0x0CE00F, 0x000000D + +gUnk_080CE01C:: @ 080CE01C + .incbin "baserom.gba", 0x0CE01C, 0x000000D + +gUnk_080CE029:: @ 080CE029 + .incbin "baserom.gba", 0x0CE029, 0x000000D + +gUnk_080CE036:: @ 080CE036 + .incbin "baserom.gba", 0x0CE036, 0x000000D + +gUnk_080CE043:: @ 080CE043 + .incbin "baserom.gba", 0x0CE043, 0x000000D + +gUnk_080CE050:: @ 080CE050 + .incbin "baserom.gba", 0x0CE050, 0x0000024 + +gUnk_080CE074:: @ 080CE074 + .incbin "baserom.gba", 0x0CE074, 0x0000018 + +gUnk_080CE08C:: @ 080CE08C + .incbin "baserom.gba", 0x0CE08C, 0x000000C + +gUnk_080CE098:: @ 080CE098 + .incbin "baserom.gba", 0x0CE098, 0x000000D + +gUnk_080CE0A5:: @ 080CE0A5 + .incbin "baserom.gba", 0x0CE0A5, 0x000000D + +gUnk_080CE0B2:: @ 080CE0B2 + .incbin "baserom.gba", 0x0CE0B2, 0x000000D + +gUnk_080CE0BF:: @ 080CE0BF + .incbin "baserom.gba", 0x0CE0BF, 0x000000D + +gUnk_080CE0CC:: @ 080CE0CC + .incbin "baserom.gba", 0x0CE0CC, 0x000000D + +gUnk_080CE0D9:: @ 080CE0D9 + .incbin "baserom.gba", 0x0CE0D9, 0x000000D + +gUnk_080CE0E6:: @ 080CE0E6 + .incbin "baserom.gba", 0x0CE0E6, 0x000000D + +gUnk_080CE0F3:: @ 080CE0F3 + .incbin "baserom.gba", 0x0CE0F3, 0x000000D + +gUnk_080CE100:: @ 080CE100 + .incbin "baserom.gba", 0x0CE100, 0x0000024 + +gUnk_080CE124:: @ 080CE124 + .incbin "baserom.gba", 0x0CE124, 0x0000018 + +gUnk_080CE13C:: @ 080CE13C + .incbin "baserom.gba", 0x0CE13C, 0x0000024 + +gUnk_080CE160:: @ 080CE160 + .incbin "baserom.gba", 0x0CE160, 0x0000004 + +gUnk_080CE164:: @ 080CE164 + .incbin "baserom.gba", 0x0CE164, 0x0000008 + +gUnk_080CE16C:: @ 080CE16C + .incbin "baserom.gba", 0x0CE16C, 0x0000019 + +gUnk_080CE185:: @ 080CE185 + .incbin "baserom.gba", 0x0CE185, 0x0000019 + +gUnk_080CE19E:: @ 080CE19E + .incbin "baserom.gba", 0x0CE19E, 0x0000019 + +gUnk_080CE1B7:: @ 080CE1B7 + .incbin "baserom.gba", 0x0CE1B7, 0x0000019 + +gUnk_080CE1D0:: @ 080CE1D0 + .incbin "baserom.gba", 0x0CE1D0, 0x0000035 + +gUnk_080CE205:: @ 080CE205 + .incbin "baserom.gba", 0x0CE205, 0x0000041 + +gUnk_080CE246:: @ 080CE246 + .incbin "baserom.gba", 0x0CE246, 0x0000018 + +gUnk_080CE25E:: @ 080CE25E + .incbin "baserom.gba", 0x0CE25E, 0x0000006 + +gUnk_080CE264:: @ 080CE264 + .incbin "baserom.gba", 0x0CE264, 0x0000024 + +gUnk_080CE288:: @ 080CE288 + .incbin "baserom.gba", 0x0CE288, 0x0000018 + +gUnk_080CE2A0:: @ 080CE2A0 + .incbin "baserom.gba", 0x0CE2A0, 0x000001C + +gUnk_080CE2BC:: @ 080CE2BC + .incbin "baserom.gba", 0x0CE2BC, 0x0000004 + +gUnk_080CE2C0:: @ 080CE2C0 + .incbin "baserom.gba", 0x0CE2C0, 0x0000034 + +gUnk_080CE2F4:: @ 080CE2F4 + .incbin "baserom.gba", 0x0CE2F4, 0x0000010 + +gUnk_080CE304:: @ 080CE304 + .incbin "baserom.gba", 0x0CE304, 0x0000008 + +gUnk_080CE30C:: @ 080CE30C + .incbin "baserom.gba", 0x0CE30C, 0x0000010 + +gUnk_080CE31C:: @ 080CE31C + .incbin "baserom.gba", 0x0CE31C, 0x0000019 + +gUnk_080CE335:: @ 080CE335 + .incbin "baserom.gba", 0x0CE335, 0x0000010 + +gUnk_080CE345:: @ 080CE345 + .incbin "baserom.gba", 0x0CE345, 0x0000019 + +gUnk_080CE35E:: @ 080CE35E + .incbin "baserom.gba", 0x0CE35E, 0x0000010 + +gUnk_080CE36E:: @ 080CE36E + .incbin "baserom.gba", 0x0CE36E, 0x0000019 + +gUnk_080CE387:: @ 080CE387 + .incbin "baserom.gba", 0x0CE387, 0x0000010 + +gUnk_080CE397:: @ 080CE397 + .incbin "baserom.gba", 0x0CE397, 0x0000019 + +gUnk_080CE3B0:: @ 080CE3B0 + .incbin "baserom.gba", 0x0CE3B0, 0x000000C + +gUnk_080CE3BC:: @ 080CE3BC + .incbin "baserom.gba", 0x0CE3BC, 0x000000C + +gUnk_080CE3C8:: @ 080CE3C8 + .incbin "baserom.gba", 0x0CE3C8, 0x000000C + +gUnk_080CE3D4:: @ 080CE3D4 + .incbin "baserom.gba", 0x0CE3D4, 0x000000C + +gUnk_080CE3E0:: @ 080CE3E0 + .incbin "baserom.gba", 0x0CE3E0, 0x000000C + +gUnk_080CE3EC:: @ 080CE3EC + .incbin "baserom.gba", 0x0CE3EC, 0x000000C + +gUnk_080CE3F8:: @ 080CE3F8 + .incbin "baserom.gba", 0x0CE3F8, 0x000000C + +gUnk_080CE404:: @ 080CE404 + .incbin "baserom.gba", 0x0CE404, 0x0000003 + +gUnk_080CE407:: @ 080CE407 + .incbin "baserom.gba", 0x0CE407, 0x0000041 + +gUnk_080CE448:: @ 080CE448 + .incbin "baserom.gba", 0x0CE448, 0x0000018 + +gUnk_080CE460:: @ 080CE460 + .incbin "baserom.gba", 0x0CE460, 0x0000010 + +gUnk_080CE470:: @ 080CE470 + .incbin "baserom.gba", 0x0CE470, 0x000000C + +gUnk_080CE47C:: @ 080CE47C + .incbin "baserom.gba", 0x0CE47C, 0x0000011 + +gUnk_080CE48D:: @ 080CE48D + .incbin "baserom.gba", 0x0CE48D, 0x0000011 + +gUnk_080CE49E:: @ 080CE49E + .incbin "baserom.gba", 0x0CE49E, 0x0000011 + +gUnk_080CE4AF:: @ 080CE4AF + .incbin "baserom.gba", 0x0CE4AF, 0x0000011 + +gUnk_080CE4C0:: @ 080CE4C0 + .incbin "baserom.gba", 0x0CE4C0, 0x0000011 + +gUnk_080CE4D1:: @ 080CE4D1 + .incbin "baserom.gba", 0x0CE4D1, 0x0000011 + +gUnk_080CE4E2:: @ 080CE4E2 + .incbin "baserom.gba", 0x0CE4E2, 0x0000011 + +gUnk_080CE4F3:: @ 080CE4F3 + .incbin "baserom.gba", 0x0CE4F3, 0x0000019 + +gUnk_080CE50C:: @ 080CE50C + .incbin "baserom.gba", 0x0CE50C, 0x0000024 + +gUnk_080CE530:: @ 080CE530 + .incbin "baserom.gba", 0x0CE530, 0x0000018 + +gUnk_080CE548:: @ 080CE548 + .incbin "baserom.gba", 0x0CE548, 0x000000C + +gUnk_080CE554:: @ 080CE554 + .incbin "baserom.gba", 0x0CE554, 0x000000C + +gUnk_080CE560:: @ 080CE560 + .incbin "baserom.gba", 0x0CE560, 0x000000C + +gUnk_080CE56C:: @ 080CE56C + .incbin "baserom.gba", 0x0CE56C, 0x0000018 + +gUnk_080CE584:: @ 080CE584 + .incbin "baserom.gba", 0x0CE584, 0x0000008 + +gUnk_080CE58C:: @ 080CE58C + .incbin "baserom.gba", 0x0CE58C, 0x0000024 + +gUnk_080CE5B0:: @ 080CE5B0 + .incbin "baserom.gba", 0x0CE5B0, 0x0000008 + +gUnk_080CE5B8:: @ 080CE5B8 + .incbin "baserom.gba", 0x0CE5B8, 0x0000008 + +gUnk_080CE5C0:: @ 080CE5C0 + .incbin "baserom.gba", 0x0CE5C0, 0x0000008 + +gUnk_080CE5C8:: @ 080CE5C8 + .incbin "baserom.gba", 0x0CE5C8, 0x0000028 + +gUnk_080CE5F0:: @ 080CE5F0 + .incbin "baserom.gba", 0x0CE5F0, 0x000000A + +gUnk_080CE5FA:: @ 080CE5FA + .incbin "baserom.gba", 0x0CE5FA, 0x0000014 + +gUnk_080CE60E:: @ 080CE60E + .incbin "baserom.gba", 0x0CE60E, 0x0000018 + +gUnk_080CE626:: @ 080CE626 + .incbin "baserom.gba", 0x0CE626, 0x0000031 + +gUnk_080CE657:: @ 080CE657 + .incbin "baserom.gba", 0x0CE657, 0x0000010 + +gUnk_080CE667:: @ 080CE667 + .incbin "baserom.gba", 0x0CE667, 0x0000028 + +gUnk_080CE68F:: @ 080CE68F + .incbin "baserom.gba", 0x0CE68F, 0x0000009 + +gUnk_080CE698:: @ 080CE698 + .incbin "baserom.gba", 0x0CE698, 0x0000005 + +gUnk_080CE69D:: @ 080CE69D + .incbin "baserom.gba", 0x0CE69D, 0x0000009 + +gUnk_080CE6A6:: @ 080CE6A6 + .incbin "baserom.gba", 0x0CE6A6, 0x0000009 + +gUnk_080CE6AF:: @ 080CE6AF + .incbin "baserom.gba", 0x0CE6AF, 0x0000011 + +gUnk_080CE6C0:: @ 080CE6C0 + .incbin "baserom.gba", 0x0CE6C0, 0x0000011 + +gUnk_080CE6D1:: @ 080CE6D1 + .incbin "baserom.gba", 0x0CE6D1, 0x0000005 + +gUnk_080CE6D6:: @ 080CE6D6 + .incbin "baserom.gba", 0x0CE6D6, 0x0000005 + +gUnk_080CE6DB:: @ 080CE6DB + .incbin "baserom.gba", 0x0CE6DB, 0x000000C + +gUnk_080CE6E7:: @ 080CE6E7 + .incbin "baserom.gba", 0x0CE6E7, 0x0000040 + +gUnk_080CE727:: @ 080CE727 + .incbin "baserom.gba", 0x0CE727, 0x0000049 + +gUnk_080CE770:: @ 080CE770 + .incbin "baserom.gba", 0x0CE770, 0x0000040 + +gUnk_080CE7B0:: @ 080CE7B0 + .incbin "baserom.gba", 0x0CE7B0, 0x0000018 + +gUnk_080CE7C8:: @ 080CE7C8 + .incbin "baserom.gba", 0x0CE7C8, 0x0000018 + +gUnk_080CE7E0:: @ 080CE7E0 + .incbin "baserom.gba", 0x0CE7E0, 0x0000010 + +gUnk_080CE7F0:: @ 080CE7F0 + .incbin "baserom.gba", 0x0CE7F0, 0x0000020 + +gUnk_080CE810:: @ 080CE810 + .incbin "baserom.gba", 0x0CE810, 0x0000008 + +gUnk_080CE818:: @ 080CE818 + .incbin "baserom.gba", 0x0CE818, 0x0000011 + +gUnk_080CE829:: @ 080CE829 + .incbin "baserom.gba", 0x0CE829, 0x0000011 + +gUnk_080CE83A:: @ 080CE83A + .incbin "baserom.gba", 0x0CE83A, 0x0000011 + +gUnk_080CE84B:: @ 080CE84B + .incbin "baserom.gba", 0x0CE84B, 0x0000011 + +gUnk_080CE85C:: @ 080CE85C + .incbin "baserom.gba", 0x0CE85C, 0x0000011 + +gUnk_080CE86D:: @ 080CE86D + .incbin "baserom.gba", 0x0CE86D, 0x0000011 + +gUnk_080CE87E:: @ 080CE87E + .incbin "baserom.gba", 0x0CE87E, 0x0000011 + +gUnk_080CE88F:: @ 080CE88F + .incbin "baserom.gba", 0x0CE88F, 0x0000011 + +gUnk_080CE8A0:: @ 080CE8A0 + .incbin "baserom.gba", 0x0CE8A0, 0x0000029 + +gUnk_080CE8C9:: @ 080CE8C9 + .incbin "baserom.gba", 0x0CE8C9, 0x0000029 + +gUnk_080CE8F2:: @ 080CE8F2 + .incbin "baserom.gba", 0x0CE8F2, 0x0000029 + +gUnk_080CE91B:: @ 080CE91B + .incbin "baserom.gba", 0x0CE91B, 0x0000029 + +gUnk_080CE944:: @ 080CE944 + .incbin "baserom.gba", 0x0CE944, 0x0000034 + +gUnk_080CE978:: @ 080CE978 + .incbin "baserom.gba", 0x0CE978, 0x0000018 + +gUnk_080CE990:: @ 080CE990 + .incbin "baserom.gba", 0x0CE990, 0x0000014 + +gUnk_080CE9A4:: @ 080CE9A4 + .incbin "baserom.gba", 0x0CE9A4, 0x000000C + +gUnk_080CE9B0:: @ 080CE9B0 + .incbin "baserom.gba", 0x0CE9B0, 0x0000005 + +gUnk_080CE9B5:: @ 080CE9B5 + .incbin "baserom.gba", 0x0CE9B5, 0x0000005 + +gUnk_080CE9BA:: @ 080CE9BA + .incbin "baserom.gba", 0x0CE9BA, 0x0000011 + +gUnk_080CE9CB:: @ 080CE9CB + .incbin "baserom.gba", 0x0CE9CB, 0x0000011 + +gUnk_080CE9DC:: @ 080CE9DC + .incbin "baserom.gba", 0x0CE9DC, 0x0000011 + +gUnk_080CE9ED:: @ 080CE9ED + .incbin "baserom.gba", 0x0CE9ED, 0x0000013 + +gUnk_080CEA00:: @ 080CEA00 + .incbin "baserom.gba", 0x0CEA00, 0x000001C + +gUnk_080CEA1C:: @ 080CEA1C + .incbin "baserom.gba", 0x0CEA1C, 0x0000018 + +gUnk_080CEA34:: @ 080CEA34 + .incbin "baserom.gba", 0x0CEA34, 0x000001C + +gUnk_080CEA50:: @ 080CEA50 + .incbin "baserom.gba", 0x0CEA50, 0x0000004 + +gUnk_080CEA54:: @ 080CEA54 + .incbin "baserom.gba", 0x0CEA54, 0x0000002 + +gUnk_080CEA56:: @ 080CEA56 + .incbin "baserom.gba", 0x0CEA56, 0x0000010 + +gUnk_080CEA66:: @ 080CEA66 + .incbin "baserom.gba", 0x0CEA66, 0x0000005 + +gUnk_080CEA6B:: @ 080CEA6B + .incbin "baserom.gba", 0x0CEA6B, 0x0000005 + +gUnk_080CEA70:: @ 080CEA70 + .incbin "baserom.gba", 0x0CEA70, 0x0000005 + +gUnk_080CEA75:: @ 080CEA75 + .incbin "baserom.gba", 0x0CEA75, 0x0000005 + +gUnk_080CEA7A:: @ 080CEA7A + .incbin "baserom.gba", 0x0CEA7A, 0x0000011 + +gUnk_080CEA8B:: @ 080CEA8B + .incbin "baserom.gba", 0x0CEA8B, 0x0000011 + +gUnk_080CEA9C:: @ 080CEA9C + .incbin "baserom.gba", 0x0CEA9C, 0x0000011 + +gUnk_080CEAAD:: @ 080CEAAD + .incbin "baserom.gba", 0x0CEAAD, 0x0000011 + +gUnk_080CEABE:: @ 080CEABE + .incbin "baserom.gba", 0x0CEABE, 0x0000011 + +gUnk_080CEACF:: @ 080CEACF + .incbin "baserom.gba", 0x0CEACF, 0x0000011 + +gUnk_080CEAE0:: @ 080CEAE0 + .incbin "baserom.gba", 0x0CEAE0, 0x0000011 + +gUnk_080CEAF1:: @ 080CEAF1 + .incbin "baserom.gba", 0x0CEAF1, 0x0000013 + +gUnk_080CEB04:: @ 080CEB04 + .incbin "baserom.gba", 0x0CEB04, 0x0000034 + +gUnk_080CEB38:: @ 080CEB38 + .incbin "baserom.gba", 0x0CEB38, 0x0000018 + +gUnk_080CEB50:: @ 080CEB50 + .incbin "baserom.gba", 0x0CEB50, 0x0000010 + +gUnk_080CEB60:: @ 080CEB60 + .incbin "baserom.gba", 0x0CEB60, 0x000000C + +gUnk_080CEB6C:: @ 080CEB6C + .incbin "baserom.gba", 0x0CEB6C, 0x0000008 + +gUnk_080CEB74:: @ 080CEB74 + .incbin "baserom.gba", 0x0CEB74, 0x0000018 + +gUnk_080CEB8C:: @ 080CEB8C + .incbin "baserom.gba", 0x0CEB8C, 0x000000C + +gUnk_080CEB98:: @ 080CEB98 + .incbin "baserom.gba", 0x0CEB98, 0x000000C + +gUnk_080CEBA4:: @ 080CEBA4 + .incbin "baserom.gba", 0x0CEBA4, 0x0000008 + +gUnk_080CEBAC:: @ 080CEBAC + .incbin "baserom.gba", 0x0CEBAC, 0x0000011 + +gUnk_080CEBBD:: @ 080CEBBD + .incbin "baserom.gba", 0x0CEBBD, 0x0000013 + +gUnk_080CEBD0:: @ 080CEBD0 + .incbin "baserom.gba", 0x0CEBD0, 0x000001C + +gUnk_080CEBEC:: @ 080CEBEC + .incbin "baserom.gba", 0x0CEBEC, 0x0000018 + +gUnk_080CEC04:: @ 080CEC04 + .incbin "baserom.gba", 0x0CEC04, 0x0000018 + +gUnk_080CEC1C:: @ 080CEC1C + .incbin "baserom.gba", 0x0CEC1C, 0x0000008 + +gUnk_080CEC24:: @ 080CEC24 + .incbin "baserom.gba", 0x0CEC24, 0x0000005 + +gUnk_080CEC29:: @ 080CEC29 + .incbin "baserom.gba", 0x0CEC29, 0x0000019 + +gUnk_080CEC42:: @ 080CEC42 + .incbin "baserom.gba", 0x0CEC42, 0x0000009 + +gUnk_080CEC4B:: @ 080CEC4B + .incbin "baserom.gba", 0x0CEC4B, 0x0000011 + +gUnk_080CEC5C:: @ 080CEC5C + .incbin "baserom.gba", 0x0CEC5C, 0x0000014 + +gUnk_080CEC70:: @ 080CEC70 + .incbin "baserom.gba", 0x0CEC70, 0x0000018 + +gUnk_080CEC88:: @ 080CEC88 + .incbin "baserom.gba", 0x0CEC88, 0x0000018 + +gUnk_080CECA0:: @ 080CECA0 + .incbin "baserom.gba", 0x0CECA0, 0x0000014 + +gUnk_080CECB4:: @ 080CECB4 + .incbin "baserom.gba", 0x0CECB4, 0x0000019 + +gUnk_080CECCD:: @ 080CECCD + .incbin "baserom.gba", 0x0CECCD, 0x000001F + +gUnk_080CECEC:: @ 080CECEC + .incbin "baserom.gba", 0x0CECEC, 0x0000008 + +gUnk_080CECF4:: @ 080CECF4 + .incbin "baserom.gba", 0x0CECF4, 0x000000E + +gUnk_080CED02:: @ 080CED02 + .incbin "baserom.gba", 0x0CED02, 0x0000004 + +gUnk_080CED06:: @ 080CED06 + .incbin "baserom.gba", 0x0CED06, 0x0000006 + +gUnk_080CED0C:: @ 080CED0C + .incbin "baserom.gba", 0x0CED0C, 0x0000020 + +gUnk_080CED2C:: @ 080CED2C + .incbin "baserom.gba", 0x0CED2C, 0x0000020 + +gUnk_080CED4C:: @ 080CED4C + .incbin "baserom.gba", 0x0CED4C, 0x0000020 + +gUnk_080CED6C:: @ 080CED6C + .incbin "baserom.gba", 0x0CED6C, 0x0000008 + +gUnk_080CED74:: @ 080CED74 + .incbin "baserom.gba", 0x0CED74, 0x0000010 + +gUnk_080CED84:: @ 080CED84 + .incbin "baserom.gba", 0x0CED84, 0x0000004 + +gUnk_080CED88:: @ 080CED88 + .incbin "baserom.gba", 0x0CED88, 0x0000014 + +gUnk_080CED9C:: @ 080CED9C + .incbin "baserom.gba", 0x0CED9C, 0x0000014 + +gUnk_080CEDB0:: @ 080CEDB0 + .incbin "baserom.gba", 0x0CEDB0, 0x0000005 + +gUnk_080CEDB5:: @ 080CEDB5 + .incbin "baserom.gba", 0x0CEDB5, 0x0000005 + +gUnk_080CEDBA:: @ 080CEDBA + .incbin "baserom.gba", 0x0CEDBA, 0x0000015 + +gUnk_080CEDCF:: @ 080CEDCF + .incbin "baserom.gba", 0x0CEDCF, 0x0000038 + +gUnk_080CEE07:: @ 080CEE07 + .incbin "baserom.gba", 0x0CEE07, 0x0000038 + +gUnk_080CEE3F:: @ 080CEE3F + .incbin "baserom.gba", 0x0CEE3F, 0x0000018 + +gUnk_080CEE57:: @ 080CEE57 + .incbin "baserom.gba", 0x0CEE57, 0x0000019 + +gUnk_080CEE70:: @ 080CEE70 + .incbin "baserom.gba", 0x0CEE70, 0x0000020 + +gUnk_080CEE90:: @ 080CEE90 + .incbin "baserom.gba", 0x0CEE90, 0x0000014 + +gUnk_080CEEA4:: @ 080CEEA4 + .incbin "baserom.gba", 0x0CEEA4, 0x000000C + +gUnk_080CEEB0:: @ 080CEEB0 + .incbin "baserom.gba", 0x0CEEB0, 0x0000018 + +gUnk_080CEEC8:: @ 080CEEC8 + .incbin "baserom.gba", 0x0CEEC8, 0x0000004 + +gUnk_080CEECC:: @ 080CEECC + .incbin "baserom.gba", 0x0CEECC, 0x000000C + +gUnk_080CEED8:: @ 080CEED8 + .incbin "baserom.gba", 0x0CEED8, 0x0000004 + +gUnk_080CEEDC:: @ 080CEEDC + .incbin "baserom.gba", 0x0CEEDC, 0x000002C + +gUnk_080CEF08:: @ 080CEF08 + .incbin "baserom.gba", 0x0CEF08, 0x0000004 + +gUnk_080CEF0C:: @ 080CEF0C + .incbin "baserom.gba", 0x0CEF0C, 0x0000011 + +gUnk_080CEF1D:: @ 080CEF1D + .incbin "baserom.gba", 0x0CEF1D, 0x0000007 + +gUnk_080CEF24:: @ 080CEF24 + .incbin "baserom.gba", 0x0CEF24, 0x0000010 + +gUnk_080CEF34:: @ 080CEF34 + .incbin "baserom.gba", 0x0CEF34, 0x0000024 + +gUnk_080CEF58:: @ 080CEF58 + .incbin "baserom.gba", 0x0CEF58, 0x0000024 + +gUnk_080CEF7C:: @ 080CEF7C + .incbin "baserom.gba", 0x0CEF7C, 0x0000021 + +gUnk_080CEF9D:: @ 080CEF9D + .incbin "baserom.gba", 0x0CEF9D, 0x0000008 + +gUnk_080CEFA5:: @ 080CEFA5 + .incbin "baserom.gba", 0x0CEFA5, 0x0000009 + +gUnk_080CEFAE:: @ 080CEFAE + .incbin "baserom.gba", 0x0CEFAE, 0x0000004 + +gUnk_080CEFB2:: @ 080CEFB2 + .incbin "baserom.gba", 0x0CEFB2, 0x0000004 + +gUnk_080CEFB6:: @ 080CEFB6 + .incbin "baserom.gba", 0x0CEFB6, 0x0000015 + +gUnk_080CEFCB:: @ 080CEFCB + .incbin "baserom.gba", 0x0CEFCB, 0x0000015 + +gUnk_080CEFE0:: @ 080CEFE0 + .incbin "baserom.gba", 0x0CEFE0, 0x0000009 + +gUnk_080CEFE9:: @ 080CEFE9 + .incbin "baserom.gba", 0x0CEFE9, 0x0000019 + +gUnk_080CF002:: @ 080CF002 + .incbin "baserom.gba", 0x0CF002, 0x0000012 + +gUnk_080CF014:: @ 080CF014 + .incbin "baserom.gba", 0x0CF014, 0x000002C + +gUnk_080CF040:: @ 080CF040 + .incbin "baserom.gba", 0x0CF040, 0x0000014 + +gUnk_080CF054:: @ 080CF054 + .incbin "baserom.gba", 0x0CF054, 0x000001C + +gUnk_080CF070:: @ 080CF070 + .incbin "baserom.gba", 0x0CF070, 0x0000008 + +gUnk_080CF078:: @ 080CF078 + .incbin "baserom.gba", 0x0CF078, 0x0000014 + +gUnk_080CF08C:: @ 080CF08C + .incbin "baserom.gba", 0x0CF08C, 0x0000020 + +gUnk_080CF0AC:: @ 080CF0AC + .incbin "baserom.gba", 0x0CF0AC, 0x0000018 + +gUnk_080CF0C4:: @ 080CF0C4 + .incbin "baserom.gba", 0x0CF0C4, 0x0000014 + +gUnk_080CF0D8:: @ 080CF0D8 + .incbin "baserom.gba", 0x0CF0D8, 0x0000004 + +gUnk_080CF0DC:: @ 080CF0DC + .incbin "baserom.gba", 0x0CF0DC, 0x0000004 + +gUnk_080CF0E0:: @ 080CF0E0 + .incbin "baserom.gba", 0x0CF0E0, 0x0000010 + +gUnk_080CF0F0:: @ 080CF0F0 + .incbin "baserom.gba", 0x0CF0F0, 0x0000010 + +gUnk_080CF100:: @ 080CF100 + .incbin "baserom.gba", 0x0CF100, 0x000000C + +gUnk_080CF10C:: @ 080CF10C + .incbin "baserom.gba", 0x0CF10C, 0x0000004 + +gUnk_080CF110:: @ 080CF110 + .incbin "baserom.gba", 0x0CF110, 0x0000004 + +gUnk_080CF114:: @ 080CF114 + .incbin "baserom.gba", 0x0CF114, 0x0000005 + +gUnk_080CF119:: @ 080CF119 + .incbin "baserom.gba", 0x0CF119, 0x0000005 + +gUnk_080CF11E:: @ 080CF11E + .incbin "baserom.gba", 0x0CF11E, 0x0000006 + +gUnk_080CF124:: @ 080CF124 + .incbin "baserom.gba", 0x0CF124, 0x0000010 + +gUnk_080CF134:: @ 080CF134 + .incbin "baserom.gba", 0x0CF134, 0x0000004 + +gUnk_080CF138:: @ 080CF138 + .incbin "baserom.gba", 0x0CF138, 0x0000004 + +gUnk_080CF13C:: @ 080CF13C + .incbin "baserom.gba", 0x0CF13C, 0x0000003 + +gUnk_080CF13F:: @ 080CF13F + .incbin "baserom.gba", 0x0CF13F, 0x0000003 + +gUnk_080CF142:: @ 080CF142 + .incbin "baserom.gba", 0x0CF142, 0x0000005 + +gUnk_080CF147:: @ 080CF147 + .incbin "baserom.gba", 0x0CF147, 0x0000005 + +gUnk_080CF14C:: @ 080CF14C + .incbin "baserom.gba", 0x0CF14C, 0x0000004 + +gUnk_080CF150:: @ 080CF150 + .incbin "baserom.gba", 0x0CF150, 0x0000004 + +gUnk_080CF154:: @ 080CF154 + .incbin "baserom.gba", 0x0CF154, 0x0000004 + +gUnk_080CF158:: @ 080CF158 + .incbin "baserom.gba", 0x0CF158, 0x0000015 + +gUnk_080CF16D:: @ 080CF16D + .incbin "baserom.gba", 0x0CF16D, 0x0000015 + +gUnk_080CF182:: @ 080CF182 + .incbin "baserom.gba", 0x0CF182, 0x0000004 + +gUnk_080CF186:: @ 080CF186 + .incbin "baserom.gba", 0x0CF186, 0x0000011 + +gUnk_080CF197:: @ 080CF197 + .incbin "baserom.gba", 0x0CF197, 0x0000015 + +gUnk_080CF1AC:: @ 080CF1AC + .incbin "baserom.gba", 0x0CF1AC, 0x0000011 + +gUnk_080CF1BD:: @ 080CF1BD + .incbin "baserom.gba", 0x0CF1BD, 0x0000020 + +gUnk_080CF1DD:: @ 080CF1DD + .incbin "baserom.gba", 0x0CF1DD, 0x0000005 + +gUnk_080CF1E2:: @ 080CF1E2 + .incbin "baserom.gba", 0x0CF1E2, 0x0000019 + +gUnk_080CF1FB:: @ 080CF1FB + .incbin "baserom.gba", 0x0CF1FB, 0x0000004 + +gUnk_080CF1FF:: @ 080CF1FF + .incbin "baserom.gba", 0x0CF1FF, 0x0000005 + +gUnk_080CF204:: @ 080CF204 + .incbin "baserom.gba", 0x0CF204, 0x0000030 + +gUnk_080CF234:: @ 080CF234 + .incbin "baserom.gba", 0x0CF234, 0x0000010 + +gUnk_080CF244:: @ 080CF244 + .incbin "baserom.gba", 0x0CF244, 0x0000018 + +gUnk_080CF25C:: @ 080CF25C + .incbin "baserom.gba", 0x0CF25C, 0x000001C + +gUnk_080CF278:: @ 080CF278 + .incbin "baserom.gba", 0x0CF278, 0x0000018 + +gUnk_080CF290:: @ 080CF290 + .incbin "baserom.gba", 0x0CF290, 0x0000004 + +gUnk_080CF294:: @ 080CF294 + .incbin "baserom.gba", 0x0CF294, 0x0000018 + +gUnk_080CF2AC:: @ 080CF2AC + .incbin "baserom.gba", 0x0CF2AC, 0x0000024 + +gUnk_080CF2D0:: @ 080CF2D0 + .incbin "baserom.gba", 0x0CF2D0, 0x0000004 + +gUnk_080CF2D4:: @ 080CF2D4 + .incbin "baserom.gba", 0x0CF2D4, 0x0000004 + +gUnk_080CF2D8:: @ 080CF2D8 + .incbin "baserom.gba", 0x0CF2D8, 0x0000004 + +gUnk_080CF2DC:: @ 080CF2DC + .incbin "baserom.gba", 0x0CF2DC, 0x0000004 + +gUnk_080CF2E0:: @ 080CF2E0 + .incbin "baserom.gba", 0x0CF2E0, 0x0000019 + +gUnk_080CF2F9:: @ 080CF2F9 + .incbin "baserom.gba", 0x0CF2F9, 0x0000019 + +gUnk_080CF312:: @ 080CF312 + .incbin "baserom.gba", 0x0CF312, 0x0000019 + +gUnk_080CF32B:: @ 080CF32B + .incbin "baserom.gba", 0x0CF32B, 0x0000019 + +gUnk_080CF344:: @ 080CF344 + .incbin "baserom.gba", 0x0CF344, 0x0000018 + +gUnk_080CF35C:: @ 080CF35C + .incbin "baserom.gba", 0x0CF35C, 0x0000018 + +gUnk_080CF374:: @ 080CF374 + .incbin "baserom.gba", 0x0CF374, 0x0000018 + +gUnk_080CF38C:: @ 080CF38C + .incbin "baserom.gba", 0x0CF38C, 0x0000018 + +gUnk_080CF3A4:: @ 080CF3A4 + .incbin "baserom.gba", 0x0CF3A4, 0x0000009 + +gUnk_080CF3AD:: @ 080CF3AD + .incbin "baserom.gba", 0x0CF3AD, 0x0000009 + +gUnk_080CF3B6:: @ 080CF3B6 + .incbin "baserom.gba", 0x0CF3B6, 0x0000009 + +gUnk_080CF3BF:: @ 080CF3BF + .incbin "baserom.gba", 0x0CF3BF, 0x0000009 + +gUnk_080CF3C8:: @ 080CF3C8 + .incbin "baserom.gba", 0x0CF3C8, 0x0000014 + +gUnk_080CF3DC:: @ 080CF3DC + .incbin "baserom.gba", 0x0CF3DC, 0x0000014 + +gUnk_080CF3F0:: @ 080CF3F0 + .incbin "baserom.gba", 0x0CF3F0, 0x0000014 + +gUnk_080CF404:: @ 080CF404 + .incbin "baserom.gba", 0x0CF404, 0x0000014 + +gUnk_080CF418:: @ 080CF418 + .incbin "baserom.gba", 0x0CF418, 0x0000054 + +gUnk_080CF46C:: @ 080CF46C + .incbin "baserom.gba", 0x0CF46C, 0x0000018 + +gUnk_080CF484:: @ 080CF484 + .incbin "baserom.gba", 0x0CF484, 0x000000C + +gUnk_080CF490:: @ 080CF490 + .incbin "baserom.gba", 0x0CF490, 0x0000008 + +gUnk_080CF498:: @ 080CF498 + .incbin "baserom.gba", 0x0CF498, 0x0000008 + +gUnk_080CF4A0:: @ 080CF4A0 + .incbin "baserom.gba", 0x0CF4A0, 0x0000018 + +gUnk_080CF4B8:: @ 080CF4B8 + .incbin "baserom.gba", 0x0CF4B8, 0x000000C + +gUnk_080CF4C4:: @ 080CF4C4 + .incbin "baserom.gba", 0x0CF4C4, 0x0000004 + +gUnk_080CF4C8:: @ 080CF4C8 + .incbin "baserom.gba", 0x0CF4C8, 0x0000018 + +gUnk_080CF4E0:: @ 080CF4E0 + .incbin "baserom.gba", 0x0CF4E0, 0x0000010 + +gUnk_080CF4F0:: @ 080CF4F0 + .incbin "baserom.gba", 0x0CF4F0, 0x0000018 + +gUnk_080CF508:: @ 080CF508 + .incbin "baserom.gba", 0x0CF508, 0x0000018 + +gUnk_080CF520:: @ 080CF520 + .incbin "baserom.gba", 0x0CF520, 0x0000010 + +gUnk_080CF530:: @ 080CF530 + .incbin "baserom.gba", 0x0CF530, 0x000000D + +gUnk_080CF53D:: @ 080CF53D + .incbin "baserom.gba", 0x0CF53D, 0x000000D + +gUnk_080CF54A:: @ 080CF54A + .incbin "baserom.gba", 0x0CF54A, 0x000000D + +gUnk_080CF557:: @ 080CF557 + .incbin "baserom.gba", 0x0CF557, 0x000000D + +gUnk_080CF564:: @ 080CF564 + .incbin "baserom.gba", 0x0CF564, 0x000000D + +gUnk_080CF571:: @ 080CF571 + .incbin "baserom.gba", 0x0CF571, 0x000000D + +gUnk_080CF57E:: @ 080CF57E + .incbin "baserom.gba", 0x0CF57E, 0x000000D + +gUnk_080CF58B:: @ 080CF58B + .incbin "baserom.gba", 0x0CF58B, 0x000000D + +gUnk_080CF598:: @ 080CF598 + .incbin "baserom.gba", 0x0CF598, 0x000000D + +gUnk_080CF5A5:: @ 080CF5A5 + .incbin "baserom.gba", 0x0CF5A5, 0x000000D + +gUnk_080CF5B2:: @ 080CF5B2 + .incbin "baserom.gba", 0x0CF5B2, 0x000000D + +gUnk_080CF5BF:: @ 080CF5BF + .incbin "baserom.gba", 0x0CF5BF, 0x000000D + +gUnk_080CF5CC:: @ 080CF5CC + .incbin "baserom.gba", 0x0CF5CC, 0x0000034 + +gUnk_080CF600:: @ 080CF600 + .incbin "baserom.gba", 0x0CF600, 0x0000018 + +gUnk_080CF618:: @ 080CF618 + .incbin "baserom.gba", 0x0CF618, 0x0000014 + +gUnk_080CF62C:: @ 080CF62C + .incbin "baserom.gba", 0x0CF62C, 0x0000008 + +gUnk_080CF634:: @ 080CF634 + .incbin "baserom.gba", 0x0CF634, 0x0000008 + +gUnk_080CF63C:: @ 080CF63C + .incbin "baserom.gba", 0x0CF63C, 0x0000008 + +gUnk_080CF644:: @ 080CF644 + .incbin "baserom.gba", 0x0CF644, 0x0000005 + +gUnk_080CF649:: @ 080CF649 + .incbin "baserom.gba", 0x0CF649, 0x0000005 + +gUnk_080CF64E:: @ 080CF64E + .incbin "baserom.gba", 0x0CF64E, 0x0000005 + +gUnk_080CF653:: @ 080CF653 + .incbin "baserom.gba", 0x0CF653, 0x0000005 + +gUnk_080CF658:: @ 080CF658 + .incbin "baserom.gba", 0x0CF658, 0x0000011 + +gUnk_080CF669:: @ 080CF669 + .incbin "baserom.gba", 0x0CF669, 0x0000011 + +gUnk_080CF67A:: @ 080CF67A + .incbin "baserom.gba", 0x0CF67A, 0x0000011 + +gUnk_080CF68B:: @ 080CF68B + .incbin "baserom.gba", 0x0CF68B, 0x0000011 + +gUnk_080CF69C:: @ 080CF69C + .incbin "baserom.gba", 0x0CF69C, 0x0000005 + +gUnk_080CF6A1:: @ 080CF6A1 + .incbin "baserom.gba", 0x0CF6A1, 0x0000005 + +gUnk_080CF6A6:: @ 080CF6A6 + .incbin "baserom.gba", 0x0CF6A6, 0x0000005 + +gUnk_080CF6AB:: @ 080CF6AB + .incbin "baserom.gba", 0x0CF6AB, 0x0000005 + +gUnk_080CF6B0:: @ 080CF6B0 + .incbin "baserom.gba", 0x0CF6B0, 0x0000011 + +gUnk_080CF6C1:: @ 080CF6C1 + .incbin "baserom.gba", 0x0CF6C1, 0x0000011 + +gUnk_080CF6D2:: @ 080CF6D2 + .incbin "baserom.gba", 0x0CF6D2, 0x0000011 + +gUnk_080CF6E3:: @ 080CF6E3 + .incbin "baserom.gba", 0x0CF6E3, 0x0000011 + +gUnk_080CF6F4:: @ 080CF6F4 + .incbin "baserom.gba", 0x0CF6F4, 0x000000C + +gUnk_080CF700:: @ 080CF700 + .incbin "baserom.gba", 0x0CF700, 0x000000C + +gUnk_080CF70C:: @ 080CF70C + .incbin "baserom.gba", 0x0CF70C, 0x000000C + +gUnk_080CF718:: @ 080CF718 + .incbin "baserom.gba", 0x0CF718, 0x000000C + +gUnk_080CF724:: @ 080CF724 + .incbin "baserom.gba", 0x0CF724, 0x0000054 + +gUnk_080CF778:: @ 080CF778 + .incbin "baserom.gba", 0x0CF778, 0x0000018 + +gUnk_080CF790:: @ 080CF790 + .incbin "baserom.gba", 0x0CF790, 0x000001C + +gUnk_080CF7AC:: @ 080CF7AC + .incbin "baserom.gba", 0x0CF7AC, 0x0000010 + +gUnk_080CF7BC:: @ 080CF7BC + .incbin "baserom.gba", 0x0CF7BC, 0x0000002 + +gUnk_080CF7BE:: @ 080CF7BE + .incbin "baserom.gba", 0x0CF7BE, 0x0000004 + +gUnk_080CF7C2:: @ 080CF7C2 + .incbin "baserom.gba", 0x0CF7C2, 0x0000002 + +gUnk_080CF7C4:: @ 080CF7C4 + .incbin "baserom.gba", 0x0CF7C4, 0x0000037 + +gUnk_080CF7FB:: @ 080CF7FB + .incbin "baserom.gba", 0x0CF7FB, 0x0000018 + +gUnk_080CF813:: @ 080CF813 + .incbin "baserom.gba", 0x0CF813, 0x0000011 + +gUnk_080CF824:: @ 080CF824 + .incbin "baserom.gba", 0x0CF824, 0x0000004 + +gUnk_080CF828:: @ 080CF828 + .incbin "baserom.gba", 0x0CF828, 0x0000004 + +gUnk_080CF82C:: @ 080CF82C + .incbin "baserom.gba", 0x0CF82C, 0x0000002 + +gUnk_080CF82E:: @ 080CF82E + .incbin "baserom.gba", 0x0CF82E, 0x0000003 + +gUnk_080CF831:: @ 080CF831 + .incbin "baserom.gba", 0x0CF831, 0x0000005 + +gUnk_080CF836:: @ 080CF836 + .incbin "baserom.gba", 0x0CF836, 0x0000011 + +gUnk_080CF847:: @ 080CF847 + .incbin "baserom.gba", 0x0CF847, 0x0000018 + +gUnk_080CF85F:: @ 080CF85F + .incbin "baserom.gba", 0x0CF85F, 0x0000020 + +gUnk_080CF87F:: @ 080CF87F + .incbin "baserom.gba", 0x0CF87F, 0x0000011 + +gUnk_080CF890:: @ 080CF890 + .incbin "baserom.gba", 0x0CF890, 0x0000014 + +gUnk_080CF8A4:: @ 080CF8A4 + .incbin "baserom.gba", 0x0CF8A4, 0x0000018 + +gUnk_080CF8BC:: @ 080CF8BC + .incbin "baserom.gba", 0x0CF8BC, 0x0000030 + +gUnk_080CF8EC:: @ 080CF8EC + .incbin "baserom.gba", 0x0CF8EC, 0x000000C + +gUnk_080CF8F8:: @ 080CF8F8 + .incbin "baserom.gba", 0x0CF8F8, 0x0000008 + +gUnk_080CF900:: @ 080CF900 + .incbin "baserom.gba", 0x0CF900, 0x0000010 + +gUnk_080CF910:: @ 080CF910 + .incbin "baserom.gba", 0x0CF910, 0x0000008 + +gUnk_080CF918:: @ 080CF918 + .incbin "baserom.gba", 0x0CF918, 0x0000010 + +gUnk_080CF928:: @ 080CF928 + .incbin "baserom.gba", 0x0CF928, 0x0000004 + +gUnk_080CF92C:: @ 080CF92C + .incbin "baserom.gba", 0x0CF92C, 0x0000004 + +gUnk_080CF930:: @ 080CF930 + .incbin "baserom.gba", 0x0CF930, 0x0000008 + +gUnk_080CF938:: @ 080CF938 + .incbin "baserom.gba", 0x0CF938, 0x000000A + +gUnk_080CF942:: @ 080CF942 + .incbin "baserom.gba", 0x0CF942, 0x0000004 + +gUnk_080CF946:: @ 080CF946 + .incbin "baserom.gba", 0x0CF946, 0x0000004 + +gUnk_080CF94A:: @ 080CF94A + .incbin "baserom.gba", 0x0CF94A, 0x0000004 + +gUnk_080CF94E:: @ 080CF94E + .incbin "baserom.gba", 0x0CF94E, 0x0000004 + +gUnk_080CF952:: @ 080CF952 + .incbin "baserom.gba", 0x0CF952, 0x0000019 + +gUnk_080CF96B:: @ 080CF96B + .incbin "baserom.gba", 0x0CF96B, 0x0000019 + +gUnk_080CF984:: @ 080CF984 + .incbin "baserom.gba", 0x0CF984, 0x0000019 + +gUnk_080CF99D:: @ 080CF99D + .incbin "baserom.gba", 0x0CF99D, 0x0000019 + +gUnk_080CF9B6:: @ 080CF9B6 + .incbin "baserom.gba", 0x0CF9B6, 0x0000004 + +gUnk_080CF9BA:: @ 080CF9BA + .incbin "baserom.gba", 0x0CF9BA, 0x0000004 + +gUnk_080CF9BE:: @ 080CF9BE + .incbin "baserom.gba", 0x0CF9BE, 0x0000004 + +gUnk_080CF9C2:: @ 080CF9C2 + .incbin "baserom.gba", 0x0CF9C2, 0x0000004 + +gUnk_080CF9C6:: @ 080CF9C6 + .incbin "baserom.gba", 0x0CF9C6, 0x0000011 + +gUnk_080CF9D7:: @ 080CF9D7 + .incbin "baserom.gba", 0x0CF9D7, 0x0000011 + +gUnk_080CF9E8:: @ 080CF9E8 + .incbin "baserom.gba", 0x0CF9E8, 0x000000B + +gUnk_080CF9F3:: @ 080CF9F3 + .incbin "baserom.gba", 0x0CF9F3, 0x0000004 + +gUnk_080CF9F7:: @ 080CF9F7 + .incbin "baserom.gba", 0x0CF9F7, 0x0000002 + +gUnk_080CF9F9:: @ 080CF9F9 + .incbin "baserom.gba", 0x0CF9F9, 0x0000011 + +gUnk_080CFA0A:: @ 080CFA0A + .incbin "baserom.gba", 0x0CFA0A, 0x0000004 + +gUnk_080CFA0E:: @ 080CFA0E + .incbin "baserom.gba", 0x0CFA0E, 0x0000004 + +gUnk_080CFA12:: @ 080CFA12 + .incbin "baserom.gba", 0x0CFA12, 0x0000004 + +gUnk_080CFA16:: @ 080CFA16 + .incbin "baserom.gba", 0x0CFA16, 0x0000004 + +gUnk_080CFA1A:: @ 080CFA1A + .incbin "baserom.gba", 0x0CFA1A, 0x0000019 + +gUnk_080CFA33:: @ 080CFA33 + .incbin "baserom.gba", 0x0CFA33, 0x0000019 + +gUnk_080CFA4C:: @ 080CFA4C + .incbin "baserom.gba", 0x0CFA4C, 0x0000019 + +gUnk_080CFA65:: @ 080CFA65 + .incbin "baserom.gba", 0x0CFA65, 0x0000019 + +gUnk_080CFA7E:: @ 080CFA7E + .incbin "baserom.gba", 0x0CFA7E, 0x0000014 + +gUnk_080CFA92:: @ 080CFA92 + .incbin "baserom.gba", 0x0CFA92, 0x0000014 + +gUnk_080CFAA6:: @ 080CFAA6 + .incbin "baserom.gba", 0x0CFAA6, 0x0000014 + +gUnk_080CFABA:: @ 080CFABA + .incbin "baserom.gba", 0x0CFABA, 0x0000014 + +gUnk_080CFACE:: @ 080CFACE + .incbin "baserom.gba", 0x0CFACE, 0x0000004 + +gUnk_080CFAD2:: @ 080CFAD2 + .incbin "baserom.gba", 0x0CFAD2, 0x0000004 + +gUnk_080CFAD6:: @ 080CFAD6 + .incbin "baserom.gba", 0x0CFAD6, 0x0000004 + +gUnk_080CFADA:: @ 080CFADA + .incbin "baserom.gba", 0x0CFADA, 0x0000004 + +gUnk_080CFADE:: @ 080CFADE + .incbin "baserom.gba", 0x0CFADE, 0x0000004 + +gUnk_080CFAE2:: @ 080CFAE2 + .incbin "baserom.gba", 0x0CFAE2, 0x0000004 + +gUnk_080CFAE6:: @ 080CFAE6 + .incbin "baserom.gba", 0x0CFAE6, 0x0000004 + +gUnk_080CFAEA:: @ 080CFAEA + .incbin "baserom.gba", 0x0CFAEA, 0x0000006 + +gUnk_080CFAF0:: @ 080CFAF0 + .incbin "baserom.gba", 0x0CFAF0, 0x0000003 + +gUnk_080CFAF3:: @ 080CFAF3 + .incbin "baserom.gba", 0x0CFAF3, 0x0000091 + +gUnk_080CFB84:: @ 080CFB84 + .incbin "baserom.gba", 0x0CFB84, 0x0000018 + +gUnk_080CFB9C:: @ 080CFB9C + .incbin "baserom.gba", 0x0CFB9C, 0x0000020 + +gUnk_080CFBBC:: @ 080CFBBC + .incbin "baserom.gba", 0x0CFBBC, 0x0000018 + +gUnk_080CFBD4:: @ 080CFBD4 + .incbin "baserom.gba", 0x0CFBD4, 0x0000010 + +gUnk_080CFBE4:: @ 080CFBE4 + .incbin "baserom.gba", 0x0CFBE4, 0x0000004 + +gUnk_080CFBE8:: @ 080CFBE8 + .incbin "baserom.gba", 0x0CFBE8, 0x0000024 + +gUnk_080CFC0C:: @ 080CFC0C + .incbin "baserom.gba", 0x0CFC0C, 0x0000008 + +gUnk_080CFC14:: @ 080CFC14 + .incbin "baserom.gba", 0x0CFC14, 0x0000018 + +gUnk_080CFC2C:: @ 080CFC2C + .incbin "baserom.gba", 0x0CFC2C, 0x0000010 + +gUnk_080CFC3C:: @ 080CFC3C + .incbin "baserom.gba", 0x0CFC3C, 0x00000BB + +gUnk_080CFCF7:: @ 080CFCF7 + .incbin "baserom.gba", 0x0CFCF7, 0x0000011 + +gUnk_080CFD08:: @ 080CFD08 + .incbin "baserom.gba", 0x0CFD08, 0x0000002 + +gUnk_080CFD0A:: @ 080CFD0A + .incbin "baserom.gba", 0x0CFD0A, 0x0000002 + +gUnk_080CFD0C:: @ 080CFD0C + .incbin "baserom.gba", 0x0CFD0C, 0x000000D + +gUnk_080CFD19:: @ 080CFD19 + .incbin "baserom.gba", 0x0CFD19, 0x0000002 + +gUnk_080CFD1B:: @ 080CFD1B + .incbin "baserom.gba", 0x0CFD1B, 0x0000002 + +gUnk_080CFD1D:: @ 080CFD1D + .incbin "baserom.gba", 0x0CFD1D, 0x0000003 + +gUnk_080CFD20:: @ 080CFD20 + .incbin "baserom.gba", 0x0CFD20, 0x0000010 + +gUnk_080CFD30:: @ 080CFD30 + .incbin "baserom.gba", 0x0CFD30, 0x0000014 + +gUnk_080CFD44:: @ 080CFD44 + .incbin "baserom.gba", 0x0CFD44, 0x0000014 + +gUnk_080CFD58:: @ 080CFD58 + .incbin "baserom.gba", 0x0CFD58, 0x0000004 + +gUnk_080CFD5C:: @ 080CFD5C + .incbin "baserom.gba", 0x0CFD5C, 0x0000004 + +gUnk_080CFD60:: @ 080CFD60 + .incbin "baserom.gba", 0x0CFD60, 0x0000011 + +gUnk_080CFD71:: @ 080CFD71 + .incbin "baserom.gba", 0x0CFD71, 0x0000011 + +gUnk_080CFD82:: @ 080CFD82 + .incbin "baserom.gba", 0x0CFD82, 0x0000054 + +gUnk_080CFDD6:: @ 080CFDD6 + .incbin "baserom.gba", 0x0CFDD6, 0x0000013 + +gUnk_080CFDE9:: @ 080CFDE9 + .incbin "baserom.gba", 0x0CFDE9, 0x0000041 + +gUnk_080CFE2A:: @ 080CFE2A + .incbin "baserom.gba", 0x0CFE2A, 0x000000D + +gUnk_080CFE37:: @ 080CFE37 + .incbin "baserom.gba", 0x0CFE37, 0x000000D + +gUnk_080CFE44:: @ 080CFE44 + .incbin "baserom.gba", 0x0CFE44, 0x0000008 + +gUnk_080CFE4C:: @ 080CFE4C + .incbin "baserom.gba", 0x0CFE4C, 0x0000008 + +gUnk_080CFE54:: @ 080CFE54 + .incbin "baserom.gba", 0x0CFE54, 0x0000004 + +gUnk_080CFE58:: @ 080CFE58 + .incbin "baserom.gba", 0x0CFE58, 0x0000004 + +gUnk_080CFE5C:: @ 080CFE5C + .incbin "baserom.gba", 0x0CFE5C, 0x0000004 + +gUnk_080CFE60:: @ 080CFE60 + .incbin "baserom.gba", 0x0CFE60, 0x0000011 + +gUnk_080CFE71:: @ 080CFE71 + .incbin "baserom.gba", 0x0CFE71, 0x0000005 + +gUnk_080CFE76:: @ 080CFE76 + .incbin "baserom.gba", 0x0CFE76, 0x0000005 + +gUnk_080CFE7B:: @ 080CFE7B + .incbin "baserom.gba", 0x0CFE7B, 0x0000005 + +gUnk_080CFE80:: @ 080CFE80 + .incbin "baserom.gba", 0x0CFE80, 0x0000005 + +gUnk_080CFE85:: @ 080CFE85 + .incbin "baserom.gba", 0x0CFE85, 0x0000005 + +gUnk_080CFE8A:: @ 080CFE8A + .incbin "baserom.gba", 0x0CFE8A, 0x0000005 + +gUnk_080CFE8F:: @ 080CFE8F + .incbin "baserom.gba", 0x0CFE8F, 0x0000005 + +gUnk_080CFE94:: @ 080CFE94 + .incbin "baserom.gba", 0x0CFE94, 0x0000005 + +gUnk_080CFE99:: @ 080CFE99 + .incbin "baserom.gba", 0x0CFE99, 0x0000005 + +gUnk_080CFE9E:: @ 080CFE9E + .incbin "baserom.gba", 0x0CFE9E, 0x0000005 + +gUnk_080CFEA3:: @ 080CFEA3 + .incbin "baserom.gba", 0x0CFEA3, 0x000000D + +gUnk_080CFEB0:: @ 080CFEB0 + .incbin "baserom.gba", 0x0CFEB0, 0x0000011 + +gUnk_080CFEC1:: @ 080CFEC1 + .incbin "baserom.gba", 0x0CFEC1, 0x0000013 + +gUnk_080CFED4:: @ 080CFED4 + .incbin "baserom.gba", 0x0CFED4, 0x0000028 + +gUnk_080CFEFC:: @ 080CFEFC + .incbin "baserom.gba", 0x0CFEFC, 0x0000040 + +gUnk_080CFF3C:: @ 080CFF3C + .incbin "baserom.gba", 0x0CFF3C, 0x0000018 + +gUnk_080CFF54:: @ 080CFF54 + .incbin "baserom.gba", 0x0CFF54, 0x0000018 + +gUnk_080CFF6C:: @ 080CFF6C + .incbin "baserom.gba", 0x0CFF6C, 0x000000C + +gUnk_080CFF78:: @ 080CFF78 + .incbin "baserom.gba", 0x0CFF78, 0x0000018 + +gUnk_080CFF90:: @ 080CFF90 + .incbin "baserom.gba", 0x0CFF90, 0x0000014 + +gUnk_080CFFA4:: @ 080CFFA4 + .incbin "baserom.gba", 0x0CFFA4, 0x0000008 + +gUnk_080CFFAC:: @ 080CFFAC + .incbin "baserom.gba", 0x0CFFAC, 0x0000010 + +gUnk_080CFFBC:: @ 080CFFBC + .incbin "baserom.gba", 0x0CFFBC, 0x0000008 + +gUnk_080CFFC4:: @ 080CFFC4 + .incbin "baserom.gba", 0x0CFFC4, 0x0000008 + +gUnk_080CFFCC:: @ 080CFFCC + .incbin "baserom.gba", 0x0CFFCC, 0x0000009 + +gUnk_080CFFD5:: @ 080CFFD5 + .incbin "baserom.gba", 0x0CFFD5, 0x0000009 + +gUnk_080CFFDE:: @ 080CFFDE + .incbin "baserom.gba", 0x0CFFDE, 0x0000009 + +gUnk_080CFFE7:: @ 080CFFE7 + .incbin "baserom.gba", 0x0CFFE7, 0x0000009 + +gUnk_080CFFF0:: @ 080CFFF0 + .incbin "baserom.gba", 0x0CFFF0, 0x0000011 + +gUnk_080D0001:: @ 080D0001 + .incbin "baserom.gba", 0x0D0001, 0x0000004 + +gUnk_080D0005:: @ 080D0005 + .incbin "baserom.gba", 0x0D0005, 0x0000003 + +gUnk_080D0008:: @ 080D0008 + .incbin "baserom.gba", 0x0D0008, 0x0000001 + +gUnk_080D0009:: @ 080D0009 + .incbin "baserom.gba", 0x0D0009, 0x0000003 + +gUnk_080D000C:: @ 080D000C + .incbin "baserom.gba", 0x0D000C, 0x0000006 + +gUnk_080D0012:: @ 080D0012 + .incbin "baserom.gba", 0x0D0012, 0x0000011 + +gUnk_080D0023:: @ 080D0023 + .incbin "baserom.gba", 0x0D0023, 0x0000009 + +gUnk_080D002C:: @ 080D002C + .incbin "baserom.gba", 0x0D002C, 0x0000008 + +gUnk_080D0034:: @ 080D0034 + .incbin "baserom.gba", 0x0D0034, 0x0000011 + +gUnk_080D0045:: @ 080D0045 + .incbin "baserom.gba", 0x0D0045, 0x0000011 + +gUnk_080D0056:: @ 080D0056 + .incbin "baserom.gba", 0x0D0056, 0x0000011 + +gUnk_080D0067:: @ 080D0067 + .incbin "baserom.gba", 0x0D0067, 0x0000011 + +gUnk_080D0078:: @ 080D0078 + .incbin "baserom.gba", 0x0D0078, 0x0000015 + +gUnk_080D008D:: @ 080D008D + .incbin "baserom.gba", 0x0D008D, 0x0000015 + +gUnk_080D00A2:: @ 080D00A2 + .incbin "baserom.gba", 0x0D00A2, 0x0000015 + +gUnk_080D00B7:: @ 080D00B7 + .incbin "baserom.gba", 0x0D00B7, 0x0000015 + +gUnk_080D00CC:: @ 080D00CC + .incbin "baserom.gba", 0x0D00CC, 0x0000008 + +gUnk_080D00D4:: @ 080D00D4 + .incbin "baserom.gba", 0x0D00D4, 0x000002C + +gUnk_080D0100:: @ 080D0100 + .incbin "baserom.gba", 0x0D0100, 0x0000010 + +gUnk_080D0110:: @ 080D0110 + .incbin "baserom.gba", 0x0D0110, 0x0000018 + +gUnk_080D0128:: @ 080D0128 + .incbin "baserom.gba", 0x0D0128, 0x0000020 + +gUnk_080D0148:: @ 080D0148 + .incbin "baserom.gba", 0x0D0148, 0x000000C + +gUnk_080D0154:: @ 080D0154 + .incbin "baserom.gba", 0x0D0154, 0x0000008 + +gUnk_080D015C:: @ 080D015C + .incbin "baserom.gba", 0x0D015C, 0x0000011 + +gUnk_080D016D:: @ 080D016D + .incbin "baserom.gba", 0x0D016D, 0x0000011 + +gUnk_080D017E:: @ 080D017E + .incbin "baserom.gba", 0x0D017E, 0x0000011 + +gUnk_080D018F:: @ 080D018F + .incbin "baserom.gba", 0x0D018F, 0x0000011 + +gUnk_080D01A0:: @ 080D01A0 + .incbin "baserom.gba", 0x0D01A0, 0x0000011 + +gUnk_080D01B1:: @ 080D01B1 + .incbin "baserom.gba", 0x0D01B1, 0x0000011 + +gUnk_080D01C2:: @ 080D01C2 + .incbin "baserom.gba", 0x0D01C2, 0x0000011 + +gUnk_080D01D3:: @ 080D01D3 + .incbin "baserom.gba", 0x0D01D3, 0x0000011 + +gUnk_080D01E4:: @ 080D01E4 + .incbin "baserom.gba", 0x0D01E4, 0x000000B + +gUnk_080D01EF:: @ 080D01EF + .incbin "baserom.gba", 0x0D01EF, 0x000001D + +gUnk_080D020C:: @ 080D020C + .incbin "baserom.gba", 0x0D020C, 0x0000004 + +gUnk_080D0210:: @ 080D0210 + .incbin "baserom.gba", 0x0D0210, 0x0000001 + +gUnk_080D0211:: @ 080D0211 + .incbin "baserom.gba", 0x0D0211, 0x0000014 + +gUnk_080D0225:: @ 080D0225 + .incbin "baserom.gba", 0x0D0225, 0x0000041 + +gUnk_080D0266:: @ 080D0266 + .incbin "baserom.gba", 0x0D0266, 0x0000041 + +gUnk_080D02A7:: @ 080D02A7 + .incbin "baserom.gba", 0x0D02A7, 0x0000041 + +gUnk_080D02E8:: @ 080D02E8 + .incbin "baserom.gba", 0x0D02E8, 0x000000B + +gUnk_080D02F3:: @ 080D02F3 + .incbin "baserom.gba", 0x0D02F3, 0x0000003 + +gUnk_080D02F6:: @ 080D02F6 + .incbin "baserom.gba", 0x0D02F6, 0x0000001 + +gUnk_080D02F7:: @ 080D02F7 + .incbin "baserom.gba", 0x0D02F7, 0x0000002 + +gUnk_080D02F9:: @ 080D02F9 + .incbin "baserom.gba", 0x0D02F9, 0x0000003 + +gUnk_080D02FC:: @ 080D02FC + .incbin "baserom.gba", 0x0D02FC, 0x0000004 + +gUnk_080D0300:: @ 080D0300 + .incbin "baserom.gba", 0x0D0300, 0x000000A + +gUnk_080D030A:: @ 080D030A + .incbin "baserom.gba", 0x0D030A, 0x0000011 + +gUnk_080D031B:: @ 080D031B + .incbin "baserom.gba", 0x0D031B, 0x0000011 + +gUnk_080D032C:: @ 080D032C + .incbin "baserom.gba", 0x0D032C, 0x0000011 + +gUnk_080D033D:: @ 080D033D + .incbin "baserom.gba", 0x0D033D, 0x0000011 + +gUnk_080D034E:: @ 080D034E + .incbin "baserom.gba", 0x0D034E, 0x0000011 + +gUnk_080D035F:: @ 080D035F + .incbin "baserom.gba", 0x0D035F, 0x0000011 + +gUnk_080D0370:: @ 080D0370 + .incbin "baserom.gba", 0x0D0370, 0x0000011 + +gUnk_080D0381:: @ 080D0381 + .incbin "baserom.gba", 0x0D0381, 0x0000011 + +gUnk_080D0392:: @ 080D0392 + .incbin "baserom.gba", 0x0D0392, 0x0000011 + +gUnk_080D03A3:: @ 080D03A3 + .incbin "baserom.gba", 0x0D03A3, 0x0000011 + +gUnk_080D03B4:: @ 080D03B4 + .incbin "baserom.gba", 0x0D03B4, 0x000003C + +gUnk_080D03F0:: @ 080D03F0 + .incbin "baserom.gba", 0x0D03F0, 0x0000014 + +gUnk_080D0404:: @ 080D0404 + .incbin "baserom.gba", 0x0D0404, 0x0000014 + +gUnk_080D0418:: @ 080D0418 + .incbin "baserom.gba", 0x0D0418, 0x0000018 + +gUnk_080D0430:: @ 080D0430 + .incbin "baserom.gba", 0x0D0430, 0x000000C + +gUnk_080D043C:: @ 080D043C + .incbin "baserom.gba", 0x0D043C, 0x000000C + +gUnk_080D0448:: @ 080D0448 + .incbin "baserom.gba", 0x0D0448, 0x0000010 + +gUnk_080D0458:: @ 080D0458 + .incbin "baserom.gba", 0x0D0458, 0x0000010 + +gUnk_080D0468:: @ 080D0468 + .incbin "baserom.gba", 0x0D0468, 0x0000008 + +gUnk_080D0470:: @ 080D0470 + .incbin "baserom.gba", 0x0D0470, 0x0000020 + +gUnk_080D0490:: @ 080D0490 + .incbin "baserom.gba", 0x0D0490, 0x0000008 + +gUnk_080D0498:: @ 080D0498 + .incbin "baserom.gba", 0x0D0498, 0x0000008 + +gUnk_080D04A0:: @ 080D04A0 + .incbin "baserom.gba", 0x0D04A0, 0x0000008 + +gUnk_080D04A8:: @ 080D04A8 + .incbin "baserom.gba", 0x0D04A8, 0x0000004 + +gUnk_080D04AC:: @ 080D04AC + .incbin "baserom.gba", 0x0D04AC, 0x0000014 + +gUnk_080D04C0:: @ 080D04C0 + .incbin "baserom.gba", 0x0D04C0, 0x0000008 + +gUnk_080D04C8:: @ 080D04C8 + .incbin "baserom.gba", 0x0D04C8, 0x0000008 + +gUnk_080D04D0:: @ 080D04D0 + .incbin "baserom.gba", 0x0D04D0, 0x0000003 + +gUnk_080D04D3:: @ 080D04D3 + .incbin "baserom.gba", 0x0D04D3, 0x0000004 + +gUnk_080D04D7:: @ 080D04D7 + .incbin "baserom.gba", 0x0D04D7, 0x0000011 + +gUnk_080D04E8:: @ 080D04E8 + .incbin "baserom.gba", 0x0D04E8, 0x0000011 + +gUnk_080D04F9:: @ 080D04F9 + .incbin "baserom.gba", 0x0D04F9, 0x0000005 + +gUnk_080D04FE:: @ 080D04FE + .incbin "baserom.gba", 0x0D04FE, 0x0000003 + +gUnk_080D0501:: @ 080D0501 + .incbin "baserom.gba", 0x0D0501, 0x0000001 + +gUnk_080D0502:: @ 080D0502 + .incbin "baserom.gba", 0x0D0502, 0x0000006 + +gUnk_080D0508:: @ 080D0508 + .incbin "baserom.gba", 0x0D0508, 0x0000005 + +gUnk_080D050D:: @ 080D050D + .incbin "baserom.gba", 0x0D050D, 0x0000024 + +gUnk_080D0531:: @ 080D0531 + .incbin "baserom.gba", 0x0D0531, 0x0000027 + +gUnk_080D0558:: @ 080D0558 + .incbin "baserom.gba", 0x0D0558, 0x0000018 + +gUnk_080D0570:: @ 080D0570 + .incbin "baserom.gba", 0x0D0570, 0x0000005 + +gUnk_080D0575:: @ 080D0575 + .incbin "baserom.gba", 0x0D0575, 0x0000010 + +gUnk_080D0585:: @ 080D0585 + .incbin "baserom.gba", 0x0D0585, 0x0000007 + +gUnk_080D058C:: @ 080D058C + .incbin "baserom.gba", 0x0D058C, 0x0000010 + +gUnk_080D059C:: @ 080D059C + .incbin "baserom.gba", 0x0D059C, 0x0000011 + +gUnk_080D05AD:: @ 080D05AD + .incbin "baserom.gba", 0x0D05AD, 0x0000011 + +gUnk_080D05BE:: @ 080D05BE + .incbin "baserom.gba", 0x0D05BE, 0x0000011 + +gUnk_080D05CF:: @ 080D05CF + .incbin "baserom.gba", 0x0D05CF, 0x0000011 + +gUnk_080D05E0:: @ 080D05E0 + .incbin "baserom.gba", 0x0D05E0, 0x0000014 + +gUnk_080D05F4:: @ 080D05F4 + .incbin "baserom.gba", 0x0D05F4, 0x0000006 + +gUnk_080D05FA:: @ 080D05FA + .incbin "baserom.gba", 0x0D05FA, 0x0000002 + +gUnk_080D05FC:: @ 080D05FC + .incbin "baserom.gba", 0x0D05FC, 0x0000001 + +gUnk_080D05FD:: @ 080D05FD + .incbin "baserom.gba", 0x0D05FD, 0x0000001 + +gUnk_080D05FE:: @ 080D05FE + .incbin "baserom.gba", 0x0D05FE, 0x0000007 + +gUnk_080D0605:: @ 080D0605 + .incbin "baserom.gba", 0x0D0605, 0x0000003 + +gUnk_080D0608:: @ 080D0608 + .incbin "baserom.gba", 0x0D0608, 0x0000001 + +gUnk_080D0609:: @ 080D0609 + .incbin "baserom.gba", 0x0D0609, 0x0000015 + +gUnk_080D061E:: @ 080D061E + .incbin "baserom.gba", 0x0D061E, 0x0000016 + +gUnk_080D0634:: @ 080D0634 + .incbin "baserom.gba", 0x0D0634, 0x0000014 + +gUnk_080D0648:: @ 080D0648 + .incbin "baserom.gba", 0x0D0648, 0x0000018 + +gUnk_080D0660:: @ 080D0660 + .incbin "baserom.gba", 0x0D0660, 0x0000028 + +gUnk_080D0688:: @ 080D0688 + .incbin "baserom.gba", 0x0D0688, 0x0000019 + +gUnk_080D06A1:: @ 080D06A1 + .incbin "baserom.gba", 0x0D06A1, 0x0000011 + +gUnk_080D06B2:: @ 080D06B2 + .incbin "baserom.gba", 0x0D06B2, 0x000001E + +gUnk_080D06D0:: @ 080D06D0 + .incbin "baserom.gba", 0x0D06D0, 0x0000010 + +gUnk_080D06E0:: @ 080D06E0 + .incbin "baserom.gba", 0x0D06E0, 0x0000008 + +gUnk_080D06E8:: @ 080D06E8 + .incbin "baserom.gba", 0x0D06E8, 0x0000010 + +gUnk_080D06F8:: @ 080D06F8 + .incbin "baserom.gba", 0x0D06F8, 0x0000004 + +gUnk_080D06FC:: @ 080D06FC + .incbin "baserom.gba", 0x0D06FC, 0x0000002 + +gUnk_080D06FE:: @ 080D06FE + .incbin "baserom.gba", 0x0D06FE, 0x0000002 + +gUnk_080D0700:: @ 080D0700 + .incbin "baserom.gba", 0x0D0700, 0x0000001 + +gUnk_080D0701:: @ 080D0701 + .incbin "baserom.gba", 0x0D0701, 0x0000023 + +gUnk_080D0724:: @ 080D0724 + .incbin "baserom.gba", 0x0D0724, 0x0000004 + +gUnk_080D0728:: @ 080D0728 + .incbin "baserom.gba", 0x0D0728, 0x0000008 + +gUnk_080D0730:: @ 080D0730 + .incbin "baserom.gba", 0x0D0730, 0x0000008 + +gUnk_080D0738:: @ 080D0738 + .incbin "baserom.gba", 0x0D0738, 0x0000004 + +gUnk_080D073C:: @ 080D073C + .incbin "baserom.gba", 0x0D073C, 0x0000004 + +gUnk_080D0740:: @ 080D0740 + .incbin "baserom.gba", 0x0D0740, 0x0000004 + +gUnk_080D0744:: @ 080D0744 + .incbin "baserom.gba", 0x0D0744, 0x0000004 + +gUnk_080D0748:: @ 080D0748 + .incbin "baserom.gba", 0x0D0748, 0x0000004 + +gUnk_080D074C:: @ 080D074C + .incbin "baserom.gba", 0x0D074C, 0x0000004 + +gUnk_080D0750:: @ 080D0750 + .incbin "baserom.gba", 0x0D0750, 0x0000004 + +gUnk_080D0754:: @ 080D0754 + .incbin "baserom.gba", 0x0D0754, 0x0000004 + +gUnk_080D0758:: @ 080D0758 + .incbin "baserom.gba", 0x0D0758, 0x0000004 + +gUnk_080D075C:: @ 080D075C + .incbin "baserom.gba", 0x0D075C, 0x0000004 + +gUnk_080D0760:: @ 080D0760 + .incbin "baserom.gba", 0x0D0760, 0x0000004 + +gUnk_080D0764:: @ 080D0764 + .incbin "baserom.gba", 0x0D0764, 0x0000004 + +gUnk_080D0768:: @ 080D0768 + .incbin "baserom.gba", 0x0D0768, 0x0000004 + +gUnk_080D076C:: @ 080D076C + .incbin "baserom.gba", 0x0D076C, 0x0000004 + +gUnk_080D0770:: @ 080D0770 + .incbin "baserom.gba", 0x0D0770, 0x0000004 + +gUnk_080D0774:: @ 080D0774 + .incbin "baserom.gba", 0x0D0774, 0x0000004 + +gUnk_080D0778:: @ 080D0778 + .incbin "baserom.gba", 0x0D0778, 0x0000004 + +gUnk_080D077C:: @ 080D077C + .incbin "baserom.gba", 0x0D077C, 0x0000004 + +gUnk_080D0780:: @ 080D0780 + .incbin "baserom.gba", 0x0D0780, 0x0000004 + +gUnk_080D0784:: @ 080D0784 + .incbin "baserom.gba", 0x0D0784, 0x0000004 + +gUnk_080D0788:: @ 080D0788 + .incbin "baserom.gba", 0x0D0788, 0x0000004 + +gUnk_080D078C:: @ 080D078C + .incbin "baserom.gba", 0x0D078C, 0x0000004 + +gUnk_080D0790:: @ 080D0790 + .incbin "baserom.gba", 0x0D0790, 0x0000004 + +gUnk_080D0794:: @ 080D0794 + .incbin "baserom.gba", 0x0D0794, 0x0000004 + +gUnk_080D0798:: @ 080D0798 + .incbin "baserom.gba", 0x0D0798, 0x0000004 + +gUnk_080D079C:: @ 080D079C + .incbin "baserom.gba", 0x0D079C, 0x0000004 + +gUnk_080D07A0:: @ 080D07A0 + .incbin "baserom.gba", 0x0D07A0, 0x0000004 + +gUnk_080D07A4:: @ 080D07A4 + .incbin "baserom.gba", 0x0D07A4, 0x0000004 + +gUnk_080D07A8:: @ 080D07A8 + .incbin "baserom.gba", 0x0D07A8, 0x0000004 + +gUnk_080D07AC:: @ 080D07AC + .incbin "baserom.gba", 0x0D07AC, 0x0000004 + +gUnk_080D07B0:: @ 080D07B0 + .incbin "baserom.gba", 0x0D07B0, 0x0000004 + +gUnk_080D07B4:: @ 080D07B4 + .incbin "baserom.gba", 0x0D07B4, 0x0000004 + +gUnk_080D07B8:: @ 080D07B8 + .incbin "baserom.gba", 0x0D07B8, 0x000000D + +gUnk_080D07C5:: @ 080D07C5 + .incbin "baserom.gba", 0x0D07C5, 0x000000D + +gUnk_080D07D2:: @ 080D07D2 + .incbin "baserom.gba", 0x0D07D2, 0x000000D + +gUnk_080D07DF:: @ 080D07DF + .incbin "baserom.gba", 0x0D07DF, 0x000000D + +gUnk_080D07EC:: @ 080D07EC + .incbin "baserom.gba", 0x0D07EC, 0x0000010 + +gUnk_080D07FC:: @ 080D07FC + .incbin "baserom.gba", 0x0D07FC, 0x0000001 + +gUnk_080D07FD:: @ 080D07FD + .incbin "baserom.gba", 0x0D07FD, 0x0000002 + +gUnk_080D07FF:: @ 080D07FF + .incbin "baserom.gba", 0x0D07FF, 0x0000001 + +gUnk_080D0800:: @ 080D0800 + .incbin "baserom.gba", 0x0D0800, 0x0000001 + +gUnk_080D0801:: @ 080D0801 + .incbin "baserom.gba", 0x0D0801, 0x0000005 + +gUnk_080D0806:: @ 080D0806 + .incbin "baserom.gba", 0x0D0806, 0x0000001 + +gUnk_080D0807:: @ 080D0807 + .incbin "baserom.gba", 0x0D0807, 0x0000003 + +gUnk_080D080A:: @ 080D080A + .incbin "baserom.gba", 0x0D080A, 0x000000F + +gUnk_080D0819:: @ 080D0819 + .incbin "baserom.gba", 0x0D0819, 0x0000067 + +gUnk_080D0880:: @ 080D0880 + .incbin "baserom.gba", 0x0D0880, 0x0000018 + +gUnk_080D0898:: @ 080D0898 + .incbin "baserom.gba", 0x0D0898, 0x000002C + +gUnk_080D08C4:: @ 080D08C4 + .incbin "baserom.gba", 0x0D08C4, 0x0000004 + +gUnk_080D08C8:: @ 080D08C8 + .incbin "baserom.gba", 0x0D08C8, 0x0000035 + +gUnk_080D08FD:: @ 080D08FD + .incbin "baserom.gba", 0x0D08FD, 0x0000003 + +gUnk_080D0900:: @ 080D0900 + .incbin "baserom.gba", 0x0D0900, 0x0000003 + +gUnk_080D0903:: @ 080D0903 + .incbin "baserom.gba", 0x0D0903, 0x0000001 + +gUnk_080D0904:: @ 080D0904 + .incbin "baserom.gba", 0x0D0904, 0x0000002 + +gUnk_080D0906:: @ 080D0906 + .incbin "baserom.gba", 0x0D0906, 0x0000002 + +gUnk_080D0908:: @ 080D0908 + .incbin "baserom.gba", 0x0D0908, 0x000000A + +gUnk_080D0912:: @ 080D0912 + .incbin "baserom.gba", 0x0D0912, 0x0000012 + +gUnk_080D0924:: @ 080D0924 + .incbin "baserom.gba", 0x0D0924, 0x0000018 + +gUnk_080D093C:: @ 080D093C + .incbin "baserom.gba", 0x0D093C, 0x0000028 + +gUnk_080D0964:: @ 080D0964 + .incbin "baserom.gba", 0x0D0964, 0x000000C + +gUnk_080D0970:: @ 080D0970 + .incbin "baserom.gba", 0x0D0970, 0x0000004 + +gUnk_080D0974:: @ 080D0974 + .incbin "baserom.gba", 0x0D0974, 0x0000004 + +gUnk_080D0978:: @ 080D0978 + .incbin "baserom.gba", 0x0D0978, 0x0000008 + +gUnk_080D0980:: @ 080D0980 + .incbin "baserom.gba", 0x0D0980, 0x0000004 + +gUnk_080D0984:: @ 080D0984 + .incbin "baserom.gba", 0x0D0984, 0x0000004 + +gUnk_080D0988:: @ 080D0988 + .incbin "baserom.gba", 0x0D0988, 0x000001C + +gUnk_080D09A4:: @ 080D09A4 + .incbin "baserom.gba", 0x0D09A4, 0x0000025 + +gUnk_080D09C9:: @ 080D09C9 + .incbin "baserom.gba", 0x0D09C9, 0x0000025 + +gUnk_080D09EE:: @ 080D09EE + .incbin "baserom.gba", 0x0D09EE, 0x000000E + +gUnk_080D09FC:: @ 080D09FC + .incbin "baserom.gba", 0x0D09FC, 0x0000005 + +gUnk_080D0A01:: @ 080D0A01 + .incbin "baserom.gba", 0x0D0A01, 0x0000002 + +gUnk_080D0A03:: @ 080D0A03 + .incbin "baserom.gba", 0x0D0A03, 0x0000005 + +gUnk_080D0A08:: @ 080D0A08 + .incbin "baserom.gba", 0x0D0A08, 0x0000002 + +gUnk_080D0A0A:: @ 080D0A0A + .incbin "baserom.gba", 0x0D0A0A, 0x0000002 + +gUnk_080D0A0C:: @ 080D0A0C + .incbin "baserom.gba", 0x0D0A0C, 0x0000001 + +gUnk_080D0A0D:: @ 080D0A0D + .incbin "baserom.gba", 0x0D0A0D, 0x0000001 + +gUnk_080D0A0E:: @ 080D0A0E + .incbin "baserom.gba", 0x0D0A0E, 0x0000002 + +gUnk_080D0A10:: @ 080D0A10 + .incbin "baserom.gba", 0x0D0A10, 0x0000022 + +gUnk_080D0A32:: @ 080D0A32 + .incbin "baserom.gba", 0x0D0A32, 0x0000039 + +gUnk_080D0A6B:: @ 080D0A6B + .incbin "baserom.gba", 0x0D0A6B, 0x0000004 + +gUnk_080D0A6F:: @ 080D0A6F + .incbin "baserom.gba", 0x0D0A6F, 0x0000004 + +gUnk_080D0A73:: @ 080D0A73 + .incbin "baserom.gba", 0x0D0A73, 0x000000C + +gUnk_080D0A7F:: @ 080D0A7F + .incbin "baserom.gba", 0x0D0A7F, 0x000000C + +gUnk_080D0A8B:: @ 080D0A8B + .incbin "baserom.gba", 0x0D0A8B, 0x0000005 + +gUnk_080D0A90:: @ 080D0A90 + .incbin "baserom.gba", 0x0D0A90, 0x000002C + +gUnk_080D0ABC:: @ 080D0ABC + .incbin "baserom.gba", 0x0D0ABC, 0x0000003 + +gUnk_080D0ABF:: @ 080D0ABF + .incbin "baserom.gba", 0x0D0ABF, 0x0000009 + +gUnk_080D0AC8:: @ 080D0AC8 + .incbin "baserom.gba", 0x0D0AC8, 0x0000020 + +gUnk_080D0AE8:: @ 080D0AE8 + .incbin "baserom.gba", 0x0D0AE8, 0x0000008 + +gUnk_080D0AF0:: @ 080D0AF0 + .incbin "baserom.gba", 0x0D0AF0, 0x000000C + +gUnk_080D0AFC:: @ 080D0AFC + .incbin "baserom.gba", 0x0D0AFC, 0x0000004 + +gUnk_080D0B00:: @ 080D0B00 + .incbin "baserom.gba", 0x0D0B00, 0x0000001 + +gUnk_080D0B01:: @ 080D0B01 + .incbin "baserom.gba", 0x0D0B01, 0x0000001 + +gUnk_080D0B02:: @ 080D0B02 + .incbin "baserom.gba", 0x0D0B02, 0x0000002 + +gUnk_080D0B04:: @ 080D0B04 + .incbin "baserom.gba", 0x0D0B04, 0x0000002 + +gUnk_080D0B06:: @ 080D0B06 + .incbin "baserom.gba", 0x0D0B06, 0x0000006 + +gUnk_080D0B0C:: @ 080D0B0C + .incbin "baserom.gba", 0x0D0B0C, 0x0000003 + +gUnk_080D0B0F:: @ 080D0B0F + .incbin "baserom.gba", 0x0D0B0F, 0x0000001 + +gUnk_080D0B10:: @ 080D0B10 + .incbin "baserom.gba", 0x0D0B10, 0x0000008 + +gUnk_080D0B18:: @ 080D0B18 + .incbin "baserom.gba", 0x0D0B18, 0x0000011 + +gUnk_080D0B29:: @ 080D0B29 + .incbin "baserom.gba", 0x0D0B29, 0x000002F + +gUnk_080D0B58:: @ 080D0B58 + .incbin "baserom.gba", 0x0D0B58, 0x000000C + +gUnk_080D0B64:: @ 080D0B64 + .incbin "baserom.gba", 0x0D0B64, 0x0000010 + +gUnk_080D0B74:: @ 080D0B74 + .incbin "baserom.gba", 0x0D0B74, 0x0000010 + +gUnk_080D0B84:: @ 080D0B84 + .incbin "baserom.gba", 0x0D0B84, 0x0000020 + +gUnk_080D0BA4:: @ 080D0BA4 + .incbin "baserom.gba", 0x0D0BA4, 0x0000011 + +gUnk_080D0BB5:: @ 080D0BB5 + .incbin "baserom.gba", 0x0D0BB5, 0x000000F + +gUnk_080D0BC4:: @ 080D0BC4 + .incbin "baserom.gba", 0x0D0BC4, 0x0000018 + +gUnk_080D0BDC:: @ 080D0BDC + .incbin "baserom.gba", 0x0D0BDC, 0x0000005 + +gUnk_080D0BE1:: @ 080D0BE1 + .incbin "baserom.gba", 0x0D0BE1, 0x000000C + +gUnk_080D0BED:: @ 080D0BED + .incbin "baserom.gba", 0x0D0BED, 0x0000005 + +gUnk_080D0BF2:: @ 080D0BF2 + .incbin "baserom.gba", 0x0D0BF2, 0x0000005 + +gUnk_080D0BF7:: @ 080D0BF7 + .incbin "baserom.gba", 0x0D0BF7, 0x0000004 + +gUnk_080D0BFB:: @ 080D0BFB + .incbin "baserom.gba", 0x0D0BFB, 0x0000001 + +gUnk_080D0BFC:: @ 080D0BFC + .incbin "baserom.gba", 0x0D0BFC, 0x0000004 + +gUnk_080D0C00:: @ 080D0C00 + .incbin "baserom.gba", 0x0D0C00, 0x0000006 + +gUnk_080D0C06:: @ 080D0C06 + .incbin "baserom.gba", 0x0D0C06, 0x0000002 + +gUnk_080D0C08:: @ 080D0C08 + .incbin "baserom.gba", 0x0D0C08, 0x0000002 + +gUnk_080D0C0A:: @ 080D0C0A + .incbin "baserom.gba", 0x0D0C0A, 0x0000002 + +gUnk_080D0C0C:: @ 080D0C0C + .incbin "baserom.gba", 0x0D0C0C, 0x0000028 + +gUnk_080D0C34:: @ 080D0C34 + .incbin "baserom.gba", 0x0D0C34, 0x0000021 + +gUnk_080D0C55:: @ 080D0C55 + .incbin "baserom.gba", 0x0D0C55, 0x0000033 + +gUnk_080D0C88:: @ 080D0C88 + .incbin "baserom.gba", 0x0D0C88, 0x0000018 + +gUnk_080D0CA0:: @ 080D0CA0 + .incbin "baserom.gba", 0x0D0CA0, 0x0000005 + +gUnk_080D0CA5:: @ 080D0CA5 + .incbin "baserom.gba", 0x0D0CA5, 0x0000030 + +gUnk_080D0CD5:: @ 080D0CD5 + .incbin "baserom.gba", 0x0D0CD5, 0x0000011 + +gUnk_080D0CE6:: @ 080D0CE6 + .incbin "baserom.gba", 0x0D0CE6, 0x000000E + +gUnk_080D0CF4:: @ 080D0CF4 + .incbin "baserom.gba", 0x0D0CF4, 0x0000010 + +gUnk_080D0D04:: @ 080D0D04 + .incbin "baserom.gba", 0x0D0D04, 0x0000001 + +gUnk_080D0D05:: @ 080D0D05 + .incbin "baserom.gba", 0x0D0D05, 0x0000001 + +gUnk_080D0D06:: @ 080D0D06 + .incbin "baserom.gba", 0x0D0D06, 0x0000003 + +gUnk_080D0D09:: @ 080D0D09 + .incbin "baserom.gba", 0x0D0D09, 0x0000002 + +gUnk_080D0D0B:: @ 080D0D0B + .incbin "baserom.gba", 0x0D0D0B, 0x0000001 + +gUnk_080D0D0C:: @ 080D0D0C + .incbin "baserom.gba", 0x0D0D0C, 0x0000002 + +gUnk_080D0D0E:: @ 080D0D0E + .incbin "baserom.gba", 0x0D0D0E, 0x0000006 + +gUnk_080D0D14:: @ 080D0D14 + .incbin "baserom.gba", 0x0D0D14, 0x000002C + +gUnk_080D0D40:: @ 080D0D40 + .incbin "baserom.gba", 0x0D0D40, 0x0000008 + +gUnk_080D0D48:: @ 080D0D48 + .incbin "baserom.gba", 0x0D0D48, 0x0000030 + +gUnk_080D0D78:: @ 080D0D78 + .incbin "baserom.gba", 0x0D0D78, 0x0000019 + +gUnk_080D0D91:: @ 080D0D91 + .incbin "baserom.gba", 0x0D0D91, 0x0000010 + +gUnk_080D0DA1:: @ 080D0DA1 + .incbin "baserom.gba", 0x0D0DA1, 0x000000F + +gUnk_080D0DB0:: @ 080D0DB0 + .incbin "baserom.gba", 0x0D0DB0, 0x0000014 + +gUnk_080D0DC4:: @ 080D0DC4 + .incbin "baserom.gba", 0x0D0DC4, 0x0000018 + +gUnk_080D0DDC:: @ 080D0DDC + .incbin "baserom.gba", 0x0D0DDC, 0x000001B + +gUnk_080D0DF7:: @ 080D0DF7 + .incbin "baserom.gba", 0x0D0DF7, 0x000000A + +gUnk_080D0E01:: @ 080D0E01 + .incbin "baserom.gba", 0x0D0E01, 0x0000007 + +gUnk_080D0E08:: @ 080D0E08 + .incbin "baserom.gba", 0x0D0E08, 0x0000002 + +gUnk_080D0E0A:: @ 080D0E0A + .incbin "baserom.gba", 0x0D0E0A, 0x0000002 + +gUnk_080D0E0C:: @ 080D0E0C + .incbin "baserom.gba", 0x0D0E0C, 0x0000001 + +gUnk_080D0E0D:: @ 080D0E0D + .incbin "baserom.gba", 0x0D0E0D, 0x0000001 + +gUnk_080D0E0E:: @ 080D0E0E + .incbin "baserom.gba", 0x0D0E0E, 0x0000001 + +gUnk_080D0E0F:: @ 080D0E0F + .incbin "baserom.gba", 0x0D0E0F, 0x0000004 + +gUnk_080D0E13:: @ 080D0E13 + .incbin "baserom.gba", 0x0D0E13, 0x0000001 + +gUnk_080D0E14:: @ 080D0E14 + .incbin "baserom.gba", 0x0D0E14, 0x0000004 + +gUnk_080D0E18:: @ 080D0E18 + .incbin "baserom.gba", 0x0D0E18, 0x0000004 + +gUnk_080D0E1C:: @ 080D0E1C + .incbin "baserom.gba", 0x0D0E1C, 0x0000010 + +gUnk_080D0E2C:: @ 080D0E2C + .incbin "baserom.gba", 0x0D0E2C, 0x0000038 + +gUnk_080D0E64:: @ 080D0E64 + .incbin "baserom.gba", 0x0D0E64, 0x0000004 + +gUnk_080D0E68:: @ 080D0E68 + .incbin "baserom.gba", 0x0D0E68, 0x0000018 + +gUnk_080D0E80:: @ 080D0E80 + .incbin "baserom.gba", 0x0D0E80, 0x0000010 + +gUnk_080D0E90:: @ 080D0E90 + .incbin "baserom.gba", 0x0D0E90, 0x0000010 + +gUnk_080D0EA0:: @ 080D0EA0 + .incbin "baserom.gba", 0x0D0EA0, 0x0000008 + +gUnk_080D0EA8:: @ 080D0EA8 + .incbin "baserom.gba", 0x0D0EA8, 0x0000004 + +gUnk_080D0EAC:: @ 080D0EAC + .incbin "baserom.gba", 0x0D0EAC, 0x0000004 + +gUnk_080D0EB0:: @ 080D0EB0 + .incbin "baserom.gba", 0x0D0EB0, 0x0000020 + +gUnk_080D0ED0:: @ 080D0ED0 + .incbin "baserom.gba", 0x0D0ED0, 0x0000019 + +gUnk_080D0EE9:: @ 080D0EE9 + .incbin "baserom.gba", 0x0D0EE9, 0x000000C + +gUnk_080D0EF5:: @ 080D0EF5 + .incbin "baserom.gba", 0x0D0EF5, 0x000000D + +gUnk_080D0F02:: @ 080D0F02 + .incbin "baserom.gba", 0x0D0F02, 0x0000003 + +gUnk_080D0F05:: @ 080D0F05 + .incbin "baserom.gba", 0x0D0F05, 0x0000003 + +gUnk_080D0F08:: @ 080D0F08 + .incbin "baserom.gba", 0x0D0F08, 0x0000001 + +gUnk_080D0F09:: @ 080D0F09 + .incbin "baserom.gba", 0x0D0F09, 0x0000004 + +gUnk_080D0F0D:: @ 080D0F0D + .incbin "baserom.gba", 0x0D0F0D, 0x0000001 + +gUnk_080D0F0E:: @ 080D0F0E + .incbin "baserom.gba", 0x0D0F0E, 0x0000001 + +gUnk_080D0F0F:: @ 080D0F0F + .incbin "baserom.gba", 0x0D0F0F, 0x0000001 + +gUnk_080D0F10:: @ 080D0F10 + .incbin "baserom.gba", 0x0D0F10, 0x0000001 + +gUnk_080D0F11:: @ 080D0F11 + .incbin "baserom.gba", 0x0D0F11, 0x0000001 + +gUnk_080D0F12:: @ 080D0F12 + .incbin "baserom.gba", 0x0D0F12, 0x0000001 + +gUnk_080D0F13:: @ 080D0F13 + .incbin "baserom.gba", 0x0D0F13, 0x0000004 + +gUnk_080D0F17:: @ 080D0F17 + .incbin "baserom.gba", 0x0D0F17, 0x0000011 + +gUnk_080D0F28:: @ 080D0F28 + .incbin "baserom.gba", 0x0D0F28, 0x0000045 + +gUnk_080D0F6D:: @ 080D0F6D + .incbin "baserom.gba", 0x0D0F6D, 0x0000015 + +gUnk_080D0F82:: @ 080D0F82 + .incbin "baserom.gba", 0x0D0F82, 0x0000019 + +gUnk_080D0F9B:: @ 080D0F9B + .incbin "baserom.gba", 0x0D0F9B, 0x0000015 + +gUnk_080D0FB0:: @ 080D0FB0 + .incbin "baserom.gba", 0x0D0FB0, 0x0000011 + +gUnk_080D0FC1:: @ 080D0FC1 + .incbin "baserom.gba", 0x0D0FC1, 0x0000015 + +gUnk_080D0FD6:: @ 080D0FD6 + .incbin "baserom.gba", 0x0D0FD6, 0x000001D + +gUnk_080D0FF3:: @ 080D0FF3 + .incbin "baserom.gba", 0x0D0FF3, 0x0000005 + +gUnk_080D0FF8:: @ 080D0FF8 + .incbin "baserom.gba", 0x0D0FF8, 0x0000015 + +gUnk_080D100D:: @ 080D100D + .incbin "baserom.gba", 0x0D100D, 0x0000002 + +gUnk_080D100F:: @ 080D100F + .incbin "baserom.gba", 0x0D100F, 0x0000001 + +gUnk_080D1010:: @ 080D1010 + .incbin "baserom.gba", 0x0D1010, 0x0000001 + +gUnk_080D1011:: @ 080D1011 + .incbin "baserom.gba", 0x0D1011, 0x0000001 + +gUnk_080D1012:: @ 080D1012 + .incbin "baserom.gba", 0x0D1012, 0x0000001 + +gUnk_080D1013:: @ 080D1013 + .incbin "baserom.gba", 0x0D1013, 0x0000006 + +gUnk_080D1019:: @ 080D1019 + .incbin "baserom.gba", 0x0D1019, 0x0000012 + +gUnk_080D102B:: @ 080D102B + .incbin "baserom.gba", 0x0D102B, 0x000000B + +gUnk_080D1036:: @ 080D1036 + .incbin "baserom.gba", 0x0D1036, 0x0000019 + +gUnk_080D104F:: @ 080D104F + .incbin "baserom.gba", 0x0D104F, 0x0000011 + +gUnk_080D1060:: @ 080D1060 + .incbin "baserom.gba", 0x0D1060, 0x000000D + +gUnk_080D106D:: @ 080D106D + .incbin "baserom.gba", 0x0D106D, 0x000000D + +gUnk_080D107A:: @ 080D107A + .incbin "baserom.gba", 0x0D107A, 0x0000005 + +gUnk_080D107F:: @ 080D107F + .incbin "baserom.gba", 0x0D107F, 0x0000021 + +gUnk_080D10A0:: @ 080D10A0 + .incbin "baserom.gba", 0x0D10A0, 0x0000015 + +gUnk_080D10B5:: @ 080D10B5 + .incbin "baserom.gba", 0x0D10B5, 0x0000011 + +gUnk_080D10C6:: @ 080D10C6 + .incbin "baserom.gba", 0x0D10C6, 0x0000011 + +gUnk_080D10D7:: @ 080D10D7 + .incbin "baserom.gba", 0x0D10D7, 0x0000015 + +gUnk_080D10EC:: @ 080D10EC + .incbin "baserom.gba", 0x0D10EC, 0x0000005 + +gUnk_080D10F1:: @ 080D10F1 + .incbin "baserom.gba", 0x0D10F1, 0x0000015 + +gUnk_080D1106:: @ 080D1106 + .incbin "baserom.gba", 0x0D1106, 0x0000006 + +gUnk_080D110C:: @ 080D110C + .incbin "baserom.gba", 0x0D110C, 0x0000003 + +gUnk_080D110F:: @ 080D110F + .incbin "baserom.gba", 0x0D110F, 0x0000001 + +gUnk_080D1110:: @ 080D1110 + .incbin "baserom.gba", 0x0D1110, 0x0000001 + +gUnk_080D1111:: @ 080D1111 + .incbin "baserom.gba", 0x0D1111, 0x0000001 + +gUnk_080D1112:: @ 080D1112 + .incbin "baserom.gba", 0x0D1112, 0x0000002 + +gUnk_080D1114:: @ 080D1114 + .incbin "baserom.gba", 0x0D1114, 0x0000001 + +gUnk_080D1115:: @ 080D1115 + .incbin "baserom.gba", 0x0D1115, 0x0000001 + +gUnk_080D1116:: @ 080D1116 + .incbin "baserom.gba", 0x0D1116, 0x0000001 + +gUnk_080D1117:: @ 080D1117 + .incbin "baserom.gba", 0x0D1117, 0x0000007 + +gUnk_080D111E:: @ 080D111E + .incbin "baserom.gba", 0x0D111E, 0x000001A + +gUnk_080D1138:: @ 080D1138 + .incbin "baserom.gba", 0x0D1138, 0x0000015 + +gUnk_080D114D:: @ 080D114D + .incbin "baserom.gba", 0x0D114D, 0x0000031 + +gUnk_080D117E:: @ 080D117E + .incbin "baserom.gba", 0x0D117E, 0x0000019 + +gUnk_080D1197:: @ 080D1197 + .incbin "baserom.gba", 0x0D1197, 0x0000015 + +gUnk_080D11AC:: @ 080D11AC + .incbin "baserom.gba", 0x0D11AC, 0x000005C + +gUnk_080D1208:: @ 080D1208 + .incbin "baserom.gba", 0x0D1208, 0x0000004 + +gUnk_080D120C:: @ 080D120C + .incbin "baserom.gba", 0x0D120C, 0x0000001 + +gUnk_080D120D:: @ 080D120D + .incbin "baserom.gba", 0x0D120D, 0x0000002 + +gUnk_080D120F:: @ 080D120F + .incbin "baserom.gba", 0x0D120F, 0x0000002 + +gUnk_080D1211:: @ 080D1211 + .incbin "baserom.gba", 0x0D1211, 0x0000003 + +gUnk_080D1214:: @ 080D1214 + .incbin "baserom.gba", 0x0D1214, 0x0000001 + +gUnk_080D1215:: @ 080D1215 + .incbin "baserom.gba", 0x0D1215, 0x0000001 + +gUnk_080D1216:: @ 080D1216 + .incbin "baserom.gba", 0x0D1216, 0x0000001 + +gUnk_080D1217:: @ 080D1217 + .incbin "baserom.gba", 0x0D1217, 0x0000001 + +gUnk_080D1218:: @ 080D1218 + .incbin "baserom.gba", 0x0D1218, 0x0000001 + +gUnk_080D1219:: @ 080D1219 + .incbin "baserom.gba", 0x0D1219, 0x0000004 + +gUnk_080D121D:: @ 080D121D + .incbin "baserom.gba", 0x0D121D, 0x0000013 + +gUnk_080D1230:: @ 080D1230 + .incbin "baserom.gba", 0x0D1230, 0x0000018 + +gUnk_080D1248:: @ 080D1248 + .incbin "baserom.gba", 0x0D1248, 0x0000014 + +gUnk_080D125C:: @ 080D125C + .incbin "baserom.gba", 0x0D125C, 0x0000024 + +gUnk_080D1280:: @ 080D1280 + .incbin "baserom.gba", 0x0D1280, 0x0000004 + +gUnk_080D1284:: @ 080D1284 + .incbin "baserom.gba", 0x0D1284, 0x0000002 + +gUnk_080D1286:: @ 080D1286 + .incbin "baserom.gba", 0x0D1286, 0x000000A + +gUnk_080D1290:: @ 080D1290 + .incbin "baserom.gba", 0x0D1290, 0x000001C + +gUnk_080D12AC:: @ 080D12AC + .incbin "baserom.gba", 0x0D12AC, 0x0000004 + +gUnk_080D12B0:: @ 080D12B0 + .incbin "baserom.gba", 0x0D12B0, 0x0000002 + +gUnk_080D12B2:: @ 080D12B2 + .incbin "baserom.gba", 0x0D12B2, 0x0000002 + +gUnk_080D12B4:: @ 080D12B4 + .incbin "baserom.gba", 0x0D12B4, 0x0000002 + +gUnk_080D12B6:: @ 080D12B6 + .incbin "baserom.gba", 0x0D12B6, 0x0000002 + +gUnk_080D12B8:: @ 080D12B8 + .incbin "baserom.gba", 0x0D12B8, 0x0000010 + +gUnk_080D12C8:: @ 080D12C8 + .incbin "baserom.gba", 0x0D12C8, 0x0000002 + +gUnk_080D12CA:: @ 080D12CA + .incbin "baserom.gba", 0x0D12CA, 0x0000006 + +gUnk_080D12D0:: @ 080D12D0 + .incbin "baserom.gba", 0x0D12D0, 0x000001D + +gUnk_080D12ED:: @ 080D12ED + .incbin "baserom.gba", 0x0D12ED, 0x000000B + +gUnk_080D12F8:: @ 080D12F8 + .incbin "baserom.gba", 0x0D12F8, 0x0000006 + +gUnk_080D12FE:: @ 080D12FE + .incbin "baserom.gba", 0x0D12FE, 0x0000002 + +gUnk_080D1300:: @ 080D1300 + .incbin "baserom.gba", 0x0D1300, 0x0000004 + +gUnk_080D1304:: @ 080D1304 + .incbin "baserom.gba", 0x0D1304, 0x0000008 + +gUnk_080D130C:: @ 080D130C + .incbin "baserom.gba", 0x0D130C, 0x0000001 + +gUnk_080D130D:: @ 080D130D + .incbin "baserom.gba", 0x0D130D, 0x0000003 + +gUnk_080D1310:: @ 080D1310 + .incbin "baserom.gba", 0x0D1310, 0x0000004 + +gUnk_080D1314:: @ 080D1314 + .incbin "baserom.gba", 0x0D1314, 0x0000001 + +gUnk_080D1315:: @ 080D1315 + .incbin "baserom.gba", 0x0D1315, 0x0000001 + +gUnk_080D1316:: @ 080D1316 + .incbin "baserom.gba", 0x0D1316, 0x0000001 + +gUnk_080D1317:: @ 080D1317 + .incbin "baserom.gba", 0x0D1317, 0x0000001 + +gUnk_080D1318:: @ 080D1318 + .incbin "baserom.gba", 0x0D1318, 0x0000001 + +gUnk_080D1319:: @ 080D1319 + .incbin "baserom.gba", 0x0D1319, 0x0000001 + +gUnk_080D131A:: @ 080D131A + .incbin "baserom.gba", 0x0D131A, 0x0000002 + +gUnk_080D131C:: @ 080D131C + .incbin "baserom.gba", 0x0D131C, 0x0000004 + +gUnk_080D1320:: @ 080D1320 + .incbin "baserom.gba", 0x0D1320, 0x0000018 + +gUnk_080D1338:: @ 080D1338 + .incbin "baserom.gba", 0x0D1338, 0x0000004 + +gUnk_080D133C:: @ 080D133C + .incbin "baserom.gba", 0x0D133C, 0x0000004 + +gUnk_080D1340:: @ 080D1340 + .incbin "baserom.gba", 0x0D1340, 0x0000008 + +gUnk_080D1348:: @ 080D1348 + .incbin "baserom.gba", 0x0D1348, 0x0000014 + +gUnk_080D135C:: @ 080D135C + .incbin "baserom.gba", 0x0D135C, 0x0000006 + +gUnk_080D1362:: @ 080D1362 + .incbin "baserom.gba", 0x0D1362, 0x0000050 + +gUnk_080D13B2:: @ 080D13B2 + .incbin "baserom.gba", 0x0D13B2, 0x0000005 + +gUnk_080D13B7:: @ 080D13B7 + .incbin "baserom.gba", 0x0D13B7, 0x0000021 + +gUnk_080D13D8:: @ 080D13D8 + .incbin "baserom.gba", 0x0D13D8, 0x0000008 + +gUnk_080D13E0:: @ 080D13E0 + .incbin "baserom.gba", 0x0D13E0, 0x0000003 + +gUnk_080D13E3:: @ 080D13E3 + .incbin "baserom.gba", 0x0D13E3, 0x0000006 + +gUnk_080D13E9:: @ 080D13E9 + .incbin "baserom.gba", 0x0D13E9, 0x0000003 + +gUnk_080D13EC:: @ 080D13EC + .incbin "baserom.gba", 0x0D13EC, 0x0000014 + +gUnk_080D1400:: @ 080D1400 + .incbin "baserom.gba", 0x0D1400, 0x000000D + +gUnk_080D140D:: @ 080D140D + .incbin "baserom.gba", 0x0D140D, 0x0000005 + +gUnk_080D1412:: @ 080D1412 + .incbin "baserom.gba", 0x0D1412, 0x0000002 + +gUnk_080D1414:: @ 080D1414 + .incbin "baserom.gba", 0x0D1414, 0x0000003 + +gUnk_080D1417:: @ 080D1417 + .incbin "baserom.gba", 0x0D1417, 0x0000001 + +gUnk_080D1418:: @ 080D1418 + .incbin "baserom.gba", 0x0D1418, 0x0000001 + +gUnk_080D1419:: @ 080D1419 + .incbin "baserom.gba", 0x0D1419, 0x0000003 + +gUnk_080D141C:: @ 080D141C + .incbin "baserom.gba", 0x0D141C, 0x0000002 + +gUnk_080D141E:: @ 080D141E + .incbin "baserom.gba", 0x0D141E, 0x0000001 + +gUnk_080D141F:: @ 080D141F + .incbin "baserom.gba", 0x0D141F, 0x0000004 + +gUnk_080D1423:: @ 080D1423 + .incbin "baserom.gba", 0x0D1423, 0x0000008 + +gUnk_080D142B:: @ 080D142B + .incbin "baserom.gba", 0x0D142B, 0x0000005 + +gUnk_080D1430:: @ 080D1430 + .incbin "baserom.gba", 0x0D1430, 0x0000005 + +gUnk_080D1435:: @ 080D1435 + .incbin "baserom.gba", 0x0D1435, 0x0000005 + +gUnk_080D143A:: @ 080D143A + .incbin "baserom.gba", 0x0D143A, 0x0000005 + +gUnk_080D143F:: @ 080D143F + .incbin "baserom.gba", 0x0D143F, 0x0000005 + +gUnk_080D1444:: @ 080D1444 + .incbin "baserom.gba", 0x0D1444, 0x0000005 + +gUnk_080D1449:: @ 080D1449 + .incbin "baserom.gba", 0x0D1449, 0x0000005 + +gUnk_080D144E:: @ 080D144E + .incbin "baserom.gba", 0x0D144E, 0x0000005 + +gUnk_080D1453:: @ 080D1453 + .incbin "baserom.gba", 0x0D1453, 0x0000005 + +gUnk_080D1458:: @ 080D1458 + .incbin "baserom.gba", 0x0D1458, 0x0000005 + +gUnk_080D145D:: @ 080D145D + .incbin "baserom.gba", 0x0D145D, 0x0000005 + +gUnk_080D1462:: @ 080D1462 + .incbin "baserom.gba", 0x0D1462, 0x0000005 + +gUnk_080D1467:: @ 080D1467 + .incbin "baserom.gba", 0x0D1467, 0x0000021 + +gUnk_080D1488:: @ 080D1488 + .incbin "baserom.gba", 0x0D1488, 0x0000005 + +gUnk_080D148D:: @ 080D148D + .incbin "baserom.gba", 0x0D148D, 0x0000051 + +gUnk_080D14DE:: @ 080D14DE + .incbin "baserom.gba", 0x0D14DE, 0x0000015 + +gUnk_080D14F3:: @ 080D14F3 + .incbin "baserom.gba", 0x0D14F3, 0x0000019 + +gUnk_080D150C:: @ 080D150C + .incbin "baserom.gba", 0x0D150C, 0x0000009 + +gUnk_080D1515:: @ 080D1515 + .incbin "baserom.gba", 0x0D1515, 0x0000005 + +gUnk_080D151A:: @ 080D151A + .incbin "baserom.gba", 0x0D151A, 0x000000B + +gUnk_080D1525:: @ 080D1525 + .incbin "baserom.gba", 0x0D1525, 0x0000005 + +gUnk_080D152A:: @ 080D152A + .incbin "baserom.gba", 0x0D152A, 0x0000006 + +gUnk_080D1530:: @ 080D1530 + .incbin "baserom.gba", 0x0D1530, 0x0000058 + +gUnk_080D1588:: @ 080D1588 + .incbin "baserom.gba", 0x0D1588, 0x0000018 + +gUnk_080D15A0:: @ 080D15A0 + .incbin "baserom.gba", 0x0D15A0, 0x0000008 + +gUnk_080D15A8:: @ 080D15A8 + .incbin "baserom.gba", 0x0D15A8, 0x000000C + +gUnk_080D15B4:: @ 080D15B4 + .incbin "baserom.gba", 0x0D15B4, 0x0000050 + +gUnk_080D1604:: @ 080D1604 + .incbin "baserom.gba", 0x0D1604, 0x0000014 + +gUnk_080D1618:: @ 080D1618 + .incbin "baserom.gba", 0x0D1618, 0x0000005 + +gUnk_080D161D:: @ 080D161D + .incbin "baserom.gba", 0x0D161D, 0x0000003 + +gUnk_080D1620:: @ 080D1620 + .incbin "baserom.gba", 0x0D1620, 0x0000008 + +gUnk_080D1628:: @ 080D1628 + .incbin "baserom.gba", 0x0D1628, 0x0000007 + +gUnk_080D162F:: @ 080D162F + .incbin "baserom.gba", 0x0D162F, 0x0000009 + +gUnk_080D1638:: @ 080D1638 + .incbin "baserom.gba", 0x0D1638, 0x0000005 + +gUnk_080D163D:: @ 080D163D + .incbin "baserom.gba", 0x0D163D, 0x0000031 + +gUnk_080D166E:: @ 080D166E + .incbin "baserom.gba", 0x0D166E, 0x0000026 + +gUnk_080D1694:: @ 080D1694 + .incbin "baserom.gba", 0x0D1694, 0x0000010 + +gUnk_080D16A4:: @ 080D16A4 + .incbin "baserom.gba", 0x0D16A4, 0x0000018 + +gUnk_080D16BC:: @ 080D16BC + .incbin "baserom.gba", 0x0D16BC, 0x0000014 + +gUnk_080D16D0:: @ 080D16D0 + .incbin "baserom.gba", 0x0D16D0, 0x0000004 + +gUnk_080D16D4:: @ 080D16D4 + .incbin "baserom.gba", 0x0D16D4, 0x0000008 + +gUnk_080D16DC:: @ 080D16DC + .incbin "baserom.gba", 0x0D16DC, 0x0000009 + +gUnk_080D16E5:: @ 080D16E5 + .incbin "baserom.gba", 0x0D16E5, 0x0000010 + +gUnk_080D16F5:: @ 080D16F5 + .incbin "baserom.gba", 0x0D16F5, 0x0000018 + +gUnk_080D170D:: @ 080D170D + .incbin "baserom.gba", 0x0D170D, 0x0000010 + +gUnk_080D171D:: @ 080D171D + .incbin "baserom.gba", 0x0D171D, 0x0000004 + +gUnk_080D1721:: @ 080D1721 + .incbin "baserom.gba", 0x0D1721, 0x0000020 + +gUnk_080D1741:: @ 080D1741 + .incbin "baserom.gba", 0x0D1741, 0x0000020 + +gUnk_080D1761:: @ 080D1761 + .incbin "baserom.gba", 0x0D1761, 0x0000009 + +gUnk_080D176A:: @ 080D176A + .incbin "baserom.gba", 0x0D176A, 0x0000009 + +gUnk_080D1773:: @ 080D1773 + .incbin "baserom.gba", 0x0D1773, 0x0000005 + +gUnk_080D1778:: @ 080D1778 + .incbin "baserom.gba", 0x0D1778, 0x0000005 + +gUnk_080D177D:: @ 080D177D + .incbin "baserom.gba", 0x0D177D, 0x0000013 + +gUnk_080D1790:: @ 080D1790 + .incbin "baserom.gba", 0x0D1790, 0x0000030 + +gUnk_080D17C0:: @ 080D17C0 + .incbin "baserom.gba", 0x0D17C0, 0x0000018 + +gUnk_080D17D8:: @ 080D17D8 + .incbin "baserom.gba", 0x0D17D8, 0x0000010 + +gUnk_080D17E8:: @ 080D17E8 + .incbin "baserom.gba", 0x0D17E8, 0x0000018 + +gUnk_080D1800:: @ 080D1800 + .incbin "baserom.gba", 0x0D1800, 0x000000C + +gUnk_080D180C:: @ 080D180C + .incbin "baserom.gba", 0x0D180C, 0x0000004 + +gUnk_080D1810:: @ 080D1810 + .incbin "baserom.gba", 0x0D1810, 0x0000008 + +gUnk_080D1818:: @ 080D1818 + .incbin "baserom.gba", 0x0D1818, 0x0000004 + +gUnk_080D181C:: @ 080D181C + .incbin "baserom.gba", 0x0D181C, 0x0000010 + +gUnk_080D182C:: @ 080D182C + .incbin "baserom.gba", 0x0D182C, 0x000000D + +gUnk_080D1839:: @ 080D1839 + .incbin "baserom.gba", 0x0D1839, 0x0000023 + +gUnk_080D185C:: @ 080D185C + .incbin "baserom.gba", 0x0D185C, 0x000000C + +gUnk_080D1868:: @ 080D1868 + .incbin "baserom.gba", 0x0D1868, 0x0000018 + +gUnk_080D1880:: @ 080D1880 + .incbin "baserom.gba", 0x0D1880, 0x0000008 + +gUnk_080D1888:: @ 080D1888 + .incbin "baserom.gba", 0x0D1888, 0x0000018 + +gUnk_080D18A0:: @ 080D18A0 + .incbin "baserom.gba", 0x0D18A0, 0x0000014 + +gUnk_080D18B4:: @ 080D18B4 + .incbin "baserom.gba", 0x0D18B4, 0x0000010 + +gUnk_080D18C4:: @ 080D18C4 + .incbin "baserom.gba", 0x0D18C4, 0x0000005 + +gUnk_080D18C9:: @ 080D18C9 + .incbin "baserom.gba", 0x0D18C9, 0x0000011 + +gUnk_080D18DA:: @ 080D18DA + .incbin "baserom.gba", 0x0D18DA, 0x0000019 + +gUnk_080D18F3:: @ 080D18F3 + .incbin "baserom.gba", 0x0D18F3, 0x0000021 + +gUnk_080D1914:: @ 080D1914 + .incbin "baserom.gba", 0x0D1914, 0x0000004 + +gUnk_080D1918:: @ 080D1918 + .incbin "baserom.gba", 0x0D1918, 0x0000005 + +gUnk_080D191D:: @ 080D191D + .incbin "baserom.gba", 0x0D191D, 0x0000007 + +gUnk_080D1924:: @ 080D1924 + .incbin "baserom.gba", 0x0D1924, 0x0000002 + +gUnk_080D1926:: @ 080D1926 + .incbin "baserom.gba", 0x0D1926, 0x0000009 + +gUnk_080D192F:: @ 080D192F + .incbin "baserom.gba", 0x0D192F, 0x0000005 + +gUnk_080D1934:: @ 080D1934 + .incbin "baserom.gba", 0x0D1934, 0x0000011 + +gUnk_080D1945:: @ 080D1945 + .incbin "baserom.gba", 0x0D1945, 0x0000015 + +gUnk_080D195A:: @ 080D195A + .incbin "baserom.gba", 0x0D195A, 0x000000D + +gUnk_080D1967:: @ 080D1967 + .incbin "baserom.gba", 0x0D1967, 0x0000021 + +gUnk_080D1988:: @ 080D1988 + .incbin "baserom.gba", 0x0D1988, 0x0000025 + +gUnk_080D19AD:: @ 080D19AD + .incbin "baserom.gba", 0x0D19AD, 0x000000B + +gUnk_080D19B8:: @ 080D19B8 + .incbin "baserom.gba", 0x0D19B8, 0x0000044 + +gUnk_080D19FC:: @ 080D19FC + .incbin "baserom.gba", 0x0D19FC, 0x0000018 + +gUnk_080D1A14:: @ 080D1A14 + .incbin "baserom.gba", 0x0D1A14, 0x0000024 + +gUnk_080D1A38:: @ 080D1A38 + .incbin "baserom.gba", 0x0D1A38, 0x0000006 + +gUnk_080D1A3E:: @ 080D1A3E + .incbin "baserom.gba", 0x0D1A3E, 0x0000010 + +gUnk_080D1A4E:: @ 080D1A4E + .incbin "baserom.gba", 0x0D1A4E, 0x0000016 + +gUnk_080D1A64:: @ 080D1A64 + .incbin "baserom.gba", 0x0D1A64, 0x0000010 + +gUnk_080D1A74:: @ 080D1A74 + .incbin "baserom.gba", 0x0D1A74, 0x0000010 + +gUnk_080D1A84:: @ 080D1A84 + .incbin "baserom.gba", 0x0D1A84, 0x0000010 + +gUnk_080D1A94:: @ 080D1A94 + .incbin "baserom.gba", 0x0D1A94, 0x0000018 + +gUnk_080D1AAC:: @ 080D1AAC + .incbin "baserom.gba", 0x0D1AAC, 0x0000018 + +gUnk_080D1AC4:: @ 080D1AC4 + .incbin "baserom.gba", 0x0D1AC4, 0x0000018 + +gUnk_080D1ADC:: @ 080D1ADC + .incbin "baserom.gba", 0x0D1ADC, 0x0000018 + +gUnk_080D1AF4:: @ 080D1AF4 + .incbin "baserom.gba", 0x0D1AF4, 0x0000004 + +gUnk_080D1AF8:: @ 080D1AF8 + .incbin "baserom.gba", 0x0D1AF8, 0x0000004 + +gUnk_080D1AFC:: @ 080D1AFC + .incbin "baserom.gba", 0x0D1AFC, 0x0000020 + +gUnk_080D1B1C:: @ 080D1B1C + .incbin "baserom.gba", 0x0D1B1C, 0x0000003 + +gUnk_080D1B1F:: @ 080D1B1F + .incbin "baserom.gba", 0x0D1B1F, 0x0000019 + +gUnk_080D1B38:: @ 080D1B38 + .incbin "baserom.gba", 0x0D1B38, 0x0000014 + +gUnk_080D1B4C:: @ 080D1B4C + .incbin "baserom.gba", 0x0D1B4C, 0x0000014 + +gUnk_080D1B60:: @ 080D1B60 + .incbin "baserom.gba", 0x0D1B60, 0x0000010 + +gUnk_080D1B70:: @ 080D1B70 + .incbin "baserom.gba", 0x0D1B70, 0x0000004 + +gUnk_080D1B74:: @ 080D1B74 + .incbin "baserom.gba", 0x0D1B74, 0x0000020 + +gUnk_080D1B94:: @ 080D1B94 + .incbin "baserom.gba", 0x0D1B94, 0x0000028 + +gUnk_080D1BBC:: @ 080D1BBC + .incbin "baserom.gba", 0x0D1BBC, 0x0000004 + +gUnk_080D1BC0:: @ 080D1BC0 + .incbin "baserom.gba", 0x0D1BC0, 0x000001C + +gUnk_080D1BDC:: @ 080D1BDC + .incbin "baserom.gba", 0x0D1BDC, 0x0000014 + +gUnk_080D1BF0:: @ 080D1BF0 + .incbin "baserom.gba", 0x0D1BF0, 0x0000004 + +gUnk_080D1BF4:: @ 080D1BF4 + .incbin "baserom.gba", 0x0D1BF4, 0x000000C + +gUnk_080D1C00:: @ 080D1C00 + .incbin "baserom.gba", 0x0D1C00, 0x0000004 + +gUnk_080D1C04:: @ 080D1C04 + .incbin "baserom.gba", 0x0D1C04, 0x0000017 + +gUnk_080D1C1B:: @ 080D1C1B + .incbin "baserom.gba", 0x0D1C1B, 0x0000013 + +gUnk_080D1C2E:: @ 080D1C2E + .incbin "baserom.gba", 0x0D1C2E, 0x0000016 + +gUnk_080D1C44:: @ 080D1C44 + .incbin "baserom.gba", 0x0D1C44, 0x000000C + +gUnk_080D1C50:: @ 080D1C50 + .incbin "baserom.gba", 0x0D1C50, 0x0000010 + +gUnk_080D1C60:: @ 080D1C60 + .incbin "baserom.gba", 0x0D1C60, 0x0000010 + +gUnk_080D1C70:: @ 080D1C70 + .incbin "baserom.gba", 0x0D1C70, 0x0000021 + +gUnk_080D1C91:: @ 080D1C91 + .incbin "baserom.gba", 0x0D1C91, 0x000002B + +gUnk_080D1CBC:: @ 080D1CBC + .incbin "baserom.gba", 0x0D1CBC, 0x000000C + +gUnk_080D1CC8:: @ 080D1CC8 + .incbin "baserom.gba", 0x0D1CC8, 0x0000018 + +gUnk_080D1CE0:: @ 080D1CE0 + .incbin "baserom.gba", 0x0D1CE0, 0x0000010 + +gUnk_080D1CF0:: @ 080D1CF0 + .incbin "baserom.gba", 0x0D1CF0, 0x0000009 + +gUnk_080D1CF9:: @ 080D1CF9 + .incbin "baserom.gba", 0x0D1CF9, 0x0000009 + +gUnk_080D1D02:: @ 080D1D02 + .incbin "baserom.gba", 0x0D1D02, 0x0000020 + +gUnk_080D1D22:: @ 080D1D22 + .incbin "baserom.gba", 0x0D1D22, 0x0000001 + +gUnk_080D1D23:: @ 080D1D23 + .incbin "baserom.gba", 0x0D1D23, 0x0000003 + +gUnk_080D1D26:: @ 080D1D26 + .incbin "baserom.gba", 0x0D1D26, 0x0000001 + +gUnk_080D1D27:: @ 080D1D27 + .incbin "baserom.gba", 0x0D1D27, 0x0000005 + +gUnk_080D1D2C:: @ 080D1D2C + .incbin "baserom.gba", 0x0D1D2C, 0x0000008 + +gUnk_080D1D34:: @ 080D1D34 + .incbin "baserom.gba", 0x0D1D34, 0x0000014 + +gUnk_080D1D48:: @ 080D1D48 + .incbin "baserom.gba", 0x0D1D48, 0x0000028 + +gUnk_080D1D70:: @ 080D1D70 + .incbin "baserom.gba", 0x0D1D70, 0x0000008 + +gUnk_080D1D78:: @ 080D1D78 + .incbin "baserom.gba", 0x0D1D78, 0x0000020 + +gUnk_080D1D98:: @ 080D1D98 + .incbin "baserom.gba", 0x0D1D98, 0x0000008 + +gUnk_080D1DA0:: @ 080D1DA0 + .incbin "baserom.gba", 0x0D1DA0, 0x0000028 + +gUnk_080D1DC8:: @ 080D1DC8 + .incbin "baserom.gba", 0x0D1DC8, 0x0000004 + +gUnk_080D1DCC:: @ 080D1DCC + .incbin "baserom.gba", 0x0D1DCC, 0x0000004 + +gUnk_080D1DD0:: @ 080D1DD0 + .incbin "baserom.gba", 0x0D1DD0, 0x000000C + +gUnk_080D1DDC:: @ 080D1DDC + .incbin "baserom.gba", 0x0D1DDC, 0x000000C + +gUnk_080D1DE8:: @ 080D1DE8 + .incbin "baserom.gba", 0x0D1DE8, 0x000001D + +gUnk_080D1E05:: @ 080D1E05 + .incbin "baserom.gba", 0x0D1E05, 0x0000016 + +gUnk_080D1E1B:: @ 080D1E1B + .incbin "baserom.gba", 0x0D1E1B, 0x0000006 + +gUnk_080D1E21:: @ 080D1E21 + .incbin "baserom.gba", 0x0D1E21, 0x0000005 + +gUnk_080D1E26:: @ 080D1E26 + .incbin "baserom.gba", 0x0D1E26, 0x000000C + +gUnk_080D1E32:: @ 080D1E32 + .incbin "baserom.gba", 0x0D1E32, 0x0000012 + +gUnk_080D1E44:: @ 080D1E44 + .incbin "baserom.gba", 0x0D1E44, 0x0000028 + +gUnk_080D1E6C:: @ 080D1E6C + .incbin "baserom.gba", 0x0D1E6C, 0x0000018 + +gUnk_080D1E84:: @ 080D1E84 + .incbin "baserom.gba", 0x0D1E84, 0x0000010 + +gUnk_080D1E94:: @ 080D1E94 + .incbin "baserom.gba", 0x0D1E94, 0x000000C + +gUnk_080D1EA0:: @ 080D1EA0 + .incbin "baserom.gba", 0x0D1EA0, 0x0000016 + +gUnk_080D1EB6:: @ 080D1EB6 + .incbin "baserom.gba", 0x0D1EB6, 0x0000009 + +gUnk_080D1EBF:: @ 080D1EBF + .incbin "baserom.gba", 0x0D1EBF, 0x0000009 + +gUnk_080D1EC8:: @ 080D1EC8 + .incbin "baserom.gba", 0x0D1EC8, 0x0000009 + +gUnk_080D1ED1:: @ 080D1ED1 + .incbin "baserom.gba", 0x0D1ED1, 0x0000009 + +gUnk_080D1EDA:: @ 080D1EDA + .incbin "baserom.gba", 0x0D1EDA, 0x0000009 + +gUnk_080D1EE3:: @ 080D1EE3 + .incbin "baserom.gba", 0x0D1EE3, 0x0000009 + +gUnk_080D1EEC:: @ 080D1EEC + .incbin "baserom.gba", 0x0D1EEC, 0x0000009 + +gUnk_080D1EF5:: @ 080D1EF5 + .incbin "baserom.gba", 0x0D1EF5, 0x0000009 + +gUnk_080D1EFE:: @ 080D1EFE + .incbin "baserom.gba", 0x0D1EFE, 0x0000004 + +gUnk_080D1F02:: @ 080D1F02 + .incbin "baserom.gba", 0x0D1F02, 0x0000004 + +gUnk_080D1F06:: @ 080D1F06 + .incbin "baserom.gba", 0x0D1F06, 0x0000004 + +gUnk_080D1F0A:: @ 080D1F0A + .incbin "baserom.gba", 0x0D1F0A, 0x0000004 + +gUnk_080D1F0E:: @ 080D1F0E + .incbin "baserom.gba", 0x0D1F0E, 0x0000004 + +gUnk_080D1F12:: @ 080D1F12 + .incbin "baserom.gba", 0x0D1F12, 0x0000004 + +gUnk_080D1F16:: @ 080D1F16 + .incbin "baserom.gba", 0x0D1F16, 0x0000004 + +gUnk_080D1F1A:: @ 080D1F1A + .incbin "baserom.gba", 0x0D1F1A, 0x0000006 + +gUnk_080D1F20:: @ 080D1F20 + .incbin "baserom.gba", 0x0D1F20, 0x0000014 + +gUnk_080D1F34:: @ 080D1F34 + .incbin "baserom.gba", 0x0D1F34, 0x0000030 + +gUnk_080D1F64:: @ 080D1F64 + .incbin "baserom.gba", 0x0D1F64, 0x0000018 + +gUnk_080D1F7C:: @ 080D1F7C + .incbin "baserom.gba", 0x0D1F7C, 0x0000014 + +gUnk_080D1F90:: @ 080D1F90 + .incbin "baserom.gba", 0x0D1F90, 0x0000080 + +gUnk_080D2010:: @ 080D2010 + .incbin "baserom.gba", 0x0D2010, 0x0000020 + +gUnk_080D2030:: @ 080D2030 + .incbin "baserom.gba", 0x0D2030, 0x0000020 + +gUnk_080D2050:: @ 080D2050 + .incbin "baserom.gba", 0x0D2050, 0x0000014 + +gUnk_080D2064:: @ 080D2064 + .incbin "baserom.gba", 0x0D2064, 0x0000014 + +gUnk_080D2078:: @ 080D2078 + .incbin "baserom.gba", 0x0D2078, 0x0000014 + +gUnk_080D208C:: @ 080D208C + .incbin "baserom.gba", 0x0D208C, 0x0000014 + +gUnk_080D20A0:: @ 080D20A0 + .incbin "baserom.gba", 0x0D20A0, 0x0000014 + +gUnk_080D20B4:: @ 080D20B4 + .incbin "baserom.gba", 0x0D20B4, 0x0000014 + +gUnk_080D20C8:: @ 080D20C8 + .incbin "baserom.gba", 0x0D20C8, 0x0000014 + +gUnk_080D20DC:: @ 080D20DC + .incbin "baserom.gba", 0x0D20DC, 0x0000014 + +gUnk_080D20F0:: @ 080D20F0 + .incbin "baserom.gba", 0x0D20F0, 0x0000014 + +gUnk_080D2104:: @ 080D2104 + .incbin "baserom.gba", 0x0D2104, 0x0000014 + +gUnk_080D2118:: @ 080D2118 + .incbin "baserom.gba", 0x0D2118, 0x0000014 + +gUnk_080D212C:: @ 080D212C + .incbin "baserom.gba", 0x0D212C, 0x0000014 + +gUnk_080D2140:: @ 080D2140 + .incbin "baserom.gba", 0x0D2140, 0x0000014 + +gUnk_080D2154:: @ 080D2154 + .incbin "baserom.gba", 0x0D2154, 0x0000014 + +gUnk_080D2168:: @ 080D2168 + .incbin "baserom.gba", 0x0D2168, 0x0000014 + +gUnk_080D217C:: @ 080D217C + .incbin "baserom.gba", 0x0D217C, 0x0000014 + +gUnk_080D2190:: @ 080D2190 + .incbin "baserom.gba", 0x0D2190, 0x0000029 + +gUnk_080D21B9:: @ 080D21B9 + .incbin "baserom.gba", 0x0D21B9, 0x0000029 + +gUnk_080D21E2:: @ 080D21E2 + .incbin "baserom.gba", 0x0D21E2, 0x0000029 + +gUnk_080D220B:: @ 080D220B + .incbin "baserom.gba", 0x0D220B, 0x0000029 + +gUnk_080D2234:: @ 080D2234 + .incbin "baserom.gba", 0x0D2234, 0x0000010 + +gUnk_080D2244:: @ 080D2244 + .incbin "baserom.gba", 0x0D2244, 0x0000010 + +gUnk_080D2254:: @ 080D2254 + .incbin "baserom.gba", 0x0D2254, 0x0000010 + +gUnk_080D2264:: @ 080D2264 + .incbin "baserom.gba", 0x0D2264, 0x0000010 + +gUnk_080D2274:: @ 080D2274 + .incbin "baserom.gba", 0x0D2274, 0x0000064 + +gUnk_080D22D8:: @ 080D22D8 + .incbin "baserom.gba", 0x0D22D8, 0x0000018 + +gUnk_080D22F0:: @ 080D22F0 + .incbin "baserom.gba", 0x0D22F0, 0x0000010 + +gUnk_080D2300:: @ 080D2300 + .incbin "baserom.gba", 0x0D2300, 0x0000048 + +gUnk_080D2348:: @ 080D2348 + .incbin "baserom.gba", 0x0D2348, 0x0000020 + +gUnk_080D2368:: @ 080D2368 + .incbin "baserom.gba", 0x0D2368, 0x0000011 + +gUnk_080D2379:: @ 080D2379 + .incbin "baserom.gba", 0x0D2379, 0x0000011 + +gUnk_080D238A:: @ 080D238A + .incbin "baserom.gba", 0x0D238A, 0x0000011 + +gUnk_080D239B:: @ 080D239B + .incbin "baserom.gba", 0x0D239B, 0x0000011 + +gUnk_080D23AC:: @ 080D23AC + .incbin "baserom.gba", 0x0D23AC, 0x0000011 + +gUnk_080D23BD:: @ 080D23BD + .incbin "baserom.gba", 0x0D23BD, 0x0000011 + +gUnk_080D23CE:: @ 080D23CE + .incbin "baserom.gba", 0x0D23CE, 0x0000011 + +gUnk_080D23DF:: @ 080D23DF + .incbin "baserom.gba", 0x0D23DF, 0x0000011 + +gUnk_080D23F0:: @ 080D23F0 + .incbin "baserom.gba", 0x0D23F0, 0x0000011 + +gUnk_080D2401:: @ 080D2401 + .incbin "baserom.gba", 0x0D2401, 0x0000011 + +gUnk_080D2412:: @ 080D2412 + .incbin "baserom.gba", 0x0D2412, 0x0000011 + +gUnk_080D2423:: @ 080D2423 + .incbin "baserom.gba", 0x0D2423, 0x0000011 + +gUnk_080D2434:: @ 080D2434 + .incbin "baserom.gba", 0x0D2434, 0x0000011 + +gUnk_080D2445:: @ 080D2445 + .incbin "baserom.gba", 0x0D2445, 0x0000011 + +gUnk_080D2456:: @ 080D2456 + .incbin "baserom.gba", 0x0D2456, 0x0000011 + +gUnk_080D2467:: @ 080D2467 + .incbin "baserom.gba", 0x0D2467, 0x0000011 + +gUnk_080D2478:: @ 080D2478 + .incbin "baserom.gba", 0x0D2478, 0x0000011 + +gUnk_080D2489:: @ 080D2489 + .incbin "baserom.gba", 0x0D2489, 0x0000011 + +gUnk_080D249A:: @ 080D249A + .incbin "baserom.gba", 0x0D249A, 0x0000011 + +gUnk_080D24AB:: @ 080D24AB + .incbin "baserom.gba", 0x0D24AB, 0x0000011 + +gUnk_080D24BC:: @ 080D24BC + .incbin "baserom.gba", 0x0D24BC, 0x0000011 + +gUnk_080D24CD:: @ 080D24CD + .incbin "baserom.gba", 0x0D24CD, 0x0000011 + +gUnk_080D24DE:: @ 080D24DE + .incbin "baserom.gba", 0x0D24DE, 0x0000011 + +gUnk_080D24EF:: @ 080D24EF + .incbin "baserom.gba", 0x0D24EF, 0x0000011 + +gUnk_080D2500:: @ 080D2500 + .incbin "baserom.gba", 0x0D2500, 0x0000011 + +gUnk_080D2511:: @ 080D2511 + .incbin "baserom.gba", 0x0D2511, 0x0000011 + +gUnk_080D2522:: @ 080D2522 + .incbin "baserom.gba", 0x0D2522, 0x0000011 + +gUnk_080D2533:: @ 080D2533 + .incbin "baserom.gba", 0x0D2533, 0x0000011 + +gUnk_080D2544:: @ 080D2544 + .incbin "baserom.gba", 0x0D2544, 0x0000011 + +gUnk_080D2555:: @ 080D2555 + .incbin "baserom.gba", 0x0D2555, 0x0000011 + +gUnk_080D2566:: @ 080D2566 + .incbin "baserom.gba", 0x0D2566, 0x0000011 + +gUnk_080D2577:: @ 080D2577 + .incbin "baserom.gba", 0x0D2577, 0x0000011 + +gUnk_080D2588:: @ 080D2588 + .incbin "baserom.gba", 0x0D2588, 0x0000011 + +gUnk_080D2599:: @ 080D2599 + .incbin "baserom.gba", 0x0D2599, 0x0000011 + +gUnk_080D25AA:: @ 080D25AA + .incbin "baserom.gba", 0x0D25AA, 0x0000011 + +gUnk_080D25BB:: @ 080D25BB + .incbin "baserom.gba", 0x0D25BB, 0x0000011 + +gUnk_080D25CC:: @ 080D25CC + .incbin "baserom.gba", 0x0D25CC, 0x0000011 + +gUnk_080D25DD:: @ 080D25DD + .incbin "baserom.gba", 0x0D25DD, 0x0000011 + +gUnk_080D25EE:: @ 080D25EE + .incbin "baserom.gba", 0x0D25EE, 0x0000011 + +gUnk_080D25FF:: @ 080D25FF + .incbin "baserom.gba", 0x0D25FF, 0x0000011 + +gUnk_080D2610:: @ 080D2610 + .incbin "baserom.gba", 0x0D2610, 0x0000011 + +gUnk_080D2621:: @ 080D2621 + .incbin "baserom.gba", 0x0D2621, 0x0000011 + +gUnk_080D2632:: @ 080D2632 + .incbin "baserom.gba", 0x0D2632, 0x0000011 + +gUnk_080D2643:: @ 080D2643 + .incbin "baserom.gba", 0x0D2643, 0x0000011 + +gUnk_080D2654:: @ 080D2654 + .incbin "baserom.gba", 0x0D2654, 0x0000011 + +gUnk_080D2665:: @ 080D2665 + .incbin "baserom.gba", 0x0D2665, 0x0000011 + +gUnk_080D2676:: @ 080D2676 + .incbin "baserom.gba", 0x0D2676, 0x0000011 + +gUnk_080D2687:: @ 080D2687 + .incbin "baserom.gba", 0x0D2687, 0x0000011 + +gUnk_080D2698:: @ 080D2698 + .incbin "baserom.gba", 0x0D2698, 0x0000011 + +gUnk_080D26A9:: @ 080D26A9 + .incbin "baserom.gba", 0x0D26A9, 0x0000011 + +gUnk_080D26BA:: @ 080D26BA + .incbin "baserom.gba", 0x0D26BA, 0x0000011 + +gUnk_080D26CB:: @ 080D26CB + .incbin "baserom.gba", 0x0D26CB, 0x0000011 + +gUnk_080D26DC:: @ 080D26DC + .incbin "baserom.gba", 0x0D26DC, 0x0000011 + +gUnk_080D26ED:: @ 080D26ED + .incbin "baserom.gba", 0x0D26ED, 0x0000011 + +gUnk_080D26FE:: @ 080D26FE + .incbin "baserom.gba", 0x0D26FE, 0x0000011 + +gUnk_080D270F:: @ 080D270F + .incbin "baserom.gba", 0x0D270F, 0x0000011 + +gUnk_080D2720:: @ 080D2720 + .incbin "baserom.gba", 0x0D2720, 0x0000011 + +gUnk_080D2731:: @ 080D2731 + .incbin "baserom.gba", 0x0D2731, 0x0000011 + +gUnk_080D2742:: @ 080D2742 + .incbin "baserom.gba", 0x0D2742, 0x0000011 + +gUnk_080D2753:: @ 080D2753 + .incbin "baserom.gba", 0x0D2753, 0x0000011 + +gUnk_080D2764:: @ 080D2764 + .incbin "baserom.gba", 0x0D2764, 0x0000011 + +gUnk_080D2775:: @ 080D2775 + .incbin "baserom.gba", 0x0D2775, 0x0000011 + +gUnk_080D2786:: @ 080D2786 + .incbin "baserom.gba", 0x0D2786, 0x0000011 + +gUnk_080D2797:: @ 080D2797 + .incbin "baserom.gba", 0x0D2797, 0x0000011 + +gUnk_080D27A8:: @ 080D27A8 + .incbin "baserom.gba", 0x0D27A8, 0x0000104 + +gUnk_080D28AC:: @ 080D28AC + .incbin "baserom.gba", 0x0D28AC, 0x0000020 + +gUnk_080D28CC:: @ 080D28CC + .incbin "baserom.gba", 0x0D28CC, 0x0000010 + +gUnk_080D28DC:: @ 080D28DC + .incbin "baserom.gba", 0x0D28DC, 0x0000008 + +gUnk_080D28E4:: @ 080D28E4 + .incbin "baserom.gba", 0x0D28E4, 0x0000008 + +gUnk_080D28EC:: @ 080D28EC + .incbin "baserom.gba", 0x0D28EC, 0x0000008 + +gUnk_080D28F4:: @ 080D28F4 + .incbin "baserom.gba", 0x0D28F4, 0x0000008 + +gUnk_080D28FC:: @ 080D28FC + .incbin "baserom.gba", 0x0D28FC, 0x0000008 + +gUnk_080D2904:: @ 080D2904 + .incbin "baserom.gba", 0x0D2904, 0x0000008 + +gUnk_080D290C:: @ 080D290C + .incbin "baserom.gba", 0x0D290C, 0x0000008 + +gUnk_080D2914:: @ 080D2914 + .incbin "baserom.gba", 0x0D2914, 0x0000008 + +gUnk_080D291C:: @ 080D291C + .incbin "baserom.gba", 0x0D291C, 0x0000011 + +gUnk_080D292D:: @ 080D292D + .incbin "baserom.gba", 0x0D292D, 0x0000011 + +gUnk_080D293E:: @ 080D293E + .incbin "baserom.gba", 0x0D293E, 0x000000C + +gUnk_080D294A:: @ 080D294A + .incbin "baserom.gba", 0x0D294A, 0x0000005 + +gUnk_080D294F:: @ 080D294F + .incbin "baserom.gba", 0x0D294F, 0x0000011 + +gUnk_080D2960:: @ 080D2960 + .incbin "baserom.gba", 0x0D2960, 0x0000014 + +gUnk_080D2974:: @ 080D2974 + .incbin "baserom.gba", 0x0D2974, 0x0000014 + +gUnk_080D2988:: @ 080D2988 + .incbin "baserom.gba", 0x0D2988, 0x0000008 + +gUnk_080D2990:: @ 080D2990 + .incbin "baserom.gba", 0x0D2990, 0x0000018 + +gUnk_080D29A8:: @ 080D29A8 + .incbin "baserom.gba", 0x0D29A8, 0x0000010 + +gUnk_080D29B8:: @ 080D29B8 + .incbin "baserom.gba", 0x0D29B8, 0x0000008 + +gUnk_080D29C0:: @ 080D29C0 + .incbin "baserom.gba", 0x0D29C0, 0x0000020 + +gUnk_080D29E0:: @ 080D29E0 + .incbin "baserom.gba", 0x0D29E0, 0x00000D0 + +gUnk_080D2AB0:: @ 080D2AB0 + .incbin "baserom.gba", 0x0D2AB0, 0x000000C + +gUnk_080D2ABC:: @ 080D2ABC + .incbin "baserom.gba", 0x0D2ABC, 0x000019C + +gUnk_080D2C58:: @ 080D2C58 + .incbin "baserom.gba", 0x0D2C58, 0x00001CE + +gUnk_080D2E26:: @ 080D2E26 + .incbin "baserom.gba", 0x0D2E26, 0x0000492 + +gUnk_080D32B8:: @ 080D32B8 + .incbin "baserom.gba", 0x0D32B8, 0x0000030 + +gUnk_080D32E8:: @ 080D32E8 + .incbin "baserom.gba", 0x0D32E8, 0x0000020 + +gUnk_080D3308:: @ 080D3308 + .incbin "baserom.gba", 0x0D3308, 0x0000080 + +gUnk_080D3388:: @ 080D3388 + .incbin "baserom.gba", 0x0D3388, 0x0000040 + +gUnk_080D33C8:: @ 080D33C8 + .incbin "baserom.gba", 0x0D33C8, 0x0000090 + +gUnk_080D3458:: @ 080D3458 + .incbin "baserom.gba", 0x0D3458, 0x0000030 + +gUnk_080D3488:: @ 080D3488 + .incbin "baserom.gba", 0x0D3488, 0x0000030 + +gUnk_080D34B8:: @ 080D34B8 + .incbin "baserom.gba", 0x0D34B8, 0x0000020 + +gUnk_080D34D8:: @ 080D34D8 + .incbin "baserom.gba", 0x0D34D8, 0x0000030 + +gUnk_080D3508:: @ 080D3508 + .incbin "baserom.gba", 0x0D3508, 0x0000090 + +gUnk_080D3598:: @ 080D3598 + .incbin "baserom.gba", 0x0D3598, 0x0000040 + +gUnk_080D35D8:: @ 080D35D8 + .incbin "baserom.gba", 0x0D35D8, 0x0000070 + +gUnk_080D3648:: @ 080D3648 + .incbin "baserom.gba", 0x0D3648, 0x0000080 + +gUnk_080D36C8:: @ 080D36C8 + .incbin "baserom.gba", 0x0D36C8, 0x0000020 + +gUnk_080D36E8:: @ 080D36E8 + .incbin "baserom.gba", 0x0D36E8, 0x0000030 + +gUnk_080D3718:: @ 080D3718 + .incbin "baserom.gba", 0x0D3718, 0x0000030 + +gUnk_080D3748:: @ 080D3748 + .incbin "baserom.gba", 0x0D3748, 0x0000020 + +gUnk_080D3768:: @ 080D3768 + .incbin "baserom.gba", 0x0D3768, 0x0000020 + +gUnk_080D3788:: @ 080D3788 + .incbin "baserom.gba", 0x0D3788, 0x0000050 + +gUnk_080D37D8:: @ 080D37D8 + .incbin "baserom.gba", 0x0D37D8, 0x0000020 + +gUnk_080D37F8:: @ 080D37F8 + .incbin "baserom.gba", 0x0D37F8, 0x0000030 + +gUnk_080D3828:: @ 080D3828 + .incbin "baserom.gba", 0x0D3828, 0x0000080 + +gUnk_080D38A8:: @ 080D38A8 + .incbin "baserom.gba", 0x0D38A8, 0x0000030 + +gUnk_080D38D8:: @ 080D38D8 + .incbin "baserom.gba", 0x0D38D8, 0x0000040 + +gUnk_080D3918:: @ 080D3918 + .incbin "baserom.gba", 0x0D3918, 0x0000020 + +gUnk_080D3938:: @ 080D3938 + .incbin "baserom.gba", 0x0D3938, 0x0000017 + +gUnk_080D394F:: @ 080D394F + .incbin "baserom.gba", 0x0D394F, 0x0000029 + +gUnk_080D3978:: @ 080D3978 + .incbin "baserom.gba", 0x0D3978, 0x0000060 + +gUnk_080D39D8:: @ 080D39D8 + .incbin "baserom.gba", 0x0D39D8, 0x0000040 + +gUnk_080D3A18:: @ 080D3A18 + .incbin "baserom.gba", 0x0D3A18, 0x0000050 + +gUnk_080D3A68:: @ 080D3A68 + .incbin "baserom.gba", 0x0D3A68, 0x0000030 + +gUnk_080D3A98:: @ 080D3A98 + .incbin "baserom.gba", 0x0D3A98, 0x0000030 + +gUnk_080D3AC8:: @ 080D3AC8 + .incbin "baserom.gba", 0x0D3AC8, 0x0000020 + +gUnk_080D3AE8:: @ 080D3AE8 + .incbin "baserom.gba", 0x0D3AE8, 0x0000040 + +gUnk_080D3B28:: @ 080D3B28 + .incbin "baserom.gba", 0x0D3B28, 0x0000020 + +gUnk_080D3B48:: @ 080D3B48 + .incbin "baserom.gba", 0x0D3B48, 0x0000040 + +gUnk_080D3B88:: @ 080D3B88 + .incbin "baserom.gba", 0x0D3B88, 0x0000020 + +gUnk_080D3BA8:: @ 080D3BA8 + .incbin "baserom.gba", 0x0D3BA8, 0x0000020 + +gUnk_080D3BC8:: @ 080D3BC8 + .incbin "baserom.gba", 0x0D3BC8, 0x0000020 + +gUnk_080D3BE8:: @ 080D3BE8 + .incbin "baserom.gba", 0x0D3BE8, 0x0000010 diff --git a/data/data_081026AC.s b/data/data_081026AC.s deleted file mode 100755 index 88787890..00000000 --- a/data/data_081026AC.s +++ /dev/null @@ -1,2570 +0,0 @@ - .include "asm/macros.inc" - .include "constants/constants.inc" - - .section .rodata - .align 2 - -gUnk_081026AC:: @ 081026AC - .incbin "baserom.gba", 0x1026AC, 0x0000030 - -gUnk_081026DC:: @ 081026DC - .incbin "baserom.gba", 0x1026DC, 0x0000028 - -gUnk_08102704:: @ 08102704 - .incbin "baserom.gba", 0x102704, 0x0000008 - -gUnk_0810270C:: @ 0810270C - .incbin "baserom.gba", 0x10270C, 0x0000004 - -gUnk_08102710:: @ 08102710 - .incbin "baserom.gba", 0x102710, 0x0000023 - -gUnk_08102733:: @ 08102733 - .incbin "baserom.gba", 0x102733, 0x0000009 - -gUnk_0810273C:: @ 0810273C - .incbin "baserom.gba", 0x10273C, 0x000001B - -gUnk_08102757:: @ 08102757 - .incbin "baserom.gba", 0x102757, 0x0000015 - -gUnk_0810276C:: @ 0810276C - .incbin "baserom.gba", 0x10276C, 0x0000030 - -gUnk_0810279C:: @ 0810279C - .incbin "baserom.gba", 0x10279C, 0x0000030 - -gUnk_081027CC:: @ 081027CC - .incbin "baserom.gba", 0x1027CC, 0x0000030 - -gUnk_081027FC:: @ 081027FC - .incbin "baserom.gba", 0x1027FC, 0x0000030 - -gUnk_0810282C:: @ 0810282C - .incbin "baserom.gba", 0x10282C, 0x000000C - -gUnk_08102838:: @ 08102838 - .incbin "baserom.gba", 0x102838, 0x0000012 - -gUnk_0810284A:: @ 0810284A - .incbin "baserom.gba", 0x10284A, 0x0000012 - -gUnk_0810285C:: @ 0810285C - .incbin "baserom.gba", 0x10285C, 0x0000018 - -gUnk_08102874:: @ 08102874 - .incbin "baserom.gba", 0x102874, 0x0000030 - -gUnk_081028A4:: @ 081028A4 - .incbin "baserom.gba", 0x1028A4, 0x0000030 - -gUnk_081028D4:: @ 081028D4 - .incbin "baserom.gba", 0x1028D4, 0x0000030 - -gUnk_08102904:: @ 08102904 - .incbin "baserom.gba", 0x102904, 0x0000012 - -gUnk_08102916:: @ 08102916 - .incbin "baserom.gba", 0x102916, 0x000001E - -gUnk_08102934:: @ 08102934 - .incbin "baserom.gba", 0x102934, 0x0000018 - -gUnk_0810294C:: @ 0810294C - .incbin "baserom.gba", 0x10294C, 0x0000018 - -gUnk_08102964:: @ 08102964 - .incbin "baserom.gba", 0x102964, 0x0000030 - -gUnk_08102994:: @ 08102994 - .incbin "baserom.gba", 0x102994, 0x0000030 - -gUnk_081029C4:: @ 081029C4 - .incbin "baserom.gba", 0x1029C4, 0x0000030 - -gUnk_081029F4:: @ 081029F4 - .incbin "baserom.gba", 0x1029F4, 0x000001C - -gUnk_08102A10:: @ 08102A10 - .incbin "baserom.gba", 0x102A10, 0x0000014 - -gUnk_08102A24:: @ 08102A24 - .incbin "baserom.gba", 0x102A24, 0x0000030 - -gUnk_08102A54:: @ 08102A54 - .incbin "baserom.gba", 0x102A54, 0x0000030 - -gUnk_08102A84:: @ 08102A84 - .incbin "baserom.gba", 0x102A84, 0x0000030 - -gUnk_08102AB4:: @ 08102AB4 - .incbin "baserom.gba", 0x102AB4, 0x0000030 - -gUnk_08102AE4:: @ 08102AE4 - .incbin "baserom.gba", 0x102AE4, 0x000002C - -gUnk_08102B10:: @ 08102B10 - .incbin "baserom.gba", 0x102B10, 0x0000004 - -gUnk_08102B14:: @ 08102B14 - .incbin "baserom.gba", 0x102B14, 0x0000030 - -gUnk_08102B44:: @ 08102B44 - .incbin "baserom.gba", 0x102B44, 0x0000030 - -gUnk_08102B74:: @ 08102B74 - .incbin "baserom.gba", 0x102B74, 0x0000030 - -gUnk_08102BA4:: @ 08102BA4 - .incbin "baserom.gba", 0x102BA4, 0x0000030 - -gUnk_08102BD4:: @ 08102BD4 - .incbin "baserom.gba", 0x102BD4, 0x0000030 - -gUnk_08102C04:: @ 08102C04 - .incbin "baserom.gba", 0x102C04, 0x0000030 - -gUnk_08102C34:: @ 08102C34 - .incbin "baserom.gba", 0x102C34, 0x000000D - -gUnk_08102C41:: @ 08102C41 - .incbin "baserom.gba", 0x102C41, 0x0000023 - -gUnk_08102C64:: @ 08102C64 - .incbin "baserom.gba", 0x102C64, 0x0000030 - -gUnk_08102C94:: @ 08102C94 - .incbin "baserom.gba", 0x102C94, 0x0000030 - -gUnk_08102CC4:: @ 08102CC4 - .incbin "baserom.gba", 0x102CC4, 0x0000030 - -gUnk_08102CF4:: @ 08102CF4 - .incbin "baserom.gba", 0x102CF4, 0x0000030 - -gUnk_08102D24:: @ 08102D24 - .incbin "baserom.gba", 0x102D24, 0x0000030 - -gUnk_08102D54:: @ 08102D54 - .incbin "baserom.gba", 0x102D54, 0x0000030 - -gUnk_08102D84:: @ 08102D84 - .incbin "baserom.gba", 0x102D84, 0x0000030 - -gUnk_08102DB4:: @ 08102DB4 - .incbin "baserom.gba", 0x102DB4, 0x0000030 - -gUnk_08102DE4:: @ 08102DE4 - .incbin "baserom.gba", 0x102DE4, 0x0000030 - -gUnk_08102E14:: @ 08102E14 - .incbin "baserom.gba", 0x102E14, 0x0000030 - -gUnk_08102E44:: @ 08102E44 - .incbin "baserom.gba", 0x102E44, 0x0000030 - -gUnk_08102E74:: @ 08102E74 - .incbin "baserom.gba", 0x102E74, 0x0000030 - -gUnk_08102EA4:: @ 08102EA4 - .incbin "baserom.gba", 0x102EA4, 0x0000030 - -gUnk_08102ED4:: @ 08102ED4 - .incbin "baserom.gba", 0x102ED4, 0x0000018 - -gUnk_08102EEC:: @ 08102EEC - .incbin "baserom.gba", 0x102EEC, 0x0000025 - -gUnk_08102F11:: @ 08102F11 - .incbin "baserom.gba", 0x102F11, 0x000000B - -gUnk_08102F1C:: @ 08102F1C - .incbin "baserom.gba", 0x102F1C, 0x0000030 - -gUnk_08102F4C:: @ 08102F4C - .incbin "baserom.gba", 0x102F4C, 0x0000030 - -gUnk_08102F7C:: @ 08102F7C - .incbin "baserom.gba", 0x102F7C, 0x0000030 - -gUnk_08102FAC:: @ 08102FAC - .incbin "baserom.gba", 0x102FAC, 0x0000030 - -gUnk_08102FDC:: @ 08102FDC - .incbin "baserom.gba", 0x102FDC, 0x0000030 - -gUnk_0810300C:: @ 0810300C - .incbin "baserom.gba", 0x10300C, 0x0000030 - -gUnk_0810303C:: @ 0810303C - .incbin "baserom.gba", 0x10303C, 0x0000030 - -gUnk_0810306C:: @ 0810306C - .incbin "baserom.gba", 0x10306C, 0x0000030 - -gAreaMetatiles:: @ 0810309C - .incbin "baserom.gba", 0x10309C, 0x0000068 - -gUnk_08103104:: @ 08103104 - .incbin "baserom.gba", 0x103104, 0x000000C - -gUnk_08103110:: @ 08103110 - .incbin "baserom.gba", 0x103110, 0x00000E5 - -gUnk_081031F5:: @ 081031F5 - .incbin "baserom.gba", 0x1031F5, 0x00000E7 - -gUnk_081032DC:: @ 081032DC - .incbin "baserom.gba", 0x1032DC, 0x0000018 - -gUnk_081032F4:: @ 081032F4 - .incbin "baserom.gba", 0x1032F4, 0x0000004 - -gUnk_081032F8:: @ 081032F8 - .incbin "baserom.gba", 0x1032F8, 0x0000018 - -gUnk_08103310:: @ 08103310 - .incbin "baserom.gba", 0x103310, 0x0000018 - -gUnk_08103328:: @ 08103328 - .incbin "baserom.gba", 0x103328, 0x0000008 - -gUnk_08103330:: @ 08103330 - .incbin "baserom.gba", 0x103330, 0x0000018 - -gUnk_08103348:: @ 08103348 - .incbin "baserom.gba", 0x103348, 0x0000004 - -gUnk_0810334C:: @ 0810334C - .incbin "baserom.gba", 0x10334C, 0x0000018 - -gUnk_08103364:: @ 08103364 - .incbin "baserom.gba", 0x103364, 0x0000016 - -gUnk_0810337A:: @ 0810337A - .incbin "baserom.gba", 0x10337A, 0x0000002 - -gUnk_0810337C:: @ 0810337C - .incbin "baserom.gba", 0x10337C, 0x0000018 - -gUnk_08103394:: @ 08103394 - .incbin "baserom.gba", 0x103394, 0x0000018 - -gUnk_081033AC:: @ 081033AC - .incbin "baserom.gba", 0x1033AC, 0x0000018 - -gUnk_081033C4:: @ 081033C4 - .incbin "baserom.gba", 0x1033C4, 0x0000018 - -gUnk_081033DC:: @ 081033DC - .incbin "baserom.gba", 0x1033DC, 0x0000018 - -gUnk_081033F4:: @ 081033F4 - .incbin "baserom.gba", 0x1033F4, 0x0000018 - -gUnk_0810340C:: @ 0810340C - .incbin "baserom.gba", 0x10340C, 0x0000004 - -gUnk_08103410:: @ 08103410 - .incbin "baserom.gba", 0x103410, 0x0000018 - -gUnk_08103428:: @ 08103428 - .incbin "baserom.gba", 0x103428, 0x0000004 - -gUnk_0810342C:: @ 0810342C - .incbin "baserom.gba", 0x10342C, 0x0000017 - -gUnk_08103443:: @ 08103443 - .incbin "baserom.gba", 0x103443, 0x0000001 - -gUnk_08103444:: @ 08103444 - .incbin "baserom.gba", 0x103444, 0x0000018 - -gUnk_0810345C:: @ 0810345C - .incbin "baserom.gba", 0x10345C, 0x0000018 - -gUnk_08103474:: @ 08103474 - .incbin "baserom.gba", 0x103474, 0x0000018 - -gUnk_0810348C:: @ 0810348C - .incbin "baserom.gba", 0x10348C, 0x0000018 - -gUnk_081034A4:: @ 081034A4 - .incbin "baserom.gba", 0x1034A4, 0x0000014 - -gUnk_081034B8:: @ 081034B8 - .incbin "baserom.gba", 0x1034B8, 0x0000018 - -gUnk_081034D0:: @ 081034D0 - .incbin "baserom.gba", 0x1034D0, 0x000003C - -gUnk_0810350C:: @ 0810350C - .incbin "baserom.gba", 0x10350C, 0x0000018 - -gUnk_08103524:: @ 08103524 - .incbin "baserom.gba", 0x103524, 0x0000031 - -gUnk_08103555:: @ 08103555 - .incbin "baserom.gba", 0x103555, 0x000000B - -gUnk_08103560:: @ 08103560 - .incbin "baserom.gba", 0x103560, 0x000003C - -gUnk_0810359C:: @ 0810359C - .incbin "baserom.gba", 0x10359C, 0x000003C - -gUnk_081035D8:: @ 081035D8 - .incbin "baserom.gba", 0x1035D8, 0x000003C - -gUnk_08103614:: @ 08103614 - .incbin "baserom.gba", 0x103614, 0x000003C - -gUnk_08103650:: @ 08103650 - .incbin "baserom.gba", 0x103650, 0x0000018 - -gUnk_08103668:: @ 08103668 - .incbin "baserom.gba", 0x103668, 0x0000018 - -gUnk_08103680:: @ 08103680 - .incbin "baserom.gba", 0x103680, 0x0000028 - -gUnk_081036A8:: @ 081036A8 - .incbin "baserom.gba", 0x1036A8, 0x0000018 - -gUnk_081036C0:: @ 081036C0 - .incbin "baserom.gba", 0x1036C0, 0x0000004 - -gUnk_081036C4:: @ 081036C4 - .incbin "baserom.gba", 0x1036C4, 0x0000018 - -gUnk_081036DC:: @ 081036DC - .incbin "baserom.gba", 0x1036DC, 0x0000018 - -gUnk_081036F4:: @ 081036F4 - .incbin "baserom.gba", 0x1036F4, 0x0000018 - -gUnk_0810370C:: @ 0810370C - .incbin "baserom.gba", 0x10370C, 0x000000C - -gUnk_08103718:: @ 08103718 - .incbin "baserom.gba", 0x103718, 0x0000018 - -gUnk_08103730:: @ 08103730 - .incbin "baserom.gba", 0x103730, 0x0000003 - -gUnk_08103733:: @ 08103733 - .incbin "baserom.gba", 0x103733, 0x0000015 - -gUnk_08103748:: @ 08103748 - .incbin "baserom.gba", 0x103748, 0x0000008 - -gUnk_08103750:: @ 08103750 - .incbin "baserom.gba", 0x103750, 0x0000015 - -gUnk_08103765:: @ 08103765 - .incbin "baserom.gba", 0x103765, 0x0000003 - -gUnk_08103768:: @ 08103768 - .incbin "baserom.gba", 0x103768, 0x0000004 - -gUnk_0810376C:: @ 0810376C - .incbin "baserom.gba", 0x10376C, 0x0000018 - -gUnk_08103784:: @ 08103784 - .incbin "baserom.gba", 0x103784, 0x0000004 - -gUnk_08103788:: @ 08103788 - .incbin "baserom.gba", 0x103788, 0x000000C - -gUnk_08103794:: @ 08103794 - .incbin "baserom.gba", 0x103794, 0x000000C - -gUnk_081037A0:: @ 081037A0 - .incbin "baserom.gba", 0x1037A0, 0x000000C - -gUnk_081037AC:: @ 081037AC - .incbin "baserom.gba", 0x1037AC, 0x000000C - -gUnk_081037B8:: @ 081037B8 - .incbin "baserom.gba", 0x1037B8, 0x000000C - -gUnk_081037C4:: @ 081037C4 - .incbin "baserom.gba", 0x1037C4, 0x0000018 - -gUnk_081037DC:: @ 081037DC - .incbin "baserom.gba", 0x1037DC, 0x0000080 - -gUnk_0810385C:: @ 0810385C - .incbin "baserom.gba", 0x10385C, 0x0000018 - -gUnk_08103874:: @ 08103874 - .incbin "baserom.gba", 0x103874, 0x0000018 - -gUnk_0810388C:: @ 0810388C - .incbin "baserom.gba", 0x10388C, 0x0000018 - -gUnk_081038A4:: @ 081038A4 - .incbin "baserom.gba", 0x1038A4, 0x0000018 - -gUnk_081038BC:: @ 081038BC - .incbin "baserom.gba", 0x1038BC, 0x0000018 - -gUnk_081038D4:: @ 081038D4 - .incbin "baserom.gba", 0x1038D4, 0x0000018 - -gUnk_081038EC:: @ 081038EC - .incbin "baserom.gba", 0x1038EC, 0x0000018 - -gUnk_08103904:: @ 08103904 - .incbin "baserom.gba", 0x103904, 0x000000C - -gUnk_08103910:: @ 08103910 - .incbin "baserom.gba", 0x103910, 0x000000C - -gUnk_0810391C:: @ 0810391C - .incbin "baserom.gba", 0x10391C, 0x0000018 - -gUnk_08103934:: @ 08103934 - .incbin "baserom.gba", 0x103934, 0x0000018 - -gUnk_0810394C:: @ 0810394C - .incbin "baserom.gba", 0x10394C, 0x0000018 - -gUnk_08103964:: @ 08103964 - .incbin "baserom.gba", 0x103964, 0x0000018 - -gUnk_0810397C:: @ 0810397C - .incbin "baserom.gba", 0x10397C, 0x0000018 - -gUnk_08103994:: @ 08103994 - .incbin "baserom.gba", 0x103994, 0x0000018 - -gUnk_081039AC:: @ 081039AC - .incbin "baserom.gba", 0x1039AC, 0x0000018 - -gUnk_081039C4:: @ 081039C4 - .incbin "baserom.gba", 0x1039C4, 0x0000018 - -gUnk_081039DC:: @ 081039DC - .incbin "baserom.gba", 0x1039DC, 0x0000018 - -gUnk_081039F4:: @ 081039F4 - .incbin "baserom.gba", 0x1039F4, 0x000000C - -gUnk_08103A00:: @ 08103A00 - .incbin "baserom.gba", 0x103A00, 0x0000010 - -gUnk_08103A10:: @ 08103A10 - .incbin "baserom.gba", 0x103A10, 0x0000028 - -gUnk_08103A38:: @ 08103A38 - .incbin "baserom.gba", 0x103A38, 0x0000018 - -gUnk_08103A50:: @ 08103A50 - .incbin "baserom.gba", 0x103A50, 0x0000018 - -gUnk_08103A68:: @ 08103A68 - .incbin "baserom.gba", 0x103A68, 0x0000018 - -gUnk_08103A80:: @ 08103A80 - .incbin "baserom.gba", 0x103A80, 0x0000020 - -gUnk_08103AA0:: @ 08103AA0 - .incbin "baserom.gba", 0x103AA0, 0x0000018 - -gUnk_08103AB8:: @ 08103AB8 - .incbin "baserom.gba", 0x103AB8, 0x0000004 - -gUnk_08103ABC:: @ 08103ABC - .incbin "baserom.gba", 0x103ABC, 0x0000018 - -gUnk_08103AD4:: @ 08103AD4 - .incbin "baserom.gba", 0x103AD4, 0x0000004 - -gUnk_08103AD8:: @ 08103AD8 - .incbin "baserom.gba", 0x103AD8, 0x0000018 - -gUnk_08103AF0:: @ 08103AF0 - .incbin "baserom.gba", 0x103AF0, 0x0000018 - -gUnk_08103B08:: @ 08103B08 - .incbin "baserom.gba", 0x103B08, 0x0000008 - -gUnk_08103B10:: @ 08103B10 - .incbin "baserom.gba", 0x103B10, 0x0000008 - -gUnk_08103B18:: @ 08103B18 - .incbin "baserom.gba", 0x103B18, 0x0000018 - -gUnk_08103B30:: @ 08103B30 - .incbin "baserom.gba", 0x103B30, 0x0000004 - -gUnk_08103B34:: @ 08103B34 - .incbin "baserom.gba", 0x103B34, 0x0000018 - -gUnk_08103B4C:: @ 08103B4C - .incbin "baserom.gba", 0x103B4C, 0x0000004 - -gUnk_08103B50:: @ 08103B50 - .incbin "baserom.gba", 0x103B50, 0x0000018 - -gUnk_08103B68:: @ 08103B68 - .incbin "baserom.gba", 0x103B68, 0x0000004 - -gUnk_08103B6C:: @ 08103B6C - .incbin "baserom.gba", 0x103B6C, 0x0000018 - -gUnk_08103B84:: @ 08103B84 - .incbin "baserom.gba", 0x103B84, 0x0000018 - -gUnk_08103B9C:: @ 08103B9C - .incbin "baserom.gba", 0x103B9C, 0x0000018 - -gUnk_08103BB4:: @ 08103BB4 - .incbin "baserom.gba", 0x103BB4, 0x0000018 - -gUnk_08103BCC:: @ 08103BCC - .incbin "baserom.gba", 0x103BCC, 0x0000018 - -gUnk_08103BE4:: @ 08103BE4 - .incbin "baserom.gba", 0x103BE4, 0x0000014 - -gUnk_08103BF8:: @ 08103BF8 - .incbin "baserom.gba", 0x103BF8, 0x0000009 - -gUnk_08103C01:: @ 08103C01 - .incbin "baserom.gba", 0x103C01, 0x000000F - -gUnk_08103C10:: @ 08103C10 - .incbin "baserom.gba", 0x103C10, 0x0000018 - -gUnk_08103C28:: @ 08103C28 - .incbin "baserom.gba", 0x103C28, 0x0000008 - -gUnk_08103C30:: @ 08103C30 - .incbin "baserom.gba", 0x103C30, 0x0000018 - -gUnk_08103C48:: @ 08103C48 - .incbin "baserom.gba", 0x103C48, 0x0000008 - -gUnk_08103C50:: @ 08103C50 - .incbin "baserom.gba", 0x103C50, 0x0000018 - -gUnk_08103C68:: @ 08103C68 - .incbin "baserom.gba", 0x103C68, 0x0000018 - -gUnk_08103C80:: @ 08103C80 - .incbin "baserom.gba", 0x103C80, 0x0000008 - -gUnk_08103C88:: @ 08103C88 - .incbin "baserom.gba", 0x103C88, 0x0000018 - -gUnk_08103CA0:: @ 08103CA0 - .incbin "baserom.gba", 0x103CA0, 0x0000004 - -gUnk_08103CA4:: @ 08103CA4 - .incbin "baserom.gba", 0x103CA4, 0x000000C - -gUnk_08103CB0:: @ 08103CB0 - .incbin "baserom.gba", 0x103CB0, 0x000000C - -gUnk_08103CBC:: @ 08103CBC - .incbin "baserom.gba", 0x103CBC, 0x000000C - -gUnk_08103CC8:: @ 08103CC8 - .incbin "baserom.gba", 0x103CC8, 0x000000C - -gUnk_08103CD4:: @ 08103CD4 - .incbin "baserom.gba", 0x103CD4, 0x000000C - -gUnk_08103CE0:: @ 08103CE0 - .incbin "baserom.gba", 0x103CE0, 0x0000014 - -gUnk_08103CF4:: @ 08103CF4 - .incbin "baserom.gba", 0x103CF4, 0x000000C - -gUnk_08103D00:: @ 08103D00 - .incbin "baserom.gba", 0x103D00, 0x000000C - -gUnk_08103D0C:: @ 08103D0C - .incbin "baserom.gba", 0x103D0C, 0x000000C - -gUnk_08103D18:: @ 08103D18 - .incbin "baserom.gba", 0x103D18, 0x000000C - -gUnk_08103D24:: @ 08103D24 - .incbin "baserom.gba", 0x103D24, 0x0000010 - -gUnk_08103D34:: @ 08103D34 - .incbin "baserom.gba", 0x103D34, 0x0000024 - -gUnk_08103D58:: @ 08103D58 - .incbin "baserom.gba", 0x103D58, 0x0000024 - -gUnk_08103D7C:: @ 08103D7C - .incbin "baserom.gba", 0x103D7C, 0x0000024 - -gUnk_08103DA0:: @ 08103DA0 - .incbin "baserom.gba", 0x103DA0, 0x0000024 - -gUnk_08103DC4:: @ 08103DC4 - .incbin "baserom.gba", 0x103DC4, 0x0000024 - -gUnk_08103DE8:: @ 08103DE8 - .incbin "baserom.gba", 0x103DE8, 0x0000024 - -gUnk_08103E0C:: @ 08103E0C - .incbin "baserom.gba", 0x103E0C, 0x0000024 - -gUnk_08103E30:: @ 08103E30 - .incbin "baserom.gba", 0x103E30, 0x0000024 - -gUnk_08103E54:: @ 08103E54 - .incbin "baserom.gba", 0x103E54, 0x0000024 - -gUnk_08103E78:: @ 08103E78 - .incbin "baserom.gba", 0x103E78, 0x0000024 - -gUnk_08103E9C:: @ 08103E9C - .incbin "baserom.gba", 0x103E9C, 0x0000024 - -gUnk_08103EC0:: @ 08103EC0 - .incbin "baserom.gba", 0x103EC0, 0x0000024 - -gUnk_08103EE4:: @ 08103EE4 - .incbin "baserom.gba", 0x103EE4, 0x0000024 - -gUnk_08103F08:: @ 08103F08 - .incbin "baserom.gba", 0x103F08, 0x0000024 - -gUnk_08103F2C:: @ 08103F2C - .incbin "baserom.gba", 0x103F2C, 0x0000024 - -gUnk_08103F50:: @ 08103F50 - .incbin "baserom.gba", 0x103F50, 0x0000024 - -gUnk_08103F74:: @ 08103F74 - .incbin "baserom.gba", 0x103F74, 0x0000024 - -gUnk_08103F98:: @ 08103F98 - .incbin "baserom.gba", 0x103F98, 0x0000024 - -gUnk_08103FBC:: @ 08103FBC - .incbin "baserom.gba", 0x103FBC, 0x0000024 - -gUnk_08103FE0:: @ 08103FE0 - .incbin "baserom.gba", 0x103FE0, 0x0000024 - -gUnk_08104004:: @ 08104004 - .incbin "baserom.gba", 0x104004, 0x000001C - -gUnk_08104020:: @ 08104020 - .incbin "baserom.gba", 0x104020, 0x0000008 - -gUnk_08104028:: @ 08104028 - .incbin "baserom.gba", 0x104028, 0x00000A0 - -gUnk_081040C8:: @ 081040C8 - .incbin "baserom.gba", 0x1040C8, 0x0000024 - -gUnk_081040EC:: @ 081040EC - .incbin "baserom.gba", 0x1040EC, 0x0000024 - -gUnk_08104110:: @ 08104110 - .incbin "baserom.gba", 0x104110, 0x0000024 - -gUnk_08104134:: @ 08104134 - .incbin "baserom.gba", 0x104134, 0x0000024 - -gUnk_08104158:: @ 08104158 - .incbin "baserom.gba", 0x104158, 0x0000024 - -gUnk_0810417C:: @ 0810417C - .incbin "baserom.gba", 0x10417C, 0x0000024 - -gUnk_081041A0:: @ 081041A0 - .incbin "baserom.gba", 0x1041A0, 0x0000024 - -gUnk_081041C4:: @ 081041C4 - .incbin "baserom.gba", 0x1041C4, 0x0000024 - -gUnk_081041E8:: @ 081041E8 - .incbin "baserom.gba", 0x1041E8, 0x0000018 - -gUnk_08104200:: @ 08104200 - .incbin "baserom.gba", 0x104200, 0x000000C - -gUnk_0810420C:: @ 0810420C - .incbin "baserom.gba", 0x10420C, 0x0000004 - -gUnk_08104210:: @ 08104210 - .incbin "baserom.gba", 0x104210, 0x00000BC - -gUnk_081042CC:: @ 081042CC - .incbin "baserom.gba", 0x1042CC, 0x0000018 - -gUnk_081042E4:: @ 081042E4 - .incbin "baserom.gba", 0x1042E4, 0x0000018 - -gUnk_081042FC:: @ 081042FC - .incbin "baserom.gba", 0x1042FC, 0x0000014 - -gUnk_08104310:: @ 08104310 - .incbin "baserom.gba", 0x104310, 0x0000004 - -gUnk_08104314:: @ 08104314 - .incbin "baserom.gba", 0x104314, 0x000000D - -gUnk_08104321:: @ 08104321 - .incbin "baserom.gba", 0x104321, 0x000000B - -gUnk_0810432C:: @ 0810432C - .incbin "baserom.gba", 0x10432C, 0x0000018 - -gUnk_08104344:: @ 08104344 - .incbin "baserom.gba", 0x104344, 0x0000018 - -gUnk_0810435C:: @ 0810435C - .incbin "baserom.gba", 0x10435C, 0x0000018 - -gUnk_08104374:: @ 08104374 - .incbin "baserom.gba", 0x104374, 0x0000018 - -gUnk_0810438C:: @ 0810438C - .incbin "baserom.gba", 0x10438C, 0x0000018 - -gUnk_081043A4:: @ 081043A4 - .incbin "baserom.gba", 0x1043A4, 0x0000018 - -gUnk_081043BC:: @ 081043BC - .incbin "baserom.gba", 0x1043BC, 0x0000018 - -gUnk_081043D4:: @ 081043D4 - .incbin "baserom.gba", 0x1043D4, 0x0000018 - -gUnk_081043EC:: @ 081043EC - .incbin "baserom.gba", 0x1043EC, 0x0000018 - -gUnk_08104404:: @ 08104404 - .incbin "baserom.gba", 0x104404, 0x0000040 - -gUnk_08104444:: @ 08104444 - .incbin "baserom.gba", 0x104444, 0x0000018 - -gUnk_0810445C:: @ 0810445C - .incbin "baserom.gba", 0x10445C, 0x0000018 - -gUnk_08104474:: @ 08104474 - .incbin "baserom.gba", 0x104474, 0x0000018 - -gUnk_0810448C:: @ 0810448C - .incbin "baserom.gba", 0x10448C, 0x0000018 - -gUnk_081044A4:: @ 081044A4 - .incbin "baserom.gba", 0x1044A4, 0x0000018 - -gUnk_081044BC:: @ 081044BC - .incbin "baserom.gba", 0x1044BC, 0x0000018 - -gUnk_081044D4:: @ 081044D4 - .incbin "baserom.gba", 0x1044D4, 0x0000018 - -gUnk_081044EC:: @ 081044EC - .incbin "baserom.gba", 0x1044EC, 0x0000018 - -gUnk_08104504:: @ 08104504 - .incbin "baserom.gba", 0x104504, 0x0000018 - -gUnk_0810451C:: @ 0810451C - .incbin "baserom.gba", 0x10451C, 0x0000018 - -gUnk_08104534:: @ 08104534 - .incbin "baserom.gba", 0x104534, 0x0000018 - -gUnk_0810454C:: @ 0810454C - .incbin "baserom.gba", 0x10454C, 0x0000018 - -gUnk_08104564:: @ 08104564 - .incbin "baserom.gba", 0x104564, 0x0000018 - -gUnk_0810457C:: @ 0810457C - .incbin "baserom.gba", 0x10457C, 0x0000018 - -gUnk_08104594:: @ 08104594 - .incbin "baserom.gba", 0x104594, 0x0000018 - -gUnk_081045AC:: @ 081045AC - .incbin "baserom.gba", 0x1045AC, 0x0000018 - -gUnk_081045C4:: @ 081045C4 - .incbin "baserom.gba", 0x1045C4, 0x0000018 - -gUnk_081045DC:: @ 081045DC - .incbin "baserom.gba", 0x1045DC, 0x0000018 - -gUnk_081045F4:: @ 081045F4 - .incbin "baserom.gba", 0x1045F4, 0x0000018 - -gUnk_0810460C:: @ 0810460C - .incbin "baserom.gba", 0x10460C, 0x00000C0 - -gUnk_081046CC:: @ 081046CC - .incbin "baserom.gba", 0x1046CC, 0x0000018 - -gUnk_081046E4:: @ 081046E4 - .incbin "baserom.gba", 0x1046E4, 0x0000018 - -gUnk_081046FC:: @ 081046FC - .incbin "baserom.gba", 0x1046FC, 0x0000018 - -gUnk_08104714:: @ 08104714 - .incbin "baserom.gba", 0x104714, 0x0000018 - -gUnk_0810472C:: @ 0810472C - .incbin "baserom.gba", 0x10472C, 0x0000018 - -gUnk_08104744:: @ 08104744 - .incbin "baserom.gba", 0x104744, 0x0000018 - -gUnk_0810475C:: @ 0810475C - .incbin "baserom.gba", 0x10475C, 0x0000040 - -gUnk_0810479C:: @ 0810479C - .incbin "baserom.gba", 0x10479C, 0x0000018 - -gUnk_081047B4:: @ 081047B4 - .incbin "baserom.gba", 0x1047B4, 0x0000018 - -gUnk_081047CC:: @ 081047CC - .incbin "baserom.gba", 0x1047CC, 0x0000018 - -gUnk_081047E4:: @ 081047E4 - .incbin "baserom.gba", 0x1047E4, 0x0000018 - -gUnk_081047FC:: @ 081047FC - .incbin "baserom.gba", 0x1047FC, 0x0000018 - -gUnk_08104814:: @ 08104814 - .incbin "baserom.gba", 0x104814, 0x0000018 - -gUnk_0810482C:: @ 0810482C - .incbin "baserom.gba", 0x10482C, 0x0000018 - -gUnk_08104844:: @ 08104844 - .incbin "baserom.gba", 0x104844, 0x0000018 - -gUnk_0810485C:: @ 0810485C - .incbin "baserom.gba", 0x10485C, 0x0000018 - -gUnk_08104874:: @ 08104874 - .incbin "baserom.gba", 0x104874, 0x0000024 - -gUnk_08104898:: @ 08104898 - .incbin "baserom.gba", 0x104898, 0x0000018 - -gUnk_081048B0:: @ 081048B0 - .incbin "baserom.gba", 0x1048B0, 0x0000018 - -gUnk_081048C8:: @ 081048C8 - .incbin "baserom.gba", 0x1048C8, 0x0000018 - -gUnk_081048E0:: @ 081048E0 - .incbin "baserom.gba", 0x1048E0, 0x0000018 - -gUnk_081048F8:: @ 081048F8 - .incbin "baserom.gba", 0x1048F8, 0x0000018 - -gUnk_08104910:: @ 08104910 - .incbin "baserom.gba", 0x104910, 0x0000018 - -gUnk_08104928:: @ 08104928 - .incbin "baserom.gba", 0x104928, 0x000000A - -gUnk_08104932:: @ 08104932 - .incbin "baserom.gba", 0x104932, 0x000000E - -gUnk_08104940:: @ 08104940 - .incbin "baserom.gba", 0x104940, 0x0000018 - -gUnk_08104958:: @ 08104958 - .incbin "baserom.gba", 0x104958, 0x0000018 - -gUnk_08104970:: @ 08104970 - .incbin "baserom.gba", 0x104970, 0x0000018 - -gUnk_08104988:: @ 08104988 - .incbin "baserom.gba", 0x104988, 0x0000018 - -gUnk_081049A0:: @ 081049A0 - .incbin "baserom.gba", 0x1049A0, 0x0000018 - -gUnk_081049B8:: @ 081049B8 - .incbin "baserom.gba", 0x1049B8, 0x0000018 - -gUnk_081049D0:: @ 081049D0 - .incbin "baserom.gba", 0x1049D0, 0x0000018 - -gUnk_081049E8:: @ 081049E8 - .incbin "baserom.gba", 0x1049E8, 0x0000018 - -gUnk_08104A00:: @ 08104A00 - .incbin "baserom.gba", 0x104A00, 0x0000010 - -gUnk_08104A10:: @ 08104A10 - .incbin "baserom.gba", 0x104A10, 0x0000008 - -gUnk_08104A18:: @ 08104A18 - .incbin "baserom.gba", 0x104A18, 0x000000D - -gUnk_08104A25:: @ 08104A25 - .incbin "baserom.gba", 0x104A25, 0x000000B - -gUnk_08104A30:: @ 08104A30 - .incbin "baserom.gba", 0x104A30, 0x0000080 - -gUnk_08104AB0:: @ 08104AB0 - .incbin "baserom.gba", 0x104AB0, 0x0000018 - -gUnk_08104AC8:: @ 08104AC8 - .incbin "baserom.gba", 0x104AC8, 0x0000018 - -gUnk_08104AE0:: @ 08104AE0 - .incbin "baserom.gba", 0x104AE0, 0x0000018 - -gUnk_08104AF8:: @ 08104AF8 - .incbin "baserom.gba", 0x104AF8, 0x000000B - -gUnk_08104B03:: @ 08104B03 - .incbin "baserom.gba", 0x104B03, 0x000000D - -gUnk_08104B10:: @ 08104B10 - .incbin "baserom.gba", 0x104B10, 0x0000018 - -gUnk_08104B28:: @ 08104B28 - .incbin "baserom.gba", 0x104B28, 0x0000018 - -gUnk_08104B40:: @ 08104B40 - .incbin "baserom.gba", 0x104B40, 0x0000018 - -gUnk_08104B58:: @ 08104B58 - .incbin "baserom.gba", 0x104B58, 0x0000018 - -gUnk_08104B70:: @ 08104B70 - .incbin "baserom.gba", 0x104B70, 0x0000018 - -gUnk_08104B88:: @ 08104B88 - .incbin "baserom.gba", 0x104B88, 0x0000018 - -gUnk_08104BA0:: @ 08104BA0 - .incbin "baserom.gba", 0x104BA0, 0x0000018 - -gUnk_08104BB8:: @ 08104BB8 - .incbin "baserom.gba", 0x104BB8, 0x0000018 - -gUnk_08104BD0:: @ 08104BD0 - .incbin "baserom.gba", 0x104BD0, 0x0000018 - -gUnk_08104BE8:: @ 08104BE8 - .incbin "baserom.gba", 0x104BE8, 0x0000018 - -gUnk_08104C00:: @ 08104C00 - .incbin "baserom.gba", 0x104C00, 0x0000040 - -gUnk_08104C40:: @ 08104C40 - .incbin "baserom.gba", 0x104C40, 0x0000018 - -gUnk_08104C58:: @ 08104C58 - .incbin "baserom.gba", 0x104C58, 0x0000018 - -gUnk_08104C70:: @ 08104C70 - .incbin "baserom.gba", 0x104C70, 0x0000018 - -gUnk_08104C88:: @ 08104C88 - .incbin "baserom.gba", 0x104C88, 0x0000018 - -gUnk_08104CA0:: @ 08104CA0 - .incbin "baserom.gba", 0x104CA0, 0x0000018 - -gUnk_08104CB8:: @ 08104CB8 - .incbin "baserom.gba", 0x104CB8, 0x0000018 - -gUnk_08104CD0:: @ 08104CD0 - .incbin "baserom.gba", 0x104CD0, 0x0000018 - -gUnk_08104CE8:: @ 08104CE8 - .incbin "baserom.gba", 0x104CE8, 0x0000018 - -gUnk_08104D00:: @ 08104D00 - .incbin "baserom.gba", 0x104D00, 0x0000018 - -gUnk_08104D18:: @ 08104D18 - .incbin "baserom.gba", 0x104D18, 0x0000018 - -gUnk_08104D30:: @ 08104D30 - .incbin "baserom.gba", 0x104D30, 0x0000018 - -gUnk_08104D48:: @ 08104D48 - .incbin "baserom.gba", 0x104D48, 0x0000018 - -gUnk_08104D60:: @ 08104D60 - .incbin "baserom.gba", 0x104D60, 0x0000018 - -gUnk_08104D78:: @ 08104D78 - .incbin "baserom.gba", 0x104D78, 0x0000018 - -gUnk_08104D90:: @ 08104D90 - .incbin "baserom.gba", 0x104D90, 0x0000018 - -gUnk_08104DA8:: @ 08104DA8 - .incbin "baserom.gba", 0x104DA8, 0x0000018 - -gUnk_08104DC0:: @ 08104DC0 - .incbin "baserom.gba", 0x104DC0, 0x0000018 - -gUnk_08104DD8:: @ 08104DD8 - .incbin "baserom.gba", 0x104DD8, 0x0000018 - -gUnk_08104DF0:: @ 08104DF0 - .incbin "baserom.gba", 0x104DF0, 0x0000048 - -gUnk_08104E38:: @ 08104E38 - .incbin "baserom.gba", 0x104E38, 0x0000018 - -gUnk_08104E50:: @ 08104E50 - .incbin "baserom.gba", 0x104E50, 0x0000018 - -gUnk_08104E68:: @ 08104E68 - .incbin "baserom.gba", 0x104E68, 0x0000018 - -gUnk_08104E80:: @ 08104E80 - .incbin "baserom.gba", 0x104E80, 0x0000018 - -gUnk_08104E98:: @ 08104E98 - .incbin "baserom.gba", 0x104E98, 0x0000018 - -gUnk_08104EB0:: @ 08104EB0 - .incbin "baserom.gba", 0x104EB0, 0x0000018 - -gUnk_08104EC8:: @ 08104EC8 - .incbin "baserom.gba", 0x104EC8, 0x0000018 - -gUnk_08104EE0:: @ 08104EE0 - .incbin "baserom.gba", 0x104EE0, 0x0000018 - -gUnk_08104EF8:: @ 08104EF8 - .incbin "baserom.gba", 0x104EF8, 0x0000018 - -gUnk_08104F10:: @ 08104F10 - .incbin "baserom.gba", 0x104F10, 0x0000018 - -gUnk_08104F28:: @ 08104F28 - .incbin "baserom.gba", 0x104F28, 0x0000018 - -gUnk_08104F40:: @ 08104F40 - .incbin "baserom.gba", 0x104F40, 0x000002C - -gUnk_08104F6C:: @ 08104F6C - .incbin "baserom.gba", 0x104F6C, 0x000000C - -gUnk_08104F78:: @ 08104F78 - .incbin "baserom.gba", 0x104F78, 0x000000C - -gUnk_08104F84:: @ 08104F84 - .incbin "baserom.gba", 0x104F84, 0x000000C - -gUnk_08104F90:: @ 08104F90 - .incbin "baserom.gba", 0x104F90, 0x000000C - -gUnk_08104F9C:: @ 08104F9C - .incbin "baserom.gba", 0x104F9C, 0x0000010 - -gUnk_08104FAC:: @ 08104FAC - .incbin "baserom.gba", 0x104FAC, 0x0000018 - -gUnk_08104FC4:: @ 08104FC4 - .incbin "baserom.gba", 0x104FC4, 0x0000018 - -gUnk_08104FDC:: @ 08104FDC - .incbin "baserom.gba", 0x104FDC, 0x0000008 - -gUnk_08104FE4:: @ 08104FE4 - .incbin "baserom.gba", 0x104FE4, 0x0000018 - -gUnk_08104FFC:: @ 08104FFC - .incbin "baserom.gba", 0x104FFC, 0x0000018 - -gUnk_08105014:: @ 08105014 - .incbin "baserom.gba", 0x105014, 0x0000018 - -gUnk_0810502C:: @ 0810502C - .incbin "baserom.gba", 0x10502C, 0x0000018 - -gUnk_08105044:: @ 08105044 - .incbin "baserom.gba", 0x105044, 0x0000010 - -gUnk_08105054:: @ 08105054 - .incbin "baserom.gba", 0x105054, 0x0000018 - -gUnk_0810506C:: @ 0810506C - .incbin "baserom.gba", 0x10506C, 0x0000004 - -gUnk_08105070:: @ 08105070 - .incbin "baserom.gba", 0x105070, 0x0000018 - -gUnk_08105088:: @ 08105088 - .incbin "baserom.gba", 0x105088, 0x0000018 - -gUnk_081050A0:: @ 081050A0 - .incbin "baserom.gba", 0x1050A0, 0x0000018 - -gUnk_081050B8:: @ 081050B8 - .incbin "baserom.gba", 0x1050B8, 0x0000018 - -gUnk_081050D0:: @ 081050D0 - .incbin "baserom.gba", 0x1050D0, 0x0000018 - -gUnk_081050E8:: @ 081050E8 - .incbin "baserom.gba", 0x1050E8, 0x0000018 - -gUnk_08105100:: @ 08105100 - .incbin "baserom.gba", 0x105100, 0x0000018 - -gUnk_08105118:: @ 08105118 - .incbin "baserom.gba", 0x105118, 0x0000018 - -gUnk_08105130:: @ 08105130 - .incbin "baserom.gba", 0x105130, 0x0000010 - -gUnk_08105140:: @ 08105140 - .incbin "baserom.gba", 0x105140, 0x0000008 - -gUnk_08105148:: @ 08105148 - .incbin "baserom.gba", 0x105148, 0x0000018 - -gUnk_08105160:: @ 08105160 - .incbin "baserom.gba", 0x105160, 0x0000028 - -gUnk_08105188:: @ 08105188 - .incbin "baserom.gba", 0x105188, 0x0000018 - -gUnk_081051A0:: @ 081051A0 - .incbin "baserom.gba", 0x1051A0, 0x0000018 - -gUnk_081051B8:: @ 081051B8 - .incbin "baserom.gba", 0x1051B8, 0x0000008 - -gUnk_081051C0:: @ 081051C0 - .incbin "baserom.gba", 0x1051C0, 0x0000018 - -gUnk_081051D8:: @ 081051D8 - .incbin "baserom.gba", 0x1051D8, 0x0000018 - -gUnk_081051F0:: @ 081051F0 - .incbin "baserom.gba", 0x1051F0, 0x0000008 - -gUnk_081051F8:: @ 081051F8 - .incbin "baserom.gba", 0x1051F8, 0x000000E - -gUnk_08105206:: @ 08105206 - .incbin "baserom.gba", 0x105206, 0x000000A - -gUnk_08105210:: @ 08105210 - .incbin "baserom.gba", 0x105210, 0x0000004 - -gUnk_08105214:: @ 08105214 - .incbin "baserom.gba", 0x105214, 0x0000018 - -gUnk_0810522C:: @ 0810522C - .incbin "baserom.gba", 0x10522C, 0x0000018 - -gUnk_08105244:: @ 08105244 - .incbin "baserom.gba", 0x105244, 0x0000008 - -gUnk_0810524C:: @ 0810524C - .incbin "baserom.gba", 0x10524C, 0x0000018 - -gUnk_08105264:: @ 08105264 - .incbin "baserom.gba", 0x105264, 0x0000018 - -gUnk_0810527C:: @ 0810527C - .incbin "baserom.gba", 0x10527C, 0x0000008 - -gUnk_08105284:: @ 08105284 - .incbin "baserom.gba", 0x105284, 0x0000018 - -gUnk_0810529C:: @ 0810529C - .incbin "baserom.gba", 0x10529C, 0x0000018 - -gUnk_081052B4:: @ 081052B4 - .incbin "baserom.gba", 0x1052B4, 0x0000008 - -gUnk_081052BC:: @ 081052BC - .incbin "baserom.gba", 0x1052BC, 0x0000018 - -gUnk_081052D4:: @ 081052D4 - .incbin "baserom.gba", 0x1052D4, 0x0000004 - -gUnk_081052D8:: @ 081052D8 - .incbin "baserom.gba", 0x1052D8, 0x0000018 - -gUnk_081052F0:: @ 081052F0 - .incbin "baserom.gba", 0x1052F0, 0x0000018 - -gUnk_08105308:: @ 08105308 - .incbin "baserom.gba", 0x105308, 0x0000018 - -gUnk_08105320:: @ 08105320 - .incbin "baserom.gba", 0x105320, 0x0000018 - -gUnk_08105338:: @ 08105338 - .incbin "baserom.gba", 0x105338, 0x0000018 - -gUnk_08105350:: @ 08105350 - .incbin "baserom.gba", 0x105350, 0x0000018 - -gUnk_08105368:: @ 08105368 - .incbin "baserom.gba", 0x105368, 0x0000018 - -gUnk_08105380:: @ 08105380 - .incbin "baserom.gba", 0x105380, 0x0000018 - -gUnk_08105398:: @ 08105398 - .incbin "baserom.gba", 0x105398, 0x0000018 - -gUnk_081053B0:: @ 081053B0 - .incbin "baserom.gba", 0x1053B0, 0x0000024 - -gUnk_081053D4:: @ 081053D4 - .incbin "baserom.gba", 0x1053D4, 0x0000018 - -gUnk_081053EC:: @ 081053EC - .incbin "baserom.gba", 0x1053EC, 0x0000018 - -gUnk_08105404:: @ 08105404 - .incbin "baserom.gba", 0x105404, 0x0000018 - -gUnk_0810541C:: @ 0810541C - .incbin "baserom.gba", 0x10541C, 0x0000018 - -gUnk_08105434:: @ 08105434 - .incbin "baserom.gba", 0x105434, 0x0000018 - -gUnk_0810544C:: @ 0810544C - .incbin "baserom.gba", 0x10544C, 0x0000018 - -gUnk_08105464:: @ 08105464 - .incbin "baserom.gba", 0x105464, 0x0000018 - -gUnk_0810547C:: @ 0810547C - .incbin "baserom.gba", 0x10547C, 0x0000018 - -gUnk_08105494:: @ 08105494 - .incbin "baserom.gba", 0x105494, 0x0000018 - -gUnk_081054AC:: @ 081054AC - .incbin "baserom.gba", 0x1054AC, 0x0000018 - -gUnk_081054C4:: @ 081054C4 - .incbin "baserom.gba", 0x1054C4, 0x0000018 - -gUnk_081054DC:: @ 081054DC - .incbin "baserom.gba", 0x1054DC, 0x0000018 - -gUnk_081054F4:: @ 081054F4 - .incbin "baserom.gba", 0x1054F4, 0x0000018 - -gUnk_0810550C:: @ 0810550C - .incbin "baserom.gba", 0x10550C, 0x0000018 - -gUnk_08105524:: @ 08105524 - .incbin "baserom.gba", 0x105524, 0x0000018 - -gUnk_0810553C:: @ 0810553C - .incbin "baserom.gba", 0x10553C, 0x0000018 - -gUnk_08105554:: @ 08105554 - .incbin "baserom.gba", 0x105554, 0x0000018 - -gUnk_0810556C:: @ 0810556C - .incbin "baserom.gba", 0x10556C, 0x0000018 - -gUnk_08105584:: @ 08105584 - .incbin "baserom.gba", 0x105584, 0x0000018 - -gUnk_0810559C:: @ 0810559C - .incbin "baserom.gba", 0x10559C, 0x0000018 - -gUnk_081055B4:: @ 081055B4 - .incbin "baserom.gba", 0x1055B4, 0x0000018 - -gUnk_081055CC:: @ 081055CC - .incbin "baserom.gba", 0x1055CC, 0x0000018 - -gUnk_081055E4:: @ 081055E4 - .incbin "baserom.gba", 0x1055E4, 0x000001C - -gUnk_08105600:: @ 08105600 - .incbin "baserom.gba", 0x105600, 0x0000019 - -gUnk_08105619:: @ 08105619 - .incbin "baserom.gba", 0x105619, 0x000004F - -gUnk_08105668:: @ 08105668 - .incbin "baserom.gba", 0x105668, 0x0000004 - -gUnk_0810566C:: @ 0810566C - .incbin "baserom.gba", 0x10566C, 0x0000004 - -gUnk_08105670:: @ 08105670 - .incbin "baserom.gba", 0x105670, 0x0000018 - -gUnk_08105688:: @ 08105688 - .incbin "baserom.gba", 0x105688, 0x0000018 - -gUnk_081056A0:: @ 081056A0 - .incbin "baserom.gba", 0x1056A0, 0x0000018 - -gUnk_081056B8:: @ 081056B8 - .incbin "baserom.gba", 0x1056B8, 0x0000018 - -gUnk_081056D0:: @ 081056D0 - .incbin "baserom.gba", 0x1056D0, 0x0000018 - -gUnk_081056E8:: @ 081056E8 - .incbin "baserom.gba", 0x1056E8, 0x0000018 - -gUnk_08105700:: @ 08105700 - .incbin "baserom.gba", 0x105700, 0x0000010 - -gUnk_08105710:: @ 08105710 - .incbin "baserom.gba", 0x105710, 0x0000008 - -gUnk_08105718:: @ 08105718 - .incbin "baserom.gba", 0x105718, 0x0000018 - -gUnk_08105730:: @ 08105730 - .incbin "baserom.gba", 0x105730, 0x0000018 - -gUnk_08105748:: @ 08105748 - .incbin "baserom.gba", 0x105748, 0x0000018 - -gUnk_08105760:: @ 08105760 - .incbin "baserom.gba", 0x105760, 0x0000018 - -gUnk_08105778:: @ 08105778 - .incbin "baserom.gba", 0x105778, 0x0000018 - -gUnk_08105790:: @ 08105790 - .incbin "baserom.gba", 0x105790, 0x0000018 - -gUnk_081057A8:: @ 081057A8 - .incbin "baserom.gba", 0x1057A8, 0x0000018 - -gUnk_081057C0:: @ 081057C0 - .incbin "baserom.gba", 0x1057C0, 0x0000018 - -gUnk_081057D8:: @ 081057D8 - .incbin "baserom.gba", 0x1057D8, 0x0000018 - -gUnk_081057F0:: @ 081057F0 - .incbin "baserom.gba", 0x1057F0, 0x0000018 - -gUnk_08105808:: @ 08105808 - .incbin "baserom.gba", 0x105808, 0x0000018 - -gUnk_08105820:: @ 08105820 - .incbin "baserom.gba", 0x105820, 0x0000060 - -gUnk_08105880:: @ 08105880 - .incbin "baserom.gba", 0x105880, 0x0000018 - -gUnk_08105898:: @ 08105898 - .incbin "baserom.gba", 0x105898, 0x0000004 - -gUnk_0810589C:: @ 0810589C - .incbin "baserom.gba", 0x10589C, 0x0000018 - -gUnk_081058B4:: @ 081058B4 - .incbin "baserom.gba", 0x1058B4, 0x0000018 - -gUnk_081058CC:: @ 081058CC - .incbin "baserom.gba", 0x1058CC, 0x0000018 - -gUnk_081058E4:: @ 081058E4 - .incbin "baserom.gba", 0x1058E4, 0x0000018 - -gUnk_081058FC:: @ 081058FC - .incbin "baserom.gba", 0x1058FC, 0x000000E - -gUnk_0810590A:: @ 0810590A - .incbin "baserom.gba", 0x10590A, 0x000000A - -gUnk_08105914:: @ 08105914 - .incbin "baserom.gba", 0x105914, 0x0000018 - -gUnk_0810592C:: @ 0810592C - .incbin "baserom.gba", 0x10592C, 0x0000018 - -gUnk_08105944:: @ 08105944 - .incbin "baserom.gba", 0x105944, 0x0000018 - -gUnk_0810595C:: @ 0810595C - .incbin "baserom.gba", 0x10595C, 0x0000018 - -gUnk_08105974:: @ 08105974 - .incbin "baserom.gba", 0x105974, 0x0000018 - -gUnk_0810598C:: @ 0810598C - .incbin "baserom.gba", 0x10598C, 0x0000018 - -gUnk_081059A4:: @ 081059A4 - .incbin "baserom.gba", 0x1059A4, 0x0000018 - -gUnk_081059BC:: @ 081059BC - .incbin "baserom.gba", 0x1059BC, 0x0000018 - -gUnk_081059D4:: @ 081059D4 - .incbin "baserom.gba", 0x1059D4, 0x0000018 - -gUnk_081059EC:: @ 081059EC - .incbin "baserom.gba", 0x1059EC, 0x0000018 - -gUnk_08105A04:: @ 08105A04 - .incbin "baserom.gba", 0x105A04, 0x0000018 - -gUnk_08105A1C:: @ 08105A1C - .incbin "baserom.gba", 0x105A1C, 0x0000018 - -gUnk_08105A34:: @ 08105A34 - .incbin "baserom.gba", 0x105A34, 0x000000D - -gUnk_08105A41:: @ 08105A41 - .incbin "baserom.gba", 0x105A41, 0x000000B - -gUnk_08105A4C:: @ 08105A4C - .incbin "baserom.gba", 0x105A4C, 0x0000018 - -gUnk_08105A64:: @ 08105A64 - .incbin "baserom.gba", 0x105A64, 0x0000018 - -gUnk_08105A7C:: @ 08105A7C - .incbin "baserom.gba", 0x105A7C, 0x0000018 - -gUnk_08105A94:: @ 08105A94 - .incbin "baserom.gba", 0x105A94, 0x0000018 - -gUnk_08105AAC:: @ 08105AAC - .incbin "baserom.gba", 0x105AAC, 0x0000018 - -gUnk_08105AC4:: @ 08105AC4 - .incbin "baserom.gba", 0x105AC4, 0x0000018 - -gUnk_08105ADC:: @ 08105ADC - .incbin "baserom.gba", 0x105ADC, 0x0000034 - -gUnk_08105B10:: @ 08105B10 - .incbin "baserom.gba", 0x105B10, 0x0000060 - -gUnk_08105B70:: @ 08105B70 - .incbin "baserom.gba", 0x105B70, 0x0000018 - -gUnk_08105B88:: @ 08105B88 - .incbin "baserom.gba", 0x105B88, 0x0000004 - -gUnk_08105B8C:: @ 08105B8C - .incbin "baserom.gba", 0x105B8C, 0x0000018 - -gUnk_08105BA4:: @ 08105BA4 - .incbin "baserom.gba", 0x105BA4, 0x0000018 - -gUnk_08105BBC:: @ 08105BBC - .incbin "baserom.gba", 0x105BBC, 0x0000008 - -gUnk_08105BC4:: @ 08105BC4 - .incbin "baserom.gba", 0x105BC4, 0x0000018 - -gUnk_08105BDC:: @ 08105BDC - .incbin "baserom.gba", 0x105BDC, 0x0000018 - -gUnk_08105BF4:: @ 08105BF4 - .incbin "baserom.gba", 0x105BF4, 0x0000018 - -gUnk_08105C0C:: @ 08105C0C - .incbin "baserom.gba", 0x105C0C, 0x0000018 - -gUnk_08105C24:: @ 08105C24 - .incbin "baserom.gba", 0x105C24, 0x0000018 - -gUnk_08105C3C:: @ 08105C3C - .incbin "baserom.gba", 0x105C3C, 0x0000018 - -gUnk_08105C54:: @ 08105C54 - .incbin "baserom.gba", 0x105C54, 0x0000018 - -gUnk_08105C6C:: @ 08105C6C - .incbin "baserom.gba", 0x105C6C, 0x0000018 - -gUnk_08105C84:: @ 08105C84 - .incbin "baserom.gba", 0x105C84, 0x0000018 - -gUnk_08105C9C:: @ 08105C9C - .incbin "baserom.gba", 0x105C9C, 0x0000018 - -gUnk_08105CB4:: @ 08105CB4 - .incbin "baserom.gba", 0x105CB4, 0x0000018 - -gUnk_08105CCC:: @ 08105CCC - .incbin "baserom.gba", 0x105CCC, 0x0000018 - -gUnk_08105CE4:: @ 08105CE4 - .incbin "baserom.gba", 0x105CE4, 0x0000018 - -gUnk_08105CFC:: @ 08105CFC - .incbin "baserom.gba", 0x105CFC, 0x0000018 - -gUnk_08105D14:: @ 08105D14 - .incbin "baserom.gba", 0x105D14, 0x0000003 - -gUnk_08105D17:: @ 08105D17 - .incbin "baserom.gba", 0x105D17, 0x0000015 - -gUnk_08105D2C:: @ 08105D2C - .incbin "baserom.gba", 0x105D2C, 0x0000018 - -gUnk_08105D44:: @ 08105D44 - .incbin "baserom.gba", 0x105D44, 0x0000018 - -gUnk_08105D5C:: @ 08105D5C - .incbin "baserom.gba", 0x105D5C, 0x0000018 - -gUnk_08105D74:: @ 08105D74 - .incbin "baserom.gba", 0x105D74, 0x0000018 - -gUnk_08105D8C:: @ 08105D8C - .incbin "baserom.gba", 0x105D8C, 0x0000018 - -gUnk_08105DA4:: @ 08105DA4 - .incbin "baserom.gba", 0x105DA4, 0x0000018 - -gUnk_08105DBC:: @ 08105DBC - .incbin "baserom.gba", 0x105DBC, 0x0000018 - -gUnk_08105DD4:: @ 08105DD4 - .incbin "baserom.gba", 0x105DD4, 0x0000018 - -gUnk_08105DEC:: @ 08105DEC - .incbin "baserom.gba", 0x105DEC, 0x0000018 - -gUnk_08105E04:: @ 08105E04 - .incbin "baserom.gba", 0x105E04, 0x0000018 - -gUnk_08105E1C:: @ 08105E1C - .incbin "baserom.gba", 0x105E1C, 0x0000018 - -gUnk_08105E34:: @ 08105E34 - .incbin "baserom.gba", 0x105E34, 0x0000018 - -gUnk_08105E4C:: @ 08105E4C - .incbin "baserom.gba", 0x105E4C, 0x0000018 - -gUnk_08105E64:: @ 08105E64 - .incbin "baserom.gba", 0x105E64, 0x0000018 - -gUnk_08105E7C:: @ 08105E7C - .incbin "baserom.gba", 0x105E7C, 0x0000018 - -gUnk_08105E94:: @ 08105E94 - .incbin "baserom.gba", 0x105E94, 0x0000018 - -gUnk_08105EAC:: @ 08105EAC - .incbin "baserom.gba", 0x105EAC, 0x0000018 - -gUnk_08105EC4:: @ 08105EC4 - .incbin "baserom.gba", 0x105EC4, 0x0000018 - -gUnk_08105EDC:: @ 08105EDC - .incbin "baserom.gba", 0x105EDC, 0x0000018 - -gUnk_08105EF4:: @ 08105EF4 - .incbin "baserom.gba", 0x105EF4, 0x0000018 - -gUnk_08105F0C:: @ 08105F0C - .incbin "baserom.gba", 0x105F0C, 0x0000018 - -gUnk_08105F24:: @ 08105F24 - .incbin "baserom.gba", 0x105F24, 0x0000018 - -gUnk_08105F3C:: @ 08105F3C - .incbin "baserom.gba", 0x105F3C, 0x0000018 - -gUnk_08105F54:: @ 08105F54 - .incbin "baserom.gba", 0x105F54, 0x0000018 - -gUnk_08105F6C:: @ 08105F6C - .incbin "baserom.gba", 0x105F6C, 0x0000018 - -gUnk_08105F84:: @ 08105F84 - .incbin "baserom.gba", 0x105F84, 0x0000018 - -gUnk_08105F9C:: @ 08105F9C - .incbin "baserom.gba", 0x105F9C, 0x0000066 - -gUnk_08106002:: @ 08106002 - .incbin "baserom.gba", 0x106002, 0x0000076 - -gUnk_08106078:: @ 08106078 - .incbin "baserom.gba", 0x106078, 0x0000018 - -gUnk_08106090:: @ 08106090 - .incbin "baserom.gba", 0x106090, 0x0000004 - -gUnk_08106094:: @ 08106094 - .incbin "baserom.gba", 0x106094, 0x0000018 - -gUnk_081060AC:: @ 081060AC - .incbin "baserom.gba", 0x1060AC, 0x0000018 - -gUnk_081060C4:: @ 081060C4 - .incbin "baserom.gba", 0x1060C4, 0x0000018 - -gUnk_081060DC:: @ 081060DC - .incbin "baserom.gba", 0x1060DC, 0x0000018 - -gUnk_081060F4:: @ 081060F4 - .incbin "baserom.gba", 0x1060F4, 0x0000018 - -gUnk_0810610C:: @ 0810610C - .incbin "baserom.gba", 0x10610C, 0x0000018 - -gUnk_08106124:: @ 08106124 - .incbin "baserom.gba", 0x106124, 0x0000018 - -gUnk_0810613C:: @ 0810613C - .incbin "baserom.gba", 0x10613C, 0x0000018 - -gUnk_08106154:: @ 08106154 - .incbin "baserom.gba", 0x106154, 0x0000018 - -gUnk_0810616C:: @ 0810616C - .incbin "baserom.gba", 0x10616C, 0x0000018 - -gUnk_08106184:: @ 08106184 - .incbin "baserom.gba", 0x106184, 0x0000018 - -gUnk_0810619C:: @ 0810619C - .incbin "baserom.gba", 0x10619C, 0x0000058 - -gUnk_081061F4:: @ 081061F4 - .incbin "baserom.gba", 0x1061F4, 0x0000018 - -gUnk_0810620C:: @ 0810620C - .incbin "baserom.gba", 0x10620C, 0x0000018 - -gUnk_08106224:: @ 08106224 - .incbin "baserom.gba", 0x106224, 0x0000018 - -gUnk_0810623C:: @ 0810623C - .incbin "baserom.gba", 0x10623C, 0x0000018 - -gUnk_08106254:: @ 08106254 - .incbin "baserom.gba", 0x106254, 0x0000018 - -gUnk_0810626C:: @ 0810626C - .incbin "baserom.gba", 0x10626C, 0x0000018 - -gUnk_08106284:: @ 08106284 - .incbin "baserom.gba", 0x106284, 0x0000018 - -gUnk_0810629C:: @ 0810629C - .incbin "baserom.gba", 0x10629C, 0x0000018 - -gUnk_081062B4:: @ 081062B4 - .incbin "baserom.gba", 0x1062B4, 0x0000018 - -gUnk_081062CC:: @ 081062CC - .incbin "baserom.gba", 0x1062CC, 0x0000040 - -gUnk_0810630C:: @ 0810630C - .incbin "baserom.gba", 0x10630C, 0x0000018 - -gUnk_08106324:: @ 08106324 - .incbin "baserom.gba", 0x106324, 0x0000018 - -gUnk_0810633C:: @ 0810633C - .incbin "baserom.gba", 0x10633C, 0x0000018 - -gUnk_08106354:: @ 08106354 - .incbin "baserom.gba", 0x106354, 0x0000018 - -gUnk_0810636C:: @ 0810636C - .incbin "baserom.gba", 0x10636C, 0x0000018 - -gUnk_08106384:: @ 08106384 - .incbin "baserom.gba", 0x106384, 0x0000018 - -gUnk_0810639C:: @ 0810639C - .incbin "baserom.gba", 0x10639C, 0x0000018 - -gUnk_081063B4:: @ 081063B4 - .incbin "baserom.gba", 0x1063B4, 0x0000018 - -gUnk_081063CC:: @ 081063CC - .incbin "baserom.gba", 0x1063CC, 0x0000018 - -gUnk_081063E4:: @ 081063E4 - .incbin "baserom.gba", 0x1063E4, 0x0000018 - -gUnk_081063FC:: @ 081063FC - .incbin "baserom.gba", 0x1063FC, 0x0000018 - -gUnk_08106414:: @ 08106414 - .incbin "baserom.gba", 0x106414, 0x0000018 - -gUnk_0810642C:: @ 0810642C - .incbin "baserom.gba", 0x10642C, 0x0000018 - -gUnk_08106444:: @ 08106444 - .incbin "baserom.gba", 0x106444, 0x0000018 - -gUnk_0810645C:: @ 0810645C - .incbin "baserom.gba", 0x10645C, 0x0000018 - -gUnk_08106474:: @ 08106474 - .incbin "baserom.gba", 0x106474, 0x0000018 - -gUnk_0810648C:: @ 0810648C - .incbin "baserom.gba", 0x10648C, 0x0000018 - -gUnk_081064A4:: @ 081064A4 - .incbin "baserom.gba", 0x1064A4, 0x0000018 - -gUnk_081064BC:: @ 081064BC - .incbin "baserom.gba", 0x1064BC, 0x0000018 - -gUnk_081064D4:: @ 081064D4 - .incbin "baserom.gba", 0x1064D4, 0x0000018 - -gUnk_081064EC:: @ 081064EC - .incbin "baserom.gba", 0x1064EC, 0x0000018 - -gUnk_08106504:: @ 08106504 - .incbin "baserom.gba", 0x106504, 0x0000018 - -gUnk_0810651C:: @ 0810651C - .incbin "baserom.gba", 0x10651C, 0x0000018 - -gUnk_08106534:: @ 08106534 - .incbin "baserom.gba", 0x106534, 0x0000018 - -gUnk_0810654C:: @ 0810654C - .incbin "baserom.gba", 0x10654C, 0x0000009 - -gUnk_08106555:: @ 08106555 - .incbin "baserom.gba", 0x106555, 0x000000F - -gUnk_08106564:: @ 08106564 - .incbin "baserom.gba", 0x106564, 0x0000001 - -gUnk_08106565:: @ 08106565 - .incbin "baserom.gba", 0x106565, 0x0000017 - -gUnk_0810657C:: @ 0810657C - .incbin "baserom.gba", 0x10657C, 0x0000018 - -gUnk_08106594:: @ 08106594 - .incbin "baserom.gba", 0x106594, 0x0000018 - -gUnk_081065AC:: @ 081065AC - .incbin "baserom.gba", 0x1065AC, 0x0000018 - -gUnk_081065C4:: @ 081065C4 - .incbin "baserom.gba", 0x1065C4, 0x0000018 - -gUnk_081065DC:: @ 081065DC - .incbin "baserom.gba", 0x1065DC, 0x0000018 - -gUnk_081065F4:: @ 081065F4 - .incbin "baserom.gba", 0x1065F4, 0x0000004 - -gUnk_081065F8:: @ 081065F8 - .incbin "baserom.gba", 0x1065F8, 0x0000014 - -gUnk_0810660C:: @ 0810660C - .incbin "baserom.gba", 0x10660C, 0x000000D - -gUnk_08106619:: @ 08106619 - .incbin "baserom.gba", 0x106619, 0x0000001 - -gUnk_0810661A:: @ 0810661A - .incbin "baserom.gba", 0x10661A, 0x000000A - -gUnk_08106624:: @ 08106624 - .incbin "baserom.gba", 0x106624, 0x0000018 - -gUnk_0810663C:: @ 0810663C - .incbin "baserom.gba", 0x10663C, 0x0000018 - -gUnk_08106654:: @ 08106654 - .incbin "baserom.gba", 0x106654, 0x0000018 - -gUnk_0810666C:: @ 0810666C - .incbin "baserom.gba", 0x10666C, 0x0000018 - -gUnk_08106684:: @ 08106684 - .incbin "baserom.gba", 0x106684, 0x0000018 - -gUnk_0810669C:: @ 0810669C - .incbin "baserom.gba", 0x10669C, 0x0000018 - -gUnk_081066B4:: @ 081066B4 - .incbin "baserom.gba", 0x1066B4, 0x0000018 - -gUnk_081066CC:: @ 081066CC - .incbin "baserom.gba", 0x1066CC, 0x0000018 - -gUnk_081066E4:: @ 081066E4 - .incbin "baserom.gba", 0x1066E4, 0x0000018 - -gUnk_081066FC:: @ 081066FC - .incbin "baserom.gba", 0x1066FC, 0x0000018 - -gUnk_08106714:: @ 08106714 - .incbin "baserom.gba", 0x106714, 0x0000018 - -gUnk_0810672C:: @ 0810672C - .incbin "baserom.gba", 0x10672C, 0x0000018 - -gUnk_08106744:: @ 08106744 - .incbin "baserom.gba", 0x106744, 0x0000018 - -gUnk_0810675C:: @ 0810675C - .incbin "baserom.gba", 0x10675C, 0x0000018 - -gUnk_08106774:: @ 08106774 - .incbin "baserom.gba", 0x106774, 0x0000018 - -gUnk_0810678C:: @ 0810678C - .incbin "baserom.gba", 0x10678C, 0x0000018 - -gUnk_081067A4:: @ 081067A4 - .incbin "baserom.gba", 0x1067A4, 0x0000018 - -gUnk_081067BC:: @ 081067BC - .incbin "baserom.gba", 0x1067BC, 0x0000018 - -gUnk_081067D4:: @ 081067D4 - .incbin "baserom.gba", 0x1067D4, 0x000002C - -gUnk_08106800:: @ 08106800 - .incbin "baserom.gba", 0x106800, 0x00000A0 - -gUnk_081068A0:: @ 081068A0 - .incbin "baserom.gba", 0x1068A0, 0x000000C - -gUnk_081068AC:: @ 081068AC - .incbin "baserom.gba", 0x1068AC, 0x0000004 - -gUnk_081068B0:: @ 081068B0 - .incbin "baserom.gba", 0x1068B0, 0x0000018 - -gUnk_081068C8:: @ 081068C8 - .incbin "baserom.gba", 0x1068C8, 0x0000018 - -gUnk_081068E0:: @ 081068E0 - .incbin "baserom.gba", 0x1068E0, 0x0000018 - -gUnk_081068F8:: @ 081068F8 - .incbin "baserom.gba", 0x1068F8, 0x0000020 - -gUnk_08106918:: @ 08106918 - .incbin "baserom.gba", 0x106918, 0x0000018 - -gUnk_08106930:: @ 08106930 - .incbin "baserom.gba", 0x106930, 0x0000018 - -gUnk_08106948:: @ 08106948 - .incbin "baserom.gba", 0x106948, 0x0000018 - -gUnk_08106960:: @ 08106960 - .incbin "baserom.gba", 0x106960, 0x0000018 - -gUnk_08106978:: @ 08106978 - .incbin "baserom.gba", 0x106978, 0x0000018 - -gUnk_08106990:: @ 08106990 - .incbin "baserom.gba", 0x106990, 0x0000018 - -gUnk_081069A8:: @ 081069A8 - .incbin "baserom.gba", 0x1069A8, 0x0000018 - -gUnk_081069C0:: @ 081069C0 - .incbin "baserom.gba", 0x1069C0, 0x0000040 - -gUnk_08106A00:: @ 08106A00 - .incbin "baserom.gba", 0x106A00, 0x0000018 - -gUnk_08106A18:: @ 08106A18 - .incbin "baserom.gba", 0x106A18, 0x0000004 - -gUnk_08106A1C:: @ 08106A1C - .incbin "baserom.gba", 0x106A1C, 0x0000018 - -gUnk_08106A34:: @ 08106A34 - .incbin "baserom.gba", 0x106A34, 0x0000018 - -gUnk_08106A4C:: @ 08106A4C - .incbin "baserom.gba", 0x106A4C, 0x0000018 - -gUnk_08106A64:: @ 08106A64 - .incbin "baserom.gba", 0x106A64, 0x0000018 - -gUnk_08106A7C:: @ 08106A7C - .incbin "baserom.gba", 0x106A7C, 0x0000018 - -gUnk_08106A94:: @ 08106A94 - .incbin "baserom.gba", 0x106A94, 0x0000018 - -gUnk_08106AAC:: @ 08106AAC - .incbin "baserom.gba", 0x106AAC, 0x0000018 - -gUnk_08106AC4:: @ 08106AC4 - .incbin "baserom.gba", 0x106AC4, 0x0000018 - -gUnk_08106ADC:: @ 08106ADC - .incbin "baserom.gba", 0x106ADC, 0x0000018 - -gUnk_08106AF4:: @ 08106AF4 - .incbin "baserom.gba", 0x106AF4, 0x0000018 - -gUnk_08106B0C:: @ 08106B0C - .incbin "baserom.gba", 0x106B0C, 0x0000018 - -gUnk_08106B24:: @ 08106B24 - .incbin "baserom.gba", 0x106B24, 0x0000018 - -gUnk_08106B3C:: @ 08106B3C - .incbin "baserom.gba", 0x106B3C, 0x0000018 - -gUnk_08106B54:: @ 08106B54 - .incbin "baserom.gba", 0x106B54, 0x0000018 - -gUnk_08106B6C:: @ 08106B6C - .incbin "baserom.gba", 0x106B6C, 0x0000018 - -gUnk_08106B84:: @ 08106B84 - .incbin "baserom.gba", 0x106B84, 0x0000018 - -gUnk_08106B9C:: @ 08106B9C - .incbin "baserom.gba", 0x106B9C, 0x0000018 - -gUnk_08106BB4:: @ 08106BB4 - .incbin "baserom.gba", 0x106BB4, 0x0000018 - -gUnk_08106BCC:: @ 08106BCC - .incbin "baserom.gba", 0x106BCC, 0x0000018 - -gUnk_08106BE4:: @ 08106BE4 - .incbin "baserom.gba", 0x106BE4, 0x0000018 - -gUnk_08106BFC:: @ 08106BFC - .incbin "baserom.gba", 0x106BFC, 0x0000004 - -gUnk_08106C00:: @ 08106C00 - .incbin "baserom.gba", 0x106C00, 0x0000004 - -gUnk_08106C04:: @ 08106C04 - .incbin "baserom.gba", 0x106C04, 0x0000003 - -gUnk_08106C07:: @ 08106C07 - .incbin "baserom.gba", 0x106C07, 0x000000D - -gUnk_08106C14:: @ 08106C14 - .incbin "baserom.gba", 0x106C14, 0x0000018 - -gUnk_08106C2C:: @ 08106C2C - .incbin "baserom.gba", 0x106C2C, 0x0000018 - -gUnk_08106C44:: @ 08106C44 - .incbin "baserom.gba", 0x106C44, 0x0000018 - -gUnk_08106C5C:: @ 08106C5C - .incbin "baserom.gba", 0x106C5C, 0x0000018 - -gUnk_08106C74:: @ 08106C74 - .incbin "baserom.gba", 0x106C74, 0x0000018 - -gUnk_08106C8C:: @ 08106C8C - .incbin "baserom.gba", 0x106C8C, 0x0000018 - -gUnk_08106CA4:: @ 08106CA4 - .incbin "baserom.gba", 0x106CA4, 0x0000018 - -gUnk_08106CBC:: @ 08106CBC - .incbin "baserom.gba", 0x106CBC, 0x0000018 - -gUnk_08106CD4:: @ 08106CD4 - .incbin "baserom.gba", 0x106CD4, 0x0000018 - -gUnk_08106CEC:: @ 08106CEC - .incbin "baserom.gba", 0x106CEC, 0x0000018 - -gUnk_08106D04:: @ 08106D04 - .incbin "baserom.gba", 0x106D04, 0x0000018 - -gUnk_08106D1C:: @ 08106D1C - .incbin "baserom.gba", 0x106D1C, 0x0000018 - -gUnk_08106D34:: @ 08106D34 - .incbin "baserom.gba", 0x106D34, 0x0000018 - -gUnk_08106D4C:: @ 08106D4C - .incbin "baserom.gba", 0x106D4C, 0x0000018 - -gUnk_08106D64:: @ 08106D64 - .incbin "baserom.gba", 0x106D64, 0x0000018 - -gUnk_08106D7C:: @ 08106D7C - .incbin "baserom.gba", 0x106D7C, 0x0000003 - -gUnk_08106D7F:: @ 08106D7F - .incbin "baserom.gba", 0x106D7F, 0x0000015 - -gUnk_08106D94:: @ 08106D94 - .incbin "baserom.gba", 0x106D94, 0x0000018 - -gUnk_08106DAC:: @ 08106DAC - .incbin "baserom.gba", 0x106DAC, 0x0000018 - -gUnk_08106DC4:: @ 08106DC4 - .incbin "baserom.gba", 0x106DC4, 0x0000018 - -gUnk_08106DDC:: @ 08106DDC - .incbin "baserom.gba", 0x106DDC, 0x0000018 - -gUnk_08106DF4:: @ 08106DF4 - .incbin "baserom.gba", 0x106DF4, 0x0000018 - -gUnk_08106E0C:: @ 08106E0C - .incbin "baserom.gba", 0x106E0C, 0x0000018 - -gUnk_08106E24:: @ 08106E24 - .incbin "baserom.gba", 0x106E24, 0x0000018 - -gUnk_08106E3C:: @ 08106E3C - .incbin "baserom.gba", 0x106E3C, 0x0000018 - -gUnk_08106E54:: @ 08106E54 - .incbin "baserom.gba", 0x106E54, 0x0000018 - -gUnk_08106E6C:: @ 08106E6C - .incbin "baserom.gba", 0x106E6C, 0x0000018 - -gUnk_08106E84:: @ 08106E84 - .incbin "baserom.gba", 0x106E84, 0x0000018 - -gUnk_08106E9C:: @ 08106E9C - .incbin "baserom.gba", 0x106E9C, 0x0000018 - -gUnk_08106EB4:: @ 08106EB4 - .incbin "baserom.gba", 0x106EB4, 0x0000018 - -gUnk_08106ECC:: @ 08106ECC - .incbin "baserom.gba", 0x106ECC, 0x0000018 - -gUnk_08106EE4:: @ 08106EE4 - .incbin "baserom.gba", 0x106EE4, 0x0000018 - -gUnk_08106EFC:: @ 08106EFC - .incbin "baserom.gba", 0x106EFC, 0x000000F - -gUnk_08106F0B:: @ 08106F0B - .incbin "baserom.gba", 0x106F0B, 0x0000009 - -gUnk_08106F14:: @ 08106F14 - .incbin "baserom.gba", 0x106F14, 0x0000018 - -gUnk_08106F2C:: @ 08106F2C - .incbin "baserom.gba", 0x106F2C, 0x0000018 - -gUnk_08106F44:: @ 08106F44 - .incbin "baserom.gba", 0x106F44, 0x0000018 - -gUnk_08106F5C:: @ 08106F5C - .incbin "baserom.gba", 0x106F5C, 0x0000018 - -gUnk_08106F74:: @ 08106F74 - .incbin "baserom.gba", 0x106F74, 0x0000018 - -gUnk_08106F8C:: @ 08106F8C - .incbin "baserom.gba", 0x106F8C, 0x0000018 - -gUnk_08106FA4:: @ 08106FA4 - .incbin "baserom.gba", 0x106FA4, 0x0000018 - -gUnk_08106FBC:: @ 08106FBC - .incbin "baserom.gba", 0x106FBC, 0x00000F0 - -gUnk_081070AC:: @ 081070AC - .incbin "baserom.gba", 0x1070AC, 0x0000018 - -gUnk_081070C4:: @ 081070C4 - .incbin "baserom.gba", 0x1070C4, 0x0000018 - -gUnk_081070DC:: @ 081070DC - .incbin "baserom.gba", 0x1070DC, 0x0000018 - -gUnk_081070F4:: @ 081070F4 - .incbin "baserom.gba", 0x1070F4, 0x0000018 - -gUnk_0810710C:: @ 0810710C - .incbin "baserom.gba", 0x10710C, 0x0000018 - -gUnk_08107124:: @ 08107124 - .incbin "baserom.gba", 0x107124, 0x0000018 - -gUnk_0810713C:: @ 0810713C - .incbin "baserom.gba", 0x10713C, 0x0000018 - -gUnk_08107154:: @ 08107154 - .incbin "baserom.gba", 0x107154, 0x0000018 - -gUnk_0810716C:: @ 0810716C - .incbin "baserom.gba", 0x10716C, 0x0000018 - -gUnk_08107184:: @ 08107184 - .incbin "baserom.gba", 0x107184, 0x0000024 - -gUnk_081071A8:: @ 081071A8 - .incbin "baserom.gba", 0x1071A8, 0x0000018 - -gUnk_081071C0:: @ 081071C0 - .incbin "baserom.gba", 0x1071C0, 0x0000004 - -gUnk_081071C4:: @ 081071C4 - .incbin "baserom.gba", 0x1071C4, 0x0000018 - -gUnk_081071DC:: @ 081071DC - .incbin "baserom.gba", 0x1071DC, 0x0000018 - -gUnk_081071F4:: @ 081071F4 - .incbin "baserom.gba", 0x1071F4, 0x0000018 - -gUnk_0810720C:: @ 0810720C - .incbin "baserom.gba", 0x10720C, 0x000000C - -gUnk_08107218:: @ 08107218 - .incbin "baserom.gba", 0x107218, 0x0000018 - -gUnk_08107230:: @ 08107230 - .incbin "baserom.gba", 0x107230, 0x0000018 - -gUnk_08107248:: @ 08107248 - .incbin "baserom.gba", 0x107248, 0x0000008 - -gUnk_08107250:: @ 08107250 - .incbin "baserom.gba", 0x107250, 0x0000018 - -gUnk_08107268:: @ 08107268 - .incbin "baserom.gba", 0x107268, 0x0000004 - -gUnk_0810726C:: @ 0810726C - .incbin "baserom.gba", 0x10726C, 0x0000018 - -gUnk_08107284:: @ 08107284 - .incbin "baserom.gba", 0x107284, 0x0000018 - -gUnk_0810729C:: @ 0810729C - .incbin "baserom.gba", 0x10729C, 0x0000018 - -gUnk_081072B4:: @ 081072B4 - .incbin "baserom.gba", 0x1072B4, 0x000000C - -gUnk_081072C0:: @ 081072C0 - .incbin "baserom.gba", 0x1072C0, 0x0000018 - -gUnk_081072D8:: @ 081072D8 - .incbin "baserom.gba", 0x1072D8, 0x0000018 - -gUnk_081072F0:: @ 081072F0 - .incbin "baserom.gba", 0x1072F0, 0x0000018 - -gUnk_08107308:: @ 08107308 - .incbin "baserom.gba", 0x107308, 0x0000002 - -gUnk_0810730A:: @ 0810730A - .incbin "baserom.gba", 0x10730A, 0x0000016 - -gUnk_08107320:: @ 08107320 - .incbin "baserom.gba", 0x107320, 0x0000018 - -gUnk_08107338:: @ 08107338 - .incbin "baserom.gba", 0x107338, 0x0000014 - -gUnk_0810734C:: @ 0810734C - .incbin "baserom.gba", 0x10734C, 0x0000018 - -gUnk_08107364:: @ 08107364 - .incbin "baserom.gba", 0x107364, 0x0000018 - -gUnk_0810737C:: @ 0810737C - .incbin "baserom.gba", 0x10737C, 0x0000008 - -gUnk_08107384:: @ 08107384 - .incbin "baserom.gba", 0x107384, 0x0000018 - -gUnk_0810739C:: @ 0810739C - .incbin "baserom.gba", 0x10739C, 0x0000018 - -gUnk_081073B4:: @ 081073B4 - .incbin "baserom.gba", 0x1073B4, 0x0000018 - -gUnk_081073CC:: @ 081073CC - .incbin "baserom.gba", 0x1073CC, 0x0000018 - -gUnk_081073E4:: @ 081073E4 - .incbin "baserom.gba", 0x1073E4, 0x0000018 - -gUnk_081073FC:: @ 081073FC - .incbin "baserom.gba", 0x1073FC, 0x0000018 - -gUnk_08107414:: @ 08107414 - .incbin "baserom.gba", 0x107414, 0x0000018 - -gUnk_0810742C:: @ 0810742C - .incbin "baserom.gba", 0x10742C, 0x0000018 - -gUnk_08107444:: @ 08107444 - .incbin "baserom.gba", 0x107444, 0x0000018 - -gUnk_0810745C:: @ 0810745C - .incbin "baserom.gba", 0x10745C, 0x0000018 - -gUnk_08107474:: @ 08107474 - .incbin "baserom.gba", 0x107474, 0x0000018 - -gUnk_0810748C:: @ 0810748C - .incbin "baserom.gba", 0x10748C, 0x0000018 - -gUnk_081074A4:: @ 081074A4 - .incbin "baserom.gba", 0x1074A4, 0x0000018 - -gUnk_081074BC:: @ 081074BC - .incbin "baserom.gba", 0x1074BC, 0x0000018 - -gUnk_081074D4:: @ 081074D4 - .incbin "baserom.gba", 0x1074D4, 0x0000018 - -gUnk_081074EC:: @ 081074EC - .incbin "baserom.gba", 0x1074EC, 0x0000018 - -gUnk_08107504:: @ 08107504 - .incbin "baserom.gba", 0x107504, 0x0000018 - -gUnk_0810751C:: @ 0810751C - .incbin "baserom.gba", 0x10751C, 0x0000018 - -gUnk_08107534:: @ 08107534 - .incbin "baserom.gba", 0x107534, 0x0000018 - -gUnk_0810754C:: @ 0810754C - .incbin "baserom.gba", 0x10754C, 0x0000018 - -gUnk_08107564:: @ 08107564 - .incbin "baserom.gba", 0x107564, 0x0000018 - -gUnk_0810757C:: @ 0810757C - .incbin "baserom.gba", 0x10757C, 0x0000018 - -gUnk_08107594:: @ 08107594 - .incbin "baserom.gba", 0x107594, 0x0000018 - -gUnk_081075AC:: @ 081075AC - .incbin "baserom.gba", 0x1075AC, 0x0000018 - -gUnk_081075C4:: @ 081075C4 - .incbin "baserom.gba", 0x1075C4, 0x0000060 - -gUnk_08107624:: @ 08107624 - .incbin "baserom.gba", 0x107624, 0x0000018 - -gUnk_0810763C:: @ 0810763C - .incbin "baserom.gba", 0x10763C, 0x0000018 - -gUnk_08107654:: @ 08107654 - .incbin "baserom.gba", 0x107654, 0x0000018 - -gUnk_0810766C:: @ 0810766C - .incbin "baserom.gba", 0x10766C, 0x0000018 - -gUnk_08107684:: @ 08107684 - .incbin "baserom.gba", 0x107684, 0x0000018 - -gUnk_0810769C:: @ 0810769C - .incbin "baserom.gba", 0x10769C, 0x0000018 - -gUnk_081076B4:: @ 081076B4 - .incbin "baserom.gba", 0x1076B4, 0x0000018 - -gUnk_081076CC:: @ 081076CC - .incbin "baserom.gba", 0x1076CC, 0x0000018 - -gUnk_081076E4:: @ 081076E4 - .incbin "baserom.gba", 0x1076E4, 0x0000018 - -gUnk_081076FC:: @ 081076FC - .incbin "baserom.gba", 0x1076FC, 0x0000016 - -gUnk_08107712:: @ 08107712 - .incbin "baserom.gba", 0x107712, 0x0000002 - -gUnk_08107714:: @ 08107714 - .incbin "baserom.gba", 0x107714, 0x0000028 - -gUnk_0810773C:: @ 0810773C - .incbin "baserom.gba", 0x10773C, 0x0000018 - -gUnk_08107754:: @ 08107754 - .incbin "baserom.gba", 0x107754, 0x0000018 - -gUnk_0810776C:: @ 0810776C - .incbin "baserom.gba", 0x10776C, 0x0000008 - -gUnk_08107774:: @ 08107774 - .incbin "baserom.gba", 0x107774, 0x0000018 - -gUnk_0810778C:: @ 0810778C - .incbin "baserom.gba", 0x10778C, 0x0000004 - -gUnk_08107790:: @ 08107790 - .incbin "baserom.gba", 0x107790, 0x0000018 - -gUnk_081077A8:: @ 081077A8 - .incbin "baserom.gba", 0x1077A8, 0x0000018 - -gUnk_081077C0:: @ 081077C0 - .incbin "baserom.gba", 0x1077C0, 0x0000018 - -gUnk_081077D8:: @ 081077D8 - .incbin "baserom.gba", 0x1077D8, 0x0000018 - -gUnk_081077F0:: @ 081077F0 - .incbin "baserom.gba", 0x1077F0, 0x0000018 - -gUnk_08107808:: @ 08107808 - .incbin "baserom.gba", 0x107808, 0x0000018 - -gUnk_08107820:: @ 08107820 - .incbin "baserom.gba", 0x107820, 0x0000018 - -gUnk_08107838:: @ 08107838 - .incbin "baserom.gba", 0x107838, 0x0000018 - -gUnk_08107850:: @ 08107850 - .incbin "baserom.gba", 0x107850, 0x000001E - -gUnk_0810786E:: @ 0810786E - .incbin "baserom.gba", 0x10786E, 0x0000002 - -gUnk_08107870:: @ 08107870 - .incbin "baserom.gba", 0x107870, 0x000001C - -gUnk_0810788C:: @ 0810788C - .incbin "baserom.gba", 0x10788C, 0x0000018 - -gUnk_081078A4:: @ 081078A4 - .incbin "baserom.gba", 0x1078A4, 0x0000004 - -gUnk_081078A8:: @ 081078A8 - .incbin "baserom.gba", 0x1078A8, 0x0000018 - -gUnk_081078C0:: @ 081078C0 - .incbin "baserom.gba", 0x1078C0, 0x0000004 - -gUnk_081078C4:: @ 081078C4 - .incbin "baserom.gba", 0x1078C4, 0x0000018 - -gUnk_081078DC:: @ 081078DC - .incbin "baserom.gba", 0x1078DC, 0x0000004 - -gUnk_081078E0:: @ 081078E0 - .incbin "baserom.gba", 0x1078E0, 0x0000018 - -gUnk_081078F8:: @ 081078F8 - .incbin "baserom.gba", 0x1078F8, 0x0000004 - -gUnk_081078FC:: @ 081078FC - .incbin "baserom.gba", 0x1078FC, 0x0000018 - -gUnk_08107914:: @ 08107914 - .incbin "baserom.gba", 0x107914, 0x0000004 - -gUnk_08107918:: @ 08107918 - .incbin "baserom.gba", 0x107918, 0x0000018 - -gUnk_08107930:: @ 08107930 - .incbin "baserom.gba", 0x107930, 0x0000004 - -gUnk_08107934:: @ 08107934 - .incbin "baserom.gba", 0x107934, 0x0000018 - -gUnk_0810794C:: @ 0810794C - .incbin "baserom.gba", 0x10794C, 0x0000004 - -gUnk_08107950:: @ 08107950 - .incbin "baserom.gba", 0x107950, 0x0000018 - -gUnk_08107968:: @ 08107968 - .incbin "baserom.gba", 0x107968, 0x0000004 - -gUnk_0810796C:: @ 0810796C - .incbin "baserom.gba", 0x10796C, 0x000000D - -gUnk_08107979:: @ 08107979 - .incbin "baserom.gba", 0x107979, 0x000000B - -gUnk_08107984:: @ 08107984 - .incbin "baserom.gba", 0x107984, 0x0000004 - -gUnk_08107988:: @ 08107988 - .incbin "baserom.gba", 0x107988, 0x0000015 - -gUnk_0810799D:: @ 0810799D - .incbin "baserom.gba", 0x10799D, 0x00001A4 - -gUnk_08107B41:: @ 08107B41 - .incbin "baserom.gba", 0x107B41, 0x000003A - -gUnk_08107B7B:: @ 08107B7B - .incbin "baserom.gba", 0x107B7B, 0x000004D - -gUnk_08107BC8:: @ 08107BC8 - .incbin "baserom.gba", 0x107BC8, 0x0000018 - -gUnk_08107BE0:: @ 08107BE0 - .incbin "baserom.gba", 0x107BE0, 0x0000014 - -gUnk_08107BF4:: @ 08107BF4 - .incbin "baserom.gba", 0x107BF4, 0x0000018 - -gUnk_08107C0C:: @ 08107C0C - .incbin "baserom.gba", 0x107C0C, 0x0000003 - -gUnk_08107C0F:: @ 08107C0F - .incbin "baserom.gba", 0x107C0F, 0x0000005 - -gUnk_08107C14:: @ 08107C14 - .incbin "baserom.gba", 0x107C14, 0x0000004 - -gUnk_08107C18:: @ 08107C18 - .incbin "baserom.gba", 0x107C18, 0x0000004 - -gUnk_08107C1C:: @ 08107C1C - .incbin "baserom.gba", 0x107C1C, 0x000000E - -gUnk_08107C2A:: @ 08107C2A - .incbin "baserom.gba", 0x107C2A, 0x0000006 - -gUnk_08107C30:: @ 08107C30 - .incbin "baserom.gba", 0x107C30, 0x0000010 - -gUnk_08107C40:: @ 08107C40 - .incbin "baserom.gba", 0x107C40, 0x0000008 - -gUnk_08107C48:: @ 08107C48 - .incbin "baserom.gba", 0x107C48, 0x0000014 - -gUnk_08107C5C:: @ 08107C5C - .incbin "baserom.gba", 0x107C5C, 0x0000010 - -gUnk_08107C6C:: @ 08107C6C - .incbin "baserom.gba", 0x107C6C, 0x0000004 - -gUnk_08107C70:: @ 08107C70 - .incbin "baserom.gba", 0x107C70, 0x0000008 - -gUnk_08107C78:: @ 08107C78 - .incbin "baserom.gba", 0x107C78, 0x0000008 - -gUnk_08107C80:: @ 08107C80 - .incbin "baserom.gba", 0x107C80, 0x0000018 - -gUnk_08107C98:: @ 08107C98 - .incbin "baserom.gba", 0x107C98, 0x0000028 - -gUnk_08107CC0:: @ 08107CC0 - .incbin "baserom.gba", 0x107CC0, 0x0000010 - -gUnk_08107CD0:: @ 08107CD0 - .incbin "baserom.gba", 0x107CD0, 0x0000010 - -gUnk_08107CE0:: @ 08107CE0 - .incbin "baserom.gba", 0x107CE0, 0x0000018 - -gUnk_08107CF8:: @ 08107CF8 - .incbin "baserom.gba", 0x107CF8, 0x000000A - -gUnk_08107D02:: @ 08107D02 - .incbin "baserom.gba", 0x107D02, 0x0000006 - -gUnk_08107D08:: @ 08107D08 - .incbin "baserom.gba", 0x107D08, 0x0000018 - -gUnk_08107D20:: @ 08107D20 - .incbin "baserom.gba", 0x107D20, 0x0000018 - -gUnk_08107D38:: @ 08107D38 - .incbin "baserom.gba", 0x107D38, 0x0000010 - -gUnk_08107D48:: @ 08107D48 - .incbin "baserom.gba", 0x107D48, 0x0000020 - -gUnk_08107D68:: @ 08107D68 - .incbin "baserom.gba", 0x107D68, 0x0000010 - -gUnk_08107D78:: @ 08107D78 - .incbin "baserom.gba", 0x107D78, 0x0000018 - -gUnk_08107D90:: @ 08107D90 - .incbin "baserom.gba", 0x107D90, 0x0000010 - -gUnk_08107DA0:: @ 08107DA0 - .incbin "baserom.gba", 0x107DA0, 0x0000020 - -gUnk_08107DC0:: @ 08107DC0 - .incbin "baserom.gba", 0x107DC0, 0x0000264 - -gUnk_08108024:: @ 08108024 - .incbin "baserom.gba", 0x108024, 0x0000010 - -gUnk_08108034:: @ 08108034 - .incbin "baserom.gba", 0x108034, 0x0000010 - -gUnk_08108044:: @ 08108044 - .incbin "baserom.gba", 0x108044, 0x000000C - -gUnk_08108050:: @ 08108050 - .incbin "baserom.gba", 0x108050, 0x000001E - -gUnk_0810806E:: @ 0810806E - .incbin "baserom.gba", 0x10806E, 0x0000036 - -gUnk_081080A4:: @ 081080A4 - .incbin "baserom.gba", 0x1080A4, 0x0000020 - -gUnk_081080C4:: @ 081080C4 - .incbin "baserom.gba", 0x1080C4, 0x0000043 - -gUnk_08108107:: @ 08108107 - .incbin "baserom.gba", 0x108107, 0x0000079 - -gUnk_08108180:: @ 08108180 - .incbin "baserom.gba", 0x108180, 0x0000064 - -gUnk_081081E4:: @ 081081E4 - .incbin "baserom.gba", 0x1081E4, 0x0000008 - -gUnk_081081EC:: @ 081081EC - .incbin "baserom.gba", 0x1081EC, 0x0000008 - -gUnk_081081F4:: @ 081081F4 - .incbin "baserom.gba", 0x1081F4, 0x0000014 diff --git a/data/data_08107BC8.s b/data/data_08107BC8.s new file mode 100755 index 00000000..8c290db5 --- /dev/null +++ b/data/data_08107BC8.s @@ -0,0 +1,137 @@ + .include "asm/macros.inc" + .include "constants/constants.inc" + + .section .rodata + .align 2 + +gUnk_08107BC8:: @ 08107BC8 + .incbin "baserom.gba", 0x107BC8, 0x0000018 + +gUnk_08107BE0:: @ 08107BE0 + .incbin "baserom.gba", 0x107BE0, 0x0000014 + +gUnk_08107BF4:: @ 08107BF4 + .incbin "baserom.gba", 0x107BF4, 0x0000018 + +gUnk_08107C0C:: @ 08107C0C + .incbin "baserom.gba", 0x107C0C, 0x0000003 + +gUnk_08107C0F:: @ 08107C0F + .incbin "baserom.gba", 0x107C0F, 0x0000005 + +gUnk_08107C14:: @ 08107C14 + .incbin "baserom.gba", 0x107C14, 0x0000004 + +gUnk_08107C18:: @ 08107C18 + .incbin "baserom.gba", 0x107C18, 0x0000004 + +gUnk_08107C1C:: @ 08107C1C + .incbin "baserom.gba", 0x107C1C, 0x000000E + +gUnk_08107C2A:: @ 08107C2A + .incbin "baserom.gba", 0x107C2A, 0x0000006 + +gUnk_08107C30:: @ 08107C30 + .incbin "baserom.gba", 0x107C30, 0x0000010 + +gUnk_08107C40:: @ 08107C40 + .incbin "baserom.gba", 0x107C40, 0x0000008 + +gUnk_08107C48:: @ 08107C48 + .incbin "baserom.gba", 0x107C48, 0x0000014 + +gUnk_08107C5C:: @ 08107C5C + .incbin "baserom.gba", 0x107C5C, 0x0000010 + +gUnk_08107C6C:: @ 08107C6C + .incbin "baserom.gba", 0x107C6C, 0x0000004 + +gUnk_08107C70:: @ 08107C70 + .incbin "baserom.gba", 0x107C70, 0x0000008 + +gUnk_08107C78:: @ 08107C78 + .incbin "baserom.gba", 0x107C78, 0x0000008 + +gUnk_08107C80:: @ 08107C80 + .incbin "baserom.gba", 0x107C80, 0x0000018 + +gUnk_08107C98:: @ 08107C98 + .incbin "baserom.gba", 0x107C98, 0x0000028 + +gUnk_08107CC0:: @ 08107CC0 + .incbin "baserom.gba", 0x107CC0, 0x0000010 + +gUnk_08107CD0:: @ 08107CD0 + .incbin "baserom.gba", 0x107CD0, 0x0000010 + +gUnk_08107CE0:: @ 08107CE0 + .incbin "baserom.gba", 0x107CE0, 0x0000018 + +gUnk_08107CF8:: @ 08107CF8 + .incbin "baserom.gba", 0x107CF8, 0x000000A + +gUnk_08107D02:: @ 08107D02 + .incbin "baserom.gba", 0x107D02, 0x0000006 + +gUnk_08107D08:: @ 08107D08 + .incbin "baserom.gba", 0x107D08, 0x0000018 + +gUnk_08107D20:: @ 08107D20 + .incbin "baserom.gba", 0x107D20, 0x0000018 + +gUnk_08107D38:: @ 08107D38 + .incbin "baserom.gba", 0x107D38, 0x0000010 + +gUnk_08107D48:: @ 08107D48 + .incbin "baserom.gba", 0x107D48, 0x0000020 + +gUnk_08107D68:: @ 08107D68 + .incbin "baserom.gba", 0x107D68, 0x0000010 + +gUnk_08107D78:: @ 08107D78 + .incbin "baserom.gba", 0x107D78, 0x0000018 + +gUnk_08107D90:: @ 08107D90 + .incbin "baserom.gba", 0x107D90, 0x0000010 + +gUnk_08107DA0:: @ 08107DA0 + .incbin "baserom.gba", 0x107DA0, 0x0000020 + +gUnk_08107DC0:: @ 08107DC0 + .incbin "baserom.gba", 0x107DC0, 0x0000264 + +gUnk_08108024:: @ 08108024 + .incbin "baserom.gba", 0x108024, 0x0000010 + +gUnk_08108034:: @ 08108034 + .incbin "baserom.gba", 0x108034, 0x0000010 + +gUnk_08108044:: @ 08108044 + .incbin "baserom.gba", 0x108044, 0x000000C + +gUnk_08108050:: @ 08108050 + .incbin "baserom.gba", 0x108050, 0x000001E + +gUnk_0810806E:: @ 0810806E + .incbin "baserom.gba", 0x10806E, 0x0000036 + +gUnk_081080A4:: @ 081080A4 + .incbin "baserom.gba", 0x1080A4, 0x0000020 + +gUnk_081080C4:: @ 081080C4 + .incbin "baserom.gba", 0x1080C4, 0x0000043 + +gUnk_08108107:: @ 08108107 + .incbin "baserom.gba", 0x108107, 0x0000079 + +gUnk_08108180:: @ 08108180 + .incbin "baserom.gba", 0x108180, 0x0000064 + +gUnk_081081E4:: @ 081081E4 + .incbin "baserom.gba", 0x1081E4, 0x0000008 + +gUnk_081081EC:: @ 081081EC + .incbin "baserom.gba", 0x1081EC, 0x0000008 + +gUnk_081081F4:: @ 081081F4 + .incbin "baserom.gba", 0x1081F4, 0x0000014 diff --git a/data/map_headers.s b/data/map_headers.s new file mode 100755 index 00000000..5063f67c --- /dev/null +++ b/data/map_headers.s @@ -0,0 +1,3601 @@ + .include "asm/macros.inc" + .include "constants/constants.inc" + + .section .rodata + .align 2 + +gAreaRoomMap_MinishWoods_0:: @ 081032DC + map_bottom 0xA700, 0x1F02, 1 + map_top 0xB7AC, 0x1F02, 1, 1 + +gAreaRoomMaps_MinishWoods:: @ 081032F4 + .4byte gAreaRoomMap_MinishWoods_0 + +gAreaRoomMap_LakeHylia_0:: @ 081032F8 + map_bottom 0x1575C, 0x1680, 1 + map_top 0x163D0, 0x1680, 1, 1 + +gAreaRoomMap_LakeHylia_1:: @ 08103310 + map_bottom 0x16B04, 0x5E8, 1 + map_top 0x16C74, 0x5E8, 1, 1 + +gAreaRoomMaps_LakeHylia:: @ 08103328 + .4byte gAreaRoomMap_LakeHylia_0 + .4byte gAreaRoomMap_LakeHylia_1 + +gAreaRoomMap_CastorWilds_0:: @ 08103330 + map_bottom 0x20914, 0x1D88, 1 + map_top 0x21990, 0x1D88, 1, 1 + +gAreaRoomMaps_CastorWilds:: @ 08103348 + .4byte gAreaRoomMap_CastorWilds_0 + +gAreaRoomMap_Ruins_0:: @ 0810334C + map_bottom 0x22150, 0x3DE, 1 + map_top 0x22430, 0x3DE, 1, 1 + +gAreaRoomMap_Ruins_1:: @ 08103364 + map_bottom 0x22500, 0x186, 1 + map_top 0x2261C, 0x186, 1, 1 + +gAreaRoomMap_Ruins_2:: @ 0810337C + map_bottom 0x22688, 0x12C, 1 + map_top 0x22780, 0x12C, 1, 1 + +gAreaRoomMap_Ruins_3:: @ 08103394 + map_bottom 0x227E4, 0x12C, 1 + map_top 0x228E4, 0x12C, 1, 1 + +gAreaRoomMap_Ruins_4:: @ 081033AC + map_bottom 0x22940, 0x420, 1 + map_top 0x22C44, 0x420, 1, 1 + +gAreaRoomMap_Ruins_5:: @ 081033C4 + map_bottom 0x22D30, 0x462, 1 + map_top 0x22FBC, 0x462, 1, 1 + +gAreaRoomMaps_Ruins:: @ 081033DC + .4byte gAreaRoomMap_Ruins_0 + .4byte gAreaRoomMap_Ruins_1 + .4byte gAreaRoomMap_Ruins_2 + .4byte gAreaRoomMap_Ruins_3 + .4byte gAreaRoomMap_Ruins_4 + .4byte gAreaRoomMap_Ruins_5 + +gAreaRoomMap_HyruleTown_0:: @ 081033F4 + map_bottom 0x3A454, 0x1D88, 1 + map_top 0x3B5F4, 0x1D88, 1, 1 + +gAreaRoomMaps_HyruleTown:: @ 0810340C + .4byte gAreaRoomMap_HyruleTown_0 + +gAreaRoomMap_FestivalTown_0:: @ 08103410 + map_bottom 0x3C290, 0xBB8, 1 + map_top 0x3CAD0, 0xBB8, 1, 1 + +gAreaRoomMaps_FestivalTown:: @ 08103428 + .4byte gAreaRoomMap_FestivalTown_0 + +gAreaRoomMap_MtCrenel_0:: @ 0810342C + map_bottom 0x47410, 0x6E4, 1 + map_top 0x47760, 0x6E4, 1, 1 + +gAreaRoomMap_MtCrenel_1:: @ 08103444 + map_bottom 0x47838, 0x720, 1 + map_top 0x47B70, 0x720, 1, 1 + +gAreaRoomMap_MtCrenel_2:: @ 0810345C + map_bottom 0x47D64, 0xB94, 1 + map_top 0x483C8, 0xB94, 1, 1 + +gAreaRoomMap_MtCrenel_3:: @ 08103474 + map_bottom 0x48588, 0xB52, 1 + map_top 0x48BFC, 0xB52, 1, 1 + +gAreaRoomMap_MtCrenel_4:: @ 0810348C + map_bottom 0x48D94, 0xEC4, 1 + map_top 0x496D8, 0xEC4, 1, 1 + +gAreaRoomMaps_MtCrenel:: @ 081034A4 + .4byte gAreaRoomMap_MtCrenel_0 + .4byte gAreaRoomMap_MtCrenel_1 + .4byte gAreaRoomMap_MtCrenel_2 + .4byte gAreaRoomMap_MtCrenel_3 + .4byte gAreaRoomMap_MtCrenel_4 + +gAreaRoomMap_HyruleField_0:: @ 081034B8 + map_bottom 0x610CC, 0x30C, 1 + map_top 0x612B8, 0x30C, 1, 1 + +gAreaRoomMap_HyruleField_1:: @ 081034D0 + map_data 0x49964, 0x6000000, 0x4000, 1 + map_data 0x4EA0C, 0x6008000, 0x4000, 1 + map_data 0x10, 0x0, 0x0, 0 + map_bottom 0x61384, 0x152A, 1 + map_top 0x61FC4, 0x152A, 1, 1 + +gAreaRoomMap_HyruleField_2:: @ 0810350C + map_bottom 0x62384, 0x30C, 1 + map_top 0x625B8, 0x30C, 1, 1 + +gAreaRoomMap_HyruleField_3:: @ 08103524 + map_data 0x49964, 0x6000000, 0x4000, 1 + map_data 0x4EA0C, 0x6008000, 0x4000, 1 + map_data 0x10, 0x0, 0x0, 0 + map_bottom 0x62688, 0x3C0, 1 + map_top 0x628D0, 0x3C0, 1, 1 + +gAreaRoomMap_HyruleField_4:: @ 08103560 + map_data 0x569D0, 0x6000000, 0x4000, 1 + map_data 0x5B950, 0x6008000, 0x4000, 1 + map_data 0x43, 0x0, 0x0, 0 + map_bottom 0x629A8, 0x7F8, 1 + map_top 0x62E74, 0x7F8, 1, 1 + +gAreaRoomMap_HyruleField_5:: @ 0810359C + map_data 0x569D0, 0x6000000, 0x4000, 1 + map_data 0x5B950, 0x6008000, 0x4000, 1 + map_data 0x43, 0x0, 0x0, 0 + map_bottom 0x63144, 0x1518, 1 + map_top 0x63E04, 0x1518, 1, 1 + +gAreaRoomMap_HyruleField_6:: @ 081035D8 + map_data 0x50844, 0x6000000, 0x4000, 1 + map_data 0x55348, 0x6008000, 0x4000, 1 + map_data 0x2E, 0x0, 0x0, 0 + map_bottom 0x64440, 0x189C, 1 + map_top 0x6513C, 0x189C, 1, 1 + +gAreaRoomMap_HyruleField_7:: @ 08103614 + map_data 0x49964, 0x6000000, 0x4000, 1 + map_data 0x4EA0C, 0x6008000, 0x4000, 1 + map_data 0x10, 0x0, 0x0, 0 + map_bottom 0x65560, 0xE10, 1 + map_top 0x65DBC, 0xE10, 1, 1 + +gAreaRoomMap_HyruleField_8:: @ 08103650 + map_bottom 0x6620C, 0x960, 1 + map_top 0x6678C, 0x960, 1, 1 + +gAreaRoomMap_HyruleField_9:: @ 08103668 + map_bottom 0x6699C, 0x258, 1 + map_top 0x66B60, 0x258, 1, 1 + +gAreaRoomMaps_HyruleField:: @ 08103680 + .4byte gAreaRoomMap_HyruleField_0 + .4byte gAreaRoomMap_HyruleField_1 + .4byte gAreaRoomMap_HyruleField_2 + .4byte gAreaRoomMap_HyruleField_3 + .4byte gAreaRoomMap_HyruleField_4 + .4byte gAreaRoomMap_HyruleField_5 + .4byte gAreaRoomMap_HyruleField_6 + .4byte gAreaRoomMap_HyruleField_7 + .4byte gAreaRoomMap_HyruleField_8 + .4byte gAreaRoomMap_HyruleField_9 + +gAreaRoomMap_CastleGarden_0:: @ 081036A8 + map_bottom 0x6DD10, 0x103E, 1 + map_top 0x6E684, 0x103E, 1, 1 + +gAreaRoomMaps_CastleGarden:: @ 081036C0 + .4byte gAreaRoomMap_CastleGarden_0 + +gAreaRoomMap_CloudTops_0:: @ 081036C4 + map_bottom 0x74AD0, 0x1F02, 1 + map_top 0x751F0, 0x1F02, 1, 1 + +gAreaRoomMap_CloudTops_1:: @ 081036DC + map_bottom 0x755F0, 0x1F02, 1 + map_top 0x7602C, 0x1F02, 1, 1 + +gAreaRoomMap_CloudTops_2:: @ 081036F4 + map_bottom 0x76498, 0x1F02, 1 + map_top 0x76DBC, 0x1F02, 1, 1 + +gAreaRoomMaps_CloudTops:: @ 0810370C + .4byte gAreaRoomMap_CloudTops_0 + .4byte gAreaRoomMap_CloudTops_1 + .4byte gAreaRoomMap_CloudTops_2 + +gAreaRoomMap_RoyalValley_0:: @ 08103718 + map_bottom 0x7EC78, 0xEC4, 1 + map_top 0x7F3EC, 0xEC4, 1, 1 + +gAreaRoomMap_RoyalValley_1:: @ 08103730 + map_bottom 0x7F8F8, 0x12C, 1 + map_top 0x7F9E8, 0x12C, 1, 1 + +gAreaRoomMaps_RoyalValley:: @ 08103748 + .4byte gAreaRoomMap_RoyalValley_0 + .4byte gAreaRoomMap_RoyalValley_1 + +gAreaRoomMap_VeilFalls_0:: @ 08103750 + map_bottom 0x85C24, 0xEC4, 1 + map_top 0x86560, 0xEC4, 1, 1 + +gAreaRoomMaps_VeilFalls:: @ 08103768 + .4byte gAreaRoomMap_VeilFalls_0 + +gAreaRoomMap_VeilFallsTop_0:: @ 0810376C + map_bottom 0x87FB4, 0x2D0, 1 + map_top 0x8812C, 0x2D0, 1, 1 + +gAreaRoomMaps_VeilFallsTop:: @ 08103784 + .4byte gAreaRoomMap_VeilFallsTop_0 + +gAreaRoomMap_Beanstalks_0:: @ 08103788 + map_bottom 0x8C11C, 0x12C, 0, 1 + +gAreaRoomMap_Beanstalks_1:: @ 08103794 + map_bottom 0x8C248, 0x12C, 0, 1 + +gAreaRoomMap_Beanstalks_2:: @ 081037A0 + map_bottom 0x8C374, 0x12C, 0, 1 + +gAreaRoomMap_Beanstalks_3:: @ 081037AC + map_bottom 0x8C4A0, 0x12C, 0, 1 + +gAreaRoomMap_Beanstalks_4:: @ 081037B8 + map_bottom 0x8C5CC, 0x12C, 0, 1 + +gAreaRoomMap_Beanstalks_5:: @ 081037C4 + map_bottom 0x0, 0x2000, 1 + map_top_special 0x8BB5C, 0x800, 1, 1 + +gAreaRoomMaps_Beanstalks:: @ 081037DC + .4byte gAreaRoomMap_Beanstalks_0 + .4byte gAreaRoomMap_Beanstalks_1 + .4byte gAreaRoomMap_Beanstalks_2 + .4byte gAreaRoomMap_Beanstalks_3 + .4byte gAreaRoomMap_Beanstalks_4 + .4byte gAreaRoomMap_Beanstalks_0 + .4byte gAreaRoomMap_Beanstalks_0 + .4byte gAreaRoomMap_Beanstalks_0 + .4byte gAreaRoomMap_Beanstalks_0 + .4byte gAreaRoomMap_Beanstalks_0 + .4byte gAreaRoomMap_Beanstalks_0 + .4byte gAreaRoomMap_Beanstalks_0 + .4byte gAreaRoomMap_Beanstalks_0 + .4byte gAreaRoomMap_Beanstalks_0 + .4byte gAreaRoomMap_Beanstalks_0 + .4byte gAreaRoomMap_Beanstalks_0 + .4byte gAreaRoomMap_Beanstalks_5 + .4byte gAreaRoomMap_Beanstalks_5 + .4byte gAreaRoomMap_Beanstalks_5 + .4byte gAreaRoomMap_Beanstalks_5 + .4byte gAreaRoomMap_Beanstalks_5 + .4byte gAreaRoomMap_Beanstalks_5 + .4byte gAreaRoomMap_Beanstalks_5 + .4byte gAreaRoomMap_Beanstalks_5 + .4byte gAreaRoomMap_Beanstalks_5 + .4byte gAreaRoomMap_Beanstalks_5 + .4byte gAreaRoomMap_Beanstalks_5 + .4byte gAreaRoomMap_Beanstalks_5 + .4byte gAreaRoomMap_Beanstalks_5 + .4byte gAreaRoomMap_Beanstalks_5 + .4byte gAreaRoomMap_Beanstalks_5 + .4byte gAreaRoomMap_Beanstalks_5 + +gAreaRoomMap_CrenelCaves_0:: @ 0810385C + map_bottom 0x98278, 0xA8C, 1 + map_top 0x98694, 0xA8C, 1, 1 + +gAreaRoomMap_CrenelCaves_1:: @ 08103874 + map_bottom 0x9887C, 0x14A, 1 + map_top 0x9897C, 0x14A, 1, 1 + +gAreaRoomMap_CrenelCaves_2:: @ 0810388C + map_bottom 0x989D0, 0x3A2, 1 + map_top 0x98C14, 0x3A2, 1, 1 + +gAreaRoomMap_CrenelCaves_3:: @ 081038A4 + map_bottom 0x98CB8, 0x168, 1 + map_top 0x98DCC, 0x168, 1, 1 + +gAreaRoomMap_CrenelCaves_4:: @ 081038BC + map_bottom 0x98E18, 0x12C, 1 + map_top 0x98F10, 0x12C, 1, 1 + +gAreaRoomMap_CrenelCaves_5:: @ 081038D4 + map_bottom 0x98F64, 0x12C, 1 + map_top 0x99080, 0x12C, 1, 1 + +gAreaRoomMap_CrenelCaves_6:: @ 081038EC + map_bottom 0x990D4, 0x168, 1 + map_top 0x99200, 0x168, 1, 1 + +gAreaRoomMap_CrenelCaves_7:: @ 08103904 + map_bottom 0x99250, 0x14A, 1 + map_top 0x99350, 0x14A, 1, 1 + +gAreaRoomMap_CrenelCaves_8:: @ 0810391C + map_bottom 0x993A8, 0x258, 1 + map_top 0x99558, 0x258, 1, 1 + +gAreaRoomMap_CrenelCaves_9:: @ 08103934 + map_bottom 0x995F4, 0x12C, 0 + map_top 0x99720, 0x12C, 1, 1 + +gAreaRoomMap_CrenelCaves_10:: @ 0810394C + map_bottom 0x99760, 0x2BC, 1 + map_top 0x99944, 0x2BC, 1, 1 + +gAreaRoomMap_CrenelCaves_11:: @ 08103964 + map_bottom 0x999F4, 0x294, 1 + map_top 0x99BD0, 0x294, 1, 1 + +gAreaRoomMap_CrenelCaves_12:: @ 0810397C + map_bottom 0x99C60, 0x12C, 1 + map_top 0x99D7C, 0x12C, 1, 1 + +gAreaRoomMap_CrenelCaves_13:: @ 08103994 + map_bottom 0x99DB0, 0x12C, 1 + map_top 0x99EB4, 0x12C, 1, 1 + +gAreaRoomMap_CrenelCaves_14:: @ 081039AC + map_bottom 0x99F0C, 0x12C, 1 + map_top 0x9A010, 0x12C, 1, 1 + +gAreaRoomMap_CrenelCaves_15:: @ 081039C4 + map_bottom 0x9A050, 0x12C, 1 + map_top 0x9A148, 0x12C, 1, 1 + +gAreaRoomMap_CrenelCaves_16:: @ 081039DC + map_bottom 0x9A18C, 0x1FE, 1 + map_top 0x9A308, 0x1FE, 1, 1 + +gAreaRoomMaps_CrenelCaves:: @ 081039F4 + .4byte gAreaRoomMap_CrenelCaves_0 + .4byte gAreaRoomMap_CrenelCaves_1 + .4byte gAreaRoomMap_CrenelCaves_2 + .4byte gAreaRoomMap_CrenelCaves_3 + .4byte gAreaRoomMap_CrenelCaves_4 + .4byte gAreaRoomMap_CrenelCaves_5 + .4byte gAreaRoomMap_CrenelCaves_6 + .4byte gAreaRoomMap_CrenelCaves_7 + .4byte gAreaRoomMap_CrenelCaves_8 + .4byte gAreaRoomMap_CrenelCaves_9 + .4byte gAreaRoomMap_CrenelCaves_10 + .4byte gAreaRoomMap_CrenelCaves_11 + .4byte gAreaRoomMap_CrenelCaves_12 + .4byte gAreaRoomMap_CrenelCaves_13 + .4byte gAreaRoomMap_CrenelCaves_14 + .4byte gAreaRoomMap_CrenelCaves_15 + .4byte gAreaRoomMap_CrenelCaves_16 + +gAreaRoomMap_GreatFairies_0:: @ 08103A38 + map_bottom 0x9F744, 0x21C, 1 + map_top 0x9F924, 0x21C, 1, 1 + +gAreaRoomMap_GreatFairies_1:: @ 08103A50 + map_bottom 0x9F9C4, 0x21C, 1 + map_top 0x9FB98, 0x21C, 1, 1 + +gAreaRoomMap_GreatFairies_2:: @ 08103A68 + map_bottom 0x9FC38, 0x21C, 1 + map_top 0x9FE14, 0x21C, 1, 1 + +gAreaRoomMaps_GreatFairies:: @ 08103A80 + .4byte gAreaRoomMap_GreatFairies_0 + .4byte gAreaRoomMap_GreatFairies_1 + .4byte gAreaRoomMap_GreatFairies_2 + .4byte gAreaRoomMap_Unused + .4byte gAreaRoomMap_Unused + .4byte gAreaRoomMap_Unused + .4byte gAreaRoomMap_Unused + .4byte gAreaRoomMap_Unused + +gAreaRoomMap_LakeWoodsCave_0:: @ 08103AA0 + map_bottom 0xCD968, 0x1F02, 1 + map_top 0xCE2AC, 0x1F02, 1, 1 + +gAreaRoomMaps_LakeWoodsCave:: @ 08103AB8 + .4byte gAreaRoomMap_LakeWoodsCave_0 + +gAreaRoomMap_HyruleDigCaves_0:: @ 08103ABC + map_bottom 0xCFEE4, 0x1D88, 1 + map_top 0xD07C0, 0x1D88, 1, 1 + +gAreaRoomMaps_HyruleDigCaves:: @ 08103AD4 + .4byte gAreaRoomMap_HyruleDigCaves_0 + +gAreaRoomMap_DigCaves_0:: @ 08103AD8 + map_bottom 0xD1410, 0x7F8, 1 + map_top 0xD16C8, 0x7F8, 1, 1 + +gAreaRoomMap_DigCaves_1:: @ 08103AF0 + map_bottom 0xD187C, 0xE10, 1 + map_top 0xD1D2C, 0xE10, 1, 1 + +gAreaRoomMaps_DigCaves1:: @ 08103B08 + .4byte gAreaRoomMap_DigCaves_0 + .4byte 0x0 + .4byte 0x0 + .4byte gAreaRoomMap_DigCaves_1 + +gAreaRoomMap_CrenelDigCave_0:: @ 08103B18 + map_bottom 0xD0D00, 0x7C0, 1 + map_top 0xD1140, 0x7C0, 1, 1 + +gAreaRoomMaps_CrenelDigCave:: @ 08103B30 + .4byte gAreaRoomMap_CrenelDigCave_0 + +gAreaRoomMap_VeilFallsDigCave_0:: @ 08103B34 + map_bottom 0xD2000, 0xEC4, 1 + map_top 0xD24FC, 0xEC4, 1, 1 + +gAreaRoomMaps_VeilFallsDigCave:: @ 08103B4C + .4byte gAreaRoomMap_VeilFallsDigCave_0 + +gAreaRoomMap_CastorWildsDigCave_0:: @ 08103B50 + map_bottom 0xCF2D0, 0x1D88, 1 + map_top 0xCFACC, 0x1D88, 1, 1 + +gAreaRoomMaps_CastorWildsDigCave:: @ 08103B68 + .4byte gAreaRoomMap_CastorWildsDigCave_0 + +gAreaRoomMap_OuterFortressOfWinds_0:: @ 08103B6C + map_bottom 0xD27E0, 0x5FE, 1 + map_top 0xD2A10, 0x5FE, 1, 1 + +gAreaRoomMap_OuterFortressOfWinds_1:: @ 08103B84 + map_bottom 0xD2BAC, 0x938, 1 + map_top 0xD2F0C, 0x938, 1, 1 + +gAreaRoomMap_OuterFortressOfWinds_2:: @ 08103B9C + map_bottom 0xD31B4, 0x5FE, 1 + map_top 0xD3434, 0x5FE, 1, 1 + +gAreaRoomMap_OuterFortressOfWinds_3:: @ 08103BB4 + map_bottom 0xD3618, 0x1EE, 1 + map_top 0xD3708, 0x1EE, 1, 1 + +gAreaRoomMap_OuterFortressOfWinds_4:: @ 08103BCC + map_bottom 0xD3814, 0x186, 1 + map_top 0xD3900, 0x186, 1, 1 + +gAreaRoomMaps_OuterFortressOfWinds:: @ 08103BE4 + .4byte gAreaRoomMap_OuterFortressOfWinds_0 + .4byte gAreaRoomMap_OuterFortressOfWinds_1 + .4byte gAreaRoomMap_OuterFortressOfWinds_2 + .4byte gAreaRoomMap_OuterFortressOfWinds_3 + .4byte gAreaRoomMap_OuterFortressOfWinds_4 + +gAreaRoomMap_HyliaDigCaves_0:: @ 08103BF8 + map_bottom 0xCE79C, 0x220, 1 + map_top 0xCE8CC, 0x220, 1, 1 + +gAreaRoomMap_HyliaDigCaves_1:: @ 08103C10 + map_bottom 0xCE978, 0xD4A, 1 + map_top 0xCEEF8, 0xD4A, 1, 1 + +gAreaRoomMaps_HyliaDigCaves:: @ 08103C28 + .4byte gAreaRoomMap_HyliaDigCaves_0 + .4byte gAreaRoomMap_HyliaDigCaves_1 + +gAreaRoomMap_Empty_0:: @ 08103C30 + map_bottom 0x8C7D4, 0x1F02, 1 + map_top 0x8CD7C, 0x1F02, 1, 1 + +gAreaRoomMaps_Empty:: @ 08103C48 + .4byte gAreaRoomMap_Empty_0 + .4byte gAreaRoomMap_Empty_0 + +gAreaRoomMap_MinishVillage_0:: @ 08103C50 + map_bottom 0xE0F04, 0x1F02, 1 + map_top 0xE1ACC, 0x1F02, 1, 1 + +gAreaRoomMap_MinishVillage_1:: @ 08103C68 + map_bottom 0xE2584, 0x618, 1 + map_top 0xE2728, 0x618, 1, 1 + +gAreaRoomMaps_MinishVillage:: @ 08103C80 + .4byte gAreaRoomMap_MinishVillage_0 + .4byte gAreaRoomMap_MinishVillage_1 + +gAreaRoomMap_MelarisMine_0:: @ 08103C88 + map_bottom 0xEA6B4, 0xDB6, 1 + map_top 0xEAE44, 0xDB6, 1, 1 + +gAreaRoomMaps_MelarisMine:: @ 08103CA0 + .4byte gAreaRoomMap_MelarisMine_0 + +gAreaRoomMap_MinishPaths1_0:: @ 08103CA4 + map_bottom 0xEF458, 0x5DC, 1, 1 + +gAreaRoomMap_MinishPaths1_1:: @ 08103CB0 + map_bottom 0xEF618, 0x5DC, 1, 1 + +gAreaRoomMap_MinishPaths1_2:: @ 08103CBC + map_bottom 0xEF830, 0x5DC, 1, 1 + +gAreaRoomMap_MinishPaths1_3:: @ 08103CC8 + map_bottom 0xEFA5C, 0x5DC, 1, 1 + +gAreaRoomMap_MinishPaths1_4:: @ 08103CD4 + map_bottom 0xEFC64, 0x5DC, 1, 1 + +gAreaRoomMaps_MinishPaths1:: @ 08103CE0 + .4byte gAreaRoomMap_MinishPaths1_0 + .4byte gAreaRoomMap_MinishPaths1_1 + .4byte gAreaRoomMap_MinishPaths1_2 + .4byte gAreaRoomMap_MinishPaths1_3 + .4byte gAreaRoomMap_MinishPaths1_4 + +gAreaRoomMap_CrenelMinishPaths_0:: @ 08103CF4 + map_bottom 0xF6B30, 0x5DC, 1, 1 + +gAreaRoomMap_CrenelMinishPaths_1:: @ 08103D00 + map_bottom 0xF6D24, 0x5DC, 1, 1 + +gAreaRoomMap_CrenelMinishPaths_2:: @ 08103D0C + map_bottom 0xF6FCC, 0x4B0, 1, 1 + +gAreaRoomMap_CrenelMinishPaths_3:: @ 08103D18 + map_bottom 0xF714C, 0x4B0, 1, 1 + +gAreaRoomMaps_CrenelMinishPaths:: @ 08103D24 + .4byte gAreaRoomMap_CrenelMinishPaths_0 + .4byte gAreaRoomMap_CrenelMinishPaths_1 + .4byte gAreaRoomMap_CrenelMinishPaths_2 + .4byte gAreaRoomMap_CrenelMinishPaths_3 + +gAreaRoomMap_MinishHouseInteriors_0:: @ 08103D34 + map_bottom 0x0, 0x2000, 1 + map_unknown 0x139D8C, 0x96, 1 + map_unknown_2 0x139804, 0x800, 1, 1 + +gAreaRoomMap_MinishHouseInteriors_1:: @ 08103D58 + map_bottom 0x0, 0x2000, 1 + map_unknown 0x13E770, 0x96, 1 + map_unknown_2 0x139DCC, 0x800, 1, 1 + +gAreaRoomMap_MinishHouseInteriors_2:: @ 08103D7C + map_bottom 0x0, 0x2000, 1 + map_unknown 0x142334, 0x1D0, 1 + map_unknown_2 0x13E7AC, 0x1000, 1, 1 + +gAreaRoomMap_MinishHouseInteriors_3:: @ 08103DA0 + map_bottom 0x0, 0x2000, 1 + map_unknown 0x144C24, 0xA0, 1 + map_unknown_2 0x1423A4, 0x800, 1, 1 + +gAreaRoomMap_MinishHouseInteriors_4:: @ 08103DC4 + map_bottom 0x0, 0x2000, 1 + map_unknown 0x147460, 0xA0, 1 + map_unknown_2 0x144C58, 0x800, 1, 1 + +gAreaRoomMap_MinishHouseInteriors_5:: @ 08103DE8 + map_bottom 0x0, 0x2000, 1 + map_unknown 0x149B84, 0xA0, 1 + map_unknown_2 0x14748C, 0x800, 1, 1 + +gAreaRoomMap_MinishHouseInteriors_6:: @ 08103E0C + map_bottom 0x0, 0x2000, 1 + map_unknown 0x14C7B0, 0xA0, 1 + map_unknown_2 0x149BB4, 0x800, 1, 1 + +gAreaRoomMap_MinishHouseInteriors_8:: @ 08103E30 + map_bottom 0x0, 0x2000, 1 + map_unknown 0x15583C, 0xE1, 1 + map_unknown_2 0x151BF4, 0x800, 1, 1 + +gAreaRoomMap_MinishHouseInteriors_7:: @ 08103E54 + map_bottom 0x0, 0x2000, 1 + map_unknown 0x151BC0, 0x96, 1 + map_unknown_2 0x14C7EC, 0x800, 1, 1 + +gAreaRoomMap_MinishHouseInteriors_9:: @ 08103E78 + map_bottom 0x0, 0x2000, 1 + map_unknown 0x15A290, 0x159, 1 + map_unknown_2 0x15588C, 0x1000, 1, 1 + +gAreaRoomMap_MinishHouseInteriors_10:: @ 08103E9C + map_bottom 0x0, 0x2000, 1 + map_unknown 0x15D544, 0x96, 1 + map_unknown_2 0x15A2E4, 0x800, 1, 1 + +gAreaRoomMap_MinishHouseInteriors_11:: @ 08103EC0 + map_bottom 0x0, 0x2000, 1 + map_unknown 0x160898, 0x96, 1 + map_unknown_2 0x15D57C, 0x800, 1, 1 + +gAreaRoomMap_MinishHouseInteriors_12:: @ 08103EE4 + map_bottom 0x0, 0x2000, 1 + map_unknown 0x163698, 0xDC, 1 + map_unknown_2 0x1608DC, 0x1000, 1, 1 + +gAreaRoomMap_MinishHouseInteriors_13:: @ 08103F08 + map_bottom 0x0, 0x2000, 1 + map_unknown 0x16C6F8, 0x96, 1 + map_unknown_2 0x1692D8, 0x800, 1, 1 + +gAreaRoomMap_MinishHouseInteriors_14:: @ 08103F2C + map_bottom 0x0, 0x2000, 1 + map_unknown 0x16FA58, 0x96, 1 + map_unknown_2 0x16C730, 0x800, 1, 1 + +gAreaRoomMap_MinishHouseInteriors_15:: @ 08103F50 + map_bottom 0x0, 0x2000, 1 + map_unknown 0x172E58, 0x96, 1 + map_unknown_2 0x16FA8C, 0x800, 1, 1 + +gAreaRoomMap_MinishHouseInteriors_16:: @ 08103F74 + map_bottom 0x0, 0x2000, 1 + map_unknown 0x17519C, 0x96, 1 + map_unknown_2 0x172E8C, 0x800, 1, 1 + +gAreaRoomMap_MinishHouseInteriors_17:: @ 08103F98 + map_bottom 0x0, 0x2000, 1 + map_unknown 0x178664, 0x96, 1 + map_unknown_2 0x1751D0, 0x800, 1, 1 + +gAreaRoomMap_MinishHouseInteriors_18:: @ 08103FBC + map_bottom 0x0, 0x2000, 1 + map_unknown 0x17B3B8, 0x96, 1 + map_unknown_2 0x1786A0, 0x800, 1, 1 + +gAreaRoomMap_MinishHouseInteriors_19:: @ 08103FE0 + map_bottom 0x0, 0x2000, 1 + map_unknown 0x17EA00, 0x96, 1 + map_unknown_2 0x17B3F0, 0x800, 1, 1 + +gAreaRoomMap_MinishHouseInteriors_20:: @ 08104004 + map_bottom 0x0, 0x2000, 1 + map_unknown 0x181E7C, 0x96, 1 + map_unknown_2 0x17EA34, 0x800, 1, 1 + +gAreaRoomMaps_MinishHouseInteriors:: @ 08104028 + .4byte gAreaRoomMap_MinishHouseInteriors_0 + .4byte gAreaRoomMap_MinishHouseInteriors_1 + .4byte gAreaRoomMap_MinishHouseInteriors_2 + .4byte gAreaRoomMap_MinishHouseInteriors_3 + .4byte gAreaRoomMap_MinishHouseInteriors_4 + .4byte gAreaRoomMap_MinishHouseInteriors_5 + .4byte gAreaRoomMap_MinishHouseInteriors_6 + .4byte gAreaRoomMap_MinishHouseInteriors_7 + .4byte gAreaRoomMap_MinishHouseInteriors_8 + .4byte gAreaRoomMap_MinishHouseInteriors_9 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte gAreaRoomMap_MinishHouseInteriors_10 + .4byte gAreaRoomMap_MinishHouseInteriors_11 + .4byte gAreaRoomMap_MinishHouseInteriors_12 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte gAreaRoomMap_MinishHouseInteriors_13 + .4byte gAreaRoomMap_MinishHouseInteriors_14 + .4byte gAreaRoomMap_MinishHouseInteriors_15 + .4byte gAreaRoomMap_MinishHouseInteriors_16 + .4byte gAreaRoomMap_MinishHouseInteriors_17 + .4byte gAreaRoomMap_MinishHouseInteriors_18 + .4byte gAreaRoomMap_MinishHouseInteriors_19 + .4byte gAreaRoomMap_MinishHouseInteriors_20 + +gAreaRoomMap_TownMinishHoles_0:: @ 081040C8 + map_bottom 0x0, 0x2000, 1 + map_unknown 0x184554, 0x96, 1 + map_unknown_2 0x181EB4, 0x800, 1, 1 + +gAreaRoomMap_TownMinishHoles_1:: @ 081040EC + map_bottom 0x0, 0x2000, 1 + map_unknown 0x1874D0, 0x96, 1 + map_unknown_2 0x184588, 0x800, 1, 1 + +gAreaRoomMap_TownMinishHoles_2:: @ 08104110 + map_bottom 0x0, 0x2000, 1 + map_unknown 0x18A01C, 0x96, 1 + map_unknown_2 0x187514, 0x800, 1, 1 + +gAreaRoomMap_TownMinishHoles_3:: @ 08104134 + map_bottom 0x0, 0x2000, 1 + map_unknown 0x18CFB8, 0x96, 1 + map_unknown_2 0x18A04C, 0x800, 1, 1 + +gAreaRoomMap_TownMinishHoles_4:: @ 08104158 + map_bottom 0x0, 0x2000, 1 + map_unknown 0x18F98C, 0x96, 1 + map_unknown_2 0x18CFF4, 0x800, 1, 1 + +gAreaRoomMap_TownMinishHoles_5:: @ 0810417C + map_bottom 0x0, 0x2000, 1 + map_unknown 0x192FC0, 0x96, 1 + map_unknown_2 0x18F9C8, 0x800, 1, 1 + +gAreaRoomMap_TownMinishHoles_6:: @ 081041A0 + map_bottom 0x0, 0x2000, 1 + map_unknown 0x196F84, 0x24C, 1 + map_unknown_2 0x192FF4, 0x2000, 1, 1 + +gAreaRoomMap_TownMinishHoles_7:: @ 081041C4 + map_bottom 0x0, 0x2000, 1 + map_unknown 0x19BBAC, 0xE1, 1 + map_unknown_2 0x196FFC, 0x800, 1, 1 + +gAreaRoomMap_TownMinishHoles_8:: @ 081041E8 + map_bottom 0x0, 0x2000, 1 + map_unknown 0x19FCC0, 0x190, 1 + map_unknown_2 0x19BBE4, 0x2000, 1, 1 + +gAreaRoomMaps_TownMinishHoles:: @ 0810420C + .4byte gAreaRoomMap_TownMinishHoles_0 + .4byte gAreaRoomMap_TownMinishHoles_1 + .4byte gAreaRoomMap_TownMinishHoles_2 + .4byte gAreaRoomMap_TownMinishHoles_3 + .4byte gAreaRoomMap_TownMinishHoles_4 + .4byte gAreaRoomMap_TownMinishHoles_5 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte gAreaRoomMap_TownMinishHoles_6 + .4byte gAreaRoomMap_TownMinishHoles_7 + .4byte gAreaRoomMap_TownMinishHoles_8 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + +gAreaRoomMap_HouseInteriors1_0:: @ 081042CC + map_bottom 0x132A1C, 0x198, 1 + map_top 0x132B6C, 0x198, 1, 1 + +gAreaRoomMap_HouseInteriors1_1:: @ 081042E4 + map_bottom 0x132BB4, 0x14A, 1 + map_top 0x132CD8, 0x14A, 1, 1 + +gAreaRoomMap_HouseInteriors1_2:: @ 081042FC + map_bottom 0x132D38, 0x14A, 1 + map_top 0x132E50, 0x14A, 1, 1 + +gAreaRoomMap_HouseInteriors1_3:: @ 08104314 + map_bottom 0x132E80, 0x2C0, 1 + map_top 0x13305C, 0x2C0, 1, 1 + +gAreaRoomMap_HouseInteriors1_4:: @ 0810432C + map_bottom 0x1330E8, 0x1A4, 1 + map_top 0x13322C, 0x1A4, 1, 1 + +gAreaRoomMap_HouseInteriors1_5:: @ 08104344 + map_bottom 0x133280, 0x12C, 1 + map_top 0x133384, 0x12C, 1, 1 + +gAreaRoomMap_HouseInteriors1_6:: @ 0810435C + map_bottom 0x1333F0, 0x12C, 1 + map_top 0x1334F4, 0x12C, 1, 1 + +gAreaRoomMap_HouseInteriors1_7:: @ 08104374 + map_bottom 0x133544, 0x12C, 1 + map_top 0x133640, 0x12C, 1, 1 + +gAreaRoomMap_HouseInteriors1_8:: @ 0810438C + map_bottom 0x133694, 0x12C, 1 + map_top 0x133790, 0x12C, 1, 1 + +gAreaRoomMap_HouseInteriors1_9:: @ 081043A4 + map_bottom 0x1337C0, 0x348, 1 + map_top 0x133A3C, 0x348, 1, 1 + +gAreaRoomMap_HouseInteriors1_10:: @ 081043BC + map_bottom 0x133ACC, 0x12C, 1 + map_top 0x133BDC, 0x12C, 1, 1 + +gAreaRoomMap_HouseInteriors1_11:: @ 081043D4 + map_bottom 0x133C08, 0x1C2, 1 + map_top 0x133D90, 0x1C2, 1, 1 + +gAreaRoomMap_HouseInteriors1_12:: @ 081043EC + map_bottom 0x133DD0, 0x1B8, 1 + map_top 0x133F48, 0x1B8, 1, 1 + +gAreaRoomMaps_HouseInteriors1:: @ 08104404 + .4byte gAreaRoomMap_HouseInteriors1_0 + .4byte gAreaRoomMap_HouseInteriors1_1 + .4byte gAreaRoomMap_HouseInteriors1_2 + .4byte gAreaRoomMap_HouseInteriors1_3 + .4byte gAreaRoomMap_HouseInteriors1_4 + .4byte gAreaRoomMap_HouseInteriors1_5 + .4byte gAreaRoomMap_HouseInteriors1_6 + .4byte gAreaRoomMap_HouseInteriors1_7 + .4byte gAreaRoomMap_HouseInteriors1_8 + .4byte gAreaRoomMap_HouseInteriors1_9 + .4byte gAreaRoomMap_HouseInteriors1_10 + .4byte gAreaRoomMap_HouseInteriors1_11 + .4byte gAreaRoomMap_HouseInteriors1_12 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + +gAreaRoomMap_HouseInteriors2_0:: @ 08104444 + map_bottom 0x12F9C8, 0x12C, 1 + map_top 0x12FAE8, 0x12C, 1, 1 + +gAreaRoomMap_HouseInteriors2_1:: @ 0810445C + map_bottom 0x12FB40, 0x168, 1 + map_top 0x12FC5C, 0x168, 1, 1 + +gAreaRoomMap_HouseInteriors2_2:: @ 08104474 + map_bottom 0x12FCD4, 0x168, 1 + map_top 0x12FDF4, 0x168, 1, 1 + +gAreaRoomMap_HouseInteriors2_3:: @ 0810448C + map_bottom 0x12FE64, 0x168, 1 + map_top 0x12FF88, 0x168, 1, 1 + +gAreaRoomMap_HouseInteriors2_4:: @ 081044A4 + map_bottom 0x12FFF4, 0x168, 1 + map_top 0x130118, 0x168, 1, 1 + +gAreaRoomMap_HouseInteriors2_5:: @ 081044BC + map_bottom 0x130164, 0x14A, 1 + map_top 0x130254, 0x14A, 1, 1 + +gAreaRoomMap_HouseInteriors2_6:: @ 081044D4 + map_bottom 0x1302A8, 0x12C, 1 + map_top 0x1303C8, 0x12C, 1, 1 + +gAreaRoomMap_HouseInteriors2_7:: @ 081044EC + map_bottom 0x130428, 0x168, 1 + map_top 0x130540, 0x168, 1, 1 + +gAreaRoomMap_HouseInteriors2_8:: @ 08104504 + map_bottom 0x130598, 0x14A, 1 + map_top 0x1306C4, 0x14A, 1, 1 + +gAreaRoomMap_HouseInteriors2_9:: @ 0810451C + map_bottom 0x130718, 0x12C, 1 + map_top 0x130824, 0x12C, 1, 1 + +gAreaRoomMap_HouseInteriors2_10:: @ 08104534 + map_bottom 0x13087C, 0x12C, 1 + map_top 0x13098C, 0x12C, 1, 1 + +gAreaRoomMap_HouseInteriors2_11:: @ 0810454C + map_bottom 0x1309E0, 0x12C, 1 + map_top 0x130AF8, 0x12C, 1, 1 + +gAreaRoomMap_HouseInteriors2_12:: @ 08104564 + map_bottom 0x130B54, 0x12C, 1 + map_top 0x130C6C, 0x12C, 1, 1 + +gAreaRoomMap_HouseInteriors2_13:: @ 0810457C + map_bottom 0x130CB4, 0x12C, 1 + map_top 0x130DD8, 0x12C, 1, 1 + +gAreaRoomMap_HouseInteriors2_14:: @ 08104594 + map_bottom 0x130E28, 0x12C, 1 + map_top 0x130F48, 0x12C, 1, 1 + +gAreaRoomMap_HouseInteriors2_15:: @ 081045AC + map_bottom 0x130F8C, 0x12C, 1 + map_top 0x1310A0, 0x12C, 1, 1 + +gAreaRoomMap_HouseInteriors2_16:: @ 081045C4 + map_bottom 0x1310FC, 0x14A, 1 + map_top 0x1311D0, 0x14A, 1, 1 + +gAreaRoomMap_HouseInteriors2_17:: @ 081045DC + map_bottom 0x131234, 0x12C, 1 + map_top 0x131340, 0x12C, 1, 1 + +gAreaRoomMap_HouseInteriors2_18:: @ 081045F4 + map_bottom 0x13138C, 0x12C, 1 + map_top 0x13149C, 0x12C, 1, 1 + +gAreaRoomMaps_HouseInteriors2:: @ 0810460C + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_1 + .4byte gAreaRoomMap_HouseInteriors2_2 + .4byte gAreaRoomMap_HouseInteriors2_3 + .4byte gAreaRoomMap_HouseInteriors2_4 + .4byte gAreaRoomMap_HouseInteriors2_5 + .4byte gAreaRoomMap_HouseInteriors2_6 + .4byte gAreaRoomMap_HouseInteriors2_7 + .4byte gAreaRoomMap_HouseInteriors2_8 + .4byte gAreaRoomMap_HouseInteriors2_9 + .4byte gAreaRoomMap_HouseInteriors2_10 + .4byte gAreaRoomMap_HouseInteriors2_11 + .4byte gAreaRoomMap_HouseInteriors2_12 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_13 + .4byte gAreaRoomMap_HouseInteriors2_14 + .4byte gAreaRoomMap_HouseInteriors2_15 + .4byte gAreaRoomMap_HouseInteriors2_16 + .4byte gAreaRoomMap_HouseInteriors2_17 + .4byte gAreaRoomMap_HouseInteriors2_18 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_0 + .4byte gAreaRoomMap_HouseInteriors2_0 + +gAreaRoomMap_HouseInteriors4_0:: @ 081046CC + map_bottom 0x1314F4, 0x168, 1 + map_top 0x131600, 0x168, 1, 1 + +gAreaRoomMap_HouseInteriors4_1:: @ 081046E4 + map_bottom 0x131644, 0x168, 1 + map_top 0x131798, 0x168, 1, 1 + +gAreaRoomMap_HouseInteriors4_2:: @ 081046FC + map_bottom 0x1317D8, 0x12C, 1 + map_top 0x1318EC, 0x12C, 1, 1 + +gAreaRoomMap_HouseInteriors4_3:: @ 08104714 + map_bottom 0x13192C, 0x12C, 1 + map_top 0x131A44, 0x12C, 1, 1 + +gAreaRoomMap_HouseInteriors4_4:: @ 0810472C + map_bottom 0x131A70, 0x12C, 1 + map_top 0x131B80, 0x12C, 1, 1 + +gAreaRoomMap_HouseInteriors4_5:: @ 08104744 + map_bottom 0x131BDC, 0x168, 1 + map_top 0x131D10, 0x168, 1, 1 + +gAreaRoomMaps_HouseInteriors4:: @ 0810475C + .4byte gAreaRoomMap_HouseInteriors4_0 + .4byte gAreaRoomMap_HouseInteriors4_1 + .4byte gAreaRoomMap_HouseInteriors4_2 + .4byte gAreaRoomMap_HouseInteriors4_3 + .4byte gAreaRoomMap_HouseInteriors4_4 + .4byte gAreaRoomMap_HouseInteriors4_5 + .4byte gAreaRoomMap_HouseInteriors4_0 + .4byte gAreaRoomMap_HouseInteriors4_0 + .4byte gAreaRoomMap_HouseInteriors4_0 + .4byte gAreaRoomMap_HouseInteriors4_0 + .4byte gAreaRoomMap_HouseInteriors4_0 + .4byte gAreaRoomMap_HouseInteriors4_0 + .4byte gAreaRoomMap_HouseInteriors4_0 + .4byte gAreaRoomMap_HouseInteriors4_0 + .4byte gAreaRoomMap_HouseInteriors4_0 + .4byte gAreaRoomMap_HouseInteriors4_0 + +gAreaRoomMap_HouseInteriors3_0:: @ 0810479C + map_bottom 0x131D48, 0x186, 1 + map_top 0x131E7C, 0x186, 1, 1 + +gAreaRoomMap_HouseInteriors3_1:: @ 081047B4 + map_bottom 0x131EF8, 0x186, 1 + map_top 0x13202C, 0x186, 1, 1 + +gAreaRoomMap_HouseInteriors3_2:: @ 081047CC + map_bottom 0x13208C, 0x12C, 1 + map_top 0x1321A4, 0x12C, 1, 1 + +gAreaRoomMap_HouseInteriors3_3:: @ 081047E4 + map_bottom 0x1321F4, 0x168, 1 + map_top 0x132304, 0x168, 1, 1 + +gAreaRoomMap_HouseInteriors3_4:: @ 081047FC + map_bottom 0x132354, 0x12C, 1 + map_top 0x132468, 0x12C, 1, 1 + +gAreaRoomMap_HouseInteriors3_5:: @ 08104814 + map_bottom 0x1324B4, 0x12C, 1 + map_top 0x1325AC, 0x12C, 1, 1 + +gAreaRoomMap_HouseInteriors3_6:: @ 0810482C + map_bottom 0x1325F4, 0x14A, 1 + map_top 0x13272C, 0x14A, 1, 1 + +gAreaRoomMap_HouseInteriors3_7:: @ 08104844 + map_bottom 0x132778, 0x12C, 1 + map_top 0x132878, 0x12C, 1, 1 + +gAreaRoomMap_HouseInteriors3_8:: @ 0810485C + map_bottom 0x1328BC, 0x140, 1 + map_top 0x1329D4, 0x140, 1, 1 + +gAreaRoomMaps_HouseInteriors3:: @ 08104874 + .4byte gAreaRoomMap_HouseInteriors3_0 + .4byte gAreaRoomMap_HouseInteriors3_1 + .4byte gAreaRoomMap_HouseInteriors3_2 + .4byte gAreaRoomMap_HouseInteriors3_3 + .4byte gAreaRoomMap_HouseInteriors3_4 + .4byte gAreaRoomMap_HouseInteriors3_5 + .4byte gAreaRoomMap_HouseInteriors3_6 + .4byte gAreaRoomMap_HouseInteriors3_7 + .4byte gAreaRoomMap_HouseInteriors3_8 + +gAreaRoomMap_TreeInteriors_0:: @ 08104898 + map_bottom 0x1350AC, 0x12C, 0 + map_top 0x1351D8, 0x12C, 1, 1 + +gAreaRoomMap_TreeInteriors_1:: @ 081048B0 + map_bottom 0x135208, 0x12C, 0 + map_top 0x135334, 0x12C, 1, 1 + +gAreaRoomMap_TreeInteriors_2:: @ 081048C8 + map_bottom 0x135360, 0x12C, 0 + map_top 0x13548C, 0x12C, 1, 1 + +gAreaRoomMap_TreeInteriors_3:: @ 081048E0 + map_bottom 0x1354D0, 0x12C, 0 + map_top 0x1355FC, 0x12C, 1, 1 + +gAreaRoomMap_TreeInteriors_4:: @ 081048F8 + map_bottom 0x135628, 0x12C, 0 + map_top 0x135754, 0x12C, 1, 1 + +gAreaRoomMap_TreeInteriors_5:: @ 08104910 + map_bottom 0x135780, 0x12C, 0 + map_top 0x1358AC, 0x12C, 1, 1 + +gAreaRoomMap_TreeInteriors_6:: @ 08104928 + map_bottom 0x1358D8, 0x12C, 0 + map_top 0x135A04, 0x12C, 1, 1 + +gAreaRoomMap_TreeInteriors_7:: @ 08104940 + map_bottom 0x135A30, 0x12C, 0 + map_top 0x135B5C, 0x12C, 1, 1 + +gAreaRoomMap_TreeInteriors_8:: @ 08104958 + map_bottom 0x135B88, 0x12C, 0 + map_top 0x135CB4, 0x12C, 1, 1 + +gAreaRoomMap_TreeInteriors_9:: @ 08104970 + map_bottom 0x135CE0, 0x12C, 0 + map_top 0x135E0C, 0x12C, 1, 1 + +gAreaRoomMap_TreeInteriors_10:: @ 08104988 + map_bottom 0x135E38, 0x12C, 0 + map_top 0x135F64, 0x12C, 1, 1 + +gAreaRoomMap_TreeInteriors_11:: @ 081049A0 + map_bottom 0x135F90, 0x12C, 0 + map_top 0x1360BC, 0x12C, 1, 1 + +gAreaRoomMap_TreeInteriors_12:: @ 081049B8 + map_bottom 0x1360EC, 0x12C, 0 + map_top 0x136218, 0x12C, 1, 1 + +gAreaRoomMap_TreeInteriors_13:: @ 081049D0 + map_bottom 0x136248, 0x12C, 0 + map_top 0x136374, 0x12C, 1, 1 + +gAreaRoomMap_TreeInteriors_14:: @ 081049E8 + map_bottom 0x1363CC, 0x12C, 0 + map_top 0x1364F8, 0x12C, 1, 1 + +gAreaRoomMap_TreeInteriors_15:: @ 08104A00 + map_bottom 0x136528, 0x12C, 0 + map_top 0x136654, 0x12C, 1, 1 + +gAreaRoomMap_TreeInteriors_16:: @ 08104A18 + map_bottom 0x136694, 0x12C, 0 + map_top 0x1367C0, 0x12C, 1, 1 + +gAreaRoomMaps_TreeInteriors:: @ 08104A30 + .4byte gAreaRoomMap_TreeInteriors_0 + .4byte gAreaRoomMap_TreeInteriors_0 + .4byte gAreaRoomMap_TreeInteriors_0 + .4byte gAreaRoomMap_TreeInteriors_0 + .4byte gAreaRoomMap_TreeInteriors_0 + .4byte gAreaRoomMap_TreeInteriors_0 + .4byte gAreaRoomMap_TreeInteriors_0 + .4byte gAreaRoomMap_TreeInteriors_0 + .4byte gAreaRoomMap_TreeInteriors_0 + .4byte gAreaRoomMap_TreeInteriors_0 + .4byte gAreaRoomMap_TreeInteriors_0 + .4byte gAreaRoomMap_TreeInteriors_0 + .4byte gAreaRoomMap_TreeInteriors_0 + .4byte gAreaRoomMap_TreeInteriors_0 + .4byte gAreaRoomMap_TreeInteriors_0 + .4byte gAreaRoomMap_TreeInteriors_0 + .4byte gAreaRoomMap_TreeInteriors_1 + .4byte gAreaRoomMap_TreeInteriors_2 + .4byte gAreaRoomMap_TreeInteriors_3 + .4byte gAreaRoomMap_TreeInteriors_4 + .4byte gAreaRoomMap_TreeInteriors_5 + .4byte gAreaRoomMap_TreeInteriors_6 + .4byte gAreaRoomMap_TreeInteriors_7 + .4byte gAreaRoomMap_TreeInteriors_8 + .4byte gAreaRoomMap_TreeInteriors_9 + .4byte gAreaRoomMap_TreeInteriors_10 + .4byte gAreaRoomMap_TreeInteriors_11 + .4byte gAreaRoomMap_TreeInteriors_12 + .4byte gAreaRoomMap_TreeInteriors_13 + .4byte gAreaRoomMap_TreeInteriors_14 + .4byte gAreaRoomMap_TreeInteriors_15 + .4byte gAreaRoomMap_TreeInteriors_16 + +gAreaRoomMap_Dojos_0:: @ 08104AB0 + map_bottom 0x133F88, 0x168, 1 + map_top 0x1340B0, 0x168, 1, 1 + +gAreaRoomMap_Dojos_1:: @ 08104AC8 + map_bottom 0x1340EC, 0x168, 1 + map_top 0x13421C, 0x168, 1, 1 + +gAreaRoomMap_Dojos_2:: @ 08104AE0 + map_bottom 0x134254, 0x168, 1 + map_top 0x134384, 0x168, 1, 1 + +gAreaRoomMap_Dojos_3:: @ 08104AF8 + map_bottom 0x1343BC, 0x168, 1 + map_top 0x1344E0, 0x168, 1, 1 + +gAreaRoomMap_Dojos_4:: @ 08104B10 + map_bottom 0x134518, 0x168, 1 + map_top 0x13463C, 0x168, 1, 1 + +gAreaRoomMap_Dojos_5:: @ 08104B28 + map_bottom 0x134674, 0x168, 1 + map_top 0x1347A8, 0x168, 1, 1 + +gAreaRoomMap_Dojos_6:: @ 08104B40 + map_bottom 0x1347E0, 0x168, 1 + map_top 0x13490C, 0x168, 1, 1 + +gAreaRoomMap_Dojos_7:: @ 08104B58 + map_bottom 0x134944, 0x12C, 1 + map_top 0x1349E4, 0x12C, 1, 1 + +gAreaRoomMap_Dojos_8:: @ 08104B70 + map_bottom 0x134A28, 0x12C, 1 + map_top 0x134ACC, 0x12C, 1, 1 + +gAreaRoomMap_Dojos_9:: @ 08104B88 + map_bottom 0x134B1C, 0x12C, 1 + map_top 0x134BC0, 0x12C, 1, 1 + +gAreaRoomMap_Dojos_10:: @ 08104BA0 + map_bottom 0x134C34, 0x12C, 1 + map_top 0x134CF8, 0x12C, 1, 1 + +gAreaRoomMap_Dojos_11:: @ 08104BB8 + map_bottom 0x134D28, 0x12C, 1 + map_top 0x134E28, 0x12C, 1, 1 + +gAreaRoomMap_Dojos_12:: @ 08104BD0 + map_bottom 0x134E58, 0x12C, 1 + map_top 0x134F54, 0x12C, 1, 1 + +gAreaRoomMap_Dojos_13:: @ 08104BE8 + map_bottom 0x134F84, 0x12C, 1 + map_top 0x13507C, 0x12C, 1, 1 + +gAreaRoomMaps_Dojos:: @ 08104C00 + .4byte gAreaRoomMap_Dojos_0 + .4byte gAreaRoomMap_Dojos_1 + .4byte gAreaRoomMap_Dojos_2 + .4byte gAreaRoomMap_Dojos_3 + .4byte gAreaRoomMap_Dojos_4 + .4byte gAreaRoomMap_Dojos_5 + .4byte gAreaRoomMap_Dojos_6 + .4byte gAreaRoomMap_Dojos_7 + .4byte gAreaRoomMap_Dojos_8 + .4byte gAreaRoomMap_Dojos_9 + .4byte gAreaRoomMap_Dojos_10 + .4byte gAreaRoomMap_Dojos_11 + .4byte gAreaRoomMap_Dojos_12 + .4byte gAreaRoomMap_Dojos_13 + .4byte gAreaRoomMap_Dojos_0 + .4byte gAreaRoomMap_Dojos_0 + +gAreaRoomMap_MinishCracks_0:: @ 08104C40 + map_bottom 0x1367EC, 0x12C, 0 + map_top 0x136918, 0x12C, 1, 1 + +gAreaRoomMap_MinishCracks_1:: @ 08104C58 + map_bottom 0x136948, 0x12C, 0 + map_top 0x136A74, 0x12C, 1, 1 + +gAreaRoomMap_MinishCracks_2:: @ 08104C70 + map_bottom 0x136AC4, 0x12C, 0 + map_top 0x136BF0, 0x12C, 1, 1 + +gAreaRoomMap_MinishCracks_3:: @ 08104C88 + map_bottom 0x136C44, 0x12C, 0 + map_top 0x136D70, 0x12C, 1, 1 + +gAreaRoomMap_MinishCracks_4:: @ 08104CA0 + map_bottom 0x136DC4, 0x12C, 0 + map_top 0x136EF0, 0x12C, 1, 1 + +gAreaRoomMap_MinishCracks_5:: @ 08104CB8 + map_bottom 0x136F40, 0x12C, 1 + map_top 0x137058, 0x12C, 1, 1 + +gAreaRoomMap_MinishCracks_6:: @ 08104CD0 + map_bottom 0x13709C, 0x12C, 0 + map_top 0x1371C8, 0x12C, 1, 1 + +gAreaRoomMap_MinishCracks_7:: @ 08104CE8 + map_bottom 0x1371F4, 0x12C, 0 + map_top 0x137320, 0x12C, 1, 1 + +gAreaRoomMap_MinishCracks_8:: @ 08104D00 + map_bottom 0x137374, 0x12C, 0 + map_top 0x1374A0, 0x12C, 1, 1 + +gAreaRoomMap_MinishCracks_9:: @ 08104D18 + map_bottom 0x1374D0, 0x12C, 0 + map_top 0x1375FC, 0x12C, 1, 1 + +gAreaRoomMap_MinishCracks_10:: @ 08104D30 + map_bottom 0x13762C, 0x12C, 0 + map_top 0x137758, 0x12C, 1, 1 + +gAreaRoomMap_MinishCracks_11:: @ 08104D48 + map_bottom 0x137788, 0x12C, 0 + map_top 0x1378B4, 0x12C, 1, 1 + +gAreaRoomMap_MinishCracks_12:: @ 08104D60 + map_bottom 0x1378E4, 0x12C, 0 + map_top 0x137A10, 0x12C, 1, 1 + +gAreaRoomMap_MinishCracks_13:: @ 08104D78 + map_bottom 0x137A40, 0x12C, 0 + map_top 0x137B6C, 0x12C, 1, 1 + +gAreaRoomMap_MinishCracks_14:: @ 08104D90 + map_bottom 0x137B9C, 0x12C, 1 + map_top 0x137CAC, 0x12C, 1, 1 + +gAreaRoomMap_MinishCracks_15:: @ 08104DA8 + map_bottom 0x137CDC, 0x12C, 1 + map_top 0x137DEC, 0x12C, 1, 1 + +gAreaRoomMap_MinishCracks_16:: @ 08104DC0 + map_bottom 0x137E1C, 0x12C, 1 + map_top 0x137F2C, 0x12C, 1, 1 + +gAreaRoomMap_MinishCracks_17:: @ 08104DD8 + map_bottom 0x137F64, 0x12C, 1 + map_top 0x138078, 0x12C, 1, 1 + +gAreaRoomMaps_MinishCracks:: @ 08104DF0 + .4byte gAreaRoomMap_MinishCracks_0 + .4byte gAreaRoomMap_MinishCracks_1 + .4byte gAreaRoomMap_MinishCracks_2 + .4byte gAreaRoomMap_MinishCracks_3 + .4byte gAreaRoomMap_MinishCracks_4 + .4byte gAreaRoomMap_MinishCracks_5 + .4byte gAreaRoomMap_MinishCracks_6 + .4byte gAreaRoomMap_MinishCracks_7 + .4byte gAreaRoomMap_MinishCracks_8 + .4byte gAreaRoomMap_MinishCracks_9 + .4byte gAreaRoomMap_MinishCracks_10 + .4byte gAreaRoomMap_MinishCracks_11 + .4byte gAreaRoomMap_MinishCracks_12 + .4byte gAreaRoomMap_MinishCracks_13 + .4byte gAreaRoomMap_MinishCracks_14 + .4byte gAreaRoomMap_MinishCracks_15 + .4byte gAreaRoomMap_MinishCracks_16 + .4byte gAreaRoomMap_MinishCracks_17 + +gAreaRoomMap_ArmosInterios_0:: @ 08104E38 + map_bottom 0xA595C, 0x12C, 0 + map_top 0xA5A88, 0x12C, 1, 1 + +gAreaRoomMap_ArmosInterios_1:: @ 08104E50 + map_bottom 0xA5AC8, 0x12C, 0 + map_top 0xA5BF4, 0x12C, 1, 1 + +gAreaRoomMap_ArmosInterios_2:: @ 08104E68 + map_bottom 0xA5C34, 0x12C, 0 + map_top 0xA5D60, 0x12C, 1, 1 + +gAreaRoomMap_ArmosInterios_3:: @ 08104E80 + map_bottom 0xA5DA0, 0x12C, 0 + map_top 0xA5ECC, 0x12C, 1, 1 + +gAreaRoomMap_ArmosInterios_4:: @ 08104E98 + map_bottom 0xA5F0C, 0x12C, 0 + map_top 0xA6038, 0x12C, 1, 1 + +gAreaRoomMap_ArmosInterios_5:: @ 08104EB0 + map_bottom 0xA6078, 0x12C, 0 + map_top 0xA61A4, 0x12C, 1, 1 + +gAreaRoomMap_ArmosInterios_6:: @ 08104EC8 + map_bottom 0xA61E4, 0x12C, 0 + map_top 0xA6310, 0x12C, 1, 1 + +gAreaRoomMap_ArmosInterios_7:: @ 08104EE0 + map_bottom 0xA6350, 0x12C, 0 + map_top 0xA647C, 0x12C, 1, 1 + +gAreaRoomMap_ArmosInterios_8:: @ 08104EF8 + map_bottom 0xA64BC, 0x12C, 0 + map_top 0xA65E8, 0x12C, 1, 1 + +gAreaRoomMap_ArmosInterios_9:: @ 08104F10 + map_bottom 0xA6628, 0x12C, 0 + map_top 0xA6754, 0x12C, 1, 1 + +gAreaRoomMap_ArmosInterios_10:: @ 08104F28 + map_bottom 0xA6794, 0x12C, 0 + map_top 0xA68C0, 0x12C, 1, 1 + +gAreaRoomMaps_ArmosInteriors:: @ 08104F40 + .4byte gAreaRoomMap_ArmosInterios_0 + .4byte gAreaRoomMap_ArmosInterios_1 + .4byte gAreaRoomMap_ArmosInterios_2 + .4byte gAreaRoomMap_ArmosInterios_3 + .4byte gAreaRoomMap_ArmosInterios_4 + .4byte gAreaRoomMap_ArmosInterios_5 + .4byte gAreaRoomMap_ArmosInterios_6 + .4byte gAreaRoomMap_ArmosInterios_7 + .4byte gAreaRoomMap_ArmosInterios_8 + .4byte gAreaRoomMap_ArmosInterios_9 + .4byte gAreaRoomMap_ArmosInterios_10 + +gAreaRoomMap_MinishRafters_0:: @ 08104F6C + map_bottom 0x1380A8, 0x3E0, 1, 1 + +gAreaRoomMap_MinishRafters_1:: @ 08104F78 + map_bottom 0x1382F4, 0x3E0, 1, 1 + +gAreaRoomMap_MinishRafters_2:: @ 08104F84 + map_bottom 0x138510, 0x3E0, 1, 1 + +gAreaRoomMap_MinishRafters_3:: @ 08104F90 + map_bottom 0x1387B4, 0x3E0, 1, 1 + +gAreaRoomMaps_MinishRafters:: @ 08104F9C + .4byte gAreaRoomMap_MinishRafters_0 + .4byte gAreaRoomMap_MinishRafters_1 + .4byte gAreaRoomMap_MinishRafters_2 + .4byte gAreaRoomMap_MinishRafters_3 + +gAreaRoomMap_GoronCave_0:: @ 08104FAC + map_bottom 0xB0054, 0x12C, 1 + map_top 0xB0118, 0x12C, 1, 1 + +gAreaRoomMap_GoronCave_1:: @ 08104FC4 + map_bottom 0xB015C, 0x546, 1 + map_top 0xB03E0, 0x546, 1, 1 + +gAreaRoomMaps_GoronCave:: @ 08104FDC + .4byte gAreaRoomMap_GoronCave_0 + .4byte gAreaRoomMap_GoronCave_1 + +gAreaRoomMap_WindTribeTower_0:: @ 08104FE4 + map_bottom 0x138BD8, 0x276, 1 + map_top 0x138DB8, 0x276, 1, 1 + +gAreaRoomMap_WindTribeTower_1:: @ 08104FFC + map_bottom 0x138E3C, 0x276, 1 + map_top 0x139028, 0x276, 1, 1 + +gAreaRoomMap_WindTribeTower_2:: @ 08105014 + map_bottom 0x1390A4, 0x276, 1 + map_top 0x13927C, 0x276, 1, 1 + +gAreaRoomMap_WindTribeTower_3:: @ 0810502C + map_bottom 0x1392FC, 0x276, 1 + map_top 0x1394EC, 0x276, 1, 1 + +gAreaRoomMaps_WindTribeTower:: @ 08105044 + .4byte gAreaRoomMap_WindTribeTower_0 + .4byte gAreaRoomMap_WindTribeTower_1 + .4byte gAreaRoomMap_WindTribeTower_2 + .4byte gAreaRoomMap_WindTribeTower_3 + +gAreaRoomMap_WindTribeTowerRoof_0:: @ 08105054 + map_bottom 0x13954C, 0x30C, 1 + map_top 0x1397A0, 0x30C, 1, 1 + +gAreaRoomMaps_WindTribeTowerRoof:: @ 0810506C + .4byte gAreaRoomMap_WindTribeTowerRoof_0 + +gAreaRoomMap_MinishCaves_0:: @ 08105070 + map_bottom 0xC12D4, 0x474, 1 + map_top 0xC15F4, 0x474, 1, 1 + +gAreaRoomMap_MinishCaves_1:: @ 08105088 + map_bottom 0xC16AC, 0x41A, 1 + map_top 0xC198C, 0x41A, 1, 1 + +gAreaRoomMap_MinishCaves_2:: @ 081050A0 + map_bottom 0xC1A30, 0x1FE, 1 + map_top 0xC1B90, 0x1FE, 1, 1 + +gAreaRoomMap_MinishCaves_3:: @ 081050B8 + map_bottom 0xC1BEC, 0x4CE, 1 + map_top 0xC1EDC, 0x4CE, 1, 1 + +gAreaRoomMap_MinishCaves_4:: @ 081050D0 + map_bottom 0xC1FA0, 0x1C2, 1 + map_top 0xC2124, 0x1C2, 1, 1 + +gAreaRoomMap_MinishCaves_5:: @ 081050E8 + map_bottom 0xC2174, 0x258, 1 + map_top 0xC2368, 0x258, 1, 1 + +gAreaRoomMap_MinishCaves_6:: @ 08105100 + map_bottom 0xC23D8, 0x258, 1 + map_top 0xC25C4, 0x258, 1, 1 + +gAreaRoomMap_MinishCaves_7:: @ 08105118 + map_bottom 0xC262C, 0x744, 1 + map_top 0xC2A54, 0x744, 1, 1 + +gAreaRoomMap_MinishCaves_8:: @ 08105130 + map_bottom 0xC2B64, 0x4B0, 1 + map_top 0xC2DFC, 0x4B0, 1, 1 + +gAreaRoomMap_MinishCaves_9:: @ 08105148 + map_bottom 0xC2E94, 0x618, 1 + map_top 0xC3294, 0x618, 1, 1 + +gAreaRoomMaps_MinishCaves:: @ 08105160 + .4byte gAreaRoomMap_MinishCaves_0 + .4byte gAreaRoomMap_MinishCaves_1 + .4byte gAreaRoomMap_MinishCaves_2 + .4byte gAreaRoomMap_MinishCaves_3 + .4byte gAreaRoomMap_MinishCaves_4 + .4byte gAreaRoomMap_MinishCaves_5 + .4byte gAreaRoomMap_MinishCaves_6 + .4byte gAreaRoomMap_MinishCaves_7 + .4byte gAreaRoomMap_MinishCaves_8 + .4byte gAreaRoomMap_MinishCaves_9 + +gAreaRoomMap_CastleGardenMinishHoles_0:: @ 08105188 + map_bottom 0xC3368, 0x1C2, 1 + map_top 0xC3508, 0x1C2, 1, 1 + +gAreaRoomMap_CastleGardenMinishHoles_1:: @ 081051A0 + map_bottom 0xC3554, 0x1C2, 1 + map_top 0xC36F0, 0x1C2, 1, 1 + +gAreaRoomMaps_CastleGardenMinishHoles:: @ 081051B8 + .4byte gAreaRoomMap_CastleGardenMinishHoles_0 + .4byte gAreaRoomMap_CastleGardenMinishHoles_1 + +gAreaRoomMap_37_0:: @ 081051C0 + map_bottom 0xC373C, 0x1C2, 1 + map_top 0xC38F0, 0x1C2, 1, 1 + +gAreaRoomMap_37_1:: @ 081051D8 + map_bottom 0xC3988, 0x1C2, 1 + map_top 0xC3B38, 0x1C2, 1, 1 + +gAreaRoomMaps_37:: @ 081051F0 + .4byte gAreaRoomMap_37_0 + .4byte gAreaRoomMap_37_1 + +gAreaRoomMap_EzloCutscene_0:: @ 081051F8 + map_bottom 0x1389B8, 0x258, 1 + map_top 0x138B50, 0x258, 1, 1 + +gAreaRoomMaps_EzloCutscene:: @ 08105210 + .4byte gAreaRoomMap_EzloCutscene_0 + +gAreaRoomMap_HyruleTownUnderground_0:: @ 08105214 + map_bottom 0x1AA7A4, 0xE10, 1 + map_top 0x1AAC74, 0xE10, 1, 1 + +gAreaRoomMap_HyruleTownUnderground_1:: @ 0810522C + map_bottom 0x1AAE34, 0x12C, 1 + map_top 0x1AAF18, 0x12C, 1, 1 + +gAreaRoomMaps_HyruleTownUnderground:: @ 08105244 + .4byte gAreaRoomMap_HyruleTownUnderground_0 + .4byte gAreaRoomMap_HyruleTownUnderground_1 + +gAreaRoomMap_GardenFountains_0:: @ 0810524C + map_bottom 0x1AAF44, 0x12C, 1 + map_top 0x1AB024, 0x12C, 1, 1 + +gAreaRoomMap_GardenFountains_1:: @ 08105264 + map_bottom 0x1AB058, 0x12C, 1 + map_top 0x1AB150, 0x12C, 1, 1 + +gAreaRoomMaps_GardenFountains:: @ 0810527C + .4byte gAreaRoomMap_GardenFountains_0 + .4byte gAreaRoomMap_GardenFountains_1 + +gAreaRoomMap_HyruleCastleCellar_0:: @ 08105284 + map_bottom 0x1AB184, 0x3C0, 1 + map_top 0x1AB2D4, 0x3C0, 1, 1 + +gAreaRoomMap_HyruleCastleCellar_1:: @ 0810529C + map_bottom 0x1AB354, 0x1E0, 1 + map_top 0x1AB428, 0x1E0, 1, 1 + +gAreaRoomMaps_HyruleCastleCellar:: @ 081052B4 + .4byte gAreaRoomMap_HyruleCastleCellar_0 + .4byte gAreaRoomMap_HyruleCastleCellar_1 + +gAreaRoomMap_SimonsSimulation_0:: @ 081052BC + map_bottom 0x1AB474, 0x23A, 1 + map_top 0x1AB5A8, 0x23A, 1, 1 + +gAreaRoomMaps_SimonsSimulation:: @ 081052D4 + .4byte gAreaRoomMap_SimonsSimulation_0 + +gAreaRoomMap_40_0:: @ 081052D8 + map_bottom 0x1A93EC, 0x286, 1 + map_top 0x1A958C, 0x286, 1, 1 + +gAreaRoomMap_40_1:: @ 081052F0 + map_bottom 0x1A95F8, 0x30E, 1 + map_top 0x1A982C, 0x30E, 1, 1 + +gAreaRoomMap_40_2:: @ 08105308 + map_bottom 0x1A98CC, 0x286, 1 + map_top 0x1A9A30, 0x286, 1, 1 + +gAreaRoomMap_40_3:: @ 08105320 + map_bottom 0x1A9AD0, 0x286, 1 + map_top 0x1A9C28, 0x286, 1, 1 + +gAreaRoomMap_40_4:: @ 08105338 + map_bottom 0x1A9CC8, 0x30E, 1 + map_top 0x1A9E68, 0x30E, 1, 1 + +gAreaRoomMap_40_5:: @ 08105350 + map_bottom 0x1A9EF4, 0x286, 1 + map_top 0x1AA084, 0x286, 1, 1 + +gAreaRoomMap_40_6:: @ 08105368 + map_bottom 0x1AA114, 0x520, 1 + map_top 0x1AA384, 0x520, 1, 1 + +gAreaRoomMap_40_7:: @ 08105380 + map_bottom 0x1AA468, 0x28A, 1 + map_top 0x1AA5AC, 0x28A, 1, 1 + +gAreaRoomMap_40_8:: @ 08105398 + map_bottom 0x1AA628, 0x200, 1 + map_top 0x1AA72C, 0x200, 1, 1 + +gAreaRoomMaps_40:: @ 081053B0 + .4byte gAreaRoomMap_40_0 + .4byte gAreaRoomMap_40_1 + .4byte gAreaRoomMap_40_2 + .4byte gAreaRoomMap_40_3 + .4byte gAreaRoomMap_40_4 + .4byte gAreaRoomMap_40_5 + .4byte gAreaRoomMap_40_6 + .4byte gAreaRoomMap_40_7 + .4byte gAreaRoomMap_40_8 + +gAreaRoomMap_DeepwoodShrine_0:: @ 081053D4 + map_bottom 0x1BF038, 0x1FE, 1 + map_top 0x1BF14C, 0x1FE, 1, 1 + +gAreaRoomMap_DeepwoodShrine_1:: @ 081053EC + map_bottom 0x1BF274, 0x2EE, 1 + map_top 0x1BF444, 0x2EE, 1, 1 + +gAreaRoomMap_DeepwoodShrine_2:: @ 08105404 + map_bottom 0x1BF5AC, 0x276, 1 + map_top 0x1BF758, 0x276, 1, 1 + +gAreaRoomMap_DeepwoodShrine_3:: @ 0810541C + map_bottom 0x1BF89C, 0x1FE, 1 + map_top 0x1BFA34, 0x1FE, 1, 1 + +gAreaRoomMap_DeepwoodShrine_4:: @ 08105434 + map_bottom 0x1BFB34, 0x154, 1 + map_top 0x1BFC58, 0x154, 1, 1 + +gAreaRoomMap_DeepwoodShrine_5:: @ 0810544C + map_bottom 0x1BFD30, 0x352, 1 + map_top 0x1BFFA0, 0x352, 1, 1 + +gAreaRoomMap_DeepwoodShrine_6:: @ 08105464 + map_bottom 0x1C00F8, 0x5AA, 1 + map_top 0x1C0470, 0x5AA, 1, 1 + +gAreaRoomMap_DeepwoodShrine_7:: @ 0810547C + map_bottom 0x1C063C, 0x352, 1 + map_top 0x1C088C, 0x352, 1, 1 + +gAreaRoomMap_DeepwoodShrine_8:: @ 08105494 + map_bottom 0x1C09C0, 0x198, 1 + map_top 0x1C0AF4, 0x198, 1, 1 + +gAreaRoomMap_DeepwoodShrine_9:: @ 081054AC + map_bottom 0x1C0BEC, 0x1BA, 1 + map_top 0x1C0D48, 0x1BA, 1, 1 + +gAreaRoomMap_DeepwoodShrine_10:: @ 081054C4 + map_bottom 0x1C0E30, 0x2CA, 1 + map_top 0x1C1008, 0x2CA, 1, 1 + +gAreaRoomMap_DeepwoodShrine_11:: @ 081054DC + map_bottom 0x1C1154, 0x2CA, 1 + map_top 0x1C132C, 0x2CA, 1, 1 + +gAreaRoomMap_DeepwoodShrine_12:: @ 081054F4 + map_bottom 0x1C14E4, 0x2CA, 1 + map_top 0x1C1690, 0x2CA, 1, 1 + +gAreaRoomMap_DeepwoodShrine_13:: @ 0810550C + map_bottom 0x1C1800, 0x2EE, 1 + map_top 0x1C1A34, 0x2EE, 1, 1 + +gAreaRoomMap_DeepwoodShrine_14:: @ 08105524 + map_bottom 0x1C1B10, 0x276, 1 + map_top 0x1C1D08, 0x276, 1, 1 + +gAreaRoomMap_DeepwoodShrine_15:: @ 0810553C + map_bottom 0x1C1DDC, 0x198, 1 + map_top 0x1C1F14, 0x198, 1, 1 + +gAreaRoomMap_DeepwoodShrine_16:: @ 08105554 + map_bottom 0x1C1FB4, 0x5AA, 1 + map_top 0x1C2264, 0x5AA, 1, 1 + +gAreaRoomMap_DeepwoodShrine_17:: @ 0810556C + map_bottom 0x1C2490, 0x264, 1 + map_top 0x1C25D4, 0x264, 1, 1 + +gAreaRoomMap_DeepwoodShrineBoss_0:: @ 08105584 + map_bottom 0x1C26EC, 0x1FE, 1 + map_top 0x1C28C4, 0x1FE, 1, 1 + +gAreaRoomMap_DeepwoodShrine_18:: @ 0810559C + map_bottom 0x1C296C, 0x2CA, 1 + map_top 0x1C2B40, 0x2CA, 1, 1 + +gAreaRoomMap_DeepwoodShrine_19:: @ 081055B4 + map_bottom 0x1C2CF4, 0x12C, 1 + map_top 0x1C2D2C, 0x12C, 1, 1 + +gAreaRoomMap_DeepwoodShrineEntry_0:: @ 081055CC + map_bottom 0x1C2D80, 0x1C2, 0 + map_top 0x1C2F44, 0x1C2, 1, 1 + +gAreaRoomMaps_DeepwoodShrine:: @ 081055E4 + .4byte gAreaRoomMap_DeepwoodShrine_0 + .4byte gAreaRoomMap_DeepwoodShrine_1 + .4byte gAreaRoomMap_DeepwoodShrine_2 + .4byte gAreaRoomMap_DeepwoodShrine_3 + .4byte gAreaRoomMap_DeepwoodShrine_4 + .4byte gAreaRoomMap_DeepwoodShrine_5 + .4byte gAreaRoomMap_DeepwoodShrine_6 + .4byte gAreaRoomMap_DeepwoodShrine_7 + .4byte gAreaRoomMap_DeepwoodShrine_8 + .4byte gAreaRoomMap_DeepwoodShrine_9 + .4byte gAreaRoomMap_DeepwoodShrine_10 + .4byte gAreaRoomMap_DeepwoodShrine_11 + .4byte gAreaRoomMap_Unused + .4byte gAreaRoomMap_Unused + .4byte gAreaRoomMap_Unused + .4byte gAreaRoomMap_Unused + .4byte gAreaRoomMap_DeepwoodShrine_12 + .4byte gAreaRoomMap_DeepwoodShrine_13 + .4byte gAreaRoomMap_DeepwoodShrine_14 + .4byte gAreaRoomMap_DeepwoodShrine_15 + .4byte gAreaRoomMap_DeepwoodShrine_16 + .4byte gAreaRoomMap_DeepwoodShrine_17 + .4byte gAreaRoomMap_Unused + .4byte gAreaRoomMap_DeepwoodShrine_18 + .4byte gAreaRoomMap_Unused + .4byte gAreaRoomMap_Unused + .4byte gAreaRoomMap_Unused + .4byte gAreaRoomMap_Unused + .4byte gAreaRoomMap_Unused + .4byte gAreaRoomMap_Unused + .4byte gAreaRoomMap_Unused + .4byte gAreaRoomMap_Unused + .4byte gAreaRoomMap_DeepwoodShrine_19 + +gAreaRoomMaps_DeepwoodShrineBoss:: @ 08105668 + .4byte gAreaRoomMap_DeepwoodShrineBoss_0 + +gAreaRoomMaps_DeepwoodShrineEntry:: @ 0810566C + .4byte gAreaRoomMap_DeepwoodShrineEntry_0 + +gAreaRoomMap_CaveOfFlames_0:: @ 08105670 + map_bottom 0x1D6458, 0x30E, 1 + map_top 0x1D65CC, 0x30E, 1, 1 + +gAreaRoomMap_CaveOfFlames_1:: @ 08105688 + map_bottom 0x1D67A8, 0x30E, 1 + map_top 0x1D6908, 0x30E, 1, 1 + +gAreaRoomMap_CaveOfFlames_2:: @ 081056A0 + map_bottom 0x1D6AE0, 0x4AC, 1 + map_top 0x1D6C00, 0x4AC, 1, 1 + +gAreaRoomMap_CaveOfFlames_3:: @ 081056B8 + map_bottom 0x1D6F10, 0x1BA, 1 + map_top 0x1D6F4C, 0x1BA, 1, 1 + +gAreaRoomMap_CaveOfFlames_4:: @ 081056D0 + map_bottom 0x1D70D4, 0x74E, 1 + map_top 0x1D72BC, 0x74E, 1, 1 + +gAreaRoomMap_CaveOfFlames_5:: @ 081056E8 + map_bottom 0x1D76E8, 0x1BA, 1 + map_top 0x1D7724, 0x1BA, 1, 1 + +gAreaRoomMap_CaveOfFlames_6:: @ 08105700 + map_bottom 0x1D78CC, 0x5B6, 1 + map_top 0x1D7984, 0x5B6, 1, 1 + +gAreaRoomMap_CaveOfFlames_7:: @ 08105718 + map_bottom 0x1D7CF8, 0x1FE, 1 + map_top 0x1D7D3C, 0x1FE, 1, 1 + +gAreaRoomMap_CaveOfFlames_8:: @ 08105730 + map_bottom 0x1D7F00, 0x508, 1 + map_top 0x1D8158, 0x508, 1, 1 + +gAreaRoomMap_CaveOfFlames_9:: @ 08105748 + map_bottom 0x1D8420, 0x508, 1 + map_top 0x1D869C, 0x508, 1, 1 + +gAreaRoomMap_CaveOfFlames_10:: @ 08105760 + map_bottom 0x1D8940, 0x9D8, 1 + map_top 0x1D8CAC, 0x9D8, 1, 1 + +gAreaRoomMap_CaveOfFlames_11:: @ 08105778 + map_bottom 0x1D9094, 0x4EC, 1 + map_top 0x1D9264, 0x4EC, 1, 1 + +gAreaRoomMap_CaveOfFlames_12:: @ 08105790 + map_bottom 0x1D940C, 0x276, 1 + map_top 0x1D956C, 0x276, 1, 1 + +gAreaRoomMap_CaveOfFlames_13:: @ 081057A8 + map_bottom 0x1D9688, 0x276, 1 + map_top 0x1D97E0, 0x276, 1, 1 + +gAreaRoomMap_CaveOfFlames_14:: @ 081057C0 + map_bottom 0x1D992C, 0x276, 1 + map_top 0x1D9A28, 0x276, 1, 1 + +gAreaRoomMap_CaveOfFlames_15:: @ 081057D8 + map_bottom 0x1D9BA8, 0x186, 1 + map_top 0x1D9BE0, 0x186, 1, 1 + +gAreaRoomMap_CaveOfFlames_16:: @ 081057F0 + map_bottom 0x1D9D48, 0x186, 1 + map_top 0x1D9D80, 0x186, 1, 1 + +gAreaRoomMap_CaveOfFlames_17:: @ 08105808 + map_bottom 0x1D9EC8, 0x9D8, 1 + map_top 0x1DA3B4, 0x9D8, 1, 1 + +gAreaRoomMaps_CaveOfFlames:: @ 08105820 + .4byte gAreaRoomMap_CaveOfFlames_0 + .4byte gAreaRoomMap_CaveOfFlames_1 + .4byte gAreaRoomMap_CaveOfFlames_2 + .4byte gAreaRoomMap_CaveOfFlames_3 + .4byte gAreaRoomMap_CaveOfFlames_4 + .4byte gAreaRoomMap_CaveOfFlames_5 + .4byte gAreaRoomMap_CaveOfFlames_6 + .4byte gAreaRoomMap_CaveOfFlames_7 + .4byte gAreaRoomMap_CaveOfFlames_8 + .4byte gAreaRoomMap_CaveOfFlames_9 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte gAreaRoomMap_CaveOfFlames_10 + .4byte gAreaRoomMap_CaveOfFlames_11 + .4byte gAreaRoomMap_CaveOfFlames_12 + .4byte gAreaRoomMap_CaveOfFlames_13 + .4byte gAreaRoomMap_CaveOfFlames_14 + .4byte gAreaRoomMap_CaveOfFlames_15 + .4byte gAreaRoomMap_CaveOfFlames_16 + .4byte gAreaRoomMap_CaveOfFlames_17 + +gAreaRoomMap_CaveOfFlamesBoss_0:: @ 08105880 + map_bottom 0x1DA6E8, 0x360, 1 + map_top 0x1DA990, 0x360, 1, 1 + +gAreaRoomMaps_CaveOfFlamesBoss:: @ 08105898 + .4byte gAreaRoomMap_CaveOfFlamesBoss_0 + +gAreaRoomMap_FortressOfWinds_0:: @ 0810589C + map_bottom 0x1F19E8, 0x1BA, 1 + map_top 0x1F1B1C, 0x1BA, 1, 1 + +gAreaRoomMap_FortressOfWinds_1:: @ 081058B4 + map_bottom 0x1F1BCC, 0x1BA, 1 + map_top 0x1F1CF0, 0x1BA, 1, 1 + +gAreaRoomMap_FortressOfWinds_2:: @ 081058CC + map_bottom 0x1F1DCC, 0x804, 1 + map_top 0x1F213C, 0x804, 1, 1 + +gAreaRoomMap_FortressOfWinds_3:: @ 081058E4 + map_bottom 0x1F23E0, 0x1DC, 1 + map_top 0x1F253C, 0x1DC, 1, 1 + +gAreaRoomMap_FortressOfWinds_4:: @ 081058FC + map_bottom 0x1F2600, 0x364, 1 + map_top 0x1F2834, 0x364, 1, 1 + +gAreaRoomMap_FortressOfWinds_5:: @ 08105914 + map_bottom 0x1F2A14, 0x1BA, 1 + map_top 0x1F2A50, 0x1BA, 1, 1 + +gAreaRoomMap_FortressOfWinds_6:: @ 0810592C + map_bottom 0x1F2C14, 0x1BA, 1 + map_top 0x1F2C9C, 0x1BA, 1, 1 + +gAreaRoomMap_FortressOfWinds_7:: @ 08105944 + map_bottom 0x1F2E0C, 0x374, 1 + map_top 0x1F2FBC, 0x374, 1, 1 + +gAreaRoomMap_FortressOfWinds_8:: @ 0810595C + map_bottom 0x1F3174, 0x1BA, 1 + map_top 0x1F31B0, 0x1BA, 1, 1 + +gAreaRoomMap_FortressOfWinds_9:: @ 08105974 + map_bottom 0x1F3320, 0x374, 1 + map_top 0x1F3390, 0x374, 1, 1 + +gAreaRoomMap_FortressOfWinds_10:: @ 0810598C + map_bottom 0x1F3640, 0x1BA, 1 + map_top 0x1F367C, 0x1BA, 1, 1 + +gAreaRoomMap_FortressOfWinds_11:: @ 081059A4 + map_bottom 0x1F382C, 0x256, 1 + map_top 0x1F3998, 0x256, 1, 1 + +gAreaRoomMap_FortressOfWinds_12:: @ 081059BC + map_bottom 0x1F3A40, 0x1BA, 1 + map_top 0x1F3B3C, 0x1BA, 1, 1 + +gAreaRoomMap_FortressOfWinds_13:: @ 081059D4 + map_bottom 0x1F3C38, 0x1BA, 1 + map_top 0x1F3D10, 0x1BA, 1, 1 + +gAreaRoomMap_FortressOfWinds_14:: @ 081059EC + map_bottom 0x1F3DF0, 0x374, 1 + map_top 0x1F4054, 0x374, 1, 1 + +gAreaRoomMap_FortressOfWinds_15:: @ 08105A04 + map_bottom 0x1F41C4, 0x1BA, 1 + map_top 0x1F42A4, 0x1BA, 1, 1 + +gAreaRoomMap_FortressOfWinds_16:: @ 08105A1C + map_bottom 0x1F4398, 0x1BA, 1 + map_top 0x1F443C, 0x1BA, 1, 1 + +gAreaRoomMap_FortressOfWinds_17:: @ 08105A34 + map_bottom 0x1F458C, 0x1BA, 1 + map_top 0x1F46A4, 0x1BA, 1, 1 + +gAreaRoomMap_FortressOfWinds_18:: @ 08105A4C + map_bottom 0x1F475C, 0x1BA, 1 + map_top 0x1F48A0, 0x1BA, 1, 1 + +gAreaRoomMap_FortressOfWinds_19:: @ 08105A64 + map_bottom 0x1F494C, 0x186, 1 + map_top 0x1F4A34, 0x186, 1, 1 + +gAreaRoomMap_FortressOfWinds_20:: @ 08105A7C + map_bottom 0x1F4AE4, 0x186, 1 + map_top 0x1F4BE8, 0x186, 1, 1 + +gAreaRoomMap_FortressOfWinds_21:: @ 08105A94 + map_bottom 0x1F4C8C, 0x186, 1 + map_top 0x1F4D90, 0x186, 1, 1 + +gAreaRoomMap_FortressOfWinds_22:: @ 08105AAC + map_bottom 0x1F4E3C, 0x186, 1 + map_top 0x1F4F18, 0x186, 1, 1 + +gAreaRoomMap_FortressOfWinds_23:: @ 08105AC4 + map_bottom 0x1F4FB4, 0x1A0, 1 + map_top 0x1F50AC, 0x1A0, 1, 1 + +gAreaRoomMaps_FortressOfWinds:: @ 08105ADC + .4byte gAreaRoomMap_FortressOfWinds_0 + .4byte gAreaRoomMap_FortressOfWinds_1 + .4byte gAreaRoomMap_FortressOfWinds_2 + .4byte gAreaRoomMap_FortressOfWinds_3 + .4byte gAreaRoomMap_FortressOfWinds_4 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte gAreaRoomMap_FortressOfWinds_5 + .4byte gAreaRoomMap_FortressOfWinds_6 + .4byte gAreaRoomMap_FortressOfWinds_7 + .4byte gAreaRoomMap_FortressOfWinds_8 + .4byte gAreaRoomMap_FortressOfWinds_9 + .4byte gAreaRoomMap_FortressOfWinds_10 + .4byte gAreaRoomMap_FortressOfWinds_11 + .4byte gAreaRoomMap_FortressOfWinds_12 + .4byte gAreaRoomMap_FortressOfWinds_13 + .4byte gAreaRoomMap_FortressOfWinds_14 + .4byte gAreaRoomMap_FortressOfWinds_15 + .4byte gAreaRoomMap_FortressOfWinds_16 + .4byte gAreaRoomMap_FortressOfWinds_17 + .4byte gAreaRoomMap_FortressOfWinds_18 + .4byte 0x0 + .4byte 0x0 + .4byte gAreaRoomMap_FortressOfWinds_19 + .4byte gAreaRoomMap_FortressOfWinds_20 + .4byte gAreaRoomMap_FortressOfWinds_21 + .4byte gAreaRoomMap_FortressOfWinds_22 + .4byte gAreaRoomMap_FortressOfWinds_23 + +gAreaRoomMap_FortressOfWindsTop_0:: @ 08105B70 + map_bottom 0x1F55E0, 0x4B0, 1 + map_top 0x1F58B8, 0x4B0, 1, 1 + +gAreaRoomMaps_FortressOfWindsTop:: @ 08105B88 + .4byte gAreaRoomMap_FortressOfWindsTop_0 + +gAreaRoomMap_InnerMazaal_0:: @ 08105B8C + map_bottom 0x1F514C, 0x286, 1 + map_top 0x1F5214, 0x286, 1, 1 + +gAreaRoomMap_InnerMazaal_1:: @ 08105BA4 + map_bottom 0x1F538C, 0x286, 1 + map_top 0x1F5460, 0x286, 1, 1 + +gAreaRoomMaps_InnerMazaal:: @ 08105BBC + .4byte gAreaRoomMap_InnerMazaal_0 + .4byte gAreaRoomMap_InnerMazaal_1 + +gAreaRoomMap_TempleOfDroplets_0:: @ 08105BC4 + map_bottom 0x2052BC, 0x1BA, 1 + map_top 0x2053CC, 0x1BA, 1, 1 + +gAreaRoomMap_TempleOfDroplets_1:: @ 08105BDC + map_bottom 0x205494, 0x1BA, 1 + map_top 0x2055B0, 0x1BA, 1, 1 + +gAreaRoomMap_TempleOfDroplets_2:: @ 08105BF4 + map_bottom 0x205678, 0x1BA, 1 + map_top 0x2057A4, 0x1BA, 1, 1 + +gAreaRoomMap_TempleOfDroplets_3:: @ 08105C0C + map_bottom 0x205858, 0x6B4, 1 + map_top 0x205AA0, 0x6B4, 1, 1 + +gAreaRoomMap_TempleOfDroplets_4:: @ 08105C24 + map_bottom 0x205DA0, 0x1BA, 1 + map_top 0x205E5C, 0x1BA, 1, 1 + +gAreaRoomMap_TempleOfDroplets_5:: @ 08105C3C + map_bottom 0x205FA4, 0x1BA, 1 + map_top 0x205FE0, 0x1BA, 1, 1 + +gAreaRoomMap_TempleOfDroplets_6:: @ 08105C54 + map_bottom 0x206150, 0x30C, 1 + map_top 0x206270, 0x30C, 1, 1 + +gAreaRoomMap_TempleOfDroplets_7:: @ 08105C6C + map_bottom 0x206470, 0x374, 1 + map_top 0x2065BC, 0x374, 1, 1 + +gAreaRoomMap_TempleOfDroplets_8:: @ 08105C84 + map_bottom 0x206798, 0x948, 1 + map_top 0x206AA4, 0x948, 1, 1 + +gAreaRoomMap_TempleOfDroplets_9:: @ 08105C9C + map_bottom 0x206EE4, 0x1BA, 1 + map_top 0x206FBC, 0x1BA, 1, 1 + +gAreaRoomMap_TempleOfDroplets_10:: @ 08105CB4 + map_bottom 0x2070C0, 0x492, 1 + map_top 0x20735C, 0x492, 1, 1 + +gAreaRoomMap_TempleOfDroplets_11:: @ 08105CCC + map_bottom 0x2074E8, 0x1BA, 1 + map_top 0x207620, 0x1BA, 1, 1 + +gAreaRoomMap_TempleOfDroplets_12:: @ 08105CE4 + map_bottom 0x207710, 0x186, 1 + map_top 0x207748, 0x186, 1, 1 + +gAreaRoomMap_TempleOfDroplets_13:: @ 08105CFC + map_bottom 0x20787C, 0x374, 1 + map_top 0x2079F0, 0x374, 1, 1 + +gAreaRoomMap_TempleOfDroplets_14:: @ 08105D14 + map_bottom 0x207BDC, 0x420, 1 + map_top 0x207CFC, 0x420, 1, 1 + +gAreaRoomMap_TempleOfDroplets_15:: @ 08105D2C + map_bottom 0x207E10, 0x1BA, 1 + map_top 0x207F30, 0x1BA, 1, 1 + +gAreaRoomMap_TempleOfDroplets_16:: @ 08105D44 + map_bottom 0x20800C, 0x1BA, 1 + map_top 0x20810C, 0x1BA, 1, 1 + +gAreaRoomMap_TempleOfDroplets_17:: @ 08105D5C + map_bottom 0x20818C, 0x186, 1 + map_top 0x208254, 0x186, 1, 1 + +gAreaRoomMap_TempleOfDroplets_18:: @ 08105D74 + map_bottom 0x208310, 0x374, 1 + map_top 0x20846C, 0x374, 1, 1 + +gAreaRoomMap_TempleOfDroplets_19:: @ 08105D8C + map_bottom 0x2085BC, 0x1BA, 1 + map_top 0x2086EC, 0x1BA, 1, 1 + +gAreaRoomMap_TempleOfDroplets_20:: @ 08105DA4 + map_bottom 0x2087B4, 0x35A, 1 + map_top 0x2088D0, 0x35A, 1, 1 + +gAreaRoomMap_TempleOfDroplets_21:: @ 08105DBC + map_bottom 0x208A3C, 0x1BA, 1 + map_top 0x208B48, 0x1BA, 1, 1 + +gAreaRoomMap_TempleOfDroplets_22:: @ 08105DD4 + map_bottom 0x208BFC, 0x374, 1 + map_top 0x208D38, 0x374, 1, 1 + +gAreaRoomMap_TempleOfDroplets_23:: @ 08105DEC + map_bottom 0x208FF8, 0x1BA, 1 + map_top 0x209110, 0x1BA, 1, 1 + +gAreaRoomMap_TempleOfDroplets_24:: @ 08105E04 + map_bottom 0x20921C, 0x4B0, 1 + map_top 0x2092B4, 0x4B0, 1, 1 + +gAreaRoomMap_TempleOfDroplets_25:: @ 08105E1C + map_bottom 0x20961C, 0x1A4, 1 + map_top 0x209658, 0x1A4, 1, 1 + +gAreaRoomMap_TempleOfDroplets_26:: @ 08105E34 + map_bottom 0x2097C4, 0xA0E, 1 + map_top 0x209BC8, 0xA0E, 1, 1 + +gAreaRoomMap_TempleOfDroplets_27:: @ 08105E4C + map_bottom 0x209F4C, 0x1BA, 1 + map_top 0x20A098, 0x1BA, 1, 1 + +gAreaRoomMap_TempleOfDroplets_28:: @ 08105E64 + map_bottom 0x20A144, 0x186, 1 + map_top 0x20A234, 0x186, 1, 1 + +gAreaRoomMap_TempleOfDroplets_29:: @ 08105E7C + map_bottom 0x20A2CC, 0x492, 1 + map_top 0x20A4CC, 0x492, 1, 1 + +gAreaRoomMap_TempleOfDroplets_30:: @ 08105E94 + map_bottom 0x20A614, 0x186, 1 + map_top 0x20A64C, 0x186, 1, 1 + +gAreaRoomMap_TempleOfDroplets_31:: @ 08105EAC + map_bottom 0x20A784, 0x1BA, 1 + map_top 0x20A834, 0x1BA, 1, 1 + +gAreaRoomMap_TempleOfDroplets_32:: @ 08105EC4 + map_bottom 0x20A980, 0x1BA, 1 + map_top 0x20AA74, 0x1BA, 1, 1 + +gAreaRoomMap_TempleOfDroplets_33:: @ 08105EDC + map_bottom 0x20AB54, 0x186, 1 + map_top 0x20AC10, 0x186, 1, 1 + +gAreaRoomMap_TempleOfDroplets_34:: @ 08105EF4 + map_bottom 0x20ACB4, 0x186, 1 + map_top 0x20ACEC, 0x186, 1, 1 + +gAreaRoomMap_TempleOfDroplets_35:: @ 08105F0C + map_bottom 0x20AE3C, 0x396, 1 + map_top 0x20B03C, 0x396, 1, 1 + +gAreaRoomMap_TempleOfDroplets_36:: @ 08105F24 + map_bottom 0x20B188, 0x1BA, 1 + map_top 0x20B2C0, 0x1BA, 1, 1 + +gAreaRoomMap_TempleOfDroplets_37:: @ 08105F3C + map_bottom 0x20B394, 0x186, 1 + map_top 0x20B4C0, 0x186, 1, 1 + +gAreaRoomMap_TempleOfDroplets_38:: @ 08105F54 + map_bottom 0x20B558, 0x39C, 1 + map_top 0x20B724, 0x39C, 1, 1 + +gAreaRoomMap_TempleOfDroplets_39:: @ 08105F6C + map_bottom 0x20B82C, 0x1DC, 1 + map_top 0x20B950, 0x1DC, 1, 1 + +gAreaRoomMap_TempleOfDroplets_40:: @ 08105F84 + map_bottom 0x20BA0C, 0x1A0, 1 + map_top 0x20BADC, 0x1A0, 1, 1 + +gAreaRoomMaps_TempleOfDroplets:: @ 08105F9C + .4byte gAreaRoomMap_TempleOfDroplets_0 + .4byte gAreaRoomMap_TempleOfDroplets_1 + .4byte gAreaRoomMap_TempleOfDroplets_2 + .4byte gAreaRoomMap_TempleOfDroplets_3 + .4byte gAreaRoomMap_TempleOfDroplets_4 + .4byte gAreaRoomMap_TempleOfDroplets_5 + .4byte gAreaRoomMap_TempleOfDroplets_6 + .4byte gAreaRoomMap_TempleOfDroplets_7 + .4byte gAreaRoomMap_TempleOfDroplets_8 + .4byte gAreaRoomMap_TempleOfDroplets_9 + .4byte gAreaRoomMap_TempleOfDroplets_10 + .4byte gAreaRoomMap_TempleOfDroplets_11 + .4byte gAreaRoomMap_TempleOfDroplets_12 + .4byte gAreaRoomMap_TempleOfDroplets_13 + .4byte gAreaRoomMap_TempleOfDroplets_14 + .4byte gAreaRoomMap_TempleOfDroplets_15 + .4byte gAreaRoomMap_TempleOfDroplets_16 + .4byte gAreaRoomMap_TempleOfDroplets_17 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte gAreaRoomMap_TempleOfDroplets_18 + .4byte gAreaRoomMap_TempleOfDroplets_19 + .4byte gAreaRoomMap_TempleOfDroplets_20 + .4byte gAreaRoomMap_TempleOfDroplets_21 + .4byte gAreaRoomMap_TempleOfDroplets_22 + .4byte gAreaRoomMap_TempleOfDroplets_23 + .4byte gAreaRoomMap_TempleOfDroplets_24 + .4byte gAreaRoomMap_TempleOfDroplets_25 + .4byte gAreaRoomMap_TempleOfDroplets_26 + .4byte gAreaRoomMap_TempleOfDroplets_27 + .4byte gAreaRoomMap_TempleOfDroplets_28 + .4byte gAreaRoomMap_TempleOfDroplets_29 + .4byte gAreaRoomMap_TempleOfDroplets_30 + .4byte gAreaRoomMap_TempleOfDroplets_31 + .4byte gAreaRoomMap_TempleOfDroplets_32 + .4byte gAreaRoomMap_TempleOfDroplets_33 + .4byte gAreaRoomMap_TempleOfDroplets_34 + .4byte gAreaRoomMap_TempleOfDroplets_35 + .4byte gAreaRoomMap_TempleOfDroplets_36 + .4byte gAreaRoomMap_TempleOfDroplets_37 + .4byte gAreaRoomMap_TempleOfDroplets_38 + .4byte gAreaRoomMap_TempleOfDroplets_39 + .4byte gAreaRoomMap_TempleOfDroplets_40 + +gAreaRoomMap_61_0:: @ 08106078 + map_bottom 0x20BBC4, 0x1C2, 1 + map_top 0x20BCF8, 0x1C2, 1, 1 + +gAreaRoomMaps_61:: @ 08106090 + .4byte gAreaRoomMap_61_0 + +gAreaRoomMap_HyruleTownMinishCaves_0:: @ 08106094 + map_bottom 0x20BD3C, 0x330, 1 + map_top 0x20BF18, 0x330, 1, 1 + +gAreaRoomMap_HyruleTownMinishCaves_1:: @ 081060AC + map_bottom 0x20BFC0, 0x2D0, 1 + map_top 0x20C138, 0x2D0, 1, 1 + +gAreaRoomMap_HyruleTownMinishCaves_2:: @ 081060C4 + map_bottom 0x20C1E0, 0x242, 1 + map_top 0x20C2F0, 0x242, 1, 1 + +gAreaRoomMap_HyruleTownMinishCaves_3:: @ 081060DC + map_bottom 0x20C3C4, 0x1FE, 1 + map_top 0x20C408, 0x1FE, 1, 1 + +gAreaRoomMap_HyruleTownMinishCaves_4:: @ 081060F4 + map_bottom 0x20C538, 0x1C2, 1 + map_top 0x20C624, 0x1C2, 1, 1 + +gAreaRoomMap_HyruleTownMinishCaves_5:: @ 0810610C + map_bottom 0x20C6AC, 0x222, 1 + map_top 0x20C7E0, 0x222, 1, 1 + +gAreaRoomMap_HyruleTownMinishCaves_6:: @ 08106124 + map_bottom 0x20C848, 0x1BA, 1 + map_top 0x20C95C, 0x1BA, 1, 1 + +gAreaRoomMap_HyruleTownMinishCaves_7:: @ 0810613C + map_bottom 0x20C998, 0x186, 1 + map_top 0x20CAA4, 0x186, 1, 1 + +gAreaRoomMap_HyruleTownMinishCaves_8:: @ 08106154 + map_bottom 0x20CAFC, 0x24C, 1 + map_top 0x20CC48, 0x24C, 1, 1 + +gAreaRoomMap_HyruleTownMinishCaves_9:: @ 0810616C + map_bottom 0x20CCB8, 0x1DC, 1 + map_top 0x20CDD0, 0x1DC, 1, 1 + +gAreaRoomMap_HyruleTownMinishCaves_10:: @ 08106184 + map_bottom 0x20CE18, 0x348, 1 + map_top 0x20CEF4, 0x348, 1, 1 + +gAreaRoomMaps_HyruleTownMinishCaves:: @ 0810619C + .4byte gAreaRoomMap_HyruleTownMinishCaves_0 + .4byte gAreaRoomMap_HyruleTownMinishCaves_1 + .4byte gAreaRoomMap_HyruleTownMinishCaves_2 + .4byte gAreaRoomMap_HyruleTownMinishCaves_3 + .4byte gAreaRoomMap_HyruleTownMinishCaves_4 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte gAreaRoomMap_HyruleTownMinishCaves_5 + .4byte gAreaRoomMap_HyruleTownMinishCaves_6 + .4byte gAreaRoomMap_HyruleTownMinishCaves_7 + .4byte gAreaRoomMap_HyruleTownMinishCaves_8 + .4byte gAreaRoomMap_HyruleTownMinishCaves_9 + .4byte gAreaRoomMap_HyruleTownMinishCaves_10 + +gAreaRoomMap_RoyalCrypt_0:: @ 081061F4 + map_bottom 0x2159A4, 0x532, 1 + map_top 0x215BCC, 0x532, 1, 1 + +gAreaRoomMap_RoyalCrypt_1:: @ 0810620C + map_bottom 0x215D68, 0x1DC, 1 + map_top 0x215E8C, 0x1DC, 1, 1 + +gAreaRoomMap_RoyalCrypt_2:: @ 08106224 + map_bottom 0x215F08, 0x348, 1 + map_top 0x21602C, 0x348, 1, 1 + +gAreaRoomMap_RoyalCrypt_3:: @ 0810623C + map_bottom 0x216104, 0x2F4, 1 + map_top 0x216278, 0x2F4, 1, 1 + +gAreaRoomMap_RoyalCrypt_4:: @ 08106254 + map_bottom 0x216344, 0x6F0, 1 + map_top 0x216678, 0x6F0, 1, 1 + +gAreaRoomMap_RoyalCrypt_5:: @ 0810626C + map_bottom 0x2167CC, 0x2E4, 1 + map_top 0x216954, 0x2E4, 1, 1 + +gAreaRoomMap_RoyalCrypt_6:: @ 08106284 + map_bottom 0x2169F4, 0x2E4, 1 + map_top 0x216B58, 0x2E4, 1, 1 + +gAreaRoomMap_RoyalCrypt_7:: @ 0810629C + map_bottom 0x216BF0, 0x2EC, 1 + map_top 0x216D48, 0x2EC, 1, 1 + +gAreaRoomMap_RoyalCrypt_8:: @ 081062B4 + map_bottom 0x216E00, 0x154, 1 + map_top 0x216EF0, 0x154, 1, 1 + +gAreaRoomMaps_RoyalCrypt:: @ 081062CC + .4byte gAreaRoomMap_RoyalCrypt_0 + .4byte gAreaRoomMap_RoyalCrypt_1 + .4byte gAreaRoomMap_RoyalCrypt_2 + .4byte gAreaRoomMap_RoyalCrypt_3 + .4byte gAreaRoomMap_RoyalCrypt_4 + .4byte gAreaRoomMap_RoyalCrypt_5 + .4byte gAreaRoomMap_RoyalCrypt_6 + .4byte gAreaRoomMap_RoyalCrypt_7 + .4byte gAreaRoomMap_RoyalCrypt_8 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + +gAreaRoomMap_PalaceOfWinds_0:: @ 0810630C + map_bottom 0x2246C0, 0xA8C, 1 + map_top 0x224A00, 0xA8C, 1, 1 + +gAreaRoomMap_PalaceOfWinds_1:: @ 08106324 + map_bottom 0x224D14, 0x12C, 1 + map_top 0x224E04, 0x12C, 1, 1 + +gAreaRoomMap_PalaceOfWinds_2:: @ 0810633C + map_bottom 0x224E64, 0x1A4, 1 + map_top 0x224FBC, 0x1A4, 1, 1 + +gAreaRoomMap_PalaceOfWinds_3:: @ 08106354 + map_bottom 0x22505C, 0x384, 1 + map_top 0x2252A4, 0x384, 1, 1 + +gAreaRoomMap_PalaceOfWinds_4:: @ 0810636C + map_bottom 0x2253FC, 0x12C, 1 + map_top 0x2254C8, 0x12C, 1, 1 + +gAreaRoomMap_PalaceOfWinds_5:: @ 08106384 + map_bottom 0x225524, 0x384, 1 + map_top 0x22572C, 0x384, 1, 1 + +gAreaRoomMap_PalaceOfWinds_6:: @ 0810639C + map_bottom 0x225850, 0x384, 1 + map_top 0x225A40, 0x384, 1, 1 + +gAreaRoomMap_PalaceOfWinds_7:: @ 081063B4 + map_bottom 0x225B60, 0x384, 1 + map_top 0x225D68, 0x384, 1, 1 + +gAreaRoomMap_PalaceOfWinds_8:: @ 081063CC + map_bottom 0x225E98, 0x258, 1 + map_top 0x22601C, 0x258, 1, 1 + +gAreaRoomMap_PalaceOfWinds_9:: @ 081063E4 + map_bottom 0x226128, 0x12C, 1 + map_top 0x226200, 0x12C, 1, 1 + +gAreaRoomMap_PalaceOfWinds_10:: @ 081063FC + map_bottom 0x226264, 0x186, 1 + map_top 0x226364, 0x186, 1, 1 + +gAreaRoomMap_PalaceOfWinds_11:: @ 08106414 + map_bottom 0x226418, 0x12C, 1 + map_top 0x2264FC, 0x12C, 1, 1 + +gAreaRoomMap_PalaceOfWinds_12:: @ 0810642C + map_bottom 0x226578, 0x1E0, 1 + map_top 0x22663C, 0x1E0, 1, 1 + +gAreaRoomMap_PalaceOfWinds_13:: @ 08106444 + map_bottom 0x2266BC, 0x12C, 1 + map_top 0x22679C, 0x12C, 1, 1 + +gAreaRoomMap_PalaceOfWinds_14:: @ 0810645C + map_bottom 0x226818, 0x258, 1 + map_top 0x226948, 0x258, 1, 1 + +gAreaRoomMap_PalaceOfWinds_15:: @ 08106474 + map_bottom 0x2269F4, 0x708, 1 + map_top 0x226C3C, 0x708, 1, 1 + +gAreaRoomMap_PalaceOfWinds_16:: @ 0810648C + map_bottom 0x226E70, 0xA8C, 1 + map_top 0x2271A4, 0xA8C, 1, 1 + +gAreaRoomMap_PalaceOfWinds_17:: @ 081064A4 + map_bottom 0x22745C, 0x384, 1 + map_top 0x227668, 0x384, 1, 1 + +gAreaRoomMap_PalaceOfWinds_18:: @ 081064BC + map_bottom 0x227774, 0x258, 1 + map_top 0x227860, 0x258, 1, 1 + +gAreaRoomMap_PalaceOfWinds_19:: @ 081064D4 + map_bottom 0x227924, 0x4B0, 1 + map_top 0x227B6C, 0x4B0, 1, 1 + +gAreaRoomMap_PalaceOfWinds_20:: @ 081064EC + map_bottom 0x227D34, 0x258, 1 + map_top 0x227EA8, 0x258, 1, 1 + +gAreaRoomMap_PalaceOfWinds_21:: @ 08106504 + map_bottom 0x227F48, 0x708, 1 + map_top 0x228330, 0x708, 1, 1 + +gAreaRoomMap_PalaceOfWinds_22:: @ 0810651C + map_bottom 0x22856C, 0x4B0, 1 + map_top 0x2287B8, 0x4B0, 1, 1 + +gAreaRoomMap_PalaceOfWinds_23:: @ 08106534 + map_bottom 0x228988, 0x258, 1 + map_top 0x228A58, 0x258, 1, 1 + +gAreaRoomMap_PalaceOfWinds_24:: @ 0810654C + map_bottom 0x228AFC, 0x4B0, 1 + map_top 0x228C7C, 0x4B0, 1, 1 + +gAreaRoomMap_PalaceOfWinds_25:: @ 08106564 + map_bottom 0x228DE4, 0x4B0, 1 + map_top 0x228F90, 0x4B0, 1, 1 + +gAreaRoomMap_PalaceOfWinds_26:: @ 0810657C + map_bottom 0x229138, 0x4B0, 1 + map_top 0x2293A4, 0x4B0, 1, 1 + +gAreaRoomMap_PalaceOfWinds_27:: @ 08106594 + map_bottom 0x229574, 0x12C, 1 + map_top 0x22964C, 0x12C, 1, 1 + +gAreaRoomMap_PalaceOfWinds_28:: @ 081065AC + map_bottom 0x2296D8, 0x12C, 1 + map_top 0x2297C0, 0x12C, 1, 1 + +gAreaRoomMap_PalaceOfWinds_29:: @ 081065C4 + map_bottom 0x229820, 0x12C, 1 + map_top 0x2298F8, 0x12C, 1, 1 + +gAreaRoomMap_PalaceOfWinds_30:: @ 081065DC + map_bottom 0x229978, 0x12C, 1 + map_top 0x229A58, 0x12C, 1, 1 + +gAreaRoomMap_PalaceOfWinds_31:: @ 081065F4 + map_bottom 0x229AD4, 0x12C, 1 + map_top 0x229BA4, 0x12C, 1, 1 + +gAreaRoomMap_PalaceOfWinds_32:: @ 0810660C + map_bottom 0x229C14, 0x12C, 1 + map_top 0x229CE8, 0x12C, 1, 1 + +gAreaRoomMap_PalaceOfWinds_33:: @ 08106624 + map_bottom 0x229D5C, 0xA8C, 1 + map_top 0x22A0F0, 0xA8C, 1, 1 + +gAreaRoomMap_PalaceOfWinds_34:: @ 0810663C + map_bottom 0x22A454, 0x708, 1 + map_top 0x22A760, 0x708, 1, 1 + +gAreaRoomMap_PalaceOfWinds_35:: @ 08106654 + map_bottom 0x22A99C, 0x258, 1 + map_top 0x22AB10, 0x258, 1, 1 + +gAreaRoomMap_PalaceOfWinds_36:: @ 0810666C + map_bottom 0x22ABF0, 0x4B0, 1 + map_top 0x22AD78, 0x4B0, 1, 1 + +gAreaRoomMap_PalaceOfWinds_37:: @ 08106684 + map_bottom 0x22AEC4, 0x12C, 1 + map_top 0x22AFC4, 0x12C, 1, 1 + +gAreaRoomMap_PalaceOfWinds_38:: @ 0810669C + map_bottom 0x22B03C, 0x12C, 1 + map_top 0x22B150, 0x12C, 1, 1 + +gAreaRoomMap_PalaceOfWinds_39:: @ 081066B4 + map_bottom 0x22B1B0, 0x12C, 1 + map_top 0x22B2A8, 0x12C, 1, 1 + +gAreaRoomMap_PalaceOfWinds_40:: @ 081066CC + map_bottom 0x22B324, 0x12C, 1 + map_top 0x22B414, 0x12C, 1, 1 + +gAreaRoomMap_PalaceOfWinds_41:: @ 081066E4 + map_bottom 0x22B498, 0x12C, 1 + map_top 0x22B56C, 0x12C, 1, 1 + +gAreaRoomMap_PalaceOfWinds_42:: @ 081066FC + map_bottom 0x22B5EC, 0x12C, 1 + map_top 0x22B6D8, 0x12C, 1, 1 + +gAreaRoomMap_PalaceOfWinds_43:: @ 08106714 + map_bottom 0x22B758, 0x258, 1 + map_top 0x22B8B4, 0x258, 1, 1 + +gAreaRoomMap_PalaceOfWinds_44:: @ 0810672C + map_bottom 0x22B994, 0x708, 1 + map_top 0x22BC78, 0x708, 1, 1 + +gAreaRoomMap_PalaceOfWinds_45:: @ 08106744 + map_bottom 0x22BE68, 0x708, 1 + map_top 0x22C07C, 0x708, 1, 1 + +gAreaRoomMap_PalaceOfWinds_46:: @ 0810675C + map_bottom 0x22C304, 0x550, 1 + map_top 0x22C4B0, 0x550, 1, 1 + +gAreaRoomMap_PalaceOfWinds_47:: @ 08106774 + map_bottom 0x22C648, 0x12C, 1 + map_top 0x22C6C8, 0x12C, 1, 1 + +gAreaRoomMap_PalaceOfWinds_48:: @ 0810678C + map_bottom 0x22C71C, 0x500, 1 + map_top 0x22C9C0, 0x500, 1, 1 + +gAreaRoomMap_PalaceOfWinds_49:: @ 081067A4 + map_bottom 0x22CB00, 0x3DE, 1 + map_top 0x22CC68, 0x3DE, 1, 1 + +gAreaRoomMap_PalaceOfWinds_50:: @ 081067BC + map_bottom 0x22CD70, 0x708, 1 + map_top 0x22D070, 0x708, 1, 1 + +gAreaRoomMaps_PalaceOfWinds:: @ 081067D4 + .4byte gAreaRoomMap_PalaceOfWinds_0 + .4byte gAreaRoomMap_PalaceOfWinds_1 + .4byte gAreaRoomMap_PalaceOfWinds_2 + .4byte gAreaRoomMap_PalaceOfWinds_3 + .4byte gAreaRoomMap_PalaceOfWinds_4 + .4byte gAreaRoomMap_PalaceOfWinds_5 + .4byte gAreaRoomMap_PalaceOfWinds_6 + .4byte gAreaRoomMap_PalaceOfWinds_7 + .4byte gAreaRoomMap_PalaceOfWinds_8 + .4byte gAreaRoomMap_PalaceOfWinds_9 + .4byte gAreaRoomMap_PalaceOfWinds_10 + .4byte gAreaRoomMap_PalaceOfWinds_11 + .4byte gAreaRoomMap_PalaceOfWinds_12 + .4byte gAreaRoomMap_PalaceOfWinds_13 + .4byte gAreaRoomMap_PalaceOfWinds_14 + .4byte gAreaRoomMap_PalaceOfWinds_15 + .4byte gAreaRoomMap_PalaceOfWinds_16 + .4byte gAreaRoomMap_PalaceOfWinds_17 + .4byte gAreaRoomMap_PalaceOfWinds_18 + .4byte gAreaRoomMap_PalaceOfWinds_19 + .4byte gAreaRoomMap_PalaceOfWinds_20 + .4byte gAreaRoomMap_PalaceOfWinds_21 + .4byte gAreaRoomMap_PalaceOfWinds_22 + .4byte gAreaRoomMap_PalaceOfWinds_23 + .4byte gAreaRoomMap_PalaceOfWinds_24 + .4byte gAreaRoomMap_PalaceOfWinds_25 + .4byte gAreaRoomMap_PalaceOfWinds_26 + .4byte gAreaRoomMap_PalaceOfWinds_27 + .4byte gAreaRoomMap_PalaceOfWinds_28 + .4byte gAreaRoomMap_PalaceOfWinds_29 + .4byte gAreaRoomMap_PalaceOfWinds_30 + .4byte gAreaRoomMap_PalaceOfWinds_31 + .4byte gAreaRoomMap_PalaceOfWinds_32 + .4byte gAreaRoomMap_PalaceOfWinds_33 + .4byte gAreaRoomMap_PalaceOfWinds_34 + .4byte gAreaRoomMap_PalaceOfWinds_35 + .4byte gAreaRoomMap_PalaceOfWinds_36 + .4byte gAreaRoomMap_PalaceOfWinds_37 + .4byte gAreaRoomMap_PalaceOfWinds_38 + .4byte gAreaRoomMap_PalaceOfWinds_39 + .4byte gAreaRoomMap_PalaceOfWinds_40 + .4byte gAreaRoomMap_PalaceOfWinds_41 + .4byte gAreaRoomMap_PalaceOfWinds_42 + .4byte gAreaRoomMap_PalaceOfWinds_43 + .4byte gAreaRoomMap_PalaceOfWinds_44 + .4byte gAreaRoomMap_PalaceOfWinds_45 + .4byte gAreaRoomMap_PalaceOfWinds_46 + .4byte gAreaRoomMap_PalaceOfWinds_47 + .4byte gAreaRoomMap_PalaceOfWinds_48 + .4byte gAreaRoomMap_PalaceOfWinds_49 + .4byte gAreaRoomMap_PalaceOfWinds_50 + +gAreaRoomMap_PalaceOfWindsBoss_0:: @ 081068A0 + map_top 0x22D2B8, 0x1F80, 1, 1 + +gAreaRoomMaps_PalaceOfWindsBoss:: @ 081068AC + .4byte gAreaRoomMap_PalaceOfWindsBoss_0 + +gAreaRoomMap_Sanctuary_0:: @ 081068B0 + map_bottom 0x236A08, 0x6D6, 1 + map_top 0x236D1C, 0x6D6, 1, 1 + +gAreaRoomMap_Sanctuary_1:: @ 081068C8 + map_bottom 0x236E14, 0x910, 1 + map_top 0x237320, 0x910, 1, 1 + +gAreaRoomMap_Sanctuary_2:: @ 081068E0 + map_bottom 0x2375D8, 0x344, 1 + map_top 0x23788C, 0x344, 1, 1 + +gAreaRoomMaps_Sanctuary:: @ 081068F8 + .4byte gAreaRoomMap_Sanctuary_0 + .4byte gAreaRoomMap_Sanctuary_1 + .4byte gAreaRoomMap_Sanctuary_2 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + +gAreaRoomMap_HyruleCastle_0:: @ 08106918 + map_bottom 0x240B44, 0x7CE, 1 + map_top 0x240F30, 0x7CE, 1, 1 + +gAreaRoomMap_HyruleCastle_1:: @ 08106930 + map_bottom 0x241118, 0x7FE, 1 + map_top 0x241424, 0x7FE, 1, 1 + +gAreaRoomMap_HyruleCastle_2:: @ 08106948 + map_bottom 0x2415B0, 0x2EC, 1 + map_top 0x2417B8, 0x2EC, 1, 1 + +gAreaRoomMap_HyruleCastle_3:: @ 08106960 + map_bottom 0x24186C, 0xC94, 1 + map_top 0x241D18, 0xC94, 1, 1 + +gAreaRoomMap_HyruleCastle_4:: @ 08106978 + map_bottom 0x241EF0, 0x1FE, 1 + map_top 0x242044, 0x1FE, 1, 1 + +gAreaRoomMap_HyruleCastle_5:: @ 08106990 + map_bottom 0x2420A4, 0x12C, 1 + map_top 0x24217C, 0x12C, 1, 1 + +gAreaRoomMap_HyruleCastle_6:: @ 081069A8 + map_bottom 0x2421A8, 0x12C, 1 + map_top 0x242274, 0x12C, 1, 1 + +gAreaRoomMaps_HyruleCastle:: @ 081069C0 + .4byte gAreaRoomMap_HyruleCastle_0 + .4byte gAreaRoomMap_HyruleCastle_1 + .4byte gAreaRoomMap_HyruleCastle_2 + .4byte gAreaRoomMap_HyruleCastle_3 + .4byte gAreaRoomMap_HyruleCastle_4 + .4byte gAreaRoomMap_HyruleCastle_5 + .4byte gAreaRoomMap_HyruleCastle_6 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + .4byte 0x0 + +gAreaRoomMap_SanctuaryEntrance_0:: @ 08106A00 + map_bottom 0x247218, 0x396, 1 + map_top 0x24745C, 0x396, 1, 1 + +gAreaRoomMaps_SanctuaryEntrance:: @ 08106A18 + .4byte gAreaRoomMap_SanctuaryEntrance_0 + +gAreaRoomMap_DarkHyruleCastle_0:: @ 08106A1C + map_bottom 0x264EF4, 0xE58, 1 + map_top 0x265378, 0xE58, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_1:: @ 08106A34 + map_bottom 0x2657C8, 0x1BA, 1 + map_top 0x2658A4, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_2:: @ 08106A4C + map_bottom 0x265964, 0x1BA, 1 + map_top 0x265A44, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_3:: @ 08106A64 + map_bottom 0x265B18, 0x1BA, 1 + map_top 0x265C08, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_4:: @ 08106A7C + map_bottom 0x265CD4, 0x1BA, 1 + map_top 0x265DC8, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_5:: @ 08106A94 + map_bottom 0x265E98, 0x444, 1 + map_top 0x2660BC, 0x444, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_6:: @ 08106AAC + map_bottom 0x26620C, 0x2A0, 1 + map_top 0x2663A0, 0x2A0, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_7:: @ 08106AC4 + map_bottom 0x2664A0, 0x374, 1 + map_top 0x2665EC, 0x374, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_8:: @ 08106ADC + map_bottom 0x266730, 0x374, 1 + map_top 0x266910, 0x374, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_9:: @ 08106AF4 + map_bottom 0x266A44, 0x1FE, 1 + map_top 0x266B98, 0x1FE, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_10:: @ 08106B0C + map_bottom 0x266C78, 0x1BA, 1 + map_top 0x266DA4, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_11:: @ 08106B24 + map_bottom 0x266E70, 0x1BA, 1 + map_top 0x266F7C, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_12:: @ 08106B3C + map_bottom 0x26701C, 0x1BA, 1 + map_top 0x26712C, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_13:: @ 08106B54 + map_bottom 0x2671DC, 0x1BA, 1 + map_top 0x2672E8, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_14:: @ 08106B6C + map_bottom 0x2673B4, 0x1BA, 1 + map_top 0x2674F0, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_15:: @ 08106B84 + map_bottom 0x2675D4, 0x1BA, 1 + map_top 0x2676F8, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_16:: @ 08106B9C + map_bottom 0x2677BC, 0x1BA, 1 + map_top 0x2678F0, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_17:: @ 08106BB4 + map_bottom 0x2679D0, 0x2A8, 1 + map_top 0x267B70, 0x2A8, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_18:: @ 08106BCC + map_bottom 0x267C98, 0x2A8, 1 + map_top 0x267E00, 0x2A8, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_19:: @ 08106BE4 + map_bottom 0x267F48, 0x1BA, 1 + map_top 0x268080, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_20:: @ 08106BFC + map_bottom 0x268168, 0x1BA, 1 + map_top 0x2682C8, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_21:: @ 08106C14 + map_bottom 0x2683A4, 0x1BA, 1 + map_top 0x2684CC, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_22:: @ 08106C2C + map_bottom 0x2685A8, 0x1BA, 1 + map_top 0x2686B0, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_23:: @ 08106C44 + map_bottom 0x26876C, 0x374, 1 + map_top 0x268930, 0x374, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_24:: @ 08106C5C + map_bottom 0x268A98, 0x374, 1 + map_top 0x268C2C, 0x374, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_25:: @ 08106C74 + map_bottom 0x268D54, 0x1BA, 1 + map_top 0x268E3C, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_26:: @ 08106C8C + map_bottom 0x268F0C, 0x1BA, 1 + map_top 0x269010, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_27:: @ 08106CA4 + map_bottom 0x2690AC, 0x1BA, 1 + map_top 0x2690E8, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_28:: @ 08106CBC + map_bottom 0x269168, 0x1BA, 1 + map_top 0x269290, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_29:: @ 08106CD4 + map_bottom 0x26936C, 0x374, 1 + map_top 0x2694B0, 0x374, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_30:: @ 08106CEC + map_bottom 0x2695F0, 0x1BA, 1 + map_top 0x2696D4, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_31:: @ 08106D04 + map_bottom 0x269794, 0x1BA, 1 + map_top 0x2698E4, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_32:: @ 08106D1C + map_bottom 0x2699BC, 0x1BA, 1 + map_top 0x269AF0, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_33:: @ 08106D34 + map_bottom 0x269BD8, 0x1BA, 1 + map_top 0x269CE0, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_34:: @ 08106D4C + map_bottom 0x269DB4, 0x1BA, 1 + map_top 0x269ED0, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_35:: @ 08106D64 + map_bottom 0x269FAC, 0x1BA, 1 + map_top 0x269FE8, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_36:: @ 08106D7C + map_bottom 0x26A168, 0x1BA, 1 + map_top 0x26A1A4, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_37:: @ 08106D94 + map_bottom 0x26A2F8, 0x1BA, 1 + map_top 0x26A334, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_38:: @ 08106DAC + map_bottom 0x26A4A0, 0x2A8, 1 + map_top 0x26A5CC, 0x2A8, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_39:: @ 08106DC4 + map_bottom 0x26A70C, 0x2A8, 1 + map_top 0x26A7BC, 0x2A8, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_40:: @ 08106DDC + map_bottom 0x26A940, 0x1BA, 1 + map_top 0x26AA24, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_41:: @ 08106DF4 + map_bottom 0x26AAF8, 0x1BA, 1 + map_top 0x26ABB4, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_42:: @ 08106E0C + map_bottom 0x26AC78, 0x1BA, 1 + map_top 0x26AD44, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_43:: @ 08106E24 + map_bottom 0x26AE18, 0x1BA, 1 + map_top 0x26AEF8, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_44:: @ 08106E3C + map_bottom 0x26AFBC, 0x1BA, 1 + map_top 0x26B094, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_45:: @ 08106E54 + map_bottom 0x26B15C, 0x1BA, 1 + map_top 0x26B250, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_46:: @ 08106E6C + map_bottom 0x26B2F4, 0x1BA, 1 + map_top 0x26B408, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_47:: @ 08106E84 + map_bottom 0x26B4BC, 0x1BA, 1 + map_top 0x26B4F8, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_48:: @ 08106E9C + map_bottom 0x26B658, 0x1BA, 1 + map_top 0x26B694, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_49:: @ 08106EB4 + map_bottom 0x26B7EC, 0x1BA, 1 + map_top 0x26B828, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_50:: @ 08106ECC + map_bottom 0x26B984, 0x1BA, 1 + map_top 0x26B9C0, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_51:: @ 08106EE4 + map_bottom 0x26BB34, 0x2A8, 1 + map_top 0x26BB8C, 0x2A8, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_52:: @ 08106EFC + map_bottom 0x26BD88, 0x2A8, 1 + map_top 0x26BDE0, 0x2A8, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_53:: @ 08106F14 + map_bottom 0x26BFB4, 0x1BA, 1 + map_top 0x26C060, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_54:: @ 08106F2C + map_bottom 0x26C190, 0x1BA, 1 + map_top 0x26C23C, 0x1BA, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_55:: @ 08106F44 + map_bottom 0x26C36C, 0xA5C, 1 + map_top 0x26C578, 0xA5C, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_56:: @ 08106F5C + map_bottom 0x26CB1C, 0x1FE, 1 + map_top 0x26CC54, 0x1FE, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_57:: @ 08106F74 + map_bottom 0x26CD14, 0x3FC, 1 + map_top 0x26CE94, 0x3FC, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_58:: @ 08106F8C + map_bottom 0x26CFD0, 0x264, 1 + map_top 0x26D0C4, 0x264, 1, 1 + +gAreaRoomMap_DarkHyruleCastle_59:: @ 08106FA4 + map_bottom 0x26D194, 0x1BA, 1 + map_top 0x26D1D0, 0x1BA, 1, 1 + +gAreaRoomMaps_DarkHyruleCastle:: @ 08106FBC + .4byte gAreaRoomMap_DarkHyruleCastle_0 + .4byte gAreaRoomMap_DarkHyruleCastle_1 + .4byte gAreaRoomMap_DarkHyruleCastle_2 + .4byte gAreaRoomMap_DarkHyruleCastle_3 + .4byte gAreaRoomMap_DarkHyruleCastle_4 + .4byte gAreaRoomMap_DarkHyruleCastle_5 + .4byte gAreaRoomMap_DarkHyruleCastle_6 + .4byte gAreaRoomMap_DarkHyruleCastle_7 + .4byte gAreaRoomMap_DarkHyruleCastle_8 + .4byte gAreaRoomMap_DarkHyruleCastle_9 + .4byte gAreaRoomMap_DarkHyruleCastle_10 + .4byte gAreaRoomMap_DarkHyruleCastle_11 + .4byte gAreaRoomMap_DarkHyruleCastle_12 + .4byte gAreaRoomMap_DarkHyruleCastle_13 + .4byte gAreaRoomMap_DarkHyruleCastle_14 + .4byte gAreaRoomMap_DarkHyruleCastle_15 + .4byte gAreaRoomMap_DarkHyruleCastle_16 + .4byte gAreaRoomMap_DarkHyruleCastle_17 + .4byte gAreaRoomMap_DarkHyruleCastle_18 + .4byte gAreaRoomMap_DarkHyruleCastle_19 + .4byte gAreaRoomMap_DarkHyruleCastle_20 + .4byte gAreaRoomMap_DarkHyruleCastle_21 + .4byte gAreaRoomMap_DarkHyruleCastle_22 + .4byte gAreaRoomMap_DarkHyruleCastle_23 + .4byte gAreaRoomMap_DarkHyruleCastle_24 + .4byte gAreaRoomMap_DarkHyruleCastle_25 + .4byte gAreaRoomMap_DarkHyruleCastle_26 + .4byte gAreaRoomMap_DarkHyruleCastle_27 + .4byte gAreaRoomMap_DarkHyruleCastle_28 + .4byte gAreaRoomMap_DarkHyruleCastle_29 + .4byte gAreaRoomMap_DarkHyruleCastle_30 + .4byte gAreaRoomMap_DarkHyruleCastle_31 + .4byte gAreaRoomMap_DarkHyruleCastle_32 + .4byte gAreaRoomMap_DarkHyruleCastle_33 + .4byte gAreaRoomMap_DarkHyruleCastle_34 + .4byte gAreaRoomMap_DarkHyruleCastle_35 + .4byte gAreaRoomMap_DarkHyruleCastle_36 + .4byte gAreaRoomMap_DarkHyruleCastle_37 + .4byte gAreaRoomMap_DarkHyruleCastle_38 + .4byte gAreaRoomMap_DarkHyruleCastle_39 + .4byte gAreaRoomMap_DarkHyruleCastle_40 + .4byte gAreaRoomMap_DarkHyruleCastle_41 + .4byte gAreaRoomMap_DarkHyruleCastle_42 + .4byte gAreaRoomMap_DarkHyruleCastle_43 + .4byte gAreaRoomMap_DarkHyruleCastle_44 + .4byte gAreaRoomMap_DarkHyruleCastle_45 + .4byte gAreaRoomMap_DarkHyruleCastle_46 + .4byte gAreaRoomMap_DarkHyruleCastle_47 + .4byte gAreaRoomMap_DarkHyruleCastle_48 + .4byte gAreaRoomMap_DarkHyruleCastle_49 + .4byte gAreaRoomMap_DarkHyruleCastle_50 + .4byte gAreaRoomMap_DarkHyruleCastle_51 + .4byte gAreaRoomMap_DarkHyruleCastle_52 + .4byte gAreaRoomMap_DarkHyruleCastle_53 + .4byte gAreaRoomMap_DarkHyruleCastle_54 + .4byte gAreaRoomMap_DarkHyruleCastle_55 + .4byte gAreaRoomMap_DarkHyruleCastle_56 + .4byte gAreaRoomMap_DarkHyruleCastle_57 + .4byte gAreaRoomMap_DarkHyruleCastle_58 + .4byte gAreaRoomMap_DarkHyruleCastle_59 + +gAreaRoomMap_DarkHyruleCastleOutside_0:: @ 081070AC + map_bottom 0x27647C, 0x2EE, 1 + map_top 0x276694, 0x2EE, 1, 1 + +gAreaRoomMap_DarkHyruleCastleOutside_1:: @ 081070C4 + map_bottom 0x276704, 0x396, 1 + map_top 0x276924, 0x396, 1, 1 + +gAreaRoomMap_DarkHyruleCastleOutside_2:: @ 081070DC + map_bottom 0x2769A0, 0x374, 1 + map_top 0x276A8C, 0x374, 1, 1 + +gAreaRoomMap_DarkHyruleCastleOutside_3:: @ 081070F4 + map_bottom 0x276BE8, 0x52E, 1 + map_top 0x276D2C, 0x52E, 1, 1 + +gAreaRoomMap_DarkHyruleCastleOutside_4:: @ 0810710C + map_bottom 0x276EEC, 0x2A8, 1 + map_top 0x276F78, 0x2A8, 1, 1 + +gAreaRoomMap_DarkHyruleCastleOutside_5:: @ 08107124 + map_bottom 0x27705C, 0x374, 1 + map_top 0x277164, 0x374, 1, 1 + +gAreaRoomMap_DarkHyruleCastleOutside_6:: @ 0810713C + map_bottom 0x2772D0, 0xA5C, 1 + map_top 0x277480, 0xA5C, 1, 1 + +gAreaRoomMap_DarkHyruleCastleOutside_7:: @ 08107154 + map_bottom 0x2776C8, 0x6E8, 1 + map_top 0x277848, 0x6E8, 1, 1 + +gAreaRoomMap_DarkHyruleCastleOutside_8:: @ 0810716C + map_bottom 0x277A28, 0x630, 1 + map_top 0x277AEC, 0x630, 1, 1 + +gAreaRoomMaps_DarkHyruleCastleOutside:: @ 08107184 + .4byte gAreaRoomMap_DarkHyruleCastleOutside_0 + .4byte gAreaRoomMap_DarkHyruleCastleOutside_1 + .4byte gAreaRoomMap_DarkHyruleCastleOutside_2 + .4byte gAreaRoomMap_DarkHyruleCastleOutside_3 + .4byte gAreaRoomMap_DarkHyruleCastleOutside_4 + .4byte gAreaRoomMap_DarkHyruleCastleOutside_5 + .4byte gAreaRoomMap_DarkHyruleCastleOutside_6 + .4byte gAreaRoomMap_DarkHyruleCastleOutside_7 + .4byte gAreaRoomMap_DarkHyruleCastleOutside_8 + +gAreaRoomMap_DarkHyruleCastleBridge_0:: @ 081071A8 + map_bottom 0x26D27C, 0x2A8, 1 + map_top 0x26D470, 0x2A8, 1, 1 + +gAreaRoomMaps_DarkHyruleCastleBridge:: @ 081071C0 + .4byte gAreaRoomMap_DarkHyruleCastleBridge_0 + +gAreaRoomMap_VaatisArms_0:: @ 081071C4 + map_bottom 0x26DA80, 0x214, 1 + map_top 0x26DC40, 0x214, 1, 1 + +gAreaRoomMap_VaatisArms_1:: @ 081071DC + map_bottom 0x26DC98, 0x214, 1 + map_top 0x26DE58, 0x214, 1, 1 + +gAreaRoomMap_VaatisArms_2:: @ 081071F4 + map_bottom 0x26DEB0, 0x214, 1 + map_top 0x26E070, 0x214, 1, 1 + +gAreaRoomMaps_VaatisArms:: @ 0810720C + .4byte gAreaRoomMap_VaatisArms_0 + .4byte gAreaRoomMap_VaatisArms_1 + .4byte gAreaRoomMap_VaatisArms_2 + +gAreaRoomMap_Vaati3_0:: @ 08107218 + map_bottom 0x26D564, 0x294, 1 + map_top 0x26D704, 0x294, 1, 1 + +gAreaRoomMap_Vaati3_1:: @ 08107230 + map_bottom 0x26D75C, 0x210, 1 + map_top 0x26D89C, 0x210, 1, 1 + +gAreaRoomMaps_Vaati3:: @ 08107248 + .4byte gAreaRoomMap_Vaati3_0 + .4byte gAreaRoomMap_Vaati3_1 + +gAreaRoomMap_Vaati2_0:: @ 08107250 + map_bottom 0x26D8E4, 0x294, 1 + map_top 0x26DA24, 0x294, 1, 1 + +gAreaRoomMaps_Vaati2:: @ 08107268 + .4byte gAreaRoomMap_Vaati2_0 + +gAreaRoomMap_47_0:: @ 0810726C + map_bottom 0x277BB0, 0x256, 1 + map_top 0x277CD8, 0x256, 1, 1 + +gAreaRoomMap_47_1:: @ 08107284 + map_bottom 0x277D38, 0x2B2, 1 + map_top 0x277E5C, 0x2B2, 1, 1 + +gAreaRoomMap_47_2:: @ 0810729C + map_bottom 0x277ECC, 0x47E, 1 + map_top 0x2780BC, 0x47E, 1, 1 + +gAreaRoomMaps_47:: @ 081072B4 + .4byte gAreaRoomMap_47_0 + .4byte gAreaRoomMap_47_1 + .4byte gAreaRoomMap_47_2 + +gAreaRoomMap_CastorCaves_0:: @ 081072C0 + map_bottom 0x9FEB4, 0x168, 1 + map_top 0x9FFE4, 0x168, 1, 1 + +gAreaRoomMap_CastorCaves_1:: @ 081072D8 + map_bottom 0xA0030, 0x1B8, 1 + map_top 0xA0194, 0x1B8, 1, 1 + +gAreaRoomMap_CastorCaves_2:: @ 081072F0 + map_bottom 0xA01DC, 0x12C, 1 + map_top 0xA02B4, 0x12C, 1, 1 + +gAreaRoomMap_CastorCaves_3:: @ 08107308 + map_bottom 0xA0328, 0x12C, 1 + map_top 0xA0414, 0x12C, 1, 1 + +gAreaRoomMap_CastorCaves_4:: @ 08107320 + map_bottom 0xA0488, 0x12C, 1 + map_top 0xA058C, 0x12C, 1, 1 + +gAreaRoomMaps_CastorCaves:: @ 08107338 + .4byte gAreaRoomMap_CastorCaves_0 + .4byte gAreaRoomMap_CastorCaves_1 + .4byte gAreaRoomMap_CastorCaves_2 + .4byte gAreaRoomMap_CastorCaves_3 + .4byte gAreaRoomMap_CastorCaves_4 + +gAreaRoomMap_CastorDarknut_0:: @ 0810734C + map_bottom 0xA05C0, 0x1BA, 1 + map_top 0xA0724, 0x1BA, 1, 1 + +gAreaRoomMap_CastorDarknut_1:: @ 08107364 + map_bottom 0xA0768, 0x280, 1 + map_top 0xA08BC, 0x280, 1, 1 + +gAreaRoomMaps_CastorDarknut:: @ 0810737C + .4byte gAreaRoomMap_CastorDarknut_0 + .4byte gAreaRoomMap_CastorDarknut_1 + +gAreaRoomMap_Caves_0:: @ 08107384 + map_bottom 0xB04AC, 0x372, 1 + map_top 0xB06C8, 0x372, 1, 1 + +gAreaRoomMap_Caves_1:: @ 0810739C + map_bottom 0xB0738, 0x2B2, 1 + map_top 0xB090C, 0x2B2, 1, 1 + +gAreaRoomMap_Caves_2:: @ 081073B4 + map_bottom 0xB09B8, 0x12C, 1 + map_top 0xB0ABC, 0x12C, 1, 1 + +gAreaRoomMap_Caves_3:: @ 081073CC + map_bottom 0xB0AE8, 0x12C, 1 + map_top 0xB0BF4, 0x12C, 1, 1 + +gAreaRoomMap_Caves_4:: @ 081073E4 + map_bottom 0xB0C20, 0x12C, 1 + map_top 0xB0D10, 0x12C, 1, 1 + +gAreaRoomMap_Caves_5:: @ 081073FC + map_bottom 0xB0D3C, 0x12C, 1 + map_top 0xB0E08, 0x12C, 1, 1 + +gAreaRoomMap_Caves_6:: @ 08107414 + map_bottom 0xB0E34, 0x1A4, 1 + map_top 0xB0F48, 0x1A4, 1, 1 + +gAreaRoomMap_Caves_7:: @ 0810742C + map_bottom 0xB0FE0, 0x12C, 1 + map_top 0xB10E8, 0x12C, 1, 1 + +gAreaRoomMap_Caves_8:: @ 08107444 + map_bottom 0xB113C, 0x12C, 1 + map_top 0xB1250, 0x12C, 1, 1 + +gAreaRoomMap_Caves_9:: @ 0810745C + map_bottom 0xB1290, 0x12C, 1 + map_top 0xB1390, 0x12C, 1, 1 + +gAreaRoomMap_Caves_10:: @ 08107474 + map_bottom 0xB13F0, 0x12C, 1 + map_top 0xB14EC, 0x12C, 1, 1 + +gAreaRoomMap_Caves_11:: @ 0810748C + map_bottom 0xB1520, 0x12C, 1 + map_top 0xB1624, 0x12C, 1, 1 + +gAreaRoomMap_Caves_12:: @ 081074A4 + map_bottom 0xB1658, 0x1E0, 1 + map_top 0xB17C0, 0x1E0, 1, 1 + +gAreaRoomMap_Caves_13:: @ 081074BC + map_bottom 0xB183C, 0x1E0, 1 + map_top 0xB1940, 0x1E0, 1, 1 + +gAreaRoomMap_Caves_14:: @ 081074D4 + map_bottom 0xB19D0, 0x208, 1 + map_top 0xB1B00, 0x208, 1, 1 + +gAreaRoomMap_Caves_15:: @ 081074EC + map_bottom 0xB1B7C, 0x12C, 1 + map_top 0xB1C88, 0x12C, 1, 1 + +gAreaRoomMap_Caves_16:: @ 08107504 + map_bottom 0xB1CBC, 0x12C, 1 + map_top 0xB1DAC, 0x12C, 1, 1 + +gAreaRoomMap_Caves_17:: @ 0810751C + map_bottom 0xB1DE0, 0x12C, 1 + map_top 0xB1EDC, 0x12C, 1, 1 + +gAreaRoomMap_Caves_18:: @ 08107534 + map_bottom 0xB1F10, 0x12C, 1 + map_top 0xB200C, 0x12C, 1, 1 + +gAreaRoomMap_Caves_19:: @ 0810754C + map_bottom 0xB2038, 0x12C, 1 + map_top 0xB2124, 0x12C, 1, 1 + +gAreaRoomMap_Caves_20:: @ 08107564 + map_bottom 0xB2174, 0x12C, 1 + map_top 0xB225C, 0x12C, 1, 1 + +gAreaRoomMap_Caves_21:: @ 0810757C + map_bottom 0xB2294, 0x1C2, 1 + map_top 0xB2374, 0x1C2, 1, 1 + +gAreaRoomMap_Caves_22:: @ 08107594 + map_bottom 0xB2410, 0x12C, 1 + map_top 0xB2524, 0x12C, 1, 1 + +gAreaRoomMap_Caves_23:: @ 081075AC + map_bottom 0xB2560, 0x12C, 1 + map_top 0xB2624, 0x12C, 1, 1 + +gAreaRoomMaps_Caves:: @ 081075C4 + .4byte gAreaRoomMap_Caves_0 + .4byte gAreaRoomMap_Caves_1 + .4byte gAreaRoomMap_Caves_2 + .4byte gAreaRoomMap_Caves_3 + .4byte gAreaRoomMap_Caves_4 + .4byte gAreaRoomMap_Caves_5 + .4byte gAreaRoomMap_Caves_6 + .4byte gAreaRoomMap_Caves_7 + .4byte gAreaRoomMap_Caves_8 + .4byte gAreaRoomMap_Caves_9 + .4byte gAreaRoomMap_Caves_10 + .4byte gAreaRoomMap_Caves_11 + .4byte gAreaRoomMap_Caves_12 + .4byte gAreaRoomMap_Caves_13 + .4byte gAreaRoomMap_Caves_14 + .4byte gAreaRoomMap_Caves_15 + .4byte gAreaRoomMap_Caves_16 + .4byte gAreaRoomMap_Caves_17 + .4byte gAreaRoomMap_Caves_18 + .4byte gAreaRoomMap_Caves_19 + .4byte gAreaRoomMap_Caves_20 + .4byte gAreaRoomMap_Caves_21 + .4byte gAreaRoomMap_Caves_22 + .4byte gAreaRoomMap_Caves_23 + +gAreaRoomMap_VeilFallsCaves_0:: @ 08107624 + map_bottom 0xB2658, 0x1A4, 1 + map_top 0xB277C, 0x1A4, 1, 1 + +gAreaRoomMap_VeilFallsCaves_1:: @ 0810763C + map_bottom 0xB27E8, 0x2D0, 1 + map_top 0xB297C, 0x2D0, 1, 1 + +gAreaRoomMap_VeilFallsCaves_2:: @ 08107654 + map_bottom 0xB2A3C, 0x186, 1 + map_top 0xB2B18, 0x186, 1, 1 + +gAreaRoomMap_VeilFallsCaves_3:: @ 0810766C + map_bottom 0xB2BAC, 0x1E0, 1 + map_top 0xB2CE8, 0x1E0, 1, 1 + +gAreaRoomMap_VeilFallsCaves_4:: @ 08107684 + map_bottom 0xB2D34, 0x12C, 1 + map_top 0xB2E14, 0x12C, 1, 1 + +gAreaRoomMap_VeilFallsCaves_5:: @ 0810769C + map_bottom 0xB2E88, 0x12C, 1 + map_top 0xB2F50, 0x12C, 1, 1 + +gAreaRoomMap_VeilFallsCaves_6:: @ 081076B4 + map_bottom 0xB2FD8, 0x12C, 1 + map_top 0xB309C, 0x12C, 1, 1 + +gAreaRoomMap_VeilFallsCaves_7:: @ 081076CC + map_bottom 0xB310C, 0x258, 1 + map_top 0xB328C, 0x258, 1, 1 + +gAreaRoomMap_VeilFallsCaves_8:: @ 081076E4 + map_bottom 0xB3318, 0x258, 1 + map_top 0xB34E8, 0x258, 1, 1 + +gAreaRoomMap_VeilFallsCaves_9:: @ 081076FC + map_bottom 0xB3578, 0x12C, 1 + map_top 0xB3694, 0x12C, 1, 1 + +gAreaRoomMaps_VeilFallsCaves:: @ 08107714 + .4byte gAreaRoomMap_VeilFallsCaves_0 + .4byte gAreaRoomMap_VeilFallsCaves_1 + .4byte gAreaRoomMap_VeilFallsCaves_2 + .4byte gAreaRoomMap_VeilFallsCaves_3 + .4byte gAreaRoomMap_VeilFallsCaves_4 + .4byte gAreaRoomMap_VeilFallsCaves_5 + .4byte gAreaRoomMap_VeilFallsCaves_6 + .4byte gAreaRoomMap_VeilFallsCaves_7 + .4byte gAreaRoomMap_VeilFallsCaves_8 + .4byte gAreaRoomMap_VeilFallsCaves_9 + +gAreaRoomMap_RoyalValleyGraves_0:: @ 0810773C + map_bottom 0xB36C8, 0x12C, 1 + map_top 0xB37E4, 0x12C, 1, 1 + +gAreaRoomMap_RoyalValleyGraves_1:: @ 08107754 + map_bottom 0xB3818, 0x258, 1 + map_top 0xB3984, 0x258, 1, 1 + +gAreaRoomMaps_RoyalValleyGraves:: @ 0810776C + .4byte gAreaRoomMap_RoyalValleyGraves_0 + .4byte gAreaRoomMap_RoyalValleyGraves_1 + +gAreaRoomMap_45_0:: @ 08107774 + map_bottom 0x278158, 0x1FE, 1 + map_top 0x27828C, 0x1FE, 1, 1 + +gAreaRoomMaps_45:: @ 0810778C + .4byte gAreaRoomMap_45_0 + +gAreaRoomMap_46_0:: @ 08107790 + map_bottom 0x2782D0, 0x286, 1 + map_top 0x278454, 0x286, 1, 1 + +gAreaRoomMap_46_1:: @ 081077A8 + map_bottom 0x2784C4, 0x30E, 1 + map_top 0x2786E0, 0x30E, 1, 1 + +gAreaRoomMap_46_2:: @ 081077C0 + map_bottom 0x278790, 0x286, 1 + map_top 0x278908, 0x286, 1, 1 + +gAreaRoomMap_46_3:: @ 081077D8 + map_bottom 0x2789A0, 0x286, 1 + map_top 0x278AEC, 0x286, 1, 1 + +gAreaRoomMap_46_4:: @ 081077F0 + map_bottom 0x278B88, 0x30E, 1 + map_top 0x278D38, 0x30E, 1, 1 + +gAreaRoomMap_46_5:: @ 08107808 + map_bottom 0x278DDC, 0x286, 1 + map_top 0x278F2C, 0x286, 1, 1 + +gAreaRoomMap_46_6:: @ 08107820 + map_bottom 0x278FA8, 0x720, 1 + map_top 0x27921C, 0x720, 1, 1 + +gAreaRoomMap_46_7:: @ 08107838 + map_bottom 0x27932C, 0x2F2, 1 + map_top 0x2794A4, 0x2F2, 1, 1 + +gAreaRoomMaps_46:: @ 08107850 + .4byte gAreaRoomMap_46_0 + .4byte gAreaRoomMap_46_1 + .4byte gAreaRoomMap_46_2 + .4byte gAreaRoomMap_46_3 + .4byte gAreaRoomMap_46_4 + .4byte gAreaRoomMap_46_5 + .4byte gAreaRoomMap_46_6 + .4byte gAreaRoomMap_46_7 + +gAreaRoomMap_08107870:: @ 08107870 + map_bottom 0x279520, 0xC80, 1 + map_top 0x2799B0, 0xC80, 1, 1 + +@ Unused +gAreaRoomMaps_08107888:: @ 08107888 + .4byte gAreaRoomMap_08107870 + +gAreaRoomMap_4D_0:: @ 0810788C + map_bottom 0x279D28, 0xCD0, 1 + map_top 0x27A2F4, 0xCD0, 1, 1 + +gAreaRoomMaps_4D:: @ 081078A4 + .4byte gAreaRoomMap_4D_0 + +gAreaRoomMap_57_0:: @ 081078A8 + map_bottom 0x27A574, 0xC80, 1 + map_top 0x27AAE4, 0xC80, 1, 1 + +gAreaRoomMaps_57:: @ 081078C0 + .4byte gAreaRoomMap_57_0 + +gAreaRoomMap_5F_0:: @ 081078C4 + map_bottom 0x27AD50, 0xC80, 1 + map_top 0x27B118, 0xC80, 1, 1 + +gAreaRoomMaps_5F:: @ 081078DC + .4byte gAreaRoomMap_5F_0 + +gAreaRoomMap_67_0:: @ 081078E0 + map_bottom 0x27B3A0, 0x12C, 1 + map_top 0x27B470, 0x12C, 1, 1 + +gAreaRoomMaps_67:: @ 081078F8 + .4byte gAreaRoomMap_67_0 + +gAreaRoomMap_6F_0:: @ 081078FC + map_bottom 0x27B4AC, 0xC80, 1 + map_top 0x27B974, 0xC80, 1, 1 + +gAreaRoomMaps_6F:: @ 08107914 + .4byte gAreaRoomMap_6F_0 + +gAreaRoomMap_77_0:: @ 08107918 + map_bottom 0x27BCCC, 0x1040, 1 + map_top 0x27C2C8, 0x1040, 1, 1 + +gAreaRoomMaps_77:: @ 08107930 + .4byte gAreaRoomMap_77_0 + +gAreaRoomMap_7F_0:: @ 08107934 + map_bottom 0x27C720, 0xC80, 1 + map_top 0x27CC28, 0xC80, 1, 1 + +gAreaRoomMaps_7F:: @ 0810794C + .4byte gAreaRoomMap_7F_0 + +gAreaRoomMap_87_0:: @ 08107950 + map_bottom 0x27CF58, 0xF3C, 1 + map_top 0x27D71C, 0xF3C, 1, 1 + +gAreaRoomMaps_87:: @ 08107968 + .4byte gAreaRoomMap_87_0 + +gAreaRoomMap_8F_0:: @ 0810796C + map_bottom 0x27DA00, 0xFA0, 1 + map_top 0x27DFF4, 0xFA0, 1, 1 + +gAreaRoomMaps_8F:: @ 08107984 + .4byte gAreaRoomMap_8F_0 + +gAreaRoomMaps:: @ 08107988 + .4byte gAreaRoomMaps_MinishWoods @ 0x0 + .4byte gAreaRoomMaps_MinishVillage @ 0x1 + .4byte gAreaRoomMaps_HyruleTown @ 0x2 + .4byte gAreaRoomMaps_HyruleField @ 0x3 + .4byte gAreaRoomMaps_CastorWilds @ 0x4 + .4byte gAreaRoomMaps_Ruins @ 0x5 + .4byte gAreaRoomMaps_MtCrenel @ 0x6 + .4byte gAreaRoomMaps_CastleGarden @ 0x7 + .4byte gAreaRoomMaps_CloudTops @ 0x8 + .4byte gAreaRoomMaps_RoyalValley @ 0x9 + .4byte gAreaRoomMaps_VeilFalls @ 0xA + .4byte gAreaRoomMaps_LakeHylia @ 0xB + .4byte gAreaRoomMaps_LakeWoodsCave @ 0xC + .4byte gAreaRoomMaps_Beanstalks @ 0xD + .4byte gAreaRoomMaps_Empty @ 0xE + .4byte gAreaRoomMaps_HyruleDigCaves @ 0xF + .4byte gAreaRoomMaps_MelarisMine @ 0x10 + .4byte gAreaRoomMaps_MinishPaths1 @ 0x11 + .4byte gAreaRoomMaps_CrenelMinishPaths @ 0x12 + .4byte gAreaRoomMaps_DigCaves1 @ 0x13 + .4byte gAreaRoomMaps_CrenelDigCave @ 0x14 + .4byte gAreaRoomMaps_FestivalTown @ 0x15 + .4byte gAreaRoomMaps_VeilFallsDigCave @ 0x16 + .4byte gAreaRoomMaps_CastorWildsDigCave @ 0x17 + .4byte gAreaRoomMaps_OuterFortressOfWinds @ 0x18 + .4byte gAreaRoomMaps_HyliaDigCaves @ 0x19 + .4byte gAreaRoomMaps_VeilFallsTop @ 0x1A + .4byte gAreaRoomMaps_Unused @ 0x1B + .4byte gAreaRoomMaps_Unused @ 0x1C + .4byte gAreaRoomMaps_Unused @ 0x1D + .4byte gAreaRoomMaps_Unused @ 0x1E + .4byte gAreaRoomMaps_Unused @ 0x1F + .4byte gAreaRoomMaps_MinishHouseInteriors @ 0x20 + .4byte gAreaRoomMaps_HouseInteriors1 @ 0x21 + .4byte gAreaRoomMaps_HouseInteriors2 @ 0x22 + .4byte gAreaRoomMaps_HouseInteriors3 @ 0x23 + .4byte gAreaRoomMaps_TreeInteriors @ 0x24 + .4byte gAreaRoomMaps_Dojos @ 0x25 + .4byte gAreaRoomMaps_CrenelCaves @ 0x26 + .4byte gAreaRoomMaps_MinishCracks @ 0x27 + .4byte gAreaRoomMaps_HouseInteriors4 @ 0x28 + .4byte gAreaRoomMaps_GreatFairies @ 0x29 + .4byte gAreaRoomMaps_CastorCaves @ 0x2A + .4byte gAreaRoomMaps_CastorDarknut @ 0x2B + .4byte gAreaRoomMaps_ArmosInteriors @ 0x2C + .4byte gAreaRoomMaps_TownMinishHoles @ 0x2D + .4byte gAreaRoomMaps_MinishRafters @ 0x2E + .4byte gAreaRoomMaps_GoronCave @ 0x2F + .4byte gAreaRoomMaps_WindTribeTower @ 0x30 + .4byte gAreaRoomMaps_WindTribeTowerRoof @ 0x31 + .4byte gAreaRoomMaps_Caves @ 0x32 + .4byte gAreaRoomMaps_VeilFallsCaves @ 0x33 + .4byte gAreaRoomMaps_RoyalValleyGraves @ 0x34 + .4byte gAreaRoomMaps_MinishCaves @ 0x35 + .4byte gAreaRoomMaps_CastleGardenMinishHoles @ 0x36 + .4byte gAreaRoomMaps_37 @ 0x37 + .4byte gAreaRoomMaps_EzloCutscene @ 0x38 + .4byte gAreaRoomMaps_Unused @ 0x39 + .4byte gAreaRoomMaps_Unused @ 0x3A + .4byte gAreaRoomMaps_Unused @ 0x3B + .4byte gAreaRoomMaps_Unused @ 0x3C + .4byte gAreaRoomMaps_Unused @ 0x3D + .4byte gAreaRoomMaps_Unused @ 0x3E + .4byte gAreaRoomMaps_Unused @ 0x3F + .4byte gAreaRoomMaps_40 @ 0x40 + .4byte gAreaRoomMaps_HyruleTownUnderground @ 0x41 + .4byte gAreaRoomMaps_GardenFountains @ 0x42 + .4byte gAreaRoomMaps_HyruleCastleCellar @ 0x43 + .4byte gAreaRoomMaps_SimonsSimulation @ 0x44 + .4byte gAreaRoomMaps_45 @ 0x45 + .4byte gAreaRoomMaps_46 @ 0x46 + .4byte gAreaRoomMaps_47 @ 0x47 + .4byte gAreaRoomMaps_DeepwoodShrine @ 0x48 + .4byte gAreaRoomMaps_DeepwoodShrineBoss @ 0x49 + .4byte gAreaRoomMaps_DeepwoodShrineEntry @ 0x4A + .4byte gAreaRoomMaps_Unused @ 0x4B + .4byte gAreaRoomMaps_Unused @ 0x4C + .4byte gAreaRoomMaps_4D @ 0x4D + .4byte gAreaRoomMaps_Unused @ 0x4E + .4byte gAreaRoomMaps_Unused @ 0x4F + .4byte gAreaRoomMaps_CaveOfFlames @ 0x50 + .4byte gAreaRoomMaps_CaveOfFlamesBoss @ 0x51 + .4byte gAreaRoomMaps_Unused @ 0x52 + .4byte gAreaRoomMaps_Unused @ 0x53 + .4byte gAreaRoomMaps_Unused @ 0x54 + .4byte gAreaRoomMaps_Unused @ 0x55 + .4byte gAreaRoomMaps_Unused @ 0x56 + .4byte gAreaRoomMaps_57 @ 0x57 + .4byte gAreaRoomMaps_FortressOfWinds @ 0x58 + .4byte gAreaRoomMaps_FortressOfWindsTop @ 0x59 + .4byte gAreaRoomMaps_InnerMazaal @ 0x5A + .4byte gAreaRoomMaps_Unused @ 0x5B + .4byte gAreaRoomMaps_Unused @ 0x5C + .4byte gAreaRoomMaps_Unused @ 0x5D + .4byte gAreaRoomMaps_Unused @ 0x5E + .4byte gAreaRoomMaps_5F @ 0x5F + .4byte gAreaRoomMaps_TempleOfDroplets @ 0x60 + .4byte gAreaRoomMaps_61 @ 0x61 + .4byte gAreaRoomMaps_HyruleTownMinishCaves @ 0x62 + .4byte gAreaRoomMaps_Unused @ 0x63 + .4byte gAreaRoomMaps_Unused @ 0x64 + .4byte gAreaRoomMaps_Unused @ 0x65 + .4byte gAreaRoomMaps_Unused @ 0x66 + .4byte gAreaRoomMaps_67 @ 0x67 + .4byte gAreaRoomMaps_RoyalCrypt @ 0x68 + .4byte gAreaRoomMaps_Unused @ 0x69 + .4byte gAreaRoomMaps_Unused @ 0x6A + .4byte gAreaRoomMaps_Unused @ 0x6B + .4byte gAreaRoomMaps_Unused @ 0x6C + .4byte gAreaRoomMaps_Unused @ 0x6D + .4byte gAreaRoomMaps_Unused @ 0x6E + .4byte gAreaRoomMaps_6F @ 0x6F + .4byte gAreaRoomMaps_PalaceOfWinds @ 0x70 + .4byte gAreaRoomMaps_PalaceOfWindsBoss @ 0x71 + .4byte gAreaRoomMaps_Unused @ 0x72 + .4byte gAreaRoomMaps_Unused @ 0x73 + .4byte gAreaRoomMaps_Unused @ 0x74 + .4byte gAreaRoomMaps_Unused @ 0x75 + .4byte gAreaRoomMaps_Unused @ 0x76 + .4byte gAreaRoomMaps_77 @ 0x77 + .4byte gAreaRoomMaps_Sanctuary @ 0x78 + .4byte gAreaRoomMaps_Unused @ 0x79 + .4byte gAreaRoomMaps_Unused @ 0x7A + .4byte gAreaRoomMaps_Unused @ 0x7B + .4byte gAreaRoomMaps_Unused @ 0x7C + .4byte gAreaRoomMaps_Unused @ 0x7D + .4byte gAreaRoomMaps_Unused @ 0x7E + .4byte gAreaRoomMaps_7F @ 0x7F + .4byte gAreaRoomMaps_HyruleCastle @ 0x80 + .4byte gAreaRoomMaps_SanctuaryEntrance @ 0x81 + .4byte gAreaRoomMaps_Unused @ 0x82 + .4byte gAreaRoomMaps_Unused @ 0x83 + .4byte gAreaRoomMaps_Unused @ 0x84 + .4byte gAreaRoomMaps_Unused @ 0x85 + .4byte gAreaRoomMaps_Unused @ 0x86 + .4byte gAreaRoomMaps_87 @ 0x87 + .4byte gAreaRoomMaps_DarkHyruleCastle @ 0x88 + .4byte gAreaRoomMaps_DarkHyruleCastleOutside @ 0x89 + .4byte gAreaRoomMaps_VaatisArms @ 0x8A + .4byte gAreaRoomMaps_Vaati3 @ 0x8B + .4byte gAreaRoomMaps_Vaati2 @ 0x8C + .4byte gAreaRoomMaps_DarkHyruleCastleBridge @ 0x8D + .4byte gAreaRoomMaps_Unused @ 0x8E + .4byte gAreaRoomMaps_8F @ 0x8F diff --git a/data/metatile_headers.s b/data/metatile_headers.s new file mode 100755 index 00000000..eb154c7e --- /dev/null +++ b/data/metatile_headers.s @@ -0,0 +1,473 @@ + .include "asm/macros.inc" + .include "constants/constants.inc" + + .section .rodata + .align 2 + +gAreaMetatiles_MinishWoods:: @ 081026AC + metatiles_bottom 0x7704, 0x4000, 1 + metatiles_top 0x9280, 0x3FF0, 1 + metatile_types_bottom 0xA00C, 0x1000, 1 + metatile_types_top 0xA43C, 0xFFC, 1, 1 + +gAreaMetatiles_LakeHylia:: @ 081026DC + metatiles_bottom 0x12A34, 0x4000, 1 + metatiles_top 0x1420C, 0x3FF0, 1 + metatile_types_bottom 0x1500C, 0x1000, 1 + metatile_types_top 0x15484, 0xFFC, 1, 1 + +gAreaMetatiles_CastorWilds:: @ 0810270C + metatiles_bottom 0x1D5E0, 0x4000, 1 + metatiles_top 0x1F310, 0x3FF0, 1 + metatile_types_bottom 0x20144, 0x1000, 1 + metatile_types_top 0x2062C, 0xFFC, 1, 1 + +gAreaMetatiles_HyruleTown:: @ 0810273C + metatiles_bottom 0x29774, 0x4000, 1 + metatiles_top 0x2B788, 0x3FF0, 1 + metatile_types_bottom 0x2D47C, 0x1000, 1 + metatile_types_top 0x2D984, 0xFFC, 1, 1 + +gAreaMetatiles_MtCrenel:: @ 0810276C + metatiles_bottom 0x43FF0, 0x4000, 1 + metatiles_top 0x45D0C, 0x3FF0, 1 + metatile_types_bottom 0x46BA4, 0x1000, 1 + metatile_types_top 0x4712C, 0xFFC, 1, 1 + +gAreaMetatiles_HyruleField:: @ 0810279C + metatiles_bottom 0x5D3B8, 0x4000, 1 + metatiles_top 0x5F584, 0x3FF0, 1 + metatile_types_bottom 0x6064C, 0x1000, 1 + metatile_types_top 0x60C64, 0xFFC, 1, 1 + +gAreaMetatiles_CastleGarden:: @ 081027CC + metatiles_bottom 0x6B79C, 0x3000, 1 + metatiles_top 0x6CD14, 0x3FF0, 1 + metatile_types_bottom 0x6D7A8, 0xC00, 1 + metatile_types_top 0x6DAE4, 0xFFC, 1, 1 + +gAreaMetatiles_CloudTops:: @ 081027FC + metatiles_bottom 0x72898, 0x3FB0, 1 + metatiles_top 0x73B54, 0x3FF0, 1 + metatile_types_bottom 0x74534, 0xFEC, 1 + metatile_types_top 0x74824, 0xFFC, 1, 1 + +gAreaMetatiles_RoyalValley:: @ 0810282C + metatiles_bottom 0x7CAB8, 0x4000, 1 + metatiles_top 0x7DBEC, 0x3FF0, 1 + metatile_types_bottom 0x7E6F8, 0x1000, 1 + metatile_types_top 0x7EA4C, 0xFFC, 1, 1 + +gAreaMetatiles_Beanstalks:: @ 0810285C + metatiles_bottom 0x8B610, 0x5A8, 1 + metatile_types_bottom 0x8B930, 0x16A, 1, 1 + +gAreaMetatiles_CrenelCaves:: @ 08102874 + metatiles_bottom 0x93F04, 0x3F80, 1 + metatiles_top 0x95ED0, 0x3F40, 1 + metatile_types_bottom 0x9775C, 0xFE0, 1 + metatile_types_top 0x97D58, 0xFD0, 1, 1 + +gAreaMetatiles_GreatFairies:: @ 081028A4 + metatiles_bottom 0x9E2D0, 0x17A8, 1 + metatiles_top 0x9EF9C, 0x1070, 1 + metatile_types_bottom 0x9F4D0, 0x5EA, 1 + metatile_types_top 0x9F650, 0x41C, 1, 1 + +gAreaMetatiles_MinishVillage:: @ 081028D4 + metatiles_bottom 0xD9690, 0x35A8, 1 + metatiles_top 0xDB294, 0x3228, 1 + metatile_types_bottom 0xDC79C, 0xD6A, 1 + metatile_types_top 0xDCA88, 0xC8A, 1, 1 + +gAreaMetatiles_MelarisMine:: @ 08102904 + metatiles_bottom 0xE8D1C, 0x27C0, 1 + metatiles_top 0xEA3A0, 0x308, 1 + metatile_types_bottom 0xEA464, 0x9F0, 1 + metatile_types_top 0xEA684, 0xC2, 1, 1 + +gAreaMetatiles_MnishPaths1:: @ 08102934 + metatiles_bottom 0xEE698, 0x1420, 1 + metatile_types_bottom 0xEF330, 0x508, 1, 1 + +gAreaMetatiles_CrenelMinishPaths:: @ 0810294C + metatiles_bottom 0xF5734, 0x1EB8, 1 + metatile_types_bottom 0xF698C, 0x7AE, 1, 1 + +gAreaMetatiles_MinishHouseInteriors:: @ 08102964 + metatiles_bottom 0x93F04, 0x3F80, 1 + metatiles_top 0x95ED0, 0x3F40, 1 + metatile_types_bottom 0x9775C, 0xFE0, 1 + metatile_types_top 0x97D58, 0xFD0, 1, 1 + +gAreaMetatiles_HouseInteriors1:: @ 08102994 + metatiles_bottom 0xFCE7C, 0x3188, 1 + metatiles_top 0xF7AD8, 0x3FF0, 1 + metatile_types_bottom 0xFE120, 0xC62, 1 + metatile_types_top 0xF8A5C, 0xFFC, 1, 1 + +gAreaMetatiles_HouseInteriors2:: @ 081029C4 + metatiles_bottom 0x102AB8, 0x33A0, 1 + metatiles_top 0xF7AD8, 0x3FF0, 1 + metatile_types_bottom 0x103D54, 0xCE8, 1 + metatile_types_top 0xF8A5C, 0xFFC, 1, 1 + +gAreaMetatiles_HouseInteriors4:: @ 081029F4 + metatiles_bottom 0x10823C, 0x33A0, 1 + metatiles_top 0xF7AD8, 0x3FF0, 1 + metatile_types_bottom 0x109530, 0xCE8, 1 + metatile_types_top 0xF8A5C, 0xFFC, 1, 1 + +gAreaMetatiles_HouseInteriors3:: @ 08102A24 + metatiles_bottom 0x10DAA8, 0x2F20, 1 + metatiles_top 0xF7AD8, 0x3FF0, 1 + metatile_types_bottom 0x10E9F0, 0xBC8, 1 + metatile_types_top 0xF8A5C, 0xFFC, 1, 1 + +gAreaMetatiles_TreeInteriors:: @ 08102A54 + metatiles_bottom 0x112BF0, 0x3000, 1 + metatiles_top 0xF7AD8, 0x3FF0, 1 + metatile_types_bottom 0x113A88, 0xC00, 1 + metatile_types_top 0xF8A5C, 0xFFC, 1, 1 + +gAreaMetatiles_Dojos:: @ 08102A84 + metatiles_bottom 0x11D198, 0x33A0, 1 + metatiles_top 0xF7AD8, 0x3FF0, 1 + metatile_types_bottom 0x11E030, 0xCE8, 1 + metatile_types_top 0xF8A5C, 0xFFC, 1, 1 + +gAreaMetatiles_MinishCracks:: @ 08102AB4 + metatiles_bottom 0x118044, 0x3180, 1 + metatiles_top 0xF7AD8, 0x3FF0, 1 + metatile_types_bottom 0x118F94, 0xC60, 1 + metatile_types_top 0xF8A5C, 0xFFC, 1, 1 + +gAreaMetatiles_ArmosInteriors:: @ 08102AE4 + metatiles_bottom 0xA4840, 0xC50, 1 + metatiles_top 0xA4FB4, 0xC50, 1 + metatile_types_bottom 0xA5728, 0x314, 1 + metatile_types_top 0xA5840, 0x314, 1, 1 + +gAreaMetatiles_MinishRafters:: @ 08102B14 + metatiles_bottom 0x120478, 0x1A30, 1 + metatiles_top 0xF7AD8, 0x3FF0, 1 + metatile_types_bottom 0x1210C8, 0x68C, 1 + metatile_types_top 0xF8A5C, 0xFFC, 1, 1 + +gAreaMetatiles_GoronCave:: @ 08102B44 + metatiles_bottom 0xAC444, 0x3F80, 1 + metatiles_top 0xADE48, 0x3400, 1 + metatile_types_bottom 0xAF650, 0xFE0, 1 + metatile_types_top 0xAFB8C, 0xD00, 1, 1 + +gAreaMetatiles_WindTribeTower:: @ 08102B74 + metatiles_bottom 0x125100, 0x2EB0, 1 + metatiles_top 0xF7AD8, 0x3FF0, 1 + metatile_types_bottom 0x126040, 0xBAC, 1 + metatile_types_top 0xF8A5C, 0xFFC, 1, 1 + +gAreaMetatiles_WindTribeTowerRoof:: @ 08102BA4 + metatiles_bottom 0x12AAB0, 0xBC0, 1 + metatiles_top 0x12B13C, 0xBC0, 1 + metatile_types_bottom 0x12B784, 0x2F0, 1 + metatile_types_top 0x12B840, 0x2F0, 1, 1 + +gAreaMetatiles_MinishCaves:: @ 08102BD4 + metatiles_bottom 0xB9118, 0x3F80, 1 + metatiles_top 0xBAF54, 0x3F80, 1 + metatile_types_bottom 0xBC0CC, 0xFE0, 1 + metatile_types_top 0xBC570, 0xFE0, 1, 1 + +gAreaMetatiles_CastleGardenMinishHoles:: @ 08102C04 + metatiles_bottom 0xBFB4C, 0x13A8, 1 + metatiles_top 0xC0570, 0x1680, 1 + metatile_types_bottom 0xC1030, 0x4EA, 1 + metatile_types_top 0xC11B8, 0x5A0, 1, 1 + +gAreaMetatiles_EzloCutscene:: @ 08102C34 + metatiles_bottom 0x12EEBC, 0x1A20, 1 + metatiles_top 0xF7AD8, 0x3FF0, 1 + metatile_types_bottom 0x12F564, 0x688, 1 + metatile_types_top 0xF8A5C, 0xFFC, 1, 1 + +gAreaMetatiles_HyruleTownUnderground:: @ 08102C64 + metatiles_bottom 0x1A51B8, 0x3E80, 1 + metatiles_top 0x1A7454, 0x3610, 1 + metatile_types_bottom 0x1A8B10, 0xFA0, 1 + metatile_types_top 0x1A9000, 0xD84, 1, 1 + +gAreaMetatiles_DeepwoodShrine:: @ 08102C94 + metatiles_bottom 0x1B20C4, 0x3B28, 1 + metatiles_top 0x1B4644, 0x3620, 1 + metatile_types_bottom 0x1B6044, 0xECA, 1 + metatile_types_top 0x1B64F8, 0xD88, 1, 1 + +gAreaMetatiles_DeepwoodShrineBoss:: @ 08102CC4 + metatiles_bottom 0x1B9E08, 0x3620, 1 + metatiles_top 0x1BAF34, 0x11F8, 1 + metatile_types_bottom 0x1BB24C, 0xD88, 1 + metatile_types_top 0x1BB4BC, 0x47E, 1, 1 + +gAreaMetatiles_DeepwoodShrineEntry:: @ 08102CF4 + metatiles_bottom 0x1BE520, 0xD08, 1 + metatiles_top 0x1BEB0C, 0x9F8, 1 + metatile_types_bottom 0x1BEF10, 0x342, 1 + metatile_types_top 0x1BEFC0, 0x27E, 1, 1 + +gAreaMetatiles_CaveOfFlames:: @ 08102D24 + metatiles_bottom 0x1CA0C8, 0x3B08, 1 + metatiles_top 0x1CBCF4, 0x3F28, 1 + metatile_types_bottom 0x1CD6F4, 0xEC2, 1 + metatile_types_top 0x1CDB88, 0xFCA, 1, 1 + +gAreaMetatiles_CaveOfFlamesBoss:: @ 08102D54 + metatiles_bottom 0x1D378C, 0x3B08, 1 + metatiles_top 0x1D4B14, 0x3610, 1 + metatile_types_bottom 0x1D5C70, 0xEC2, 1 + metatile_types_top 0x1D5EFC, 0xD84, 1, 1 + +gAreaMetatiles_FortressOfWinds:: @ 08102D84 + metatiles_bottom 0x1E163C, 0x3868, 1 + metatiles_top 0x1E3670, 0x3850, 1 + metatile_types_bottom 0x1E4E8C, 0xE1A, 1 + metatile_types_top 0x1E52DC, 0xE14, 1, 1 + +gAreaMetatiles_FortressOfWindsTop:: @ 08102DB4 + metatiles_bottom 0x1F06E4, 0x1440, 1 + metatiles_top 0x1F11AC, 0x1368, 1 + metatile_types_bottom 0x1F1740, 0x510, 1 + metatile_types_top 0x1F18D4, 0x4DA, 1, 1 + +gAreaMetatiles_InnerMazaal:: @ 08102DE4 + metatiles_bottom 0x1E9E38, 0x3C00, 1 + metatiles_top 0x1EABE0, 0x3E70, 1 + metatile_types_bottom 0x1EBAAC, 0xF00, 1 + metatile_types_top 0x1EBD60, 0xF9C, 1, 1 + +gAreaMetatiles_TempleOfDroplets:: @ 08102E14 + metatiles_bottom 0x1FC4F4, 0x3D68, 1 + metatiles_top 0x1FE6E0, 0x4000, 1 + metatile_types_bottom 0x200A9C, 0xF5A, 1 + metatile_types_top 0x200F70, 0x1000, 1, 1 + +gAreaMetatiles_61:: @ 08102E44 + metatiles_bottom 0x204BD4, 0x600, 1 + metatiles_top 0x20509C, 0x398, 1 + metatile_types_bottom 0x2051BC, 0x180, 1 + metatile_types_top 0x205254, 0xE6, 1, 1 + +gAreaMetatiles_RoyalCrypt:: @ 08102E74 + metatiles_bottom 0x212144, 0x3610, 1 + metatiles_top 0x213D34, 0x3610, 1 + metatile_types_bottom 0x215134, 0xD84, 1 + metatile_types_top 0x2155E0, 0xD84, 1, 1 + +gAreaMetatiles_PalaceOfWinds:: @ 08102EA4 + metatiles_bottom 0x21D230, 0x3620, 1 + metatiles_top 0x21EEA4, 0x3620, 1 + metatile_types_bottom 0x220788, 0xD88, 1 + metatile_types_top 0x220C54, 0xD88, 1, 1 + +gAreaMetatiles_PalaceOfWindsBoss:: @ 08102ED4 + metatiles_top 0x22360C, 0x108, 1 + metatile_types_top 0x223654, 0x42, 1, 1 + +gAreaMetatiles_Sanctuary:: @ 08102EEC + metatiles_bottom 0x2333A4, 0x3620, 1 + metatiles_top 0x2352AC, 0x3620, 1 + metatile_types_bottom 0x2363B0, 0xD88, 1 + metatile_types_top 0x236714, 0xD88, 1, 1 + +gAreaMetatiles_HyruleCastle:: @ 08102F1C + metatiles_bottom 0x23D1B0, 0x37C0, 1 + metatiles_top 0x23EF24, 0x3610, 1 + metatile_types_bottom 0x2403CC, 0xDF0, 1 + metatile_types_top 0x2407F8, 0xD84, 1, 1 + +gAreaMetatiles_SanctuaryEntrance:: @ 08102F4C + metatiles_bottom 0x2460E4, 0x1478, 1 + metatiles_top 0x246C38, 0xFF0, 1 + metatile_types_bottom 0x246FB8, 0x51E, 1 + metatile_types_top 0x247128, 0x3FC, 1, 1 + +gAreaMetatiles_DarkHyruleCastle:: @ 08102F7C + metatiles_bottom 0x24D8CC, 0x3FD8, 1 + metatiles_top 0x25060C, 0x37C0, 1 + metatile_types_bottom 0x252480, 0xFF6, 1 + metatile_types_top 0x252A08, 0xDF0, 1, 1 + +gAreaMetatiles_DarkHyruleCastleOutside:: @ 08102FAC + metatiles_bottom 0x273E74, 0x3340, 1 + metatiles_top 0x275398, 0x1EF0, 1 + metatile_types_bottom 0x275FD4, 0xCD0, 1 + metatile_types_top 0x2762B0, 0x7BC, 1, 1 + +gAreaMetatiles_DarkHyruleCastleBridge:: @ 08102FDC + metatiles_bottom 0x256614, 0x3610, 1 + metatiles_top 0x2573F4, 0x3610, 1 + metatile_types_bottom 0x257D04, 0xD84, 1 + metatile_types_top 0x257F78, 0xD84, 1, 1 + +gAreaMetatiles_VaatisArms:: @ 0810300C + metatiles_bottom 0x263CFC, 0x17C8, 1 + metatiles_top 0x2649C4, 0xBC0, 1 + metatile_types_bottom 0x264D48, 0x5F2, 1 + metatile_types_top 0x264E4C, 0x2F0, 1, 1 + +gAreaMetatiles_Vaati3:: @ 0810303C + metatiles_bottom 0x25C6BC, 0xE80, 1 + metatiles_top 0x25CD74, 0x9B8, 1 + metatile_types_bottom 0x25CF50, 0x3A0, 1 + metatile_types_top 0x25D024, 0x26E, 1, 1 + +gAreaMetatiles_Vaati2:: @ 0810306C + metatiles_bottom 0x2607F0, 0x850, 1 + metatiles_top 0x260C1C, 0x298, 1 + metatile_types_bottom 0x260CBC, 0x214, 1 + metatile_types_top 0x260D38, 0xA6, 1, 1 + +gAreaMetatiles:: @ 0810309C + .4byte gAreaMetatiles_MinishWoods @ 0x0 + .4byte gAreaMetatiles_MinishVillage @ 0x1 + .4byte gAreaMetatiles_HyruleTown @ 0x2 + .4byte gAreaMetatiles_HyruleField @ 0x3 + .4byte gAreaMetatiles_CastorWilds @ 0x4 + .4byte gAreaMetatiles_CastorWilds @ 0x5 + .4byte gAreaMetatiles_MtCrenel @ 0x6 + .4byte gAreaMetatiles_CastleGarden @ 0x7 + .4byte gAreaMetatiles_CloudTops @ 0x8 + .4byte gAreaMetatiles_RoyalValley @ 0x9 + .4byte gAreaMetatiles_MtCrenel @ 0xA + .4byte gAreaMetatiles_LakeHylia @ 0xB + .4byte gAreaMetatiles_MinishWoods @ 0xC + .4byte gAreaMetatiles_Beanstalks @ 0xD + .4byte gAreaMetatiles_MinishWoods @ 0xE + .4byte gAreaMetatiles_HyruleTown @ 0xF + .4byte gAreaMetatiles_MelarisMine @ 0x10 + .4byte gAreaMetatiles_MnishPaths1 @ 0x11 + .4byte gAreaMetatiles_CrenelMinishPaths @ 0x12 + .4byte gAreaMetatiles_HyruleField @ 0x13 + .4byte gAreaMetatiles_MtCrenel @ 0x14 + .4byte gAreaMetatiles_HyruleTown @ 0x15 + .4byte gAreaMetatiles_MtCrenel @ 0x16 + .4byte gAreaMetatiles_CastorWilds @ 0x17 + .4byte gAreaMetatiles_CastorWilds @ 0x18 + .4byte gAreaMetatiles_LakeHylia @ 0x19 + .4byte gAreaMetatiles_MtCrenel @ 0x1A + .4byte gAreaMetatiles_Unused @ 0x1B + .4byte gAreaMetatiles_Unused @ 0x1C + .4byte gAreaMetatiles_HyruleField @ 0x1D + .4byte gAreaMetatiles_MinishWoods @ 0x1E + .4byte gAreaMetatiles_HyruleField @ 0x1F + .4byte gAreaMetatiles_MinishHouseInteriors @ 0x20 + .4byte gAreaMetatiles_HouseInteriors1 @ 0x21 + .4byte gAreaMetatiles_HouseInteriors2 @ 0x22 + .4byte gAreaMetatiles_HouseInteriors3 @ 0x23 + .4byte gAreaMetatiles_TreeInteriors @ 0x24 + .4byte gAreaMetatiles_Dojos @ 0x25 + .4byte gAreaMetatiles_CrenelCaves @ 0x26 + .4byte gAreaMetatiles_MinishCracks @ 0x27 + .4byte gAreaMetatiles_HouseInteriors4 @ 0x28 + .4byte gAreaMetatiles_GreatFairies @ 0x29 + .4byte gAreaMetatiles_CrenelCaves @ 0x2A + .4byte gAreaMetatiles_FortressOfWinds @ 0x2B + .4byte gAreaMetatiles_ArmosInteriors @ 0x2C + .4byte gAreaMetatiles_MinishHouseInteriors @ 0x2D + .4byte gAreaMetatiles_MinishRafters @ 0x2E + .4byte gAreaMetatiles_GoronCave @ 0x2F + .4byte gAreaMetatiles_WindTribeTower @ 0x30 + .4byte gAreaMetatiles_WindTribeTowerRoof @ 0x31 + .4byte gAreaMetatiles_CrenelCaves @ 0x32 + .4byte gAreaMetatiles_CrenelCaves @ 0x33 + .4byte gAreaMetatiles_CrenelCaves @ 0x34 + .4byte gAreaMetatiles_MinishCaves @ 0x35 + .4byte gAreaMetatiles_CastleGardenMinishHoles @ 0x36 + .4byte gAreaMetatiles_CastleGardenMinishHoles @ 0x37 + .4byte gAreaMetatiles_EzloCutscene @ 0x38 + .4byte gAreaMetatiles_Unused @ 0x39 + .4byte gAreaMetatiles_Unused @ 0x3A + .4byte gAreaMetatiles_Unused @ 0x3B + .4byte gAreaMetatiles_Unused @ 0x3C + .4byte gAreaMetatiles_Unused @ 0x3D + .4byte gAreaMetatiles_Unused @ 0x3E + .4byte gAreaMetatiles_Unused @ 0x3F + .4byte gAreaMetatiles_HyruleTownUnderground @ 0x40 + .4byte gAreaMetatiles_HyruleTownUnderground @ 0x41 + .4byte gAreaMetatiles_HyruleTownUnderground @ 0x42 + .4byte gAreaMetatiles_HyruleTownUnderground @ 0x43 + .4byte gAreaMetatiles_HyruleTownUnderground @ 0x44 + .4byte gAreaMetatiles_CrenelCaves @ 0x45 + .4byte gAreaMetatiles_CrenelCaves @ 0x46 + .4byte gAreaMetatiles_CrenelCaves @ 0x47 + .4byte gAreaMetatiles_DeepwoodShrine @ 0x48 + .4byte gAreaMetatiles_DeepwoodShrineBoss @ 0x49 + .4byte gAreaMetatiles_DeepwoodShrineEntry @ 0x4A + .4byte gAreaMetatiles_Unused @ 0x4B + .4byte gAreaMetatiles_Unused @ 0x4C + .4byte gAreaMetatiles_DeepwoodShrine @ 0x4D + .4byte gAreaMetatiles_DeepwoodShrine @ 0x4E + .4byte gAreaMetatiles_DeepwoodShrineBoss @ 0x4F + .4byte gAreaMetatiles_CaveOfFlames @ 0x50 + .4byte gAreaMetatiles_CaveOfFlamesBoss @ 0x51 + .4byte gAreaMetatiles_Unused @ 0x52 + .4byte gAreaMetatiles_Unused @ 0x53 + .4byte gAreaMetatiles_Unused @ 0x54 + .4byte gAreaMetatiles_Unused @ 0x55 + .4byte gAreaMetatiles_CaveOfFlames @ 0x56 + .4byte gAreaMetatiles_CaveOfFlames @ 0x57 + .4byte gAreaMetatiles_FortressOfWinds @ 0x58 + .4byte gAreaMetatiles_FortressOfWindsTop @ 0x59 + .4byte gAreaMetatiles_InnerMazaal @ 0x5A + .4byte gAreaMetatiles_Unused @ 0x5B + .4byte gAreaMetatiles_Unused @ 0x5C + .4byte gAreaMetatiles_Unused @ 0x5D + .4byte gAreaMetatiles_Unused @ 0x5E + .4byte gAreaMetatiles_FortressOfWinds @ 0x5F + .4byte gAreaMetatiles_TempleOfDroplets @ 0x60 + .4byte gAreaMetatiles_61 @ 0x61 + .4byte gAreaMetatiles_TempleOfDroplets @ 0x62 + .4byte gAreaMetatiles_Unused @ 0x63 + .4byte gAreaMetatiles_Unused @ 0x64 + .4byte gAreaMetatiles_Unused @ 0x65 + .4byte gAreaMetatiles_Unused @ 0x66 + .4byte gAreaMetatiles_TempleOfDroplets @ 0x67 + .4byte gAreaMetatiles_RoyalCrypt @ 0x68 + .4byte gAreaMetatiles_Unused @ 0x69 + .4byte gAreaMetatiles_Unused @ 0x6A + .4byte gAreaMetatiles_Unused @ 0x6B + .4byte gAreaMetatiles_Unused @ 0x6C + .4byte gAreaMetatiles_Unused @ 0x6D + .4byte gAreaMetatiles_Unused @ 0x6E + .4byte gAreaMetatiles_RoyalCrypt @ 0x6F + .4byte gAreaMetatiles_PalaceOfWinds @ 0x70 + .4byte gAreaMetatiles_PalaceOfWindsBoss @ 0x71 + .4byte gAreaMetatiles_Unused @ 0x72 + .4byte gAreaMetatiles_Unused @ 0x73 + .4byte gAreaMetatiles_Unused @ 0x74 + .4byte gAreaMetatiles_Unused @ 0x75 + .4byte gAreaMetatiles_Unused @ 0x76 + .4byte gAreaMetatiles_PalaceOfWinds @ 0x77 + .4byte gAreaMetatiles_Sanctuary @ 0x78 + .4byte gAreaMetatiles_Unused @ 0x79 + .4byte gAreaMetatiles_Unused @ 0x7A + .4byte gAreaMetatiles_Unused @ 0x7B + .4byte gAreaMetatiles_Unused @ 0x7C + .4byte gAreaMetatiles_Unused @ 0x7D + .4byte gAreaMetatiles_Unused @ 0x7E + .4byte gAreaMetatiles_Sanctuary @ 0x7F + .4byte gAreaMetatiles_HyruleCastle @ 0x80 + .4byte gAreaMetatiles_SanctuaryEntrance @ 0x81 + .4byte gAreaMetatiles_Unused @ 0x82 + .4byte gAreaMetatiles_Unused @ 0x83 + .4byte gAreaMetatiles_Unused @ 0x84 + .4byte gAreaMetatiles_Unused @ 0x85 + .4byte gAreaMetatiles_Unused @ 0x86 + .4byte gAreaMetatiles_HyruleCastle @ 0x87 + .4byte gAreaMetatiles_DarkHyruleCastle @ 0x88 + .4byte gAreaMetatiles_DarkHyruleCastleOutside @ 0x89 + .4byte gAreaMetatiles_VaatisArms @ 0x8A + .4byte gAreaMetatiles_Vaati3 @ 0x8B + .4byte gAreaMetatiles_Vaati2 @ 0x8C + .4byte gAreaMetatiles_DarkHyruleCastleBridge @ 0x8D + .4byte gAreaMetatiles_Unused @ 0x8E + .4byte gAreaMetatiles_DarkHyruleCastle @ 0x8F diff --git a/data/tileset_headers.s b/data/tileset_headers.s index 8c2d9100..664c1916 100755 --- a/data/tileset_headers.s +++ b/data/tileset_headers.s @@ -5,9 +5,12 @@ .align 2 gAreaTileset_Unused_0:: @ 08100CE4 +gAreaMetatiles_Unused:: +gAreaRoomMap_Unused:: tileset_palette_set 0, 1 gAreaTilesets_Unused:: @ 08100CF0 +gAreaRoomMaps_Unused:: .4byte gAreaTileset_Unused_0 gTileset_MinishWoods_0:: @ 08100CF4 @@ -795,7 +798,7 @@ gAreaTileset_CastorDarknut_0:: @ 08101FA8 tileset_tiles 0x1DF4B4, 0x6008000, 0x4000, 1 tileset_palette_set 37, 1 -gAreaTilesets_CastorDarknut:: @ 08101FD8 +gAreaTilesets_FortressOfWinds:: @ 08101FD8 .4byte gAreaTileset_CastorDarknut_0 gAreaTileset_FortressOfWindsTop_0:: @ 08101FDC @@ -999,147 +1002,147 @@ gAreaTilesets_RoyalValleyGraves:: @ 08102468 .4byte gAreaTileset_RoyalValleyGraves_0 gAreaTilesets:: @ 0810246C - .4byte gAreaTilesets_MinishWoods - .4byte gAreaTilesets_MinishVillage - .4byte gAreaTilesets_HyruleTown - .4byte gAreaTilesets_HyruleField - .4byte gAreaTilesets_CastorWilds - .4byte gAreaTilesets_Ruins - .4byte gAreaTilesets_MtCrenel - .4byte gAreaTilesets_CastleGarden - .4byte gAreaTilesets_CloudTops - .4byte gAreaTilesets_RoyalValley - .4byte gAreaTilesets_VeilFalls - .4byte gAreaTilesets_LakeHylia - .4byte gAreaTilesets_LakeWoodsCave - .4byte gAreaTilesets_Beanstalks - .4byte gAreaTilesets_MinishWoods - .4byte gAreaTilesets_HyruleDigCaves - .4byte gAreaTilesets_MelarisMine - .4byte gAreaTilesets_MinishPaths1 - .4byte gAreaTilesets_CrenelMinishPaths - .4byte gAreaTilesets_DigCaves1 - .4byte gAreaTilesets_CrenelDigCave - .4byte gAreaTilesets_FestivalTown - .4byte gAreaTilesets_VeilFallsDigCave - .4byte gAreaTilesets_CastorWildsDigCave - .4byte gAreaTilesets_OuterFortressOfWinds - .4byte gAreaTilesets_HyliaDigCaves - .4byte gAreaTilesets_VeilFallsTop - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_MinishHouseInteriors - .4byte gAreaTilesets_HouseInteriors1 - .4byte gAreaTilesets_HouseInteriors2 - .4byte gAreaTilesets_HouseInteriors3 - .4byte gAreaTilesets_TreeInteriors - .4byte gAreaTilesets_Dojos - .4byte gAreaTilesets_CrenelCaves - .4byte gAreaTilesets_MinishCracks - .4byte gAreaTilesets_HouseInteriors4 - .4byte gAreaTilesets_GreatFairies - .4byte gAreaTilesets_CastorCaves - .4byte gAreaTilesets_CastorDarknut - .4byte gAreaTilesets_ArmosInteriors - .4byte gAreaTilesets_TownMinishHoles - .4byte gAreaTilesets_MinishRafters - .4byte gAreaTilesets_GoronCave - .4byte gAreaTilesets_WindTribeTower - .4byte gAreaTilesets_WindTribeTowerRoof - .4byte gAreaTilesets_Caves - .4byte gAreaTilesets_VeilFallsCaves - .4byte gAreaTilesets_RoyalValleyGraves - .4byte gAreaTilesets_MinishCaves - .4byte gAreaTilesets_CastleGardenMinishHoles - .4byte gAreaTilesets_37 - .4byte gAreaTilesets_EzloCutscene - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_40 - .4byte gAreaTilesets_HyruleTownUnderground - .4byte gAreaTilesets_40 - .4byte gAreaTilesets_40 - .4byte gAreaTilesets_SimonsSimulation - .4byte gAreaTilesets_45 - .4byte gAreaTilesets_45 - .4byte gAreaTilesets_45 - .4byte gAreaTilesets_DeepwoodShrine - .4byte gAreaTilesets_DeepwoodShrineBoss - .4byte gAreaTilesets_DeepwoodShrineEntry - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_DeepwoodShrine - .4byte gAreaTilesets_DeepwoodShrine - .4byte gAreaTilesets_DeepwoodShrineBoss - .4byte gAreaTilesets_CaveOfFlames - .4byte gAreaTilesets_CaveOfFlamesBoss - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_CaveOfFlames - .4byte gAreaTilesets_CaveOfFlames - .4byte gAreaTilesets_CastorDarknut - .4byte gAreaTilesets_FortressOfWindsTop - .4byte gAreaTilesets_InnerMazaal - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_CastorDarknut - .4byte gAreaTilesets_TempleOfDroplets - .4byte gAreaTilesets_61 - .4byte gAreaTilesets_HyruleTownMinishCaves - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_TempleOfDroplets - .4byte gAreaTilesets_RoyalCrypt - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_RoyalCrypt - .4byte gAreaTilesets_PalaceOfWinds - .4byte gAreaTilesets_PalaceOfWindsBoss - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_PalaceOfWinds - .4byte gAreaTilesets_Sanctuary - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Sanctuary - .4byte gAreaTilesets_HyruleCastle - .4byte gAreaTilesets_SanctuaryEntrance - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_HyruleCastle - .4byte gAreaTilesets_DarkHyruleCastle - .4byte gAreaTilesets_DarkHyruleCastleOutside - .4byte gAreaTilesets_VaatisArms - .4byte gAreaTilesets_Vaati3 - .4byte gAreaTilesets_Vaati2 - .4byte gAreaTilesets_DarkHyruleCastleBridge - .4byte gAreaTilesets_Unused - .4byte gAreaTilesets_DarkHyruleCastle + .4byte gAreaTilesets_MinishWoods @ 0x0 + .4byte gAreaTilesets_MinishVillage @ 0x1 + .4byte gAreaTilesets_HyruleTown @ 0x2 + .4byte gAreaTilesets_HyruleField @ 0x3 + .4byte gAreaTilesets_CastorWilds @ 0x4 + .4byte gAreaTilesets_Ruins @ 0x5 + .4byte gAreaTilesets_MtCrenel @ 0x6 + .4byte gAreaTilesets_CastleGarden @ 0x7 + .4byte gAreaTilesets_CloudTops @ 0x8 + .4byte gAreaTilesets_RoyalValley @ 0x9 + .4byte gAreaTilesets_VeilFalls @ 0xA + .4byte gAreaTilesets_LakeHylia @ 0xB + .4byte gAreaTilesets_LakeWoodsCave @ 0xC + .4byte gAreaTilesets_Beanstalks @ 0xD + .4byte gAreaTilesets_MinishWoods @ 0xE + .4byte gAreaTilesets_HyruleDigCaves @ 0xF + .4byte gAreaTilesets_MelarisMine @ 0x10 + .4byte gAreaTilesets_MinishPaths1 @ 0x11 + .4byte gAreaTilesets_CrenelMinishPaths @ 0x12 + .4byte gAreaTilesets_DigCaves1 @ 0x13 + .4byte gAreaTilesets_CrenelDigCave @ 0x14 + .4byte gAreaTilesets_FestivalTown @ 0x15 + .4byte gAreaTilesets_VeilFallsDigCave @ 0x16 + .4byte gAreaTilesets_CastorWildsDigCave @ 0x17 + .4byte gAreaTilesets_OuterFortressOfWinds @ 0x18 + .4byte gAreaTilesets_HyliaDigCaves @ 0x19 + .4byte gAreaTilesets_VeilFallsTop @ 0x1A + .4byte gAreaTilesets_Unused @ 0x1B + .4byte gAreaTilesets_Unused @ 0x1C + .4byte gAreaTilesets_Unused @ 0x1D + .4byte gAreaTilesets_Unused @ 0x1E + .4byte gAreaTilesets_Unused @ 0x1F + .4byte gAreaTilesets_MinishHouseInteriors @ 0x20 + .4byte gAreaTilesets_HouseInteriors1 @ 0x21 + .4byte gAreaTilesets_HouseInteriors2 @ 0x22 + .4byte gAreaTilesets_HouseInteriors3 @ 0x23 + .4byte gAreaTilesets_TreeInteriors @ 0x24 + .4byte gAreaTilesets_Dojos @ 0x25 + .4byte gAreaTilesets_CrenelCaves @ 0x26 + .4byte gAreaTilesets_MinishCracks @ 0x27 + .4byte gAreaTilesets_HouseInteriors4 @ 0x28 + .4byte gAreaTilesets_GreatFairies @ 0x29 + .4byte gAreaTilesets_CastorCaves @ 0x2A + .4byte gAreaTilesets_FortressOfWinds @ 0x2B + .4byte gAreaTilesets_ArmosInteriors @ 0x2C + .4byte gAreaTilesets_TownMinishHoles @ 0x2D + .4byte gAreaTilesets_MinishRafters @ 0x2E + .4byte gAreaTilesets_GoronCave @ 0x2F + .4byte gAreaTilesets_WindTribeTower @ 0x30 + .4byte gAreaTilesets_WindTribeTowerRoof @ 0x31 + .4byte gAreaTilesets_Caves @ 0x32 + .4byte gAreaTilesets_VeilFallsCaves @ 0x33 + .4byte gAreaTilesets_RoyalValleyGraves @ 0x34 + .4byte gAreaTilesets_MinishCaves @ 0x35 + .4byte gAreaTilesets_CastleGardenMinishHoles @ 0x36 + .4byte gAreaTilesets_37 @ 0x37 + .4byte gAreaTilesets_EzloCutscene @ 0x38 + .4byte gAreaTilesets_Unused @ 0x39 + .4byte gAreaTilesets_Unused @ 0x3A + .4byte gAreaTilesets_Unused @ 0x3B + .4byte gAreaTilesets_Unused @ 0x3C + .4byte gAreaTilesets_Unused @ 0x3D + .4byte gAreaTilesets_Unused @ 0x3E + .4byte gAreaTilesets_Unused @ 0x3F + .4byte gAreaTilesets_40 @ 0x40 + .4byte gAreaTilesets_HyruleTownUnderground @ 0x41 + .4byte gAreaTilesets_40 @ 0x42 + .4byte gAreaTilesets_40 @ 0x43 + .4byte gAreaTilesets_SimonsSimulation @ 0x44 + .4byte gAreaTilesets_45 @ 0x45 + .4byte gAreaTilesets_45 @ 0x46 + .4byte gAreaTilesets_45 @ 0x47 + .4byte gAreaTilesets_DeepwoodShrine @ 0x48 + .4byte gAreaTilesets_DeepwoodShrineBoss @ 0x49 + .4byte gAreaTilesets_DeepwoodShrineEntry @ 0x4A + .4byte gAreaTilesets_Unused @ 0x4B + .4byte gAreaTilesets_Unused @ 0x4C + .4byte gAreaTilesets_DeepwoodShrine @ 0x4D + .4byte gAreaTilesets_DeepwoodShrine @ 0x4E + .4byte gAreaTilesets_DeepwoodShrineBoss @ 0x4F + .4byte gAreaTilesets_CaveOfFlames @ 0x50 + .4byte gAreaTilesets_CaveOfFlamesBoss @ 0x51 + .4byte gAreaTilesets_Unused @ 0x52 + .4byte gAreaTilesets_Unused @ 0x53 + .4byte gAreaTilesets_Unused @ 0x54 + .4byte gAreaTilesets_Unused @ 0x55 + .4byte gAreaTilesets_CaveOfFlames @ 0x56 + .4byte gAreaTilesets_CaveOfFlames @ 0x57 + .4byte gAreaTilesets_FortressOfWinds @ 0x58 + .4byte gAreaTilesets_FortressOfWindsTop @ 0x59 + .4byte gAreaTilesets_InnerMazaal @ 0x5A + .4byte gAreaTilesets_Unused @ 0x5B + .4byte gAreaTilesets_Unused @ 0x5C + .4byte gAreaTilesets_Unused @ 0x5D + .4byte gAreaTilesets_Unused @ 0x5E + .4byte gAreaTilesets_FortressOfWinds @ 0x5F + .4byte gAreaTilesets_TempleOfDroplets @ 0x60 + .4byte gAreaTilesets_61 @ 0x61 + .4byte gAreaTilesets_HyruleTownMinishCaves @ 0x62 + .4byte gAreaTilesets_Unused @ 0x63 + .4byte gAreaTilesets_Unused @ 0x64 + .4byte gAreaTilesets_Unused @ 0x65 + .4byte gAreaTilesets_Unused @ 0x66 + .4byte gAreaTilesets_TempleOfDroplets @ 0x67 + .4byte gAreaTilesets_RoyalCrypt @ 0x68 + .4byte gAreaTilesets_Unused @ 0x69 + .4byte gAreaTilesets_Unused @ 0x6A + .4byte gAreaTilesets_Unused @ 0x6B + .4byte gAreaTilesets_Unused @ 0x6C + .4byte gAreaTilesets_Unused @ 0x6D + .4byte gAreaTilesets_Unused @ 0x6E + .4byte gAreaTilesets_RoyalCrypt @ 0x6F + .4byte gAreaTilesets_PalaceOfWinds @ 0x70 + .4byte gAreaTilesets_PalaceOfWindsBoss @ 0x71 + .4byte gAreaTilesets_Unused @ 0x72 + .4byte gAreaTilesets_Unused @ 0x73 + .4byte gAreaTilesets_Unused @ 0x74 + .4byte gAreaTilesets_Unused @ 0x75 + .4byte gAreaTilesets_Unused @ 0x76 + .4byte gAreaTilesets_PalaceOfWinds @ 0x77 + .4byte gAreaTilesets_Sanctuary @ 0x78 + .4byte gAreaTilesets_Unused @ 0x79 + .4byte gAreaTilesets_Unused @ 0x7A + .4byte gAreaTilesets_Unused @ 0x7B + .4byte gAreaTilesets_Unused @ 0x7C + .4byte gAreaTilesets_Unused @ 0x7D + .4byte gAreaTilesets_Unused @ 0x7E + .4byte gAreaTilesets_Sanctuary @ 0x7F + .4byte gAreaTilesets_HyruleCastle @ 0x80 + .4byte gAreaTilesets_SanctuaryEntrance @ 0x81 + .4byte gAreaTilesets_Unused @ 0x82 + .4byte gAreaTilesets_Unused @ 0x83 + .4byte gAreaTilesets_Unused @ 0x84 + .4byte gAreaTilesets_Unused @ 0x85 + .4byte gAreaTilesets_Unused @ 0x86 + .4byte gAreaTilesets_HyruleCastle @ 0x87 + .4byte gAreaTilesets_DarkHyruleCastle @ 0x88 + .4byte gAreaTilesets_DarkHyruleCastleOutside @ 0x89 + .4byte gAreaTilesets_VaatisArms @ 0x8A + .4byte gAreaTilesets_Vaati3 @ 0x8B + .4byte gAreaTilesets_Vaati2 @ 0x8C + .4byte gAreaTilesets_DarkHyruleCastleBridge @ 0x8D + .4byte gAreaTilesets_Unused @ 0x8E + .4byte gAreaTilesets_DarkHyruleCastle @ 0x8F diff --git a/include/entity.h b/include/entity.h index 069f2073..fc09651d 100644 --- a/include/entity.h +++ b/include/entity.h @@ -19,10 +19,7 @@ typedef struct { } EntityType; typedef struct { - u8 unknown[6]; - u8 field_0x6; - u8 field_0x7; - u8 unknown2[4]; + u8 unknown[8]; } BoundingBox; typedef struct Entity { @@ -44,12 +41,12 @@ typedef struct Entity { /*0x18*/ union { /* */ u8 raw; /* */ struct { - /* */ u8 draw : 2; // 1-2 - /* */ u8 ss2 : 1; // 4 - /* */ u8 ss3 : 1; // 8 - /* */ u8 shadow : 2; //0x10-0x20 - /* */ u8 flipX : 1; //0x40 - /* */ u8 flipY : 1; //0x80 + /* */ u32 draw : 2; // 1-2 + /* */ u32 ss2 : 1; // 4 + /* */ u32 ss3 : 1; // 8 + /* */ u32 shadow : 2; //0x10-0x20 + /* */ u32 flipX : 1; //0x40 + /* */ u32 flipY : 1; //0x80 /* */ } PACKED b; /* */ } PACKED spriteSettings; /*0x19*/ struct { @@ -100,7 +97,7 @@ typedef struct Entity { /*0x43*/ u8 field_0x43; /*0x44*/ u8 field_0x44; /*0x45*/ u8 currentHealth; - /*0x46*/ s16 field_0x46; + /*0x46*/ u16 field_0x46; /*0x48*/ BoundingBox* boundingBox; /*0x4c*/ u8 field_0x4c; /*0x4d*/ u8 field_0x4d; diff --git a/include/functions.h b/include/functions.h index 585d8518..c499fe02 100644 --- a/include/functions.h +++ b/include/functions.h @@ -32,6 +32,7 @@ extern u32 GetFacingDirection(Entity*, Entity*); extern Entity* CreatePlayerItem(u32, u32, u32, u32); extern Entity* GetEmptyEntity(void); extern u32 GetTileTypeByPos(s32 x, s32 y, u32 layer); +extern u32 GetTileType(u32 pos, u32 layer); extern void _DmaZero(void* src, u32 count); extern void EraseAllEntities(void); extern void SetTile(u32, u32, u32); @@ -60,7 +61,7 @@ extern void sub_080791D0(); extern void sub_0805EC9C(); extern void sub_0805EC60(); extern void sub_080873D0(); -extern u8 sub_080045D4(s16, s16, u16, u16); +extern u8 sub_080045D4(s16, s16, u32, u32); extern void sub_0806F69C(Entity*); extern void sub_0805E3A0(void*, u32); extern void sub_0806D0B0(Entity*); @@ -92,7 +93,7 @@ extern void sub_0805ED14(u32*); extern void sub_080A7C18(u32, u32, u32); extern void sub_08068BEC(Entity*, u32); extern void sub_0804AA30(Entity*, void (*const funcs[])(Entity*)); -extern void sub_0804A9FC(Entity*, u32); +extern Entity* sub_0804A9FC(Entity*, u32); extern void sub_0804A720(Entity*); extern u32 sub_080AEFE0(Entity*); extern u32 sub_08049FA0(Entity*); @@ -186,7 +187,8 @@ extern void sub_080A4398(void); extern void sub_0801E738(u32); extern void sub_080A70AC(const void*); extern void sub_080A7114(u32); -extern void sub_08001242(void); +extern void sub_08001324(Entity*); +extern void sub_08001242(Entity*); extern u32 sub_08003FC4(Entity*, u32); extern u32 sub_080043E8(Entity*); extern void sub_08001290(Entity*, u32); @@ -194,7 +196,7 @@ extern void sub_08004488(u32); extern void sub_08004596(Entity*, u32); extern u32 sub_0807953C(void); extern void ResetPlayer(void); -extern void sub_080A29BC(Entity*); +extern void CreateDust(Entity*); extern void sub_080AE068(Entity*); extern Manager* GetEmptyManager(void); extern void AppendEntityToList(void*, u32); diff --git a/include/manager.h b/include/manager.h index bd97c1c3..aa175ed6 100644 --- a/include/manager.h +++ b/include/manager.h @@ -22,7 +22,8 @@ typedef struct Manager { /*0x0d*/ u8 unk_0d; /*0x0e*/ u8 unk_0e; /*0x0f*/ u8 unk_0f; - /*0x10*/ u8 unk_10[0x4]; + /*0x10*/ u8 unk_10; + /*0x11*/ u8 unk_11[3]; /*0x14*/ struct Manager * parent; /*0x18*/ u8 unk_18[0x8]; // union SplitHWord unk_20; diff --git a/include/player.h b/include/player.h index c3b69e43..488ffba4 100644 --- a/include/player.h +++ b/include/player.h @@ -33,26 +33,32 @@ typedef struct { /*0x30*/ union { /* */ u32 all; /* */ struct { - /* */ u32 filler9 : 3; + /* */ u32 filler9 : 2; + /* */ u32 unk2 : 1; /* */ u32 noMinishCap : 1; /* */ u32 pullingState : 1; /* */ u32 windyState : 1; /* */ u32 filler6 : 1; /* */ u32 unk7 : 1; - /* */ u32 filler8 : 2; + /* */ u32 unk8 : 1; + /* */ u32 unk9 : 1; /* */ u32 slipperyState : 1; /* */ u32 filler11 : 5; /* */ u32 filler11b : 16; /* */ } PACKED b; /* */ } flags; - /*0x34*/ u8 field_0x34[6]; + /*0x34*/ u8 field_0x34[4]; + /*0x38*/ u8 field_0x38; + /*0x39*/ u8 field_0x39; /*0x3a*/ u16 field_0x3a; /*0x3c*/ u8 field_0x3c[2]; /*0x3e*/ u8 swordGoldParticle : 1; /* */ u8 swordBlueParticle : 1; /* */ u8 filler14 : 6; /*0x3f*/ u8 field_0x3f; - /*0x40*/ u8 field_0x40[75]; + /*0x40*/ u8 field_0x40[64]; + /*0x80*/ u16 field_0x80; + /*0x82*/ u8 field_0x82[9]; /*0x8b*/ u8 field_0x8b; /*0x8c*/ u32 field_0x8c; /*0x90*/ union SplitWord field_0x90; @@ -61,7 +67,8 @@ typedef struct { /*0xa9*/ u8 field_0xa9; /*0xaa*/ u8 field_0xaa; /*0xab*/ u8 field_0xab; - /*0xac*/ u32 field_0xac; + /*0xac*/ u16 field_0xac; + /*0xae*/ u16 field_0xae; } PlayerState; diff --git a/include/screen.h b/include/screen.h index 4de38e2b..c9ad3fd6 100644 --- a/include/screen.h +++ b/include/screen.h @@ -33,10 +33,10 @@ typedef struct { u16 unk2; u16 unk3; u16 bg3Control; - u16 bg3xOffset; - u16 bg3yOffset; + s16 bg3xOffset; + s16 bg3yOffset; u16 unk4; - u32 unk5; + void* unk5; } BgAffSettings; typedef struct { @@ -78,4 +78,4 @@ typedef struct { extern BgControls gBgControls; extern Screen gScreen; -#endif \ No newline at end of file +#endif diff --git a/linker.ld b/linker.ld index 4963dedd..f47d29f8 100644 --- a/linker.ld +++ b/linker.ld @@ -44,7 +44,7 @@ SECTIONS { . = 0x00002C9C; gGlobalFlags = .; . = 0x00002E9C; gUnk_02002E9C = .; . = 0x00002ECC; gUnk_02002ECC = .; - . = 0x00002F00; gUnk_02002F00 = .; + . = 0x00002F00; gMapDataTopSpecial = .; . = 0x00006F00; gUnk_02006F00 = .; . = 0x0000AF00; gUnk_0200AF00 = .; . = 0x0000AF13; gUnk_0200AF13 = .; @@ -53,7 +53,7 @@ SECTIONS { . = 0x0000B640; gUnk_0200B640 = .; . = 0x0000B644; gUsedPalettes = .; . = 0x0000B650; gUnk_0200B650 = .; - . = 0x0000B654; gUnk_0200B654 = .; + . = 0x0000B654; gMapDataTop = .; . = 0x0000D654; gUnk_0200D654 = .; . = 0x0000E654; gUnk_0200E654 = .; . = 0x00010654; gMetatileTypesTop = .; @@ -98,7 +98,7 @@ SECTIONS { . = 0x00024494; gUnk_02024494 = .; . = 0x000246B0; gUnk_020246B0 = .; . = 0x00025EB0; gUnk_02025EB0 = .; - . = 0x00025EB4; gUnk_02025EB4 = .; + . = 0x00025EB4; gMapDataBottom = .; . = 0x00027EB4; gUnk_02027EB4 = .; . = 0x00028EB4; gUnk_02028EB4 = .; . = 0x0002AEB4; gMetatileTypesBottom = .; @@ -320,28 +320,26 @@ SECTIONS { src/ezloNag.o(.text); asm/code_0801CEC0.o(.text); src/dma.o(.text); - asm/sub_0801D66C.o(.text); src/input.o(.text); src/code_0801D714.o(.text); src/code_0801D79C.o(.text); asm/code_0801D79C.o(.text); /* enemies */ src/enemy/octorok.o(.text); - asm/octorok.o(.text); - asm/chuchu.o(.text); + src/enemy/chuchu.o(.text); src/enemy/leever.o(.text); - asm/peahat.o(.text); - asm/rollobite.o(.text); - asm/darkNut.o(.text); + src/enemy/peahat.o(.text); + src/enemy/rollobite.o(.text); + src/enemy/darkNut.o(.text); src/enemy/hangingSeed.o(.text); - asm/beetle.o(.text); + src/enemy/beetle.o(.text); src/enemy/keese.o(.text); - asm/doorMimic.o(.text); - asm/rockChuchu.o(.text); - asm/spinyChuchu.o(.text); - asm/cuccoChickAggr.o(.text); - asm/moldorm.o(.text); - asm/enemyE.o(.text); + src/enemy/doorMimic.o(.text); + src/enemy/rockChuchu.o(.text); + src/enemy/spinyChuchu.o(.text); + src/enemy/cuccoChickAggr.o(.text); + src/enemy/moldorm.o(.text); + src/enemy/enemyE.o(.text); asm/moldworm.o(.text); asm/sluggula.o(.text); asm/pesto.o(.text); @@ -417,7 +415,7 @@ SECTIONS { asm/vaatiWrath.o(.text); asm/vaatiArm.o(.text); asm/dust.o(.text); - asm/vaatiBall.o(.text); + src/enemy/vaatiBall.o(.text); src/enemy/slime.o(.text); asm/sub_080451CC.o(.text); src/enemy/miniSlime.o(.text); @@ -492,7 +490,7 @@ SECTIONS { asm/manager12.o(.text); asm/manager13.o(.text); asm/manager14.o(.text); - asm/manager15.o(.text); + src/manager/manager15.o(.text); asm/manager16.o(.text); asm/manager17.o(.text); asm/manager18.o(.text); @@ -520,7 +518,7 @@ SECTIONS { src/manager/manager2E.o(.text); asm/manager2E.o(.text); asm/manager2F.o(.text); - asm/manager30.o(.text); + src/manager/manager30.o(.text); asm/manager31.o(.text); asm/manager32.o(.text); asm/manager33.o(.text); @@ -859,7 +857,6 @@ SECTIONS { src/object/metalDoor.o(.text); src/object/jailBars.o(.text); src/object/objectB2.o(.text); - asm/objectB2.o(.text); asm/objectB3.o(.text); asm/objectB4.o(.text); asm/objectB5.o(.text); @@ -880,9 +877,6 @@ SECTIONS { asm/sub_080A2838.o(.text); asm/sub_080A285C.o(.text); src/createObject.o(.text); - src/createObjectWithParent.o(.text); - asm/createFx.o(.text); - src/code_080A29BC.o(.text); asm/code_080A29BC.o(.text); asm/playSFX.o(.text); asm/code_080A3480.o(.text); @@ -911,6 +905,34 @@ SECTIONS { data/data_080B3740.o(.rodata); src/trig.o(.rodata); data/data_080C93E0.o(.rodata); + src/enemy/octorok.o(.rodata); + data/animations/octorok.o(.rodata); + src/enemy/chuchu.o(.rodata); + data/animations/chuchu.o(.rodata); + src/enemy/leever.o(.rodata); + data/animations/leever.o(.rodata); + src/enemy/peahat.o(.rodata); + data/animations/peahat.o(.rodata); + src/enemy/rollobite.o(.rodata); + data/animations/rollobite.o(.rodata); + src/enemy/darkNut.o(.rodata); + data/animations/darkNut.o(.rodata); + src/enemy/hangingSeed.o(.rodata); + src/enemy/beetle.o(.rodata); + data/animations/beetle.o(.rodata); + src/enemy/keese.o(.rodata); + data/animations/keese.o(.rodata); + src/enemy/doorMimic.o(.rodata); + data/animations/doorMimic.o(.rodata); + src/enemy/rockChuchu.o(.rodata); + data/animations/rockChuchu.o(.rodata); + src/enemy/spinyChuchu.o(.rodata); + data/animations/spinyChuchu.o(.rodata); + src/enemy/cuccoChickAggr.o(.rodata); + src/enemy/moldorm.o(.rodata); + src/enemy/enemyE.o(.rodata); + data/animations/enemyE.o(.rodata); + data/data_080CBC38.o(.rodata); src/enemy.o(.rodata); data/data_080D3D94.o(.rodata); data/areaPropertyLists.o(.rodata); @@ -918,7 +940,9 @@ SECTIONS { src/mainLoop.o(.rodata); data/data_08100CD4.o(.rodata); data/tileset_headers.o(.rodata); - data/data_081026AC.o(.rodata); + data/metatile_headers.o(.rodata); + data/map_headers.o(.rodata); + data/data_08107BC8.o(.rodata); src/manager/managerB.o(.rodata); data/data_0810821C.o(.rodata); src/item.o(.rodata); @@ -926,7 +950,7 @@ SECTIONS { data/room_headers.o(.rodata); data/data_0811E454.o(.rodata); src/object/greatFairy.o(.rodata); - data/greatFairyAnimations.o(.rodata); + data/animations/greatFairy.o(.rodata); data/data_081208A0.o(.rodata); src/object/heartContainer.o(.rodata); data/data_08121C58.o(.rodata); diff --git a/src/chooseFile.c b/src/chooseFile.c index 0c5a9474..143819f2 100755 --- a/src/chooseFile.c +++ b/src/chooseFile.c @@ -55,7 +55,7 @@ static void sub_08050624(u32); static void sub_0805066C(void); static void sub_080507FC(void); -extern void sub_0801D66C(const void* src, void* dest, u32 size); +extern void _DmaCopy(const void* src, void* dest, u32 size); extern void sub_08056FEC(u32, struct_020227E8*); extern void sub_0805F46C(u32, struct_080FC844*); extern void sub_0801C4A0(u32, u32); @@ -83,7 +83,7 @@ void sub_08050318(u32 arg0, u32 arg1) { struct_080FC844 var0; sub_08050384(); - sub_0801D66C(&gUnk_080FC844, &var0, sizeof(gUnk_080FC844)); + _DmaCopy(&gUnk_080FC844, &var0, sizeof(gUnk_080FC844)); sub_08056FEC(arg1, &gUnk_020227E8); var0.unk10 |= gUnk_080FC85C[arg0][0] << 0xC; sub_0805F46C(gUnk_080FC85C[arg0][1], &var0); @@ -136,7 +136,7 @@ void sub_0805041C(u32 saveFileId) { if (saveFileId < 3) { ((struct_02000000 *)0x2000000)->saveFileId = saveFileId; saveFile = &gSaveFiles[saveFileId]; - sub_0801D66C(saveFile, &gUnk_02002A40, sizeof(*saveFile)); + _DmaCopy(saveFile, &gUnk_02002A40, sizeof(*saveFile)); } sub_080503E4(saveFileId); } @@ -281,7 +281,7 @@ void sub_0805070C(void) { for (j = 0; j < 6; j++) { sub_0805F7DC(playerName[j], var0); } - sub_0801D66C(var0->unk8, (void*)(OBJ_VRAM0 + 0x4000 + i * 0x200), 0x200); + _DmaCopy(var0->unk8, (void*)(OBJ_VRAM0 + 0x4000 + i * 0x200), 0x200); } sub_0805F300(var0); } @@ -307,7 +307,7 @@ void sub_08050790(void) { sub_0805F7DC(var1, var0); var1++; } - sub_0801D66C(gUnk_02000D00, (void*)(BG_VRAM + i * 0x400), 0x400); + _DmaCopy(gUnk_02000D00, (void*)(BG_VRAM + i * 0x400), 0x400); } sub_0805F300(var0); } diff --git a/src/code_0805436C.c b/src/code_0805436C.c index 4999aef0..73e75668 100644 --- a/src/code_0805436C.c +++ b/src/code_0805436C.c @@ -160,7 +160,7 @@ void sub_08054524(void) { bVar1 = 0; } - sub_0801D66C(&gUnk_080015BC + gUnk_080FE1C6[bVar1] * 0x8, &gUnk_02034398, 0x20); + _DmaCopy(&gUnk_080015BC + gUnk_080FE1C6[bVar1] * 0x8, &gUnk_02034398, 0x20); } #else NAKED diff --git a/src/code_080A29BC.c b/src/code_080A29BC.c deleted file mode 100644 index 7fa80ee2..00000000 --- a/src/code_080A29BC.c +++ /dev/null @@ -1,69 +0,0 @@ -#include "global.h" -#include "entity.h" -#include "room.h" - -void sub_080A29BC(Entity *parent) -{ - CreateFx(parent, 2, 0); -} - -void sub_080A29C8(s32 xOff, s32 yOff, u32 layer) -{ - Entity *pEVar1; - - pEVar1 = CreateObject(0xf, 2, 0); - if (pEVar1 != NULL) { - pEVar1->x.HALF.HI = gRoomControls.roomOriginX + xOff; - pEVar1->y.HALF.HI = gRoomControls.roomOriginY + yOff; - pEVar1->collisionLayer = layer; - } -} - -void sub_080A29FC(Entity *parent) -{ - CreateFx(parent, 0x11, 0); -} - -void sub_080A2A08(Entity *parent) -{ - CreateFx(parent, 0x6, 0); -} - -void sub_080A2A14(Entity *parent) -{ - CreateFx(parent, 0xb, 0); -} - -Entity * sub_080A2A20(Entity *parent, u32 form, u32 parameter) -{ - Entity *pEVar1; - - pEVar1 = CreateObjectWithParent(parent, 0, form, parameter); - if (pEVar1 != NULL) { - pEVar1->actionDelay = 5; - } - return pEVar1; -} - -Entity * sub_080A2A3C(Entity *parent, u32 form, u32 subtype, u32 param_4) -{ - Entity *ent; - - ent = CreateObjectWithParent(parent, 0, form, subtype); - if (ent != NULL) { - ent->actionDelay = 5; - ent->field_0x86 = param_4; - } - return ent; -} - -Entity * sub_080A2A64(Entity *parent) -{ - Entity *pEVar1; - - pEVar1 = CreateFx(parent, 0x20, 0); - if (pEVar1 != NULL) { - pEVar1->spritePriority.b0 = 7; - } - return pEVar1; -} \ No newline at end of file diff --git a/src/createObject.c b/src/createObject.c index 93db1d93..25adbe29 100644 --- a/src/createObject.c +++ b/src/createObject.c @@ -1,21 +1,94 @@ #include "global.h" #include "entity.h" +#include "room.h" extern Entity* GetEmptyEntity(); extern void AppendEntityToList(Entity*, u8); -Entity* CreateObject(u32 subtype, u32 param1, u32 param2) +Entity* CreateObject(u32 subtype, u32 form, u32 parameter) { + Entity* ent; -{ - Entity* newEnt; - - newEnt = GetEmptyEntity(); - if (newEnt != NULL) { - (newEnt->entityType).type = 6; - (newEnt->entityType).subtype = subtype; - (newEnt->entityType).form = param1; - (newEnt->entityType).parameter = param2; - AppendEntityToList(newEnt, 6); + ent = GetEmptyEntity(); + if (ent != NULL) { + ent->entityType.type = 6; + ent->entityType.subtype = subtype; + ent->entityType.form = form; + ent->entityType.parameter = parameter; + AppendEntityToList(ent, 6); } - return newEnt; + return ent; +} + +Entity* CreateObjectWithParent(Entity* parentEnt, u32 subtype, u32 form, u32 parameter) { + Entity* ent; + + ent = CreateObject(subtype, form, parameter); + if (ent != NULL) { + ent->parent = parentEnt; + CopyPosition(parentEnt, ent); + } + + return ent; +} + +Entity* CreateFx(Entity* parentEnt, u32 form, u32 parameter) { + return CreateObjectWithParent(parentEnt, 0xf, form, parameter); +} + +void CreateDust(Entity* parent) { + CreateFx(parent, 2, 0); +} + +void CreateDustAt(s32 xOff, s32 yOff, u32 layer) { + Entity* ent; + + ent = CreateObject(0xf, 2, 0); + if (ent != NULL) { + ent->x.HALF.HI = gRoomControls.roomOriginX + xOff; + ent->y.HALF.HI = gRoomControls.roomOriginY + yOff; + ent->collisionLayer = layer; + } +} + +void CreateDustSmall(Entity* parent) { + CreateFx(parent, 0x11, 0); +} + +void CreateExplosionBroken(Entity* parent) { + CreateFx(parent, 0x6, 0); +} + +void CreateWaterSplash(Entity* parent) { + CreateFx(parent, 0xb, 0); +} + +Entity* sub_080A2A20(Entity* parent, u32 form, u32 parameter) { + Entity* ent; + + ent = CreateObjectWithParent(parent, 0, form, parameter); + if (ent != NULL) { + ent->actionDelay = 5; + } + return ent; +} + +Entity* sub_080A2A3C(Entity* parent, u32 form, u32 subtype, u32 param_4) { + Entity* ent; + + ent = CreateObjectWithParent(parent, 0, form, subtype); + if (ent != NULL) { + ent->actionDelay = 5; + ent->field_0x86 = param_4; + } + return ent; +} + +Entity* CreateWaterTrace(Entity* parent) { + Entity* ent; + + ent = CreateFx(parent, 0x20, 0); + if (ent != NULL) { + ent->spritePriority.b0 = 7; + } + return ent; } diff --git a/src/createObjectWithParent.c b/src/createObjectWithParent.c deleted file mode 100644 index 8aca834d..00000000 --- a/src/createObjectWithParent.c +++ /dev/null @@ -1,14 +0,0 @@ -#include "global.h" -#include "entity.h" - -Entity* CreateObjectWithParent(Entity* parentEnt, u32 subtype, u32 param1, u32 param2) { - Entity* ent; - - ent = CreateObject(subtype, param1, param2); - if (ent != NULL) { - ent->parent = parentEnt; - CopyPosition(parentEnt, ent); - } - - return ent; -} diff --git a/src/dma.c b/src/dma.c index 4f4f1dcb..37e33254 100644 --- a/src/dma.c +++ b/src/dma.c @@ -12,13 +12,12 @@ void _DmaFill32(u32 value, u8* dest, u32 size) { DmaFill32(3, value, dest, size); } -void _DmaZero(u8 *src, u32 size) -{ +void _DmaZero(u8* src, u32 size) { u32 zero = 0; switch (((u32)src | size) & 3) { case 0: - _DmaFill32(0,src, size); + _DmaFill32(0, src, size); break; case 2: _DmaFill16(0, src, size); @@ -28,6 +27,23 @@ void _DmaZero(u8 *src, u32 size) *src = zero; src++; size--; - } while (size != 0); + } while (size != 0); } -} \ No newline at end of file +} + +void _DmaCopy(const u8* src, u8* dst, u32 size) { + switch (((u32)src | (u32)dst | size) & 3) { + case 0: + DmaCopy32(3, src, dst, size); + break; + case 2: + DmaCopy16(3, src, dst, size); + break; + default: + do { + *dst = *src; + src++; + dst++; + } while (--size); + } +} diff --git a/src/enemy/acroBandits.c b/src/enemy/acroBandits.c index 7289d3a7..98e6f254 100644 --- a/src/enemy/acroBandits.c +++ b/src/enemy/acroBandits.c @@ -13,7 +13,6 @@ extern u32 sub_080322A4(Entity*); void sub_080322E8(Entity*); extern void sub_08032338(Entity*); extern Entity* sub_08049DF4(u32); -extern void sub_0804A9FC(Entity*, u32); extern void sub_0804AA30(Entity*, void (*const funcs[])(Entity*)); extern u32 sub_0806FCB8(Entity*, u32, u32, u32); extern u32 GetNextFunction(Entity*); @@ -29,7 +28,7 @@ extern void (*const gUnk_080CE58C[])(Entity*); extern void (*const gUnk_080CE5C8[])(Entity*); extern u8 gUnk_080CE5B0[8]; extern u8 gUnk_080CE5B8[8]; -extern union SplitHWord gUnk_080CE5C0[4]; +extern s8 gUnk_080CE5C0[8]; extern u16 gUnk_080CE5F0[5]; extern u8 gUnk_080CE5FA[20]; // Directions @@ -209,15 +208,14 @@ void sub_08031C1C(Entity* this) { } } -#if NON_MATCHING + void sub_08031C58(Entity* this) { - u8 tmp; Entity *a, *b; GetNextFrame(this); if (this->frames.b.f3) { if (gEntCount < 0x43) { - tmp = Random(); + u32 tmp = Random(); tmp &= 3; a = CreateEnemy(0x2e, 1); @@ -225,30 +223,30 @@ void sub_08031C58(Entity* this) { a->parent = NULL; a->field_0x74.HALF.LO = tmp; sub_08031E48(this, a); + a->attachedEntity = CreateEnemy(0x2e, 1); - b = CreateEnemy(0x2e, 1); - a->attachedEntity = b; + b = a->attachedEntity; b->entityType.parameter = 1; b->parent = a; b->field_0x74.HALF.LO = tmp; sub_08031E48(this, b); + b->attachedEntity = CreateEnemy(0x2e, 1); - a = CreateEnemy(0x2e, 1); - b->attachedEntity = a; + a = b->attachedEntity; a->entityType.parameter = 2; a->parent = b; a->field_0x74.HALF.LO = tmp; sub_08031E48(this, a); + a->attachedEntity = CreateEnemy(0x2e, 1); - b = CreateEnemy(0x2e, 1); - a->attachedEntity = b; + b = a->attachedEntity; b->entityType.parameter = 3; b->parent = a; b->field_0x74.HALF.LO = tmp; sub_08031E48(this, b); + b->attachedEntity = CreateEnemy(0x2e, 1); - a = CreateEnemy(0x2e, 1); - b->attachedEntity = a; + a = b->attachedEntity; a->entityType.parameter = 4; a->parent = b; a->attachedEntity = NULL; @@ -267,12 +265,6 @@ void sub_08031C58(Entity* this) { } } } -#else -NAKED -void sub_08031C58(Entity* this) { - asm(".include \"asm/non_matching/acroBandits/sub_08031C58.inc\""); -} -#endif void sub_08031D70(Entity* this) { GetNextFrame(this); @@ -308,27 +300,17 @@ void sub_08031DC4(Entity* this) { } } -#if NON_MATCHING u32 sub_08031E04(Entity* this) { Entity* ent; - union SplitHWord* tmp; - int x, y; + s8* tmp; ent = sub_08049DF4(1); if (ent == NULL) return 0; tmp = &gUnk_080CE5C0[this->frames.all & 6]; - x = ent->x.HALF.HI + tmp->HALF.LO; - y = ent->y.HALF.HI + tmp->HALF.HI; - return sub_0806FCB8(this, x, y, 0x50); + return sub_0806FCB8(this, ent->x.HALF.HI + tmp[0], ent->y.HALF.HI + tmp[1], 0x50); } -#else -NAKED -u32 sub_08031E04(Entity* this) { - asm(".include \"asm/non_matching/acroBandits/sub_08031E04.inc\""); -} -#endif void sub_08031E48(Entity* this, Entity* child) { CopyPosition(this, child); @@ -429,9 +411,9 @@ void sub_08032008(Entity* this) { } } - if (this->direction & 0xf) { - this->spriteSettings.b.flipX = !(!(this->direction & 0x10) ^ 1); - } + if (this->direction & 0xf) + this->spriteSettings.b.flipX = (this->direction >> 4 ^ 1); + sub_080AEF88(this); } else { diff --git a/src/enemy/beetle.c b/src/enemy/beetle.c new file mode 100644 index 00000000..3bdbfdad --- /dev/null +++ b/src/enemy/beetle.c @@ -0,0 +1,360 @@ +#include "entity.h" +#include "functions.h" +#include "player.h" + +extern u32 sub_08049F64(Entity*, u32, u32); + +u32 sub_08021D00(); +void sub_08021D44(Entity* this, u32 param_2); + +extern void (*const gUnk_080CB590[])(Entity*); +extern void (*const gUnk_080CB5A8[])(Entity*); +extern void (*const gUnk_080CB5C8[])(Entity*); +extern void (*const gUnk_080CB5D4[])(Entity*); + +extern const s8 gUnk_080CB5DC[]; +extern const s8 gUnk_080CB5E4[]; + +void Beetle(Entity* this) { + EnemyFunctionHandler(this, gUnk_080CB590); +} + +void sub_08021768(Entity* this) { + gUnk_080CB5A8[this->action](this); +} + +void sub_08021780(Entity* this) { + switch (this->bitfield) { + case 0x80: + if (gPlayerState.field_0xa8 == 24) { + sub_08021768(this); + } else { + this->action = 5; + this->actionDelay = 0xb4; + this->field_0xf = 0; + this->flags &= ~0x80; + this->spritePriority.b0 = 3; + CopyPositionAndSpriteOffset(&gPlayerEntity, this); + this->height.HALF.HI = -1; + ((u8*)&this->field_0x86)[1] = 1; + InitializeAnimation(this, 6); + } + break; + case 0x93: + sub_08021768(this); + break; + } + + if (this->currentHealth == 0) + this->field_0x42 = 0; + + sub_0804AA30(this, gUnk_080CB590); +} + +void sub_08021818(Entity* this) { + if (this->entityType.form == 0) { + sub_0804A7D4(this); + } else { + Entity* ent = this->parent; + if (ent) { + ent->field_0xf--; + this->parent = NULL; + } + CreateDeathFx(this, 0xf0, 0); + } +} + +void sub_08021848(Entity* this) { + if (sub_0806F520(this)) { + gUnk_080CB5C8[this->previousActionFlag](this); + } else { + this->action = 3; + this->height.HALF.HI = 0; + InitializeAnimation(this, 2); + } +} + +void sub_0802187C(Entity* this) { + this->previousActionFlag = 2; +} + +void nullsub_130(Entity* this) { +} + +void sub_08021888(Entity* this) { + if (sub_0806F3E4(this)) + sub_08021818(this); +} + +void sub_0802189C(Entity* this) { + sub_0804A720(this); + this->action = 1; + this->field_0x1c = 1; + InitializeAnimation(this, 3); +} + +void sub_080218B4(Entity* this) { + gUnk_080CB5D4[this->entityType.parameter](this); +} + +void sub_080218CC(Entity* this) { + if (this->previousActionFlag == 0) { + this->previousActionFlag = 1; + this->spriteSettings.b.draw = 1; + this->direction = ((sub_08049F84(this, 1) ^ 0x10) + gUnk_080CB5DC[Random() & 7]) & 0x1f; + this->nonPlanarMovement = 0x100; + this->field_0x20 = 0x12000; + } + + GetNextFrame(this); + if (this->frames.all & 1) { + sub_080AEFE0(this); + if (sub_080044EC(this, 0x1c00) == 0) + this->frameDuration = 1; + } + + if (this->frames.all & 0x80) { + this->action = 2; + this->actionDelay = (Random() & 0x38) + 8; + this->field_0xf = 1; + this->flags |= 0x80; + this->nonPlanarMovement = 0x180; + InitializeAnimation(this, 0); + } +} + +void sub_08021984(Entity* this) { + if (this->previousActionFlag == 0) { + this->previousActionFlag = 1; + this->flags |= 0x80; + this->spriteSettings.b.draw = 3; + this->height.HALF.HI = -0x80; + this->spriteRendering.b3 = 1; + this->spriteOrientation.flipY = 1; + sub_08004488(0x12d); + } + + if (sub_08003FC4(this, 0x1800) == 0) { + this->action = 2; + this->actionDelay = 16; + this->field_0xf = 1; + this->spriteSettings.b.draw = 1; + this->nonPlanarMovement = 0x180; + ((u8*)&this->field_0x86)[0] = 60; + InitializeAnimation(this, 0); + UpdateSpriteForCollisionLayer(this); + } +} + +void sub_08021A10(Entity* this) { + GetNextFrame(this); + if (sub_080041A0(this, &gPlayerEntity, 120, 80) && sub_08021D00(this) == 0) { + if (--this->actionDelay == 0) { + this->action = 3; + this->actionDelay = (Random() & 0x3f) + 30; + sub_08021D44(this, this->direction); + InitializeAnimation(this, 2); + } + } +} + +void sub_08021A64(Entity* this) { + if (!sub_08021D00(this)) { + if (--this->actionDelay == 0) { + this->action = 2; + this->actionDelay = (Random() & 0x1f) + 0x1e; + InitializeAnimation(this, 0); + } + + if (--this->field_0xf == 0) { + u32 tmp; + + this->field_0xf = 8; + tmp = sub_08049F84(this, 1); + if (tmp == 0xff) { + this->action = 7; + InitializeAnimation(this, 1); + return; + } + sub_08021D44(this, tmp); + } + sub_080AEF88(this); + GetNextFrame(this); + } +} + +void sub_08021AD8(Entity* this) { + GetNextFrame(this); + if (this->frames.all & 1) { + if (this->actionDelay) { + u32 tmp; + + this->actionDelay = 0; + tmp = sub_08049F84(this, 1); + if (tmp == 0xff) { + this->action = 2; + this->actionDelay = '\b'; + InitializeAnimation(this, 0); + return; + } + this->direction = (u8)tmp; + sub_08004488(0x7c); + } + sub_080AEFE0(this); + if (!sub_08003FC4(this, 0x1800)) + this->frameDuration = 1; + } + + if (this->frames.all & 0x80) { + this->action = 2; + this->actionDelay = 20; + ((u8*)&this->field_0x86)[0] = 60; + InitializeAnimation(this, 0); + } +} + +void sub_08021B64(Entity* this) { + if (gPlayerState.flags.all & 4) { + this->action = 3; + this->height.WORD = 0; + InitializeAnimation(this, 2); + } else { + int iVar4 = 1; + if (gPlayerState.field_0xa8 != 11 && gPlayerState.field_0xa8 != 20) { + if (sub_0807953C()) + iVar4 = this->entityType.form * 3 + 8; + + iVar4 = this->actionDelay - iVar4; + if (iVar4 < 0) + iVar4 = 0; + + this->actionDelay = (u8)iVar4; + } + + if (gPlayerState.flags.all & 0x110) + iVar4 = 0; + + if (iVar4 == 0) { + this->action = 6; + this->field_0x20 = 0x10000; + ((u8*)&this->field_0x86)[1] = 0; + if (gPlayerEntity.direction != 0xff) { + this->direction = 0x10 ^ gPlayerEntity.direction; + } else { + this->direction = (gPlayerEntity.animationState << 2) ^ 0x10; + } + InitializeAnimation(this, 5); + } else { + gPlayerState.field_0x1a[0] |= 0x80; + gPlayerState.field_0x80 -= 0x50; + gPlayerState.field_0xaa++; + CopyPositionAndSpriteOffset(&gPlayerEntity, this); + this->x.HALF.HI += gUnk_080CB5E4[(this->field_0xf++ & 0xe) >> 1]; + this->height.HALF.HI--; + GetNextFrame(this); + } + } +} + +void sub_08021C58(Entity* this) { + GetNextFrame(this); + if (this->frames.all & 1) { + sub_080AEFE0(this); + if (sub_08003FC4(this, 0x1800) == 0) + this->frameDuration = 1; + } + + if (this->frames.all & 0x80) { + this->action = 2; + this->actionDelay = 60; + this->field_0xf = 1; + this->flags |= 0x80; + this->spritePriority.b0 = 4; + ((u8*)&this->field_0x86)[0] = 60; + InitializeAnimation(this, 0); + } +} + +void sub_08021CD0(Entity* this) { + if ((this->frames.all & 0x80) == 0) + GetNextFrame(this); + + if (sub_08049F84(this, 1) == 0xff) + return; + + this->action = 3; + InitializeAnimation(this, 2); +} + +u32 sub_08021D00(Entity* this) { + u32 ret; + + if (((u8*)&this->field_0x86)[0]) { + ((u8*)&this->field_0x86)[0]--; + ret = 0; + } else if (sub_08049F64(this, 1, 0x10) == 0) { + ret = 0; + } else { + this->action = 4; + this->actionDelay = 1; + this->field_0x20 = 0x18000; + InitializeAnimation(this, 4); + ret = 1; + } + + return ret; +} + +void sub_08021D44(Entity* this, u32 param_2) { + param_2 += 4; + param_2 &= 0x18; + this->direction = param_2; + if (param_2 & 8) { + this->nonPlanarMovement = 0x180; + } else { + this->nonPlanarMovement = 0xc0; + } +} + + +// clang-format off +void (*const gUnk_080CB590[])(Entity*) = { + sub_08021768, + sub_08021780, + sub_08001324, + sub_08021818, + sub_08001242, + sub_08021848, +}; + +void (*const gUnk_080CB5A8[])(Entity*) = { + sub_0802189C, + sub_080218B4, + sub_08021A10, + sub_08021A64, + sub_08021AD8, + sub_08021B64, + sub_08021C58, + sub_08021CD0, +}; + +void (*const gUnk_080CB5C8[])(Entity*) = { + sub_0802187C, + nullsub_130, + sub_08021888, +}; + +void (*const gUnk_080CB5D4[])(Entity*) = { + sub_080218CC, + sub_08021984, +}; + +const s8 gUnk_080CB5DC[] = { + -1, -2, 1, 2, -3, 3, -4, 4, +}; + +const s8 gUnk_080CB5E4[] = { + -1, -2, -1, 0, 1, 2, 1, 0, +}; +// clang-format on + diff --git a/src/enemy/chuchu.c b/src/enemy/chuchu.c new file mode 100644 index 00000000..8dc5948c --- /dev/null +++ b/src/enemy/chuchu.c @@ -0,0 +1,764 @@ +#include "enemy.h" +#include "entity.h" +#include "functions.h" + +extern s32 sub_080012DC(Entity*); +extern void sub_08001318(Entity*); +extern void sub_080043A8(Entity*); +extern u32 sub_08049F1C(Entity*, Entity*, u32); +extern u32 sub_08049F64(Entity*, u32, u32); +extern void sub_0804AA1C(Entity*); +extern void sub_080AF160(Entity*); + +extern Entity* gUnk_020000B0; + +void sub_0801F328(Entity*); +void sub_0801F340(Entity*); +void sub_0801F360(Entity*); +void sub_0801F3AC(Entity*); +void sub_0801F730(Entity*); +void sub_0801F748(Entity*); +void sub_0801F764(Entity*); +void sub_0801FAE0(Entity*); +void sub_0801FAF8(Entity*); +void sub_0801FB14(Entity*); +void sub_0801FB34(Entity*); +void sub_0801FB68(Entity*); +u32 sub_0801FBD0(Entity*); +void sub_0801FBE4(Entity*); + +extern void (*const gUnk_080012C8[])(Entity*); +extern void (*const gUnk_080CA21C[])(Entity*); +extern void (*const gUnk_080CA234[])(Entity*); +extern void (*const gUnk_080CA25C[])(Entity*); +extern void (*const gUnk_080CA288[])(Entity*); + +extern const s8 gUnk_080CA2B4[]; + +void Chuchu(Entity* this) { + int index; + + index = sub_080012DC(this); + switch (index) { + default: + gUnk_080012C8[index](this); + return; + case 0: + /* ... */ + break; + case 2: + this->field_0x3a &= 0xfe; + if (index != this->field_0x80.HALF.HI) { + switch (this->entityType.form) { + case 0: + if (this->flags & 0x80) { + this->action = 6; + this->flags &= ~0x80; + this->nonPlanarMovement = 0x20; + this->damageType = 0x5c; + InitializeAnimation(this, 5); + } + break; + case 1: + /* ... */ + break; + case 2: + sub_080043A8(this); + return; + } + } + break; + } + this->field_0x80.HALF.HI = index; + gUnk_080CA21C[GetNextFunction(this)](this); + if (*(char*)(*(int*)&this->field_0x68 + 10) == 0x1c) { + SetChildOffset(this, 0, 1, -0x10); + } else if (this->entityType.form == 2) { + sub_0801FB34(this); + } +} + +void sub_0801EEE4(Entity* this) { + switch (this->entityType.form) { + case 0: + sub_0801F3AC(this); + gUnk_080CA234[this->action](this); + break; + case 1: + sub_0801F764(this); + gUnk_080CA25C[this->action](this); + break; + case 2: + gUnk_080CA288[this->action](this); + break; + } +} + +void sub_0801EF40(Entity* this) { + u8 health; + + if (this->entityType.form == 2) { + if (this->bitfield == 0x8e || this->bitfield == 0x95) { + this->flags &= ~0x80; + this->currentHealth = 0; + } + } + + health = this->currentHealth; + if (health) { + if (this->bitfield == 0x94) { + sub_0801FB68(this); + sub_0804A9FC(this, 0x1c); + InitializeAnimation(this, 6); + } else if (this->field_0x80.HALF.LO != health) { + sub_0801FB68(this); + InitializeAnimation(this, 6); + } + } else { + sub_0804AA1C(this); + this->field_0x20 = 0; + InitializeAnimation(this, 9); + } + this->field_0x80.HALF.LO = this->currentHealth; + sub_0804AA30(this, gUnk_080CA21C); +} + +void sub_0801EFD8(Entity* this) { + if (sub_0806F520(this) == 0 && this->field_0x43) { + sub_0804A9FC(this, 0x1c); + InitializeAnimation(this, 6); + } else { + if (this->animIndex != 8) { + sub_0801FB68(this); + InitializeAnimation(this, 8); + } + sub_08003FC4(this, 0x1800); + GetNextFrame(this); + } +} + +void sub_0801F02C(Entity* this) { + if (this->animIndex == 6) + GetNextFrame(this); + sub_08001318(this); +} + +void sub_0801F048(Entity* this) { + sub_08003FC4(this, 0x1800); + GetNextFrame(this); + if (this->entityType.form == 0) { + sub_0804A7D4(this); + } else if (this->entityType.form == 1) { + CreateDeathFx(this, 0xf2, 0); + } else { + CreateDeathFx(this, 0xf1, 0); + } +} + +void sub_0801F084(Entity* this) { + if ((this->frames.all & 0x80) == 0) + GetNextFrame(this); + sub_08001242(this); +} + +void sub_0801F0A4(Entity* this) { + sub_0804A720(this); + this->action = 1; + this->field_0x80.HALF.LO = this->currentHealth; + this->field_0x82.HALF.LO = 0; +} + +void nullsub_4(Entity* this) { + (void)this; +} + +void sub_0801F0C8(Entity* this) { + GetNextFrame(this); + if (this->frames.all & 0x80) { + this->action = 3; + this->actionDelay = (Random() & 3) + 0xc; + this->field_0xf = Random(); + this->direction = sub_08049F84(this, 1); + this->flags |= 0x80; + this->spritePriority.b0 = 4; + this->spritePriority.b1 = 3; + InitializeAnimation(this, 2); + } +} + +void sub_0801F12C(Entity* this) { + if (sub_0801FBD0(this)) { + sub_0801F328(this); + } else { + if ((this->field_0xf++ & 7) == 0) { + this->direction = sub_08049F84(this, 1); + } + sub_080AEF88(this); + GetNextFrame(this); + if (--this->actionDelay == 0) { + if (sub_08049F64(this, 1, 0x38)) { + this->action = 4; + sub_0801FBE4(this); + } else if (sub_08049F64(this, 1, 0x48)) { + this->actionDelay = (Random() & 3) + 0xc; + } else { + sub_0801F328(this); + } + } + } +} + +void sub_0801F1B0(Entity* this) { + if (this->frames.all & 0x10) { + if (this->frames.all & 1) { + this->frames.all ^= 1; + this->damageType = 90; + sub_08004488(299); + } + sub_080AEFE0(this); + if (sub_08003FC4(this, 0x4000) == 0) + GetNextFrame(this); + } else { + GetNextFrame(this); + } + + if (this->frames.all & 0x80) { + if (sub_0801FBD0(this)) { + sub_0801F328(this); + } else { + sub_0801F340(this); + } + } +} + +void sub_0801F228(Entity* this) { + if (--this->actionDelay == 0) { + this->action = 3; + this->direction = sub_08049F84(this, 1); + } + GetNextFrame(this); +} + +void sub_0801F250(Entity* this) { + GetNextFrame(this); + if (this->frames.all & 0x80) + sub_0801F360(this); +} + +void sub_0801F270(Entity* this) { + if ((this->field_0xf++ & 7) == 0) { + this->direction = sub_08049F84(this, 1); + } + + sub_080AF160(this); + GetNextFrame(this); + if (sub_0801FBD0(this)) + return; + + if (--this->actionDelay) + return; + + if (this->field_0x80.HALF.HI == 0) { + this->action = 2; + InitializeAnimation(this, 4); + } else { + this->actionDelay = 8; + } +} + +void sub_0801F2CC(Entity* this) { + GetNextFrame(this); + if (this->frames.all & 0x80) { + this->action = 1; + this->spriteSettings.b.draw = 0; + InitializeAnimation(this, 4); + } +} + +void sub_0801F2F8(Entity* this) { + sub_08003FC4(this, 0x1800); + GetNextFrame(this); + if (this->frames.all & 0x80) { + sub_0801F340(this); + sub_0804AA1C(this); + } +} + +void sub_0801F328(Entity* this) { + this->action = 6; + this->flags &= ~0x80; + InitializeAnimation(this, 5); +} + +void sub_0801F340(Entity* this) { + this->action = 5; + this->actionDelay = 60; + this->nonPlanarMovement = 0x20; + this->damageType = 92; + InitializeAnimation(this, 2); +} + +void sub_0801F360(Entity* this) { + this->action = 7; + this->actionDelay = (Random() & 0x38) + 0xb4; + this->field_0xf = Random(); + this->direction = sub_08049F84(this, 1); + this->spritePriority.b1 = 2; + this->spritePriority.b0 = 6; + InitializeAnimation(this, 1); +} + +void sub_0801F3AC(Entity* this) { + if (this->action == 9 || this->action == 0) + return; + + if (sub_08049FDC(this, 1)) { + if (this->field_0x82.HALF.LO || sub_08049F64(this, 1, 0x48)) { + if (this->action == 1) { + this->action = 2; + this->spriteSettings.b.draw = 1; + this->field_0x82.HALF.LO = 1; + InitializeAnimation(this, 0); + } + } else if (this->action == 3) { + sub_0801F328(this); + } + } else if (this->action == 3) { + sub_0801F328(this); + } else if (this->action == 7) { + this->action = 8; + InitializeAnimation(this, 7); + } +} + +void sub_0801F428(Entity* this) { + sub_0804A720(this); + this->action = 1; + this->actionDelay = Random(); + this->field_0x80.HALF.LO = this->currentHealth; + this->field_0x82.HALF.LO = 0; + if (this->entityType.parameter == 0) + return; + + this->action = 3; + this->field_0xf = 30; + this->flags |= 0x80; + this->spritePriority.b1 = 3; + this->spriteSettings.b.draw = 1; + InitializeAnimation(this, 2); +} + +void sub_0801F48C(Entity* this) { + GetNextFrame(this); +} + +void sub_0801F494(Entity* this) { + GetNextFrame(this); + if (this->frames.all & 0x80) { + this->action = 3; + this->field_0xf = 30; + this->direction = sub_08049F84(this, 1); + this->flags |= 0x80; + this->spritePriority.b0 = 4; + this->spritePriority.b1 = 3; + InitializeAnimation(this, 2); + } +} + +void sub_0801F4EC(Entity* this) { + GetNextFrame(this); + if (--this->field_0xf == 0) + this->action = 4; +} + +void sub_0801F508(Entity* this) { + if (sub_0801FBD0(this)) { + this->field_0x82.HALF.HI = 0; + sub_0801F730(this); + } else { + u8 tmp = ++this->actionDelay & 7; + if (tmp == 0 && sub_08049F64(this, 1, 0x38)) { + if (Random() & 1) { + this->action = 5; + sub_0801FBE4(this); + } else { + this->field_0x82.HALF.HI = 120; + sub_0801F730(this); + } + } else { + if (tmp == 4) { + this->direction = sub_08049F84(this, 1); + } + sub_080AEF88(this); + GetNextFrame(this); + } + } +} + +void sub_0801F584(Entity* this) { + if (this->frames.all & 0x10) { + if (this->frames.all & 0x1) { + this->frames.all ^= 1; + this->damageType = 91; + sub_08004488(299); + } + sub_080AEFE0(this); + if (sub_08003FC4(this, 0x4000) == 0) + GetNextFrame(this); + + } else { + GetNextFrame(this); + } + + if (this->frames.all & 0x80) { + if (sub_0801FBD0(this)) { + this->field_0x82.HALF.HI = 0; + sub_0801F730(this); + } else { + this->action = 6; + this->field_0xf = 60; + this->nonPlanarMovement = 0x20; + this->damageType = 92; + InitializeAnimation(this, 2); + } + } +} + +void sub_0801F61C(Entity* this) { + if (--this->field_0xf == 0) + this->action = 4; + GetNextFrame(this); +} + +void sub_0801F638(Entity* this) { + GetNextFrame(this); + if (this->frames.all & 0x80) { + this->action = 8; + this->field_0xf = 30; + this->direction = sub_08049F84(this, 1); + this->spritePriority.b1 = 2; + this->spritePriority.b0 = 6; + InitializeAnimation(this, 1); + } +} + +void sub_0801F688(Entity* this) { + if (this->field_0x82.HALF.HI) + this->field_0x82.HALF.HI--; + + if (sub_0801FBD0(this) || this->field_0x82.HALF.HI) { + this->direction = sub_08049F84(this, 1); + sub_080AF160(this); + GetNextFrame(this); + } else { + sub_0801F748(this); + } +} + +void sub_0801F6CC(Entity* this) { + GetNextFrame(this); + if (this->frames.all & 0x80) { + this->action = 1; + this->spriteSettings.b.draw = 0; + InitializeAnimation(this, 4); + } +} + +void sub_0801F6F8(Entity* this) { + sub_08003FC4(this, 0x1800); + GetNextFrame(this); + if (this->frames.all & 0x80) { + this->action = 4; + this->nonPlanarMovement = 0x20; + sub_0804AA1C(this); + InitializeAnimation(this, 2); + } +} + +void sub_0801F730(Entity* this) { + this->action = 7; + this->flags &= ~0x80; + InitializeAnimation(this, 5); +} + +void sub_0801F748(Entity* this) { + this->action = 2; + this->spriteSettings.b.draw = 1; + InitializeAnimation(this, 4); +} + +void sub_0801F764(Entity* this) { + if (this->action == 10 || this->action == 0) + return; + + if (sub_08049FDC(this, 1)) { + if (this->action == 1) { + if (this->field_0x82.HALF.LO || sub_08049F64(this, 1, 0x48)) { + this->action = 2; + this->spriteSettings.b.draw = 1; + this->field_0x82.HALF.LO = 1; + InitializeAnimation(this, 0); + } + } + } else if (this->action == 4) { + sub_0801F730(this); + } else if (this->action == 8) { + this->action = 9; + InitializeAnimation(this, 7); + } +} + +void sub_0801F7D8(Entity* this) { + sub_0804A720(this); + this->action = 1; + this->actionDelay = Random(); + this->field_0x80.HALF.LO = this->currentHealth; + this->field_0x82.HALF.LO = 0; +} + +void sub_0801F7FC(Entity* this) { + if (sub_08049FDC(this, 1) == 0) + return; + + if (this->field_0x82.HALF.LO || sub_08049F64(this, 1, 0x48)) { + this->action = 2; + this->spriteSettings.b.draw = 1; + this->field_0x82.HALF.LO = 1; + InitializeAnimation(this, 0); + } +} + +void sub_0801F840(Entity* this) { + GetNextFrame(this); + if (this->frames.all & 0x80) { + sub_0801FB14(this); + this->flags |= 0x80; + this->spritePriority.b0 = 4; + this->spritePriority.b1 = 3; + } +} + +void sub_0801F884(Entity* this) { + GetNextFrame(this); + if (this->field_0xf) { + this->field_0xf--; + } else { + Entity* ent = sub_0804A9FC(this, 0x1b); + if (ent) { + ent->entityType.parameter = 64; + this->action = 4; + this->damageType = 165; + sub_08004488(0x193); + } + } +} + +void sub_0801F8C0(Entity* this) { + if (sub_0801FBD0(this)) { + sub_0801FAE0(this); + } else if (sub_08049FDC(this, 1) == 0) { + sub_0801F730(this); + } else { + u8 tmp = ++this->actionDelay & 7; + if (tmp == 0 && sub_08049F1C(this, gUnk_020000B0, 0x38)) { + this->action = 5; + sub_0801FBE4(this); + } else { + if (tmp == 4) { + this->direction = GetFacingDirection(this, gUnk_020000B0); + } + sub_080AEF88(this); + GetNextFrame(this); + } + } +} + +void sub_0801F940(Entity* this) { + if (this->frames.all & 0x10) { + if (this->frames.all & 1) { + this->frames.all ^= 1; + sub_08004488(299); + } + sub_080AEFE0(this); + if (sub_08003FC4(this, 0x4000) == 0) + GetNextFrame(this); + } else { + GetNextFrame(this); + } + + if (this->frames.all & 0x80) { + if (sub_0801FBD0(this)) { + sub_0801FAE0(this); + } else { + this->action = 6; + this->field_0xf = 60; + this->nonPlanarMovement = 0x20; + InitializeAnimation(this, 2); + } + } +} + +void sub_0801F9C4(Entity* this) { + if (--this->field_0xf == 0) + this->action = 4; + GetNextFrame(this); +} + +void sub_0801F9E0(Entity* this) { + GetNextFrame(this); + if (this->frames.all & 0x80) { + this->action = 8; + this->field_0xf = 30; + this->direction = sub_08049F84(this, 1); + this->spritePriority.b1 = 2; + this->spritePriority.b0 = 6; + InitializeAnimation(this, 1); + } +} + +void sub_0801FA30(Entity* this) { + if (sub_0801FBD0(this)) { + this->direction = sub_08049F84(this, 1); + sub_080AF160(this); + GetNextFrame(this); + } else if (sub_08049FDC(this, 1) == 0) { + this->action = 9; + InitializeAnimation(this, 7); + } else { + sub_0801FAF8(this); + } +} + +void sub_0801FA78(Entity* this) { + GetNextFrame(this); + if (this->frames.all & 0x80) { + this->action = 1; + this->spriteSettings.b.draw = 0; + InitializeAnimation(this, 4); + sub_0804AA1C(this); + } +} + +void sub_0801FAAC(Entity* this) { + sub_08003FC4(this, 0x1800); + GetNextFrame(this); + if (this->frames.all & 0x80) { + sub_0801FB14(this); + this->nonPlanarMovement = 0x20; + sub_0804AA1C(this); + } +} + +void sub_0801FAE0(Entity* this) { + this->action = 7; + this->flags &= ~0x80; + InitializeAnimation(this, 5); +} + +void sub_0801FAF8(Entity* this) { + this->action = 2; + this->spriteSettings.b.draw = 1; + InitializeAnimation(this, 4); +} + +void sub_0801FB14(Entity* this) { + this->action = 3; + this->field_0xf = 30; + this->direction = sub_08049F84(this, 1); + InitializeAnimation(this, 2); +} + +void sub_0801FB34(Entity* this) { + if (*(Entity**)&this->field_0x68) { + sub_0806FA90(this, *(Entity**)&this->field_0x68, gUnk_080CA2B4[this->frames.all & 0xf], 1); + (*(Entity**)&this->field_0x68)->spriteOffsetY--; + } +} + +void sub_0801FB68(Entity* this) { + switch (this->entityType.form) { + case 0: + this->action = 9; + break; + case 1: + this->action = 10; + this->flags |= 0x80; + this->spriteSettings.b.draw = 1; + this->spritePriority.b1 = 3; + break; + case 2: + this->action = 10; + this->damageType = 92; + sub_0804AA1C(this); + break; + } + + this->field_0x20 = 0; +} + +u32 sub_0801FBD0(Entity* this) { + if (sub_080002B8(this) == 0x10) { + return 1; + } else { + return 0; + } +} + +void sub_0801FBE4(Entity* this) { + this->nonPlanarMovement = 0x180; + this->field_0x20 = 0x20000; + this->direction = sub_08049F84(this, 1); + InitializeAnimation(this, 3); +} + +// clang-format off +void (*const gUnk_080CA21C[])(Entity*) = { + sub_0801EEE4, + sub_0801EF40, + sub_0801F02C, + sub_0801F048, + sub_0801F084, + sub_0801EFD8, +}; + +void (*const gUnk_080CA234[])(Entity*) = { + sub_0801F0A4, + nullsub_4, + sub_0801F0C8, + sub_0801F12C, + sub_0801F1B0, + sub_0801F228, + sub_0801F250, + sub_0801F270, + sub_0801F2CC, + sub_0801F2F8, +}; + +void (*const gUnk_080CA25C[])(Entity*) = { + sub_0801F428, + sub_0801F48C, + sub_0801F494, + sub_0801F4EC, + sub_0801F508, + sub_0801F584, + sub_0801F61C, + sub_0801F638, + sub_0801F688, + sub_0801F6CC, + sub_0801F6F8, +}; + +void (*const gUnk_080CA288[])(Entity*) = { + sub_0801F7D8, + sub_0801F7FC, + sub_0801F840, + sub_0801F884, + sub_0801F8C0, + sub_0801F940, + sub_0801F9C4, + sub_0801F9E0, + sub_0801FA30, + sub_0801FA78, + sub_0801FAAC, +}; +// clang-format on diff --git a/src/enemy/cuccoChickAggr.c b/src/enemy/cuccoChickAggr.c new file mode 100644 index 00000000..2fcfcc89 --- /dev/null +++ b/src/enemy/cuccoChickAggr.c @@ -0,0 +1,167 @@ +#include "enemy.h" +#include "entity.h" +#include "functions.h" + +extern Entity* sub_08049DF4(u32); + +void sub_08022A88(Entity*); +void sub_08022AA4(Entity*); +void sub_08022B0C(Entity*); +u32 sub_08022B20(Entity*); +void sub_08022B44(Entity*); + +extern void (*const gUnk_080CBB64[])(Entity*); +extern void (*const gUnk_080CBB7C[])(Entity*); + +void CuccoChickAggr(Entity* this) { + gUnk_080CBB64[GetNextFunction(this)](this); +} + +void sub_08022934(Entity* this) { + gUnk_080CBB7C[this->action](this); +} + +void sub_0802294C(Entity* this) { + sub_0804AA30(this, gUnk_080CBB64); +} + +void nullsub_132(Entity* this) { +} + +void sub_08022960(Entity* this) { + sub_0804A720(this); + sub_08022A88(this); +} + +void sub_08022970(Entity* this) { + if (--this->actionDelay == 0) { + sub_08022AA4(this); + } +} + +void sub_08022988(Entity* this) { + if (this->height.HALF.HI == 0 && sub_08022B20(this)) { + sub_08022B0C(this); + } else { + if (this->field_0xf) { + if (--this->field_0xf) + return; + + this->frameIndex = 1; + this->field_0x20 = 0x10000; + sub_08004488(0xd6); + } + + sub_080AEF88(this); + if (sub_08003FC4(this, 0x2000) == 0) { + if (--this->actionDelay == 0) { + sub_08022A88(this); + } else { + this->field_0xf = 4; + this->frameIndex = 0; + } + } + } +} + +void sub_080229F8(Entity* this) { + if (sub_08003FC4(this, 0x2800) == 0) { + if (--this->actionDelay == 0) { + this->action = 4; + this->actionDelay = 6; + this->field_0xf = 8; + this->frameIndex = 0; + this->nonPlanarMovement = 0xc0; + sub_08022B44(this); + } else { + this->field_0x20 = 0x10000; + sub_08004488(0xd6); + } + } +} + +void sub_08022A40(Entity* this) { + if (this->field_0xf) { + if (--this->field_0xf) + return; + + this->frameIndex = 1; + } + + sub_080AEF88(this); + if (sub_08003FC4(this, 0x2000) == 0) { + if (--this->actionDelay == 0) { + sub_08022A88(this); + } else { + sub_08022B44(this); + } + } +} + +void sub_08022A88(Entity* this) { + this->action = 1; + this->actionDelay = (Random() & 0xf) + 8; + this->frameIndex = 0; +} + +void sub_08022AA4(Entity* this) { + u32 rand = Random(); + + this->action = 2; + this->actionDelay = (rand & 3) + 1; + this->field_0xf = 1; + this->nonPlanarMovement = 0x80; + + if (!sub_08049FA0(this) && (rand >> 8) & 3) { + this->direction = sub_08049EE4(this); + } else { + this->direction = (rand >> 0x10) & 0x1f; + } + + if (this->direction & 0xf) + this->spriteSettings.b.flipX = (this->direction >> 4) ^ 1; +} + +void sub_08022B0C(Entity* this) { + this->action = 3; + this->actionDelay = 3; + this->field_0xf = 8; + sub_08022B44(this); +} + +u32 sub_08022B20(Entity* this) { + if (!sub_08049DF4(2)) + return 0; + + return sub_080041A0(this, &gPlayerEntity, 0x24, 0x24); +} + +void sub_08022B44(Entity *this){ + this->field_0x20 = 0xc000; + this->direction = GetFacingDirection(this,&gPlayerEntity); + + if (this->direction & 0xf) + this->spriteSettings.b.flipX = (this->direction >> 4)^1; + + sub_08004488(0xd6); +} + + +// clang-format off +void (*const gUnk_080CBB64[])(Entity*) = { + sub_08022934, + sub_0802294C, + sub_08001324, + sub_0804A7D4, + sub_08001242, + nullsub_132, +}; + +void (*const gUnk_080CBB7C[])(Entity*) = { + sub_08022960, + sub_08022970, + sub_08022988, + sub_080229F8, + sub_08022A40, +}; +// clang-format on diff --git a/src/enemy/darkNut.c b/src/enemy/darkNut.c new file mode 100644 index 00000000..f226026f --- /dev/null +++ b/src/enemy/darkNut.c @@ -0,0 +1,754 @@ +#include "entity.h" +#include "functions.h" + +typedef struct { + u8 field_0x0; + u8 field_0x1; +} PACKED stuct_080CAB14; + +void sub_08021218(); +void sub_08021588(); +void sub_080213D0(); +void sub_08021390(); +void sub_0802159C(); +void sub_0804AA1C(); +void sub_080213F0(); +u32 sub_080214FC(); +void sub_08021540(); +void sub_08021600(); +void sub_080213B0(); +u32 sub_08049F64(); +u32 sub_0802169C(); +void sub_0802124C(); +void sub_08021644(); +void sub_08021414(); +void sub_08021400(); +u32 sub_08021274(u32, u32); +u32 sub_08021664(Entity*, Entity*); +u32 sub_0804A044(Entity*, Entity*, u32); +void sub_08021424(Entity*); + +extern Entity* gUnk_020000B0; + +extern void (*const gUnk_080CAA98[])(Entity*); +extern void (*const gUnk_080CAAB0[])(Entity*); + +extern const s8 gUnk_080CAB00[]; +extern const s8 gUnk_080CAB04[]; +extern const u8 gUnk_080CAB08[]; +extern const s8 gUnk_080CAB0C[]; +extern const s8 gUnk_080CAB10[]; +extern const stuct_080CAB14 gUnk_080CAB14[]; +extern const u8 gUnk_080CAB3A[]; +extern const u8 gUnk_080CAB42[]; +extern const u8 gUnk_080CAB4A[]; +extern const u8 gUnk_080CAB52[]; +extern const u8 gUnk_080CAB68[]; + +extern void (*const gUnk_080CAB58[])(Entity*); + +void DarkNut(Entity* this) { + EnemyFunctionHandler(this, gUnk_080CAA98); + SetChildOffset(this, 0, 1, -22); +} + +void sub_08020BA0(Entity* this) { + gUnk_080CAAB0[this->action](this); +} + +void sub_08020BB8(Entity* this) { + switch (this->bitfield & 0x7f) { + case 0x1c: + this->action = 11; + this->actionDelay = gUnk_080CAB0C[this->entityType.form]; + this->damageType = 81; + sub_08021218(this, 8, (((this->field_0x3e ^ 0x10) + 4) & 0x18) >> 3); + sub_08021588(this); + sub_0804A9FC(this, 0x1c); + break; + case 0x16: + this->action = 11; + this->actionDelay = gUnk_080CAB10[this->entityType.form]; + this->damageType = 81; + sub_08021218(this, 8, (((this->field_0x3e ^ 0x10) + 4) & 0x18) >> 3); + sub_08021588(this); + sub_0804A9FC(this, 0x1c); + break; + case 0x4b: + if (this->action == 13 || this->action == 15 || this->action == 19 || this->action == 18) + break; + switch (this->field_0x78.HALF.HI) { + case 8 ... 12: + this->field_0x7a.HALF.LO = gUnk_080CAB04[this->entityType.form]; + break; + case 4 ... 6: + this->field_0x7a.HALF.LO = gUnk_080CAB00[this->entityType.form]; + break; + default: + this->field_0x7a.HALF.LO = 0; + break; + } + this->action = 10; + sub_08021218(this, 0xb, this->animationState); + sub_08004488(0x15d); + sub_08021588(this); + break; + case 0x4c: + if (this->action == 15) { + u8 bVar3 = 0xff; + if (this->attachedEntity != NULL) { + bVar3 = this->attachedEntity->bitfield & 0x7f; + } + if (bVar3 == 2) { + sub_080213D0(this, gUnk_080CAB08[this->entityType.form]); + } else { + sub_080213D0(this, 0); + } + } + break; + default: + if (this->currentHealth != this->field_0x78.HALF.LO) { + sub_08021588(this); + sub_08021390(this); + sub_0804AA1C(this); + } + break; + } + this->field_0x78.HALF.LO = this->currentHealth; + sub_0804AA30(this, gUnk_080CAA98); +} + +void nullsub_129(Entity* this) { +} + +void sub_08020D70(Entity* this) { + sub_0804A720(this); + this->action = 1; + this->field_0x74.HALF.HI = 0; + this->field_0x78.HALF.LO = this->currentHealth; + this->animationState = -1; + sub_08021218(this, 0, 2); +} + +void sub_08020D9C(Entity* this) { + if (sub_08049FDC(this, 1)) + sub_080213F0(this); +} + +void sub_08020DB4(Entity* this) { + UpdateAnimationSingleFrame(this); + if (this->frames.all & 0x80) + sub_08021390(this); +} + +void sub_08020DD4(Entity* this) { + if (sub_080214FC(this)) { + sub_080213F0(this); + } else if (--this->field_0x76.HWORD == 0) { + this->action = 5; + sub_08021218(this, 5, this->animationState); + } else { + if (--this->actionDelay == 0) + sub_08021540(this); + sub_080AEF88(this); + UpdateAnimationSingleFrame(this); + } +} + +void sub_08020E28(Entity* this) { + UpdateAnimationSingleFrame(this); + if (this->frames.all & 0x80) + sub_080213B0(this); +} + +void sub_08020E48(Entity* this) { + if (sub_080214FC(this)) { + sub_080213F0(this); + } else { + UpdateAnimationSingleFrame(this); + if (this->frames.all & 0x80) + sub_080213B0(this); + } +} + +void sub_08020E78(Entity* this) { + UpdateAnimationSingleFrame(this); + if (this->frames.all & 0x80) + sub_08021390(this); +} + +void sub_08020E98(Entity* this) { + if (sub_08049F64(this, 1, 0x38)) { + if (sub_0802169C(this, gUnk_020000B0)) { + this->action = 8; + sub_08021218(this, 7, this->animationState); + } else { + this->direction = GetFacingDirection(gUnk_020000B0, this); + if (sub_080AEF88(this) == 0) { + this->action = 8; + sub_08021218(this, 7, this->animationState); + } else { + this->direction ^= 0x10; + sub_0802124C(this); + sub_08021644(this); + } + } + } else { + if (gUnk_020000B0 == NULL) { + sub_08021414(this); + } else { + this->direction = GetFacingDirection(this, gUnk_020000B0); + sub_080AEF88(this); + sub_0802124C(this); + sub_08021644(this); + } + } +} + +void sub_08020F28(Entity* this) { + UpdateAnimationSingleFrame(this); + if (this->frames.all & 0x80) + sub_08021400(this); +} + +void sub_08020F48(Entity* this) { + if (sub_08049F64(this, 1, 0x48)) { + if (sub_08021664(this, gUnk_020000B0)) { + u32 uVar2 = sub_0804A044(this, gUnk_020000B0, 9); + if (uVar2 == 0xff) { + sub_08021424(this); + } else { + Entity* pEVar3; + + this->action = 14; + sub_08021218(this, 13, uVar2 >> 3); + pEVar3 = sub_0804A98C(this, 0, 1); + if (pEVar3) { + pEVar3->parent = this; + this->attachedEntity = pEVar3; + } + } + } else { + sub_08021424(this); + } + } else { + sub_08021390(this); + } +} + +void sub_08020FAC(Entity* this) { + if (this->frames.all & 0x80) { + if (this->field_0x7a.HALF.LO) { + this->field_0x7a.HALF.LO--; + } else { + this->hurtBlinkTime = -8; + sub_08021390(this); + } + } else { + UpdateAnimationSingleFrame(this); + } +} + +void sub_08020FE4(Entity* this) { + UpdateAnimationSingleFrame(this); + if (--this->actionDelay == 0) { + this->action = 12; + sub_08021218(this, 9, this->animationState); + sub_0804AA1C(this); + } +} + +void sub_08021010(Entity* this) { + UpdateAnimationSingleFrame(this); + if (this->frames.all & 0x80) { + this->damageType = 0x56; + sub_080213F0(this); + } +} + +void sub_08021038(Entity* this) { + if (this->attachedEntity == NULL && this->frames.all) { + Entity* pEVar2 = (Entity*)sub_0804A98C(this, 0, 0); + if (pEVar2) { + pEVar2->parent = this; + this->attachedEntity = pEVar2; + } + sub_08004488(270); + } + + if (this->frames.all & 0x80) { + sub_08021588(this); + if (this->field_0x7c.BYTES.byte0) { + this->field_0x7c.BYTES.byte0--; + } else { + sub_08021390(this); + } + } else { + UpdateAnimationSingleFrame(this); + if (this->frames.all == 4) + this->damageType = 81; + } +} + +void sub_080210A8(Entity* this) { + UpdateAnimationSingleFrame(this); + if (this->frames.all & 1) { + this->frames.all = 0; + sub_08021588(this); + sub_08004488(349); + } else if (this->frames.all & 0x80) { + sub_08021390(this); + } +} + +void sub_080210E4(Entity* this) { + UpdateAnimationSingleFrame(this); + if (this->frames.all & 1) { + Entity* ent; + + this->frames.all &= ~1; + ent = sub_0804A98C(this, 0, 2); + if (ent) { + ent->parent = this; + this->attachedEntity = ent; + } + + sub_08004488(270); + } + + sub_08021644(this); + if ((this->frames.all & 0x10) && + (!sub_080AEF88(this) || (this->attachedEntity && (this->attachedEntity->bitfield & 0x80)))) { + sub_080213D0(this, 0); + } else { + if (--this->field_0x76.HWORD == 0) + sub_080213D0(this, 0); + } +} + +void sub_08021170(Entity* this) { + if (this->frames.all & 0x80) { + if (this->field_0x7a.HALF.HI) { + this->field_0x7a.HALF.HI--; + } else { + sub_08021390(this); + } + } else { + UpdateAnimationSingleFrame(this); + } +} + +void sub_080211A0(Entity* this) { + if (sub_080214FC(this)) { + sub_08021390(this); + } else { + UpdateAnimationSingleFrame(this); + if (this->frames.all & 0x80) + sub_080213B0(this); + } +} + +void sub_080211D0(Entity* this) + +{ + UpdateAnimationSingleFrame(this); + sub_0802159C(this); + + if (this->frames.all & 0x80) + sub_08021390(this); +} + +void sub_080211F4(Entity* this) { + UpdateAnimationSingleFrame(this); + sub_08021600(this); + + if (this->frames.all & 0x80) + sub_08021390(this); +} + +void sub_08021218(Entity* this, u32 param_2, u32 param_3) { + const stuct_080CAB14* unk; + + if (this->field_0x74.HALF.LO == param_2 && this->animationState == param_3) + return; + + this->animationState = param_3; + this->field_0x74.HALF.LO = param_2; + + unk = &gUnk_080CAB14[param_2]; + this->spriteIndex = unk->field_0x1; + InitAnimationForceUpdate(this, unk->field_0x0 + param_3); +} + +void sub_0802124C(Entity* this) { + u32 iVar1 = sub_08021274(this->animationState, this->direction); + if (iVar1 != 0xff) { + sub_08021218(this, this->field_0x74.HALF.LO, iVar1); + } else { + UpdateAnimationSingleFrame(this); + } +} + +NAKED +u32 sub_08021274(u32 a, u32 b) { + asm(".include \"asm/non_matching/darkNut/sub_08021274.inc\""); +} + +void sub_080212B0(Entity* this) { + u8 tmp; + + switch (this->field_0x74.HALF.HI) { + default: + this->field_0x74.HALF.HI = 1; + tmp = gUnk_080CAB3A[Random() & 7]; + break; + case 1: + this->field_0x74.HALF.HI = 2; + tmp = gUnk_080CAB42[Random() & 7]; + break; + case 2: + this->field_0x74.HALF.HI = 0; + tmp = gUnk_080CAB4A[Random() & 7]; + break; + } + + if (this->entityType.form < 2 && tmp == 2) + tmp = gUnk_080CAB52[Random() & 3]; + + this->attachedEntity = NULL; + gUnk_080CAB58[tmp](this); +} + +void sub_08021328(Entity* this) { + this->action = 13; + this->field_0x7c.BYTES.byte0 = gUnk_080CAB68[this->entityType.form]; + sub_08021218(this, 0xc, this->animationState); +} + +void sub_0802134C(Entity* this) { + this->action = 15; + this->direction = this->animationState << 3; + this->nonPlanarMovement = 0x200; + this->field_0x76.HWORD = 0x78; + sub_08021218(this, 0xe, this->animationState); +} + +void sub_08021370(Entity* this) { + this->action = 18; + sub_08021218(this, 0x10, this->animationState); +} + +void sub_08021380(Entity* this) { + this->action = 19; + sub_08021218(this, 0x11, this->animationState); +} + +void sub_08021390(Entity* this) { + this->action = 7; + this->nonPlanarMovement = 0x200; + this->damageType = 0x56; + sub_08021218(this, 6, this->animationState); +} + +void sub_080213B0(Entity* this) { + this->action = 3; + this->actionDelay = 1; + this->nonPlanarMovement = 0xc0; + this->field_0x76.HWORD = 0xf0; + sub_08021218(this, 3, this->animationState); +} + +void sub_080213D0(Entity* this, u32 param_2) { + this->action = 16; + this->field_0x7a.HALF.HI = param_2; + sub_08021218(this, 0xf, this->animationState); + sub_08021588(this); +} + +void sub_080213F0(Entity* this) { + this->action = 6; + sub_08021218(this, 1, this->animationState); +} + +void sub_08021400(Entity* this) { + this->action = 9; + this->nonPlanarMovement = 0x60; + sub_08021218(this, 10, this->animationState); +} + +void sub_08021414(Entity* this) { + this->action = 17; + sub_08021218(this, 5, this->animationState); +} + +void sub_08021424(Entity* this) { + s32 x, y; + u32 tmp; + + u32 dir = GetFacingDirection(this, gUnk_020000B0); + tmp = sub_08021274(this->animationState, dir); + if (tmp != 0xff) { + sub_08021218(this, this->field_0x74.HALF.LO, tmp); + } else { + tmp = this->animationState; + } + + switch (tmp) { + case 0: + x = gUnk_020000B0->x.HALF.HI; + y = gUnk_020000B0->y.HALF.HI + 0x2c; + break; + case 1: + x = gUnk_020000B0->x.HALF.HI - 0x24; + y = gUnk_020000B0->y.HALF.HI; + break; + case 2: + x = gUnk_020000B0->x.HALF.HI; + y = gUnk_020000B0->y.HALF.HI - 0x1d; + break; + default: + x = gUnk_020000B0->x.HALF.HI + 0x24; + y = gUnk_020000B0->y.HALF.HI; + break; + } + + if (!(6 < (x - this->x.HALF.HI) + 3U) && !(4 < (y - this->y.HALF.HI) + 2U)) { + sub_080212B0(this); + } else { + this->direction = sub_080045D4(this->x.HALF.HI, this->y.HALF.HI, x, y); + if (!sub_080AEF88(this)) { + sub_080212B0(this); + } else { + UpdateAnimationSingleFrame(this); + } + } +} + +u32 sub_080214FC(Entity* this) { + u32 direction; + + if (!sub_08049FDC(this, 1)) + return 0; + + direction = GetFacingDirection(this, gUnk_020000B0); + if (4 < (direction - (this->frames.all & 0x1f)) - 2) + return 0; + + this->animationState = ((direction + 4) & 0x18) >> 3; + return 1; +} + +void sub_08021540(Entity* this) { + u32 tmp, tmp2; + u32 rand; + + rand = Random(); + if (!sub_08049FA0(this) && (rand & 1)) { + tmp2 = (sub_08049EE4(this) + 4) & 0x18; + } else { + tmp2 = (rand >> 0x10) & 0x18; + } + this->direction = tmp2; + + tmp = sub_08021274(this->animationState, tmp2); + if (tmp != 0xff) + sub_08021218(this, 3, tmp); + + this->actionDelay = 30; +} + +void sub_08021588(Entity* this) { + if (this->attachedEntity) { + this->attachedEntity->parent = NULL; + this->attachedEntity = NULL; + } +} + +void sub_0802159C(Entity* this) { + if (this->frames.all == 1) { + Entity* ent; + + this->frames.all = 0; + this->damageType = 0x51; + ent = sub_0804A98C(this, 0, 3); + if (ent) { + ent->parent = this; + this->attachedEntity = ent; + } + sub_08004488(0x116); + } else if (this->frames.all == 2) { + this->frames.all = 0; + sub_08021588(this); + } else if (this->frames.all & 0x20) { + this->frames.all &= ~0x20; + sub_08004488(0x115); + } +} + +void sub_08021600(Entity* this) { + if (this->frames.all == 1) { + Entity* ent; + + this->frames.all = 0; + this->damageType = 0x51; + ent = sub_0804A98C(this, 0, 4); + if (ent) { + ent->parent = this; + this->attachedEntity = ent; + } + sub_08004488(0x10e); + } else if (this->frames.all == 2) { + this->frames.all = 0; + sub_08021588(this); + } +} + +void sub_08021644(Entity* this) { + if (this->frames.all & 0x20) { + this->frames.all &= ~0x20; + sub_08004488(0x7d); + } +} + +extern u32 sub_08049F1C(Entity*, Entity*, u32); + +u32 sub_08021664(Entity* this, Entity* ent) { + switch (this->animationState) { + case 0: + return sub_08049F1C(this, ent, 0x22); + case 1: + return sub_08049F1C(this, ent, 0x1a); + case 2: + return sub_08049F1C(this, ent, 0x13); + case 3: + return sub_08049F1C(this, ent, 0x1a); + } + return 0; +} + +u32 sub_0802169C(Entity* this, Entity* ent) { + u32 ret; + + switch (this->animationState) { + case 0: + ret = 0x2c; + break; + case 2: + ret = 0x1d; + break; + case 1: + case 3: + ret = 0x24; + break; + default: + return 0; + } + + if (sub_08049F1C(this, ent, ret)) { + return 0; + } else { + return 1; + } +} + +// clang-format off +void (*const gUnk_080CAA98[])(Entity*) = { + sub_08020BA0, + sub_08020BB8, + sub_08001324, + sub_0804A7D4, + sub_08001242, + nullsub_129, +}; +void (*const gUnk_080CAAB0[])(Entity*) = { + sub_08020D70, + sub_08020D9C, + sub_08020DB4, + sub_08020DD4, + sub_08020E28, + sub_08020E48, + sub_08020E78, + sub_08020E98, + sub_08020F28, + sub_08020F48, + sub_08020FAC, + sub_08020FE4, + sub_08021010, + sub_08021038, + sub_080210A8, + sub_080210E4, + sub_08021170, + sub_080211A0, + sub_080211D0, + sub_080211F4, +}; + +const s8 gUnk_080CAB00[] = { + 30, 30, 20, 10, +}; + +const s8 gUnk_080CAB04[] = { + 60, 60, 45, 30, +}; + +const u8 gUnk_080CAB08[] = { + 90, 90, 60, 30, +}; + +const s8 gUnk_080CAB0C[] = { + 90, 90, 60, 30, +}; + +const s8 gUnk_080CAB10[] = { + 90, 90, 45, 8, +}; + +const stuct_080CAB14 gUnk_080CAB14[] = { + {0x00, 0x62}, + {0x04, 0x62}, + {0x08, 0x62}, + {0x0C, 0x62}, + {0x10, 0x62}, + {0x14, 0x62}, + {0x18, 0x62}, + {0x1C, 0x62}, + {0x20, 0x62}, + {0x24, 0x62}, + {0x28, 0x62}, + {0x2C, 0x62}, + {0x00, 0x63}, + {0x04, 0x63}, + {0x08, 0x63}, + {0x0C, 0x63}, + {0x10, 0x63}, + {0x14, 0x63}, + {0x18, 0x63}, +}; + +const u8 gUnk_080CAB3A[] = { + 0, 1, 1, 0, 3, 0, 1, 0, +}; + +const u8 gUnk_080CAB42[] = { + 1, 1, 3, 0, 1, 2, 0, 0, +}; + +const u8 gUnk_080CAB4A[] = { + 0, 0, 3, 1, 2, 2, 3, 1, +}; + +const u8 gUnk_080CAB52[] = { + 0, 3, 1, 0, 0, 0 +}; + +void (*const gUnk_080CAB58[])(Entity*) = { + sub_08021328, + sub_0802134C, + sub_08021370, + sub_08021380, +}; + +const u8 gUnk_080CAB68[] = { + 90, 90, 45, 7, +}; +// clang-format on diff --git a/src/enemy/doorMimic.c b/src/enemy/doorMimic.c new file mode 100644 index 00000000..587ce521 --- /dev/null +++ b/src/enemy/doorMimic.c @@ -0,0 +1,271 @@ +#include "enemy.h" +#include "entity.h" +#include "functions.h" + +extern s16 sub_080001DA(u32, u32); // ? +extern void sub_08049CF4(); +extern u32 sub_0806FBFC(u32, u32, u32, u32); +void sub_080221C0(); + +typedef struct { + s8 h; + s8 v; +} PACKED PosOffset; + +extern void (*const gUnk_080CB734[])(Entity*); +extern void (*const gUnk_080CB74C[])(Entity*); + +#if NON_MATCHING +extern const PosOffset gUnk_080CB764[]; +#else +extern const s8 gUnk_080CB764[]; +#endif +extern const PosOffset gUnk_080CB76C[4][6]; +extern const u16 gUnk_080CB79C[]; +extern const BoundingBox* const* const gUnk_080CB8A4[]; + +extern s16 gUnk_080B4488[]; + +void DoorMimic(Entity* this) { + gUnk_080CB734[GetNextFunction(this)](this); + this->boundingBox = (BoundingBox*)gUnk_080CB8A4[this->entityType.parameter][this->frameIndex]; +} + +void sub_08021FDC(Entity* this) { + gUnk_080CB74C[this->action](this); +} + +void sub_08021FF4(Entity* this) { + sub_0804AA30(this, gUnk_080CB734); +} + +void sub_08022004(Entity* this) { + SetTile((u16)this->field_0x7c.HALF.LO, (u16)this->field_0x7c.HALF.HI, this->collisionLayer); + CreateFx(this, 5, 0); + sub_08049CF4(this); + DeleteThisEntity(); +} + +#if NON_MATCHING +void sub_08022034(Entity* this) { + this->action = 1; + this->entityType.parameter = this->entityType.form & 3; + this->spritePriority.b0 = 5; + this->field_0x78.HWORD = gUnk_080CB764[this->entityType.parameter].h + this->x.HALF.HI; + this->field_0x7a.HWORD = gUnk_080CB764[this->entityType.parameter].v + this->y.HALF.HI; + InitializeAnimation(this, this->entityType.parameter); + sub_080221C0(this); +} +#else +void sub_08022034(Entity* this) { + this->action = 1; + this->entityType.parameter = this->entityType.form & 3; + this->spritePriority.b0 = 5; + this->field_0x78.HWORD = gUnk_080CB764[this->entityType.parameter * 2] + this->x.HALF.HI; + this->field_0x7a.HWORD = gUnk_080CB764[this->entityType.parameter * 2 + 1] + this->y.HALF.HI; + InitializeAnimation(this, this->entityType.parameter); + sub_080221C0(this); +} +#endif + +void sub_0802209C(Entity* this) { + if (this->actionDelay == 0) { + if (sub_0806FBFC(this->field_0x78.HWORD, this->field_0x7a.HWORD, 0x10, 0x10)) { + this->action = 2; + this->actionDelay = 0x12; + InitializeAnimation(this, this->entityType.parameter + 4); + } + } else { + this->actionDelay = this->actionDelay - 1; + } +} + +void sub_080220D8(Entity* this) { + if (--this->actionDelay == 0) + this->action = 3; +} + +void sub_080220F0(Entity* this) { + GetNextFrame(this); + if (this->frames.all & 0x80) { + const PosOffset* off; + u32 i; + + this->action = 4; + this->actionDelay = 0x78; + this->field_0x44 = 0; + off = gUnk_080CB76C[this->entityType.parameter]; + for (i = 0; i < 6; i++, off++) { + Entity* fx = CreateFx(this, 0x11, 0); + if (fx) { + fx->x.HALF.HI += off->h; + fx->y.HALF.HI += off->v; + } + } + sub_08004488(260); + } else if (this->frames.all & 1) { + this->field_0x44 = 4; + } +} + +void sub_08022174(Entity* this) { + sub_0800445C(this); + if (--this->actionDelay == 0) { + this->action = 5; + InitializeAnimation(this, this->entityType.parameter + 8); + } +} + +void sub_08022198(Entity* this) { + sub_0800445C(this); + GetNextFrame(this); + if (this->frames.all & 0x80) { + this->action = 1; + this->actionDelay = 0x5a; + } +} + +void sub_080221C0(Entity* this) { + u32 tile = COORD_TO_TILE(this) + gUnk_080B4488[this->entityType.parameter]; + this->field_0x7c.HALF.HI = tile; + this->field_0x7c.HALF.LO = sub_080001DA(tile, this->collisionLayer); + SetTile(gUnk_080CB79C[this->entityType.parameter], tile, this->collisionLayer); +} + +// clang-format off +void (*const gUnk_080CB734[])(Entity*) = { + sub_08021FDC, + sub_08021FF4, + sub_08001324, + sub_08022004, + sub_08001242, + sub_08021FDC, +}; + +void (*const gUnk_080CB74C[])(Entity*) = { + sub_08022034, + sub_0802209C, + sub_080220D8, + sub_080220F0, + sub_08022174, + sub_08022198, +}; + +#if NON_MATCHING +const PosOffset gUnk_080CB764[] = { + {-0x08, 0x00}, + {-0x10, -0x08}, + {-0x08, -0x10}, + { 0x00, -0x08}, +}; +#else +const s8 gUnk_080CB764[] = { + -0x08, 0x00, + -0x10, -0x08, + -0x08, -0x10, + 0x00, -0x08, +}; +#endif + +const PosOffset gUnk_080CB76C[][6] = { + { + {-0x04, 0x1a}, + { 0x04, 0x1a}, + {-0x0c, 0x10}, + { 0x0c, 0x10}, + {-0x0c, 0x08}, + { 0x0c, 0x08}, + }, + { + {-0x1a, -0x04}, + {-0x1a, 0x04}, + {-0x10, -0x0c}, + {-0x10, 0x0c}, + {-0x08, -0x0c}, + {-0x08, 0x0c}, + }, + { + {-0x04, -0x1a}, + { 0x04, -0x1a}, + {-0x0c, -0x10}, + { 0x0c, -0x10}, + {-0x0c, -0x08}, + { 0x0c, -0x08}, + }, + { + { 0x1a, -0x04}, + { 0x1a, 0x04}, + { 0x10, -0x0c}, + { 0x10, 0x0c}, + { 0x08, -0x0c}, + { 0x08, 0x0c}, + }, +}; + +const u16 gUnk_080CB79C[] = { + 0x4023, + 0x4025, + 0x4026, + 0x4024, +}; + + +const BoundingBox gUnk_080CB7A4 = { 0x00, 0xf7, 0x00, 0x00, 0x00, 0x00, 0x08, 0x06 }; +const BoundingBox gUnk_080CB7AC = { 0x00, 0xfb, 0x00, 0x00, 0x00, 0x00, 0x06, 0x04 }; +const BoundingBox gUnk_080CB7B4 = { 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x06, 0x04 }; +const BoundingBox gUnk_080CB7BC = { 0x00, 0x07, 0x00, 0x00, 0x00, 0x00, 0x06, 0x08 }; +const BoundingBox gUnk_080CB7C4 = { 0x00, 0x0b, 0x00, 0x00, 0x00, 0x00, 0x08, 0x0c }; +const BoundingBox gUnk_080CB7CC = { 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x08, 0x08 }; +const BoundingBox gUnk_080CB7D4 = { 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x08, 0x04 }; +const BoundingBox gUnk_080CB7DC = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x04 }; +const BoundingBox gUnk_080CB7E4 = { 0x00, 0xf8, 0x00, 0x00, 0x00, 0x00, 0x08, 0x08 }; +const BoundingBox gUnk_080CB7EC = { 0x00, 0xf4, 0x00, 0x00, 0x00, 0x00, 0x08, 0x0c }; + +const BoundingBox *const gUnk_080CB7F4[] = { + &gUnk_080CB7A4, + &gUnk_080CB7AC, + &gUnk_080CB7B4, + &gUnk_080CB7BC, + &gUnk_080CB7C4, + &gUnk_080CB7C4, + &gUnk_080CB7CC, + &gUnk_080CB7D4, + &gUnk_080CB7DC, + &gUnk_080CB7E4, + &gUnk_080CB7EC, + &gUnk_080CB7EC, +}; + +const BoundingBox gUnk_080CB824 = { 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x08 }; +const BoundingBox gUnk_080CB82C = { 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x08 }; +const BoundingBox gUnk_080CB834 = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x08 }; +const BoundingBox gUnk_080CB83C = { 0xf8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x08 }; +const BoundingBox gUnk_080CB844 = { 0xf4, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x08 }; +const BoundingBox gUnk_080CB84C = { 0xf8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x08 }; +const BoundingBox gUnk_080CB854 = { 0xfc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x08 }; +const BoundingBox gUnk_080CB85C = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x08 }; +const BoundingBox gUnk_080CB864 = { 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x08 }; +const BoundingBox gUnk_080CB86C = { 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0c, 0x08 }; + +const BoundingBox *const gUnk_080CB874[] = { + &gUnk_080CB84C, + &gUnk_080CB854, + &gUnk_080CB85C, + &gUnk_080CB864, + &gUnk_080CB86C, + &gUnk_080CB86C, + &gUnk_080CB824, + &gUnk_080CB82C, + &gUnk_080CB834, + &gUnk_080CB83C, + &gUnk_080CB844, + &gUnk_080CB844, +}; + +const BoundingBox *const *const gUnk_080CB8A4[] = { + gUnk_080CB7F4, + gUnk_080CB874, + gUnk_080CB7F4, + gUnk_080CB874, +}; +// clang-format on diff --git a/src/enemy/enemyE.c b/src/enemy/enemyE.c new file mode 100644 index 00000000..9f6a0b6d --- /dev/null +++ b/src/enemy/enemyE.c @@ -0,0 +1,69 @@ +#include "enemy.h" +#include "entity.h" +#include "functions.h" + +void sub_08023000(Entity*, int); + +extern void (*const gUnk_080CBBC8[])(Entity*); +extern void (*const gUnk_080CBBDC[])(Entity*); + +void EnemyE(Entity* this) { + EnemyFunctionHandler(this, gUnk_080CBBC8); +} + +void sub_08022FB4(Entity* this) { + gUnk_080CBBDC[this->action](this); +} + +void nullsub_133(Entity* this) { +} + +void sub_08022FD0(Entity* this) { + this->action = 1; + this->spriteSettings.b.draw = 1; + sub_08023000(this, 0); +} + +void sub_08022FEC(Entity* this) { + sub_08023000(this, 0x80); +} + +void sub_08022FF8(Entity* this) { +} + +void sub_08022FFC(Entity* this) { +} + +void sub_08023000(Entity* this, int frames) { + int tmp; + + if (frames == 0x80) { + UpdateAnimationSingleFrame(this); + } else { + InitAnimationForceUpdate(this, frames); + } + + tmp = 0x80; + if (this->frameSpriteSettings == 0x40) + tmp *= -1; + + this->spriteRendering.b0 = 3; + sub_0805EC9C(this, tmp, 0x80, 0); +} + +// clang-format off +void (*const gUnk_080CBBC8[])(Entity*) = { + sub_08022FB4, + nullsub_133, + sub_08001324, + sub_0804A7D4, + sub_08001242, +}; + +void (*const gUnk_080CBBDC[])(Entity*) = { + sub_08022FD0, + sub_08022FEC, + sub_08022FF8, + sub_08022FFC, +}; +// clang-format on diff --git a/src/enemy/hangingSeed.c b/src/enemy/hangingSeed.c index 7f0ba1dc..cd204a6e 100644 --- a/src/enemy/hangingSeed.c +++ b/src/enemy/hangingSeed.c @@ -1,39 +1,51 @@ -#include "global.h" #include "entity.h" - -extern void EnemyFunctionHandler(Entity*, void (*const funcs[])(Entity*)); -extern void DeleteThisEntity(); +#include "functions.h" extern void (*const gUnk_080CB570[])(Entity*); extern void (*const gUnk_080CB588[])(Entity*); -void HangingSeed(Entity *this) -{ - EnemyFunctionHandler(this, gUnk_080CB570); +void HangingSeed(Entity* this) { + EnemyFunctionHandler(this, gUnk_080CB570); } -void sub_080216E4(Entity *this) -{ - gUnk_080CB588[this->action](this); +void sub_080216E4(Entity* this) { + gUnk_080CB588[this->action](this); } -void sub_080216FC(Entity *this) -{ - if ((this->bitfield & 0x80) != 0) { - CreateFx(this, 3, 0x80); - DeleteThisEntity(); - } +void sub_080216FC(Entity* this) { + if (this->bitfield & 0x80) { + CreateFx(this, 3, 0x80); + DeleteThisEntity(); + } } -void nullsub_7(Entity* this){} - -void sub_08021720(Entity *this) -{ - this->action = 1; - this->spriteSettings.b.draw = 1; - this->frameIndex = (this->entityType).form; - this->spriteRendering.b3 = 1; - this->spritePriority.b0 = 3; +void nullsub_7(Entity* this) { } -void nullsub_08(Entity* this){} \ No newline at end of file +void sub_08021720(Entity* this) { + this->action = 1; + this->spriteSettings.b.draw = 1; + this->frameIndex = this->entityType.form; + this->spriteRendering.b3 = 1; + this->spritePriority.b0 = 3; +} + +void nullsub_08(Entity* this) { +} + +// clang-format off +void (*const gUnk_080CB570[])(Entity*) = { + sub_080216E4, + sub_080216FC, + sub_08001324, + sub_0804A7D4, + sub_08001242, + nullsub_7, +}; + +void (*const gUnk_080CB588[])(Entity*) = { + sub_08021720, + nullsub_08, +}; +// clang-format on + diff --git a/src/enemy/keese.c b/src/enemy/keese.c index e8bd2310..14f5c520 100644 --- a/src/enemy/keese.c +++ b/src/enemy/keese.c @@ -2,13 +2,14 @@ #include "entity.h" #include "enemy.h" #include "player.h" +#include "functions.h" +extern void sub_08001328(Entity*); extern u32 sub_0806F520(Entity*); extern void sub_0806F4E8(Entity*); extern u32 sub_0806F3E4(Entity*); extern void sub_0804A7D4(Entity*); extern void sub_0804A720(Entity*); -extern u32 Random(); extern void sub_08021EF0(Entity*); extern void sub_080AEFB4(Entity*); extern void sub_08021F24(Entity*); @@ -20,98 +21,85 @@ extern void (*const gUnk_080CB69C[])(Entity*); extern void (*const gUnk_080CB6B4[])(Entity*); extern void (*const gUnk_080CB6C4[])(Entity*); -extern u8 gUnk_080CB6D0[]; -extern u16 gUnk_080CB6D6[]; -extern u8 gUnk_080CB6F6[]; +extern const s8 gUnk_080CB6D0[]; +extern const u16 gUnk_080CB6D6[]; +extern const u8 gUnk_080CB6F6[]; -void Keese(Entity *this) -{ +void Keese(Entity* this) { gUnk_080CB69C[GetNextFunction(this)](this); } -void sub_08021D80(Entity *this) -{ +void sub_08021D80(Entity* this) { gUnk_080CB6B4[this->action](this); } -void sub_08021d98(Entity *this) -{ - sub_0804AA30(this, gUnk_080CB69C); +void sub_08021d98(Entity* this) { + sub_0804AA30(this, gUnk_080CB69C); } -void sub_08021DA8(Entity *this) -{ - if (sub_0806F520(this)) { - gUnk_080CB6C4[this->previousActionFlag](this); - } +void sub_08021DA8(Entity* this) { + if (sub_0806F520(this)) { + gUnk_080CB6C4[this->previousActionFlag](this); + } } -void sub_08021DCC(Entity *this) -{ - this->previousActionFlag = 2; +void sub_08021DCC(Entity* this) { + this->previousActionFlag = 2; } -void sub_08021DD4(Entity *this) -{ - sub_0806F4E8(this); +void sub_08021DD4(Entity* this) { + sub_0806F4E8(this); } -void sub_08021DDC(Entity *this) -{ - if (sub_0806F3E4(this)) { - sub_0804A7D4(this); - } +void sub_08021DDC(Entity* this) { + if (sub_0806F3E4(this)) { + sub_0804A7D4(this); + } } -void sub_08021DF0(Entity *this) -{ - - sub_0804A720(this); - if ((this->entityType).form != 0) { - this->spritePriority.b1 = 1; - this->height.HALF.HI = -0x10; - } - this->direction = Random() & 0x1f; - this->field_0x1c = 1; - this->spritePriority.b0 = 3; - this->collisionLayer = 3; - UpdateSpriteForCollisionLayer(this); - sub_08021EF0(this); -} +void sub_08021DF0(Entity* this) { -void sub_08021E4C(Entity *this) -{ - if (this->field_0x78.HWORD != 0) { - this->field_0x78.HWORD--; - } - if (this->field_0x7a.HWORD != 0) { - (this->field_0x7a.HWORD)--; - } - GetNextFrame(this); - if ((this->frames.b.f3) != 0) { - sub_08021F24(this); - } - else { - sub_080AEFB4(this); - } - this->spriteOffsetY = gUnk_080CB6D0[this->frames.all]; -} - -void sub_08021EA4(Entity *this) -{ - if (--this->actionDelay == 0) { + sub_0804A720(this); + if ((this->entityType).form != 0) { + this->spritePriority.b1 = 1; + this->height.HALF.HI = -0x10; + } + this->direction = Random() & 0x1f; + this->field_0x1c = 1; + this->spritePriority.b0 = 3; + this->collisionLayer = 3; + UpdateSpriteForCollisionLayer(this); sub_08021EF0(this); - } } -void sub_08021EBC(Entity *this) -{ +void sub_08021E4C(Entity* this) { + if (this->field_0x78.HWORD != 0) { + this->field_0x78.HWORD--; + } + if (this->field_0x7a.HWORD != 0) { + (this->field_0x7a.HWORD)--; + } + GetNextFrame(this); + if ((this->frames.b.f3) != 0) { + sub_08021F24(this); + } else { + sub_080AEFB4(this); + } + this->spriteOffsetY = gUnk_080CB6D0[this->frames.all]; +} + +void sub_08021EA4(Entity* this) { + if (--this->actionDelay == 0) { + sub_08021EF0(this); + } +} + +void sub_08021EBC(Entity* this) { s32 iVar1; - + if (this->actionDelay != 0) { this->actionDelay--; - } - else { + } else { iVar1 = sub_0806FCB8(this, gPlayerEntity.x.HALF.HI, gPlayerEntity.y.HALF.HI, 0x70); if (iVar1 != 0) { sub_08021EF0(this); @@ -119,37 +107,71 @@ void sub_08021EBC(Entity *this) } } -void sub_08021EF0(Entity *this) -{ - u32 uVar1; - - this->action = 1; - this->field_0x78.HWORD = gUnk_080CB6D6[Random() & 0xf]; - this->field_0x7a.HWORD = 0x3c; - InitializeAnimation(this, 0); +void sub_08021EF0(Entity* this) { + u32 uVar1; + + this->action = 1; + this->field_0x78.HWORD = gUnk_080CB6D6[Random() & 0xf]; + this->field_0x7a.HWORD = 0x3c; + InitializeAnimation(this, 0); } -void sub_08021F24(Entity *this) -{ +void sub_08021F24(Entity* this) { u32 bVar1; - + if (this->field_0x78.HWORD == 0) { this->action = 2; this->actionDelay = gUnk_080CB6F6[Random() & 0xf]; InitializeAnimation(this, 1); - } - else if (!this->field_0x7a.HWORD && !(sub_0806FCB8(this, gPlayerEntity.x.HALF.HI, gPlayerEntity.y.HALF.HI, 0x70))) { + } else if (!this->field_0x7a.HWORD && + !(sub_0806FCB8(this, gPlayerEntity.x.HALF.HI, gPlayerEntity.y.HALF.HI, 0x70))) { this->action = 3; this->actionDelay = 0x1e; InitializeAnimation(this, 1); - } - else { + } else { if (sub_08049FA0(this) != 0) { this->direction = Random() & 0x1f; - } - else { + } else { this->direction = sub_08049EE4(this); } InitializeAnimation(this, 0); } -} \ No newline at end of file +} + +// clang-format off +void (*const gUnk_080CB69C[])(Entity*) = { + sub_08021D80, + sub_08021d98, + sub_08001328, + sub_0804A7D4, + sub_08001242, + sub_08021DA8, +}; + +void (*const gUnk_080CB6B4[])(Entity*) = { + sub_08021DF0, + sub_08021E4C, + sub_08021EA4, + sub_08021EBC, +}; + +void (*const gUnk_080CB6C4[])(Entity*) = { + sub_08021DCC, + sub_08021DD4, + sub_08021DDC, +}; + +const s8 gUnk_080CB6D0[] = { + 1, -2, -5, -2, 1, 0, +}; + +const u16 gUnk_080CB6D6[] = { + 180, 180, 300, 300, 300, 300, 300, 300, + 480, 480, 480, 480, 480, 480, 720, 720, +}; + +const u8 gUnk_080CB6F6[] = { + 30, 30, 45, 45, 45, 45, 45, 45, + 60, 60, 60, 60, 60, 60, 75, 75, +}; +// clang-format on diff --git a/src/enemy/lakitu.c b/src/enemy/lakitu.c index 038f7ff7..585ec102 100644 --- a/src/enemy/lakitu.c +++ b/src/enemy/lakitu.c @@ -14,7 +14,6 @@ extern void sub_0803CAD0(Entity *); // sub_0803C784 extern void sub_0803CBAC(Entity *); // Also used in sub_0803C86C extern Entity *CreateFx(Entity*, u32, u32); -extern void sub_0804A9FC(Entity *, u32); extern void sub_0804AA30(Entity *, void (*const funcs[])(Entity *)); // sub_0803C820 diff --git a/src/enemy/leever.c b/src/enemy/leever.c index 5c06ce5f..2a3b621f 100644 --- a/src/enemy/leever.c +++ b/src/enemy/leever.c @@ -4,7 +4,6 @@ #include "functions.h" extern void SetChildOffset(Entity*, s32, s32, s32); -extern void sub_0804A9FC(Entity*, u32); extern void sub_0804AA30(Entity*, void (*const func[])(Entity*)); extern void sub_0804A7D4(Entity*); extern Entity* CreateDeathFx(Entity*, u32, u32); @@ -19,9 +18,10 @@ bool32 sub_0801FDE4(Entity*, s32, s32); extern void (*const gUnk_080CA49C[])(Entity*); extern void (*const gUnk_080CA4B4[])(Entity*); extern Entity* gUnk_020000B0; -extern u8 gUnk_080CA4C8[]; -extern u16 gUnk_080CA4CA[]; +extern const u8 gUnk_080CA4C8[]; +extern const u16 gUnk_080CA4CA[]; extern s16 gSineTable[]; + void Leever(Entity* this) { EnemyFunctionHandler(this, gUnk_080CA49C); SetChildOffset(this, 0, 1, -0x10); @@ -114,7 +114,7 @@ void sub_0801FDB4(Entity* this) { u32 sub_0801FDE4(Entity* ent, s32 x, s32 y) { u32 uVar3; - u16* puVar4; + const u16* puVar4; if (sub_080002D4(x, y, gUnk_020000B0->collisionLayer) != 0) { return 0; @@ -177,3 +177,35 @@ void sub_0801FED4(Entity* this) { } sub_080AEF88(this); } + +// clang-format off +void (*const gUnk_080CA49C[])(Entity*) = { + sub_0801FC28, + sub_0801FC40, + sub_08001324, + sub_0801FC7C, + sub_08001242, + sub_0801FC28, +}; + +void (*const gUnk_080CA4B4[])(Entity*) = { + sub_0801FC9C, + sub_0801FCB0, + sub_0801FD2C, + sub_0801FD80, + sub_0801FDB4, +}; + +const u8 gUnk_080CA4C8[] = { + 0x06, + 0xFA, +}; + +const u16 gUnk_080CA4CA[] = { + 0x000A, + 0x0009, + 0x000C, + 0x000B, + 0xFFFF, +}; +// clang-format on diff --git a/src/enemy/miniSlime.c b/src/enemy/miniSlime.c index eac2e020..64c9c089 100644 --- a/src/enemy/miniSlime.c +++ b/src/enemy/miniSlime.c @@ -8,7 +8,6 @@ void sub_08045374(Entity*); extern u32 sub_0806FA04(u32, u32); extern void sub_0804A720(); extern void sub_080452E4(); -extern void sub_0804A9FC(); extern void sub_0804AA30(); extern void ReplaceMonitoredEntity(Entity*, Entity*); extern void sub_0804A7D4(Entity*); diff --git a/src/enemy/moldorm.c b/src/enemy/moldorm.c new file mode 100644 index 00000000..530eeae1 --- /dev/null +++ b/src/enemy/moldorm.c @@ -0,0 +1,211 @@ +#include "enemy.h" +#include "entity.h" +#include "functions.h" + +void sub_08022EAC(Entity*); +void sub_08022F14(Entity*); + +extern void (*const gUnk_080CBB90[])(Entity*); +extern void (*const gUnk_080CBBA0[])(Entity*); +extern void (*const gUnk_080CBBB4[])(Entity*); +extern void (*const gUnk_080CBBBC[])(Entity*); + +extern u8 gEntCount; +extern const s8 gUnk_080CBBC4[]; + +void Moldorm(Entity* this) { + gUnk_080CBB90[this->entityType.form](this); +} + +void sub_08022BA0(Entity* this) { + this->field_0x78.HALF.HI++; + this->field_0x74.HWORD = this->x.HALF.HI; + this->field_0x76.HWORD = this->y.HALF.HI; + EnemyFunctionHandler(this, gUnk_080CBBA0); + sub_08022EAC(this); +} + +void sub_08022BD4(Entity* this) { + gUnk_080CBBB4[this->action](this); +} + +void sub_08022BEC(Entity* this) { + if (this->field_0x7a.HALF.LO != this->currentHealth) + this->field_0x7a.HALF.HI = 30; + + this->field_0x7a.HALF.LO = this->currentHealth; + this->actionDelay = 1; + this->direction = this->field_0x3e; + + this->animationState = ((this->direction + 2) & 0x1c) >> 2; + this->frameIndex = this->animationState; + + this->attachedEntity->hurtBlinkTime = this->hurtBlinkTime; + (*(Entity**)&this->field_0x7c)->hurtBlinkTime = this->hurtBlinkTime; + (*(Entity**)&this->field_0x80)->hurtBlinkTime = this->hurtBlinkTime; + sub_0804AA30(this, gUnk_080CBBA0); +} + +void sub_08022C58(Entity* this) { + Entity *tail0, *tail1, *tail2; + + this->flags &= ~0x80; + + if (gEntCount >= 0x45) + return; + + tail0 = CreateEnemy(0xd, 1); + this->attachedEntity = tail0; + tail0->spritePriority.b0 = 5; + tail0->parent = this; + CopyPosition(this, tail0); + + tail1 = CreateEnemy(0xd, 2); + tail0->attachedEntity = tail1; + tail1->spritePriority.b0 = 5; + tail1->parent = this; + CopyPosition(this, tail1); + + tail2 = CreateEnemy(0xd, 3); + tail1->attachedEntity = tail2; + tail2->spritePriority.b0 = 5; + tail2->parent = this; + CopyPosition(this, tail2); + + sub_0804A720(this); + this->action = 1; + this->actionDelay = 1; + this->field_0xf = 1; + this->flags = this->flags | 0x80; + this->parent = this; + this->attachedEntity = tail0; + *(Entity**)&this->field_0x7c = tail1; + *(Entity**)&this->field_0x80 = tail2; + + this->direction = Random() & 0x1f; + this->animationState = ((this->direction + 2) & 0x1c) >> 2; + this->frameIndex = this->animationState; + this->field_0x7a.HALF.LO = this->currentHealth; +} + +void sub_08022D40(Entity* this) { + if (this->field_0x7a.HALF.HI) { + if (this->field_0x7a.HALF.HI-- & 1) { + this->animationState = (this->animationState + 1) & 7; + this->frameIndex = this->animationState; + } + } else { + sub_08022F14(this); + sub_080AEF88(this); + + if (this->collisions) { + sub_0800417E(this, this->collisions); + this->animationState = ((this->direction + 2) & 0x1c) >> 2; + this->frameIndex = this->animationState; + } + } +} + +void sub_08022D90(Entity* this) { + if (this->parent->next) { + Entity* parent; + + gUnk_080CBBBC[this->action](this); + parent = this->parent; + this->spriteOrientation.flipY = parent->spriteOrientation.flipY; + this->spriteRendering.b3 = parent->spriteRendering.b3; + this->collisionLayer = parent->collisionLayer; + } else { + DeleteEntity(this); + } +} + +void sub_08022DE8(Entity* this) { + this->action = 1; + this->field_0x7c.BYTES.byte0 = 0x88; + this->field_0x7c.BYTES.byte1 = 0x88; + this->field_0x7c.BYTES.byte2 = 0x88; + this->field_0x7c.BYTES.byte3 = 0x88; + this->field_0x80.HALF.LO = 0x88; + this->field_0x80.HALF.HI = 0x88; + this->field_0x82.HALF.LO = 0x88; + this->field_0x82.HALF.HI = 0x88; + this->animationState = this->parent->animationState; + *(u32*)&this->cutsceneBeh = this->animationState * 0x11111111; + + if (this->entityType.form != 3) { + this->frameIndex = this->entityType.form + 7; + } else { + this->frameIndex = this->animationState + 10; + } +} + +NAKED +void sub_08022E40(Entity* this) { + asm(".include \"asm/non_matching/moldorm/sub_08022E40.inc\""); +} + +NAKED +void sub_08022EAC(Entity* this) { + asm(".include \"asm/non_matching/moldorm/sub_08022EAC.inc\""); +} + +void sub_08022F14(Entity* this) { + if (sub_08049FA0(this) == 0) { + u32 bVar6 = (sub_08049EE4(this) - this->direction) & 0x1f; + if (8 < ((bVar6 + 4) & 0x1f)) { + this->field_0xf = 8; + if (bVar6 < 0x10) { + this->field_0x78.HALF.LO = 1; + } else { + this->field_0x78.HALF.LO = -1; + } + } + } + + if (--this->actionDelay == 0) { + this->actionDelay = 4; + + if (--this->field_0xf == 0) { + this->field_0xf = 8; + this->field_0x78.HALF.LO = gUnk_080CBBC4[Random() & 1]; + } + + this->direction += this->field_0x78.HALF.LO; + this->direction &= 0x1f; + + this->animationState = ((this->direction + 2) & 0x1c) >> 2; + this->frameIndex = this->animationState; + } +} + +// clang-format off +void (*const gUnk_080CBB90[])(Entity*) = { + sub_08022BA0, + sub_08022D90, + sub_08022D90, + sub_08022D90, +}; + +void (*const gUnk_080CBBA0[])(Entity*) = { + sub_08022BD4, + sub_08022BEC, + sub_08001324, + sub_0804A7D4, + sub_08001242, +}; + +void (*const gUnk_080CBBB4[])(Entity*) = { + sub_08022C58, + sub_08022D40, +}; + +void (*const gUnk_080CBBBC[])(Entity*) = { + sub_08022DE8, + sub_08022E40, +}; + +const s8 gUnk_080CBBC4[] = { + 1, -1, 0, 0, +}; +// clang-format off diff --git a/src/enemy/octorok.c b/src/enemy/octorok.c index a5b63f96..90e53a23 100644 --- a/src/enemy/octorok.c +++ b/src/enemy/octorok.c @@ -1,119 +1,256 @@ #include "global.h" #include "entity.h" +#include "functions.h" extern void EnemyFunctionHandler(); extern void SetChildOffset(); extern void sub_0804AA30(); -extern void sub_0804A9FC(); extern void sub_0804A7D4(); -extern void CreateDeathFx(); extern void sub_0801ECFC(); extern u32 sub_0806F520(); extern void sub_0806F4E8(); -extern void sub_0806F3E4(); extern void UpdateAnimationVariableFrames(); extern void sub_0804A720(); extern u32 Random(); extern void sub_0801ED14(); +extern u32 sub_0801EDEC(); +extern Entity* sub_08049DF4(u32); -extern void(*gOctorok[2]); -extern void (*gOctorokIdle[4])(Entity*); -extern void (*gUnk_080CA158[4])(Entity*); +extern void (*const gOctorok[6])(Entity*); +extern void (*const gOctorokIdle[4])(Entity*); +extern void (*const gUnk_080CA158[6])(Entity*); + +extern Entity* gUnk_020000B0; +extern const u8 gUnk_080CA170[4]; +extern const u8 gUnk_080CA174[2]; +extern const u8 gUnk_080CA176[8]; +extern const s8 gUnk_080CA17E[2]; -extern u8 gUnk_080CA170[8]; // Main -void Octorok(Entity* ent) { - EnemyFunctionHandler(ent, gOctorok); - SetChildOffset(ent, 0, 1, -16); +void Octorok(Entity* this) { + EnemyFunctionHandler(this, gOctorok); + SetChildOffset(this, 0, 1, -16); } // Idle -void sub_0801EAD0(Entity* ent) { - gOctorokIdle[ent->action](ent); +void sub_0801EAD0(Entity* this) { + gOctorokIdle[this->action](this); } // Touch player -void sub_0801EAE8(Entity* ent) { - if (ent->field_0x43 != 0) { - sub_0804A9FC(ent, 28); +void sub_0801EAE8(Entity* this) { + if (this->field_0x43 != 0) { + sub_0804A9FC(this, 28); } - sub_0804AA30(ent, gOctorok); + sub_0804AA30(this, gOctorok); } // Death -void sub_0801EB0C(Entity* ent) { - if ((ent->entityType).form == 0) { - sub_0804A7D4(ent); +void sub_0801EB0C(Entity* this) { + if ((this->entityType).form == 0) { + sub_0804A7D4(this); } else { - CreateDeathFx(ent, 241, 0); + CreateDeathFx(this, 241, 0); } } -void sub_0801EB2C(Entity* ent) { +void sub_0801EB2C(Entity* this) { s32 iVar1; - if ((ent->previousActionFlag < 3) && (iVar1 = sub_0806F520(ent), iVar1 == 0)) { - sub_0801ECFC(ent); - InitializeAnimation(ent, ent->animationState); + if ((this->previousActionFlag < 3) && (iVar1 = sub_0806F520(this), iVar1 == 0)) { + sub_0801ECFC(this); + InitializeAnimation(this, this->animationState); } else { - gUnk_080CA158[ent->previousActionFlag](ent); + gUnk_080CA158[this->previousActionFlag](this); } } -void sub_0801EB68(Entity* ent) { - ent->previousActionFlag = 1; - ent->field_0x1d = 60; +void sub_0801EB68(Entity* this) { + this->previousActionFlag = 1; + this->field_0x1d = 60; } -void sub_0801EB74(Entity* ent) { - sub_0806F4E8(ent); +void sub_0801EB74(Entity* this) { + sub_0806F4E8(this); } -void sub_0801EB7C(Entity* ent) { - sub_0806F3E4(ent); +void sub_0801EB7C(Entity* this) { + sub_0806F3E4(this); } -void sub_0801EB84(Entity* ent) { - ent->flags = ent->flags & 127; - UpdateAnimationVariableFrames(ent, 2); +void sub_0801EB84(Entity* this) { + this->flags &= 0x7f; + UpdateAnimationVariableFrames(this, 2); } -void nullsub_3() { +void nullsub_3(Entity* this) { } -void sub_0801EB9C(Entity* ent) { - if ((ent->flags & 128) != 0) { - ent->flags = ent->flags | 128; - ent->field_0x3a = ent->field_0x3a & 251; +void sub_0801EB9C(Entity* this) { + if (this->flags & 0x80) { + this->flags |= 0x80; + this->field_0x3a &= 0xfb; } else { - ent->currentHealth = 0; + this->currentHealth = 0; } } // Init -#ifdef NON_MATCHING -void sub_0801EBC8(Entity* ent) { - sub_0804A720(); - ent->animationState = (ent->entityType).form == 2 ? (ent->entityType).form : Random() & 3; - ent->filler[0] = 18; - sub_0801ECFC(ent); - InitializeAnimation(ent, ent->animationState); +void sub_0801EBC8(Entity* this) { + sub_0804A720(this); + if (this->entityType.form == 2) { + this->animationState = this->entityType.form; + } else { + this->animationState = Random() & 3; + } + this->field_0x1c = 18; + sub_0801ECFC(this); + InitializeAnimation(this, this->animationState); } -#else -NAKED -void sub_0801EBC8(Entity* ent) { - asm(".include \"asm/octorok/sub_0801EBC8.inc\""); -} -#endif -void sub_0801EBF4(Entity* ent) { +void sub_0801EBF4(Entity* this) { u32 uVar2; - if (--ent->actionDelay == 0) { - ent->action = 2; + if (--this->actionDelay == 0) { + this->action = 2; uVar2 = Random(); - ent->actionDelay = gUnk_080CA170[uVar2 & 3]; - sub_0801ED14(ent); + this->actionDelay = gUnk_080CA170[uVar2 & 3]; + sub_0801ED14(this); } - GetNextFrame(ent); + GetNextFrame(this); } + +void sub_0801EC2C(Entity* this) { + sub_080AEF88(this); + GetNextFrame(this); + if (--this->actionDelay == 0) { + if (sub_0801EDEC(this) && gUnk_080CA174[this->entityType.form] <= (Random() & 3)) { + this->action = 3; + InitializeAnimation(this, this->animationState + 4); + } else { + sub_0801ECFC(this); + } + } +} + +void sub_0801EC80(Entity* this) { + GetNextFrame(this); + if (this->frames.all & 1) { + Entity* ent = sub_0804A98C(this, 1, 0); + if (ent) { + const s8* off; + ent->direction = this->direction; + off = &gUnk_080CA176[this->direction / 4]; + ent->x.HALF.HI += off[0]; + ent->y.HALF.HI += off[1]; + ent->height.HALF.HI = -3; + this->frames.all &= 0xfe; + sub_08004488(0x18d); + } + } + + if (this->frames.all & 0x80) + sub_0801ECFC(this); +} + +void sub_0801ECFC(Entity* this) { + this->action = 1; + this->actionDelay = (Random() & 0x38) + 0x18; +} + +void sub_0801ED14(Entity* this) { + if (this->entityType.form != 2) { + if (sub_08049FA0(this)) { + if (this->entityType.form == 1 && (Random() & 3) == 0 && sub_08049FDC(this, 1)) { + this->direction = (GetFacingDirection(this, gUnk_020000B0) + 4) & 0x18; + } else { + this->direction = Random() & 0x18; + } + } else if ((Random() & 3)) { + this->direction = (sub_08049EE4(this) + gUnk_080CA17E[Random() & 1]) & 0x18; + } else { + this->direction = Random() & 0x18; + } + } else { + if (sub_08049FDC(this, 1) == 0) { + if (sub_08049FA0(this)) { + this->direction = Random() & 0x18; + } else if (Random() & 3) { + this->direction = (sub_08049EE4(this) + gUnk_080CA17E[Random() & 1]) & 0x18; + } else { + this->direction = (GetFacingDirection(this, gUnk_020000B0) + 4) & 0x18; + } + } else { + this->direction = (GetFacingDirection(this, gUnk_020000B0) + 4) & 0x18; + } + } + this->animationState = this->direction >> 3; + InitializeAnimation(this, this->animationState); +} + +u32 sub_0801EDEC(Entity* this) { + Entity* ent = sub_08049DF4(1); + + if (ent == NULL) + return 0; + + if (((GetFacingDirection(this, ent) + 4) & 0x18) != this->direction) + return 0; + + return 1; +} + +// clang-format off +void (*const gOctorok[])(Entity*) = { + sub_0801EAD0, + sub_0801EAE8, + sub_08001324, + sub_0801EB0C, + sub_08001242, + sub_0801EB2C, +}; + +void (*const gOctorokIdle[])(Entity*) = { + sub_0801EBC8, + sub_0801EBF4, + sub_0801EC2C, + sub_0801EC80, +}; + +void (*const gUnk_080CA158[])(Entity*) = { + sub_0801EB68, + sub_0801EB74, + sub_0801EB7C, + sub_0801EB84, + nullsub_3, + sub_0801EB9C, +}; + +const u8 gUnk_080CA170[] = { + 30, + 60, + 60, + 90, +}; + +const u8 gUnk_080CA174[] = { + 1, + 0, +}; + +const u8 gUnk_080CA176[] = { + 0x00, + 0xFD, + 0x04, + 0x00, + 0x00, + 0x02, + 0xFC, + 0x00, +}; + +const s8 gUnk_080CA17E[] = { + 0x04, + 0xFC, +}; +// clang-format on diff --git a/src/enemy/peahat.c b/src/enemy/peahat.c new file mode 100644 index 00000000..728a7837 --- /dev/null +++ b/src/enemy/peahat.c @@ -0,0 +1,400 @@ +#include "entity.h" +#include "functions.h" + +extern void (*const gUnk_080CA570[])(Entity*); +extern void (*const gUnk_080CA588[])(Entity*); +extern void (*const gUnk_080CA590[])(Entity*); +extern void (*const gUnk_080CA5BC[])(Entity*); + +extern const s8 gUnk_080CA5B8[]; +extern const s8 gUnk_080CA5D4[]; + +void sub_080205F8(Entity*); +void sub_08020604(Entity*); + +extern u32 sub_0800442E(Entity*); +extern u32 sub_08049F1C(Entity*, Entity*, u32); +extern void sub_0804AA1C(Entity*); + +extern Entity* gUnk_020000B0; + +void Peahat(Entity* this) { + if (this->entityType.form == 0) { + EnemyFunctionHandler(this, gUnk_080CA570); + SetChildOffset(this, 0, 1, -0x10); + } else { + gUnk_080CA588[this->action](this); + } +} + +void sub_0801FF9C(Entity* this) { + gUnk_080CA590[this->action](this); + if (this->field_0x80.HALF.HI) + this->height.HALF.HI = gUnk_080CA5B8[(this->field_0xf++ & 0x30) >> 4]; +} + +void sub_0801FFDC(Entity* this) { + if (this->field_0x82.HALF.LO) { + if (this->bitfield == 0x94) { + Entity* ent = CreateEnemy(3, 1); + if (ent) { + CopyPosition(this, ent); + ent->height.HALF.HI -= 8; + } + this->field_0x82.HALF.LO = 0; + this->animationState = 2; + this->action = 5; + this->nonPlanarMovement = 0x80; + this->hurtBlinkTime = -30; + this->field_0x80.HALF.HI = 0; + InitializeAnimation(this, this->animationState); + } else if (this->bitfield == 0x9b) { + this->animationState = 1; + this->action = 5; + this->nonPlanarMovement = 0x80; + this->hurtBlinkTime = -30; + this->field_0x80.HALF.HI = 0; + InitializeAnimation(this, this->animationState); + } else if (this->bitfield == 0x80) { + if (this->animationState == 0) { + this->action = 1; + this->actionDelay = 30; + this->nonPlanarMovement = 0x80; + this->direction = -1; + this->field_0x82.HALF.HI = 0x78; + GetNextFrame(this); + } + } + } + + if (this->field_0x43) + sub_0804A9FC(this, 0x1c); + + sub_0804AA30(this, gUnk_080CA570); +} + +void sub_08020088(Entity* this) { + if (2 >= this->previousActionFlag && !sub_0806F520(this)) + return; + + gUnk_080CA5BC[this->previousActionFlag](this); +} + +void sub_080200B4(Entity* this) { + this->previousActionFlag = 1; + this->field_0x1d = 60; + if (this->animationState == 0) { + this->animationState = 1; + this->action = 5; + this->damageType = 0x71; + this->field_0x80.HALF.HI = 0; + InitializeAnimation(this, this->animationState); + } +} + +void sub_080200E4(Entity* this) { + sub_0806F4E8(this); +} + +void sub_080200EC(Entity* this) { + sub_0806F3E4(this); +} + +void sub_080200F4(Entity* this) { + this->flags &= ~0x80; +} + +void nullsub_5(Entity* this) { +} + +void sub_08020104(Entity* this) { + if (this->flags & 0x80) { + this->flags |= 0x80; + this->field_0x3a &= 0xfb; + } else { + this->currentHealth = 0; + } +} + +void sub_08020130(Entity* this) { + sub_0804A720(this); + this->action = 1; + this->actionDelay = 16; + this->field_0xf = Random(); + this->direction = Random() & 0x1f; + this->field_0x1c = 18; + this->field_0x80.HALF.LO = (Random() & 1) ? 2 : -2; + this->field_0x80.HALF.HI = 1; + this->field_0x82.HALF.LO = 1; + this->animationState = 0; + InitializeAnimation(this, 0); +} + +void sub_08020180(Entity* this) { + if (this->field_0x82.HALF.HI) + this->field_0x82.HALF.HI--; + + if (sub_08049FDC(this, 1)) { + if (this->field_0x82.HALF.HI == 0 && (this->field_0xf & 0xf) == 0 && sub_08049F1C(this, gUnk_020000B0, 0x30)) { + this->action = 2; + this->previousActionFlag = Random() & 3; + this->actionDelay = 60; + this->nonPlanarMovement = 160; + } + } + + if (--this->actionDelay == 0) { + this->actionDelay = 16; + sub_08020604(this); + if ((Random() & 3) == 0) { + this->field_0x80.HALF.LO = (Random() & 1) ? 2 : -2; + } + } + + sub_080AEFE0(this); + GetNextFrame(this); +} + +void sub_08020220(Entity* this) { + if (sub_08049FDC(this, 1)) { + if (--this->actionDelay) { + UpdateAnimationVariableFrames(this, 4 - ((this->actionDelay >> 4) & 0x3)); + return; + } else { + this->action = 3; + this->actionDelay = 120; + this->nonPlanarMovement = 192; + this->direction = (GetFacingDirection(this, gUnk_020000B0) + gUnk_080CA5D4[Random() & 1]) & 0x1f; + } + } else { + sub_080205F8(this); + } + + UpdateAnimationVariableFrames(this, 4); +} + +void sub_08020294(Entity* this) { + if (sub_08049FDC(this, 1)) { + if (--this->actionDelay == 0) { + sub_080205F8(this); + } + if (60 < this->actionDelay) { + if (this->actionDelay & 1) + this->nonPlanarMovement += 4; + + if ((gScreenTransition.frameCount & 3) == 0) + sub_08004596(this, GetFacingDirection(this, gUnk_020000B0)); + } + sub_080AEFE0(this); + } else { + sub_080205F8(this); + } + UpdateAnimationVariableFrames(this, 4); +} + +void sub_08020308(Entity* this) { + if (--this->actionDelay == 0) { + this->action = 1; + this->actionDelay = 1; + this->nonPlanarMovement = 128; + this->field_0x82.HALF.HI = 120; + GetNextFrame(this); + } else { + if (this->actionDelay & 1) + this->nonPlanarMovement -= 8; + + sub_080AEFE0(this); + UpdateAnimationVariableFrames(this, 4); + } +} + +void sub_08020350(Entity* this) { + if (this->animationState != 2) { + if (sub_080044EC(this, 0x1800) == 0) { + this->action = 6; + this->actionDelay = -0x10; + this->field_0xf = 10; + this->damageType = 113; + } + + if (this->direction == 0xff) + this->direction = this->field_0x3e; + + sub_080AEF88(this); + GetNextFrame(this); + } else { + sub_08003FC4(this, 0x1c00); + if (this->height.HALF.HI == 0) { + this->action = 7; + this->actionDelay = -106; + this->field_0xf = 10; + this->damageType = 113; + } + } +} + +void sub_080203C0(Entity* this) { + if (this->field_0xf) + if (--this->field_0xf == 0) + sub_0804A9FC(this, 0x1c); + + if (!sub_0800442E(this) && --this->actionDelay) + return; + + this->action = 9; + this->field_0x20 = 0x18000; + this->direction = Random() & 0x1f; + sub_0804AA1C(this); + this->animationState = 5; + InitializeAnimation(this, 5); +} + +void sub_0802041C(Entity* this) { + if (this->field_0xf) + if (--this->field_0xf == 0) + sub_0804A9FC(this, 0x1c); + + if (!sub_0800442E(this) && --this->actionDelay) + return; + + this->action = 8; + this->actionDelay = -16; + this->direction = Random() & 0x1f; + sub_0804AA1C(this); +} + +void sub_08020468(Entity* this) { + GetNextFrame(this); + if (--this->actionDelay == 0) { + if (this->frames.all & 0x80) { + this->action = 9; + this->field_0x20 = 0x18000; + this->animationState = 4; + InitializeAnimation(this, 4); + } else { + this->actionDelay = 1; + } + } + + if (this->frames.all & 2) { + this->frames.all &= 0xfd; + this->direction = Random() & 0x1f; + } + + if (this->frames.all & 1) { + sub_0800442E(this); + } else { + sub_080AEF88(this); + } +} + +void sub_080204E0(Entity* this) { + GetNextFrame(this); + if (this->frames.all & 0x80) { + this->action = 1; + this->damageType = 0x70; + this->field_0x82.HALF.LO = 1; + this->field_0x80.HALF.HI = 1; + this->animationState = 0; + InitializeAnimation(this, 0); + } else { + if (this->frames.all & 1) { + sub_0800442E(this); + } else { + sub_08003FC4(this, 0x1c00); + sub_080AEF88(this); + } + } +} + +void sub_0802053C(Entity* this) { + this->action = 1; + this->actionDelay = -16; + this->field_0xf = 40; + this->spriteSettings.b.draw = 1; + this->spriteRendering.b3 = 1; + this->spriteOrientation.flipY = 1; + this->spriteSettings.b.shadow = 0; + this->nonPlanarMovement = 0x20; + this->direction = (Random() & 0x10) + 8; + InitializeAnimation(this, 3); +} + +void sub_08020590(Entity* this) { + GetNextFrame(this); + if (--this->actionDelay == '\0') { + DeleteEntity(this); + } else { + if (this->actionDelay < 60) + this->spriteSettings.b.draw ^= 1; + + this->height.WORD -= 0xc000; + sub_0806F69C(this); + if (--this->field_0xf == 0) { + this->field_0xf = 40; + this->direction = (Random() & 0x10) + 8; + } + } +} + +void sub_080205F8(Entity* this) { + this->action = 4; + this->actionDelay = 60; +} + +void sub_08020604(Entity *this){ + if (!sub_08049FA0(this) && (Random() & 3)) { + this->direction = sub_08049EE4(this); + } else { + this->direction += this->field_0x80.HALF.LO; + this->direction &= 0x1f; + } +} + + + +// clang-format off +void (*const gUnk_080CA570[])(Entity*) = { + sub_0801FF9C, + sub_0801FFDC, + sub_08001324, + sub_0804A7D4, + sub_08001242, + sub_08020088, +}; + +void (*const gUnk_080CA588[])(Entity*) = { + sub_0802053C, + sub_08020590, +}; + +void (*const gUnk_080CA590[])(Entity*) = { + sub_08020130, + sub_08020180, + sub_08020220, + sub_08020294, + sub_08020308, + sub_08020350, + sub_080203C0, + sub_0802041C, + sub_08020468, + sub_080204E0, +}; + +const s8 gUnk_080CA5B8[] = { + -5, + -6, + -7, + -6, +}; + +void (*const gUnk_080CA5BC[])(Entity*) = { + sub_080200B4, + sub_080200E4, + sub_080200EC, + sub_080200F4, + nullsub_5, + sub_08020104, +}; +// clang-format on + diff --git a/src/enemy/rockChuchu.c b/src/enemy/rockChuchu.c new file mode 100644 index 00000000..337e21dc --- /dev/null +++ b/src/enemy/rockChuchu.c @@ -0,0 +1,122 @@ +#include "enemy.h" +#include "entity.h" +#include "functions.h" + +extern void sub_0804A4E4(Entity*, Entity*); + +extern void (*const gUnk_080CB948[])(Entity*); +extern void (*const gUnk_080CB960[])(Entity*); + +void RockChuchu(Entity* this) { + EnemyFunctionHandler(this, gUnk_080CB948); +} + +void sub_0802223C(Entity* this) { + gUnk_080CB960[this->action](this); +} + +void sub_08022254(Entity* this) { + Entity* ent; + + if (this->currentHealth) { + switch (this->bitfield & 0x7f) { + case 4: + case 5: + case 6: + case 8: + case 9: + case 10: + case 0xb: + case 0xc: + case 0xd: + case 0x10: + case 0x11: + case 0x12: + case 0x18: + case 0x19: + case 0x1a: + if ((gPlayerState.field_0xac & 8) == 0) + break; + case 0x16: + case 0x1c: + CreateFx(this, 4, 0); + ent = CreateEnemy(1, 1); + if (ent) { + ent->entityType.parameter = 1; + ent->hurtBlinkTime = -8; + sub_0804A4E4(this, ent); + this->action = 2; + this->flags &= ~0x80; + this->spriteSettings.b.draw = 0; + this->direction = this->field_0x3e; + this->attachedEntity = ent; + } + } + } else { + if (this->damageType != 0x94) + InitializeAnimation(this, 2); + } + + sub_0804AA30(this, gUnk_080CB948); +} + +void nullsub_131(Entity* this) { +} + +void sub_08022368(Entity* this) { + sub_0804A720(this); + this->action = 1; + this->actionDelay = Random(); + this->direction = sub_08049F84(this, 1); + InitializeAnimation(this, 0); +} + +void sub_08022390(Entity* this) { + if (sub_08049FDC(this, 1)) { + if ((this->actionDelay++ & 0xf) == 0) { + this->direction = sub_08049F84(this, 1); + this->field_0xf = Random() & 4; + } + + if (this->field_0xf == 0) { + sub_080AEF88(this); + } else { + this->field_0xf = this->field_0xf - 1; + } + } else { + this->actionDelay = Random(); + } + + GetNextFrame(this); +} + +void sub_080223E4(Entity* this) { + Entity* ent; + + ent = this->attachedEntity; + if (ent) { + ent->bitfield = 0x94; + ent->hurtBlinkTime = 0x10; + ent->field_0x42 = 0xc; + ent->field_0x3e = this->direction; + } + + DeleteEntity(this); +} + +// clang-format off +void (*const gUnk_080CB948[])(Entity*) = { + sub_0802223C, + sub_08022254, + sub_08001324, + sub_0804A7D4, + sub_08001242, + nullsub_131, +}; + +void (*const gUnk_080CB960[])(Entity*) = { + sub_08022368, + sub_08022390, + sub_080223E4, +}; +// clang-format on diff --git a/src/enemy/rollobite.c b/src/enemy/rollobite.c new file mode 100644 index 00000000..1a9fc159 --- /dev/null +++ b/src/enemy/rollobite.c @@ -0,0 +1,324 @@ +#include "entity.h" +#include "functions.h" + +extern void (*const gUnk_080CA66C[])(Entity*); +extern void (*const gUnk_080CA684[])(Entity*); +extern void (*const gUnk_080CA6A4[])(Entity*); +extern void (*const gUnk_080CA6BC[])(Entity*); + +extern const u8 gUnk_080CA6CC[]; +extern const s8 gUnk_080CA6D4[]; + +void sub_08020A30(Entity*); +void sub_08020A7C(Entity*); +u32 sub_08020AD0(Entity*); +u32 sub_08020B6C(Entity*); + +extern void sub_080AE58C(); +extern void sub_080AE7E8(); +extern void sub_08078930(); + +void Rollobite(Entity* this) { + EnemyFunctionHandler(this, gUnk_080CA66C); +} + +void sub_08020648(Entity* this) { + sub_08020AD0(this); + gUnk_080CA684[this->action](this); +} + +void sub_08020668(Entity* this) { + if (this->damageType == 34 && this->currentHealth != 0xff) { + this->action = 4; + this->field_0x20 = 0x20000; + this->direction = -1; + this->currentHealth = -1; + this->damageType = 35; + InitializeAnimation(this, this->animationState + 8); + } + + if (this->bitfield != 0x80) { + u8 tmp = this->action - 4; + if (tmp < 2) { + this->action = 4; + this->actionDelay = -76; + this->direction = -1; + InitializeAnimation(this, this->animationState + 0x10); + } + } + + if (this->bitfield == 0x93) + sub_08020648(this); +} + +void sub_080206E0(Entity* this) { + if (sub_08020AD0(this)) { + this->field_0x42 = 0; + } else { + if (sub_08020B6C(this)) { + this->field_0x42--; + sub_080AE58C(this, this->field_0x3e, 10); + sub_080AE7E8(this, this->field_0x46, this->field_0x3e, 10); + } else { + sub_08001324(this); + } + } +} + +void sub_08020734(Entity* this) { + if (this->previousActionFlag < 3 && !sub_0806F520(this)) { + this->action = 4; + this->flags |= 0x80; + this->direction = -1; + InitializeAnimation(this, this->animationState + 0x10); + } else { + gUnk_080CA6A4[this->previousActionFlag](this); + } +} + +void sub_0802077C(Entity* this) { + this->previousActionFlag = 1; + this->field_0x1d = 60; +} + +void sub_08020788(Entity* this) { + sub_0806F4E8(this); +} + +void sub_08020790(Entity* this) { + sub_0806F3E4(this); +} + +void sub_08020798(Entity* this) { + this->flags &= ~0x80; +} + +void nullsub_6(Entity* this) { +} + +void sub_080207A8(Entity* this) { + this->action = 4; + this->flags |= 0x80; + this->spritePriority.b0 = 4; + this->field_0x3a &= 0xfb; + this->direction ^= 0x10; + this->field_0x20 = 0x18000; + this->nonPlanarMovement = 0x80; + InitializeAnimation(this, this->animationState + 0x10); +} + +void sub_080207F4(Entity* this) { + sub_0804A720(this); + this->field_0x16 = 0x30; + this->field_0x1c = 18; + this->cutsceneBeh.HALF.LO = 0; + this->direction = Random() & 0x18; + sub_08020A30(this); +} + +void sub_08020820(Entity* this) { + GetNextFrame(this); + if (this->frames.all & 0x1) { + this->frames.all &= ~0x1; + if (!sub_080AEF88(this)) + this->actionDelay = 1; + } + + if (this->frames.all & 0x10) { + this->frames.all &= ~0x10; + if (--this->actionDelay == 0) { + this->action = 3; + this->actionDelay = 60; + } + } +} + +void sub_08020874(Entity* this) { + gUnk_080CA6BC[this->previousActionFlag](this); +} + +void sub_0802088C(Entity* this) { + this->previousActionFlag = 1; + this->flags &= ~0x80; + this->cutsceneBeh.HALF.HI = gPlayerEntity.animationState; + this->spritePriority.b1 = 0; +} + +void sub_080208B4(Entity* this) { + s8 uVar1 = (this->cutsceneBeh.HALF.HI - gPlayerEntity.animationState) / 2; + if (uVar1) { + this->animationState = (this->animationState + uVar1) & 3; + InitializeAnimation(this, this->animationState + 0x10); + } + this->cutsceneBeh.HALF.HI = gPlayerEntity.animationState; +} + +void sub_080208F0(Entity* this) { + this->spritePriority.b1 = 3; +} + +void sub_08020904(Entity* this) { + this->action = 4; + this->flags |= 0x80; + this->direction = -1; + InitializeAnimation(this, this->animationState + 0x10); +} + +void sub_08020920(Entity* this) { + if (--this->actionDelay == 0) + sub_08020A30(this); +} + +void sub_08020938(Entity* this) { + u32 unk; + + if ((this->frames.all & 0x80) == 0) + GetNextFrame(this); + + unk = sub_080044EC(this, 0x2800); + + if (unk == 0) { + if (--this->actionDelay == 0) { + this->action = 5; + InitializeAnimation(this, this->animationState + 12); + } + sub_08078930(this); + } else { + if (unk == 1) + sub_08004488(260); + + if ((this->direction & 0x80) == 0) + sub_080AEFE0(this); + } +} + +void sub_080209A0(Entity* this) { + GetNextFrame(this); + if (this->frames.all & 0x80) { + this->flags |= 0x80; + this->nonPlanarMovement = 0x100; + this->damageType = 34; + sub_08020A30(this); + this->direction = this->animationState << 3; + InitializeAnimation(this, this->animationState); + } else { + if ((this->frames.all & 1) == 0) + sub_08078930(this); + } +} + +void sub_080209F4(Entity* this) { + if (sub_08003FC4(this, 0x1c00) == 0) { + this->action = 7; + this->spritePriority.b0 = 7; + } + + if (this->frames.all == 0) + GetNextFrame(this); +} + +void sub_08020A28(Entity* this) { + GetNextFrame(this); +} + +void sub_08020A30(Entity* this) { + if (this->cutsceneBeh.HALF.LO < 2) { + this->actionDelay = gUnk_080CA6CC[Random() & 7]; + if (this->actionDelay == 0) { + this->action = 3; + this->actionDelay = 60; + this->cutsceneBeh.HALF.LO++; + return; + } + } + this->action = 1; + this->cutsceneBeh.HALF.LO = 0; + sub_08020A7C(this); +} + +void sub_08020A7C(Entity* this) { + int tmp = Random(); + u32 state = (this->direction + gUnk_080CA6D4[tmp % 3]) & 0x18; + + if (sub_08049FA0(this) == 0) { + int tmp = (sub_08049EE4(this) + 4) & 0x18; + if ((state ^ 0x10) == tmp) + state ^= 0x10; + } + + this->direction = state; + this->animationState = (u8)(state >> 3); + InitializeAnimation(this, this->animationState); +} + +u32 sub_08020AD0(Entity* this) { + if (sub_08020B6C(this) && this->height.HALF.HI == 0) { + int tile = COORD_TO_TILE(this); + int iVar1 = GetTileType(tile, this->collisionLayer); + if ((iVar1 * 0x10000 - 0x710000U) >> 0x10 < 2) { + this->action = 6; + this->flags &= ~0x80; + this->x.HALF.HI &= 0xfff0; + this->x.HALF.HI += 8; + this->y.HALF.HI &= 0xfff0; + this->y.HALF.HI += 13; + this->field_0x20 = 0x20000; + InitializeAnimation(this, this->animationState + 0x14); + SetTile(0x4034, tile, this->collisionLayer); + return 1; + } + } + return 0; +} + +u32 sub_08020B6C(Entity* this) { + u32 tmp = this->animIndex - 0x10; + if (tmp < 4) { + return 1; + } else { + return 0; + } +} + +// clang-format off +void (*const gUnk_080CA66C[])(Entity*) = { + sub_08020648, + sub_08020668, + sub_080206E0, + sub_0804A7D4, + sub_08001242, + sub_08020734, +}; + +void (*const gUnk_080CA684[])(Entity*) = { + sub_080207F4, + sub_08020820, + sub_08020874, + sub_08020920, + sub_08020938, + sub_080209A0, + sub_080209F4, + sub_08020A28, +}; + +void (*const gUnk_080CA6A4[])(Entity*) = { + sub_0802077C, + sub_08020788, + sub_08020790, + sub_08020798, + nullsub_6, + sub_080207A8, +}; + +void (*const gUnk_080CA6BC[])(Entity*) = { + sub_0802088C, + sub_080208B4, + sub_080208F0, + sub_08020904, +}; + +const u8 gUnk_080CA6CC[] = { + 0,6,9,0,6,6,0,7 +}; +// clang-format on + diff --git a/src/enemy/rupeeLike.c b/src/enemy/rupeeLike.c index 7a021657..8a011dad 100644 --- a/src/enemy/rupeeLike.c +++ b/src/enemy/rupeeLike.c @@ -262,7 +262,7 @@ void sub_08029770(Entity* this) { InitializeAnimation(this, 2); this->attachedEntity->spriteSettings.b.draw = TRUE; InitializeAnimation(this->attachedEntity, 6); - sub_080A29BC(this); + CreateDust(this); } } diff --git a/src/enemy/slime.c b/src/enemy/slime.c index 74343df7..91238ab9 100644 --- a/src/enemy/slime.c +++ b/src/enemy/slime.c @@ -16,7 +16,6 @@ typedef struct { void sub_08044FF8(Entity*); void sub_08045178(Entity*, Entity*, int, int); -extern void sub_0804A9FC(Entity*, u32); extern void sub_0804A720(Entity*); extern u32 sub_0806FA04(u32, u32); extern u32 sub_08049FA0(Entity*); diff --git a/src/enemy/spinyChuchu.c b/src/enemy/spinyChuchu.c new file mode 100644 index 00000000..a3d41a1b --- /dev/null +++ b/src/enemy/spinyChuchu.c @@ -0,0 +1,285 @@ +#include "enemy.h" +#include "entity.h" +#include "functions.h" + +extern void sub_08001318(Entity*); +extern u32 sub_08049F64(Entity*, u32, u32); +extern void sub_0804A4E4(Entity*, Entity*); +extern void sub_0804AA1C(Entity*); + +u32 sub_080228CC(Entity*); +u32 sub_080228F0(Entity*); + +extern void (*const gUnk_080CBA28[])(Entity*); +extern void (*const gUnk_080CBA40[])(Entity*); + +extern const u8 gUnk_080CBA60[]; + +extern BoundingBox gUnk_080FD468; +extern BoundingBox gUnk_080FD470; + +extern Entity* gUnk_020000B0; + +void SpinyChuchu(Entity* this) { + EnemyFunctionHandler(this, gUnk_080CBA28); + SetChildOffset(this, 0, 1, -0x10); +} + +void sub_08022434(Entity* this) { + gUnk_080CBA40[this->action](this); +} + +void sub_0802244C(Entity* this) { + if (this->currentHealth) { + if (this->damageType == 0x65) { + switch (this->bitfield & 0x7f) { + case 2: + case 3: + this->action = 2; + this->field_0xf = 0x3c; + this->damageType = 0x5c; + this->boundingBox = &gUnk_080FD468; + InitializeAnimation(this, 0); + break; + case 8: + case 9: + case 10: + case 0xb: + case 0xc: + case 0x16: + case 0x18: + case 0x19: + case 0x1a: + sub_0804A9FC(this, 0x1c); + this->action = 5; + this->damageType = 0x5c; + InitializeAnimation(this, 1); + } + } else if (this->bitfield == 0x94) { + sub_0804A9FC(this, 0x1c); + this->action = 5; + InitializeAnimation(this, 1); + } + + if (this->field_0x80.HALF.LO != this->currentHealth) { + this->action = 5; + this->damageType = 0x5c; + InitializeAnimation(this, 1); + } else { + if (this->action == 3) { + this->action = 4; + InitializeAnimation(this, 3); + sub_08004488(0x194); + } + } + } else { + InitializeAnimation(this, 1); + } + + this->field_0x80.HALF.LO = this->currentHealth; + sub_0804AA30(this, gUnk_080CBA28); +} + +void sub_080225A0(Entity* this) { + if (this->animIndex == 1) + GetNextFrame(this); + sub_08001318(this); +} + +void sub_080225BC(Entity* this) { + sub_08003FC4(this, 0x1800); + if (this->frames.all & 1) { + sub_0804A7D4(this); + } else { + GetNextFrame(this); + } +} + +void nullsub_9(Entity* this) { +} + +void sub_080225EC(Entity* this) { + sub_0804A720(this); + this->field_0x80.HALF.LO = this->currentHealth; + this->field_0x80.HALF.HI = 0x5a; + if (this->actionDelay == 0) { + this->action = 2; + InitializeAnimation(this, 0); + } else { + this->action = 1; + this->field_0xf = 0x3c; + this->spriteSettings.b.draw = 3; + this->spriteRendering.b3 = 1; + this->spriteOrientation.flipY = 1; + this->height.HALF.HI = -0x80; + InitializeAnimation(this, 6); + } +} + +void sub_08022654(Entity* this) { + switch (this->previousActionFlag) { + case 0: + if (--this->field_0xf) + return; + this->previousActionFlag = 1; + PlaySFX(0x12d); + InitializeAnimation(this, 0); + /* fallthrough */ + case 1: + if (sub_08003FC4(this, 0x1800)) + return; + + this->previousActionFlag = 2; + this->spriteSettings.b.draw = 1; + InitializeAnimation(this, 5); + sub_08004488(0x7d); + UpdateSpriteForCollisionLayer(this); + /* fallthrough */ + case 2: + GetNextFrame(this); + if (--this->actionDelay == 0) { + this->action = 3; + this->damageType = 0x65; + InitializeAnimation(this, 2); + } + break; + } +} + +void sub_080226EC(Entity* this) { + if (sub_08049FDC(this, 1)) { + if (sub_080228CC(this)) { + this->action = 3; + this->damageType = 0x65; + InitializeAnimation(this, 2); + return; + } + + if (sub_080228F0(this)) { + this->action = 6; + this->field_0x20 = 0x12000; + this->nonPlanarMovement = 0x140; + this->direction = GetFacingDirection(this, gUnk_020000B0); + this->damageType = 0x5a; + InitializeAnimation(this, 4); + return; + } + + if ((this->actionDelay++ & 7) == 0) { + this->direction = sub_08049F84(this, 1); + } + + sub_080AEF88(this); + } + + GetNextFrame(this); +} + +void sub_08022780(Entity* this) { + GetNextFrame(this); + if (this->frames.all & 0x80) { + this->action = 4; + InitializeAnimation(this, 3); + sub_08004488(0x194); + } +} + +void sub_080227AC(Entity* this) { + GetNextFrame(this); + if (this->frames.all & 1) { + this->boundingBox = &gUnk_080FD470; + } else { + this->boundingBox = &gUnk_080FD468; + } + + if (this->frames.all & 2) { + this->frames.all &= ~2; + this->damageType = 0x5c; + } + + if (this->frames.all & 0x80) { + this->action = 2; + this->field_0xf = gUnk_080CBA60[Random() & 3]; + InitializeAnimation(this, 0); + } +} + +void sub_0802281C(Entity* this) { + sub_08003FC4(this, 0x1800); + GetNextFrame(this); + if (this->frames.all & 0x80) { + this->action = 2; + this->nonPlanarMovement = 0x20; + InitializeAnimation(this, 0); + sub_0804AA1C(this); + } +} + +void sub_08022854(Entity* this) { + GetNextFrame(this); + if (this->frames.all & 1) { + sub_080AEFE0(this); + if (sub_08003FC4(this, 0x1800) == 0) { + this->action = 7; + this->damageType = 0x5c; + InitializeAnimation(this, 5); + sub_08004488(0x7d); + } + } +} + +void sub_0802289C(Entity* this) { + GetNextFrame(this); + if (this->frames.all & 0x80) { + this->action = 2; + this->nonPlanarMovement = 0x20; + this->field_0x80.HALF.HI = 0x78; + InitializeAnimation(this, 0); + } +} + +u32 sub_080228CC(Entity* this) { + if (this->field_0xf == 0) { + if (sub_08049F64(this, 1, 0x28)) + return 1; + } else { + this->field_0xf--; + } + return 0; +} + +u32 sub_080228F0(Entity* this) { + if (this->field_0x80.HALF.HI == 0) { + if (sub_08049F64(this, 1, 0x40)) + return 1; + } else { + this->field_0x80.HALF.HI--; + } + return 0; +} + +// clang-format off +void (*const gUnk_080CBA28[])(Entity*) = { + sub_08022434, + sub_0802244C, + sub_080225A0, + sub_080225BC, + sub_08001242, + nullsub_9, +}; + +void (*const gUnk_080CBA40[])(Entity*) = { + sub_080225EC, + sub_08022654, + sub_080226EC, + sub_08022780, + sub_080227AC, + sub_0802281C, + sub_08022854, + sub_0802289C, +}; + +const u8 gUnk_080CBA60[] = { + 10, 20, 30, 20, +}; +// clang-format on diff --git a/src/enemy/tektite.c b/src/enemy/tektite.c index 0cea604e..4aec209c 100644 --- a/src/enemy/tektite.c +++ b/src/enemy/tektite.c @@ -56,7 +56,7 @@ void nullsub_16(Entity* this) { } void sub_0802F1F0(Entity* this) { - sub_08001242(); + sub_08001242(this); if (this->height.HALF.HI != 0) { sub_08003FC4(this, this->field_0x80.HWORD); } diff --git a/src/enemy/tektiteGolden.c b/src/enemy/tektiteGolden.c index 32c3ba40..f46a65e3 100644 --- a/src/enemy/tektiteGolden.c +++ b/src/enemy/tektiteGolden.c @@ -56,7 +56,7 @@ void sub_08037F58(Entity* this) { } void sub_08037F84(Entity* this) { - sub_08001242(); + sub_08001242(this); if (this->height.HALF.HI != 0) { sub_08003FC4(this, 0x3000); } diff --git a/src/enemy/vaatiBall.c b/src/enemy/vaatiBall.c new file mode 100644 index 00000000..fcbc04f3 --- /dev/null +++ b/src/enemy/vaatiBall.c @@ -0,0 +1,503 @@ +#include "entity.h" +#include "player.h" +#include "functions.h" +#include "screen.h" + +typedef struct { + s8 h, v; +} PACKED PosOffset; + +extern void (*const gUnk_080D1604[])(Entity*); +extern PosOffset gUnk_080D1620[4]; + +extern void sub_08044E74(Entity*, u32); + +void VaatiBall(Entity* this) { + Entity* parent; + + parent = this->parent; + if (this->action && this->action != 3) { + this->x.WORD += parent->x.WORD - *(int*)&parent->field_0x78; + this->y.WORD += parent->y.WORD - parent->field_0x7c.WORD; + } + + gUnk_080D1604[this->action](this); + + if (this->cutsceneBeh.HALF.LO) { + this->currentHealth = -1; + } + + if (this->bitfield & 0x80) { + if ((this->bitfield & 0x3f) == 0 && this->action == 6) { + ModHealth(-2); + } + + if (this->currentHealth < 0xfd) { + this->spriteSettings.b.draw = 0; + this->flags &= 0x7f; + this->currentHealth = -1; + parent->field_0x80.HALF.LO--; + CreateDust(this); + PlaySFX(0x1c3); + } + } +} + +void sub_0804468C(Entity* this) { + PosOffset* off; + + this->collisionLayer = 3; + this->spriteRendering.b3 = 2; + this->spritePriority.b0 = 5; + this->cutsceneBeh.HALF.LO = 0; + switch (this->entityType.form) { + case 0: + this->action = 1; + this->actionDelay = 1; + this->direction = (this->field_0x78.HALF.HI * 8) & 0x1f; + this->field_0x78.HALF.LO = 0; + this->field_0x82.HALF.HI = 0; + this->spriteSettings.b.draw = 0; + off = &gUnk_080D1620[this->field_0x78.HALF.HI & 3]; + PositionRelative(this->parent, this, off->h << 0x10, (off->v - 0x10) * 0x10000); + this->height.HALF.HI = this->parent->height.HALF.HI; + InitAnimationForceUpdate(this, 0); + break; + case 1: + this->action = 3; + this->field_0x74.HALF.LO = 0; + this->field_0x82.HALF.HI = 1; + this->spriteSettings.b.draw = 1; + InitAnimationForceUpdate(this, 1); + break; + } +} + +void sub_0804474C(Entity* this) { + switch (this->parent->action) { + case 3: + this->action = 3; + this->field_0x74.HALF.LO = 0; + this->actionDelay = 0; + break; + case 5: + this->action = 5; + this->field_0x74.HALF.LO = 0; + this->field_0xf = 1; + break; + case 6: + this->action = 6; + this->field_0x74.HALF.LO = 0; + this->field_0xf = 32; + break; + case 2: + this->action = 2; + this->field_0x74.HALF.LO = 0; + this->damageType = 0; + break; + } + + if (this->action != 1) { + UpdateAnimationSingleFrame(this); + } else { + if (--this->actionDelay == 0) { + this->actionDelay = 2; + this->direction++; + this->direction &= 0x1f; + } + sub_0806F69C(this); + UpdateAnimationSingleFrame(this); + } +} + +void sub_080447E0(Entity* this) { + Entity* vaati = this->parent; + + if (vaati->action == 1) { + this->action = 1; + this->damageType = 43; + sub_08044E74(this, 0); + if (this->flags & 0x80) + this->spriteSettings.b.draw = 1; + } else { + this->field_0x76.HALF.HI++; + this->field_0x76.HALF.HI &= 7; + if (this->flags & 0x80) { + if (this->field_0x76.HALF.HI & 1) { + this->spriteSettings.b.draw = 1; + } else { + this->spriteSettings.b.draw = 0; + } + } + + if (vaati->field_0x74.HALF.LO == 2) { + sub_08044E74(this, 2); + } + } +} + +extern u32 sub_080045B4(); +extern u32 sub_0806FCB8(Entity*, u32, u32, u32); +extern void sub_08044DEC(); + +void sub_08044868(Entity* this) { + Entity* vaati = this->parent; + + switch (vaati->field_0x74.HALF.LO) { + case 0xfe: + if (this->field_0x82.HALF.HI && this->field_0x74.HALF.LO == 2) + DeleteThisEntity(); + break; + case 0xff: + if (this->field_0x82.HALF.HI) { + switch (this->field_0x74.HALF.LO) { + case 0: + if (this->frames.all & 0x80) { + this->field_0x74.HALF.LO = 1; + this->direction = sub_080045B4(this, vaati->x.HALF.HI, vaati->y.HALF.HI - 0x10); + this->nonPlanarMovement = 0x180; + } + break; + case 1: + sub_0806F69C(this); + if (sub_0806FCB8(this, vaati->x.HALF.HI, vaati->y.HALF.HI - 0x10, 0xc)) { + this->field_0x74.HALF.LO++; + this->x.HALF.HI = vaati->x.HALF.HI; + this->y.HALF.HI = vaati->y.HALF.HI - 0x10; + vaati->actionDelay++; + } else { + this->direction = sub_080045B4(this, vaati->x.HALF.HI, vaati->y.HALF.HI - 0x10); + } + break; + } + } + break; + case 1: + if (this->field_0x82.HALF.HI == 0) { + this->field_0x82.HALF.HI++; + this->spriteSettings.b.draw = 1; + } + sub_08044DEC(this); + if (*(u8*)&vaati->field_0x86 > 1) { + u8 draw = this->spriteSettings.b.draw; + if (draw == 1 && this->cutsceneBeh.HALF.LO == 0) { + vaati = sub_0804A98C(this, 0x18, 0); + if (vaati) { + vaati->entityType.parameter = 1; + vaati->parent = this; + this->cutsceneBeh.HALF.LO = 1; + this->damageType = 0; + } + } + } + this->actionDelay = 32; + break; + case 2: + if (this->actionDelay) + if (--this->actionDelay < 0x11) + sub_0806F69C(this); + break; + case 3: { + u8 draw; + + sub_08044E74(this, 1); + draw = this->spriteSettings.b.draw; + if (draw == 1) { + this->flags |= 0x80; + } else { + this->flags &= 0x7f; + } + break; + } + } + UpdateAnimationSingleFrame(this); +} + +void sub_080449F8(Entity* this) { + Entity* vaati = this->parent; + + UpdateAnimationSingleFrame(this); + if (vaati->action == 1) { + sub_08044E74(this, 0); + return; + } + + switch (vaati->field_0x74.HALF.LO) { + case 0: + sub_0806F69C(this); + if (--this->actionDelay) + break; + + if (this->field_0x78.HALF.LO == 0) { + this->field_0x78.HALF.LO++; + this->nonPlanarMovement = 640; + } + + this->actionDelay = 4; + this->direction++; + this->direction &= 0x1f; + if (vaati->field_0x80.HALF.LO == 0) + vaati->field_0x74.HALF.LO = 1; + break; + case 1: + switch (this->actionDelay) { + case 2: + if (vaati->field_0x80.HALF.LO == 0) { + this->field_0xf = 0; + sub_08044E74(this, 0); + } + break; + case 1: + this->direction = (this->direction + 0x10) & 0x1f; + sub_0806F69C(this); + this->direction = (this->direction + 0x10) & 0x1f; + this->actionDelay = 2; + break; + case 3: + sub_0806F69C(this); + this->actionDelay = 2; + break; + case 4: + sub_0806F69C(this); + sub_0806F69C(this); + this->actionDelay = 2; + break; + } + break; + case 2: + if (this->field_0x74.HALF.LO == 0) { + u8 draw; + + this->field_0x74.HALF.LO++; + draw = this->spriteSettings.b.draw; + if (draw) { + vaati = sub_0804A98C(this, 0x1c, 0); + if (vaati) { + vaati->y.HALF.HI += 4; + vaati->parent = this; + this->attachedEntity = vaati; + } + } + } + break; + case 3: + if (this->field_0xf) { + this->field_0xf = 0; + } + break; + } +} + +void sub_08044B04(Entity* this) { + Entity* vaati = this->parent; + + UpdateAnimationSingleFrame(this); + if (vaati->action == 1) { + sub_08044E74(this, 0); + this->actionDelay = 32; + return; + } + + switch (vaati->field_0x74.HALF.LO) { + case 0: + sub_0806F69C(this); + switch (this->field_0x74.HALF.LO) { + case 0: + if (--this->actionDelay == 0) { + this->actionDelay = this->field_0x78.HALF.LO ? 4 : 2; + this->direction++; + this->direction &= 0x1f; + } + if (--this->field_0xf == 0) { + if (this->actionDelay != 2) { + this->field_0xf = 1; + } else { + if (++this->field_0x78.HALF.LO > 2) { + this->field_0x74.HALF.LO++; + this->field_0x78.HALF.LO = 1; + this->actionDelay = 4; + this->field_0xf = 0; + } else { + this->field_0xf = 32; + } + + this->nonPlanarMovement = this->field_0x78.HALF.LO ? 640 : 1280; + } + } + break; + case 1: + if (--this->actionDelay == 0) { + this->actionDelay = 6; + this->direction = (this->direction + 1) & 0x1f; + if (++this->field_0xf == 0x30) { + u32 direction = sub_080045B4(this, vaati->x.HALF.HI, vaati->y.HALF.HI - 0x10); + this->nonPlanarMovement = 0; + this->direction = (direction + 16) & 0x1f; + this->actionDelay = 16; + this->field_0xf = 16; + this->field_0x74.HALF.LO++; + } + } + break; + case 2: + if (this->field_0xf == 0) { + switch (--this->actionDelay) { + case 12: + this->nonPlanarMovement = 1280; + break; + case 0: + this->field_0x74.HALF.LO++; + this->direction = sub_080045B4(this, vaati->x.HALF.HI, vaati->y.HALF.HI - 0x10); + this->nonPlanarMovement = 0; + this->actionDelay = 4; + this->field_0xf = 16; + break; + case 4: + this->nonPlanarMovement = 640; + break; + } + } else { + if (--this->field_0xf == 0) + this->nonPlanarMovement = 640; + } + break; + case 3: + if (this->field_0xf) { + if (--this->field_0xf == 0) + this->nonPlanarMovement = 640; + } else { + if (this->actionDelay) { + if (--this->actionDelay == 0) { + this->nonPlanarMovement = 1280; + PlaySFX(0x14f); + } + } + if (this->field_0x78.HALF.HI == 3) + if (sub_0806FCB8(this, vaati->x.HALF.HI, vaati->y.HALF.HI - 0x10, 0xc)) + vaati->actionDelay++; + this->direction = sub_080045B4(this, vaati->x.HALF.HI, vaati->y.HALF.HI - 0x10); + return; + } + break; + } + break; + case 1: + switch (this->field_0x74.HALF.LO) { + case 3: + this->field_0x74.HALF.LO = 1; + this->actionDelay = 80; + this->flags &= 0x7f; + PositionRelative(vaati, this, 0, -0x100000); + if (this->field_0xf) + this->spriteSettings.b.draw = 0; + break; + case 1: + if (--this->actionDelay == 0) { + this->field_0x74.HALF.LO = 0; + this->actionDelay = 32; + this->field_0xf = 4; + } + break; + } + break; + case 2: + /* ... */ + break; + case 3: + switch (this->field_0x74.HALF.LO) { + case 0: + if (this->field_0xf) { + if (--this->field_0xf == 0) { + sub_08044DEC(this); + this->field_0x74.HALF.LO = 1; + this->actionDelay = 16; + } + } + break; + case 1: + sub_0806F69C(this); + if (--this->actionDelay == 0) + this->field_0x74.HALF.LO++; + break; + case 2: { + u8 draw; + + sub_08044E74(this, 1); + draw = this->spriteSettings.b.draw; + if (draw == 1) { + this->flags |= 0x80; + } else { + this->flags &= 0x7f; + } + vaati->actionDelay++; + break; + } + } + break; + } +} + +extern u8 gUnk_080D1628[4][4]; + +void sub_08044DEC(Entity* this) { + u32 off; + + if (this->parent->field_0x80.HALF.LO > this->field_0x78.HALF.HI) { + this->spriteSettings.b.draw = 1; + this->currentHealth = -1; + } else { + this->spriteSettings.b.draw = 0; + } + this->flags &= 0x7f; + this->field_0x78.HALF.LO = 0; + this->nonPlanarMovement = 0x300; + off = this->parent->field_0x80.HALF.LO - 1; + this->direction = gUnk_080D1628[off][this->field_0x78.HALF.HI]; + PositionRelative(this->parent, this, 0, -0x100000); +} + +void sub_08044E74(Entity* this, u32 state) { + this->action = 1; + this->field_0x74.HALF.LO = 0; + + switch (state) { + case 2: + this->action = 2; + this->direction += 0x18; + this->direction &= 0x1f; + PositionRelative(this->parent, this, 0, -0x100000); + this->nonPlanarMovement = 12288; + sub_0806F69C(this); + this->direction += 0x8; + this->direction &= 0x1f; + this->nonPlanarMovement = 1280; + sub_0806F69C(this); + break; + case 1: + this->direction = (this->direction + 8) & 0x1f; + break; + case 0: + if (this->field_0x78.HALF.LO) { + switch (this->actionDelay) { + case 3 ... 4: + do { + sub_0806F69C(this); + } while (this->actionDelay-- != 3); + break; + case 1: + this->direction = (this->direction + 0x10) & 0x1f; + sub_0806F69C(this); + this->direction = (this->direction + 0x10) & 0x1f; + break; + } + } else { + if (this->actionDelay == 2) { + sub_0806F69C(this); + } + } + break; + } + this->actionDelay = 1; + this->field_0x78.HALF.LO = 0; + this->nonPlanarMovement = 1280; +} diff --git a/src/enemy/wisp.c b/src/enemy/wisp.c index b56ff33a..2c7431d6 100644 --- a/src/enemy/wisp.c +++ b/src/enemy/wisp.c @@ -109,7 +109,7 @@ void sub_080336DC(Entity* this) { this->y.HALF.HI = this->field_0x82.HWORD; break; case 0x18: - sub_080A29BC(this); + CreateDust(this); break; case 0xc: this->spriteSettings.b.draw = TRUE; diff --git a/src/entity.c b/src/entity.c index 056644bf..1b8d1cb1 100644 --- a/src/entity.c +++ b/src/entity.c @@ -193,16 +193,16 @@ void sub_0805E92C(u32 param_1) { } extern Entity gUnk_020369F0; -extern void sub_0801D66C(const void* src, void* dest, size_t size); // dma copy +extern void _DmaCopy(const void* src, void* dest, size_t size); // dma copy extern void sub_0805E98C(void); void sub_0805E958(void) { - sub_0801D66C(&gEntityLists, &gUnk_020369F0, 0x48); + _DmaCopy(&gEntityLists, &gUnk_020369F0, 0x48); sub_0805E98C(); } void sub_0805E974(void) { - sub_0801D66C(&gUnk_020369F0, &gEntityLists, 0x48); + _DmaCopy(&gUnk_020369F0, &gEntityLists, 0x48); } void sub_0805E98C(void) { diff --git a/src/mainLoop.c b/src/mainLoop.c index c46fd8bf..3ad0eaae 100644 --- a/src/mainLoop.c +++ b/src/mainLoop.c @@ -8,7 +8,7 @@ extern void sub_0804FF84(u32); extern u16 gPaletteBuffer[]; extern void VBlankInterruptWait(void); extern void DisableInterruptsAndDMA(void); -extern void sub_0801D66C(void*, u8*, int); +extern void _DmaCopy(void*, u8*, int); extern void sub_08016B34(void); static void sub_08055F70(void); @@ -99,12 +99,12 @@ static void sub_08055F70(void) { _DmaZero(gUnk_02000030, size); size = (u32)gUnk_080B2CD8 - (u32)sub_080B197C; if (size != 0) { - sub_0801D66C(sub_080B197C, gUnk_030056F0, size); + _DmaCopy(sub_080B197C, gUnk_030056F0, size); } size = (u32)gUnk_080B2CD8_2 - (u32)gUnk_080B2CD8_3; if (size != 0) { - sub_0801D66C(gUnk_080B2CD8_3, gUnk_02038560, size); + _DmaCopy(gUnk_080B2CD8_3, gUnk_02038560, size); } sub_0801DA90(0); diff --git a/src/manager/manager15.c b/src/manager/manager15.c new file mode 100644 index 00000000..c4d1f8b0 --- /dev/null +++ b/src/manager/manager15.c @@ -0,0 +1,495 @@ +#include "global.h" +#include "flags.h" +#include "screen.h" +#include "manager.h" +#include "functions.h" + +typedef struct { + Manager manager; + u8 unk_20; + u8 unk_21; + u8 unk_22; + u8 unk_23;//used + u16 unk_24; + u16 unk_26; + void* unk_28; + u16 unk_2c; + u8 unk_2e[0x6]; + s16 unk_34; + s16 unk_36; + s16 unk_38; + s16 unk_3a; + u16 unk_3c; + u16 unk_3e;//used +} Manager15; + +extern void (*const gUnk_081085D8[])(Manager*); + +void sub_0805A280(Manager* this) { + gUnk_081085D8[this->unk_0a](this); +} + + +void sub_0805A89C(Manager15*); +void sub_0805A8EC(Manager15*); +void sub_0805AAF0(u32); + +void sub_0805A298(Manager15* this) { + if (this->manager.action == 0) { + sub_0805A89C(this); + if (!CheckLocalFlag(this->unk_3e)) { + this->unk_23 = 1; + } else { + this->unk_23 = 2; + } + sub_0805AAF0(this->unk_23); + gScreen.lcd.displayControl |= 0x4800; + } + sub_0805A8EC(this); +} + +extern void (*const gUnk_081085F8[])(Manager15*); + +void sub_0805A2E4(Manager15* this) { + if (this->manager.action == 0) { + sub_0805A89C(this); + this->unk_23 = 1; + sub_0805AAF0(1); + if (!CheckLocalFlag(this->unk_3e)) { + this->manager.action = 1; + gScreen.lcd.displayControl &= 0xB7FF; + } else { + if (CheckLocalFlag(0x48)) { + this->manager.action = 4; + } else { + this->manager.action = 3; + } + gScreen.lcd.displayControl |= 0x4800; + } + } else { + gUnk_081085F8[this->manager.action](this); + } + if (this->manager.next) { + sub_0805A8EC(this); + } +} + +extern Entity gUnk_080E4C08; + +void sub_0805A370(Manager15* this) { + if (this->manager.unk_0d) { + LoadRoomEntityList(&gUnk_080E4C08); + this->manager.action = 3; + PlaySFX(0x80100000); + } +} + +void sub_0805A394(Manager15* this) { + Entity* ent; + if ((ent = FindEntityInListBySubtype(0x3,0x13,0x4))) { + if (ent->entityType.form != 4) { + return; + } + } + SetLocalFlag(0x48); + ClearRoomFlag(0); + gScreen.lcd.displayControl &= 0xB7FF; + DeleteThisEntity(); +} + +void nullsub_496(Manager15* this) { +} + +extern void (*const gUnk_0810860C[])(Manager15*); + +void sub_0805A3D4(Manager15* this) { + if (this->manager.action == 0) { + sub_0805A89C(this); + if (this->manager.unk_0a == 3) { + this->unk_23 = 2; + } else { + this->unk_23 = 1; + } + sub_0805AAF0(this->unk_23); + if (!CheckLocalFlag(this->unk_3e)) { + ClearFlag(this->unk_3c); + this->manager.action = 1; + gScreen.lcd.displayControl &= 0xB7FF; + } else { + SetFlag(this->unk_3c); + this->manager.action = 3; + gScreen.lcd.displayControl |= 0x4800; + } + } else { + gUnk_0810860C[this->manager.action](this); + } + sub_0805A8EC(this); +} + +void sub_0805A4CC(Manager15*, u32); + +void sub_0805A464(Manager15* this) { + if (CheckLocalFlag(this->unk_3e)) { + this->manager.action = 2; + sub_0805A4CC(this, 0); + } +} + +void sub_0805A480(Manager15* this) { + if (this->manager.unk_0d != 0) { + this->manager.action = 3; + SetFlag(this->unk_3c); + } +} + +void sub_0805A498(Manager15* this) { + if (!CheckLocalFlag(this->unk_3e)) { + this->manager.action = 4; + sub_0805A4CC(this, 1); + } +} + +void sub_0805A4B4(Manager15* this) { + if (this->manager.unk_0d != 0) { + this->manager.action = 1; + ClearFlag(this->unk_3c); + } +} + +void sub_0805A4CC(Manager15* this, u32 unk_0) { + Entity* tmp; + tmp = CreateObject(0x8e, unk_0, 0); + if (tmp) { + tmp->x.HALF.HI = this->unk_38 + gRoomControls.roomOriginX; + tmp->y.HALF.HI = this->unk_3a + gRoomControls.roomOriginY - 0x30; + tmp->parent = (Entity*) this; + this->manager.unk_0d = 0; + } +} + +extern void (*const gUnk_08108620[])(Manager15*); +void sub_0805AA58(Manager15*); +void sub_0805A9CC(Manager15*); + +void sub_0805A500(Manager15* this) { + if (this->manager.action == 0) { + sub_0805A89C(this); + this->unk_28 = 0; + if (CheckLocalFlag(0x36)) { + this->unk_23 = 3; + this->manager.action = 5; + gScreen.lcd.displayControl |= 0x4800; + } else { + if (CheckLocalFlag(0x34)) { + this->unk_23 = 4; + this->manager.action = 3; + gScreen.lcd.displayControl |= 0x4800; + } else { + this->unk_23 = 4; + this->manager.action = 1; + gScreen.lcd.displayControl &= 0xB7FF; + } + } + sub_0805AAF0(this->unk_23); + } else { + gUnk_08108620[this->manager.action](this); + } + sub_0805AA58(this); + sub_0805A9CC(this); + if (gRoomControls.unk2 == 1) { + gScreen.lcd.displayControl |= 0x80<<7; + this->manager.unk_0d = 1; + return; + } + if (!this->manager.unk_0d) return; + this->manager.unk_0d = 0; + if (this->unk_20 == gRoomControls.roomID) return; + gScreen.lcd.displayControl &= 0xB7FF; + DeleteThisEntity(); +} + +void sub_0805A5FC(Manager15* this) { + if (CheckLocalFlag(0x34)) { + this->manager.action = 2; + sub_0805A4CC(this,2); + } +} + +void sub_0805A618(Manager15* this) { + if (this->manager.unk_0d) { + this->manager.action = 3; + } +} + +void sub_0805A628(Manager15* this) { + if (CheckLocalFlag(0x36)) { + this->manager.action = 4; + this->unk_23 = 3; + sub_0805A4CC(this,3); + } +} + +void sub_0805A64C(Manager15* this) { + if (this->manager.unk_0d) { + this->manager.action = 5; + } +} + +void sub_0805A65C(Manager15* this) {} +void sub_0805A660(Manager15* this) {} + +extern void (*const gUnk_08108638[])(Manager15*); +void sub_0805A68C(Manager15*); + +void sub_0805A664(Manager15* this) { + gUnk_08108638[this->manager.action](this); + sub_0805A8EC(this); + sub_0805A68C(this); +} + +extern u32 sub_0806FBFC(u32, u32, u32, u32); + +void sub_0805A68C(Manager15* this) { + if (sub_0806FBFC(this->unk_38 - 0x18, this->unk_3a - 0x18, 0x30, 0x30)) { + if (this->unk_2c <= 0x1007) { + gScreen.controls.alphaBlend = ++this->unk_2c; + this->unk_22 = 0; + } + } else { + if (this->unk_2c > 0x1000) { + this->unk_2c--; + } + gScreen.controls.alphaBlend=this->unk_2c; + } +} + +u32 sub_0805A73C(Manager15*); + +void sub_0805A6E8(Manager15* this) { + u16 tmp; + sub_0805A89C(this); + this->unk_23 = 0; + sub_0805AAF0(0); + this->unk_38 += gRoomControls.roomOriginX; + this->unk_3a += gRoomControls.roomOriginY; + if (!sub_0805A73C(this)) { + this->manager.action++; + } + this->unk_2c = 0x1000; + tmp = gScreen.lcd.displayControl | 0x4800; + gScreen.lcd.displayControl = tmp; +} + +u32 sub_0805A73C(Manager15* this) { + return sub_0806FBFC(this->unk_38 - 0x6, this->unk_3a - 0x6, 0xC, 0xC); +} + +void sub_0805A758(Manager15* this) { + if (!sub_0805A73C(this)) { + this->manager.action++; + } +} + +extern u8 gUnk_02034490; +extern void sub_0805E4E0(Manager*, u32); +extern void sub_08077B20(void); + +void sub_0805A76C(Manager15* this) { + if ((gPlayerEntity.currentHealth != 0) + && (gPlayerEntity.height.HALF.HI == 0) + && (!gPlayerState.field_0x2c) + ) { + switch (gPlayerState.field_0xa9) { + case 1: + case 0: + if (sub_0805A73C(this)) { + this->manager.action++; + sub_08004168(&gPlayerEntity); + gPlayerEntity.animationState = 4; + sub_0805E4E0(&this->manager, 0x258); + sub_08078A90(0xFF); + gUnk_02034490 = 1; + gRoomControls.cameraTarget = 0; + sub_08077B20(); + } + } + } +} + +void sub_0805A7E4(Manager15* this) { + if (gPlayerState.playerAction != 0x12) { + gPlayerState.playerAction = 0x12; + gPlayerState.field_0x38 = 0; + gPlayerState.field_0x39 = 0; + } +} + +void sub_0805A804(Manager15* this) { + switch (this->manager.action) { + case 0: + if (CheckLocalFlag(this->unk_3e)) { + this->manager.action = 1; + } else { + this->manager.action = 2; + } + this->manager.unk_0d = 1; + this->manager.unk_10 |= 0x20; + sub_0805E3A0(this, 6); + break; + case 1: + if (CheckLocalFlag(this->unk_3e)) break; + this->manager.action = 2; + sub_0805A4CC(this,4); + break; + case 2: + if (this->manager.unk_0d) { + this->manager.action = 3; + } + break; + case 3: + if (!CheckLocalFlag(this->unk_3e)) break; + this->manager.action = 4; + sub_0805A4CC(this,4); + break; + case 4: + if (this->manager.unk_0d) { + this->manager.action = 1; + } + break; + default: + DeleteThisEntity(); + } +} + +void sub_0805AAC8(Manager15*); +extern void sub_08052D74(void*, void*, void*); + +void sub_0805A89C(Manager15* this) { + sub_0805E3A0(this, 6); + this->manager.action = 1; + this->manager.unk_10 |= 0x20; + this->manager.unk_0e = 8; + this->manager.unk_0f = 0x10; + this->unk_21 = 0; + this->unk_22 = 0; + this->unk_20 = gRoomControls.roomID; + this->unk_24 = gRoomControls.roomOriginX; + this->unk_26 = gRoomControls.roomOriginY; + sub_08052D74(this, sub_0805AAC8, 0); +} + +void sub_0805A94C(Manager15* this); + +void sub_0805A8EC(Manager15* this) { + sub_0805AA58(this); + sub_0805A94C(this); + if (gRoomControls.unk2 == 1) { + gScreen.lcd.displayControl |= 0x4000; + this->manager.unk_0d = 1; + } else { + if (!this->manager.unk_0d) return; + this->manager.unk_0d = 0; + if (this->unk_20 == gRoomControls.roomID) return; + gScreen.lcd.displayControl &= 0xB7FF; + DeleteThisEntity(); + } +} + +void sub_0805A94C(Manager15* this) { + int tmp1, tmp2; + gScreen.affine.bg3xOffset = gRoomControls.roomScrollX - this->unk_24 + this->unk_34; + gScreen.affine.bg3yOffset = gRoomControls.roomScrollY - this->unk_26 + this->unk_36; + tmp1 = -gScreen.affine.bg3xOffset; + tmp2 = tmp1 + 0x100; + if (tmp1 < 0) tmp1 = 0; + if (tmp1 > 0xF0) tmp1 = 0xF0; + if (tmp2 < 0) tmp2 = 0; + if (tmp2 > 0xF0) tmp2 = 0xF0; + gScreen.controls.window1HorizontalDimensions = (tmp1 << 8 | tmp2); + tmp1 = -gScreen.affine.bg3yOffset; + tmp2 = tmp1 + 0x100; + if (tmp1 < 0) tmp1 = 0; + if (tmp1 > 0xA0) tmp1 = 0xA0; + if (tmp2 < 0) tmp2 = 0; + if (tmp2 > 0xA0) tmp2 = 0xA0; + gScreen.controls.window1VerticalDimensions = (tmp1 << 8 | tmp2); +} + +extern u8 gUnk_02001A40[]; + +#ifdef NON_MATCHING +void sub_0805A9CC(Manager15* this) { + int tmp1, tmp2; + void* tmp3; + gScreen.affine.bg3xOffset = gRoomControls.roomScrollX - this->unk_24 + this->unk_34; + tmp1 = -gScreen.affine.bg3xOffset; + tmp2 = tmp1 + 0x100; + if (tmp1 < 0) tmp1 = 0; + if (tmp1 > 0xF0) tmp1 = 0xF0; + if (tmp2 < 0) tmp2 = 0; + if (tmp2 > 0xF0) tmp2 = 0xF0; + gScreen.controls.window1HorizontalDimensions = tmp1 << 8 | tmp2; + tmp1 = gRoomControls.roomScrollY - this->unk_26 + this->unk_36; + gScreen.affine.bg3yOffset = tmp1 & 0x3F; + if (tmp1 < 0) tmp1 += 0x3F; + tmp3 = (&gUnk_02001A40[(tmp1 >> 6 << 9)]); + gScreen.affine.unk5 = (u32) tmp3; + gScreen.controls.window1VerticalDimensions = 0xa0; + if (this->unk_28 == tmp3) return; + this->unk_28 = tmp3; + gScreen.affine.unk4 = 1; +} +#else +NAKED +void sub_0805A9CC(Manager15* this) { + asm(".include \"asm/non_matching/manager15/sub_0805A9CC.inc\""); +} +#endif + +extern struct { + u8 unk_00[0x20]; +} gUnk_085A97A0[]; +extern u16 gUnk_081085B8[]; +extern void LoadPalettes(const u8*, u32, u32); + +void sub_0805AA58(Manager15* this) { + if (--this->manager.unk_0e == 0) { + this->manager.unk_0e = 8; + this->unk_21 += 1; + this->unk_21 &= 3; + LoadPalettes(gUnk_085A97A0[this->unk_21].unk_00,5,1); + } + if (--this->manager.unk_0f == 0) { + this->manager.unk_0f = 0x10; + this->unk_22 += 1; + this->unk_22 &= 0xF; + gScreen.controls.alphaBlend = gUnk_081085B8[this->unk_22]; + } +} + +void sub_0805AAC8(Manager15* this) { + sub_0805AAF0(this->unk_23); + sub_0805A280(&this->manager); +} + + +extern u16 gUnk_08108648[]; + +void sub_0805AADC(u32 unk0) { + LoadGfxGroup(gUnk_08108648[unk0]); +} + +void sub_0805AAF0(u32 unk0) { + sub_0805AADC(unk0); + gScreen.controls.layerFXControl = 0x3E48; + gScreen.controls.alphaBlend = 0x1008; + gScreen.affine.bg3Control = 0x1E04; + gScreen.affine.unk5 = &gUnk_02001A40; + gScreen.affine.bg3xOffset = 0; + gScreen.affine.bg3yOffset = 0; + gScreen.affine.unk4 = 1; + gScreen.controls.windowInsideControl = 0x3F3F; + gScreen.controls.windowOutsideControl = 0x37; + gScreen.controls.window1HorizontalDimensions = 0xF0; + gScreen.controls.window1VerticalDimensions = 0xA0; +} diff --git a/src/manager/manager30.c b/src/manager/manager30.c new file mode 100644 index 00000000..5f5ead82 --- /dev/null +++ b/src/manager/manager30.c @@ -0,0 +1,98 @@ +#include "global.h" +#include "manager.h" +#include "flags.h" +#include "functions.h" + +typedef struct Manager30 { + Manager manager; + u8 unk_20[8];//unused + u16 own_tile; + u8 unk_2a[0x2];//unused + u16 player_previous_tile; + u16 player_current_tile; + u8 unk_30[0x6];//unused + u8 width; + u8 height; + s16 x; + s16 y; + u16 flag_succeeded; + u16 flag_reset; +} Manager30; + +extern void sub_0807B7D8(u32, u32, u32); + +enum { + INIT, + IN_PROGRESS, + FAILED, + SUCCEEDED +}; + +/* + * Tile puzzles (step on all blue tiles exactly once). + * + * The Manager's field 0xe is used for the remaining number of tiles to be changed. + * field 0xf is used for the total number of tiles to be changed. +*/ +void Manager30_Main(Manager30* this) { + u32 i, j, tmp, tmp2; + switch (this->manager.action) { + default: + break; + case INIT: + this->manager.action = IN_PROGRESS; + this->manager.unk_0f = this->manager.unk_0e; + this->own_tile = (((this->x >> 4) & 0x3fU) | + ((this->y >> 4) & 0x3fU) << 6); + this->player_previous_tile = this->player_current_tile = COORD_TO_TILE((&gPlayerEntity)); + break; + case 1: + this->player_current_tile = COORD_TO_TILE((&gPlayerEntity)); + if (this->player_current_tile != this->player_previous_tile) { + this->player_previous_tile = this->player_current_tile; + switch (GetTileType(this->player_current_tile, this->manager.unk_0b)) { + case 0x317: + //stepped on a red tile again + this->manager.action = FAILED; + PlaySFX(0x6d); + break; + case 0x318: + //stepped on a blue tile + //turn the tile into a red tile + sub_0807B7D8(0x317, this->player_current_tile, this->manager.unk_0b); + PlaySFX(0x6b); + //decrease the number of remaining tiles and check if we're done + if (--this->manager.unk_0e == 0) { + this->manager.action = SUCCEEDED; + //set up delay for setting the flag/playing the success sfx + this->manager.unk_0e = 0x40; + } + break; + } + } + //fall through, can be reset in-progress + case FAILED: + if (!this->flag_reset) return;//can't be reset + if (!CheckFlags(this->flag_reset)) return;//wait for the flag telling it to reset + ClearFlag(this->flag_reset);//make sure the puzzle can be reset again later + this->manager.action = IN_PROGRESS; + this->manager.unk_0e = this->manager.unk_0f; + for (i = 0; i < this->height; i++) { + tmp = this->own_tile + (i << 6); + for (j = 0; j < this->width; j++) { + sub_0807BA8C(tmp + j, this->manager.unk_0b); + } + } + break; + case SUCCEEDED: + if (this->manager.unk_0e == 0) return; + tmp2 = --this->manager.unk_0e; + if (tmp2) { + if (tmp2 == 0x20) { + SetFlag(this->flag_succeeded); + } + } else { + PlaySFX(0x72); + } + } +} diff --git a/src/npc/forestMinish.c b/src/npc/forestMinish.c index 5dc80dce..5b3e8f7d 100644 --- a/src/npc/forestMinish.c +++ b/src/npc/forestMinish.c @@ -12,13 +12,14 @@ extern void sub_0806F118(Entity*); extern void sub_0807DDAC(Entity*, u32); extern void sub_0807DDE4(Entity*); extern void sub_080600F0(Entity*); +extern s32 sub_0806EDD8(Entity*, u32, u32); +extern u32 sub_0806F5B0(u32); extern u32 sub_0801E99C(Entity*); extern void sub_08078784(Entity*, u32); extern void sub_0807000C(Entity*); extern void sub_08060158(Entity*); extern u32 CheckKinstoneFused(u32); extern Entity* FindEntityInListBySubtype(u32, u32, u32); -extern void sub_080A29BC(Entity* parent); extern void DeleteEntity(Entity*); extern u32 Random(void); extern void ModBombs(s32); @@ -114,40 +115,36 @@ void sub_0806014C(Entity* this) { sub_08060158(this); } -#if 0 -void sub_08060158(Entity *this) -{ - u8 bVar1; - u8 bVar2; - s32 iVar4; - u32 temp; - if (this->actionDelay != 0) { - this->actionDelay--; - } - else { - this->actionDelay = 2; - iVar4 = sub_0806EDD8(this, 0x20, 0x20); - if (iVar4 < 0) { - this->animationState = this->field_0x68.HALF.HI; - iVar4 = this->field_0x68.HALF.HI << 2; - } - temp = (this->animationState >> 1) * 0x20 + (iVar4 >> 1) * 2; - bVar1 = gUnk_08109C98[temp]; - bVar2 = gUnk_08109C98[temp + 1]; - if ((bVar2 & 0x80) != 0) { - this->animationState = sub_0806F5B0(iVar4); - } - this->frames.all = bVar1; - this->frameIndex = bVar2 & 0x7f; - this->frameSpriteSettings = 1; - this->animIndex = 0; - this->frameDuration = 0xf0; - } -} -#endif -NAKED void sub_08060158(Entity* this) { - asm(".include \"asm/non_matching/forestMinish/sub_08060158.inc\""); + int index; + u8* idx3; + u8 tmp1, tmp2; + + if (this->actionDelay) { + this->actionDelay--; + } else { + this->actionDelay = 2; + index = sub_0806EDD8(this, 0x20, 0x20); + if (index < 0) { + int state = this->field_0x68.HALF.HI; + this->animationState = state; + index = state * 4; + } + + idx3 = gUnk_08109C98 + (this->animationState / 2) * 0x20 + (index >> 1) * 2; + tmp1 = idx3[0]; + tmp2 = idx3[1]; + + if (tmp2 & 0x80) { + this->animationState = sub_0806F5B0(index); + } + tmp2 &= 0x7f; + this->frames.all = tmp1; + this->frameIndex = tmp2; + this->frameSpriteSettings = 1; + this->animIndex = 0; + this->frameDuration = 0xf0; + } } void sub_080601D4(Entity* this) { @@ -238,7 +235,7 @@ void sub_08060318(void) { for (i = 2; i >= 0; i--) { ent = FindEntityInListBySubtype(8, 2, 2); if (ent != NULL) { - sub_080A29BC(ent); + CreateDust(ent); DeleteEntity(ent); } } diff --git a/src/npc/smith.c b/src/npc/smith.c index 171ccad2..0060e521 100644 --- a/src/npc/smith.c +++ b/src/npc/smith.c @@ -29,18 +29,16 @@ extern Dialog gUnk_08110390[]; extern u16 gUnk_081103D0[]; extern u32 gUnk_081103E0; -#if NON_MATCHING // reg-alloc void Smith(Entity* this) { - u32 iVar2; - u32 iVar4; + u32 index; if ((this->flags & 2) != 0) { if (this->interactType == 2) { this->action = 4; this->interactType = 0; - iVar4 = (this->animIndex == 0xc) ? 8 : 0; - iVar2 = sub_0806F5A4(GetFacingDirection(this, &gPlayerEntity)); - InitAnimationForceUpdate(this, iVar2 + iVar4); + index = (this->animIndex == 0xc) ? 8 : 0; + index += sub_0806F5A4(GetFacingDirection(this, &gPlayerEntity)); + InitAnimationForceUpdate(this, index); sub_0806F118(this); } gUnk_0811036C[this->action](this); @@ -59,12 +57,6 @@ void Smith(Entity* this) { PlaySFX(gUnk_08110380[(Random() & 7)]); } } -#else -NAKED -void Smith(Entity* this) { - asm(".include \"asm/non_matching/smith/smith.inc\""); -} -#endif void Smith_Head(Entity* this) { u8 bVar1; diff --git a/src/npc/tingleSiblings.c b/src/npc/tingleSiblings.c index ab50c63c..b3d56ae8 100644 --- a/src/npc/tingleSiblings.c +++ b/src/npc/tingleSiblings.c @@ -12,8 +12,7 @@ extern void (*const gUnk_0810FBFC[])(Entity*); void TingleSiblings(Entity* this) { if ((this->flags & 2) != 0) { sub_08064DE4(this); - } - else { + } else { sub_08064D78(this); } } @@ -40,4 +39,43 @@ void sub_08064DCC(Entity* this) { sub_08064EE8(this); InitAnimationForceUpdate(this, 2); this->action = 1; -} \ No newline at end of file +} +/* +void sub_08064DE4(Entity* this) { + switch (this->action) { + case 0: + this->action = 1; + this->spriteSettings = this->spriteSettings & 0xfc | 1; + this->animationState = '\x04'; + sub_0807DD50(this); + break; + case 1: + if (this->interactType == 2) { + this->action = 2; + this->interactType = 0; + GetFacingDirection(this, &gPlayerEntity); + InitAnimationForceUpdate(this, sub_0806F5A4()); + sub_0806F118(this); + } else { + sub_0807DD94(this, 0); + } + break; + case 2: + if (UpdateFuseInteraction(this)) { + this->action = 1; + sub_0801E99C(this); + } + break; + } + { + u8 bVar1 = this->frames.all; + u8 bVar5 = bVar1 & 0xf; + this->frames.all = bVar5 ^ bVar1; + if (bVar1 & 0xf) { + Entity* fx = CreateFx(this, bVar5 == 3 ? 0x2a : 0x29, 0); + if (fx && bVar5 == 2) { + fx->spriteSettings.b.flipX = 1; + } + } + } +}*/ diff --git a/src/object/mineralWaterSource.c b/src/object/mineralWaterSource.c index c874530b..cc1f45d7 100644 --- a/src/object/mineralWaterSource.c +++ b/src/object/mineralWaterSource.c @@ -30,8 +30,8 @@ void MineralWaterSource_Init(Entity *this) { this->entityType.parameter = unknownParameters->field_0x00; this->field_0x40 = unknownParameters->field_0x03; - this->boundingBox->field_0x6 = unknownParameters->field_0x01; - this->boundingBox->field_0x7 = unknownParameters->field_0x02; + this->boundingBox->unknown[6] = unknownParameters->field_0x01; + this->boundingBox->unknown[7] = unknownParameters->field_0x02; this->flags |= 0x80; diff --git a/src/object/object49.c b/src/object/object49.c index e3fa37dd..0617aad2 100644 --- a/src/object/object49.c +++ b/src/object/object49.c @@ -243,10 +243,10 @@ void sub_0808F498(Entity* this) { this->action = 1; this->actionDelay = 64; var0 = this->entityType.parameter != 0 ? 44 : 43; - this->x.HALF.HI -= this->parent->boundingBox->field_0x6; - this->x.HALF.HI += (s32)Random() % (this->parent->boundingBox->field_0x6 * 2); - this->y.HALF.HI -= this->parent->boundingBox->field_0x7; - this->y.HALF.HI += (s32)Random() % (this->parent->boundingBox->field_0x7 * 2); + this->x.HALF.HI -= this->parent->boundingBox->unknown[6]; + this->x.HALF.HI += (s32)Random() % (this->parent->boundingBox->unknown[6] * 2); + this->y.HALF.HI -= this->parent->boundingBox->unknown[7]; + this->y.HALF.HI += (s32)Random() % (this->parent->boundingBox->unknown[7] * 2); sub_0801D2B4(this, var0); InitializeAnimation(this, 4); } diff --git a/src/object/objectA.c b/src/object/objectA.c index c68d503b..72c4e61a 100644 --- a/src/object/objectA.c +++ b/src/object/objectA.c @@ -32,7 +32,7 @@ void ObjectA(Entity *this) { } else if (this->interactType != 0) { SetTileType(*(u16*)&this->field_0x70.HALF.LO, COORD_TO_TILE(this), this->collisionLayer); SetFlag(this->field_0x86); - sub_080A29BC(this); + CreateDust(this); sub_080526F8(-1); DeleteThisEntity(); } diff --git a/src/object/objectB2.c b/src/object/objectB2.c index 3c7e7fe2..eb584161 100644 --- a/src/object/objectB2.c +++ b/src/object/objectB2.c @@ -7,38 +7,32 @@ extern u32 sub_080AE4CC(Entity*, u32, u32, u32); extern void* gUnk_02027EB4; extern void* gUnk_0200D654; -#if 0 +void ObjectB2(Entity* this) { + void* pEVar3; -void ObjectB2(Entity *this) -{ - void* pEVar3; - - if (this->action == 0) { - this->action = 1; - this->actionDelay = 0x10; - this->direction = (this->entityType).form << 3; - if (this->collisionLayer == 2) { - pEVar3 = &gUnk_0200D654; + if (this->action == 0) { + this->action = 1; + this->actionDelay = 0x10; + this->direction = (this->entityType).form << 3; + if (this->collisionLayer == 2) { + pEVar3 = &gUnk_0200D654; + } else { + pEVar3 = &gUnk_02027EB4; + } + this->attachedEntity = pEVar3; + InitializeAnimation(this, this->entityType.form); } - else { - pEVar3 = &gUnk_02027EB4; + this->nonPlanarMovement = this->parent->nonPlanarMovement; + sub_0806F69C(this); + if (sub_080AE4CC(this->attachedEntity, this->x.HALF.HI, this->y.HALF.HI, 9) != 0) { + DeleteThisEntity(); } - this->attachedEntity = pEVar3; - InitializeAnimation(this, this->entityType.form); - } - this->nonPlanarMovement = this->parent->nonPlanarMovement; - sub_0806F69C(this); - if (sub_080AE4CC(this->attachedEntity, this->x.HALF.HI, this->y.HALF.HI, 9) != 0) { - DeleteThisEntity(); - } - if (this->nonPlanarMovement < 0x41) { - this->spriteSettings.b.draw ^= 1; + if (this->nonPlanarMovement < 0x41) { + this->spriteSettings.b.draw ^= 1; - if (--this->actionDelay == 0) { - DeleteThisEntity(); + if (--this->actionDelay == 0) { + DeleteThisEntity(); + } } - } - GetNextFrame(this); -} - -#endif \ No newline at end of file + GetNextFrame(this); +} \ No newline at end of file diff --git a/src/object/railtrack.c b/src/object/railtrack.c index 05b8a2aa..3cf693d2 100644 --- a/src/object/railtrack.c +++ b/src/object/railtrack.c @@ -101,55 +101,47 @@ void sub_08085308(Entity* this) { } } -#if 0 -void sub_08085394(Entity *this) -{ +void sub_08085394(Entity* this) { u32 uVar1; - u16 *layerData; - u32 iVar3; - u32 uVar4; - u8 *pbVar5; + u16* layerData; + u32 tile; + s8 off; uVar1 = gUnk_081205E0[this->animationState / 2]; - iVar3 = this->animationState / 2; - layerData = *(u16 **)&this->field_0x70; - uVar4 = COORD_TO_TILE(this); - this->field_0x74.HWORD = layerData[gUnk_080B4488[iVar3]]; - pbVar5 = &this->collisionLayer; - SetTile(uVar1, uVar4 - iVar3, *pbVar5); - this->field_0x76 = layerData[0]; - SetTile(uVar1,uVar4, *pbVar5); - *(u16 *)&this->field_0x78 = layerData[iVar3]; - SetTile(uVar1,uVar4 + iVar3, *pbVar5); -} -#endif + off = gUnk_080B4488[this->animationState / 2][0]; + layerData = (u16*)this->field_0x70.WORD; + tile = COORD_TO_TILE(this); -NAKED -void sub_08085394(Entity* this) { - asm(".include \"asm/non_matching/railtrack/sub_08085394.inc\""); + this->field_0x74.HWORD = *(layerData - off); + SetTile(uVar1, tile - off, this->collisionLayer); + + this->field_0x76.HWORD = layerData[0x0]; + SetTile(uVar1, tile - 0x0, this->collisionLayer); + + this->field_0x78.HWORD = layerData[off]; + SetTile(uVar1, tile + off, this->collisionLayer); } -void sub_0808543C(Entity *this) -{ - s8 *cVar1; - u32 uVar2; - s8 temp; +void sub_0808543C(Entity* this) { + s8* cVar1; + u32 uVar2; + s8 temp; - temp = gUnk_080B4488[this->animationState / 2][0]; - uVar2 = COORD_TO_TILE(this); - SetTile(this->field_0x74.HWORD, uVar2 - temp, this->collisionLayer); - SetTile(this->field_0x76.HWORD, uVar2, this->collisionLayer); - SetTile(this->field_0x78.HWORD, uVar2 + temp, this->collisionLayer); + temp = gUnk_080B4488[this->animationState / 2][0]; + uVar2 = COORD_TO_TILE(this); + SetTile(this->field_0x74.HWORD, uVar2 - temp, this->collisionLayer); + SetTile(this->field_0x76.HWORD, uVar2, this->collisionLayer); + SetTile(this->field_0x78.HWORD, uVar2 + temp, this->collisionLayer); } -u32 sub_080854A8(Entity *this) { +u32 sub_080854A8(Entity* this) { u16 var0; u16* var1; s8* var2; var0 = gUnk_081205E0[this->animationState / 2]; var2 = gUnk_080B4488[this->animationState / 2]; - var1 = (u16 *)this->field_0x70.WORD; + var1 = (u16*)this->field_0x70.WORD; if (var0 != *(var1 - var2[0])) { return TRUE; } diff --git a/src/object/treeHidingPortal.c b/src/object/treeHidingPortal.c index 52fa5a25..ab7888c5 100644 --- a/src/object/treeHidingPortal.c +++ b/src/object/treeHidingPortal.c @@ -6,7 +6,7 @@ extern void sub_0809E96C(Entity*); extern u32 sub_0800419C(Entity*, Entity*, u32, u32); -extern void sub_080A2B80(Entity*); +extern void CreateSparkle(Entity*); extern u32 sub_0809E9A0(void); extern void sub_08078A90(u32); extern void sub_0809E918(Entity*); @@ -37,7 +37,7 @@ void sub_0809E86C(Entity* this) { if (sub_0800419C(this, &gPlayerEntity, 0x30, 0x30)) { if (CheckGlobalFlag(EZERO_1ST)) { if (((gScreenTransition & 3) == 0)) { - sub_080A2B80(this); + CreateSparkle(this); } } }