diff --git a/Makefile b/Makefile index 0e94e246..f767b068 100644 --- a/Makefile +++ b/Makefile @@ -14,13 +14,14 @@ ASFLAGS := -mcpu=arm7tdmi -mthumb-interwork -I include #### Files #### -ROM := fireemblem8.gba -ELF := $(ROM:.gba=.elf) -MAP := $(ROM:.gba=.map) -LDSCRIPT := ldscript.txt -CFILES := $(wildcard src/*.c) -SFILES := $(wildcard asm/*.s) $(wildcard asm/libc/*.s) $(wildcard data/*.s) -OFILES := $(SFILES:.s=.o) $(CFILES:.c=.o) +ROM := fireemblem8.gba +ELF := $(ROM:.gba=.elf) +MAP := $(ROM:.gba=.map) +LDSCRIPT := ldscript.txt +SYM_FILES := sym_iwram.txt sym_ewram.txt +CFILES := $(wildcard src/*.c) +SFILES := $(wildcard asm/*.s) $(wildcard asm/libc/*.s) $(wildcard data/*.s) +OFILES := $(SFILES:.s=.o) $(CFILES:.c=.o) #### Main Targets #### @@ -34,7 +35,7 @@ clean: #### Recipes #### -$(ELF): $(OFILES) $(LDSCRIPT) +$(ELF): $(OFILES) $(LDSCRIPT) $(SYM_FILES) $(LD) -T $(LDSCRIPT) -Map $(MAP) $(OFILES) tools/agbcc/lib/libgcc.a tools/agbcc/lib/libc.a -o $@ %.gba: %.elf diff --git a/asm/IO.s b/asm/IO.s index df2a34ac..4498a204 100644 --- a/asm/IO.s +++ b/asm/IO.s @@ -308,7 +308,7 @@ NewKeyStatusSetter: @ 0x08001470 adds r4, r0, #0 ldr r0, _08001488 @ gUnknown_08587920 movs r1, #1 - bl New6C + bl Proc_Create adds r0, #0x64 strh r4, [r0] pop {r4} diff --git a/asm/code.s b/asm/code.s index cff77e11..5996c80d 100644 --- a/asm/code.s +++ b/asm/code.s @@ -2647,7 +2647,7 @@ _080048F0: movs r0, #0 strb r0, [r1, #7] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0800491E _080048FE: adds r0, r1, #1 @@ -2688,7 +2688,7 @@ _08004936: _0800493C: ldr r0, _08004968 @ gUnknown_08588274 movs r1, #3 - bl New6C + bl Proc_Create adds r2, r0, #0 str r5, [r2, #0x2c] str r6, [r2, #0x30] @@ -2720,7 +2720,7 @@ sub_800496C: @ 0x0800496C sub_8004974: @ 0x08004974 push {lr} ldr r0, _08004980 @ gUnknown_08588274 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -2753,14 +2753,14 @@ NewGreenTextColorManager: @ 0x080049AC cmp r1, #0 beq _080049C0 ldr r0, _080049BC @ gUnknown_08588284 - bl New6C + bl Proc_Create b _080049C8 .align 2, 0 _080049BC: .4byte gUnknown_08588284 _080049C0: ldr r0, _080049CC @ gUnknown_08588284 movs r1, #3 - bl New6C + bl Proc_Create _080049C8: pop {r0} bx r0 @@ -2771,7 +2771,7 @@ _080049CC: .4byte gUnknown_08588284 EndGreenTextColorManager: @ 0x080049D0 push {lr} ldr r0, _080049DC @ gUnknown_08588284 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -4268,7 +4268,7 @@ _080054C8: ldr r0, _080054F0 @ gUnknown_08590FDC movs r1, #3 _080054CC: - bl New6C + bl Proc_Create adds r1, r0, #0 str r5, [r1, #0x2c] str r6, [r1, #0x30] @@ -4296,7 +4296,7 @@ sub_80054F4: @ 0x080054F4 cmp r0, #0 bne _08005504 ldr r0, _08005510 @ gUnknown_08590FDC - bl Find6C + bl Proc_Find _08005504: str r4, [r0, #0x2c] str r5, [r0, #0x30] @@ -4497,7 +4497,7 @@ _08005660: .4byte gUnknown_03004980 _08005664: ldr r0, _080056A4 @ gUnknown_08591154 movs r1, #5 - bl New6C + bl Proc_Create adds r4, r0, #0 str r4, [r5] mov r0, r8 @@ -4567,11 +4567,11 @@ _080056F8: .4byte gUnknown_0202A68C _080056FC: ldr r0, _08005730 @ gUnknown_0859124C adds r1, r4, #0 - bl New6C + bl Proc_Create str r0, [r4, #0x44] ldr r0, _08005734 @ gUnknown_08591264 adds r1, r4, #0 - bl New6C + bl Proc_Create str r0, [r4, #0x48] _08005710: ldr r1, [sp, #0x24] @@ -4605,7 +4605,7 @@ DeleteE_FACEByPointer: @ 0x08005738 adds r1, r1, r2 movs r2, #0 str r2, [r1] - bl Delete6C + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -5122,7 +5122,7 @@ sub_8005B04: @ 0x08005B04 bl sub_80059CC ldr r0, _08005B4C @ gUnknown_085911D8 adds r1, r7, #0 - bl New6C + bl Proc_Create adds r1, r0, #0 mov r0, r8 strh r0, [r1, #0x34] @@ -5157,7 +5157,7 @@ _08005B64: .4byte gUnknown_085911E8 sub_8005B68: @ 0x08005B68 push {lr} ldr r0, _08005B74 @ gUnknown_085911D8 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -5416,7 +5416,7 @@ sub_8005D70: @ 0x08005D70 movs r0, #0 strh r0, [r4, #0x34] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08005D90: pop {r4} pop {r0} @@ -5487,7 +5487,7 @@ _08005E04: bl GetBackgroundFromBufferPointer bl BG_EnableSync adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08005E90 .align 2, 0 _08005E34: .4byte 0x000003FF @@ -5549,7 +5549,7 @@ sub_8005E98: @ 0x08005E98 adds r5, r3, #0 ldr r6, [sp, #0x14] ldr r0, _08005EC8 @ gUnknown_08591204 - bl DeleteEach6C + bl Proc_DeleteAllWithScript adds r0, r4, #0 mov r1, r8 adds r2, r5, #0 @@ -5579,7 +5579,7 @@ sub_8005ED8: @ 0x08005ED8 adds r4, r0, #0 ldr r0, _08005EEC @ gUnknown_08591234 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x54] pop {r4} pop {r0} @@ -6040,7 +6040,7 @@ sub_800623C: @ 0x0800623C strh r1, [r5, #0x34] adds r0, r5, #0 movs r1, #0x61 - bl Goto6CLabel + bl Proc_GotoLabel _08006274: pop {r4, r5} pop {r0} @@ -6061,7 +6061,7 @@ sub_8006280: @ 0x08006280 beq _0800629C adds r1, r5, #0 adds r0, r4, #0 - bl Goto6CLabel + bl Proc_GotoLabel b _080062B2 _0800629C: cmp r0, #0 @@ -6072,7 +6072,7 @@ _0800629C: strh r5, [r4, #0x34] adds r0, r4, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _080062B2: pop {r4, r5} pop {r0} @@ -6115,7 +6115,7 @@ _08006304: _08006308: adds r0, r4, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel _08006310: adds r0, r4, #0 adds r1, r5, #0 @@ -6154,7 +6154,7 @@ _08006340: bne _08006358 adds r0, r4, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _08006358: movs r1, #0x32 ldrsh r0, [r4, r1] @@ -6162,7 +6162,7 @@ _08006358: bne _08006368 adds r0, r4, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel _08006368: pop {r4} pop {r0} @@ -6195,7 +6195,7 @@ _0800638C: bne _080063A4 adds r0, r4, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _080063A4: movs r1, #0x32 ldrsh r0, [r4, r1] @@ -6203,7 +6203,7 @@ _080063A4: bne _080063B4 adds r0, r4, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel _080063B4: pop {r4} pop {r0} @@ -6252,7 +6252,7 @@ _08006410: _08006414: adds r0, r4, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #0 strh r0, [r4, #0x32] _08006420: @@ -6394,7 +6394,7 @@ _08006518: .4byte gUnknown_03004980 _0800651C: ldr r0, _0800655C @ gUnknown_0859118C movs r1, #5 - bl New6C + bl Proc_Create adds r5, r0, #0 str r5, [r4] mov r0, sb @@ -6606,7 +6606,7 @@ sub_80066A8: @ 0x080066A8 ldr r0, [r4, #0x2c] ldr r0, [r0, #0x48] movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, [r4, #0x2c] ldr r0, [r0, #0x48] bl sub_8097D68 @@ -6628,7 +6628,7 @@ sub_80066E0: @ 0x080066E0 adds r5, r1, #0 ldr r0, _080066F8 @ gUnknown_08591304 adds r1, r4, #0 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] str r5, [r0, #0x34] pop {r4, r5} @@ -7022,7 +7022,7 @@ sub_800698C: @ 0x0800698C bne _08006A1C ldr r0, _08006A18 @ gUnknown_08591358 movs r1, #3 - bl New6C + bl Proc_Create b _08006A24 .align 2, 0 _08006A14: .4byte gUnknown_0859133C @@ -7030,7 +7030,7 @@ _08006A18: .4byte gUnknown_08591358 _08006A1C: ldr r0, _08006A2C @ gUnknown_08591358 adds r1, r7, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild _08006A24: pop {r4, r5, r6, r7} pop {r1} @@ -7083,7 +7083,7 @@ sub_8006A70: @ 0x08006A70 sub_8006A7C: @ 0x08006A7C push {lr} ldr r0, _08006A88 @ gUnknown_08591358 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -7210,11 +7210,11 @@ sub_8006B4C: @ 0x08006B4C push {r4, lr} adds r4, r0, #0 ldr r0, _08006BAC @ gUnknown_08591470 - bl Find6C + bl Proc_Find cmp r0, #0 bne _08006BEE ldr r0, _08006BB0 @ gUnknown_085914C8 - bl Find6C + bl Proc_Find cmp r0, #0 bne _08006BEE movs r0, #4 @@ -7234,7 +7234,7 @@ sub_8006B4C: @ 0x08006B4C ldrb r0, [r0, #0x11] bl sub_80089C4 adds r0, r4, #0 - bl Delete6C + bl Proc_Delete bl sub_8006A7C ldr r0, _08006BBC @ gUnknown_02022CA8 movs r1, #0 @@ -7254,7 +7254,7 @@ _08006BBC: .4byte gUnknown_02022CA8 _08006BC0: .4byte gUnknown_020234A8 _08006BC4: ldr r0, _08006BF4 @ gUnknown_085913F0 - bl Find6C + bl Proc_Find cmp r0, #0 bne _08006BEE movs r0, #8 @@ -7300,7 +7300,7 @@ sub_8006C00: @ 0x08006C00 _08006C24: ldr r0, _08006C30 @ gUnknown_08591340 movs r1, #3 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -7368,7 +7368,7 @@ _08006C9C: b _08006CD0 _08006CA6: adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08006D94 _08006CAE: ldr r1, [r7] @@ -7548,7 +7548,7 @@ _08006E0C: strb r0, [r5, #0x12] ldr r0, _08006E2C @ gUnknown_085914C8 adds r1, r7, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild movs r0, #1 b _08006E7C .align 2, 0 @@ -7612,7 +7612,7 @@ sub_8006E8C: @ 0x08006E8C movs r0, #0 strb r0, [r2, #0x12] ldr r0, _08006EB0 @ gUnknown_085914F0 - bl NewBlocking6C + bl Proc_CreateBlockingChild movs r0, #1 b _08006EC0 .align 2, 0 @@ -7635,7 +7635,7 @@ sub_8006EC4: @ 0x08006EC4 push {lr} adds r1, r0, #0 ldr r0, _08006ED4 @ gUnknown_08591388 - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r0} bx r0 .align 2, 0 @@ -7645,7 +7645,7 @@ _08006ED4: .4byte gUnknown_08591388 sub_8006ED8: @ 0x08006ED8 push {lr} ldr r0, _08006EEC @ gUnknown_08591388 - bl Find6C + bl Proc_Find cmp r0, #0 beq _08006EE6 movs r0, #1 @@ -7659,7 +7659,7 @@ _08006EEC: .4byte gUnknown_08591388 sub_8006EF0: @ 0x08006EF0 push {lr} ldr r0, _08006EFC @ gUnknown_08591388 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -7984,7 +7984,7 @@ _0800726C: ble _08007360 ldr r0, _08007294 @ gUnknown_085913D0 mov r1, r8 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r4, r0, #0 movs r0, #4 bl sub_8008198 @@ -8050,7 +8050,7 @@ _080072EC: bne _08007304 ldr r0, _08007300 @ gUnknown_08591470 mov r1, r8 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _08007308 .align 2, 0 _08007300: .4byte gUnknown_08591470 @@ -8105,7 +8105,7 @@ _08007360: _08007364: ldr r0, _08007380 @ gUnknown_085913D0 mov r1, r8 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r4, r0, #0 ldr r0, [r7] ldr r0, [r0] @@ -8959,7 +8959,7 @@ _08007A38: .4byte gUnknown_0859133C sub_8007A3C: @ 0x08007A3C push {lr} ldr r0, _08007A4C @ gUnknown_085913B0 - bl Find6C + bl Proc_Find cmp r0, #0 bne _08007A50 movs r0, #0 @@ -8991,7 +8991,7 @@ sub_8007A58: @ 0x08007A58 lsls r4, r5, #2 adds r4, r4, r1 ldr r1, [r4] - bl New6C + bl Proc_Create adds r3, r0, #0 adds r0, #0x64 strh r5, [r0] @@ -9162,7 +9162,7 @@ _08007BA2: subs r0, #1 strh r0, [r1, #0x36] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08007C00 .align 2, 0 _08007BC4: .4byte gUnknown_03004980 @@ -9205,9 +9205,9 @@ _08007C08: .4byte gUnknown_03004980 sub_8007C0C: @ 0x08007C0C push {lr} ldr r0, _08007C20 @ gUnknown_08591340 - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r0, _08007C24 @ gUnknown_08591470 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -9226,7 +9226,7 @@ _Loop6CBlockingTimer: @ 0x08007C28 cmp r0, #0 bne _08007C42 adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08007C46 _08007C42: subs r0, r3, #1 @@ -9292,7 +9292,7 @@ _08007CAC: cmp r0, #0 beq _08007CC0 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08007CC0: add sp, #4 pop {r4, r5} @@ -9315,7 +9315,7 @@ sub_8007CD8: @ 0x08007CD8 adds r5, r2, #0 ldr r0, _08007D00 @ gUnknown_085913F0 adds r1, r3, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r2, r0, #0 adds r0, #0x64 movs r1, #0 @@ -9341,7 +9341,7 @@ sub_8007D04: @ 0x08007D04 mov r8, r3 ldr r0, _08007D34 @ gUnknown_085913F0 adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r1, r0, #0 adds r0, #0x64 strh r5, [r0] @@ -9442,7 +9442,7 @@ sub_8007DA4: @ 0x08007DA4 bl BG_SetPosition bl sub_80081EC adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08007DE0: pop {r4, r5} pop {r0} @@ -9486,7 +9486,7 @@ sub_8007DE8: @ 0x08007DE8 bl sub_8008F20 ldr r0, _08007E90 @ gUnknown_085914B0 ldr r1, [sp, #0x20] - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r2, r0, #0 mov r1, sb strh r1, [r2, #0x2a] @@ -9579,7 +9579,7 @@ _08007EF0: _08007EF6: str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08007F8C .align 2, 0 _08007F00: .4byte gUnknown_0202BCF0 @@ -9794,7 +9794,7 @@ _0800805A: movs r0, #1 bl sub_8008F20 adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080080BC: pop {r4, r5, r6, r7} pop {r0} @@ -10204,7 +10204,7 @@ sub_80083E0: @ 0x080083E0 push {lr} ldr r0, _080083F4 @ gUnknown_08591530 movs r1, #3 - bl New6C + bl Proc_Create adds r0, #0x64 movs r1, #0 strh r1, [r0] @@ -10257,7 +10257,7 @@ sub_80083F8: @ 0x080083F8 cmp r0, #0 bne _08008454 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08008454: add sp, #0x1c pop {r4, r5, r6} @@ -10751,7 +10751,7 @@ sub_800880C: @ 0x0800880C ldrsh r3, [r3, r5] bl sub_80082A4 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4, r5} pop {r0} bx r0 @@ -10800,7 +10800,7 @@ _08008892: cmp r0, #0xc bne _0800889E adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0800889E: add sp, #4 pop {r4, r5} @@ -10812,7 +10812,7 @@ sub_80088A8: @ 0x080088A8 push {r4, r5, lr} adds r5, r0, #0 ldr r0, _08008904 @ gUnknown_08591540 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r4, r0, #0 adds r0, r5, #0 bl sub_8008934 @@ -10974,7 +10974,7 @@ sub_80089C4: @ 0x080089C4 sub_80089D0: @ 0x080089D0 push {lr} ldr r0, _080089E4 @ gUnknown_08591358 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080089DE movs r0, #1 @@ -10988,7 +10988,7 @@ _080089E4: .4byte gUnknown_08591358 Face6CExists: @ 0x080089E8 push {lr} ldr r0, _080089FC @ gUnknown_08591154 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080089F6 movs r0, #1 @@ -11549,7 +11549,7 @@ _08008F34: sub_8008F3C: @ 0x08008F3C push {lr} ldr r0, _08008F50 @ gUnknown_08591624 - bl Find6C + bl Proc_Find adds r1, r0, #0 cmp r1, #0 beq _08008F4C @@ -11564,7 +11564,7 @@ _08008F50: .4byte gUnknown_08591624 sub_8008F54: @ 0x08008F54 push {lr} ldr r0, _08008F60 @ gUnknown_08591624 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -11581,7 +11581,7 @@ sub_8008F64: @ 0x08008F64 mov r8, r3 ldr r0, _08008F9C @ gUnknown_08591624 movs r1, #0 - bl New6C + bl Proc_Create ldr r1, _08008FA0 @ 0x000003FF ands r1, r4 lsls r1, r1, #5 @@ -11592,7 +11592,7 @@ sub_8008F64: @ 0x08008F64 str r6, [r0, #0x58] ldr r0, _08008FA8 @ gUnknown_0859160C mov r1, r8 - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r3} mov r8, r3 pop {r4, r5, r6} @@ -11678,7 +11678,7 @@ _08009010: cmp r0, #0xf ble _08009030 adds r0, r3, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08009030: pop {r4, r5, r6, r7} pop {r0} @@ -11780,7 +11780,7 @@ _080090BE: movs r0, #0 str r0, [r4, #0x3c] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080090F8 .align 2, 0 _080090E8: .4byte 0xFFFFFF00 @@ -11840,7 +11840,7 @@ _0800913C: cmp r0, r7 bne _08009154 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08009154: pop {r4, r5, r6, r7} pop {r0} @@ -11858,7 +11858,7 @@ sub_800915C: @ 0x0800915C ldr r7, [sp, #0x18] ldr r1, [sp, #0x24] ldr r0, _08009194 @ gUnknown_0859163C - bl NewBlocking6C + bl Proc_CreateBlockingChild str r4, [r0, #0x2c] mov r1, r8 str r1, [r0, #0x30] @@ -11963,7 +11963,7 @@ _08009238: .4byte gUnknown_0202BCB0 _0800923C: .4byte 0x000001FF _08009240: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback str r5, [r4, #0x34] _08009248: pop {r4, r5, r6} @@ -12644,7 +12644,7 @@ TCSWrapper_New: @ 0x08009718 strh r6, [r4, #0x22] ldr r0, _0800975C @ gUnknown_0859168C movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x50] mov r1, r8 str r1, [r0, #0x54] @@ -12678,7 +12678,7 @@ TCSWrapper_OnUpdate: @ 0x08009760 bne _08009786 _08009780: adds r0, r4, #0 - bl Delete6C + bl Proc_Delete _08009786: pop {r4} pop {r0} @@ -12712,7 +12712,7 @@ _080097AC: THUMB_FUNC_START TCSWrapper_Delete TCSWrapper_Delete: @ 0x080097B4 push {lr} - bl Delete6C + bl Proc_Delete pop {r0} bx r0 @@ -12720,7 +12720,7 @@ TCSWrapper_Delete: @ 0x080097B4 DeleteAllTCSWrappers: @ 0x080097C0 push {lr} ldr r0, _080097CC @ gUnknown_0859168C - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -12730,7 +12730,7 @@ _080097CC: .4byte gUnknown_0859168C DoesTCSWrapperExist: @ 0x080097D0 push {lr} ldr r0, _080097E4 @ gUnknown_0859168C - bl Find6C + bl Proc_Find cmp r0, #0 beq _080097DE movs r0, #1 @@ -12993,7 +12993,7 @@ Goto6CLabel12IfSomething: @ 0x08009A00 bne _08009A1A adds r0, r2, #0 movs r1, #0x12 - bl Goto6CLabel + bl Proc_GotoLabel _08009A1A: pop {r0} bx r0 @@ -13034,7 +13034,7 @@ sub_8009A58: @ 0x08009A58 THUMB_FUNC_START Null6CCallback Null6CCallback: @ 0x08009A60 push {lr} - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r0} bx r0 @@ -13047,7 +13047,7 @@ Delete6CIfNotMarkedB: @ 0x08009A6C cmp r0, #0xb beq _08009A7E adds r0, r1, #0 - bl Delete6C + bl Proc_Delete _08009A7E: pop {r0} bx r0 @@ -13064,7 +13064,7 @@ sub_8009A84: @ 0x08009A84 bl CpuFastSet bl EnablePaletteSync ldr r0, _08009AB4 @ Delete6CIfNotMarkedB - bl ForAll6C + bl Proc_ForEach ldr r0, _08009AB8 @ SomeUpdateRoutine bl SetMainUpdateRoutine add sp, #4 @@ -13124,12 +13124,12 @@ _08009B02: _08009B0C: adds r0, r4, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel b _08009B5C _08009B16: adds r0, r4, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel adds r0, r4, #0 bl sub_8009AD8 b _08009B5C @@ -13147,12 +13147,12 @@ _08009B26: _08009B3A: adds r0, r4, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel b _08009B4C _08009B44: adds r0, r4, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _08009B4C: ldrb r0, [r5] adds r0, #1 @@ -13161,7 +13161,7 @@ _08009B4C: _08009B54: adds r0, r4, #0 movs r1, #0x18 - bl Goto6CLabel + bl Proc_GotoLabel _08009B5C: pop {r4, r5} pop {r0} @@ -13180,11 +13180,11 @@ sub_8009B64: @ 0x08009B64 b _08009B84 _08009B76: movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel b _08009B84 _08009B7E: movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _08009B84: pop {r0} bx r0 @@ -13223,32 +13223,32 @@ _08009BD8: _08009BDC: adds r0, r4, #0 movs r1, #7 - bl Goto6CLabel + bl Proc_GotoLabel b _08009C16 _08009BE6: adds r0, r4, #0 movs r1, #8 - bl Goto6CLabel + bl Proc_GotoLabel b _08009C16 _08009BF0: adds r0, r4, #0 movs r1, #0x19 - bl Goto6CLabel + bl Proc_GotoLabel b _08009C16 _08009BFA: adds r0, r4, #0 movs r1, #0xc - bl Goto6CLabel + bl Proc_GotoLabel b _08009C16 _08009C04: adds r0, r4, #0 movs r1, #0xe - bl Goto6CLabel + bl Proc_GotoLabel b _08009C16 _08009C0E: adds r0, r4, #0 movs r1, #0xf - bl Goto6CLabel + bl Proc_GotoLabel _08009C16: pop {r4} pop {r0} @@ -13264,7 +13264,7 @@ sub_8009C1C: @ 0x08009C1C bne _08009C30 adds r0, r1, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel _08009C30: pop {r0} bx r0 @@ -13273,7 +13273,7 @@ _08009C30: sub_8009C34: @ 0x08009C34 push {lr} movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel pop {r0} bx r0 @@ -13288,7 +13288,7 @@ sub_8009C40: @ 0x08009C40 cmp r1, #1 bne _08009C56 movs r1, #0x13 - bl Goto6CLabel + bl Proc_GotoLabel _08009C56: pop {r0} bx r0 @@ -13303,7 +13303,7 @@ sub_8009C5C: @ 0x08009C5C bne _08009C72 adds r0, r5, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel b _08009C98 _08009C72: movs r0, #0 @@ -13381,12 +13381,12 @@ _08009CFC: _08009D02: adds r0, r4, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel b _08009D14 _08009D0C: adds r0, r4, #0 movs r1, #0x10 - bl Goto6CLabel + bl Proc_GotoLabel _08009D14: pop {r4} pop {r0} @@ -13408,7 +13408,7 @@ sub_8009D1C: @ 0x08009D1C _08009D32: adds r0, r2, #0 movs r1, #6 - bl Goto6CLabel + bl Proc_GotoLabel _08009D3A: pop {r0} bx r0 @@ -13431,7 +13431,7 @@ sub_8009D44: @ 0x08009D44 beq _08009D64 adds r0, r2, #0 movs r1, #0x11 - bl Goto6CLabel + bl Proc_GotoLabel _08009D64: pop {r0} bx r0 @@ -13450,14 +13450,14 @@ sub_8009D6C: @ 0x08009D6C beq _08009D8C adds r0, r2, #0 movs r1, #0xa - bl Goto6CLabel + bl Proc_GotoLabel b _08009D94 .align 2, 0 _08009D88: .4byte gUnknown_0202BCF0 _08009D8C: adds r0, r2, #0 movs r1, #9 - bl Goto6CLabel + bl Proc_GotoLabel _08009D94: pop {r0} bx r0 @@ -13659,7 +13659,7 @@ NewGameControl: @ 0x08009F08 bl SetInterrupt_LCDVBlank ldr r0, _08009F3C @ gUnknown_085916D4 movs r1, #3 - bl New6C + bl Proc_Create adds r2, r0, #0 adds r2, #0x29 movs r1, #0 @@ -13679,7 +13679,7 @@ _08009F3C: .4byte gUnknown_085916D4 GetGameControl6C: @ 0x08009F40 push {lr} ldr r0, _08009F4C @ gUnknown_085916D4 - bl Find6C + bl Proc_Find pop {r1} bx r1 .align 2, 0 @@ -13724,12 +13724,12 @@ RestartGameAndGoto8: @ 0x08009F8C push {r4, lr} ldr r4, _08009FAC @ gUnknown_085916D4 adds r0, r4, #0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript adds r0, r4, #0 movs r1, #3 - bl New6C + bl Proc_Create movs r1, #8 - bl Goto6CLabel + bl Proc_GotoLabel pop {r4} pop {r0} bx r0 @@ -13741,12 +13741,12 @@ RestartGameAndGoto12: @ 0x08009FB0 push {r4, lr} ldr r4, _08009FD0 @ gUnknown_085916D4 adds r0, r4, #0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript adds r0, r4, #0 movs r1, #3 - bl New6C + bl Proc_Create movs r1, #0x12 - bl Goto6CLabel + bl Proc_GotoLabel pop {r4} pop {r0} bx r0 @@ -17303,7 +17303,7 @@ _0800BB92: sub_800BB98: @ 0x0800BB98 push {lr} ldr r0, _0800BBB0 @ gUnknown_0859E520 - bl Find6C + bl Proc_Find rsbs r1, r0, #0 orrs r1, r0 cmp r1, #0 @@ -18123,7 +18123,7 @@ Event91_WM_DRAWPATH_Silent: @ 0x0800C164 adds r1, #0xa4 bl SetupNewWMRoute ldr r0, _0800C194 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x44] ldr r1, [r0, #0x4c] adds r1, #0x31 @@ -18148,7 +18148,7 @@ Event92_REMOVEPATH: @ 0x0800C198 adds r1, #0xa4 bl WM_RemovePath ldr r0, _0800C1C8 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x44] ldr r1, [r0, #0x4c] adds r1, #0x31 @@ -18341,12 +18341,12 @@ Event97_: @ 0x0800C2DC strb r0, [r1] ldr r4, _0800C338 @ gUnknown_08A3D748 adds r0, r4, #0 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x48] adds r0, #0x33 strb r6, [r0] adds r0, r4, #0 - bl Find6C + bl Proc_Find ldr r1, [r0, #0x48] adds r1, #0x32 ldrb r0, [r1] @@ -18443,12 +18443,12 @@ _0800C3BA: strb r0, [r1] ldr r4, _0800C404 @ gUnknown_08A3D748 adds r0, r4, #0 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x48] adds r0, #0x33 strb r6, [r0] adds r0, r4, #0 - bl Find6C + bl Proc_Find ldr r1, [r0, #0x48] adds r1, #0x32 ldrb r0, [r1] @@ -18529,12 +18529,12 @@ Event9A_: @ 0x0800C468 strb r1, [r0] ldr r4, _0800C4B8 @ gUnknown_08A3D748 adds r0, r4, #0 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x48] adds r0, #0x33 strb r5, [r0] adds r0, r4, #0 - bl Find6C + bl Proc_Find ldr r1, [r0, #0x48] adds r1, #0x32 ldrb r0, [r1] @@ -18598,7 +18598,7 @@ Event9C_: @ 0x0800C4E4 orrs r0, r2 strb r0, [r1] ldr r0, _0800C524 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x48] adds r0, #0x33 strb r4, [r0] @@ -18709,7 +18709,7 @@ EventA3_: @ 0x0800C5BC cmp r0, #0 bne _0800C5E8 ldr r0, _0800C5E4 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] lsls r2, r5, #0x10 asrs r2, r2, #0x10 @@ -18740,7 +18740,7 @@ EventA4_: @ 0x0800C5F8 cmp r0, #0 bne _0800C624 ldr r0, _0800C620 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] lsls r2, r5, #0x10 asrs r2, r2, #0x10 @@ -18792,7 +18792,7 @@ EventA6_: @ 0x0800C65C adds r0, r0, r1 strb r5, [r0, #0x11] ldr r0, _0800C688 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] adds r1, r4, #0 adds r2, r5, #0 @@ -18813,7 +18813,7 @@ EventA7_: @ 0x0800C68C ldrh r5, [r0, #8] ldrh r6, [r0, #0xa] ldr r0, _0800C6BC @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] lsls r4, r4, #0x10 asrs r4, r4, #0x10 @@ -18859,7 +18859,7 @@ EventA8_: @ 0x0800C6C0 cmp r1, #0 beq _0800C720 ldr r0, _0800C71C @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] lsls r1, r5, #0x10 asrs r5, r1, #0x10 @@ -18968,7 +18968,7 @@ EventAA_: @ 0x0800C7B4 cmp r0, #0 bne _0800C7D6 ldr r0, _0800C7E0 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] lsls r1, r4, #0x10 asrs r1, r1, #0x10 @@ -18993,7 +18993,7 @@ EventAB_: @ 0x0800C7E4 cmp r0, #0 bne _0800C806 ldr r0, _0800C810 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] lsls r1, r4, #0x10 asrs r1, r1, #0x10 @@ -19523,10 +19523,10 @@ EventBF_: @ 0x0800CBAC adds r5, r0, #0 ldr r4, _0800CBD4 @ gUnknown_08A3D748 adds r0, r4, #0 - bl Find6C + bl Proc_Find bl sub_80B9FD4 adds r0, r4, #0 - bl Find6C + bl Proc_Find bl sub_80B9810 adds r0, r5, #0 bl Make6C_savemenu2 @@ -19541,7 +19541,7 @@ _0800CBD4: .4byte gUnknown_08A3D748 EventC0_: @ 0x0800CBD8 push {lr} ldr r0, _0800CBEC @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find bl sub_80B9154 movs r0, #2 pop {r1} @@ -20040,7 +20040,7 @@ _0800CF3E: b _0800CF56 _0800CF50: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0800CF56: pop {r4} pop {r0} @@ -20194,7 +20194,7 @@ CallMapEventEngine: @ 0x0800D07C lsls r1, r1, #0x18 lsrs r4, r1, #0x18 ldr r0, _0800D09C @ gUnknown_08591AC0 - bl Find6C + bl Proc_Find rsbs r1, r0, #0 orrs r1, r0 cmp r1, #0 @@ -20223,7 +20223,7 @@ NewMapEventEngine: @ 0x0800D0B0 adds r6, r1, #0 ldr r0, _0800D134 @ gUnknown_08591AC0 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 movs r2, #0 str r2, [r5, #0x2c] @@ -20293,7 +20293,7 @@ NewBattleEventEngine: @ 0x0800D140 adds r4, r0, #0 ldr r0, _0800D194 @ gUnknown_08591AF8 movs r1, #3 - bl New6C + bl Proc_Create mov ip, r0 movs r2, #0 str r2, [r0, #0x2c] @@ -20337,7 +20337,7 @@ _0800D194: .4byte gUnknown_08591AF8 MapEventEngineExists: @ 0x0800D198 push {lr} ldr r0, _0800D1AC @ gUnknown_08591AC0 - bl Find6C + bl Proc_Find cmp r0, #0 beq _0800D1A6 movs r0, #1 @@ -20351,7 +20351,7 @@ _0800D1AC: .4byte gUnknown_08591AC0 BattleEventEngineExists: @ 0x0800D1B0 push {lr} ldr r0, _0800D1C4 @ gUnknown_08591AF8 - bl Find6C + bl Proc_Find cmp r0, #0 beq _0800D1BE movs r0, #1 @@ -20365,9 +20365,9 @@ _0800D1C4: .4byte gUnknown_08591AF8 DeleteEventEngines: @ 0x0800D1C8 push {lr} ldr r0, _0800D1DC @ gUnknown_08591AC0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r0, _0800D1E0 @ gUnknown_08591AF8 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -20379,7 +20379,7 @@ sub_800D1E4: @ 0x0800D1E4 push {lr} adds r1, r0, #0 ldr r0, _0800D1F4 @ gUnknown_08591DD8 - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r0} bx r0 .align 2, 0 @@ -20401,11 +20401,11 @@ sub_800D204: @ 0x0800D204 sub_800D208: @ 0x0800D208 push {lr} ldr r0, _0800D230 @ gUnknown_08591AC0 - bl Find6C + bl Proc_Find cmp r0, #0 bne _0800D21E ldr r0, _0800D234 @ gUnknown_08591AF8 - bl Find6C + bl Proc_Find cmp r0, #0 beq _0800D258 _0800D21E: @@ -20623,7 +20623,7 @@ sub_800D3A4: @ 0x0800D3A4 cmp r0, #0 bne _0800D3DC ldr r0, _0800D3D8 @ gUnknown_089A2C80 - bl Find6C + bl Proc_Find cmp r0, #0 bne _0800D3DC movs r0, #1 @@ -20640,12 +20640,12 @@ _0800D3DE: sub_800D3E4: @ 0x0800D3E4 push {lr} ldr r0, _0800D40C @ gUnknown_08591AC0 - bl Find6C + bl Proc_Find adds r2, r0, #0 cmp r2, #0 bne _0800D3FE ldr r0, _0800D410 @ gUnknown_08591AF8 - bl Find6C + bl Proc_Find adds r2, r0, #0 cmp r2, #0 beq _0800D406 @@ -20715,7 +20715,7 @@ _0800D46E: bl sub_80BA424 _0800D47C: movs r0, #5 - bl BlockEach6CMarked + bl Proc_BlockEachWithMark pop {r4} pop {r0} bx r0 @@ -20725,7 +20725,7 @@ sub_800D488: @ 0x0800D488 push {lr} bl sub_80141B0 ldr r0, _0800D498 @ gUnknown_08591540 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -20797,7 +20797,7 @@ sub_800D4D4: @ 0x0800D4D4 ldm r1!, {r3, r4} stm r2!, {r3, r4} adds r1, r6, #0 - bl New6C + bl Proc_Create add sp, #0x20 pop {r4, r5, r6} pop {r1} @@ -23049,7 +23049,7 @@ _0800E5B6: cmp r0, #0 bne _0800E5CA ldr r0, _0800E5FC @ gUnknown_08A016E0 - bl Find6C + bl Proc_Find cmp r0, #0 beq _0800E5CC _0800E5CA: @@ -23127,7 +23127,7 @@ sub_800E640: @ 0x0800E640 beq _0800E668 bl sub_80081A8 ldr r0, _0800E664 @ gUnknown_08591154 - bl DeleteEach6C + bl Proc_DeleteAllWithScript bl ResetFaces bl sub_80067E8 b _0800E686 @@ -23141,10 +23141,10 @@ _0800E668: bl sub_80081A8 ldr r0, _0800E68C @ gUnknown_08591154 ldr r1, _0800E690 @ sub_8005F38 - bl ForEach6C + bl Proc_ForEachWithScript ldr r0, _0800E694 @ gUnknown_08591DE8 adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild _0800E686: pop {r4} pop {r0} @@ -23163,7 +23163,7 @@ _WhileFace6CExists: @ 0x0800E698 cmp r0, #0 bne _0800E6AC adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0800E6AC: pop {r4} pop {r0} @@ -23555,7 +23555,7 @@ _0800E9CE: _0800E9D4: ldr r0, _0800E9E8 @ gUnknown_08591EB0 adds r1, r5, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild mov ip, r0 mov r1, ip adds r1, #0x29 @@ -23574,7 +23574,7 @@ _0800E9EC: ldr r0, _0800EA1C @ gUnknown_08591E00 _0800E9FA: adds r1, r5, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild mov ip, r0 adds r0, #0x29 strb r4, [r0] @@ -24215,7 +24215,7 @@ _0800EF36: cmp r4, #0xf bls _0800EF40 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0800EF40: pop {r4, r5} pop {r0} @@ -24420,7 +24420,7 @@ Event22_: @ 0x0800F0C8 bl BG_EnableSyncByMask bl sub_80081A8 ldr r0, _0800F120 @ gUnknown_08591154 - bl DeleteEach6C + bl Proc_DeleteAllWithScript bl ResetFaces bl sub_80067E8 adds r0, r4, #0 @@ -25977,7 +25977,7 @@ TryPrepareEventUnitMovement: @ 0x0800FC90 cmp r0, #0 beq _0800FCBE ldr r0, _0800FCCC @ gUnknown_0859A548 - bl Find6C + bl Proc_Find cmp r0, #0 bne _0800FCD0 adds r0, r4, #0 @@ -27011,7 +27011,7 @@ _0801044C: b _080104A8 _0801047C: ldr r0, _08010490 @ gUnknown_089A2C80 - bl Find6C + bl Proc_Find rsbs r1, r0, #0 orrs r1, r0 cmp r1, #0 @@ -27449,7 +27449,7 @@ Event3B_: @ 0x0801079C cmp r0, #0 beq _080107B8 ldr r0, _080107B4 @ gUnknown_08591F08 - bl DeleteEach6C + bl Proc_DeleteAllWithScript b _08010844 .align 2, 0 _080107B4: .4byte gUnknown_08591F08 @@ -27503,7 +27503,7 @@ _08010808: b _0801081C _0801080E: ldr r0, _08010818 @ gUnknown_08591F08 - bl DeleteEach6C + bl Proc_DeleteAllWithScript movs r0, #2 b _08010846 .align 2, 0 @@ -27511,7 +27511,7 @@ _08010818: .4byte gUnknown_08591F08 _0801081C: ldr r0, _0801084C @ gUnknown_08591F08 adds r1, r6, #0 - bl New6C + bl Proc_Create adds r3, r0, #0 lsls r0, r5, #0x18 asrs r0, r0, #0x18 @@ -27689,7 +27689,7 @@ Event3E_PrepScreenCall: @ 0x08010968 bl UnsetEventId ldr r0, _08010988 @ gUnknown_0859DBBC adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild movs r0, #2 pop {r4} pop {r1} @@ -27794,9 +27794,9 @@ sub_8010A28: @ 0x08010A28 bl sub_80121D4 ldr r0, [r5, #0x58] movs r1, #6 - bl Set6CMark + bl Proc_SetMark adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08010A50: pop {r4, r5} pop {r0} @@ -27880,7 +27880,7 @@ _08010AE4: movs r5, #1 ldr r0, _08010B28 @ gUnknown_08591F18 adds r1, r6, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r4, r0, #0 str r6, [r4, #0x58] bl GetThread2SkipStack @@ -27890,7 +27890,7 @@ _08010AE4: strh r0, [r4] adds r0, r6, #0 movs r1, #7 - bl Set6CMark + bl Proc_SetMark _08010B06: adds r3, r5, #0 ldr r0, [sp, #0xc] @@ -27941,9 +27941,9 @@ sub_8010B48: @ 0x08010B48 bl sub_8012324 ldr r0, [r5, #0x58] movs r1, #6 - bl Set6CMark + bl Proc_SetMark adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08010B70: pop {r4, r5} pop {r0} @@ -27964,7 +27964,7 @@ Event40_: @ 0x08010B78 mov sb, r0 ldr r0, _08010BE8 @ gUnknown_08591F28 adds r1, r6, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r4, r0, #0 str r6, [r4, #0x58] bl GetThread2SkipStack @@ -27974,7 +27974,7 @@ Event40_: @ 0x08010B78 strh r0, [r4] adds r0, r6, #0 movs r1, #7 - bl Set6CMark + bl Proc_SetMark lsls r5, r5, #0x10 asrs r5, r5, #0x10 adds r0, r5, #0 @@ -28327,7 +28327,7 @@ sub_8010E50: @ 0x08010E50 push {lr} bl sub_80081A8 ldr r0, _08010E68 @ gUnknown_08591154 - bl DeleteEach6C + bl Proc_DeleteAllWithScript bl ResetFaces bl sub_80067E8 pop {r0} @@ -28962,7 +28962,7 @@ _0801134C: beq _080113A4 ldr r0, _080113BC @ gUnknown_08592228 adds r1, r5, #0 - bl New6C + bl Proc_Create mov r3, sl ldrb r1, [r3] adds r1, #1 @@ -29014,7 +29014,7 @@ LongPopup_WaitForPress: @ 0x080113C0 cmp r0, #0 beq _080113F2 adds r0, r1, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080113F2 .align 2, 0 _080113DC: .4byte gUnknown_0858791C @@ -29026,7 +29026,7 @@ _080113E0: cmp r0, #0 bne _080113F2 adds r0, r1, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080113F2: pop {r0} bx r0 @@ -29125,14 +29125,14 @@ NewPopup: @ 0x08011490 cmp r1, #0 beq _080114AC ldr r0, _080114A8 @ gUnknown_085921C8 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _080114B4 .align 2, 0 _080114A8: .4byte gUnknown_085921C8 _080114AC: ldr r0, _080114D8 @ gUnknown_085921C8 movs r1, #3 - bl New6C + bl Proc_Create _080114B4: adds r1, r0, #0 str r4, [r1, #0x30] @@ -29228,14 +29228,14 @@ NewItemGot: @ 0x08011554 bhi _08011570 ldr r0, _0801156C @ gUnknown_085922D0 adds r1, r3, #0 - bl New6C + bl Proc_Create b _08011578 .align 2, 0 _0801156C: .4byte gUnknown_085922D0 _08011570: ldr r0, _08011598 @ gUnknown_085922D0 adds r1, r3, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild _08011578: str r5, [r0, #0x58] str r4, [r0, #0x54] @@ -29883,7 +29883,7 @@ sub_8011A48: @ 0x08011A48 movs r0, #1 bl sub_8001F64 ldr r0, _08011A9C @ gUnknown_085924D8 - bl Find6C + bl Proc_Find movs r1, #1 bl sub_8011A1C add sp, #4 @@ -29916,14 +29916,14 @@ sub_8011AA0: @ 0x08011AA0 cmp r4, #0x10 bne _08011AE8 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback movs r0, #0 movs r1, #0x10 movs r2, #0 movs r3, #0 bl SetSpecialColorEffectsParameters ldr r0, _08011AF0 @ gUnknown_085924D8 - bl Find6C + bl Proc_Find movs r1, #0 bl sub_8011A1C _08011AE8: @@ -29962,7 +29962,7 @@ sub_8011AF4: @ 0x08011AF4 movs r0, #1 bl sub_8001F64 ldr r0, _08011B48 @ gUnknown_085924D8 - bl Find6C + bl Proc_Find movs r1, #1 bl sub_8011A1C add sp, #4 @@ -29995,10 +29995,10 @@ sub_8011B4C: @ 0x08011B4C cmp r4, #0x10 bne _08011B86 ldr r0, _08011B8C @ gUnknown_085924D8 - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08011B86: pop {r4, r5} pop {r0} @@ -30032,7 +30032,7 @@ sub_8011BA4: @ 0x08011BA4 ldr r1, [sp, #0x44] movs r6, #0 ldr r0, _08011C7C @ gUnknown_085924D8 - bl New6C + bl Proc_Create adds r7, r0, #0 adds r0, r4, #0 bl GetStringFromIndex @@ -30142,7 +30142,7 @@ sub_8011C94: @ 0x08011C94 bl sub_8011BA4 ldr r0, _08011CC8 @ gUnknown_08592530 adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild add sp, #8 pop {r4, r5} pop {r0} @@ -31429,7 +31429,7 @@ sub_80126BC: @ 0x080126BC cmp r0, #0xff bls _080126DC adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080126DC: ldr r4, _080127B0 @ gUnknown_03000700 movs r2, #0 @@ -31664,7 +31664,7 @@ sub_8012890: @ 0x08012890 lsls r4, r4, #0x10 lsrs r4, r4, #0x10 ldr r0, _080128C4 @ gUnknown_08592568 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r1, r0, #0 cmp r5, #0 bne _080128C8 @@ -31897,7 +31897,7 @@ sub_8012A64: @ 0x08012A64 ble _08012AAE strh r4, [r1] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r5, _08012AB8 @ gUnknown_089A6254 ldr r1, [r7, #0x30] ldr r2, [r7, #0x34] @@ -31939,7 +31939,7 @@ sub_8012AC0: @ 0x08012AC0 cmp r0, #0x1d ble _08012ADC adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08012ADC: pop {r0} bx r0 @@ -31957,7 +31957,7 @@ sub_8012AE0: @ 0x08012AE0 lsrs r5, r5, #0x10 ldr r0, _08012B1C @ gUnknown_08592580 movs r1, #3 - bl New6C + bl Proc_Create lsls r4, r4, #0x10 asrs r4, r4, #0xc ldr r2, _08012B20 @ gUnknown_0202BCB0 @@ -31983,7 +31983,7 @@ _08012B20: .4byte gUnknown_0202BCB0 sub_8012B24: @ 0x08012B24 push {lr} ldr r0, _08012B38 @ gUnknown_08592580 - bl Find6C + bl Proc_Find cmp r0, #0 beq _08012B32 movs r0, #1 @@ -31999,7 +31999,7 @@ sub_8012B3C: @ 0x08012B3C adds r4, r0, #0 ldr r0, _08012B7C @ gUnknown_085925D0 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] movs r2, #0x10 ldrsb r2, [r4, r2] @@ -32033,7 +32033,7 @@ _08012B80: .4byte gUnknown_0202BCB0 sub_8012B84: @ 0x08012B84 push {lr} ldr r0, _08012B98 @ gUnknown_085925D0 - bl Find6C + bl Proc_Find cmp r0, #0 beq _08012B92 movs r0, #1 @@ -32134,7 +32134,7 @@ sub_8012C34: @ 0x08012C34 lsls r2, r2, #0x18 lsrs r4, r2, #0x18 ldr r0, _08012C7C @ gUnknown_085925F0 - bl Find6C + bl Proc_Find cmp r0, #0 bne _08012C6A cmp r4, #1 @@ -32150,7 +32150,7 @@ sub_8012C34: @ 0x08012C34 _08012C62: ldr r0, _08012C7C @ gUnknown_085925F0 movs r1, #3 - bl New6C + bl Proc_Create _08012C6A: adds r1, r0, #0 adds r1, #0x29 @@ -32169,7 +32169,7 @@ _08012C84: .4byte 0x0000026A sub_8012C88: @ 0x08012C88 push {lr} ldr r0, _08012CA4 @ gUnknown_085925F0 - bl Find6C + bl Proc_Find cmp r0, #0 beq _08012CDA adds r0, #0x29 @@ -32202,7 +32202,7 @@ _08012CC4: bl BG_SetPosition _08012CCE: ldr r0, _08012CE0 @ gUnknown_085925F0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript movs r0, #4 bl SoundStuff_80023E0 _08012CDA: @@ -32230,7 +32230,7 @@ sub_8012CFC: @ 0x08012CFC adds r5, r0, #0 adds r6, r1, #0 ldr r0, _08012DB4 @ gUnknown_08592608 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r6, r0, #0 ldr r3, _08012DB8 @ gUnknown_03003080 ldrb r1, [r3, #0xc] @@ -33771,7 +33771,7 @@ _080137E0: cmp r0, r7 bne _080137F8 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080137F8: pop {r4, r5, r6, r7} pop {r0} @@ -33791,7 +33791,7 @@ sub_8013800: @ 0x08013800 ldr r4, [sp, #0x28] ldr r1, [sp, #0x2c] ldr r0, _08013840 @ gUnknown_08599FD4 - bl New6C + bl Proc_Create str r5, [r0, #0x2c] str r6, [r0, #0x30] mov r1, r8 @@ -33817,7 +33817,7 @@ _08013840: .4byte gUnknown_08599FD4 sub_8013844: @ 0x08013844 push {lr} ldr r0, _08013854 @ gUnknown_08599FD4 - bl Find6C + bl Proc_Find cmp r0, #0 bne _08013858 movs r0, #0 @@ -33904,7 +33904,7 @@ sub_80138D8: @ 0x080138D8 push {lr} ldr r0, _080138E8 @ gUnknown_08599FF4 movs r1, #3 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -33962,7 +33962,7 @@ sub_8013928: @ 0x08013928 ldr r0, _0801397C @ gUnknown_0202B6B0 adds r4, r4, r0 ldr r0, _08013980 @ gUnknown_0859A00C - bl New6C + bl Proc_Create mov r8, r0 lsls r5, r5, #5 ldr r0, _08013984 @ gUnknown_020228A8 @@ -33997,7 +33997,7 @@ _08013984: .4byte gUnknown_020228A8 sub_8013988: @ 0x08013988 push {lr} ldr r0, _08013994 @ gUnknown_0859A00C - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -34033,7 +34033,7 @@ sub_801399C: @ 0x0801399C bls _080139CE _080139C6: adds r0, r7, #0 - bl Delete6C + bl Proc_Delete b _08013A74 _080139CE: movs r0, #0 @@ -34248,7 +34248,7 @@ sub_8013B5C: @ 0x08013B5C cmp r0, #0x10 bne _08013B78 adds r0, r2, #0 - bl Delete6C + bl Proc_Delete b _08013B9C .align 2, 0 _08013B74: .4byte gUnknown_03003080 @@ -34345,7 +34345,7 @@ sub_8013C18: @ 0x08013C18 cmp r0, #0 bne _08013C34 adds r0, r1, #0 - bl Delete6C + bl Proc_Delete b _08013C54 .align 2, 0 _08013C30: .4byte gUnknown_03003080 @@ -34399,19 +34399,19 @@ sub_8013C70: @ 0x08013C70 sub_8013C88: @ 0x08013C88 push {lr} ldr r0, _08013CB8 @ gUnknown_0859A044 - bl Find6C + bl Proc_Find cmp r0, #0 bne _08013CC8 ldr r0, _08013CBC @ gUnknown_0859A024 - bl Find6C + bl Proc_Find cmp r0, #0 bne _08013CC8 ldr r0, _08013CC0 @ gUnknown_0859A084 - bl Find6C + bl Proc_Find cmp r0, #0 bne _08013CC8 ldr r0, _08013CC4 @ gUnknown_0859A064 - bl Find6C + bl Proc_Find cmp r0, #0 bne _08013CC8 movs r0, #0 @@ -34433,7 +34433,7 @@ sub_8013CD0: @ 0x08013CD0 adds r4, r0, #0 ldr r0, _08013CE8 @ gUnknown_0859A024 movs r1, #3 - bl New6C + bl Proc_Create adds r0, #0x64 strh r4, [r0] pop {r4} @@ -34448,7 +34448,7 @@ sub_8013CEC: @ 0x08013CEC adds r4, r0, #0 ldr r0, _08013D04 @ gUnknown_0859A044 movs r1, #3 - bl New6C + bl Proc_Create adds r0, #0x64 strh r4, [r0] pop {r4} @@ -34462,7 +34462,7 @@ sub_8013D08: @ 0x08013D08 push {r4, lr} adds r4, r0, #0 ldr r0, _08013D1C @ gUnknown_0859A024 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r0, #0x64 strh r4, [r0] pop {r4} @@ -34476,7 +34476,7 @@ sub_8013D20: @ 0x08013D20 push {r4, lr} adds r4, r0, #0 ldr r0, _08013D34 @ gUnknown_0859A044 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r0, #0x64 strh r4, [r0] pop {r4} @@ -34490,7 +34490,7 @@ sub_8013D38: @ 0x08013D38 push {r4, lr} adds r4, r0, #0 ldr r0, _08013D4C @ gUnknown_0859A064 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r0, #0x64 strh r4, [r0] pop {r4} @@ -34504,7 +34504,7 @@ sub_8013D50: @ 0x08013D50 push {r4, lr} adds r4, r0, #0 ldr r0, _08013D64 @ gUnknown_0859A084 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r0, #0x64 strh r4, [r0] pop {r4} @@ -34951,7 +34951,7 @@ ContinueUntilSomeTransistion6CExists: @ 0x08014068 cmp r0, #0 bne _0801407C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0801407C: pop {r4} pop {r0} @@ -35011,7 +35011,7 @@ _080140E0: .4byte gUnknown_0859A0A4 sub_80140E4: @ 0x080140E4 push {lr} ldr r0, _080140F0 @ gUnknown_0859A0A4 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -35039,7 +35039,7 @@ sub_8014100: @ 0x08014100 bl _call_via_r0 _08014118: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0801411E: pop {r4} pop {r0} @@ -35110,7 +35110,7 @@ sub_8014184: @ 0x08014184 sub_8014194: @ 0x08014194 push {lr} ldr r0, _080141AC @ gUnknown_0859A0A4 - bl Find6C + bl Proc_Find adds r1, r0, #0 cmp r1, #0 beq _080141A6 @@ -35193,7 +35193,7 @@ NewBlockingTimer: @ 0x08014238 adds r4, r1, #0 ldr r0, _08014250 @ gUnknown_0859A0D4 adds r1, r2, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild str r4, [r0, #0x58] pop {r4} pop {r0} @@ -35209,7 +35209,7 @@ Timer6C_Countdown: @ 0x08014254 cmp r0, #0 bne _08014266 adds r0, r1, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0801426A _08014266: subs r0, #1 @@ -35495,7 +35495,7 @@ _0801447C: .4byte gUnknown_03000800 DeleteAllPaletteAnimator: @ 0x08014480 push {lr} ldr r0, _0801448C @ gUnknown_0859A0F8 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -35512,7 +35512,7 @@ NewPaletteAnimator: @ 0x08014490 adds r6, r3, #0 ldr r1, [sp, #0x14] ldr r0, _080144C8 @ gUnknown_0859A0F8 - bl New6C + bl Proc_Create str r5, [r0, #0x2c] movs r2, #0 mov r1, r8 @@ -36061,7 +36061,7 @@ FutureCall2_Loop: @ 0x0801487C ldr r0, [r4, #0x2c] bl _call_via_r0 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0801489A: pop {r4} pop {r0} @@ -36082,7 +36082,7 @@ FutureCall_Loop: @ 0x080148A0 ldr r0, [r4, #0x30] bl _call_via_r1 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080148C0: pop {r4} pop {r0} @@ -36095,7 +36095,7 @@ SetupFutureCall2: @ 0x080148C8 adds r5, r1, #0 ldr r0, _080148E0 @ gUnknown_0859A100 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] str r5, [r0, #0x34] pop {r4, r5} @@ -36112,7 +36112,7 @@ SetupFutureCall: @ 0x080148E4 adds r6, r2, #0 ldr r0, _08014900 @ gUnknown_0859A110 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] str r5, [r0, #0x30] str r6, [r0, #0x34] @@ -36173,7 +36173,7 @@ sub_8014944: @ 0x08014944 push {r4, lr} adds r1, r0, #0 ldr r0, _08014964 @ gUnknown_0859A1E0 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r4, r0, #0 bl GetThread2SkipStack lsls r0, r0, #0x18 @@ -36200,7 +36200,7 @@ sub_8014968: @ 0x08014968 cmp r0, r1 bne _08014986 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08014986: pop {r4} pop {r0} @@ -37453,9 +37453,9 @@ GeneralVBlankHandler: @ 0x080152A4 strh r0, [r1] bl IncrementGlobalClock bl FlushSound_Maybe - ldr r0, _080152EC @ gUnknown_02026A70 + ldr r0, _080152EC @ gRootProcesses ldr r0, [r0] - bl Exec6C + bl Proc_Run bl FlushPrimaryOAM ldr r1, _080152F0 @ gUnknown_0202BCB0 movs r0, #0 @@ -37474,7 +37474,7 @@ _080152DE: bx r0 .align 2, 0 _080152E8: .4byte gUnknown_03007FF8 -_080152EC: .4byte gUnknown_02026A70 +_080152EC: .4byte gRootProcesses _080152F0: .4byte gUnknown_0202BCB0 THUMB_FUNC_START SomeUpdateRoutine @@ -37484,24 +37484,24 @@ SomeUpdateRoutine: @ 0x080152F4 ldr r0, [r0] bl UpdateKeyStatus bl ClearIntermediateOAMBuffers - ldr r4, _08015354 @ gUnknown_02026A70 + ldr r4, _08015354 @ gRootProcesses ldr r0, [r4, #4] - bl Exec6C + bl Proc_Run bl GetThread2SkipStack lsls r0, r0, #0x18 cmp r0, #0 bne _0801531A ldr r0, [r4, #8] - bl Exec6C + bl Proc_Run _0801531A: ldr r0, [r4, #0xc] - bl Exec6C + bl Proc_Run ldr r0, [r4, #0x14] - bl Exec6C + bl Proc_Run movs r0, #0 bl FlushIntermediateOAMBuffer ldr r0, [r4, #0x10] - bl Exec6C + bl Proc_Run movs r0, #0xd bl FlushIntermediateOAMBuffer ldr r1, _08015358 @ gUnknown_0202BCB0 @@ -37516,7 +37516,7 @@ _0801531A: bx r0 .align 2, 0 _08015350: .4byte gUnknown_0858791C -_08015354: .4byte gUnknown_02026A70 +_08015354: .4byte gRootProcesses _08015358: .4byte gUnknown_0202BCB0 _0801535C: .4byte 0x04000006 @@ -37685,17 +37685,17 @@ _0801547C: ldr r0, _08015488 @ gUnknown_085A7F08 _0801547E: adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _08015494 .align 2, 0 _08015488: .4byte gUnknown_085A7F08 _0801548C: ldr r0, _080154A0 @ gUnknown_085A7F08 adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild _08015494: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -37708,11 +37708,11 @@ NewPlayerPhase6C: @ 0x080154A4 adds r4, r0, #0 ldr r0, _080154C4 @ gUnknown_0859AAD8 adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild movs r1, #7 - bl Goto6CLabel + bl Proc_GotoLabel adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -37728,7 +37728,7 @@ sub_80154C8: @ 0x080154C8 cmp r0, #0x40 bne _080154EC ldr r0, _080154E8 @ gUnknown_0859BDA0 - bl NewBlocking6C + bl Proc_CreateBlockingChild bl HandleTrapDecay movs r0, #0 b _080154EE @@ -37774,7 +37774,7 @@ sub_801550C: @ 0x0801550C _0801552C: ldr r0, _08015540 @ gUnknown_0859B1B0 adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild _08015534: pop {r4} pop {r0} @@ -37827,15 +37827,15 @@ GotoChapterWithoutSave: @ 0x08015588 ldr r1, _080155B0 @ gUnknown_0202BCF0 strb r0, [r1, #0xe] ldr r0, _080155B4 @ gUnknown_0859A1F0 - bl Find6C + bl Proc_Find movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _080155B8 @ gUnknown_0859AAD8 - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r0, _080155BC @ gUnknown_085A7F08 - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r0, _080155C0 @ gUnknown_085A7F30 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -38793,7 +38793,7 @@ Loop6C_GENS: @ 0x08015CB0 ldrh r0, [r0, #0xe] strh r0, [r5, #0x2e] adds r0, r5, #0 - bl Delete6C + bl Proc_Delete b _08015D20 .align 2, 0 _08015CCC: .4byte gUnknown_0202BCB0 @@ -38922,7 +38922,7 @@ sub_8015D84: @ 0x08015D84 _08015DB8: ldr r4, _08015DCC @ gUnknown_0859A548 adds r0, r4, #0 - bl Find6C + bl Proc_Find cmp r0, #0 beq _08015DD0 _08015DC4: @@ -38936,12 +38936,12 @@ _08015DD0: beq _08015DDE adds r0, r4, #0 adds r1, r5, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _08015DE6 _08015DDE: adds r0, r4, #0 movs r1, #3 - bl New6C + bl Proc_Create _08015DE6: adds r2, r0, #0 ldr r1, _08015E08 @ gUnknown_0202BCB0 @@ -38994,7 +38994,7 @@ EnsureCameraOntoPosition: @ 0x08015E0C _08015E42: ldr r4, _08015E58 @ gUnknown_0859A548 adds r0, r4, #0 - bl Find6C + bl Proc_Find cmp r0, #0 beq _08015E5C _08015E4E: @@ -39008,12 +39008,12 @@ _08015E5C: beq _08015E6A adds r0, r4, #0 adds r1, r5, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _08015E72 _08015E6A: adds r0, r4, #0 movs r1, #3 - bl New6C + bl Proc_Create _08015E72: adds r2, r0, #0 ldr r0, _08015E98 @ gUnknown_0202BCB0 @@ -39085,7 +39085,7 @@ sub_8015EDC: @ 0x08015EDC ble _08015EFA ldr r4, _08015F04 @ gUnknown_0859A548 adds r0, r4, #0 - bl Find6C + bl Proc_Find cmp r0, #0 beq _08015F08 _08015EFA: @@ -39099,12 +39099,12 @@ _08015F08: beq _08015F16 adds r0, r4, #0 adds r1, r5, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _08015F1E _08015F16: adds r0, r4, #0 movs r1, #3 - bl New6C + bl Proc_Create _08015F1E: adds r2, r0, #0 ldr r1, _08015F3C @ gUnknown_0202BCB0 @@ -39157,7 +39157,7 @@ sub_8015F40: @ 0x08015F40 cmp r0, #0 bge _08015F88 adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08015F88: pop {r4, r5, r6, r7} pop {r0} @@ -39171,7 +39171,7 @@ sub_8015F90: @ 0x08015F90 adds r6, r2, #0 ldr r0, _08015FC0 @ gUnknown_0859A570 movs r1, #3 - bl New6C + bl Proc_Create ldr r2, _08015FC4 @ gUnknown_0202BCB0 ldrh r1, [r2, #0x14] lsls r1, r1, #4 @@ -39371,7 +39371,7 @@ sub_80160E0: @ 0x080160E0 cmp r0, r1 blt _0801612E adds r0, r5, #0 - bl Delete6C + bl Proc_Delete _0801612E: add sp, #4 pop {r4, r5, r6} @@ -39395,14 +39395,14 @@ sub_8016140: @ 0x08016140 beq _0801615C ldr r0, _08016158 @ gUnknown_0859A580 adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _08016164 .align 2, 0 _08016158: .4byte gUnknown_0859A580 _0801615C: ldr r0, _08016184 @ gUnknown_0859A580 movs r1, #3 - bl New6C + bl Proc_Create _08016164: adds r3, r0, #0 ldr r1, _08016188 @ gUnknown_0202BCB0 @@ -51261,7 +51261,7 @@ Loop6C_WaitForSelectPress: @ 0x0801BA58 cmp r0, #0 beq _0801BA70 adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0801BA70: pop {r0} bx r0 @@ -51339,7 +51339,7 @@ sub_801BAEC: @ 0x0801BAEC adds r4, r3, #0 ldr r0, _0801BB18 @ gUnknown_0859AA64 movs r1, #3 - bl New6C + bl Proc_Create str r5, [r0, #0x2c] str r6, [r0, #0x30] str r4, [r0, #0x54] @@ -51584,7 +51584,7 @@ DebugMapMenu_DisplayInfoDraw: @ 0x0801BCE4 push {r4, r5, r6, lr} adds r5, r1, #0 ldr r0, _0801BD4C @ gUnknown_0859AA5C - bl Find6C + bl Proc_Find adds r4, r0, #0 adds r6, r5, #0 adds r6, #0x34 @@ -51637,7 +51637,7 @@ DebugMapMenu_DisplayInfoIdle: @ 0x0801BD58 adds r4, r0, #0 adds r5, r1, #0 ldr r0, _0801BD98 @ gUnknown_0859AA5C - bl Find6C + bl Proc_Find adds r2, r0, #0 ldr r0, _0801BD9C @ gUnknown_0858791C ldr r0, [r0] @@ -51682,7 +51682,7 @@ DebugMenu_WeatherDraw: @ 0x0801BDA4 movs r2, #0xe bl memcpy ldr r0, _0801BE20 @ gUnknown_0859AA5C - bl Find6C + bl Proc_Find adds r6, r0, #0 adds r4, r5, #0 adds r4, #0x34 @@ -51735,7 +51735,7 @@ DebugMenu_WeatherIdle: @ 0x0801BE28 adds r6, r0, #0 adds r7, r1, #0 ldr r0, _0801BE94 @ gUnknown_0859AA5C - bl Find6C + bl Proc_Find adds r4, r0, #0 ldr r5, _0801BE98 @ gUnknown_0858791C ldr r0, [r5] @@ -52370,7 +52370,7 @@ sub_801C340: @ 0x0801C340 b _0801C368 _0801C34E: ldr r0, _0801C36C @ gUnknown_0859A1F0 - bl Find6C + bl Proc_Find cmp r0, #0 beq _0801C35C bl sub_80311F0 @@ -52396,7 +52396,7 @@ sub_801C370: @ 0x0801C370 b _0801C392 _0801C37E: ldr r0, _0801C398 @ gUnknown_0859A1F0 - bl Find6C + bl Proc_Find cmp r0, #0 beq _0801C38C bl sub_80311F0 @@ -52755,7 +52755,7 @@ sub_801C63C: @ 0x0801C63C push {lr} ldr r0, _0801C64C @ gUnknown_0859AA84 movs r1, #3 - bl New6C + bl Proc_Create movs r0, #0x17 pop {r1} bx r1 @@ -53163,7 +53163,7 @@ _0801C994: bl sub_808894C adds r0, r6, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel b _0801CB64 .align 2, 0 _0801CA04: .4byte gUnknown_0202BCB0 @@ -53240,7 +53240,7 @@ _0801CA9C: ldrb r0, [r0, #4] bl BWL_IncrementMoveValue adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0801CB38 .align 2, 0 _0801CAB8: .4byte gUnknown_03004E50 @@ -53253,7 +53253,7 @@ _0801CABC: strb r0, [r1] adds r0, r6, #0 movs r1, #0xb - bl Goto6CLabel + bl Proc_GotoLabel b _0801CB38 _0801CAD4: ldr r0, _0801CB2C @ gUnknown_0858791C @@ -53293,7 +53293,7 @@ _0801CB18: _0801CB20: adds r0, r6, #0 movs r1, #9 - bl Goto6CLabel + bl Proc_GotoLabel b _0801CB64 .align 2, 0 _0801CB2C: .4byte gUnknown_0858791C @@ -53673,7 +53673,7 @@ _0801CE30: bl EnsureCameraOntoPosition bl HideMoveRangeGraphics adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0801CFE0 .align 2, 0 _0801CE4C: .4byte gUnknown_0202BE48 @@ -53727,7 +53727,7 @@ _0801CE90: _0801CEB8: adds r0, r5, #0 movs r1, #9 - bl Goto6CLabel + bl Proc_GotoLabel b _0801CFE0 .align 2, 0 _0801CEC4: .4byte gUnknown_03004E50 @@ -53778,7 +53778,7 @@ _0801CF08: bl sub_808894C adds r0, r5, #0 movs r1, #6 - bl Goto6CLabel + bl Proc_GotoLabel b _0801CFE0 .align 2, 0 _0801CF3C: .4byte gUnknown_0202BCB0 @@ -53830,14 +53830,14 @@ _0801CF90: beq _0801CFB8 adds r0, r5, #0 movs r1, #0xc - bl Goto6CLabel + bl Proc_GotoLabel b _0801CFC0 .align 2, 0 _0801CFB4: .4byte gUnknown_0202BCB0 _0801CFB8: adds r0, r5, #0 movs r1, #0xb - bl Goto6CLabel + bl Proc_GotoLabel _0801CFC0: ldr r0, _0801CFE8 @ gUnknown_03004E50 ldr r0, [r0] @@ -53868,7 +53868,7 @@ sub_801CFF0: @ 0x0801CFF0 movs r1, #0 strb r1, [r2, #0x11] movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel pop {r0} bx r0 .align 2, 0 @@ -53921,7 +53921,7 @@ _0801D05E: bl MakeMOVEUNITForMapUnit adds r0, r5, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel pop {r4, r5} pop {r0} bx r0 @@ -54191,7 +54191,7 @@ _0801D2A8: beq _0801D2F0 adds r0, r5, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel b _0801D2F8 .align 2, 0 _0801D2E8: .4byte gUnknown_0202E4E4 @@ -54199,7 +54199,7 @@ _0801D2EC: .4byte gUnknown_0202BCF0 _0801D2F0: adds r0, r5, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _0801D2F8: movs r0, #1 _0801D2FA: @@ -54315,7 +54315,7 @@ _0801D3D0: bl sub_808326C adds r0, r5, #0 movs r1, #8 - bl Goto6CLabel + bl Proc_GotoLabel b _0801D3FC _0801D3F8: bl ClearMOVEUNITs @@ -54366,7 +54366,7 @@ sub_801D434: @ 0x0801D434 bl NewMenu_AndDoSomethingCommands _0801D456: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -54445,7 +54445,7 @@ _0801D4E4: bl NewMenu_AndDoSomethingCommands _0801D502: adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0801D508: pop {r4, r5, r6} pop {r0} @@ -54624,7 +54624,7 @@ PlayerPhase_WaitForUnitMovement: @ 0x0801D64C cmp r0, #0 bne _0801D660 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0801D660: pop {r4} pop {r0} @@ -54641,7 +54641,7 @@ sub_801D668: @ 0x0801D668 bl sub_80311A8 adds r0, r6, #0 movs r1, #0xc - bl Goto6CLabel + bl Proc_GotoLabel b _0801D6F4 .align 2, 0 _0801D684: .4byte gUnknown_03004E50 @@ -54697,7 +54697,7 @@ _0801D6E4: _0801D6EC: adds r0, r6, #0 movs r1, #0xb - bl Goto6CLabel + bl Proc_GotoLabel _0801D6F4: pop {r4, r5, r6} pop {r0} @@ -54755,11 +54755,11 @@ ClearActiveUnit: @ 0x0801D75C push {r4, r5, lr} adds r5, r0, #0 ldr r0, _0801D7D8 @ gUnknown_0859AAD8 - bl Find6C + bl Proc_Find cmp r0, #0 beq _0801D7D2 movs r1, #9 - bl Goto6CLabel + bl Proc_GotoLabel ldr r4, _0801D7DC @ gUnknown_03004E50 ldr r0, [r4] cmp r0, #0 @@ -54816,7 +54816,7 @@ _0801D7E4: .4byte gUnknown_0202BE48 sub_801D7E8: @ 0x0801D7E8 push {lr} ldr r0, _0801D80C @ gUnknown_0859AAD8 - bl Find6C + bl Proc_Find adds r2, r0, #0 cmp r2, #0 beq _0801D806 @@ -54826,7 +54826,7 @@ sub_801D7E8: @ 0x0801D7E8 bne _0801D806 ldr r1, _0801D814 @ sub_801D818 adds r0, r2, #0 - bl Set6CLoop + bl Proc_SetNativeFunc _0801D806: pop {r0} bx r0 @@ -54932,7 +54932,7 @@ _0801D8D0: movs r2, #0x80 bl RegisterTileGraphics adds r0, r4, #0 - bl Delete6C + bl Proc_Delete _0801D8E0: pop {r4, r5} pop {r0} @@ -54963,7 +54963,7 @@ Loop6C_MLVCHC: @ 0x0801D8EC cmp r0, #8 bne _0801D91C adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0801D91C: pop {r4, r5} pop {r0} @@ -55151,7 +55151,7 @@ DisplayMoveRangeGraphics: @ 0x0801DA98 adds r5, r0, #0 ldr r4, _0801DAB4 @ gUnknown_0859AD50 adds r0, r4, #0 - bl Find6C + bl Proc_Find cmp r0, #0 beq _0801DAB8 bl Setup6CRangeDisplayGfx @@ -55163,7 +55163,7 @@ _0801DAB4: .4byte gUnknown_0859AD50 _0801DAB8: adds r0, r4, #0 movs r1, #4 - bl New6C + bl Proc_Create adds r0, #0x4a strh r5, [r0] _0801DAC4: @@ -55175,7 +55175,7 @@ _0801DAC4: HideMoveRangeGraphics: @ 0x0801DACC push {lr} ldr r0, _0801DAD8 @ gUnknown_0859AD50 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -55212,11 +55212,11 @@ _0801DB0A: _0801DB10: .4byte 0x00010007 _0801DB14: ldr r0, _0801DB44 @ gUnknown_0859AAD8 - bl Find6C + bl Proc_Find cmp r0, #0 bne _0801DB24 ldr r0, _0801DB48 @ gUnknown_0859DBBC - bl Find6C + bl Proc_Find _0801DB24: movs r1, #0x10 ldrsb r1, [r4, r1] @@ -55303,7 +55303,7 @@ Goto3IfPhaseHasNoAbleUnits: @ 0x0801DBA4 bne _0801DBC8 adds r0, r4, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel _0801DBC8: pop {r4} pop {r0} @@ -55393,7 +55393,7 @@ Loop6C_KOIDO: @ 0x0801DC3C bl EndMoveunitMaybe _0801DC5C: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback movs r0, #0 ldrsb r0, [r5, r0] cmp r0, #1 @@ -55416,7 +55416,7 @@ Make6CKOIDO: @ 0x0801DC7C mov r8, r2 adds r1, r3, #0 ldr r0, _0801DCCC @ gUnknown_0859AD88 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r7, r0, #0 str r6, [r7, #0x30] str r4, [r7, #0x2c] @@ -55455,7 +55455,7 @@ Make6CKOIDOAMM: @ 0x0801DCD0 adds r4, r1, #0 ldr r0, _0801DD18 @ gUnknown_0859ADA0 movs r1, #3 - bl New6C + bl Proc_Create adds r7, r0, #0 str r6, [r7, #0x30] str r4, [r7, #0x2c] @@ -55534,7 +55534,7 @@ sub_801DD54: @ 0x0801DD54 cmp r0, #0 bge _0801DD9C adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback bl SetDefaultColorEffects movs r0, #2 movs r1, #0 @@ -55575,7 +55575,7 @@ NewBMXFADE: @ 0x0801DDC4 lsrs r4, r4, #0x18 ldr r0, _0801DDEC @ gUnknown_0859ADC8 movs r1, #3 - bl New6C + bl Proc_Create lsls r4, r4, #0x18 asrs r4, r4, #0x18 adds r0, #0x4e @@ -55597,7 +55597,7 @@ MakeNew6CBMXFADE2: @ 0x0801DDF0 lsls r4, r4, #0x18 lsrs r4, r4, #0x18 ldr r0, _0801DE14 @ gUnknown_0859ADC8 - bl NewBlocking6C + bl Proc_CreateBlockingChild lsls r4, r4, #0x18 asrs r4, r4, #0x18 adds r0, #0x4e @@ -55616,7 +55616,7 @@ _0801DE14: .4byte gUnknown_0859ADC8 DoesBMXFADEExist: @ 0x0801DE18 push {lr} ldr r0, _0801DE2C @ gUnknown_0859ADC8 - bl Find6C + bl Proc_Find cmp r0, #0 beq _0801DE26 movs r0, #1 @@ -55741,7 +55741,7 @@ sub_801DEF0: @ 0x0801DEF0 cmp r0, #0 bne _0801DF18 adds r0, r5, #0 - bl Delete6C + bl Proc_Delete b _0801DF5A .align 2, 0 _0801DF14: .4byte gUnknown_0202BCF0 @@ -55861,7 +55861,7 @@ _0801DFF4: .4byte gUnknown_0202BCB0 _0801DFF8: adds r0, r4, #0 movs r1, #0x63 - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #1 _0801E002: pop {r4} @@ -56003,7 +56003,7 @@ _0801E11A: bl sub_8008A0C ldr r0, _0801E134 @ gUnknown_0859AE38 adds r1, r6, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild _0801E128: add sp, #4 pop {r4, r5, r6} @@ -56693,12 +56693,12 @@ sub_801E684: @ 0x0801E684 mov r8, r3 ldr r4, _0801E73C @ gUnknown_0859AE88 adds r0, r4, #0 - bl Find6C + bl Proc_Find cmp r0, #0 bne _0801E732 adds r0, r4, #0 adds r1, r5, #0 - bl New6C + bl Proc_Create adds r4, r0, #0 str r6, [r4, #0x2c] adds r0, #0x30 @@ -56784,7 +56784,7 @@ sub_801E748: @ 0x0801E748 sub sp, #0xc adds r5, r0, #0 ldr r0, _0801E7C4 @ gUnknown_0859AE88 - bl Find6C + bl Proc_Find adds r7, r0, #0 movs r0, #0 bl BG_GetMapBuffer @@ -57135,7 +57135,7 @@ _0801EA50: .4byte gUnknown_02022CA8 sub_801EA54: @ 0x0801EA54 push {lr} ldr r0, _0801EA60 @ gUnknown_0859AE88 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -57315,7 +57315,7 @@ _0801EBB2: cmp r0, r1 ble _0801EBCA adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0801EBCA: add sp, #0x10 pop {r3, r4, r5} @@ -57366,7 +57366,7 @@ sub_801EC10: @ 0x0801EC10 adds r5, r3, #0 ldr r0, _0801EC44 @ gUnknown_0859AEA0 adds r1, r6, #0 - bl New6C + bl Proc_Create mov r1, r8 str r1, [r0, #0x2c] lsls r4, r4, #4 @@ -57387,7 +57387,7 @@ _0801EC44: .4byte gUnknown_0859AEA0 sub_801EC48: @ 0x0801EC48 push {lr} ldr r0, _0801EC58 @ gUnknown_0859AEA0 - bl Find6C + bl Proc_Find cmp r0, #0 bne _0801EC5C movs r0, #0 @@ -57594,7 +57594,7 @@ _0801EDB2: movs r0, #0xf strh r0, [r4] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0801EDFC: add sp, #4 pop {r4, r5} @@ -57655,7 +57655,7 @@ _0801EE28: movs r0, #0xf strh r0, [r4] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0801EE72: add sp, #4 pop {r4, r5} @@ -57780,7 +57780,7 @@ _0801EF4C: b _0801EF58 _0801EF52: adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0801EF58: ldr r4, _0801EFE0 @ gUnknown_080D751C movs r0, #0x80 @@ -57953,7 +57953,7 @@ _0801F050: movs r0, #0 strh r0, [r2] mov r0, sl - bl Break6CLoop + bl Proc_ClearNativeCallback _0801F0B0: add sp, #4 pop {r3, r4, r5} @@ -58062,7 +58062,7 @@ _0801F124: movs r0, #0 strh r0, [r2] mov r0, sl - bl Break6CLoop + bl Proc_ClearNativeCallback _0801F17E: add sp, #4 pop {r3, r4, r5} @@ -58140,7 +58140,7 @@ sub_801F1A0: @ 0x0801F1A0 cmp r0, #0x20 bne _0801F216 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0801F216: add sp, #4 pop {r4, r5, r6} @@ -58206,7 +58206,7 @@ sub_801F228: @ 0x0801F228 cmp r0, #0 bge _0801F29C adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0801F29C: add sp, #4 pop {r4, r5, r6} @@ -58226,7 +58226,7 @@ sub_801F2AC: @ 0x0801F2AC cmp r0, #0 bne _0801F2C2 adds r0, r4, #0 - bl Delete6C + bl Proc_Delete _0801F2C2: pop {r4} pop {r0} @@ -58453,15 +58453,15 @@ sub_801F490: @ 0x0801F490 movs r3, #0 bl SetSpecialColorEffectsParameters ldr r0, _0801F500 @ gUnknown_0859AEF8 - bl Find6C + bl Proc_Find cmp r0, #0 bne _0801F4F4 ldr r0, _0801F504 @ gUnknown_0859AF40 - bl Find6C + bl Proc_Find cmp r0, #0 bne _0801F4F4 ldr r0, _0801F508 @ gUnknown_0859AF60 - bl Find6C + bl Proc_Find cmp r0, #0 bne _0801F4F4 bl ClearBG0BG1 @@ -58480,7 +58480,7 @@ sub_801F490: @ 0x0801F490 movs r2, #0 bl BG_SetPosition adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0801F4F4: pop {r4} pop {r0} @@ -58621,7 +58621,7 @@ sub_801F600: @ 0x0801F600 mov r8, r3 ldr r0, _0801F62C @ gUnknown_0859AFC8 adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild str r5, [r0, #0x2c] str r6, [r0, #0x30] adds r0, #0x4a @@ -58691,7 +58691,7 @@ sub_801F68C: @ 0x0801F68C bl CopyToPaletteBuffer ldr r0, _0801F6B8 @ gUnknown_0859AFE8 adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild str r5, [r0, #0x2c] str r6, [r0, #0x30] pop {r4, r5, r6} @@ -58714,7 +58714,7 @@ sub_801F6BC: @ 0x0801F6BC bl CopyToPaletteBuffer ldr r0, _0801F6E8 @ gUnknown_0859AFE8 adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild str r5, [r0, #0x2c] str r6, [r0, #0x30] pop {r4, r5, r6} @@ -58760,7 +58760,7 @@ sub_801F6EC: @ 0x0801F6EC bgt _0801F736 adds r0, r5, #0 movs r1, #0x64 - bl Goto6CLabel + bl Proc_GotoLabel _0801F736: ldr r0, [r5, #0x58] cmp r0, #1 @@ -58824,7 +58824,7 @@ sub_801F780: @ 0x0801F780 bl CopyToPaletteBuffer ldr r0, _0801F7D4 @ gUnknown_0859B008 adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild str r5, [r0, #0x58] str r6, [r0, #0x5c] mov r1, r8 @@ -58898,7 +58898,7 @@ sub_801F844: @ 0x0801F844 adds r4, r1, #0 ldr r0, _0801F85C @ gUnknown_0859B048 adds r1, r2, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild str r4, [r0, #0x2c] pop {r4} pop {r0} @@ -58962,7 +58962,7 @@ sub_801F8C8: @ 0x0801F8C8 adds r1, r0, #0 adds r4, r2, #0 ldr r0, _0801F8F0 @ gUnknown_0859B070 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r5, r0, #0 adds r0, r4, #0 bl GetTrap @@ -59048,7 +59048,7 @@ sub_801F978: @ 0x0801F978 adds r7, r3, #0 ldr r0, _0801F99C @ gUnknown_0859B0A0 adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild str r5, [r0, #0x2c] str r6, [r0, #0x30] cmp r7, #1 @@ -59113,7 +59113,7 @@ sub_801F9CC: @ 0x0801F9CC beq _0801F9F4 _0801F9EE: adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0801F9F4: pop {r0} bx r0 @@ -59181,7 +59181,7 @@ _0801FA5A: bl DrawTextInline ldr r0, _0801FA88 @ gUnknown_0859B0C0 adds r1, r7, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild add sp, #8 pop {r4, r5, r6, r7} pop {r0} @@ -59312,7 +59312,7 @@ _0801FB7E: bl Text_Draw ldr r0, _0801FBA8 @ gUnknown_0859B0C0 mov r1, sl - bl NewBlocking6C + bl Proc_CreateBlockingChild add sp, #0xc pop {r3, r4, r5} mov r8, r3 @@ -59397,7 +59397,7 @@ _0801FC18: bl Text_Draw ldr r0, _0801FC64 @ gUnknown_0859B0C0 mov r1, r8 - bl NewBlocking6C + bl Proc_CreateBlockingChild add sp, #0xc pop {r3} mov r8, r3 @@ -59517,7 +59517,7 @@ _0801FD1A: bl DrawIcon ldr r0, _0801FD6C @ gUnknown_0859B0C0 mov r1, r8 - bl NewBlocking6C + bl Proc_CreateBlockingChild add sp, #0xc pop {r3} mov r8, r3 @@ -59608,9 +59608,9 @@ _0801FDE2: beq _0801FE0A adds r1, r0, #0 adds r0, r2, #0 - bl Goto6CLabel + bl Proc_GotoLabel adds r0, r4, #0 - bl Delete6C + bl Proc_Delete _0801FE0A: pop {r4} pop {r0} @@ -59943,7 +59943,7 @@ _0802006A: _08020076: adds r0, r6, #0 adds r1, r7, #0 - bl New6C + bl Proc_Create pop {r4, r5, r6, r7} pop {r1} bx r1 @@ -60419,7 +60419,7 @@ _080203EE: cmp r0, #0 bne _08020480 adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08020480: add sp, #0x10 pop {r3, r4, r5} @@ -60768,7 +60768,7 @@ _08020740: cmp r0, #0x45 ble _08020764 mov r0, sl - bl Break6CLoop + bl Proc_ClearNativeCallback _08020764: add sp, #4 pop {r3, r4, r5} @@ -60957,9 +60957,9 @@ _080208CC: movs r3, #0 bl SetSpecialColorEffectsParameters ldr r0, _080208F4 @ gUnknown_0859B180 - bl DeleteEach6C + bl Proc_DeleteAllWithScript adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080208EC: add sp, #8 pop {r4, r5, r6, r7} @@ -61119,7 +61119,7 @@ _08020A18: movs r3, #0 bl SetSpecialColorEffectsParameters adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08020A38: pop {r4, r5} pop {r0} @@ -61202,7 +61202,7 @@ sub_8020A8C: @ 0x08020A8C strh r4, [r0] bl EnablePaletteSync adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08020AE8: pop {r4, r5} pop {r0} @@ -61519,7 +61519,7 @@ _08020D9C: bge _08020DAE bl sub_8030C40 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08020DAE: pop {r4, r5, r6} pop {r0} @@ -61593,7 +61593,7 @@ sub_8020DE8: @ 0x08020DE8 cmp r0, #0x28 ble _08020E3C adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08020E3C: add sp, #4 pop {r4, r5, r6} @@ -61681,7 +61681,7 @@ sub_8020EAC: @ 0x08020EAC movs r1, #0 bl SetBackgroundTileDataOffset adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08020EF4: pop {r4} pop {r0} @@ -61719,11 +61719,11 @@ sub_8020F00: @ 0x08020F00 movs r0, #7 bl BG_EnableSyncByMask ldr r0, _08020FE0 @ gUnknown_0859B0E0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r0, _08020FE4 @ gUnknown_0859B108 - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r0, _08020FE8 @ gUnknown_0859B160 - bl DeleteEach6C + bl Proc_DeleteAllWithScript bl sub_8001710 ldr r5, _08020FEC @ gUnknown_02022968 adds r0, r5, #0 @@ -61849,7 +61849,7 @@ _08021064: bge _0802107A bl sub_8030C40 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0802107A: pop {r4, r5} pop {r0} @@ -61876,7 +61876,7 @@ sub_8021090: @ 0x08021090 cmp r0, #0 beq _080210A4 adds r0, r3, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080210BA _080210A4: adds r0, r3, #0 @@ -61888,7 +61888,7 @@ _080210A4: cmp r1, #0 bge _080210BA adds r0, r3, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080210BA: pop {r0} bx r0 @@ -62015,7 +62015,7 @@ sub_8021188: @ 0x08021188 _080211B2: bl sub_8030C40 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080211BC: pop {r4} pop {r0} @@ -62295,7 +62295,7 @@ sub_80213F4: @ 0x080213F4 cmp r0, #0 bge _08021422 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08021422: pop {r4} pop {r0} @@ -62324,7 +62324,7 @@ sub_8021434: @ 0x08021434 bge _08021450 adds r0, r4, #0 movs r1, #0x63 - bl Goto6CLabel + bl Proc_GotoLabel _08021450: ldr r0, _0802146C @ gUnknown_0858791C ldr r0, [r0] @@ -62335,7 +62335,7 @@ _08021450: beq _08021466 adds r0, r4, #0 movs r1, #0x63 - bl Goto6CLabel + bl Proc_GotoLabel _08021466: pop {r4} pop {r0} @@ -62385,7 +62385,7 @@ sub_80214A8: @ 0x080214A8 cmp r0, #0x20 bne _080214CC adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080214CC: pop {r4} pop {r0} @@ -62430,14 +62430,14 @@ sub_8021518: @ 0x08021518 cmp r1, #0 beq _0802152C ldr r0, _08021528 @ gUnknown_0859B358 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _08021534 .align 2, 0 _08021528: .4byte gUnknown_0859B358 _0802152C: ldr r0, _08021538 @ gUnknown_0859B358 movs r1, #3 - bl New6C + bl Proc_Create _08021534: pop {r0} bx r0 @@ -62549,7 +62549,7 @@ sub_80215F0: @ 0x080215F0 cmp r4, #0xff bne _08021630 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08021656 .align 2, 0 _0802162C: .4byte gUnknown_080D7B30 @@ -62602,7 +62602,7 @@ sub_8021684: @ 0x08021684 adds r5, r2, #0 ldr r0, _080216C8 @ gUnknown_0859B3B0 adds r1, r3, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild lsls r0, r4, #4 ldr r2, _080216CC @ gUnknown_0202BCB0 movs r3, #0xc @@ -62736,7 +62736,7 @@ sub_8021784: @ 0x08021784 cmp r4, #0xff bne _080217C4 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080217EA .align 2, 0 _080217C0: .4byte gUnknown_080D7B64 @@ -62789,7 +62789,7 @@ sub_8021818: @ 0x08021818 adds r5, r2, #0 ldr r0, _0802185C @ gUnknown_0859B3D0 adds r1, r3, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild lsls r0, r4, #4 ldr r2, _08021860 @ gUnknown_0202BCB0 movs r3, #0xc @@ -62923,7 +62923,7 @@ sub_8021918: @ 0x08021918 cmp r4, #0xff bne _08021958 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0802197E .align 2, 0 _08021954: .4byte gUnknown_080D7B98 @@ -62976,7 +62976,7 @@ sub_80219AC: @ 0x080219AC adds r5, r2, #0 ldr r0, _080219F0 @ gUnknown_0859B3F0 adds r1, r3, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild lsls r0, r4, #4 ldr r2, _080219F4 @ gUnknown_0202BCB0 movs r3, #0xc @@ -63099,7 +63099,7 @@ sub_8021A94: @ 0x08021A94 cmp r1, #0xff bne _08021AD0 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08021AEA .align 2, 0 _08021ACC: .4byte gUnknown_080D7BCC @@ -63149,7 +63149,7 @@ sub_8021B04: @ 0x08021B04 cmp r0, #0 bge _08021B2A adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08021B2A: pop {r4, r5} pop {r0} @@ -63175,7 +63175,7 @@ sub_8021B30: @ 0x08021B30 ldrsb r5, [r0, r5] ldr r0, _08021B94 @ gUnknown_0859B410 adds r1, r6, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild lsls r0, r4, #4 ldr r2, _08021B98 @ gUnknown_0202BCB0 movs r3, #0xc @@ -63343,7 +63343,7 @@ _08021C9E: cmp r4, #0xff bne _08021CD0 adds r0, r3, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08021CF6 .align 2, 0 _08021CC4: .4byte gUnknown_0859B48C @@ -63414,7 +63414,7 @@ sub_8021D34: @ 0x08021D34 lsrs r5, r5, #0x18 ldr r0, _08021D9C @ gUnknown_0859B4D0 adds r1, r6, #0 - bl New6C + bl Proc_Create lsls r4, r4, #0x18 asrs r4, r4, #0x18 adds r1, r0, #0 @@ -63467,7 +63467,7 @@ sub_8021DA4: @ 0x08021DA4 lsrs r4, r4, #0x18 ldr r0, _08021DF4 @ gUnknown_0859B4D0 mov r1, r8 - bl New6C + bl Proc_Create adds r3, r0, #0 lsls r4, r4, #0x18 asrs r4, r4, #0x18 @@ -63501,7 +63501,7 @@ _08021DF4: .4byte gUnknown_0859B4D0 sub_8021DF8: @ 0x08021DF8 push {lr} ldr r0, _08021E0C @ gUnknown_0859B4D0 - bl Find6C + bl Proc_Find cmp r0, #0 beq _08021E06 movs r0, #1 @@ -63600,7 +63600,7 @@ _08021E86: cmp r0, #0x46 ble _08021EB8 adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08021EB8: pop {r3, r4, r5} mov r8, r3 @@ -63707,7 +63707,7 @@ _08021F34: bl SetBackgroundTileDataOffset ldr r0, _08021FB4 @ gUnknown_0859B4F8 adds r1, r5, #0 - bl New6C + bl Proc_Create str r6, [r0, #0x2c] str r7, [r0, #0x30] adds r0, #0x4c @@ -63786,7 +63786,7 @@ _08022026: cmp r2, #0 bge _0802203E adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r1, [r4, #0x14] adds r1, #0x4c ldrh r0, [r1] @@ -63881,7 +63881,7 @@ _080220D8: _080220E0: ldr r0, _080221A4 @ gUnknown_0859B510 adds r1, r6, #0 - bl New6C + bl Proc_Create adds r5, r0, #0 bl GetOtherRN ldr r1, [r6, #0x34] @@ -63938,7 +63938,7 @@ _0802214E: bgt _080221EE ldr r0, _080221A4 @ gUnknown_0859B510 adds r1, r6, #0 - bl New6C + bl Proc_Create adds r5, r0, #0 bl GetOtherRN ldr r1, [r6, #0x34] @@ -64002,7 +64002,7 @@ _080221CE: cmp r1, r0 ble _080221EE adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback movs r0, #0 strh r0, [r4] adds r1, r6, #0 @@ -64077,7 +64077,7 @@ sub_8022250: @ 0x08022250 bl RegisterTileGraphics ldr r0, _080222B0 @ gUnknown_0859B528 adds r1, r6, #0 - bl New6C + bl Proc_Create adds r3, r0, #0 mov r0, r8 str r0, [r3, #0x34] @@ -64114,7 +64114,7 @@ _080222B4: .4byte 0x0000FFFF sub_80222B8: @ 0x080222B8 push {lr} ldr r0, _080222CC @ gUnknown_0859B528 - bl Find6C + bl Proc_Find adds r0, #0x64 movs r1, #0 strh r1, [r0] @@ -64127,7 +64127,7 @@ _080222CC: .4byte gUnknown_0859B528 sub_80222D0: @ 0x080222D0 push {lr} ldr r0, _080222DC @ gUnknown_0859B528 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -64192,7 +64192,7 @@ sub_8022300: @ 0x08022300 bl TCSWrapper_New ldr r0, _08022378 @ gUnknown_0859B560 adds r1, r4, #0 - bl New6C + bl Proc_Create add sp, #8 pop {r4, r5, r6} pop {r0} @@ -64224,7 +64224,7 @@ sub_802237C: @ 0x0802237C _08022398: ldr r1, _080223A8 @ 0x000003E7 ldr r0, [sp] - bl Goto6CLabel + bl Proc_GotoLabel b _080224BE .align 2, 0 _080223A4: .4byte gUnknown_0202BCF0 @@ -64503,7 +64503,7 @@ _080225F4: .4byte 0x00000864 CommandEffectEndPlayerPhase: @ 0x080225F8 push {lr} ldr r0, _08022608 @ gUnknown_0859AAD8 - bl DeleteEach6C + bl Proc_DeleteAllWithScript movs r0, #0x17 pop {r1} bx r1 @@ -64514,9 +64514,9 @@ _08022608: .4byte gUnknown_0859AAD8 sub_802260C: @ 0x0802260C push {lr} ldr r0, _08022624 @ gUnknown_0859AAD8 - bl Find6C + bl Proc_Find movs r1, #0xa - bl Goto6CLabel + bl Proc_GotoLabel bl sub_80920C4 movs r0, #0x17 pop {r1} @@ -64529,7 +64529,7 @@ sub_8022628: @ 0x08022628 push {lr} ldr r0, _08022638 @ gUnknown_08A2ECE0 movs r1, #3 - bl New6C + bl Proc_Create movs r0, #0x17 pop {r1} bx r1 @@ -64631,7 +64631,7 @@ Make6CE_Guide: @ 0x080226E4 push {lr} ldr r0, _080226F4 @ gUnknown_08B12C64 movs r1, #3 - bl New6C + bl Proc_Create movs r0, #0x17 pop {r1} bx r1 @@ -64648,9 +64648,9 @@ sub_80226F8: @ 0x080226F8 adds r0, #0x3e strb r1, [r0] ldr r0, _08022720 @ gUnknown_0859AAD8 - bl Find6C + bl Proc_Find movs r1, #0xc - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #0x17 pop {r1} bx r1 @@ -64740,7 +64740,7 @@ sub_80227A4: @ 0x080227A4 movs r4, #0x11 ldrsb r4, [r0, r4] ldr r0, _08022800 @ gUnknown_0859A548 - bl DeleteEach6C + bl Proc_DeleteAllWithScript lsls r0, r4, #4 bl GetSomeAdjustedCameraY lsls r0, r0, #0x10 @@ -64802,7 +64802,7 @@ GenericSelection_BackToUM_CamWait: @ 0x0802282C bl sub_8003D20 ldr r0, _0802285C @ gUnknown_0859B600 movs r1, #3 - bl New6C + bl Proc_Create movs r0, #0x19 pop {r1} bx r1 @@ -65525,7 +65525,7 @@ _08022E04: strb r0, [r1, #0x15] _08022E22: ldr r0, _08022E34 @ gUnknown_0859E520 - bl DeleteEach6C + bl Proc_DeleteAllWithScript movs r0, #0x17 _08022E2A: pop {r4} @@ -65570,7 +65570,7 @@ sub_8022E64: @ 0x08022E64 beq _08022E84 ldr r0, _08022E80 @ gUnknown_0859B630 movs r1, #3 - bl New6C + bl Proc_Create movs r0, #0xb b _08022E86 .align 2, 0 @@ -78718,7 +78718,7 @@ WarpTargetPosSelect_Loop: @ 0x0802969C cmp r6, #0 beq _08029730 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r1, _08029720 @ gUnknown_0203A958 ldrh r0, [r4, #0x14] strb r0, [r1, #0x13] @@ -78768,7 +78768,7 @@ _08029742: beq _08029778 adds r0, r5, #0 movs r1, #0x63 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _080297C8 @ gUnknown_02023CA8 movs r1, #0 bl BG_Fill @@ -78870,7 +78870,7 @@ WarpTargetPosSelect_Cancel: @ 0x0802980C bl SetCursorMapPosition ldr r0, _0802983C @ gUnknown_0859B600 movs r1, #3 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -78898,7 +78898,7 @@ WarpTargetSelection_OnSelect: @ 0x08029854 strb r0, [r1, #0xd] ldr r0, _08029878 @ gUnknown_0859B9B8 movs r1, #3 - bl New6C + bl Proc_Create movs r0, #4 pop {r4} pop {r1} @@ -79598,7 +79598,7 @@ TorchTargetSelection_Loop: @ 0x08029DF0 bl PlaySound _08029E34: adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r1, _08029E60 @ gUnknown_0203A958 ldrh r0, [r5, #0x14] strb r0, [r1, #0x13] @@ -79639,7 +79639,7 @@ _08029E7A: bl BG_EnableSyncByMask adds r0, r6, #0 movs r1, #0x63 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _08029EC8 @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -79671,7 +79671,7 @@ NewTorchStaffSelection: @ 0x08029ED8 push {lr} ldr r0, _08029EF8 @ gUnknown_0859BA38 movs r1, #3 - bl New6C + bl Proc_Create ldr r0, _08029EFC @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -85583,7 +85583,7 @@ SaveInstigatorWith10ExtraExp: @ 0x0802CC38 bl InstigatorAdd10Exp ldr r0, _0802CC50 @ gUnknown_0859BAC4 adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r4} pop {r0} bx r0 @@ -85647,7 +85647,7 @@ _0802CC9A: _0802CCC0: ldr r0, _0802CCD8 @ gUnknown_0859BAC4 adds r1, r6, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r4, r5, r6} pop {r0} bx r0 @@ -87188,7 +87188,7 @@ _0802D870: beq _0802D8D4 adds r0, r4, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _0802D8D0 @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -87209,7 +87209,7 @@ _0802D8D4: beq _0802D8FC adds r0, r4, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _0802D8F8 @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -87229,7 +87229,7 @@ _0802D8FC: beq _0802D90E ldr r0, _0802D914 @ gUnknown_0859BBD4 adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild _0802D90E: pop {r4} pop {r0} @@ -87416,7 +87416,7 @@ _0802DA7E: bl PlaySound _0802DA82: adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0802DAA2 .align 2, 0 _0802DA8C: .4byte gUnknown_0202BCF0 @@ -87428,7 +87428,7 @@ _0802DA90: beq _0802DAA2 ldr r0, _0802DAA8 @ gUnknown_0859BBD4 adds r1, r5, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild _0802DAA2: pop {r4, r5} pop {r0} @@ -87505,7 +87505,7 @@ sub_802DAFC: @ 0x0802DAFC bl sub_802D58C adds r0, r4, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #0 b _0802DB42 .align 2, 0 @@ -87550,7 +87550,7 @@ sub_802DB5C: @ 0x0802DB5C cmp r6, #0 bne _0802DB8C adds r0, r2, #0 - bl Delete6C + bl Proc_Delete b _0802DBF0 _0802DB8C: adds r0, r3, #0 @@ -87662,7 +87662,7 @@ _0802DC56: cmp r0, #0 beq _0802DC6C mov r0, sb - bl Break6CLoop + bl Proc_ClearNativeCallback _0802DC6C: ldr r5, _0802DCD0 @ gUnknown_0859BADC mov r1, r8 @@ -87798,7 +87798,7 @@ sub_802DD6C: @ 0x0802DD6C adds r4, r1, #0 ldr r0, _0802DDC8 @ gUnknown_0859BB1C movs r1, #3 - bl New6C + bl Proc_Create adds r2, r0, #0 str r6, [r2, #0x2c] str r4, [r2, #0x30] @@ -87923,7 +87923,7 @@ sub_802DE6C: @ 0x0802DE6C push {lr} ldr r0, _0802DE7C @ gUnknown_0859BBF4 movs r1, #3 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -87934,7 +87934,7 @@ sub_802DE80: @ 0x0802DE80 push {lr} ldr r0, _0802DE90 @ gUnknown_0859BC0C movs r1, #3 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -87944,7 +87944,7 @@ _0802DE90: .4byte gUnknown_0859BC0C sub_802DE94: @ 0x0802DE94 push {lr} ldr r0, _0802DEA0 @ gUnknown_0859BBF4 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -87954,7 +87954,7 @@ _0802DEA0: .4byte gUnknown_0859BBF4 sub_802DEA4: @ 0x0802DEA4 push {lr} ldr r0, _0802DEB0 @ gUnknown_0859BC0C - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -87980,7 +87980,7 @@ sub_802DEBC: @ 0x0802DEBC cmp r0, #0 bge _0802DED6 adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0802DED6: pop {r0} bx r0 @@ -88000,7 +88000,7 @@ sub_802DEDC: @ 0x0802DEDC cmp r0, #8 beq _0802DEFA ldr r0, _0802DF04 @ gUnknown_0859BC24 - bl NewBlocking6C + bl Proc_CreateBlockingChild _0802DEFA: pop {r0} bx r0 @@ -88076,7 +88076,7 @@ _0802DF84: _0802DF96: adds r0, r4, #0 movs r1, #0x65 - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #1 b _0802E09A .align 2, 0 @@ -88304,7 +88304,7 @@ sub_802E12C: @ 0x0802E12C push {lr} adds r1, r0, #0 ldr r0, _0802E13C @ gUnknown_0859BC3C - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r0} bx r0 .align 2, 0 @@ -90301,7 +90301,7 @@ ExecWarpStaff: @ 0x0802EFAC bl BeginBattleAnimations ldr r0, _0802F00C @ gUnknown_0859BDF0 adds r1, r5, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r4, r5} pop {r0} bx r0 @@ -92038,7 +92038,7 @@ _0802FF76: bne _0802FF8C ldr r0, _0802FF88 @ gUnknown_0859BE28 adds r1, r6, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _0802FFA2 .align 2, 0 _0802FF88: .4byte gUnknown_0859BE28 @@ -92052,7 +92052,7 @@ _0802FF8C: blt _0802FFA2 ldr r0, _0802FFB0 @ gUnknown_0859BE10 adds r1, r6, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild _0802FFA2: pop {r3} mov r8, r3 @@ -92100,7 +92100,7 @@ _0802FFEC: blt _08030002 ldr r0, _08030018 @ gUnknown_0859BE10 adds r1, r6, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild _08030002: pop {r4, r5, r6} pop {r0} @@ -92273,7 +92273,7 @@ GameVBlank6C_Destructor: @ 0x08030138 GameVBlank6C_Loop: @ 0x08030144 push {lr} movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel pop {r0} bx r0 @@ -92282,7 +92282,7 @@ SetupGameVBlank6C: @ 0x08030150 push {lr} ldr r0, _0803016C @ gUnknown_0859D8B8 movs r1, #0 - bl New6C + bl Proc_Create bl SetupGameVBlank6C_TileAnimations bl SetupWeatherGraphics_Maybe ldr r1, _08030170 @ gUnknown_0202BCB0 @@ -92298,7 +92298,7 @@ _08030170: .4byte gUnknown_0202BCB0 sub_8030174: @ 0x08030174 push {lr} ldr r0, _08030180 @ gUnknown_0859D8B8 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -92322,7 +92322,7 @@ BlockGameGraphicsLogic: @ 0x08030184 strh r0, [r1] bl EnablePaletteSync movs r0, #1 - bl BlockEach6CMarked + bl Proc_BlockEachWithMark _080301AC: pop {r0} bx r0 @@ -92345,12 +92345,12 @@ UnblockGameGraphicsLogic: @ 0x080301B8 cmp r0, #0 bne _080301E8 movs r0, #1 - bl UnblockEach6CMarked + bl Proc_UnblockEachWithMark ldr r0, _080301F0 @ gUnknown_0859D8B8 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080301E8 - bl Delete6C + bl Proc_Delete bl SetupGameVBlank6C _080301E8: pop {r0} @@ -93648,7 +93648,7 @@ _08030C20: .4byte gUnknown_0202BCF0 sub_8030C24: @ 0x08030C24 push {lr} ldr r0, _08030C3C @ gUnknown_0859D8B8 - bl Find6C + bl Proc_Find adds r1, r0, #0 cmp r1, #0 beq _08030C36 @@ -93664,7 +93664,7 @@ _08030C3C: .4byte gUnknown_0859D8B8 sub_8030C40: @ 0x08030C40 push {r4, lr} ldr r0, _08030C70 @ gUnknown_0859D8B8 - bl Find6C + bl Proc_Find adds r4, r0, #0 cmp r4, #0 beq _08030C68 @@ -94061,7 +94061,7 @@ sub_8030F48: @ 0x08030F48 bl SetupGameVBlank6C ldr r0, _08030FD8 @ gUnknown_0859D908 movs r1, #4 - bl New6C + bl Proc_Create ldr r0, _08030FDC @ gUnknown_020228A8 strh r5, [r0] bl EnablePaletteSync @@ -94247,7 +94247,7 @@ sub_8031154: @ 0x08031154 bl _MOVEUNIT6C_SetDefaultFacingDirection ldr r0, _08031174 @ gUnknown_0859D9E4 movs r1, #3 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -94290,7 +94290,7 @@ MakeBMAPMAIN: @ 0x080311BC adds r4, r0, #0 ldr r0, _080311E8 @ gUnknown_0859A1F0 movs r1, #2 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x54] adds r4, #0x28 @@ -94300,7 +94300,7 @@ MakeBMAPMAIN: @ 0x080311BC bl SetupGameVBlank6C ldr r0, _080311EC @ gUnknown_0859D908 movs r1, #4 - bl New6C + bl Proc_Create adds r0, r5, #0 pop {r4, r5} pop {r1} @@ -94313,15 +94313,15 @@ _080311EC: .4byte gUnknown_0859D908 sub_80311F0: @ 0x080311F0 push {lr} movs r0, #1 - bl DeleteEach6CMarked + bl Proc_DeleteEachWithMark ldr r0, _08031210 @ gUnknown_0859A1F0 - bl Find6C + bl Proc_Find ldr r2, [r0, #0x54] adds r2, #0x28 ldrb r1, [r2] subs r1, #1 strb r1, [r2] - bl Delete6C + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -94469,7 +94469,7 @@ sub_8031300: @ 0x08031300 strb r0, [r2, #1] adds r0, r4, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel pop {r4} pop {r0} bx r0 @@ -94499,7 +94499,7 @@ sub_803133C: @ 0x0803133C strb r0, [r2, #1] adds r0, r4, #0 movs r1, #6 - bl Goto6CLabel + bl Proc_GotoLabel ldr r4, _080313B0 @ gUnknown_0203A958 ldrb r0, [r4, #0xc] bl GetUnitStruct @@ -94555,7 +94555,7 @@ sub_80313BC: @ 0x080313BC strb r0, [r2, #1] adds r0, r4, #0 movs r1, #7 - bl Goto6CLabel + bl Proc_GotoLabel pop {r4} pop {r0} bx r0 @@ -94604,7 +94604,7 @@ sub_80313F8: @ 0x080313F8 bl SMS_UpdateFromGameData adds r0, r6, #0 movs r1, #0xa - bl Goto6CLabel + bl Proc_GotoLabel bl sub_80B578C pop {r4, r5, r6} pop {r0} @@ -94638,7 +94638,7 @@ sub_8031474: @ 0x08031474 strb r0, [r2, #1] adds r0, r4, #0 movs r1, #8 - bl Goto6CLabel + bl Proc_GotoLabel pop {r4} pop {r0} bx r0 @@ -96416,7 +96416,7 @@ ActionDrop: @ 0x080321E0 bl UpdateRescuingData ldr r0, _08032250 @ gUnknown_0859DA6C adds r1, r6, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild str r5, [r0, #0x54] b _08032262 .align 2, 0 @@ -96526,7 +96526,7 @@ _08032324: _08032330: ldr r0, _08032340 @ gUnknown_0859DABC adds r1, r7, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild movs r0, #0 pop {r4, r5, r6, r7} pop {r1} @@ -96539,7 +96539,7 @@ ActionArena: @ 0x08032344 push {lr} adds r1, r0, #0 ldr r0, _08032354 @ gUnknown_0859DB24 - bl NewBlocking6C + bl Proc_CreateBlockingChild movs r0, #0 pop {r1} bx r1 @@ -96890,7 +96890,7 @@ sub_80325AC: @ 0x080325AC cmp r0, r1 bne _08032646 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08032646: add sp, #4 pop {r3} @@ -96934,7 +96934,7 @@ sub_8032674: @ 0x08032674 beq _08032716 ldr r0, _0803271C @ gUnknown_0859DA94 adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r4, r0, #0 ldrb r0, [r5, #0x1b] bl GetUnitStruct @@ -97065,7 +97065,7 @@ BATTLE_GOTO1_IfNobodyIsDead: @ 0x08032774 _0803279C: adds r0, r2, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _080327A4: pop {r0} bx r0 @@ -97101,7 +97101,7 @@ BATTLE_ProbablyMakesTheDeadUnitDissapear: @ 0x080327C8 cmp r0, #0 beq _080327F2 ldr r0, _08032854 @ gUnknown_089A2C48 - bl Find6C + bl Proc_Find adds r4, r0, #0 bl MOVEUNIT6C_807959C str r4, [r6, #0x54] @@ -97307,7 +97307,7 @@ sub_8032974: @ 0x08032974 beq _08032994 adds r0, r2, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _08032994: pop {r0} bx r0 @@ -98588,7 +98588,7 @@ sub_8033358: @ 0x08033358 push {lr} movs r1, #1 str r1, [r0, #0x58] - bl Break6CLoop + bl Proc_ClearNativeCallback bl sub_803334C pop {r0} bx r0 @@ -98612,7 +98612,7 @@ sub_803336C: @ 0x0803336C movs r2, #0 bl DisplayCursor adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback bl sub_803334C pop {r4, r5} pop {r0} @@ -98629,7 +98629,7 @@ sub_80333A4: @ 0x080333A4 beq _080333BC adds r0, r4, #0 movs r1, #0x37 - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #1 b _080333BE _080333BC: @@ -98643,7 +98643,7 @@ _080333BE: sub_80333C4: @ 0x080333C4 push {lr} movs r1, #0x33 - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #1 pop {r1} bx r1 @@ -98688,7 +98688,7 @@ sub_803341C: @ 0x0803341C movs r1, #8 str r1, [r0, #0x58] movs r1, #0x39 - bl Goto6CLabel + bl Proc_GotoLabel pop {r0} bx r0 @@ -98720,7 +98720,7 @@ sub_8033458: @ 0x08033458 movs r1, #9 str r1, [r0, #0x58] movs r1, #0x3b - bl Goto6CLabel + bl Proc_GotoLabel pop {r0} bx r0 @@ -98735,7 +98735,7 @@ sub_8033468: @ 0x08033468 bl NewMenu_Default adds r0, r4, #0 movs r1, #0x3a - bl Goto6CLabel + bl Proc_GotoLabel pop {r4} pop {r0} bx r0 @@ -98940,7 +98940,7 @@ sub_8033620: @ 0x08033620 push {lr} adds r1, r0, #0 ldr r0, _08033630 @ gUnknown_0859DBA4 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -98951,7 +98951,7 @@ sub_8033634: @ 0x08033634 push {lr} bl sub_8089570 ldr r0, _08033644 @ gUnknown_0859DBA4 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -99188,7 +99188,7 @@ _0803380A: bne _0803383C adds r0, r3, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel b _08033864 .align 2, 0 _08033838: .4byte gUnknown_0858791C @@ -99211,7 +99211,7 @@ _0803383C: cmp r0, #0 bgt _08033864 adds r0, r3, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08033864: pop {r4, r5} pop {r0} @@ -99328,7 +99328,7 @@ sub_8033940: @ 0x08033940 bl sub_80332D0 _08033958: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0803395E: ldr r1, _08033974 @ gUnknown_0202BCB0 movs r2, #0x20 @@ -99426,7 +99426,7 @@ _080339CC: bl sub_808894C adds r0, r5, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel b _08033BEC .align 2, 0 _08033A34: .4byte gUnknown_0202BCB0 @@ -99448,7 +99448,7 @@ _08033A3C: strb r0, [r4, #0x13] adds r0, r5, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel adds r4, #0x41 ldrb r0, [r4] b _08033B36 @@ -99531,7 +99531,7 @@ _08033AD0: _08033B10: adds r0, r5, #0 movs r1, #0x3c - bl Goto6CLabel + bl Proc_GotoLabel b _08033BEC .align 2, 0 _08033B1C: .4byte gUnknown_0202BCF0 @@ -99540,7 +99540,7 @@ _08033B24: .4byte gUnknown_0202E4DC _08033B28: adds r0, r5, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _08033B44 @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -99568,7 +99568,7 @@ _08033B48: bne _08033BA4 adds r0, r5, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel b _08033BEC .align 2, 0 _08033B6C: .4byte gUnknown_03004E50 @@ -99600,7 +99600,7 @@ _08033B90: _08033BA4: adds r0, r5, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel b _08033BEC .align 2, 0 _08033BB0: .4byte gUnknown_03004E50 @@ -99617,7 +99617,7 @@ _08033BB4: bl sub_80A87DC adds r0, r5, #0 movs r1, #9 - bl Goto6CLabel + bl Proc_GotoLabel b _08033BEC .align 2, 0 _08033BD8: .4byte gUnknown_0858791C @@ -99640,9 +99640,9 @@ _08033BF4: .4byte gUnknown_0202BCB0 sub_8033BF8: @ 0x08033BF8 push {lr} ldr r0, _08033C0C @ gUnknown_0859DBBC - bl Find6C + bl Proc_Find movs r1, #0x33 - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #0x17 pop {r1} bx r1 @@ -99776,7 +99776,7 @@ _08033D04: ldr r0, [r4, #0x54] bl TCS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback bl DeleteEach6CBB b _08033DCA .align 2, 0 @@ -99806,7 +99806,7 @@ _08033D54: bl TCS_Free adds r0, r4, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel bl DeleteEach6CBB ldr r0, _08033D84 @ gUnknown_0202BCF0 adds r0, #0x41 @@ -99986,7 +99986,7 @@ sub_8033EC0: @ 0x08033EC0 push {lr} adds r1, r0, #0 ldr r0, _08033ED0 @ gUnknown_08A2ED88 - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r0} bx r0 .align 2, 0 @@ -100079,7 +100079,7 @@ sub_8033F34: @ 0x08033F34 _08033F84: adds r0, r5, #0 movs r1, #9 - bl Goto6CLabel + bl Proc_GotoLabel b _08034058 .align 2, 0 _08033F90: .4byte gUnknown_0858791C @@ -100129,7 +100129,7 @@ _08033FD2: bl sub_808894C adds r0, r5, #0 movs r1, #6 - bl Goto6CLabel + bl Proc_GotoLabel _08034002: ldr r0, _08034070 @ gUnknown_0858791C ldr r0, [r0] @@ -100206,7 +100206,7 @@ sub_8034090: @ 0x08034090 bl sub_80311A8 adds r0, r6, #0 movs r1, #0xc - bl Goto6CLabel + bl Proc_GotoLabel b _08034102 .align 2, 0 _080340AC: .4byte gUnknown_03004E50 @@ -100249,7 +100249,7 @@ _080340B0: str r0, [r2, #0xc] adds r0, r6, #0 movs r1, #0xb - bl Goto6CLabel + bl Proc_GotoLabel _08034102: pop {r4, r5, r6} pop {r0} @@ -100478,7 +100478,7 @@ _080342BA: ble _0803427C bl ShrinkPlayerUnits ldr r0, _080342F0 @ gUnknown_0859DBBC - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r3, _080342F4 @ gUnknown_0202BCB0 ldrb r2, [r3, #4] movs r1, #0xef @@ -100506,7 +100506,7 @@ _080342F8: .4byte gUnknown_0202BCF0 sub_80342FC: @ 0x080342FC push {lr} ldr r0, _08034310 @ gUnknown_0859DBBC - bl Find6C + bl Proc_Find cmp r0, #0 beq _0803430A movs r0, #1 @@ -101125,7 +101125,7 @@ NewUnitInfoWindow: @ 0x080347A8 push {r4, lr} adds r1, r0, #0 ldr r0, _080347D0 @ gUnknown_0859E13C - bl New6C + bl Proc_Create adds r4, r0, #0 adds r0, #0x30 movs r1, #6 @@ -101214,7 +101214,7 @@ UnitInfoWindow_DrawBase: @ 0x0803483C cmp r0, #0 bne _08034862 ldr r0, _080349C0 @ gUnknown_0859E13C - bl Find6C + bl Proc_Find mov r8, r0 bl ClearBG0BG1 _08034862: @@ -102906,7 +102906,7 @@ sub_803564C: @ 0x0803564C movs r0, #0 bl SetPrimaryHBlankHandler adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0803566E: pop {r4} pop {r0} @@ -102926,7 +102926,7 @@ sub_8035678: @ 0x08035678 strh r1, [r0] ldr r0, _08035694 @ gUnknown_0859E188 movs r1, #3 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -102942,7 +102942,7 @@ sub_8035698: @ 0x08035698 movs r0, #0 bl sub_8015EDC ldr r0, _080356B8 @ gUnknown_0859E188 - bl ClearCallbackAll6CMatch + bl Proc_ClearNativeCallbackEachWithScript pop {r0} bx r0 .align 2, 0 @@ -103004,7 +103004,7 @@ NewBottomHelpText: @ 0x08035708 beq _08035734 ldr r0, _08035740 @ gUnknown_0859E1B8 adds r1, r2, #0 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] bl sub_80354E0 bl sub_801A278 @@ -103025,7 +103025,7 @@ _08035744: .4byte gUnknown_0202BCB0 DeleteEach6CBB: @ 0x08035748 push {lr} ldr r0, _08035754 @ gUnknown_0859E1B8 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -103035,7 +103035,7 @@ _08035754: .4byte gUnknown_0859E1B8 sub_8035758: @ 0x08035758 push {lr} ldr r0, _0803576C @ gUnknown_0859E1B8 - bl Find6C + bl Proc_Find cmp r0, #0 beq _08035766 movs r0, #1 @@ -103052,13 +103052,13 @@ sub_8035770: @ 0x08035770 adds r7, r1, #0 ldr r5, _080357A4 @ gUnknown_0859E1B8 adds r0, r5, #0 - bl Find6C + bl Proc_Find adds r4, r0, #0 cmp r4, #0 bne _0803578E adds r0, r5, #0 adds r1, r6, #0 - bl New6C + bl Proc_Create adds r4, r0, #0 _0803578E: str r7, [r4, #0x2c] @@ -103386,7 +103386,7 @@ sub_8035A0C: @ 0x08035A0C bne _08035A2A adds r0, r5, #0 movs r1, #0x63 - bl Goto6CLabel + bl Proc_GotoLabel b _08035A9E _08035A2A: movs r1, #0 @@ -103427,7 +103427,7 @@ _08035A6E: strh r0, [r1] adds r0, r5, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel b _08035A9E .align 2, 0 _08035A84: .4byte gUnknown_0202BCB0 @@ -103439,7 +103439,7 @@ _08035A88: adds r0, #1 strh r0, [r6] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08035A9E: pop {r4, r5, r6} pop {r0} @@ -103635,7 +103635,7 @@ sub_8035BEC: @ 0x08035BEC cmp r0, #0 bge _08035C32 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08035C32: add sp, #4 pop {r4, r5, r6} @@ -103703,7 +103703,7 @@ sub_8035C80: @ 0x08035C80 cmp r0, #0 bge _08035CB0 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08035CB0: pop {r4} pop {r0} @@ -103806,7 +103806,7 @@ sub_8035D44: @ 0x08035D44 cmp r0, #0x20 bne _08035D6A adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08035D6A: pop {r4, r5} pop {r0} @@ -103829,7 +103829,7 @@ sub_8035D70: @ 0x08035D70 cmp r0, #0 bge _08035D94 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08035D94: pop {r4, r5} pop {r0} @@ -103877,7 +103877,7 @@ sub_8035DDC: @ 0x08035DDC beq _08035E10 ldr r0, _08035E08 @ gUnknown_0859E2D0 adds r1, r2, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild ldr r0, _08035E0C @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -103894,7 +103894,7 @@ _08035E0C: .4byte gUnknown_0202BCF0 _08035E10: ldr r0, _08035E1C @ gUnknown_0859E2D0 movs r1, #3 - bl NewBlocking6C + bl Proc_CreateBlockingChild _08035E18: pop {r0} bx r0 @@ -103912,7 +103912,7 @@ sub_8035E20: @ 0x08035E20 cmp r0, #0 bne _08035E40 adds r0, r4, #0 - bl Delete6C + bl Proc_Delete b _08035E48 .align 2, 0 _08035E3C: .4byte gUnknown_0202BCF0 @@ -103949,7 +103949,7 @@ sub_8035E50: @ 0x08035E50 cmp r4, r0 bne _08035E8C adds r0, r7, #0 - bl Delete6C + bl Proc_Delete b _08035ED2 .align 2, 0 _08035E88: .4byte gUnknown_0203A958 @@ -103973,7 +103973,7 @@ _08035E8C: bne _08035EC0 adds r0, r7, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel b _08035ED2 .align 2, 0 _08035EB8: .4byte gUnknown_0202BCF0 @@ -103985,7 +103985,7 @@ _08035EC0: bne _08035ED2 adds r0, r7, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _08035ED2: pop {r4, r5, r6, r7} pop {r0} @@ -104115,7 +104115,7 @@ sub_8035FB8: @ 0x08035FB8 cmp r0, #0 bne _08035FE0 adds r0, r4, #0 - bl Delete6C + bl Proc_Delete b _08035FE8 .align 2, 0 _08035FDC: .4byte gUnknown_0202BCF0 @@ -104231,7 +104231,7 @@ sub_80360B8: @ 0x080360B8 cmp r0, #0 bne _080360D8 adds r0, r4, #0 - bl Delete6C + bl Proc_Delete b _080360E0 .align 2, 0 _080360D4: .4byte gUnknown_0202BCF0 @@ -104325,7 +104325,7 @@ sub_8036188: @ 0x08036188 cmp r0, #0 bne _0803619C adds r0, r4, #0 - bl Delete6C + bl Proc_Delete b _080361A6 _0803619C: adds r1, r4, #0 @@ -104468,7 +104468,7 @@ sub_80362A4: @ 0x080362A4 cmp r4, r0 bne _080362E0 adds r0, r7, #0 - bl Delete6C + bl Proc_Delete b _0803632E .align 2, 0 _080362DC: .4byte gUnknown_0203A958 @@ -104496,7 +104496,7 @@ _080362E0: bne _0803631C adds r0, r7, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel b _0803632E .align 2, 0 _08036314: .4byte gUnknown_0202BCF0 @@ -104508,7 +104508,7 @@ _0803631C: bne _0803632E adds r0, r7, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _0803632E: pop {r4, r5, r6, r7} pop {r0} @@ -104644,7 +104644,7 @@ _0803641E: strh r0, [r1] adds r0, r5, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel b _0803646E _08036432: ldr r5, _0803645C @ gUnknown_0203A958 @@ -106169,7 +106169,7 @@ sub_803705C: @ 0x0803705C cmp r1, r0 beq _08037094 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080370C0 _08037094: adds r0, r4, #0 @@ -106324,7 +106324,7 @@ _080371C2: movs r0, #0 strb r0, [r6] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080371DA: pop {r3, r4, r5} mov r8, r3 @@ -106431,7 +106431,7 @@ _080372A6: movs r0, #0 strb r0, [r6] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080372BE: pop {r3, r4, r5} mov r8, r3 @@ -106490,7 +106490,7 @@ _08037324: .4byte gUnknown_0202BCF0 _08037328: ldr r0, _08037360 @ gUnknown_0859E520 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 adds r1, r5, #0 adds r1, #0x33 @@ -106543,7 +106543,7 @@ _08037388: .4byte gUnknown_0202E4E0 sub_803738C: @ 0x0803738C push {lr} ldr r0, _080373B0 @ gUnknown_0859E520 - bl Find6C + bl Proc_Find adds r1, r0, #0 cmp r1, #0 beq _080373AC @@ -106566,7 +106566,7 @@ _080373B0: .4byte gUnknown_0859E520 sub_80373B4: @ 0x080373B4 push {r4, lr} ldr r0, _080373DC @ gUnknown_0859E520 - bl Find6C + bl Proc_Find adds r4, r0, #0 cmp r4, #0 beq _080373E8 @@ -106578,14 +106578,14 @@ sub_80373B4: @ 0x080373B4 bne _080373E0 bl ClearBG0BG1 adds r0, r4, #0 - bl Delete6C + bl Proc_Delete b _080373E8 .align 2, 0 _080373DC: .4byte gUnknown_0859E520 _080373E0: adds r0, r4, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _080373E8: pop {r4} pop {r0} @@ -106596,7 +106596,7 @@ sub_80373F0: @ 0x080373F0 push {r4, r5, r6, lr} adds r6, r0, #0 ldr r0, _0803743C @ gUnknown_0859E520 - bl Find6C + bl Proc_Find adds r4, r0, #0 cmp r4, #0 beq _08037460 @@ -106685,7 +106685,7 @@ sub_8037494: @ 0x08037494 push {r4, lr} adds r4, r0, #0 ldr r0, _080374BC @ gUnknown_0859E520 - bl Find6C + bl Proc_Find ldr r1, _080374C0 @ gUnknown_0203A4EC adds r1, #0x53 movs r2, #0 @@ -106709,7 +106709,7 @@ sub_80374C4: @ 0x080374C4 push {r4, lr} adds r4, r0, #0 ldr r0, _080374EC @ gUnknown_0859E520 - bl Find6C + bl Proc_Find ldr r1, _080374F0 @ gUnknown_0203A56C adds r1, #0x53 movs r2, #0 @@ -106957,7 +106957,7 @@ _08037690: ldr r0, _080376B4 @ gUnknown_0859E5FC _080376A4: adds r1, r6, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r1, r0, #0 adds r0, #0x50 strh r4, [r0] @@ -108480,7 +108480,7 @@ sub_80381E0: @ 0x080381E0 push {lr} adds r1, r0, #0 ldr r0, _080381F0 @ gUnknown_0859E64C - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r0} bx r0 .align 2, 0 @@ -108491,7 +108491,7 @@ sub_80381F4: @ 0x080381F4 push {lr} adds r1, r0, #0 ldr r0, _08038204 @ gUnknown_0859E6EC - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r0} bx r0 .align 2, 0 @@ -110022,7 +110022,7 @@ sub_8038EA8: @ 0x08038EA8 cmp r0, #0 beq _08038EC4 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08038EC4: pop {r4} pop {r0} @@ -110042,7 +110042,7 @@ sub_8038ED0: @ 0x08038ED0 cmp r0, #0 beq _08038EE8 adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08038EE8: pop {r0} bx r0 @@ -110378,7 +110378,7 @@ _080391AE: movs r0, #1 bl BG_EnableSyncByMask adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080391BA: add sp, #0x10 pop {r4, r5} @@ -110398,14 +110398,14 @@ sub_80391D0: @ 0x080391D0 cmp r1, #0 beq _080391E8 ldr r0, _080391E4 @ gUnknown_0859E804 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _080391F0 .align 2, 0 _080391E4: .4byte gUnknown_0859E804 _080391E8: ldr r0, _080391FC @ gUnknown_0859E804 movs r1, #3 - bl New6C + bl Proc_Create _080391F0: str r4, [r0, #0x2c] str r5, [r0, #0x30] @@ -110747,7 +110747,7 @@ sub_803948C: @ 0x0803948C movs r1, #8 bl sub_8038668 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -110825,7 +110825,7 @@ _0803950E: bl PlaySound _08039538: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0803953E: add sp, #0x1c pop {r4, r5} @@ -110940,7 +110940,7 @@ _08039616: cmp r1, r0 blt _08039624 adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08039624: add sp, #8 pop {r3} @@ -110963,7 +110963,7 @@ sub_803963C: @ 0x0803963C movs r0, #0x74 bl sub_80D02C8 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08039658 _08039654: subs r0, #1 @@ -111011,7 +111011,7 @@ sub_8039690: @ 0x08039690 bgt _080396A6 adds r0, r1, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _080396A6: pop {r0} bx r0 @@ -111058,7 +111058,7 @@ _080396D2: bl SetupUnitInventoryAIFlags ldr r0, _08039714 @ gUnknown_085A7F5C adds r1, r6, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r4, r5, r6} pop {r0} bx r0 @@ -111104,7 +111104,7 @@ _0803973A: bl SetupUnitInventoryAIFlags ldr r0, _08039774 @ gUnknown_085A7F74 adds r1, r6, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r4, r5, r6} pop {r0} bx r0 @@ -111211,7 +111211,7 @@ _08039814: str r0, [r1] ldr r0, _08039854 @ gUnknown_085A7FCC mov r1, r8 - bl NewBlocking6C + bl Proc_CreateBlockingChild _08039830: add sp, #0xc pop {r3} @@ -111247,7 +111247,7 @@ sub_8039858: @ 0x08039858 str r0, [r1] ldr r0, _08039894 @ gUnknown_085A7FCC adds r1, r5, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild _08039882: pop {r4, r5} pop {r0} @@ -111554,7 +111554,7 @@ _08039AB8: .4byte gUnknown_0203AA04 THUMB_FUNC_START CPORDER_End CPORDER_End: @ 0x08039ABC push {lr} - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r0} bx r0 @@ -111683,7 +111683,7 @@ _08039BBE: str r0, [r4, #0x74] adds r0, r7, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel b _08039BFA .align 2, 0 _08039BD0: .4byte gUnknown_03004F10 @@ -111695,14 +111695,14 @@ _08039BD8: str r1, [r0, #0x74] ldr r0, _08039BF0 @ gUnknown_085A8024 adds r1, r7, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _08039BFA .align 2, 0 _08039BEC: .4byte gUnknown_0203AA04 _08039BF0: .4byte gUnknown_085A8024 _08039BF4: adds r0, r7, #0 - bl Delete6C + bl Proc_Delete _08039BFA: pop {r4, r5, r6, r7} pop {r0} @@ -112069,7 +112069,7 @@ sub_8039E88: @ 0x08039E88 ble _08039EBC _08039EB2: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback adds r2, r4, #0 adds r2, #0x64 _08039EBC: @@ -112090,7 +112090,7 @@ sub_8039ECC: @ 0x08039ECC adds r6, r2, #0 adds r1, r3, #0 ldr r0, _08039EF0 @ gUnknown_085A8004 - bl NewBlocking6C + bl Proc_CreateBlockingChild str r4, [r0, #0x2c] str r5, [r0, #0x30] str r6, [r0, #0x58] @@ -112107,7 +112107,7 @@ _08039EF0: .4byte gUnknown_085A8004 sub_8039EF4: @ 0x08039EF4 push {lr} ldr r0, _08039F08 @ gUnknown_08587988 - bl Find6C + bl Proc_Find cmp r0, #0 bne _08039F04 bl sub_80160D0 @@ -112977,7 +112977,7 @@ sub_803A5F8: @ 0x0803A5F8 cmp r0, #1 bne _0803A61C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0803A61C: ldr r3, _0803A634 @ gUnknown_03004E50 ldr r1, [r3] @@ -113013,7 +113013,7 @@ sub_803A63C: @ 0x0803A63C _0803A65C: adds r0, r4, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _0803A664: pop {r4} pop {r0} @@ -130337,7 +130337,7 @@ _08042BAA: cmp r0, r1 blo _08042BCC adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08042BCC: pop {r4, r5, r6} pop {r0} @@ -130396,7 +130396,7 @@ sub_8042C00: @ 0x08042C00 adds r1, #0x3a strb r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08042C3C: add sp, #8 pop {r4} @@ -130486,7 +130486,7 @@ _08042CDA: cmp r0, r1 blo _08042CE8 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08042CE8: add sp, #4 pop {r4, r5, r6} @@ -130532,7 +130532,7 @@ _08042D32: lsrs r4, r4, #0x18 ldr r0, _08042D6C @ gUnknown_085A92E4 ldr r1, [sp, #0x18] - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r3, r0, #0 str r7, [r3, #0x30] adds r0, #0x34 @@ -130567,7 +130567,7 @@ sub_8042D70: @ 0x08042D70 adds r4, r1, #0 adds r1, r2, #0 ldr r0, _08042D98 @ gUnknown_085A9304 - bl NewBlocking6C + bl Proc_CreateBlockingChild str r4, [r0, #0x2c] str r5, [r0, #0x30] adds r2, r0, #0 @@ -130588,11 +130588,11 @@ _08042D98: .4byte gUnknown_085A9304 sub_8042D9C: @ 0x08042D9C push {lr} ldr r0, _08042DB8 @ gUnknown_085A92E4 - bl Find6C + bl Proc_Find cmp r0, #0 bne _08042DC0 ldr r0, _08042DBC @ gUnknown_085A9304 - bl Find6C + bl Proc_Find cmp r0, #0 bne _08042DC0 movs r0, #0 @@ -130687,7 +130687,7 @@ sub_8042E2C: @ 0x08042E2C adds r1, r5, #0 bl sub_8042568 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08042E68: add sp, #4 pop {r4, r5, r6} @@ -130839,7 +130839,7 @@ sub_8042F58: @ 0x08042F58 cmp r0, #0 beq _08042F74 adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08042F74: pop {r0} bx r0 @@ -130888,7 +130888,7 @@ sub_8042F98: @ 0x08042F98 lsls r0, r1 strb r0, [r4, #0xa] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08042FD0: pop {r4, r5} pop {r0} @@ -130926,7 +130926,7 @@ sub_8042FFC: @ 0x08042FFC ldr r7, [sp, #0x18] ldr r0, _08043028 @ gUnknown_085A93B8 adds r1, r4, #0 - bl New6C + bl Proc_Create str r5, [r0, #0x2c] str r6, [r0, #0x30] mov r1, r8 @@ -130944,7 +130944,7 @@ _08043028: .4byte gUnknown_085A93B8 sub_804302C: @ 0x0804302C push {lr} ldr r0, _08043038 @ gUnknown_085A93B8 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -131306,7 +131306,7 @@ sub_8043308: @ 0x08043308 push {lr} adds r1, r0, #0 ldr r0, _08043318 @ gUnknown_085A94AC - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r0} bx r0 .align 2, 0 @@ -131748,7 +131748,7 @@ sub_80435F0: @ 0x080435F0 bl sub_80437C0 adds r0, r7, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel b _08043698 .align 2, 0 _08043678: .4byte gUnknown_085A94A0 @@ -131888,7 +131888,7 @@ _0804377A: bl sub_804D24C mov r1, sb ldr r0, [r1, #0x30] - bl Delete6C + bl Proc_Delete mov r1, sb adds r1, #0x52 movs r0, #4 @@ -132433,7 +132433,7 @@ _08043BEA: bl sub_804320C adds r0, r4, #0 movs r1, #9 - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #0xff mov r2, r8 strb r0, [r2, #3] @@ -132446,7 +132446,7 @@ _08043C44: movs r0, #2 bl sub_804320C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08043C7C _08043C52: movs r0, #0 @@ -132466,7 +132466,7 @@ _08043C5A: str r0, [r4, #0x44] adds r0, r4, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel b _08043CD8 _08043C7C: ldr r5, _08043CE8 @ gUnknown_0858791C @@ -132480,7 +132480,7 @@ _08043C7C: bl sub_804320C adds r0, r4, #0 movs r1, #9 - bl Goto6CLabel + bl Proc_GotoLabel ldr r1, _08043CEC @ gUnknown_0203DA24 movs r0, #0xff strb r0, [r1, #3] @@ -132512,7 +132512,7 @@ _08043CCA: strb r0, [r1, #3] adds r0, r4, #0 movs r1, #9 - bl Goto6CLabel + bl Proc_GotoLabel _08043CD8: pop {r3, r4, r5} mov r8, r3 @@ -132532,7 +132532,7 @@ sub_8043CF4: @ 0x08043CF4 sub sp, #0x10 adds r4, r0, #0 ldr r0, [r4, #0x2c] - bl Delete6C + bl Proc_Delete bl nullsub_13 bl EndBG3Slider bl ClearUnits @@ -132562,11 +132562,11 @@ sub_8043D3C: @ 0x08043D3C push {r4, lr} adds r4, r0, #0 ldr r0, _08043D58 @ gUnknown_08A178C0 - bl Find6C + bl Proc_Find cmp r0, #0 bne _08043D50 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08043D50: pop {r4} pop {r0} @@ -132635,7 +132635,7 @@ sub_8043D8C: @ 0x08043D8C bne _08043DD8 adds r0, r7, #0 movs r1, #8 - bl Goto6CLabel + bl Proc_GotoLabel b _08044270 .align 2, 0 _08043DD0: .4byte gUnknown_085A93E0 @@ -132811,7 +132811,7 @@ _08043F28: strb r0, [r2, #3] _08043F40: adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08044270 .align 2, 0 _08043F48: .4byte gUnknown_0203DA24 @@ -132832,7 +132832,7 @@ _08043F50: bl sub_804320C adds r0, r7, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel b _08044270 .align 2, 0 _08043F78: .4byte gUnknown_0203DB7C @@ -132921,7 +132921,7 @@ _08043FEE: str r0, [r7, #0x30] adds r0, r7, #0 movs r1, #7 - bl Goto6CLabel + bl Proc_GotoLabel b _080440C6 .align 2, 0 _08044030: .4byte gUnknown_0203DB7C @@ -132993,7 +132993,7 @@ _080440BA: str r0, [r7, #0x44] adds r0, r7, #0 movs r1, #6 - bl Goto6CLabel + bl Proc_GotoLabel _080440C6: ldr r0, _080440FC @ gUnknown_0858791C ldr r0, [r0] @@ -133012,7 +133012,7 @@ _080440C6: movs r0, #4 strb r0, [r1] ldr r0, [r7, #0x30] - bl Delete6C + bl Proc_Delete b _08044270 .align 2, 0 _080440F0: .4byte gUnknown_0203DB7C @@ -133024,14 +133024,14 @@ _08044100: beq _0804410E adds r0, r7, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel b _0804411A _0804410E: movs r0, #0 str r0, [r7, #0x44] adds r0, r7, #0 movs r1, #6 - bl Goto6CLabel + bl Proc_GotoLabel _0804411A: ldr r0, _080441C4 @ gUnknown_0858791C ldr r0, [r0] @@ -133061,7 +133061,7 @@ _08044148: strb r0, [r1, #3] adds r0, r7, #0 movs r1, #9 - bl Goto6CLabel + bl Proc_GotoLabel _08044156: ldr r0, _080441C4 @ gUnknown_0858791C ldr r0, [r0] @@ -133242,7 +133242,7 @@ sub_804429C: @ 0x0804429C bne _080442BC adds r0, r4, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel _080442BC: ldr r0, [r4, #0x44] adds r0, #1 @@ -133311,7 +133311,7 @@ sub_8044324: @ 0x08044324 bne _08044344 adds r0, r4, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel _08044344: ldr r0, [r4, #0x44] adds r0, #1 @@ -133485,7 +133485,7 @@ _08044484: movs r0, #1 bl sub_804320C ldr r0, [r4, #0x30] - bl Delete6C + bl Proc_Delete ldr r0, [r4, #0x58] adds r0, #4 lsls r0, r0, #6 @@ -133498,7 +133498,7 @@ _08044484: movs r0, #1 bl BG_EnableSyncByMask adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08044524 .align 2, 0 _080444D4: .4byte gUnknown_0858791C @@ -133509,7 +133509,7 @@ _080444DC: cmp r0, #0 beq _08044524 ldr r0, [r4, #0x30] - bl Delete6C + bl Proc_Delete ldrb r0, [r5] cmp r0, #0 bne _080444FE @@ -133534,7 +133534,7 @@ _08044504: movs r0, #1 bl BG_EnableSyncByMask adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08044524: pop {r4, r5} pop {r0} @@ -134332,7 +134332,7 @@ _08044B5C: bl sub_80314EC _08044B62: adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08044B70 _08044B6A: movs r0, #0 @@ -134736,7 +134736,7 @@ _08044E6C: _08044E88: adds r0, r5, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel b _08044ED0 .align 2, 0 _08044E94: .4byte gUnknown_0858791C @@ -134764,7 +134764,7 @@ _08044EB8: bl sub_804320C adds r0, r5, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel _08044ED0: pop {r4, r5, r6, r7} pop {r0} @@ -134939,7 +134939,7 @@ sub_8044FFC: @ 0x08044FFC cmp r0, #8 bls _0804502E adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0804502E: add sp, #4 pop {r4, r5, r6} @@ -134996,7 +134996,7 @@ sub_8045068: @ 0x08045068 movs r0, #0 bl SetPrimaryHBlankHandler adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080450A0: add sp, #4 pop {r4, r5, r6} @@ -135107,7 +135107,7 @@ _08045158: movs r0, #1 bl BG_EnableSyncByMask adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080451E6 .align 2, 0 _08045198: .4byte gUnknown_0858791C @@ -135127,7 +135127,7 @@ _080451A0: strb r0, [r1] adds r0, r5, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel b _080451CE .align 2, 0 _080451C4: .4byte gUnknown_0203DD24 @@ -135143,7 +135143,7 @@ _080451CE: movs r0, #1 bl BG_EnableSyncByMask adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080451E6: pop {r4, r5} pop {r0} @@ -135200,7 +135200,7 @@ sub_8045234: @ 0x08045234 cmp r0, #0x20 ble _0804524E adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0804524E: ldr r0, [r4, #0x64] cmp r0, #0 @@ -135498,7 +135498,7 @@ sub_8045494: @ 0x08045494 lsrs r5, r5, #0x18 ldr r0, _080454E0 @ gUnknown_085A96F4 mov r1, r8 - bl New6C + bl Proc_Create adds r1, r0, #0 mov r0, r8 str r0, [r1, #0x2c] @@ -135676,7 +135676,7 @@ sub_8045610: @ 0x08045610 adds r4, r0, #0 ldr r0, _08045630 @ gUnknown_085A9774 adds r1, r4, #0 - bl New6C + bl Proc_Create adds r1, r0, #0 adds r0, r4, #0 adds r0, #0x42 @@ -135941,7 +135941,7 @@ _08045880: cmp r0, #0 bne _0804588C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0804588C: add sp, #4 pop {r4, r5, r6} @@ -135976,7 +135976,7 @@ sub_804589C: @ 0x0804589C movs r1, #1 bl SoundStuff_80D0394 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080458D2: pop {r4} pop {r0} @@ -136395,7 +136395,7 @@ New6C_SIOMAIN2: @ 0x08045C14 push {lr} ldr r0, _08045C24 @ gUnknown_085AA6BC movs r1, #2 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -136406,7 +136406,7 @@ sub_8045C28: @ 0x08045C28 push {r4, r5, lr} adds r4, r0, #0 ldr r0, _08045C60 @ gUnknown_085AA6BC - bl Find6C + bl Proc_Find cmp r0, #0 bne _08045C5A ldr r5, _08045C64 @ gUnknown_0203DA24 @@ -136415,17 +136415,17 @@ sub_8045C28: @ 0x08045C28 bne _08045C46 adds r0, r4, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _08045C46: ldrb r0, [r5, #0xb] cmp r0, #2 bne _08045C54 adds r0, r4, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel _08045C54: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08045C5A: pop {r4, r5} pop {r0} @@ -136473,11 +136473,11 @@ sub_8045C68: @ 0x08045C68 sub_8045CBC: @ 0x08045CBC push {lr} ldr r0, _08045CD4 @ gUnknown_085A9354 - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r0, _08045CD8 @ gUnknown_085A937C - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r0, _08045CDC @ gUnknown_085A932C - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -136738,13 +136738,13 @@ sub_8045F00: @ 0x08045F00 strh r1, [r0] ldr r0, _08045F3C @ gUnknown_085A9354 movs r1, #0 - bl New6C + bl Proc_Create ldr r0, _08045F40 @ gUnknown_085A937C adds r1, r4, #0 - bl New6C + bl Proc_Create ldr r0, _08045F44 @ gUnknown_085A932C adds r1, r4, #0 - bl New6C + bl Proc_Create movs r1, #1 rsbs r1, r1, #0 mov r0, sp @@ -136773,7 +136773,7 @@ sub_8045F48: @ 0x08045F48 strb r1, [r0] bl sub_8045CEC ldr r0, _08045F8C @ gUnknown_085A932C - bl Find6C + bl Proc_Find cmp r0, #0 beq _08045F94 ldr r0, _08045F90 @ gUnknown_0858791C @@ -136808,7 +136808,7 @@ _08045F94: bl sub_8045CE0 adds r0, r4, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel _08045FBC: ldr r0, _08046004 @ gUnknown_085A92E0 ldr r2, [r0] @@ -136842,7 +136842,7 @@ _08045FEE: bl sub_8045CE0 adds r0, r4, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel b _0804618A .align 2, 0 _08046000: .4byte gUnknown_0858791C @@ -136999,7 +136999,7 @@ _0804612A: bl sub_8042AF4 _08046150: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0804618A .align 2, 0 _08046158: .4byte 0x00000749 @@ -137069,7 +137069,7 @@ _080461C4: bl sub_804C2EC adds r0, r4, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel b _08046220 .align 2, 0 _080461F4: .4byte gUnknown_0203DD28 @@ -137094,11 +137094,11 @@ _08046200: bne _0804622E _08046220: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0804622E _08046228: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0804622E: pop {r4} pop {r0} @@ -137208,7 +137208,7 @@ sub_80462D4: @ 0x080462D4 bl sub_8043100 str r4, [r7, #0x38] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08046398 .align 2, 0 _08046310: .4byte gUnknown_085A92E0 @@ -137271,7 +137271,7 @@ _08046318: bl sub_8043100 str r6, [r7, #0x38] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08046398: add sp, #0x14 pop {r4, r5, r6, r7} @@ -137359,7 +137359,7 @@ _0804643C: ldrb r0, [r4] strb r0, [r1] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0804644C: pop {r4, r5, r6, r7} pop {r0} @@ -137683,7 +137683,7 @@ _080466BA: lsls r0, r1 strb r0, [r2, #0xa] mov r0, r8 - bl Break6CLoop + bl Proc_ClearNativeCallback _080466DA: add sp, #0x28 pop {r3, r4, r5} @@ -137768,9 +137768,9 @@ _0804674E: cmp r0, r2 bne _08046790 ldr r0, _080467A8 @ gUnknown_085A93A0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08046790: pop {r4, r5, r6} pop {r0} @@ -137824,7 +137824,7 @@ sub_80467AC: @ 0x080467AC bl Text_Draw ldr r0, _08046834 @ gUnknown_085A93A0 adds r1, r6, #0 - bl New6C + bl Proc_Create movs r0, #0xf bl BG_EnableSyncByMask add sp, #4 @@ -138439,7 +138439,7 @@ _08046D2A: movs r0, #2 bl sub_804320C adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08046D44: ldr r0, [r4] ldrh r1, [r0, #8] @@ -138451,7 +138451,7 @@ _08046D44: bl sub_804320C adds r0, r6, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel _08046D5E: add sp, #4 pop {r4, r5, r6} @@ -138503,7 +138503,7 @@ sub_8046DB4: @ 0x08046DB4 bne _08046DC8 adds r0, r1, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _08046DC8: pop {r0} bx r0 @@ -138520,7 +138520,7 @@ sub_8046DD0: @ 0x08046DD0 bne _08046DE4 adds r0, r1, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel _08046DE4: pop {r0} bx r0 @@ -138532,11 +138532,11 @@ sub_8046DEC: @ 0x08046DEC push {r4, lr} adds r4, r0, #0 ldr r0, _08046E08 @ gUnknown_08A1829C - bl Find6C + bl Proc_Find cmp r0, #0 bne _08046E00 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08046E00: pop {r4} pop {r0} @@ -138563,7 +138563,7 @@ sub_8046E0C: @ 0x08046E0C bl sub_8096454 adds r0, r4, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel _08046E40: pop {r4} pop {r0} @@ -139112,7 +139112,7 @@ _080472E4: movs r0, #1 bl sub_804320C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080472FE: pop {r4, r5, r6} pop {r0} @@ -139404,7 +139404,7 @@ sub_8047570: @ 0x08047570 cmp r0, #5 bne _08047596 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08047596: adds r5, r4, #0 adds r5, #0x38 @@ -139472,7 +139472,7 @@ _0804760C: cmp r0, r7 bne _08047622 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08047622: pop {r3} mov r8, r3 @@ -139494,7 +139494,7 @@ sub_804762C: @ 0x0804762C movs r0, #0 bl SoundStuff_800231C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0804764A: pop {r4} pop {r0} @@ -139507,7 +139507,7 @@ sub_8047654: @ 0x08047654 push {r4, lr} adds r4, r0, #0 ldr r0, _08047668 @ gUnknown_085A9D98 - bl NewBlocking6C + bl Proc_CreateBlockingChild str r4, [r0, #0x3c] pop {r4} pop {r0} @@ -139841,7 +139841,7 @@ sub_8047928: @ 0x08047928 ldr r0, _08047A48 @ gUnknown_0203DB10 bl sub_80A6A04 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08047952: mov r0, sp bl sub_804766C @@ -140272,7 +140272,7 @@ _08047C9A: movs r1, #1 bl sub_8043100 adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08047CDA: ldr r0, [r7, #0x54] adds r0, #1 @@ -140346,7 +140346,7 @@ _08047D18: cmp r0, #0xf ble _08047D6C adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08047D6C: ldr r0, [r5, #0x54] adds r0, #1 @@ -140718,7 +140718,7 @@ _0804805C: ldr r0, [r4, #0x48] strb r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08048080: ldr r0, [r5] ldrh r1, [r0, #8] @@ -140734,7 +140734,7 @@ _08048080: movs r0, #0xff strb r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080480A4: pop {r4, r5} pop {r0} @@ -140757,7 +140757,7 @@ sub_80480B4: @ 0x080480B4 cmp r0, #0xff bne _080480D0 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080480D0: ldrb r2, [r4] ldr r0, [r5, #0x54] @@ -140817,7 +140817,7 @@ _0804813E: cmp r0, #0x20 ble _0804814A adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0804814A: ldr r0, [r5, #0x54] adds r0, #1 @@ -140853,7 +140853,7 @@ sub_8048168: @ 0x08048168 movs r4, #4 _0804818A: ldm r5!, {r0} - bl Delete6C + bl Proc_Delete subs r4, #1 cmp r4, #0 bge _0804818A @@ -140866,9 +140866,9 @@ _0804818A: bl nullsub_13 bl sub_8042E88 ldr r0, _080481C4 @ gUnknown_0859AA5C - bl DeleteEach6C + bl Proc_DeleteAllWithScript adds r0, r6, #0 - bl Delete6C + bl Proc_Delete b _080481D8 .align 2, 0 _080481BC: .4byte gUnknown_080D9EFC @@ -140881,7 +140881,7 @@ _080481C8: add r0, sp ldr r0, [r0] adds r1, r6, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild _080481D8: add sp, #0x14 pop {r4, r5, r6} @@ -140926,10 +140926,10 @@ _08048204: strb r0, [r1] ldr r0, _08048258 @ gUnknown_085A9E88 adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild ldr r0, _0804825C @ gUnknown_0859AA5C movs r1, #3 - bl New6C + bl Proc_Create pop {r4} pop {r0} bx r0 @@ -140946,7 +140946,7 @@ sub_8048260: @ 0x08048260 push {lr} adds r1, r0, #0 ldr r0, _0804827C @ gUnknown_085A9614 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r3, r0, #0 adds r3, #0x33 movs r2, #0 @@ -140983,7 +140983,7 @@ sub_8048280: @ 0x08048280 strb r0, [r1] ldr r0, _080482DC @ gUnknown_085A9614 adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r2, r0, #0 adds r2, #0x33 movs r1, #5 @@ -141008,7 +141008,7 @@ sub_80482E0: @ 0x080482E0 adds r5, r0, #0 movs r4, #0 ldr r0, _08048308 @ gUnknown_085A932C - bl Find6C + bl Proc_Find cmp r0, #0 beq _08048310 ldr r0, _0804830C @ gUnknown_0858791C @@ -141629,7 +141629,7 @@ sub_80487C0: @ 0x080487C0 movs r4, #4 _080487D0: ldm r5!, {r0} - bl Delete6C + bl Proc_Delete subs r4, #1 cmp r4, #0 bge _080487D0 @@ -141968,7 +141968,7 @@ sub_8048A6C: @ 0x08048A6C bl BG_SetPosition ldr r0, _08048A90 @ gUnknown_085AA06C movs r1, #3 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -141978,7 +141978,7 @@ _08048A90: .4byte gUnknown_085AA06C sub_8048A94: @ 0x08048A94 push {lr} ldr r0, _08048AA4 @ gUnknown_085AA06C - bl DeleteEach6C + bl Proc_DeleteAllWithScript bl ClearBG0BG1 pop {r0} bx r0 @@ -142227,7 +142227,7 @@ _08048C64: movs r0, #0 str r0, [r7, #0x3c] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08048C98: add sp, #8 pop {r3, r4, r5} @@ -142282,7 +142282,7 @@ sub_8048CB8: @ 0x08048CB8 cmp r0, #0x20 bls _08048D0C adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08048D0C: add sp, #4 pop {r4, r5, r6} @@ -142443,7 +142443,7 @@ _08048E2E: ldr r1, [r4, #0x38] str r1, [r0] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08048E56: add sp, #4 pop {r4, r5} @@ -142464,7 +142464,7 @@ sub_8048E6C: @ 0x08048E6C cmp r0, #0x14 bls _08048E80 adds r0, r1, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08048E80: pop {r0} bx r0 @@ -142605,7 +142605,7 @@ _08048F4A: movs r0, #0 strh r0, [r1] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08048FA6: add sp, #4 pop {r3, r4, r5} @@ -142735,7 +142735,7 @@ _0804906A: cmp r0, #0x10 ble _080490C2 adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080490C2: add sp, #8 pop {r3, r4, r5} @@ -142817,7 +142817,7 @@ _08049142: beq _080491E8 ldr r0, _080491E0 @ gUnknown_085AA0F0 ldr r1, [sp, #0x34] - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r2, r0, #0 adds r0, #0x32 strb r4, [r0] @@ -142882,7 +142882,7 @@ _080491F0: beq _0804921A ldr r0, _08049220 @ gUnknown_085AA130 ldr r1, [sp, #0x34] - bl NewBlocking6C + bl Proc_CreateBlockingChild ldr r1, [sp, #8] str r1, [r0, #0x2c] ldr r1, [sp, #0xc] @@ -143747,7 +143747,7 @@ _08049860: bl sub_804B38C ldr r0, _080498EC @ gUnknown_0859D908 movs r1, #4 - bl New6C + bl Proc_Create bl SetupGameVBlank6C bl sub_80497CC ldr r2, _080498F0 @ gUnknown_0202BCF0 @@ -143815,7 +143815,7 @@ sub_8049940: @ 0x08049940 cmp r0, #0 beq _0804995A adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0804995A: pop {r0} bx r0 @@ -143859,7 +143859,7 @@ _080499A2: ldr r0, _080499B4 @ gUnknown_085AA2FC _080499A4: adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _080499C0 .align 2, 0 _080499AC: .4byte gUnknown_0202BCF0 @@ -143868,10 +143868,10 @@ _080499B4: .4byte gUnknown_085AA2FC _080499B8: ldr r0, _080499CC @ gUnknown_085AA4CC adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild _080499C0: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -143900,7 +143900,7 @@ _080499EC: _080499F2: adds r0, r3, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel b _08049A56 _080499FC: ldr r0, _08049A10 @ gUnknown_0203DD90 @@ -143910,7 +143910,7 @@ _080499FC: bne _08049A14 adds r0, r3, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel b _08049A56 .align 2, 0 _08049A10: .4byte gUnknown_0203DD90 @@ -144048,7 +144048,7 @@ _08049B00: .4byte gUnknown_085A92E0 sub_8049B04: @ 0x08049B04 push {lr} ldr r0, _08049B20 @ gUnknown_0859D908 - bl DeleteEach6C + bl Proc_DeleteAllWithScript bl sub_804B3A0 bl sub_8030174 movs r0, #1 @@ -144297,10 +144297,10 @@ sub_8049CD4: @ 0x08049CD4 bl sub_8048A94 adds r0, r4, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel _08049CF6: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -144316,7 +144316,7 @@ sub_8049D0C: @ 0x08049D0C cmp r0, #7 bgt _08049D1E adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08049D1E: pop {r4} pop {r0} @@ -144425,7 +144425,7 @@ _08049DB2: bl sub_8049350 adds r0, r6, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel b _08049F12 .align 2, 0 _08049E0C: .4byte gUnknown_080D9FB5 @@ -144466,7 +144466,7 @@ _08049E42: bl ClearMOVEUNITs adds r0, r6, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel b _08049F12 .align 2, 0 _08049E70: .4byte gUnknown_0202BCF0 @@ -144490,7 +144490,7 @@ _08049E7C: bl PlaySound adds r0, r6, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel b _08049F12 .align 2, 0 _08049EA8: .4byte gUnknown_0202BCF0 @@ -144665,7 +144665,7 @@ _08049FE6: bl sub_8048A94 mov r0, r8 movs r1, #7 - bl Goto6CLabel + bl Proc_GotoLabel b _0804A0F0 .align 2, 0 _0804A020: .4byte gUnknown_0203DD90 @@ -144717,7 +144717,7 @@ _0804A05A: bl sub_8049350 mov r0, r8 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel b _0804A0F0 .align 2, 0 _0804A0A0: .4byte gUnknown_0202BCF0 @@ -144739,7 +144739,7 @@ _0804A0A8: bl ClearMOVEUNITs mov r0, r8 movs r1, #6 - bl Goto6CLabel + bl Proc_GotoLabel b _0804A0F0 .align 2, 0 _0804A0D0: .4byte gUnknown_03004E50 @@ -144824,7 +144824,7 @@ sub_804A158: @ 0x0804A158 ldr r0, [r0] bl sub_80492B8 adds r0, r5, #0 - bl Delete6C + bl Proc_Delete ldr r2, _0804A19C @ gUnknown_03003080 ldrb r0, [r2, #1] movs r1, #1 @@ -144838,7 +144838,7 @@ _0804A198: .4byte gUnknown_03004E50 _0804A19C: .4byte gUnknown_03003080 _0804A1A0: adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r2, _0804A1CC @ gUnknown_03003080 ldrb r1, [r2, #1] movs r0, #2 @@ -145021,7 +145021,7 @@ _0804A304: bl sub_80492B8 adds r0, r6, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel b _0804A396 .align 2, 0 _0804A320: .4byte gUnknown_03001818 @@ -145064,7 +145064,7 @@ _0804A35A: ldr r0, [r7] bl sub_80492B8 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0804A396 .align 2, 0 _0804A384: .4byte gUnknown_03004E50 @@ -145073,7 +145073,7 @@ _0804A388: bl sub_80492B8 adds r0, r6, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _0804A396: add sp, #8 pop {r3, r4, r5} @@ -145119,7 +145119,7 @@ sub_804A3A8: @ 0x0804A3A8 _0804A3E6: bl sub_80373B4 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0804A426 .align 2, 0 _0804A3F4: .4byte gUnknown_03003080 @@ -145142,7 +145142,7 @@ _0804A41A: bl sub_80373B4 adds r0, r4, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel _0804A426: pop {r4} pop {r0} @@ -145156,9 +145156,9 @@ sub_804A430: @ 0x0804A430 adds r4, r0, #0 ldr r0, _0804A448 @ gUnknown_085AA1AC adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -145223,7 +145223,7 @@ _0804A494: bl sub_8049F38 adds r0, r5, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel b _0804A50E .align 2, 0 _0804A4D0: .4byte gUnknown_0203DD90 @@ -145422,9 +145422,9 @@ sub_804A614: @ 0x0804A614 strb r0, [r2, #4] ldr r0, _0804A6A0 @ gUnknown_085AA75C adds r1, r7, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0804A682: pop {r3} mov r8, r3 @@ -145557,7 +145557,7 @@ _0804A7A0: strb r0, [r1, #9] _0804A7A6: mov r0, sl - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r3, r4, r5} mov r8, r3 mov sb, r4 @@ -145714,7 +145714,7 @@ _0804A8CE: _0804A8F0: bl sub_80492D8 ldr r0, [sp, #0xc] - bl Break6CLoop + bl Proc_ClearNativeCallback add sp, #0x18 pop {r3, r4, r5} mov r8, r3 @@ -145896,14 +145896,14 @@ _0804AA5A: movs r0, #0xff bl sub_80492E8 mov r0, r8 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0804AA78 _0804AA6A: ldr r0, _0804AA84 @ gUnknown_0202BCF0 ldrb r0, [r0, #0xf] bl sub_80492E8 mov r0, r8 - bl Break6CLoop + bl Proc_ClearNativeCallback _0804AA78: pop {r3} mov r8, r3 @@ -146014,7 +146014,7 @@ _0804AB32: bl sub_80493D0 adds r0, r5, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel b _0804ABA4 .align 2, 0 _0804AB50: .4byte gUnknown_0203DD94 @@ -146035,7 +146035,7 @@ _0804AB54: bl NewPopupSimple adds r0, r5, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel b _0804ABA4 .align 2, 0 _0804AB80: .4byte gUnknown_0203DAC5 @@ -146050,7 +146050,7 @@ _0804AB8C: bl NewPopupSimple adds r0, r5, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel _0804ABA4: bl sub_804AAA4 add sp, #8 @@ -146128,7 +146128,7 @@ _0804AC24: bl SMS_UpdateFromGameData adds r0, r5, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel b _0804AC58 _0804AC3C: ldrb r0, [r4, #1] @@ -146142,7 +146142,7 @@ _0804AC3C: bl sub_80493D0 adds r0, r5, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel _0804AC58: bl sub_804AAA4 add sp, #8 @@ -146254,7 +146254,7 @@ _0804AD1C: bl SMS_UpdateFromGameData adds r0, r7, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel b _0804AD8A _0804AD34: ldr r5, _0804AD98 @ gUnknown_03001818 @@ -146296,7 +146296,7 @@ _0804AD6C: bl sub_804AC68 _0804AD84: adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0804AD8A: bl sub_804AAA4 add sp, #4 @@ -146445,7 +146445,7 @@ sub_804AE7C: @ 0x0804AE7C bl PlaySound adds r0, r5, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel _0804AEB0: movs r0, #1 b _0804AEBE @@ -146502,7 +146502,7 @@ _0804AF10: cmp r4, #3 ble _0804AEDC adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0804AF1C: pop {r4, r5, r6, r7} pop {r0} @@ -146809,7 +146809,7 @@ _0804B158: ldrb r2, [r2] strb r2, [r0, #1] ldr r0, [sp, #0x10] - bl Break6CLoop + bl Proc_ClearNativeCallback _0804B176: add sp, #0x3c pop {r3, r4, r5} @@ -146932,7 +146932,7 @@ sub_804B250: @ 0x0804B250 cmp r0, #0 bne _0804B272 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0804B272: pop {r4} pop {r0} @@ -147075,7 +147075,7 @@ sub_804B38C: @ 0x0804B38C push {lr} ldr r0, _0804B39C @ gUnknown_085AA24C movs r1, #4 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -147085,7 +147085,7 @@ _0804B39C: .4byte gUnknown_085AA24C sub_804B3A0: @ 0x0804B3A0 push {lr} ldr r0, _0804B3AC @ gUnknown_085AA24C - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -147117,7 +147117,7 @@ sub_804B3D0: @ 0x0804B3D0 bne _0804B3EC adds r0, r1, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel b _0804B3FE .align 2, 0 _0804B3E8: .4byte gUnknown_0203DD90 @@ -147144,7 +147144,7 @@ sub_804B408: @ 0x0804B408 bne _0804B420 strb r1, [r2, #9] movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel b _0804B432 .align 2, 0 _0804B41C: .4byte gUnknown_0203DD90 @@ -147172,7 +147172,7 @@ sub_804B43C: @ 0x0804B43C bne _0804B458 ldr r1, [r4, #0x58] adds r0, r4, #0 - bl Goto6CLabel + bl Proc_GotoLabel b _0804B474 .align 2, 0 _0804B454: .4byte gUnknown_0203DD90 @@ -147186,7 +147186,7 @@ _0804B458: bl sub_80492E8 adds r0, r4, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel _0804B474: pop {r4} pop {r0} @@ -147257,7 +147257,7 @@ _0804B4EA: bl sub_80492E8 adds r0, r5, #0 movs r1, #8 - bl Goto6CLabel + bl Proc_GotoLabel b _0804B512 .align 2, 0 _0804B4FC: .4byte gUnknown_0203DD90 @@ -147267,7 +147267,7 @@ _0804B504: bl sub_80492E8 adds r0, r5, #0 movs r1, #8 - bl Goto6CLabel + bl Proc_GotoLabel _0804B512: pop {r4, r5, r6} pop {r0} @@ -147286,7 +147286,7 @@ sub_804B518: @ 0x0804B518 bl sub_80492E8 adds r0, r4, #0 movs r1, #8 - bl Goto6CLabel + bl Proc_GotoLabel b _0804B54E .align 2, 0 _0804B538: .4byte gUnknown_0203DA24 @@ -147297,7 +147297,7 @@ _0804B53C: bl sub_80492E8 adds r0, r4, #0 movs r1, #8 - bl Goto6CLabel + bl Proc_GotoLabel _0804B54E: pop {r4} pop {r0} @@ -147357,7 +147357,7 @@ _0804B5AC: bl sub_80492E8 adds r0, r6, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel b _0804B5DA .align 2, 0 _0804B5C0: .4byte gUnknown_0203DD90 @@ -147368,7 +147368,7 @@ _0804B5CC: bl sub_80492E8 adds r0, r6, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel _0804B5DA: pop {r4, r5, r6} pop {r0} @@ -147385,7 +147385,7 @@ sub_804B5E0: @ 0x0804B5E0 bl sub_80492E8 adds r0, r4, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel pop {r4} pop {r0} bx r0 @@ -147420,7 +147420,7 @@ _0804B628: bne _0804B638 adds r0, r5, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel b _0804B69C _0804B638: ldr r0, [r5, #0x5c] @@ -147587,7 +147587,7 @@ _0804B770: ble _0804B782 bl sub_8089018 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0804B7DA _0804B782: ldr r0, [r4, #0x58] @@ -147651,7 +147651,7 @@ sub_804B7E4: @ 0x0804B7E4 bne _0804B7F8 adds r0, r1, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _0804B7F8: pop {r0} bx r0 @@ -147702,7 +147702,7 @@ sub_804B850: @ 0x0804B850 cmp r0, #0 bne _0804B86C ldr r0, _0804B8C4 @ gUnknown_089A2C48 - bl Find6C + bl Proc_Find adds r4, r0, #0 bl sub_804BF4C str r4, [r7, #0x54] @@ -148130,7 +148130,7 @@ sub_804BBA0: @ 0x0804BBA0 movs r0, #0 bl SetPrimaryHBlankHandler adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0804BC2E _0804BBC8: movs r0, #0 @@ -148234,7 +148234,7 @@ sub_804BC84: @ 0x0804BC84 lsls r4, r4, #0x10 lsrs r4, r4, #0x10 ldr r0, _0804BD24 @ gUnknown_085AA7B4 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r0, #0x64 movs r2, #0 strh r4, [r0] @@ -148337,7 +148337,7 @@ sub_804BD3C: @ 0x0804BD3C movs r0, #0 bl SetPrimaryHBlankHandler adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0804BDCA _0804BD64: movs r0, #0 @@ -148421,7 +148421,7 @@ sub_804BDFC: @ 0x0804BDFC lsls r4, r4, #0x10 lsrs r4, r4, #0x10 ldr r0, _0804BE80 @ gUnknown_085AA7EC - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r0, #0x64 movs r2, #0 strh r4, [r0] @@ -148499,11 +148499,11 @@ sub_804BE98: @ 0x0804BE98 push {r4, lr} adds r4, r0, #0 ldr r0, _0804BEB4 @ gUnknown_085AA7B4 - bl Find6C + bl Proc_Find cmp r0, #0 bne _0804BEAC adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0804BEAC: pop {r4} pop {r0} @@ -148516,11 +148516,11 @@ sub_804BEB8: @ 0x0804BEB8 push {r4, lr} adds r4, r0, #0 ldr r0, _0804BED4 @ gUnknown_085AA7EC - bl Find6C + bl Proc_Find cmp r0, #0 bne _0804BECC adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0804BECC: pop {r4} pop {r0} @@ -148560,7 +148560,7 @@ sub_804BED8: @ 0x0804BED8 bl sub_8013928 ldr r0, _0804BF2C @ gUnknown_085AA83C adds r1, r4, #0 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] pop {r4} pop {r0} @@ -148598,7 +148598,7 @@ sub_804BF4C: @ 0x0804BF4C strb r0, [r1] ldr r0, _0804BFA4 @ gUnknown_089A2C80 adds r1, r4, #0 - bl New6C + bl Proc_Create str r4, [r0, #0x54] adds r0, #0x64 movs r1, #0x20 @@ -148688,7 +148688,7 @@ sub_804BFF8: @ 0x0804BFF8 bl sub_8013928 ldr r0, _0804C028 @ gUnknown_089A2CF8 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x54] pop {r4} pop {r0} @@ -148769,7 +148769,7 @@ sub_804C078: @ 0x0804C078 cmp r0, #0xff bne _0804C0C4 adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0804C0C4: ldr r2, _0804C128 @ gUnknown_03003080 ldrb r3, [r2, #0xc] @@ -148837,7 +148837,7 @@ sub_804C148: @ 0x0804C148 adds r4, r0, #0 ldr r0, _0804C174 @ gUnknown_085AA86C movs r1, #2 - bl New6C + bl Proc_Create ldr r2, [r4, #0x2c] movs r1, #0x10 ldrsb r1, [r2, r1] @@ -148925,13 +148925,13 @@ sub_804C1E4: @ 0x0804C1E4 push {r4, lr} adds r4, r0, #0 ldr r0, _0804C204 @ gUnknown_085AA86C - bl Find6C + bl Proc_Find rsbs r1, r0, #0 orrs r1, r0 cmp r1, #0 blt _0804C1FC adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0804C1FC: pop {r4} pop {r0} @@ -148955,14 +148955,14 @@ sub_804C208: @ 0x0804C208 cmp r1, #0 beq _0804C230 ldr r0, _0804C22C @ gUnknown_085AA89C - bl NewBlocking6C + bl Proc_CreateBlockingChild b _0804C238 .align 2, 0 _0804C22C: .4byte gUnknown_085AA89C _0804C230: ldr r0, _0804C25C @ gUnknown_085AA89C movs r1, #2 - bl New6C + bl Proc_Create _0804C238: adds r1, r0, #0 str r5, [r1, #0x2c] @@ -149000,14 +149000,14 @@ sub_804C260: @ 0x0804C260 cmp r1, #0 beq _0804C288 ldr r0, _0804C284 @ gUnknown_085AA914 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _0804C290 .align 2, 0 _0804C284: .4byte gUnknown_085AA914 _0804C288: ldr r0, _0804C2B4 @ gUnknown_085AA914 movs r1, #2 - bl New6C + bl Proc_Create _0804C290: adds r1, r0, #0 str r5, [r1, #0x2c] @@ -149068,10 +149068,10 @@ sub_804C2EC: @ 0x0804C2EC adds r5, r2, #0 ldr r4, _0804C318 @ gUnknown_085AA954 adds r0, r4, #0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript adds r0, r4, #0 adds r1, r5, #0 - bl New6C + bl Proc_Create str r6, [r0, #0x2c] mov r1, r8 str r1, [r0, #0x30] @@ -149088,11 +149088,11 @@ sub_804C31C: @ 0x0804C31C push {r4, lr} ldr r4, _0804C338 @ gUnknown_085AA954 adds r0, r4, #0 - bl Find6C + bl Proc_Find cmp r0, #0 beq _0804C330 adds r0, r4, #0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript _0804C330: pop {r4} pop {r0} @@ -149284,10 +149284,10 @@ sub_804C49C: @ 0x0804C49C adds r5, r2, #0 ldr r4, _0804C4F4 @ gUnknown_085AA980 adds r0, r4, #0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript adds r0, r4, #0 adds r1, r6, #0 - bl New6C + bl Proc_Create adds r6, r0, #0 mov r0, r8 str r0, [r6, #0x58] @@ -149323,7 +149323,7 @@ _0804C4F4: .4byte gUnknown_085AA980 sub_804C4F8: @ 0x0804C4F8 push {lr} ldr r0, _0804C504 @ gUnknown_085AA980 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -149639,7 +149639,7 @@ sub_804C758: @ 0x0804C758 ldr r0, _0804C7C4 @ gUnknown_085AA9C0 mov r1, r8 str r2, [sp] - bl New6C + bl Proc_Create mov r8, r0 movs r3, #0 movs r1, #0 @@ -150081,10 +150081,10 @@ sub_804CAEC: @ 0x0804CAEC mov r8, r2 ldr r4, _0804CB8C @ gUnknown_085AAA78 adds r0, r4, #0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript adds r0, r4, #0 adds r1, r6, #0 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x2c] adds r1, r4, #0 @@ -150237,10 +150237,10 @@ sub_804CC14: @ 0x0804CC14 ldr r5, [sp, #0x24] ldr r4, _0804CC58 @ gUnknown_085AAA90 adds r0, r4, #0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript adds r0, r4, #0 adds r1, r5, #0 - bl New6C + bl Proc_Create str r6, [r0, #0x3c] mov r1, sb str r1, [r0, #0x2c] @@ -150264,7 +150264,7 @@ sub_804CC5C: @ 0x0804CC5C push {r4, lr} adds r4, r0, #0 ldr r0, _0804CC74 @ gUnknown_085AAA90 - bl Find6C + bl Proc_Find ldr r1, [r0, #0x30] adds r1, r1, r4 str r1, [r0, #0x30] @@ -150418,10 +150418,10 @@ sub_804CD90: @ 0x0804CD90 mov r8, r2 ldr r4, _0804CDCC @ gUnknown_085AAAC4 adds r0, r4, #0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript adds r0, r4, #0 adds r1, r6, #0 - bl New6C + bl Proc_Create str r5, [r0, #0x34] str r5, [r0, #0x2c] mov r1, r8 @@ -150544,10 +150544,10 @@ sub_804CE8C: @ 0x0804CE8C adds r5, r0, #0 ldr r4, _0804CEAC @ gUnknown_085AAAE8 adds r0, r4, #0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript adds r0, r4, #0 adds r1, r5, #0 - bl New6C + bl Proc_Create movs r1, #0 strh r1, [r0, #0x2a] pop {r4, r5} @@ -150561,7 +150561,7 @@ sub_804CEB0: @ 0x0804CEB0 push {lr} ldr r0, _0804CEC0 @ gUnknown_085AAB00 movs r1, #3 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -150671,7 +150671,7 @@ sub_804CF04: @ 0x0804CF04 cmp r0, #0xf bne _0804CF98 adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0804CF98: add sp, #4 pop {r3} @@ -150694,7 +150694,7 @@ sub_804CFB8: @ 0x0804CFB8 adds r5, r2, #0 ldr r0, _0804CFDC @ gUnknown_085AAB18 adds r1, r3, #0 - bl New6C + bl Proc_Create adds r1, r0, #0 str r4, [r1, #0x2c] str r5, [r1, #0x30] @@ -150993,10 +150993,10 @@ sub_804D1E0: @ 0x0804D1E0 lsrs r6, r6, #0x18 ldr r4, _0804D248 @ gUnknown_085AAB48 adds r0, r4, #0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript adds r0, r4, #0 adds r1, r7, #0 - bl New6C + bl Proc_Create adds r1, r0, #0 mov r2, sb str r2, [r1, #0x2c] @@ -151032,7 +151032,7 @@ sub_804D24C: @ 0x0804D24C lsls r1, r1, #0x10 lsrs r4, r1, #0x10 ldr r0, _0804D2A0 @ gUnknown_085AAB48 - bl Find6C + bl Proc_Find adds r6, r0, #0 cmp r6, #0 beq _0804D298 @@ -151536,10 +151536,10 @@ sub_804D664: @ 0x0804D664 adds r5, r2, #0 ldr r4, _0804D6B0 @ gUnknown_085AABC8 adds r0, r4, #0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript adds r0, r4, #0 adds r1, r5, #0 - bl New6C + bl Proc_Create adds r1, r0, #0 str r6, [r1, #0x2c] mov r0, r8 @@ -151572,7 +151572,7 @@ _0804D6B0: .4byte gUnknown_085AABC8 sub_804D6B4: @ 0x0804D6B4 push {lr} ldr r0, _0804D6C0 @ gUnknown_085AABC8 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -151582,7 +151582,7 @@ _0804D6C0: .4byte gUnknown_085AABC8 sub_804D6C4: @ 0x0804D6C4 push {lr} ldr r0, _0804D6D0 @ gUnknown_085AABC8 - bl Find6C + bl Proc_Find pop {r1} bx r1 .align 2, 0 @@ -151732,10 +151732,10 @@ sub_804D7DC: @ 0x0804D7DC adds r5, r2, #0 ldr r4, _0804D808 @ gUnknown_085AABD8 adds r0, r4, #0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript adds r0, r4, #0 adds r1, r5, #0 - bl New6C + bl Proc_Create str r6, [r0, #0x2c] mov r1, r8 str r1, [r0, #0x30] @@ -154549,7 +154549,7 @@ _0804ED04: beq _0804ED24 ldr r0, _0804ED20 @ gUnknown_085B64D0 adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r5, r0, #0 adds r1, r5, #0 adds r1, #0x63 @@ -154562,7 +154562,7 @@ _0804ED24: bl AddSkipThread2 ldr r0, _0804EE9C @ gUnknown_085B64D0 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 adds r1, r5, #0 adds r1, #0x63 @@ -154627,7 +154627,7 @@ _0804EDA4: beq _0804EE02 ldr r0, _0804EEA0 @ gUnknown_085B6510 adds r1, r5, #0 - bl New6C + bl Proc_Create adds r2, r0, #0 ldr r0, [sp, #8] lsls r1, r0, #2 @@ -154793,7 +154793,7 @@ _0804EEE2: bl SubSkipThread2 _0804EEF0: adds r0, r5, #0 - bl Delete6C + bl Proc_Delete adds r4, r5, #0 adds r4, #0x64 ldrb r0, [r4] @@ -154818,7 +154818,7 @@ EndAllMenus: @ 0x0804EF20 push {lr} ldr r0, _0804EF30 @ gUnknown_085B64D0 ldr r1, _0804EF34 @ EndMenu - bl ForEach6C + bl Proc_ForEachWithScript pop {r0} bx r0 .align 2, 0 @@ -155568,7 +155568,7 @@ sub_804F4A0: @ 0x0804F4A0 bl sub_8089018 ldr r1, _0804F4EC @ gUnknown_085B64B8 adds r0, r5, #0 - bl Goto6CPointer + bl Proc_JumpToPointer b _0804F516 .align 2, 0 _0804F4E8: .4byte gUnknown_0858791C @@ -155602,7 +155602,7 @@ _0804F516: sub_804F520: @ 0x0804F520 push {lr} ldr r1, _0804F52C @ gUnknown_085B6518 - bl Goto6CPointer + bl Proc_JumpToPointer pop {r1} bx r1 .align 2, 0 @@ -155635,7 +155635,7 @@ sub_804F530: @ 0x0804F530 bl sub_8089018 ldr r1, _0804F57C @ gUnknown_085B64B8 adds r0, r5, #0 - bl Goto6CPointer + bl Proc_JumpToPointer _0804F56E: add sp, #8 pop {r4, r5} @@ -155650,7 +155650,7 @@ Menu_CallTextBox: @ 0x0804F580 push {r4, r5, lr} adds r5, r1, #0 ldr r1, _0804F5B0 @ gUnknown_085B6530 - bl Goto6CPointer + bl Proc_JumpToPointer movs r1, #1 rsbs r1, r1, #0 movs r0, #0 @@ -155693,7 +155693,7 @@ sub_804F5B4: @ 0x0804F5B4 beq _0804F5EC ldr r1, _0804F5F8 @ gUnknown_085B64B8 adds r0, r5, #0 - bl Goto6CPointer + bl Proc_JumpToPointer _0804F5EC: add sp, #8 pop {r4, r5} @@ -155707,7 +155707,7 @@ _0804F5F8: .4byte gUnknown_085B64B8 sub_804F5FC: @ 0x0804F5FC push {lr} ldr r1, _0804F608 @ gUnknown_085B6540 - bl Goto6CPointer + bl Proc_JumpToPointer pop {r1} bx r1 .align 2, 0 @@ -155717,7 +155717,7 @@ _0804F608: .4byte gUnknown_085B6540 MarkSomethingInMenu: @ 0x0804F60C push {lr} ldr r0, _0804F628 @ gUnknown_085B64D0 - bl Find6C + bl Proc_Find cmp r0, #0 beq _0804F624 adds r2, r0, #0 @@ -155736,7 +155736,7 @@ _0804F628: .4byte gUnknown_085B64D0 sub_804F62C: @ 0x0804F62C push {lr} ldr r0, _0804F648 @ gUnknown_085B64D0 - bl Find6C + bl Proc_Find cmp r0, #0 beq _0804F644 adds r2, r0, #0 @@ -156301,7 +156301,7 @@ NewTargetSelection: @ 0x0804FA3C bl AddSkipThread2 ldr r0, _0804FA9C @ gUnknown_085B655C movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 adds r1, r5, #0 adds r1, #0x34 @@ -156377,7 +156377,7 @@ _0804FACA: bl SubSkipThread2 _0804FADC: adds r0, r4, #0 - bl Delete6C + bl Proc_Delete ldr r0, [r4, #0x14] pop {r4} pop {r1} @@ -156502,7 +156502,7 @@ _0804FBB4: sub_804FBBC: @ 0x0804FBBC push {lr} ldr r0, _0804FBD8 @ gUnknown_085B655C - bl Find6C + bl Proc_Find cmp r0, #0 beq _0804FBD4 adds r2, r0, #0 @@ -156521,7 +156521,7 @@ _0804FBD8: .4byte gUnknown_085B655C sub_804FBDC: @ 0x0804FBDC push {lr} ldr r0, _0804FBF8 @ gUnknown_085B655C - bl Find6C + bl Proc_Find cmp r0, #0 beq _0804FBF4 adds r2, r0, #0 @@ -156743,7 +156743,7 @@ NewEkrBattleDeamon: @ 0x0804FD60 ldr r4, _0804FD80 @ gUnknown_0203E0F8 ldr r0, _0804FD84 @ gUnknown_085B9358 movs r1, #3 - bl New6C + bl Proc_Create str r0, [r4] ldr r1, _0804FD88 @ gUnknown_0203E0F4 movs r0, #1 @@ -156762,7 +156762,7 @@ EndEkrBattleDeamon: @ 0x0804FD8C push {lr} ldr r0, _0804FD9C @ gUnknown_0203E0F8 ldr r0, [r0] - bl Delete6C + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -156808,7 +156808,7 @@ NewEkrBattle: @ 0x0804FDD4 ldr r4, _0804FE1C @ gUnknown_02000064 ldr r0, _0804FE20 @ gUnknown_085B9378 movs r1, #3 - bl New6C + bl Proc_Create str r0, [r4] ldr r0, _0804FE24 @ InBattleMainRoutine bl SetMainUpdateRoutine @@ -156897,7 +156897,7 @@ _0804FE98: _0804FEA2: ldr r0, _0804FEB4 @ gUnknown_02000064 ldr r0, [r0] - bl Delete6C + bl Proc_Delete bl sub_8055C38 b _0804FEC4 .align 2, 0 @@ -156906,7 +156906,7 @@ _0804FEB4: .4byte gUnknown_02000064 _0804FEB8: ldr r0, _0804FED8 @ gUnknown_02000064 ldr r0, [r0] - bl Delete6C + bl Proc_Delete bl EndEkrGauge _0804FEC4: ldr r1, _0804FEDC @ gUnknown_0202BCB0 @@ -156932,23 +156932,23 @@ MainUpdate_804FEE4: @ 0x0804FEE4 lsls r0, r0, #0x18 cmp r0, #0 bne _0804FF00 - ldr r0, _0804FF50 @ gUnknown_02026A70 + ldr r0, _0804FF50 @ gRootProcesses ldr r0, [r0, #8] - bl Exec6C + bl Proc_Run _0804FF00: - ldr r4, _0804FF50 @ gUnknown_02026A70 + ldr r4, _0804FF50 @ gRootProcesses ldr r0, [r4, #0xc] - bl Exec6C + bl Proc_Run ldr r0, [r4, #0x14] - bl Exec6C + bl Proc_Run movs r0, #0 bl FlushIntermediateOAMBuffer ldr r0, [r4, #4] - bl Exec6C + bl Proc_Run bl AIS_ExecAll bl BattleAIS_ExecCommands ldr r0, [r4, #0x10] - bl Exec6C + bl Proc_Run ldr r1, _0804FF54 @ gUnknown_02000020 movs r0, #0 str r0, [r1] @@ -156969,7 +156969,7 @@ _0804FF42: pop {r0} bx r0 .align 2, 0 -_0804FF50: .4byte gUnknown_02026A70 +_0804FF50: .4byte gRootProcesses _0804FF54: .4byte gUnknown_02000020 _0804FF58: .4byte gUnknown_0201FB04 _0804FF5C: .4byte gUnknown_02000018 @@ -157048,7 +157048,7 @@ _0804FFE2: movs r0, #0 str r0, [r4, #0x58] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -158854,7 +158854,7 @@ NewEkrLvlupFan: @ 0x08050DE4 push {lr} ldr r0, _08050DFC @ gUnknown_085B93A0 movs r1, #3 - bl New6C + bl Proc_Create movs r1, #0 strh r1, [r0, #0x2c] movs r0, #0x80 @@ -158891,7 +158891,7 @@ _08050E28: lsls r0, r0, #1 bl SomethingSoundRelated_80022EC adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08050E3A: pop {r4} pop {r0} @@ -159004,7 +159004,7 @@ NewEkrGauge: @ 0x08050EF8 ldr r4, _08050F44 @ gUnknown_02000068 ldr r0, _08050F48 @ gUnknown_085B93B8 movs r1, #1 - bl New6C + bl Proc_Create str r0, [r4] movs r0, #0 bl EkrGauge_80511C0 @@ -159252,7 +159252,7 @@ EndEkrGauge: @ 0x0805116C push {lr} ldr r0, _0805117C @ gUnknown_02000068 ldr r0, [r0] - bl Delete6C + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -160476,7 +160476,7 @@ NewEkrDispUP: @ 0x08051AC4 ldr r4, _08051AEC @ gUnknown_0200006C ldr r0, _08051AF0 @ gUnknown_085B95EC movs r1, #5 - bl New6C + bl Proc_Create str r0, [r4] movs r0, #0 movs r1, #0 @@ -160496,7 +160496,7 @@ sub_8051AF4: @ 0x08051AF4 push {lr} ldr r0, _08051B04 @ gUnknown_0200006C ldr r0, [r0] - bl Delete6C + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -161479,7 +161479,7 @@ sub_8052304: @ 0x08052304 str r0, [r1] ldr r0, _08052354 @ gUnknown_085B9604 movs r1, #3 - bl New6C + bl Proc_Create adds r6, r0, #0 str r4, [r6, #0x64] adds r0, r4, #0 @@ -161679,7 +161679,7 @@ _080524C8: strh r1, [r0] _080524E4: adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080524FC .align 2, 0 _080524EC: .4byte gUnknown_0203E104 @@ -161759,7 +161759,7 @@ _08052584: bl sub_80533D0 _08052596: adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805259C: pop {r4, r5} pop {r0} @@ -161794,7 +161794,7 @@ _080525CA: subs r0, #1 str r0, [r1] adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080525E0: pop {r0} bx r0 @@ -161813,7 +161813,7 @@ sub_80525E8: @ 0x080525E8 str r0, [r1] ldr r0, _08052624 @ gUnknown_085B962C movs r1, #3 - bl New6C + bl Proc_Create adds r6, r0, #0 adds r0, r4, #0 bl GetCoreAIStruct @@ -161980,7 +161980,7 @@ _08052752: ldr r0, _08052770 @ gUnknown_02017750 str r6, [r0] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08052780 .align 2, 0 _08052764: .4byte gUnknown_0203E1AC @@ -162066,7 +162066,7 @@ _08052808: _0805280A: str r0, [r6, #0x48] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r0, [r6, #0x5c] bl GetAISSubjectId ldr r1, _08052828 @ gUnknown_02017780 @@ -162217,7 +162217,7 @@ _08052938: strh r1, [r0] _08052954: adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0805296C .align 2, 0 _0805295C: .4byte gUnknown_0203E104 @@ -162247,7 +162247,7 @@ sub_8052978: @ 0x08052978 str r0, [r1] ldr r0, _080529AC @ gUnknown_085B9664 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 strh r5, [r4, #0x2c] adds r0, r6, #0 @@ -162306,7 +162306,7 @@ sub_80529F0: @ 0x080529F0 cmp r0, #0x1e bne _08052A08 adds r0, r1, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08052A08: pop {r0} bx r0 @@ -162323,7 +162323,7 @@ sub_8052A0C: @ 0x08052A0C str r0, [r1] ldr r0, _08052A40 @ gUnknown_085B968C movs r1, #3 - bl New6C + bl Proc_Create adds r6, r0, #0 adds r0, r7, #0 bl GetAISSubjectId @@ -162484,7 +162484,7 @@ _08052B40: adds r0, r0, r1 strh r4, [r0] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08052B90 .align 2, 0 _08052B78: .4byte gUnknown_0203E1AC @@ -162543,7 +162543,7 @@ _08052BD2: str r0, [r1] ldr r0, _08052C20 @ gUnknown_085B96B4 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] str r6, [r4, #0x60] @@ -162604,7 +162604,7 @@ sub_8052C24: @ 0x08052C24 strh r1, [r0] _08052C6A: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08052C70: pop {r4, r5, r6} pop {r0} @@ -162619,7 +162619,7 @@ sub_8052C7C: @ 0x08052C7C adds r5, r1, #0 ldr r0, _08052C9C @ gUnknown_085B96DC movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] str r5, [r0, #0x60] movs r1, #0 @@ -162678,7 +162678,7 @@ sub_8052CA0: @ 0x08052CA0 strh r0, [r2, #2] _08052CFC: adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08052D78 .align 2, 0 _08052D04: .4byte gUnknown_080DA438 @@ -162759,7 +162759,7 @@ sub_8052D8C: @ 0x08052D8C str r0, [r1] ldr r0, _08052DB4 @ gUnknown_085B96F4 movs r1, #3 - bl New6C + bl Proc_Create strh r4, [r0, #0x2c] str r5, [r0, #0x64] _08052DA8: @@ -162782,7 +162782,7 @@ sub_8052DB8: @ 0x08052DB8 cmp r0, #0x11 bne _08052DD0 adds r0, r1, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08052DD0: pop {r0} bx r0 @@ -162794,7 +162794,7 @@ sub_8052DD4: @ 0x08052DD4 adds r5, r1, #0 ldr r0, _08052DF4 @ gUnknown_085B9724 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] str r5, [r0, #0x60] ldr r1, _08052DF8 @ gUnknown_02017738 @@ -162856,7 +162856,7 @@ _08052E2E: strh r0, [r5, #0x2c] _08052E5C: adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08052E62: pop {r4, r5, r6, r7} pop {r0} @@ -162887,7 +162887,7 @@ sub_8052E7C: @ 0x08052E7C movs r2, #0 bl NewEkrNamewinAppear adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08052EA6: pop {r4} pop {r0} @@ -162930,7 +162930,7 @@ sub_8052EAC: @ 0x08052EAC ldrb r0, [r0] bl sub_80835DC adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08052F0A: add sp, #4 pop {r4, r5} @@ -162974,7 +162974,7 @@ sub_8052F24: @ 0x08052F24 bl sub_8051BA0 bl EkrGauge_8051180 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08052F7A: pop {r4, r5} pop {r0} @@ -162995,7 +162995,7 @@ sub_8052F84: @ 0x08052F84 movs r0, #0 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08052FA0: pop {r4} pop {r0} @@ -163017,7 +163017,7 @@ sub_8052FAC: @ 0x08052FAC str r0, [r1] ldr r0, _08052FE8 @ gUnknown_085B975C movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] str r5, [r0, #0x60] movs r1, #0 @@ -163097,7 +163097,7 @@ _08053070: movs r0, #0x32 strh r0, [r5, #0x2e] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805307A: pop {r4, r5} pop {r0} @@ -163170,7 +163170,7 @@ _080530F6: movs r0, #0 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08053112: pop {r4, r5} pop {r0} @@ -163186,7 +163186,7 @@ sub_8053120: @ 0x08053120 adds r5, r1, #0 ldr r0, _08053140 @ gUnknown_085B977C movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] str r5, [r0, #0x60] movs r1, #0 @@ -163244,7 +163244,7 @@ _0805318A: strh r0, [r3, #0x2c] strh r0, [r3, #0x2e] adds r0, r3, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805319E: pop {r4, r5} pop {r0} @@ -163258,7 +163258,7 @@ sub_80531A4: @ 0x080531A4 adds r6, r1, #0 ldr r0, _08053204 @ gUnknown_085B9794 movs r1, #3 - bl New6C + bl Proc_Create str r5, [r0, #0x5c] str r6, [r0, #0x60] movs r4, #0 @@ -163337,7 +163337,7 @@ sub_805320C: @ 0x0805320C str r0, [r3, #0x1c] bl SetDefaultColorEffects adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08053282 .align 2, 0 _0805325C: .4byte 0xFFFFFBFF @@ -163374,7 +163374,7 @@ sub_805328C: @ 0x0805328C adds r6, r1, #0 ldr r0, _08053360 @ gUnknown_085B97AC movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] str r6, [r4, #0x60] @@ -163491,7 +163491,7 @@ sub_8053368: @ 0x08053368 bl BG_EnableSyncByMask bl SetDefaultColorEffects adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080533C6 .align 2, 0 _080533A0: .4byte gUnknown_020244A8 @@ -163545,7 +163545,7 @@ _080533F4: @ jump table _08053408: ldr r0, _0805343C @ gUnknown_085B97C4 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 adds r0, r5, #0 bl GetAISSubjectId @@ -163676,7 +163676,7 @@ sub_80534E4: @ 0x080534E4 movs r0, #0 strh r0, [r4, #0x2c] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -163725,7 +163725,7 @@ _0805355A: movs r0, #1 strh r0, [r4, #0x2c] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08053576: add sp, #4 pop {r4, r5} @@ -163795,7 +163795,7 @@ _080535F8: movs r0, #0 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08053606: add sp, #4 pop {r4, r5} @@ -163858,7 +163858,7 @@ sub_8053678: @ 0x08053678 adds r5, r1, #0 ldr r0, _080536B0 @ gUnknown_085B97EC movs r1, #3 - bl New6C + bl Proc_Create ldr r2, _080536B4 @ gUnknown_085B9804 lsls r1, r4, #3 adds r1, r1, r2 @@ -163939,7 +163939,7 @@ sub_8053718: @ 0x08053718 push {lr} ldr r0, _08053728 @ gUnknown_085B9884 movs r1, #3 - bl New6C + bl Proc_Create pop {r1} bx r1 .align 2, 0 @@ -163967,7 +163967,7 @@ _08053744: str r0, [r1] ldr r0, _08053774 @ gUnknown_085B989C movs r1, #3 - bl New6C + bl Proc_Create adds r2, r0, #0 movs r0, #0 strh r0, [r2, #0x2c] @@ -164136,7 +164136,7 @@ _0805389E: movs r0, #0 str r0, [r1] adds r0, r7, #0 - bl Delete6C + bl Proc_Delete b _080539D2 .align 2, 0 _080538AC: .4byte 0x00007FFF @@ -164296,7 +164296,7 @@ _080539F4: str r4, [r0] ldr r0, _08053A24 @ gUnknown_085B98B4 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 mov r0, r8 str r0, [r5, #0x5c] @@ -164633,7 +164633,7 @@ _08053C9A: bl sub_8051B5C _08053CCE: adds r0, r7, #0 - bl Delete6C + bl Proc_Delete b _08053F02 .align 2, 0 _08053CD8: .4byte gUnknown_0201FB0C @@ -164904,7 +164904,7 @@ StartSpellBG_FLASH: @ 0x08053F10 adds r5, r1, #0 ldr r0, _08053F40 @ gUnknown_085B98CC movs r1, #0 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -164933,7 +164933,7 @@ sub_8053F4C: @ 0x08053F4C adds r5, r1, #0 ldr r0, _08053F7C @ gUnknown_085B98CC movs r1, #0 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -164962,7 +164962,7 @@ sub_8053F8C: @ 0x08053F8C adds r5, r1, #0 ldr r0, _08053FB8 @ gUnknown_085B98CC movs r1, #0 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -164988,7 +164988,7 @@ sub_8053FC4: @ 0x08053FC4 adds r5, r1, #0 ldr r0, _08053FE0 @ gUnknown_085B98CC movs r1, #0 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -165020,7 +165020,7 @@ sub_8053FE4: @ 0x08053FE4 cmp r0, r1 blt _08054012 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08054012: pop {r4} pop {r0} @@ -165034,7 +165034,7 @@ sub_805401C: @ 0x0805401C adds r4, r0, #0 bl EnablePaletteSync adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -165047,7 +165047,7 @@ sub_8054030: @ 0x08054030 adds r6, r2, #0 ldr r0, _08054050 @ gUnknown_085B98F4 movs r1, #0 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -165093,7 +165093,7 @@ sub_8054054: @ 0x08054054 movs r0, #0 strh r0, [r6, #0x2c] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080540A0: pop {r4, r5, r6} pop {r0} @@ -165145,7 +165145,7 @@ sub_80540B0: @ 0x080540B0 cmp r0, r1 ble _08054110 adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08054110: add sp, #4 pop {r4, r5, r6, r7} @@ -165161,7 +165161,7 @@ sub_8054120: @ 0x08054120 adds r4, r0, #0 bl EnablePaletteSync adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -165174,7 +165174,7 @@ sub_8054134: @ 0x08054134 adds r6, r2, #0 ldr r0, _08054154 @ gUnknown_085B991C movs r1, #0 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -165220,7 +165220,7 @@ sub_8054158: @ 0x08054158 movs r0, #0 strh r0, [r6, #0x2c] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080541A4: pop {r4, r5, r6} pop {r0} @@ -165272,7 +165272,7 @@ sub_80541B4: @ 0x080541B4 cmp r0, r1 ble _08054214 adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08054214: add sp, #4 pop {r4, r5, r6, r7} @@ -165288,7 +165288,7 @@ sub_8054224: @ 0x08054224 adds r4, r0, #0 bl EnablePaletteSync adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -165301,7 +165301,7 @@ sub_8054238: @ 0x08054238 adds r6, r2, #0 ldr r0, _08054258 @ gUnknown_085B9944 movs r1, #0 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -165347,7 +165347,7 @@ sub_805425C: @ 0x0805425C movs r0, #0 strh r0, [r6, #0x2c] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080542A8: pop {r4, r5, r6} pop {r0} @@ -165399,7 +165399,7 @@ sub_80542B8: @ 0x080542B8 cmp r0, r1 ble _08054318 adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08054318: add sp, #4 pop {r4, r5, r6, r7} @@ -165415,7 +165415,7 @@ sub_8054328: @ 0x08054328 adds r4, r0, #0 bl EnablePaletteSync adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -165428,7 +165428,7 @@ sub_805433C: @ 0x0805433C adds r6, r2, #0 ldr r0, _0805435C @ gUnknown_085B996C movs r1, #0 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -165474,7 +165474,7 @@ sub_8054360: @ 0x08054360 movs r0, #0 strh r0, [r6, #0x2c] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080543AC: pop {r4, r5, r6} pop {r0} @@ -165526,7 +165526,7 @@ sub_80543BC: @ 0x080543BC cmp r0, r1 ble _0805441C adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805441C: add sp, #4 pop {r4, r5, r6, r7} @@ -165542,7 +165542,7 @@ sub_805442C: @ 0x0805442C adds r4, r0, #0 bl EnablePaletteSync adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -165559,7 +165559,7 @@ sub_8054440: @ 0x08054440 lsrs r5, r5, #0x10 ldr r0, _08054474 @ gUnknown_085B9994 movs r1, #4 - bl New6C + bl Proc_Create adds r1, r0, #0 str r6, [r1, #0x5c] movs r0, #0 @@ -165569,7 +165569,7 @@ sub_8054440: @ 0x08054440 cmp r4, #0 bne _0805446E adds r0, r1, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805446E: pop {r4, r5, r6} pop {r0} @@ -165591,7 +165591,7 @@ sub_8054478: @ 0x08054478 cmp r0, r1 blt _08054494 adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08054494: pop {r0} bx r0 @@ -165656,7 +165656,7 @@ _08054502: cmp r0, r1 blt _0805451E adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805451E: pop {r4} pop {r0} @@ -165727,7 +165727,7 @@ _0805459C: _080545A6: bl EnablePaletteSync adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -165747,7 +165747,7 @@ sub_80545C0: @ 0x080545C0 ldr r4, _0805467C @ gUnknown_0201777C ldr r0, _08054680 @ gUnknown_085B99C4 movs r1, #3 - bl New6C + bl Proc_Create str r0, [r4] str r5, [r0, #0x5c] movs r3, #0 @@ -165844,7 +165844,7 @@ sub_80546B0: @ 0x080546B0 push {lr} ldr r0, _080546C0 @ gUnknown_0201777C ldr r0, [r0] - bl Delete6C + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -166002,7 +166002,7 @@ sub_80547DC: @ 0x080547DC lsrs r5, r5, #0x10 ldr r0, _08054814 @ gUnknown_085B99E4 movs r1, #4 - bl New6C + bl Proc_Create str r6, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -166062,7 +166062,7 @@ _08054864: cmp r1, r0 blt _0805487A adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805487A: pop {r4} pop {r0} @@ -166101,7 +166101,7 @@ _080548B4: _080548C6: bl EnablePaletteSync adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -166124,7 +166124,7 @@ sub_80548E0: @ 0x080548E0 lsrs r5, r5, #0x10 ldr r0, _0805492C @ gUnknown_085B9A0C movs r1, #4 - bl New6C + bl Proc_Create str r6, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -166205,7 +166205,7 @@ _0805497C: strh r0, [r1] strh r3, [r1, #6] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080549A8: pop {r4} pop {r0} @@ -166245,7 +166245,7 @@ _080549E8: _080549FA: bl EnablePaletteSync adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r2, [r4, #0x5c] ldrh r1, [r2, #0x10] movs r0, #0x40 @@ -166276,7 +166276,7 @@ _08054A36: ldr r6, [r0] ldr r0, _08054AC0 @ gUnknown_085B9A34 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 adds r0, #0x29 movs r1, #0 @@ -166390,7 +166390,7 @@ sub_8054B18: @ 0x08054B18 lsls r0, r0, #2 adds r0, r0, r5 ldr r0, [r0] - bl Delete6C + bl Proc_Delete adds r0, r4, #0 bl GetAISSubjectId lsls r0, r0, #2 @@ -166408,7 +166408,7 @@ _08054B50: .4byte gUnknown_0201776C DeleteEach6C_efxStatusUnit: @ 0x08054B54 push {lr} ldr r0, _08054B60 @ gUnknown_085B9A34 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -166806,7 +166806,7 @@ sub_8054E8C: @ 0x08054E8C lsrs r5, r5, #0x10 ldr r0, _08054EC8 @ gUnknown_085B9A5C movs r1, #3 - bl New6C + bl Proc_Create movs r2, #0 strh r2, [r0, #0x2c] str r2, [r0, #0x44] @@ -166837,7 +166837,7 @@ sub_8054ED4: @ 0x08054ED4 ldr r0, [r4] cmp r0, #0 beq _08054EE6 - bl Delete6C + bl Proc_Delete movs r0, #0 str r0, [r4] _08054EE6: @@ -166952,7 +166952,7 @@ NewEfxSpellCast: @ 0x08054FA8 bne _08054FF4 ldr r0, _08054FDC @ gUnknown_085B9A84 movs r1, #4 - bl New6C + bl Proc_Create adds r5, r0, #0 adds r0, #0x29 strb r4, [r0] @@ -166974,7 +166974,7 @@ _08054FE0: .4byte gUnknown_02017778 _08054FE4: .4byte gUnknown_02022968 _08054FE8: .4byte gUnknown_0201C790 _08054FEC: - bl Delete6C + bl Proc_Delete _08054FF0: ldr r0, _08054FFC @ gUnknown_02017778 str r5, [r0] @@ -167011,7 +167011,7 @@ sub_805501C: @ 0x0805501C beq _0805502E movs r0, #0 str r0, [r1] - bl Delete6C + bl Proc_Delete _0805502E: pop {r0} bx r0 @@ -167056,7 +167056,7 @@ sub_8055038: @ 0x08055038 cmp r1, r0 bne _0805508C adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805508C: add sp, #4 pop {r4, r5, r6} @@ -167089,7 +167089,7 @@ sub_805509C: @ 0x0805509C movs r0, #0 strh r0, [r5, #0x2c] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080550CE: pop {r4, r5} pop {r0} @@ -167145,7 +167145,7 @@ sub_80550DC: @ 0x080550DC bl CpuFastSet bl EnablePaletteSync adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08055146: add sp, #4 pop {r4, r5, r6, r7} @@ -168332,7 +168332,7 @@ sub_8055A40: @ 0x08055A40 adds r4, r0, #0 ldr r0, _08055A5C @ gUnknown_085B9AB4 movs r1, #1 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -168408,7 +168408,7 @@ sub_8055A64: @ 0x08055A64 cmp r0, #0 bne _08055AF0 adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08055B28 .align 2, 0 _08055AE8: .4byte gUnknown_02000000 @@ -168503,7 +168503,7 @@ _08055B98: bl sub_8053618 _08055BA6: adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4, r5, r6, r7} pop {r0} bx r0 @@ -168600,24 +168600,24 @@ MainUpdate_8055C68: @ 0x08055C68 ldr r0, [r0] bl UpdateKeyStatus bl ClearIntermediateOAMBuffers - ldr r4, _08055CD0 @ gUnknown_02026A70 + ldr r4, _08055CD0 @ gRootProcesses ldr r0, [r4, #4] - bl Exec6C + bl Proc_Run bl GetThread2SkipStack lsls r0, r0, #0x18 cmp r0, #0 bne _08055C8E ldr r0, [r4, #8] - bl Exec6C + bl Proc_Run _08055C8E: ldr r0, [r4, #0xc] - bl Exec6C + bl Proc_Run ldr r0, [r4, #0x14] - bl Exec6C + bl Proc_Run movs r0, #0 bl FlushIntermediateOAMBuffer ldr r0, [r4, #0x10] - bl Exec6C + bl Proc_Run bl AIS_ExecAll bl BattleAIS_ExecCommands movs r0, #0xd @@ -168634,7 +168634,7 @@ _08055C8E: bx r0 .align 2, 0 _08055CCC: .4byte gUnknown_0858791C -_08055CD0: .4byte gUnknown_02026A70 +_08055CD0: .4byte gRootProcesses _08055CD4: .4byte gUnknown_0202BCB0 _08055CD8: .4byte 0x04000006 @@ -168643,7 +168643,7 @@ NewEkrBattleStarting: @ 0x08055CDC push {lr} ldr r0, _08055CEC @ gUnknown_085B9AD4 movs r1, #3 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -168759,7 +168759,7 @@ ekrBattleStarting_8055CF0: @ 0x08055CF0 orrs r0, r3 strb r0, [r7] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback add sp, #8 pop {r3, r4, r5} mov r8, r3 @@ -168889,7 +168889,7 @@ _08055E12: bl EnablePaletteSync bl ClearMOVEUNITs adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08055EEA: add sp, #4 pop {r3, r4} @@ -168966,7 +168966,7 @@ _08055F64: movs r0, #0 strh r0, [r5, #0x2c] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4, r5} pop {r0} bx r0 @@ -168993,7 +168993,7 @@ ekrBattleStarting_8055FA0: @ 0x08055FA0 _08055FC4: bl NewEkrBattle adds r0, r4, #0 - bl Delete6C + bl Proc_Delete b _08055FE0 .align 2, 0 _08055FD0: .4byte gUnknown_0203E0FE @@ -169001,7 +169001,7 @@ _08055FD4: strh r0, [r4, #0x2c] bl NewEkrBattle adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08055FE0: pop {r4} pop {r0} @@ -169031,7 +169031,7 @@ ekrBattleStarting_8055FE8: @ 0x08055FE8 movs r0, #0 strh r0, [r4, #0x2c] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805601C: add sp, #4 pop {r4} @@ -169069,7 +169069,7 @@ _08056044: movs r3, #0x10 bl sub_80712B0 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -169113,7 +169113,7 @@ ekrBattleStarting_8056078: @ 0x08056078 movs r0, #0 strh r0, [r5, #0x2c] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080560C6: add sp, #4 pop {r4, r5} @@ -169128,7 +169128,7 @@ sub_80560D8: @ 0x080560D8 push {lr} ldr r0, _080560EC @ gUnknown_085B9B1C movs r1, #3 - bl New6C + bl Proc_Create movs r1, #0 strh r1, [r0, #0x2c] pop {r0} @@ -169153,7 +169153,7 @@ ekrBattleEnding_80560F0: @ 0x080560F0 bhi _08056118 _0805610C: adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08056160 .align 2, 0 _08056114: .4byte gUnknown_0203E0FE @@ -169188,7 +169188,7 @@ _08056118: movs r0, #0 strh r0, [r5, #0x2c] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08056160: add sp, #4 pop {r4, r5} @@ -169214,7 +169214,7 @@ ekrBattleEnding_8056170: @ 0x08056170 bhi _08056198 _0805618A: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080561BE .align 2, 0 _08056194: .4byte gUnknown_0203E0FE @@ -169232,7 +169232,7 @@ _08056198: movs r2, #0 bl BG_SetPosition adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080561BE: pop {r4} pop {r0} @@ -169257,7 +169257,7 @@ ekrBattleEnding_80561C8: @ 0x080561C8 bhi _080561F0 _080561E4: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0805621E .align 2, 0 _080561EC: .4byte gUnknown_0203E0FE @@ -169281,7 +169281,7 @@ _080561F0: movs r0, #0 strh r0, [r4, #0x2c] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805621E: add sp, #4 pop {r4} @@ -169325,7 +169325,7 @@ ekrBattleEnding_8056228: @ 0x08056228 movs r1, #0xb bl sub_8056F20 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -169346,7 +169346,7 @@ ekrBattleEnding_8056288: @ 0x08056288 ble _08056304 bl EndEkrGauge adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback bl SetupBackgroundForWeatherMaybe ldr r0, _0805630C @ gUnknown_03003080 mov ip, r0 @@ -169449,7 +169449,7 @@ _08056372: bl sub_8049788 _0805637E: adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback add sp, #4 pop {r4, r5} pop {r0} @@ -169559,7 +169559,7 @@ _080563AE: strb r0, [r4] bl EnablePaletteSync adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08056468: add sp, #8 pop {r3, r4} @@ -169580,7 +169580,7 @@ ekrBattleEnding_8056484: @ 0x08056484 bl EndEkrBattleDeamon bl sub_80310F8 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -169721,7 +169721,7 @@ _0805659C: @ jump table _080565B0: ldr r0, _08056600 @ gUnknown_085B9B6C movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r7, [r5, #0x44] adds r1, r5, #0 @@ -169800,7 +169800,7 @@ _0805664C: .4byte gUnknown_085B9C84 _08056650: ldr r0, _080566AC @ gUnknown_085B9B6C movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r7, [r5, #0x44] adds r1, r5, #0 @@ -169892,7 +169892,7 @@ _080566FE: strh r4, [r5, #0x36] ldr r0, _08056770 @ gUnknown_085B9B6C movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r7, [r5, #0x44] adds r1, r5, #0 @@ -169973,7 +169973,7 @@ _080567B8: .4byte gUnknown_085B9C64 _080567BC: ldr r0, _08056800 @ gUnknown_085B9B6C movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r7, [r5, #0x44] adds r1, r5, #0 @@ -170070,7 +170070,7 @@ sub_8056864: @ 0x08056864 adds r0, r5, #0 bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080568F6 _08056886: ldr r0, [r4, #0x44] @@ -170140,7 +170140,7 @@ sub_8056900: @ 0x08056900 adds r5, r0, #0 ldr r0, _0805692C @ gUnknown_085B9CE4 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x44] movs r1, #0 @@ -170420,7 +170420,7 @@ _08056B50: strh r0, [r4, #0x36] _08056B60: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4, r5, r6} pop {r0} bx r0 @@ -170442,7 +170442,7 @@ sub_8056B70: @ 0x08056B70 cmp r1, r0 blt _08056B94 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08056D0A .align 2, 0 _08056B90: .4byte 0xFFFFFCB4 @@ -170641,7 +170641,7 @@ _08056D0A: THUMB_FUNC_START sub_8056D18 sub_8056D18: @ 0x08056D18 push {lr} - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r0} bx r0 @@ -170652,7 +170652,7 @@ NewEkrWindowAppear: @ 0x08056D24 adds r4, r1, #0 ldr r0, _08056D68 @ gUnknown_085B9D0C movs r1, #3 - bl New6C + bl Proc_Create str r5, [r0, #0x44] movs r1, #0 strh r1, [r0, #0x2c] @@ -170718,7 +170718,7 @@ sub_8056D90: @ 0x08056D90 str r0, [r1] bl EkrGauge_80511F8 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08056E04 .align 2, 0 _08056DB8: .4byte gUnknown_0201FACC @@ -170775,7 +170775,7 @@ NewEkrNamewinAppear: @ 0x08056E10 adds r6, r2, #0 ldr r0, _08056E40 @ gUnknown_085B9D24 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x44] movs r1, #0 strh r1, [r0, #0x2c] @@ -170838,7 +170838,7 @@ sub_8056E7C: @ 0x08056E7C movs r0, #0 strh r0, [r2, #0x2c] adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08056E9E _08056E9A: adds r0, r3, #1 @@ -170870,7 +170870,7 @@ sub_8056EA4: @ 0x08056EA4 bl sub_8051AF4 _08056ECC: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08056F16 .align 2, 0 _08056ED4: .4byte gUnknown_0201FAD0 @@ -170918,7 +170918,7 @@ sub_8056F20: @ 0x08056F20 adds r5, r1, #0 ldr r0, _08056F44 @ gUnknown_085B9D44 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x44] movs r1, #0 strh r1, [r0, #0x2c] @@ -170980,7 +170980,7 @@ sub_8056F84: @ 0x08056F84 movs r0, #0 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08056FF0 .align 2, 0 _08056FA8: .4byte gUnknown_0201FAD4 @@ -176142,7 +176142,7 @@ NewEkrChienCHR: @ 0x0805990C adds r4, r0, #0 ldr r0, _08059920 @ gUnknown_085B9D94 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] pop {r4} pop {r0} @@ -176157,7 +176157,7 @@ sub_8059924: @ 0x08059924 ldr r0, [r4, #0x5c] bl RegisterAISSheetGraphics adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -178205,7 +178205,7 @@ NewEfxAnimeDrvProc: @ 0x0805A9C0 ldr r4, _0805A9D8 @ gUnknown_0201FB18 ldr r0, _0805A9DC @ gUnknown_085B9DAC movs r1, #4 - bl New6C + bl Proc_Create str r0, [r4] bl ClearAISArray pop {r4} @@ -178220,7 +178220,7 @@ sub_805A9E0: @ 0x0805A9E0 push {lr} ldr r0, _0805A9F0 @ gUnknown_0201FB18 ldr r0, [r0] - bl Delete6C + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -178239,7 +178239,7 @@ sub_805AA00: @ 0x0805AA00 adds r4, r0, #0 ldr r0, _0805AA24 @ gUnknown_085B9DC4 movs r1, #4 - bl New6C + bl Proc_Create adds r5, r0, #0 adds r0, r4, #0 bl sub_805A60C @@ -178265,7 +178265,7 @@ sub_805AA28: @ 0x0805AA28 str r0, [r4, #0x14] str r0, [r4, #0x18] ldr r0, [r4, #0x34] - bl Delete6C + bl Proc_Delete pop {r4} pop {r0} bx r0 @@ -178756,12 +178756,12 @@ sub_805AE14: @ 0x0805AE14 ldr r0, [r4, #0x14] cmp r0, #0 beq _0805AE2E - bl Delete6C + bl Proc_Delete _0805AE2E: ldr r0, [r4, #0x18] cmp r0, #0 beq _0805AE38 - bl Delete6C + bl Proc_Delete _0805AE38: pop {r4} pop {r0} @@ -179107,7 +179107,7 @@ sub_805B0CC: @ 0x0805B0CC ldr r0, _0805B0E8 @ MainUpdate_8055C68 bl SetMainUpdateRoutine ldr r0, _0805B0EC @ gUnknown_085B9A34 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -179119,7 +179119,7 @@ NewEkrTogiInitPROC: @ 0x0805B0F0 push {lr} ldr r0, _0805B100 @ gUnknown_085B9DDC movs r1, #3 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -179167,7 +179167,7 @@ sub_805B104: @ 0x0805B104 bl sub_80712B0 bl EnablePaletteSync mov r0, r8 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r3} mov r8, r3 pop {r4, r5, r6} @@ -179218,7 +179218,7 @@ sub_805B18C: @ 0x0805B18C movs r0, #0x8e bl SomePlaySound_8071990 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback add sp, #0x10 pop {r4, r5, r6} pop {r0} @@ -179268,7 +179268,7 @@ sub_805B200: @ 0x0805B200 cmp r1, r0 bne _0805B254 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805B254: add sp, #4 pop {r4, r5, r6} @@ -179284,7 +179284,7 @@ sub_805B264: @ 0x0805B264 adds r4, r0, #0 bl NewEkrTogiColor adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -179294,7 +179294,7 @@ NewEkrTogiEndPROC: @ 0x0805B278 push {lr} ldr r0, _0805B28C @ gUnknown_085B9E0C movs r1, #3 - bl New6C + bl Proc_Create bl EndEkrTogiColor pop {r0} bx r0 @@ -179315,7 +179315,7 @@ sub_805B290: @ 0x0805B290 movs r0, #0x10 strh r0, [r4, #0x2e] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -179361,7 +179361,7 @@ sub_805B2BC: @ 0x0805B2BC cmp r1, r0 bne _0805B310 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805B310: add sp, #4 pop {r4, r5, r6} @@ -179382,7 +179382,7 @@ sub_805B320: @ 0x0805B320 ldr r0, _0805B348 @ GeneralVBlankHandler bl SetInterrupt_LCDVBlank adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -179396,7 +179396,7 @@ NewEkrTogiColor: @ 0x0805B34C ldr r4, _0805B370 @ gUnknown_0201FB24 ldr r0, _0805B374 @ gUnknown_085B9E34 movs r1, #3 - bl New6C + bl Proc_Create str r0, [r4] movs r1, #0 strh r1, [r0, #0x2c] @@ -179419,7 +179419,7 @@ EndEkrTogiColor: @ 0x0805B380 push {lr} ldr r0, _0805B390 @ gUnknown_0201FB24 ldr r0, [r0] - bl Delete6C + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -179496,7 +179496,7 @@ sub_805B400: @ 0x0805B400 str r0, [r1] ldr r0, _0805B440 @ gUnknown_085D4F98 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -179584,7 +179584,7 @@ _0805B48C: cmp r0, r8 bne _0805B4C6 adds r0, r2, #0 - bl Delete6C + bl Proc_Delete _0805B4C6: pop {r3, r4, r5} mov r8, r3 @@ -179607,7 +179607,7 @@ sub_805B4E8: @ 0x0805B4E8 adds r5, r1, #0 ldr r0, _0805B528 @ gUnknown_085D4FB8 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -179653,7 +179653,7 @@ sub_805B534: @ 0x0805B534 cmp r0, r1 bne _0805B54E adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805B54E: pop {r0} bx r0 @@ -179669,7 +179669,7 @@ sub_805B554: @ 0x0805B554 str r0, [r1] ldr r0, _0805B580 @ gUnknown_085D4FD0 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -179721,7 +179721,7 @@ _0805B5AA: cmp r0, r5 bne _0805B5CA adds r0, r3, #0 - bl Delete6C + bl Proc_Delete _0805B5CA: pop {r4, r5} pop {r0} @@ -179748,7 +179748,7 @@ sub_805B5E0: @ 0x0805B5E0 str r0, [r1] ldr r0, _0805B62C @ gUnknown_085D4FF0 movs r1, #3 - bl New6C + bl Proc_Create adds r7, r0, #0 mov r0, r8 str r0, [r7, #0x5c] @@ -179889,7 +179889,7 @@ _0805B6FC: subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805B718: pop {r4, r5, r6, r7} pop {r0} @@ -180147,7 +180147,7 @@ _0805B908: _0805B90E: ldr r0, _0805B938 @ gUnknown_085D5008 movs r1, #0 - bl New6C + bl Proc_Create ldr r1, [sp] str r1, [r0, #0x5c] movs r1, #0 @@ -180179,7 +180179,7 @@ sub_805B93C: @ 0x0805B93C THUMB_FUNC_START sub_805B94C sub_805B94C: @ 0x0805B94C push {lr} - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r0} bx r0 @@ -180263,7 +180263,7 @@ _0805B9D0: movs r0, #0 bl SetPrimaryHBlankHandler adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805BA00: pop {r4} pop {r0} @@ -180291,7 +180291,7 @@ sub_805BA1C: @ 0x0805BA1C str r0, [r1] ldr r0, _0805BA60 @ gUnknown_085D5028 movs r1, #3 - bl New6C + bl Proc_Create str r5, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -180402,7 +180402,7 @@ _0805BAFE: subs r0, #1 str r0, [r1] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805BB18: add sp, #4 pop {r4, r5, r6} @@ -180433,7 +180433,7 @@ sub_805BB24: @ 0x0805BB24 str r0, [r1] ldr r0, _0805BB80 @ gUnknown_085D5040 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 mov r0, r8 str r0, [r4, #0x5c] @@ -180581,7 +180581,7 @@ _0805BC44: str r0, [r1] bl SetDefaultColorEffects adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805BC6E: pop {r3, r4} mov r8, r3 @@ -180606,7 +180606,7 @@ StartSpellThing_MagicQuake: @ 0x0805BC80 str r0, [r1] ldr r0, _0805BCC0 @ gUnknown_085D5058 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r6, [r4, #0x5c] adds r0, r5, #0 @@ -180819,9 +180819,9 @@ _0805BE2A: bl sub_80559F0 mov r1, r8 ldr r0, [r1, #0x60] - bl Delete6C + bl Proc_Delete mov r0, r8 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805BE6A: pop {r3, r4, r5} mov r8, r3 @@ -180846,7 +180846,7 @@ StartSpellAnimDummy: @ 0x0805BE90 bl ClearBG1Setup ldr r0, _0805BEB0 @ gUnknown_085D5070 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -180894,7 +180894,7 @@ _0805BEDA: _0805BEF8: bl SetSomethingSpellFxToFalse adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805BF02: pop {r4, r5, r6} pop {r0} @@ -180908,7 +180908,7 @@ StartSpellAnimHandAxe: @ 0x0805BF08 bl ClearBG1Setup ldr r0, _0805BF3C @ gUnknown_085D5088 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -180994,7 +180994,7 @@ _0805BFC0: bne _0805BFD6 bl SetSomethingSpellFxToFalse adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805BFD6: pop {r4, r5, r6} pop {r0} @@ -181011,7 +181011,7 @@ sub_805BFDC: @ 0x0805BFDC str r0, [r1] ldr r0, _0805C024 @ gUnknown_085D50A0 movs r1, #3 - bl New6C + bl Proc_Create adds r6, r0, #0 str r4, [r6, #0x5c] movs r0, #0 @@ -181104,9 +181104,9 @@ sub_805C080: @ 0x0805C080 movs r1, #1 str r1, [r0] ldr r0, [r4, #0x64] - bl Delete6C + bl Proc_Delete adds r0, r4, #0 - bl Delete6C + bl Proc_Delete b _0805C0D6 .align 2, 0 _0805C0C4: .4byte gUnknown_0201774C @@ -181114,7 +181114,7 @@ _0805C0C8: .4byte gUnknown_0203E120 _0805C0CC: .4byte gUnknown_02017758 _0805C0D0: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805C0D6: pop {r4} pop {r0} @@ -181128,11 +181128,11 @@ sub_805C0DC: @ 0x0805C0DC movs r0, #0 str r0, [r1] ldr r0, [r4, #0x64] - bl Delete6C + bl Proc_Delete ldr r0, [r4, #0x5c] bl sub_805C104 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -181150,7 +181150,7 @@ sub_805C104: @ 0x0805C104 str r0, [r1] ldr r0, _0805C148 @ gUnknown_085D50C0 movs r1, #3 - bl New6C + bl Proc_Create adds r6, r0, #0 str r4, [r6, #0x5c] movs r0, #0 @@ -181218,11 +181218,11 @@ sub_805C188: @ 0x0805C188 movs r0, #1 str r0, [r1] ldr r0, [r4, #0x64] - bl Delete6C + bl Proc_Delete ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805C1BA: pop {r4} pop {r0} @@ -181242,7 +181242,7 @@ sub_805C1C8: @ 0x0805C1C8 str r0, [r1] ldr r0, _0805C208 @ gUnknown_085D50D8 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r6, [r4, #0x5c] str r5, [r4, #0x60] @@ -181320,7 +181320,7 @@ StartSpellAnimArrow: @ 0x0805C264 bl ClearBG1Setup ldr r0, _0805C298 @ gUnknown_085D50F8 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -181419,7 +181419,7 @@ _0805C334: bne _0805C350 bl SetSomethingSpellFxToFalse adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805C350: pop {r4, r5, r6} pop {r0} @@ -181436,7 +181436,7 @@ sub_805C358: @ 0x0805C358 str r0, [r1] ldr r0, _0805C3A4 @ gUnknown_085D5110 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -181487,7 +181487,7 @@ sub_805C3C0: @ 0x0805C3C0 ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805C3E6: pop {r4} pop {r0} @@ -181503,7 +181503,7 @@ StartSpellAnimJavelin: @ 0x0805C3F0 bl ClearBG1Setup ldr r0, _0805C440 @ gUnknown_085D5128 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -181541,7 +181541,7 @@ sub_805C44C: @ 0x0805C44C bl ClearBG1Setup ldr r0, _0805C49C @ gUnknown_085D5128 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -181579,7 +181579,7 @@ sub_805C4A8: @ 0x0805C4A8 bl ClearBG1Setup ldr r0, _0805C4F8 @ gUnknown_085D5128 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -181617,7 +181617,7 @@ sub_805C504: @ 0x0805C504 bl ClearBG1Setup ldr r0, _0805C554 @ gUnknown_085D5128 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -181655,7 +181655,7 @@ sub_805C560: @ 0x0805C560 bl ClearBG1Setup ldr r0, _0805C5B0 @ gUnknown_085D5128 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -181693,7 +181693,7 @@ sub_805C5BC: @ 0x0805C5BC bl ClearBG1Setup ldr r0, _0805C60C @ gUnknown_085D5128 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -181731,7 +181731,7 @@ sub_805C618: @ 0x0805C618 bl ClearBG1Setup ldr r0, _0805C668 @ gUnknown_085D5128 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -181769,7 +181769,7 @@ sub_805C674: @ 0x0805C674 bl ClearBG1Setup ldr r0, _0805C6C4 @ gUnknown_085D5128 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -181807,7 +181807,7 @@ sub_805C6D0: @ 0x0805C6D0 bl ClearBG1Setup ldr r0, _0805C720 @ gUnknown_085D5128 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -181845,7 +181845,7 @@ sub_805C72C: @ 0x0805C72C bl ClearBG1Setup ldr r0, _0805C77C @ gUnknown_085D5128 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -181883,7 +181883,7 @@ sub_805C788: @ 0x0805C788 bl ClearBG1Setup ldr r0, _0805C7D8 @ gUnknown_085D5128 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -181987,7 +181987,7 @@ _0805C870: bne _0805C886 bl SetSomethingSpellFxToFalse adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805C886: pop {r4, r5, r6} pop {r0} @@ -182005,7 +182005,7 @@ sub_805C88C: @ 0x0805C88C str r0, [r1] ldr r0, _0805C8BC @ gUnknown_085D5140 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r6, [r5, #0x5c] movs r0, #0 @@ -182068,7 +182068,7 @@ sub_805C904: @ 0x0805C904 ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805C92A: pop {r4} pop {r0} @@ -182084,7 +182084,7 @@ StartSpellAnimSong: @ 0x0805C934 bl ClearBG1Setup ldr r0, _0805C968 @ gUnknown_085D5158 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -182208,7 +182208,7 @@ _0805CA44: strh r0, [r4, #0x10] bl SetSomethingSpellFxToFalse adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805CA5A: add sp, #8 pop {r4, r5, r6, r7} @@ -182226,7 +182226,7 @@ sub_805CA64: @ 0x0805CA64 str r0, [r1] ldr r0, _0805CAB0 @ gUnknown_085D5170 movs r1, #3 - bl New6C + bl Proc_Create str r5, [r0, #0x5c] movs r2, #0 strh r2, [r0, #0x2c] @@ -182309,7 +182309,7 @@ _0805CB14: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805CB32: pop {r3} mov r8, r3 @@ -182331,7 +182331,7 @@ sub_805CB40: @ 0x0805CB40 str r0, [r1] ldr r0, _0805CB98 @ gUnknown_085D5260 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r6, [r4, #0x5c] movs r0, #0 @@ -182386,7 +182386,7 @@ sub_805CBA8: @ 0x0805CBA8 subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805CBD2: pop {r4} pop {r0} @@ -182402,7 +182402,7 @@ StartSpellAnimDance: @ 0x0805CBDC bl ClearBG1Setup ldr r0, _0805CC10 @ gUnknown_085D5278 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -182526,7 +182526,7 @@ _0805CCEC: strh r0, [r4, #0x10] bl SetSomethingSpellFxToFalse adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805CD02: add sp, #8 pop {r4, r5, r6, r7} @@ -182541,7 +182541,7 @@ sub_805CD0C: @ 0x0805CD0C bl ClearBG1Setup ldr r0, _0805CD58 @ gUnknown_085D5290 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -182655,7 +182655,7 @@ _0805CE02: bne _0805CE14 bl SetSomethingSpellFxToFalse adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805CE14: pop {r4, r5, r6} pop {r0} @@ -182672,7 +182672,7 @@ sub_805CE1C: @ 0x0805CE1C str r0, [r1] ldr r0, _0805CE74 @ gUnknown_085D52A8 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r7, #0 @@ -182738,7 +182738,7 @@ sub_805CE94: @ 0x0805CE94 subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805CEBA: pop {r4} pop {r0} @@ -182759,7 +182759,7 @@ sub_805CEC8: @ 0x0805CEC8 bl ClearBG1Setup ldr r0, _0805CF00 @ gUnknown_085D52C0 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -182857,7 +182857,7 @@ _0805CF9A: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805CFB6: add sp, #8 pop {r4, r5, r6, r7} @@ -182875,7 +182875,7 @@ sub_805CFC0: @ 0x0805CFC0 str r0, [r1] ldr r0, _0805D01C @ gUnknown_085D52D8 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -182934,7 +182934,7 @@ sub_805D030: @ 0x0805D030 subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805D05A: pop {r4} pop {r0} @@ -182950,7 +182950,7 @@ StartSpellAnimFireBreath: @ 0x0805D064 bl ClearBG1Setup ldr r0, _0805D098 @ gUnknown_085D52F0 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -183042,7 +183042,7 @@ _0805D134: bne _0805D142 bl SetSomethingSpellFxToFalse adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805D142: add sp, #8 pop {r4, r5, r6} @@ -183060,7 +183060,7 @@ sub_805D14C: @ 0x0805D14C str r0, [r1] ldr r0, _0805D1AC @ gUnknown_085D5308 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r6, [r5, #0x5c] movs r0, #0 @@ -183175,7 +183175,7 @@ _0805D22E: subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805D254: pop {r4} pop {r0} @@ -183193,7 +183193,7 @@ sub_805D260: @ 0x0805D260 str r0, [r1] ldr r0, _0805D2A8 @ gUnknown_085D5320 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -183239,7 +183239,7 @@ sub_805D2B4: @ 0x0805D2B4 subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805D2E0: pop {r4} pop {r0} @@ -183257,7 +183257,7 @@ sub_805D2EC: @ 0x0805D2EC str r0, [r1] ldr r0, _0805D31C @ gUnknown_085D5338 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -183314,7 +183314,7 @@ _0805D368: subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805D37E: pop {r4, r5} pop {r0} @@ -183331,7 +183331,7 @@ StartSpellAnimIceBreath: @ 0x0805D388 bl ClearBG1Setup ldr r0, _0805D3C0 @ gUnknown_085D5358 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -183404,7 +183404,7 @@ _0805D428: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805D43E: pop {r4, r5} pop {r0} @@ -183421,7 +183421,7 @@ sub_805D444: @ 0x0805D444 str r0, [r1] ldr r0, _0805D484 @ gUnknown_085D5370 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] ldr r2, _0805D488 @ gUnknown_085E420C @@ -183486,7 +183486,7 @@ StartSpellAnimDarkBreath: @ 0x0805D4D0 bl ClearBG1Setup ldr r0, _0805D504 @ gUnknown_085D5390 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -183567,7 +183567,7 @@ _0805D584: bne _0805D596 bl SetSomethingSpellFxToFalse adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805D596: pop {r4, r5} pop {r0} @@ -183583,7 +183583,7 @@ sub_805D59C: @ 0x0805D59C str r0, [r1] ldr r0, _0805D5DC @ gUnknown_085D53A8 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -183643,7 +183643,7 @@ _0805D61A: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805D638: pop {r4} pop {r0} @@ -183661,7 +183661,7 @@ sub_805D644: @ 0x0805D644 str r0, [r1] ldr r0, _0805D674 @ gUnknown_085D53F0 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -183709,7 +183709,7 @@ _0805D6A6: subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805D6C0: pop {r4} pop {r0} @@ -183728,7 +183728,7 @@ sub_805D6CC: @ 0x0805D6CC str r0, [r1] ldr r0, _0805D72C @ gUnknown_085D5410 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r6, [r5, #0x5c] movs r0, #0 @@ -183841,7 +183841,7 @@ _0805D7A8: ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805D7CE: pop {r4} pop {r0} @@ -183858,7 +183858,7 @@ StartSpellAnimThunder: @ 0x0805D7D8 bl ClearBG1Setup ldr r0, _0805D810 @ gUnknown_085D5428 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -183945,7 +183945,7 @@ _0805D892: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805D8AE: pop {r4, r5, r6} pop {r0} @@ -183961,7 +183961,7 @@ sub_805D8B4: @ 0x0805D8B4 str r0, [r1] ldr r0, _0805D910 @ gUnknown_085D5440 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -184065,7 +184065,7 @@ _0805D990: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805D9AE: add sp, #4 pop {r4, r5, r6} @@ -184084,7 +184084,7 @@ sub_805D9BC: @ 0x0805D9BC str r0, [r1] ldr r0, _0805D9EC @ gUnknown_085D5468 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -184132,7 +184132,7 @@ _0805DA1E: subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805DA38: pop {r4} pop {r0} @@ -184151,7 +184151,7 @@ sub_805DA44: @ 0x0805DA44 str r0, [r1] ldr r0, _0805DA90 @ gUnknown_085D5488 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -184200,7 +184200,7 @@ sub_805DAA4: @ 0x0805DAA4 subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805DACA: pop {r4} pop {r0} @@ -184217,7 +184217,7 @@ StartSpellAnimFire: @ 0x0805DAD4 bl ClearBG1Setup ldr r0, _0805DB14 @ gUnknown_085D54A0 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r1, #0 @@ -184248,7 +184248,7 @@ StartSpellAnimElfire: @ 0x0805DB18 bl ClearBG1Setup ldr r0, _0805DB58 @ gUnknown_085D54A0 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -184387,7 +184387,7 @@ _0805DC42: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805DC58: pop {r3, r4} mov r8, r3 @@ -184406,7 +184406,7 @@ sub_805DC64: @ 0x0805DC64 str r0, [r1] ldr r0, _0805DCAC @ gUnknown_085D54B8 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -184472,7 +184472,7 @@ _0805DCF2: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805DD10: pop {r4} pop {r0} @@ -184491,7 +184491,7 @@ sub_805DD1C: @ 0x0805DD1C str r0, [r1] ldr r0, _0805DD64 @ gUnknown_085D5530 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r6, [r4, #0x5c] movs r0, #0 @@ -184572,7 +184572,7 @@ _0805DDCE: subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805DDE6: pop {r4} pop {r0} @@ -184590,7 +184590,7 @@ StartSubSpell_efxFireHITBG: @ 0x0805DDF0 str r0, [r1] ldr r0, _0805DE4C @ gUnknown_085D5548 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -184680,7 +184680,7 @@ _0805DEB0: str r0, [r1] bl sub_805526C adds r0, r7, #0 - bl Delete6C + bl Proc_Delete _0805DECE: pop {r4, r5, r6, r7} pop {r0} @@ -184699,7 +184699,7 @@ StartSubSpell_efxElfireBG: @ 0x0805DED8 str r0, [r1] ldr r0, _0805DF38 @ gUnknown_085D5608 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -184774,7 +184774,7 @@ sub_805DF70: @ 0x0805DF70 subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805DF98: pop {r4} pop {r0} @@ -184792,7 +184792,7 @@ StartSubSpell_efxElfireBGCOL: @ 0x0805DFA4 str r0, [r1] ldr r0, _0805DFDC @ gUnknown_085D5620 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -184842,7 +184842,7 @@ _0805E00E: subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805E024: pop {r4} pop {r0} @@ -184861,7 +184861,7 @@ StartSubSpell_efxElfireOBJ: @ 0x0805E030 str r0, [r1] ldr r0, _0805E074 @ gUnknown_085D5640 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -184929,7 +184929,7 @@ sub_805E0B4: @ 0x0805E0B4 subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805E0DA: pop {r4} pop {r0} @@ -184946,7 +184946,7 @@ StartSpellAnimFimbulvetr: @ 0x0805E0E4 bl ClearBG1Setup ldr r0, _0805E11C @ gUnknown_085D5658 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -185084,7 +185084,7 @@ _0805E20C: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805E228: add sp, #8 pop {r4, r5, r6, r7} @@ -185101,7 +185101,7 @@ sub_805E230: @ 0x0805E230 str r0, [r1] ldr r0, _0805E288 @ gUnknown_085D5670 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -185191,7 +185191,7 @@ _0805E2F0: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805E30E: pop {r4, r5} pop {r0} @@ -185209,7 +185209,7 @@ sub_805E318: @ 0x0805E318 str r0, [r1] ldr r0, _0805E370 @ gUnknown_085D56B8 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -185322,7 +185322,7 @@ _0805E408: str r0, [r1] bl sub_805526C adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805E426: pop {r4, r5, r6} pop {r0} @@ -185341,7 +185341,7 @@ sub_805E430: @ 0x0805E430 str r0, [r1] ldr r0, _0805E484 @ gUnknown_085D5728 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -185392,7 +185392,7 @@ sub_805E494: @ 0x0805E494 subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805E4BA: pop {r4} pop {r0} @@ -185410,7 +185410,7 @@ sub_805E4C4: @ 0x0805E4C4 str r0, [r1] ldr r0, _0805E504 @ gUnknown_085D5740 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r2, #0 strh r2, [r0, #0x2c] @@ -185451,7 +185451,7 @@ _0805E516: subs r0, #1 str r0, [r1] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4, r5} pop {r0} bx r0 @@ -185481,7 +185481,7 @@ sub_805E53C: @ 0x0805E53C str r0, [r1] ldr r0, _0805E5D0 @ gUnknown_085D5758 movs r1, #3 - bl New6C + bl Proc_Create adds r7, r0, #0 str r6, [r7, #0x5c] strh r5, [r7, #0x2c] @@ -185633,7 +185633,7 @@ sub_805E694: @ 0x0805E694 adds r0, r3, #0 bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0805E748 .align 2, 0 _0805E6C4: .4byte gUnknown_0201774C @@ -185722,7 +185722,7 @@ sub_805E754: @ 0x0805E754 bl ClearBG1Setup ldr r0, _0805E78C @ gUnknown_085D5770 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -185824,7 +185824,7 @@ _0805E82C: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805E848: pop {r4, r5, r6} pop {r0} @@ -185840,7 +185840,7 @@ sub_805E850: @ 0x0805E850 str r0, [r1] ldr r0, _0805E890 @ gUnknown_085D5788 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -185906,7 +185906,7 @@ _0805E8E0: subs r0, #1 str r0, [r1] adds r0, r7, #0 - bl Delete6C + bl Proc_Delete _0805E8F6: pop {r4, r5, r6, r7} pop {r0} @@ -185924,7 +185924,7 @@ sub_805E900: @ 0x0805E900 str r0, [r1] ldr r0, _0805E920 @ gUnknown_085D57F8 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] pop {r4} pop {r0} @@ -185953,7 +185953,7 @@ sub_805E924: @ 0x0805E924 lsls r1, r1, #5 bl SomeImageStoringRoutine_SpellAnim adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback add sp, #4 pop {r4} pop {r0} @@ -185974,7 +185974,7 @@ sub_805E968: @ 0x0805E968 subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -185991,7 +185991,7 @@ sub_805E98C: @ 0x0805E98C str r0, [r1] ldr r0, _0805E9AC @ gUnknown_085D5820 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] pop {r4} pop {r0} @@ -186021,7 +186021,7 @@ sub_805E9B0: @ 0x0805E9B0 movs r0, #5 strh r0, [r4, #0x2e] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -186066,7 +186066,7 @@ sub_805E9E4: @ 0x0805E9E4 movs r0, #0xa strh r0, [r6, #0x2e] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805EA3A: add sp, #4 pop {r4, r5, r6} @@ -186113,7 +186113,7 @@ sub_805EA4C: @ 0x0805EA4C subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805EA9E: add sp, #4 pop {r4} @@ -186139,7 +186139,7 @@ sub_805EAAC: @ 0x0805EAAC bl CpuFastSet ldr r0, _0805EAEC @ gUnknown_085D5860 movs r1, #0 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -186193,7 +186193,7 @@ sub_805EAF0: @ 0x0805EAF0 movs r0, #0 strh r0, [r5, #0x2c] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805EB46: add sp, #4 pop {r4, r5} @@ -186227,7 +186227,7 @@ sub_805EB54: @ 0x0805EB54 subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805EB8A: pop {r4} pop {r0} @@ -186245,7 +186245,7 @@ sub_805EB98: @ 0x0805EB98 bl ClearBG1Setup ldr r0, _0805EBD0 @ gUnknown_085D5880 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -186377,7 +186377,7 @@ _0805ECAA: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805ECCC: add sp, #8 pop {r4, r5, r6} @@ -186394,7 +186394,7 @@ sub_805ECD4: @ 0x0805ECD4 str r0, [r1] ldr r0, _0805ED24 @ gUnknown_085D5898 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -186468,7 +186468,7 @@ _0805ED70: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805ED8E: pop {r4} pop {r0} @@ -186486,7 +186486,7 @@ sub_805ED98: @ 0x0805ED98 str r0, [r1] ldr r0, _0805EDD0 @ gUnknown_085D58B8 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -186537,7 +186537,7 @@ _0805EE02: subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805EE18: pop {r4} pop {r0} @@ -186556,7 +186556,7 @@ sub_805EE24: @ 0x0805EE24 str r0, [r1] ldr r0, _0805EE6C @ gUnknown_085D58D8 movs r1, #3 - bl New6C + bl Proc_Create adds r6, r0, #0 str r4, [r6, #0x5c] movs r0, #0 @@ -186624,7 +186624,7 @@ sub_805EEAC: @ 0x0805EEAC subs r0, #1 str r0, [r1] adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805EED0: pop {r0} bx r0 @@ -186640,7 +186640,7 @@ sub_805EED8: @ 0x0805EED8 bl ClearBG1Setup ldr r0, _0805EF10 @ gUnknown_085D58F0 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -186734,7 +186734,7 @@ _0805EFA8: cmp r1, r0 bne _0805EFB8 ldr r0, [r4, #0x64] - bl Delete6C + bl Proc_Delete b _0805EFFE _0805EFB8: adds r0, r2, #0 @@ -186766,7 +186766,7 @@ _0805EFE8: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805EFFE: pop {r4, r5} pop {r0} @@ -186782,7 +186782,7 @@ sub_805F004: @ 0x0805F004 str r0, [r1] ldr r0, _0805F060 @ gUnknown_085D5908 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -186862,7 +186862,7 @@ sub_805F0B0: @ 0x0805F0B0 str r0, [r1] ldr r0, _0805F118 @ gUnknown_085D5908 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -186957,7 +186957,7 @@ _0805F17C: str r0, [r1] bl sub_805526C adds r0, r7, #0 - bl Delete6C + bl Proc_Delete _0805F19A: pop {r4, r5, r6, r7} pop {r0} @@ -186976,7 +186976,7 @@ sub_805F1A4: @ 0x0805F1A4 str r0, [r1] ldr r0, _0805F1E0 @ gUnknown_085D5A68 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] adds r0, r5, #0 @@ -187008,7 +187008,7 @@ sub_805F1E8: @ 0x0805F1E8 str r0, [r1] ldr r0, _0805F22C @ gUnknown_085D5AB0 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] adds r0, r5, #0 @@ -187065,7 +187065,7 @@ sub_805F24C: @ 0x0805F24C lsls r1, r1, #5 bl SomeImageStoringRoutine_SpellAnim adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -187092,7 +187092,7 @@ sub_805F288: @ 0x0805F288 lsls r1, r1, #5 bl SomeImageStoringRoutine_SpellAnim adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -187119,7 +187119,7 @@ sub_805F2C4: @ 0x0805F2C4 lsls r1, r1, #5 bl SomeImageStoringRoutine_SpellAnim adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -187144,7 +187144,7 @@ sub_805F300: @ 0x0805F300 movs r0, #0x27 strh r0, [r4, #0x2c] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -187184,7 +187184,7 @@ StartSpellAnimNosferatu: @ 0x0805F354 bl ClearBG1Setup ldr r0, _0805F38C @ gUnknown_085D5AE0 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -187331,7 +187331,7 @@ _0805F490: bne _0805F4A8 bl SetSomethingSpellFxToFalse adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805F4A8: add sp, #8 pop {r4, r5, r6, r7} @@ -187349,7 +187349,7 @@ sub_805F4B0: @ 0x0805F4B0 str r0, [r1] ldr r0, _0805F514 @ gUnknown_085D5AF8 movs r1, #3 - bl New6C + bl Proc_Create adds r6, r0, #0 str r4, [r6, #0x5c] adds r1, r6, #0 @@ -187411,7 +187411,7 @@ sub_805F53C: @ 0x0805F53C str r0, [r1] ldr r0, _0805F5B0 @ gUnknown_085D5B28 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -187519,7 +187519,7 @@ _0805F618: bl sub_805526C bl sub_8055000 adds r0, r7, #0 - bl Delete6C + bl Proc_Delete b _0805F65A .align 2, 0 _0805F648: .4byte gUnknown_0201774C @@ -187529,7 +187529,7 @@ _0805F64C: movs r0, #1 strh r0, [r7, #0x2e] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805F65A: pop {r4, r5, r6, r7} pop {r0} @@ -187550,7 +187550,7 @@ sub_805F660: @ 0x0805F660 bl sub_805526C bl sub_8055000 adds r0, r4, #0 - bl Delete6C + bl Proc_Delete b _0805F6E6 .align 2, 0 _0805F684: .4byte gUnknown_02017750 @@ -187599,7 +187599,7 @@ _0805F6A4: bl sub_80533D0 _0805F6E0: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805F6E6: pop {r4, r5} pop {r0} @@ -187659,7 +187659,7 @@ _0805F74A: movs r3, #1 bl sub_80729A4 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805F766: pop {r4, r5} pop {r0} @@ -187707,7 +187707,7 @@ _0805F7A8: bl sub_805526C bl sub_8055000 adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805F7CA: pop {r4, r5, r6, r7} pop {r0} @@ -187756,7 +187756,7 @@ _0805F810: str r0, [r1] bl sub_805526C adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805F82E: pop {r4, r5, r6, r7} pop {r0} @@ -187776,7 +187776,7 @@ sub_805F838: @ 0x0805F838 str r0, [r1] ldr r0, _0805F864 @ gUnknown_085D5CD8 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -187819,7 +187819,7 @@ sub_805F868: @ 0x0805F868 subs r0, #1 str r0, [r1] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805F8A6: add sp, #4 pop {r4, r5} @@ -187837,7 +187837,7 @@ sub_805F8B4: @ 0x0805F8B4 bl ClearBG1Setup ldr r0, _0805F8EC @ gUnknown_085D5CF0 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -187934,7 +187934,7 @@ _0805F984: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805F9A0: pop {r4, r5, r6} pop {r0} @@ -187950,7 +187950,7 @@ sub_805F9A8: @ 0x0805F9A8 str r0, [r1] ldr r0, _0805FA00 @ gUnknown_085D5D08 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -188074,7 +188074,7 @@ _0805FAB0: str r0, [r1] bl sub_805526C adds r0, r7, #0 - bl Delete6C + bl Proc_Delete _0805FACE: add sp, #4 pop {r3} @@ -188094,7 +188094,7 @@ StartSpellAnimPurge: @ 0x0805FAE0 bl ClearBG1Setup ldr r0, _0805FB1C @ gUnknown_085D5EAC movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r6, #0 @@ -188284,7 +188284,7 @@ _0805FC72: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805FC88: add sp, #8 pop {r4, r5, r6, r7} @@ -188301,7 +188301,7 @@ sub_805FC90: @ 0x0805FC90 str r0, [r1] ldr r0, _0805FCCC @ gUnknown_085D5EC4 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -188376,7 +188376,7 @@ _0805FD2E: str r0, [r1] bl sub_805526C adds r0, r7, #0 - bl Delete6C + bl Proc_Delete _0805FD4C: pop {r3} mov r8, r3 @@ -188396,7 +188396,7 @@ sub_805FD5C: @ 0x0805FD5C str r0, [r1] ldr r0, _0805FD8C @ gUnknown_085D6284 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r2, #0 strh r2, [r0, #0x2c] @@ -188456,7 +188456,7 @@ sub_805FD90: @ 0x0805FD90 subs r0, #1 str r0, [r1] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805FDEC: pop {r4, r5} pop {r0} @@ -188480,7 +188480,7 @@ sub_805FDFC: @ 0x0805FDFC str r0, [r1] ldr r0, _0805FE58 @ gUnknown_085D62DC movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] ldr r3, _0805FE5C @ gUnknown_0866F58C @@ -188540,7 +188540,7 @@ StartSpellAnimDivine: @ 0x0805FE84 bl ClearBG1Setup ldr r0, _0805FEBC @ gUnknown_085D62FC movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -188668,7 +188668,7 @@ _0805FF90: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0805FFAA: pop {r4, r5} pop {r0} @@ -188684,7 +188684,7 @@ sub_805FFB0: @ 0x0805FFB0 str r0, [r1] ldr r0, _08060008 @ gUnknown_085D6314 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -188743,7 +188743,7 @@ sub_8060034: @ 0x08060034 str r0, [r1] ldr r0, _0806008C @ gUnknown_085D6314 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -188802,7 +188802,7 @@ sub_80600B8: @ 0x080600B8 str r0, [r1] ldr r0, _08060110 @ gUnknown_085D6314 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -188919,7 +188919,7 @@ _080601B4: str r0, [r1] bl sub_805526C adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080601D2: add sp, #4 pop {r4, r5, r6, r7} @@ -188939,7 +188939,7 @@ sub_80601E0: @ 0x080601E0 str r0, [r1] ldr r0, _08060224 @ gUnknown_085D648C movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -189001,7 +189001,7 @@ sub_8060254: @ 0x08060254 subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806027A: pop {r4} pop {r0} @@ -189026,7 +189026,7 @@ sub_806028C: @ 0x0806028C bl ClearBG1Setup ldr r0, _080602C4 @ gUnknown_085D64A4 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -189212,7 +189212,7 @@ _08060420: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08060438: add sp, #8 pop {r4, r5, r6, r7} @@ -189229,7 +189229,7 @@ sub_8060440: @ 0x08060440 str r0, [r1] ldr r0, _08060498 @ gUnknown_085D64BC movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r2, #0 strh r2, [r0, #0x2c] @@ -189279,7 +189279,7 @@ sub_80604B0: @ 0x080604B0 str r0, [r1] ldr r0, _08060500 @ gUnknown_085D64BC movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r2, #0 strh r2, [r0, #0x2c] @@ -189322,7 +189322,7 @@ sub_8060514: @ 0x08060514 str r0, [r1] ldr r0, _08060558 @ gUnknown_085D64BC movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r2, #0 strh r2, [r0, #0x2c] @@ -189402,7 +189402,7 @@ _080605BC: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080605DA: pop {r3} mov r8, r3 @@ -189423,7 +189423,7 @@ sub_80605E8: @ 0x080605E8 str r0, [r1] ldr r0, _08060644 @ gUnknown_085D65AC movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] adds r0, r5, #0 @@ -189524,7 +189524,7 @@ _080606C0: bne _080606D0 strh r4, [r1, #0x2c] adds r0, r1, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080606D0: pop {r4} pop {r0} @@ -189568,7 +189568,7 @@ _0806071C: bne _0806072C strh r4, [r1, #0x2c] adds r0, r1, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806072C: pop {r4} pop {r0} @@ -189612,7 +189612,7 @@ _08060778: bne _08060788 strh r4, [r1, #0x2c] adds r0, r1, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08060788: pop {r4} pop {r0} @@ -189628,7 +189628,7 @@ sub_8060790: @ 0x08060790 str r0, [r1] ldr r0, _080607CC @ gUnknown_085D65F4 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -189691,7 +189691,7 @@ sub_80607D8: @ 0x080607D8 subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806082A: pop {r4} pop {r0} @@ -189715,7 +189715,7 @@ sub_8060838: @ 0x08060838 str r0, [r1] ldr r0, _08060884 @ gUnknown_085D6624 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -189764,7 +189764,7 @@ StartSpellAnimFenrir: @ 0x080608A4 bl ClearBG1Setup ldr r0, _080608DC @ gUnknown_085D6644 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -189986,7 +189986,7 @@ _08060A72: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08060A94: add sp, #8 pop {r4, r5, r6, r7} @@ -190005,7 +190005,7 @@ sub_8060A9C: @ 0x08060A9C str r0, [r1] ldr r0, _08060B14 @ gUnknown_085D665C movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -190090,7 +190090,7 @@ sub_8060B48: @ 0x08060B48 cmp r0, r1 ble _08060B72 adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08060B72: pop {r0} bx r0 @@ -190108,7 +190108,7 @@ sub_8060B7C: @ 0x08060B7C str r0, [r1] ldr r0, _08060BB8 @ gUnknown_085D667C movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -190170,7 +190170,7 @@ _08060BF8: cmp r0, r1 ble _08060C10 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08060C10: pop {r4} pop {r0} @@ -190188,7 +190188,7 @@ sub_8060C18: @ 0x08060C18 str r0, [r1] ldr r0, _08060C68 @ gUnknown_085D66A4 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -190239,7 +190239,7 @@ sub_8060C78: @ 0x08060C78 ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08060CA2: pop {r4} pop {r0} @@ -190257,7 +190257,7 @@ sub_8060CAC: @ 0x08060CAC str r0, [r1] ldr r0, _08060D14 @ gUnknown_085D66BC movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r1, #0 @@ -190321,7 +190321,7 @@ sub_8060D3C: @ 0x08060D3C str r0, [r1] ldr r0, _08060D9C @ gUnknown_085D66BC movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r1, #0 @@ -190457,7 +190457,7 @@ _08060E60: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08060E7E: add sp, #4 pop {r3} @@ -190478,7 +190478,7 @@ sub_8060E90: @ 0x08060E90 str r0, [r1] ldr r0, _08060ECC @ gUnknown_085D686C movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -190531,7 +190531,7 @@ sub_8060ED8: @ 0x08060ED8 subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08060F18: pop {r4} pop {r0} @@ -190550,7 +190550,7 @@ sub_8060F24: @ 0x08060F24 str r0, [r1] ldr r0, _08060F68 @ gUnknown_085D6884 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r6, [r5, #0x5c] movs r0, #0 @@ -190660,7 +190660,7 @@ sub_8060FA4: @ 0x08060FA4 ldr r0, [r6, #0x60] bl AIS_Free adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08061014: add sp, #4 pop {r4, r5, r6} @@ -190679,7 +190679,7 @@ StartSpellAnimHeal: @ 0x08061024 bl ClearBG1Setup ldr r0, _08061048 @ gUnknown_085D68BC movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -190809,7 +190809,7 @@ _08061124: strh r0, [r5, #0x10] _0806114A: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08061150: pop {r4, r5, r6} pop {r0} @@ -190824,7 +190824,7 @@ StartSpellAnimMend: @ 0x08061158 bl ClearBG1Setup ldr r0, _0806117C @ gUnknown_085D68D4 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -190977,7 +190977,7 @@ _08061284: strh r0, [r5, #0x10] _080612AE: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080612B4: pop {r4, r5, r6} pop {r0} @@ -190992,7 +190992,7 @@ StartSpellAnimRecover: @ 0x080612BC bl ClearBG1Setup ldr r0, _080612E0 @ gUnknown_085D68EC movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -191145,7 +191145,7 @@ _080613E8: strh r0, [r5, #0x10] _08061412: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08061418: pop {r4, r5, r6} pop {r0} @@ -191160,7 +191160,7 @@ sub_8061420: @ 0x08061420 bl ClearBG1Setup ldr r0, _08061444 @ gUnknown_085D6904 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -191319,7 +191319,7 @@ _0806155C: strh r0, [r5, #0x10] _08061586: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806158C: pop {r4, r5, r6} pop {r0} @@ -191336,7 +191336,7 @@ sub_8061594: @ 0x08061594 str r0, [r1] ldr r0, _080615E0 @ gUnknown_085D691C movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -191422,7 +191422,7 @@ sub_8061650: @ 0x08061650 str r0, [r1] ldr r0, _0806169C @ gUnknown_085D691C movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r1, #0 @@ -191540,7 +191540,7 @@ _08061750: subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08061768: pop {r4} pop {r0} @@ -191559,7 +191559,7 @@ sub_8061774: @ 0x08061774 str r0, [r1] ldr r0, _080617A0 @ gUnknown_085D6934 movs r1, #3 - bl New6C + bl Proc_Create adds r1, r0, #0 str r4, [r1, #0x5c] movs r0, #0 @@ -191619,7 +191619,7 @@ sub_80617E4: @ 0x080617E4 str r0, [r1] ldr r0, _08061810 @ gUnknown_085D6934 movs r1, #3 - bl New6C + bl Proc_Create adds r1, r0, #0 str r4, [r1, #0x5c] movs r0, #0 @@ -191697,7 +191697,7 @@ _0806187A: subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08061890: pop {r4} pop {r0} @@ -191720,7 +191720,7 @@ sub_806189C: @ 0x0806189C str r0, [r1] ldr r0, _080618D4 @ gUnknown_085D6954 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] strh r5, [r0, #0x2c] strh r6, [r0, #0x2e] @@ -191747,7 +191747,7 @@ sub_80618D8: @ 0x080618D8 cmp r0, #0 bne _080618EE adds r0, r1, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080618EE: pop {r0} bx r0 @@ -191768,7 +191768,7 @@ sub_80618F4: @ 0x080618F4 subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08061964 .align 2, 0 _08061918: .4byte gUnknown_0201774C @@ -191825,7 +191825,7 @@ sub_806196C: @ 0x0806196C str r0, [r1] ldr r0, _080619BC @ gUnknown_085D6974 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -191868,7 +191868,7 @@ sub_80619CC: @ 0x080619CC str r0, [r1] ldr r0, _08061A20 @ gUnknown_085D698C movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -191922,7 +191922,7 @@ sub_8061A30: @ 0x08061A30 ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08061A5A: pop {r4} pop {r0} @@ -191951,7 +191951,7 @@ sub_8061A64: @ 0x08061A64 strh r4, [r3, #6] strh r4, [r2, #0x2c] adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08061A8E: pop {r4, r5} pop {r0} @@ -191979,7 +191979,7 @@ sub_8061A98: @ 0x08061A98 ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08061AC2: pop {r4} pop {r0} @@ -191998,7 +191998,7 @@ sub_8061ACC: @ 0x08061ACC str r0, [r1] ldr r0, _08061B00 @ gUnknown_085D69AC movs r1, #3 - bl New6C + bl Proc_Create adds r1, r0, #0 str r5, [r1, #0x5c] movs r0, #0 @@ -192117,7 +192117,7 @@ _08061BBC: strh r5, [r0, #2] strh r6, [r0, #4] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08061BD6: add sp, #4 pop {r3} @@ -192146,7 +192146,7 @@ sub_8061BE4: @ 0x08061BE4 ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08061C0E: pop {r4} pop {r0} @@ -192163,7 +192163,7 @@ sub_8061C18: @ 0x08061C18 bl ClearBG1Setup ldr r0, _08061C44 @ gUnknown_085D69CC movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r2, #0 movs r1, #0 @@ -192185,7 +192185,7 @@ sub_8061C48: @ 0x08061C48 bl ClearBG1Setup ldr r0, _08061C74 @ gUnknown_085D69CC movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -192272,7 +192272,7 @@ _08061D0A: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08061D1E: pop {r4} pop {r0} @@ -192290,7 +192290,7 @@ sub_8061D28: @ 0x08061D28 str r0, [r1] ldr r0, _08061D68 @ gUnknown_085D69E4 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -192368,7 +192368,7 @@ _08061DD0: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08061DEE: pop {r4, r5, r6} pop {r0} @@ -192387,7 +192387,7 @@ sub_8061DF8: @ 0x08061DF8 str r0, [r1] ldr r0, _08061E28 @ gUnknown_085D6A0C movs r1, #3 - bl New6C + bl Proc_Create adds r1, r0, #0 str r4, [r1, #0x5c] movs r0, #0 @@ -192443,7 +192443,7 @@ _08061E6A: subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08061E80: pop {r4} pop {r0} @@ -192464,7 +192464,7 @@ sub_8061E8C: @ 0x08061E8C str r0, [r1] ldr r0, _08061F5C @ gUnknown_085D6A2C movs r1, #3 - bl New6C + bl Proc_Create str r5, [r0, #0x5c] movs r1, #0 mov r8, r1 @@ -192657,7 +192657,7 @@ _08061FDC: _0806203C: bl sub_805526C adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08062046: pop {r4, r5, r6, r7} pop {r0} @@ -192678,7 +192678,7 @@ sub_8062058: @ 0x08062058 str r0, [r1] ldr r0, _08062088 @ gUnknown_085D6A48 movs r1, #3 - bl New6C + bl Proc_Create adds r1, r0, #0 str r4, [r1, #0x5c] movs r0, #0 @@ -192734,7 +192734,7 @@ _080620CA: subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080620E0: pop {r4} pop {r0} @@ -192751,7 +192751,7 @@ sub_80620EC: @ 0x080620EC bl ClearBG1Setup ldr r0, _08062124 @ gUnknown_085D6A68 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -192935,7 +192935,7 @@ _08062274: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08062294: add sp, #8 pop {r3} @@ -192954,7 +192954,7 @@ sub_80622A0: @ 0x080622A0 str r0, [r1] ldr r0, _080622E0 @ gUnknown_085D6A80 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -193022,7 +193022,7 @@ _08062330: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806234E: pop {r4, r5} pop {r0} @@ -193041,7 +193041,7 @@ sub_8062358: @ 0x08062358 str r0, [r1] ldr r0, _08062398 @ gUnknown_085D6B00 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] ldr r3, _0806239C @ gUnknown_0867EE04 @@ -193105,7 +193105,7 @@ StartSpellAnimSilence: @ 0x080623E0 bl ClearBG1Setup ldr r0, _08062418 @ gUnknown_085D6B20 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -193237,7 +193237,7 @@ _080624FA: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08062518: add sp, #8 pop {r3} @@ -193256,7 +193256,7 @@ sub_8062524: @ 0x08062524 str r0, [r1] ldr r0, _08062588 @ gUnknown_085D6B38 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -193342,7 +193342,7 @@ _080625DE: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080625FC: pop {r4} pop {r0} @@ -193361,7 +193361,7 @@ sub_8062608: @ 0x08062608 str r0, [r1] ldr r0, _08062650 @ gUnknown_085D6B98 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] ldr r3, _08062654 @ gUnknown_08680FFC @@ -193412,7 +193412,7 @@ StartSpellAnimSleep: @ 0x08062678 bl ClearBG1Setup ldr r0, _080626B0 @ gUnknown_085D6BB8 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -193540,7 +193540,7 @@ _08062786: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080627A6: add sp, #8 pop {r3} @@ -193559,7 +193559,7 @@ sub_80627B4: @ 0x080627B4 str r0, [r1] ldr r0, _08062818 @ gUnknown_085D6BD0 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -193645,7 +193645,7 @@ _0806286E: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806288C: pop {r4} pop {r0} @@ -193664,7 +193664,7 @@ sub_8062898: @ 0x08062898 str r0, [r1] ldr r0, _080628E0 @ gUnknown_085D6C28 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] ldr r3, _080628E4 @ gUnknown_0868C2E8 @@ -193703,7 +193703,7 @@ sub_80628F0: @ 0x080628F0 str r0, [r1] ldr r0, _0806292C @ gUnknown_085D6C48 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] ldr r3, _08062930 @ gUnknown_0868C168 @@ -193745,7 +193745,7 @@ sub_8062944: @ 0x08062944 str r0, [r1] ldr r0, _08062964 @ gUnknown_085D6C68 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] pop {r4} pop {r0} @@ -193790,7 +193790,7 @@ StartSpellAnimHammerne: @ 0x08062998 bl ClearBG1Setup ldr r0, _080629D0 @ gUnknown_085D6CB0 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -193936,7 +193936,7 @@ _08062AC8: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08062AE8: add sp, #8 pop {r3} @@ -193955,7 +193955,7 @@ sub_8062AF4: @ 0x08062AF4 str r0, [r1] ldr r0, _08062B34 @ gUnknown_085D6CC8 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -194023,7 +194023,7 @@ _08062B84: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08062BA2: pop {r4, r5} pop {r0} @@ -194042,7 +194042,7 @@ sub_8062BAC: @ 0x08062BAC str r0, [r1] ldr r0, _08062BF4 @ gUnknown_085D6D48 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] ldr r3, _08062BF8 @ gUnknown_08684908 @@ -194089,7 +194089,7 @@ StartSpellAnimBerserk: @ 0x08062C14 bl ClearBG1Setup ldr r0, _08062C4C @ gUnknown_085D6D68 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -194202,7 +194202,7 @@ _08062D08: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08062D26: add sp, #4 pop {r4, r5, r6, r7} @@ -194224,7 +194224,7 @@ sub_8062D30: @ 0x08062D30 str r0, [r1] ldr r0, _08062E28 @ gUnknown_085D6D80 movs r1, #3 - bl New6C + bl Proc_Create str r5, [r0, #0x5c] movs r1, #0 mov sb, r1 @@ -194371,7 +194371,7 @@ sub_8062E44: @ 0x08062E44 subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08062E96: pop {r4, r5} pop {r0} @@ -194393,7 +194393,7 @@ sub_8062EAC: @ 0x08062EAC str r0, [r1] ldr r0, _08062ED4 @ gUnknown_085D6D98 movs r1, #4 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -194446,7 +194446,7 @@ sub_8062ED8: @ 0x08062ED8 cmp r0, r1 bne _08062F2C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08062F2C: add sp, #0x48 pop {r4} @@ -194477,7 +194477,7 @@ sub_8062F4C: @ 0x08062F4C str r0, [r1] ldr r0, _08062F98 @ gUnknown_085D6DB8 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] adds r0, r5, #0 @@ -194539,7 +194539,7 @@ sub_8062FBC: @ 0x08062FBC lsls r1, r1, #5 bl SomeImageStoringRoutine_SpellAnim adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -194566,7 +194566,7 @@ sub_8062FF8: @ 0x08062FF8 lsls r1, r1, #5 bl SomeImageStoringRoutine_SpellAnim adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -194593,7 +194593,7 @@ sub_8063034: @ 0x08063034 lsls r1, r1, #5 bl SomeImageStoringRoutine_SpellAnim adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -194620,7 +194620,7 @@ sub_8063070: @ 0x08063070 lsls r1, r1, #5 bl SomeImageStoringRoutine_SpellAnim adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -194647,7 +194647,7 @@ sub_80630AC: @ 0x080630AC lsls r1, r1, #5 bl SomeImageStoringRoutine_SpellAnim adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -194674,7 +194674,7 @@ sub_80630E8: @ 0x080630E8 lsls r1, r1, #5 bl SomeImageStoringRoutine_SpellAnim adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -194701,7 +194701,7 @@ sub_8063124: @ 0x08063124 lsls r1, r1, #5 bl SomeImageStoringRoutine_SpellAnim adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -194728,7 +194728,7 @@ sub_8063160: @ 0x08063160 lsls r1, r1, #5 bl SomeImageStoringRoutine_SpellAnim adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -194755,7 +194755,7 @@ sub_806319C: @ 0x0806319C lsls r1, r1, #5 bl SomeImageStoringRoutine_SpellAnim adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -194782,7 +194782,7 @@ sub_80631D8: @ 0x080631D8 lsls r1, r1, #5 bl SomeImageStoringRoutine_SpellAnim adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -194800,7 +194800,7 @@ sub_8063214: @ 0x08063214 bl ClearBG1Setup ldr r0, _0806324C @ gUnknown_085D6E70 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -194911,7 +194911,7 @@ _080632F8: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08063316: pop {r4, r5, r6, r7} pop {r0} @@ -194927,7 +194927,7 @@ sub_806331C: @ 0x0806331C str r0, [r1] ldr r0, _08063364 @ gUnknown_085D6E88 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -194991,7 +194991,7 @@ _080633A6: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080633C4: pop {r4} pop {r0} @@ -195010,7 +195010,7 @@ sub_80633D0: @ 0x080633D0 str r0, [r1] ldr r0, _08063418 @ gUnknown_085D6EB4 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] ldr r3, _0806341C @ gUnknown_08692524 @@ -195049,7 +195049,7 @@ sub_8063428: @ 0x08063428 str r0, [r1] ldr r0, _08063460 @ gUnknown_085D6ED4 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] ldr r3, _08063464 @ gUnknown_08692674 @@ -195091,7 +195091,7 @@ StartSpellAnimShine: @ 0x08063480 bl ClearBG1Setup ldr r0, _080634B8 @ gUnknown_085D6EF4 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -195203,7 +195203,7 @@ _08063572: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08063588: pop {r4, r5, r6} pop {r0} @@ -195219,7 +195219,7 @@ sub_8063590: @ 0x08063590 str r0, [r1] ldr r0, _080635D4 @ gUnknown_085D6F0C movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -195289,7 +195289,7 @@ _08063624: str r0, [r1] bl sub_805526C adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08063642: pop {r4, r5, r6, r7} pop {r0} @@ -195307,7 +195307,7 @@ sub_806364C: @ 0x0806364C str r0, [r1] ldr r0, _080636AC @ gUnknown_085D6F30 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -195420,7 +195420,7 @@ _08063740: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806375E: add sp, #4 pop {r4} @@ -195439,7 +195439,7 @@ sub_806376C: @ 0x0806376C str r0, [r1] ldr r0, _080637A4 @ gUnknown_085D6F6C movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -195490,7 +195490,7 @@ _080637D6: subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080637EC: pop {r4} pop {r0} @@ -195508,7 +195508,7 @@ sub_80637F8: @ 0x080637F8 str r0, [r1] ldr r0, _08063834 @ gUnknown_085D6F8C movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r2, #0 strh r2, [r0, #0x2c] @@ -195609,7 +195609,7 @@ _080638C0: subs r0, #1 str r0, [r1] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080638E0: pop {r4, r5, r6} pop {r0} @@ -195633,7 +195633,7 @@ sub_80638F0: @ 0x080638F0 str r0, [r1] ldr r0, _08063940 @ gUnknown_085D6FB4 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -195679,7 +195679,7 @@ sub_8063948: @ 0x08063948 subs r0, #1 str r0, [r1] adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806396C: pop {r0} bx r0 @@ -195695,7 +195695,7 @@ StartSpellAnimLuna: @ 0x08063974 bl ClearBG1Setup ldr r0, _080639AC @ gUnknown_085D6FCC movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -195908,7 +195908,7 @@ _08063B4C: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08063B62: add sp, #8 pop {r4, r5, r6, r7} @@ -195925,7 +195925,7 @@ sub_8063B6C: @ 0x08063B6C str r0, [r1] ldr r0, _08063BB4 @ gUnknown_085D6FE4 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -195989,7 +195989,7 @@ _08063BF6: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08063C14: pop {r4} pop {r0} @@ -196002,7 +196002,7 @@ sub_8063C20: @ 0x08063C20 push {lr} ldr r0, _08063C3C @ gUnknown_085D7000 movs r1, #3 - bl New6C + bl Proc_Create movs r1, #0 strh r1, [r0, #0x2c] strh r1, [r0, #0x2e] @@ -196116,7 +196116,7 @@ sub_8063CFC: @ 0x08063CFC adds r4, r0, #0 ldr r0, _08063D18 @ gUnknown_085D7018 movs r1, #3 - bl New6C + bl Proc_Create movs r1, #0 strh r1, [r0, #0x2c] movs r1, #0x14 @@ -196155,9 +196155,9 @@ sub_8063D1C: @ 0x08063D1C cmp r0, r1 ble _08063D5A adds r0, r5, #0 - bl Delete6C + bl Proc_Delete adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08063D5A: add sp, #4 pop {r4, r5} @@ -196176,7 +196176,7 @@ sub_8063D64: @ 0x08063D64 str r0, [r1] ldr r0, _08063DCC @ gUnknown_085D70F0 movs r1, #3 - bl New6C + bl Proc_Create adds r6, r0, #0 str r4, [r6, #0x5c] movs r0, #0 @@ -196303,7 +196303,7 @@ sub_8063E74: @ 0x08063E74 cmp r0, r1 ble _08063E98 adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08063E98: pop {r0} bx r0 @@ -196321,7 +196321,7 @@ sub_8063EA0: @ 0x08063EA0 str r0, [r1] ldr r0, _08063EDC @ gUnknown_085D7110 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -196383,7 +196383,7 @@ _08063F1C: cmp r0, r1 ble _08063F34 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08063F34: pop {r4} pop {r0} @@ -196399,7 +196399,7 @@ sub_8063F3C: @ 0x08063F3C str r0, [r1] ldr r0, _08063F98 @ gUnknown_085D7138 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -196489,7 +196489,7 @@ _08063FFC: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806401A: pop {r4, r5} pop {r0} @@ -196505,7 +196505,7 @@ sub_8064024: @ 0x08064024 _0806402A: ldr r0, _08064054 @ gUnknown_085D71B0 movs r1, #3 - bl New6C + bl Proc_Create str r5, [r0, #0x5c] str r4, [r0, #0x44] adds r4, #1 @@ -196568,7 +196568,7 @@ sub_8064060: @ 0x08064060 ldrh r0, [r1, #4] strh r0, [r4, #0x3a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback add sp, #4 pop {r4, r5} pop {r0} @@ -196649,7 +196649,7 @@ _0806413C: str r0, [r5, #0x20] strh r6, [r5, #6] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806415C: add sp, #4 pop {r4, r5, r6, r7} @@ -196718,7 +196718,7 @@ _080641C0: str r0, [r5, #0x20] strh r6, [r5, #6] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080641E0: pop {r4, r5, r6} pop {r0} @@ -196796,7 +196796,7 @@ _0806425A: ldr r0, [r5, #0x60] bl AIS_Free adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806427C: add sp, #4 pop {r4, r5, r6} @@ -196818,7 +196818,7 @@ sub_806428C: @ 0x0806428C str r0, [r1] ldr r0, _080642B8 @ gUnknown_085D71E0 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -196861,7 +196861,7 @@ sub_80642BC: @ 0x080642BC subs r0, #1 str r0, [r1] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080642FA: add sp, #4 pop {r4, r5} @@ -196879,7 +196879,7 @@ sub_8064308: @ 0x08064308 bl ClearBG1Setup ldr r0, _08064340 @ gUnknown_085D71F8 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -197057,7 +197057,7 @@ _08064486: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080644D8 _080644A2: movs r0, #0x2c @@ -197083,7 +197083,7 @@ _080644BE: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080644D8: add sp, #8 pop {r4, r5, r6, r7} @@ -197100,7 +197100,7 @@ sub_80644E0: @ 0x080644E0 str r0, [r1] ldr r0, _08064538 @ gUnknown_085D7210 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -197214,7 +197214,7 @@ _080645E4: _080645E6: strh r0, [r4, #0x34] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080645EE: add sp, #8 pop {r4} @@ -197255,7 +197255,7 @@ sub_80645FC: @ 0x080645FC movs r0, #0xc strh r0, [r4, #0x2e] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806463E: add sp, #4 pop {r4, r5} @@ -197278,7 +197278,7 @@ sub_806464C: @ 0x0806464C cmp r0, r1 ble _08064668 adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08064668: pop {r0} bx r0 @@ -197293,7 +197293,7 @@ sub_806466C: @ 0x0806466C str r0, [r1] ldr r0, _080646A4 @ gUnknown_085D7240 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -197350,7 +197350,7 @@ _080646E6: cmp r1, r0 bne _080646F4 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080646F4: pop {r4} pop {r0} @@ -197362,7 +197362,7 @@ sub_80646FC: @ 0x080646FC adds r4, r0, #0 ldr r0, _0806471C @ gUnknown_085D7268 movs r1, #3 - bl New6C + bl Proc_Create movs r1, #0 strh r1, [r0, #0x2c] strh r1, [r0, #0x2e] @@ -197474,7 +197474,7 @@ sub_80647D0: @ 0x080647D0 adds r4, r1, #0 ldr r0, _080647EC @ gUnknown_085D7280 movs r1, #3 - bl New6C + bl Proc_Create movs r1, #0 strh r1, [r0, #0x2c] strh r4, [r0, #0x2e] @@ -197512,9 +197512,9 @@ sub_80647F0: @ 0x080647F0 cmp r0, r1 ble _0806482E adds r0, r5, #0 - bl Delete6C + bl Proc_Delete adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806482E: add sp, #4 pop {r4, r5} @@ -197532,7 +197532,7 @@ sub_8064838: @ 0x08064838 str r0, [r1] ldr r0, _08064880 @ gUnknown_085D7398 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -197649,7 +197649,7 @@ sub_8064938: @ 0x08064938 cmp r0, r1 ble _08064954 adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08064954: pop {r0} bx r0 @@ -197664,7 +197664,7 @@ sub_8064958: @ 0x08064958 str r0, [r1] ldr r0, _08064990 @ gUnknown_085D73B8 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -197715,7 +197715,7 @@ _080649C2: subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080649D8: pop {r4} pop {r0} @@ -197734,7 +197734,7 @@ sub_80649E4: @ 0x080649E4 str r0, [r1] ldr r0, _08064A2C @ gUnknown_085D73D8 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -197851,7 +197851,7 @@ sub_8064AE4: @ 0x08064AE4 cmp r0, r1 ble _08064B00 adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08064B00: pop {r0} bx r0 @@ -197866,7 +197866,7 @@ sub_8064B04: @ 0x08064B04 str r0, [r1] ldr r0, _08064B3C @ gUnknown_085D73F8 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -197917,7 +197917,7 @@ _08064B6E: subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08064B84: pop {r4} pop {r0} @@ -197936,7 +197936,7 @@ sub_8064B90: @ 0x08064B90 str r0, [r1] ldr r0, _08064BEC @ gUnknown_085D7418 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -197992,7 +197992,7 @@ sub_8064BFC: @ 0x08064BFC subs r0, #1 str r0, [r1] adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08064C20: pop {r0} bx r0 @@ -198009,7 +198009,7 @@ sub_8064C28: @ 0x08064C28 str r0, [r1] ldr r0, _08064C6C @ gUnknown_085D7430 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -198088,7 +198088,7 @@ _08064CD4: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Delete6C + bl Proc_Delete _08064CF2: pop {r4, r5} pop {r0} @@ -198112,7 +198112,7 @@ sub_8064D00: @ 0x08064D00 str r0, [r1] ldr r0, _08064D8C @ gUnknown_085D7450 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -198198,7 +198198,7 @@ sub_8064DC4: @ 0x08064DC4 cmp r0, r1 ble _08064DE0 adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08064DE0: pop {r0} bx r0 @@ -198213,7 +198213,7 @@ sub_8064DE4: @ 0x08064DE4 str r0, [r1] ldr r0, _08064E1C @ gUnknown_085D7470 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -198265,7 +198265,7 @@ _08064E52: subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08064E68: pop {r4} pop {r0} @@ -198282,7 +198282,7 @@ StartSpellAnimAura: @ 0x08064E74 bl ClearBG1Setup ldr r0, _08064EAC @ gUnknown_085D7490 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -198458,7 +198458,7 @@ _08064FE8: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08064FFE: add sp, #8 pop {r4, r5, r6} @@ -198475,7 +198475,7 @@ sub_8065008: @ 0x08065008 str r0, [r1] ldr r0, _08065070 @ gUnknown_085D74A8 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -198540,7 +198540,7 @@ sub_806509C: @ 0x0806509C str r0, [r1] ldr r0, _08065104 @ gUnknown_085D74A8 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -198605,7 +198605,7 @@ sub_8065130: @ 0x08065130 str r0, [r1] ldr r0, _08065198 @ gUnknown_085D74A8 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -198695,7 +198695,7 @@ _080651F2: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08065210: pop {r4} pop {r0} @@ -198714,7 +198714,7 @@ sub_806521C: @ 0x0806521C str r0, [r1] ldr r0, _08065264 @ gUnknown_085D7530 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -198831,7 +198831,7 @@ sub_806531C: @ 0x0806531C cmp r0, r1 ble _08065338 adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08065338: pop {r0} bx r0 @@ -198846,7 +198846,7 @@ sub_806533C: @ 0x0806533C str r0, [r1] ldr r0, _08065378 @ gUnknown_085D7550 movs r1, #3 - bl New6C + bl Proc_Create adds r1, r0, #0 str r4, [r1, #0x5c] movs r0, #0 @@ -198898,7 +198898,7 @@ _080653AA: subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080653C0: pop {r4} pop {r0} @@ -198916,7 +198916,7 @@ sub_80653CC: @ 0x080653CC str r0, [r1] ldr r0, _08065418 @ gUnknown_085D7570 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -198988,7 +198988,7 @@ _08065468: str r0, [r1] bl sub_805526C adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08065486: pop {r4, r5, r6, r7} pop {r0} @@ -199014,7 +199014,7 @@ sub_8065498: @ 0x08065498 str r0, [r1] ldr r0, _080654E4 @ gUnknown_085D75E8 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r2, #0 strh r2, [r0, #0x2c] @@ -199132,7 +199132,7 @@ _08065594: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080655B2: add sp, #4 pop {r3} @@ -199154,7 +199154,7 @@ sub_80655C4: @ 0x080655C4 str r0, [r1] ldr r0, _08065614 @ gUnknown_085D7650 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] ldr r3, _08065618 @ gUnknown_08752020 @@ -199204,7 +199204,7 @@ sub_8065634: @ 0x08065634 bl ClearBG1Setup ldr r0, _0806566C @ gUnknown_085D7670 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -199232,7 +199232,7 @@ sub_8065670: @ 0x08065670 bl ClearBG1Setup ldr r0, _080656A8 @ gUnknown_085D7670 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -199260,7 +199260,7 @@ sub_80656AC: @ 0x080656AC bl ClearBG1Setup ldr r0, _080656E4 @ gUnknown_085D7670 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -199288,7 +199288,7 @@ sub_80656E8: @ 0x080656E8 bl ClearBG1Setup ldr r0, _08065720 @ gUnknown_085D7670 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -199384,7 +199384,7 @@ _080657B6: strh r0, [r4, #0x10] bl SetSomethingSpellFxToFalse adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080657CC: add sp, #8 pop {r4, r5, r6, r7} @@ -199400,7 +199400,7 @@ StartSpellAnimIvaldi: @ 0x080657D4 bl ClearBG1Setup ldr r0, _0806580C @ gUnknown_085D7688 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -199608,7 +199608,7 @@ _0806598C: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080659A4: add sp, #4 pop {r4, r5, r6, r7} @@ -199625,7 +199625,7 @@ StartSpellBG_IvaldiBG1: @ 0x080659AC str r0, [r1] ldr r0, _080659FC @ gUnknown_085D76A0 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -199703,7 +199703,7 @@ _08065A56: str r0, [r1] bl sub_805526C adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08065A74: pop {r4, r5} pop {r0} @@ -199721,7 +199721,7 @@ StartSpellBG_IvaldiBG2: @ 0x08065A80 str r0, [r1] ldr r0, _08065AD8 @ gUnknown_085D76E8 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 adds r0, r5, #0 bl GetCoreAIStruct @@ -199799,7 +199799,7 @@ _08065B2A: str r0, [r1] bl sub_805526C adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08065B48: pop {r4, r5} pop {r0} @@ -199819,7 +199819,7 @@ StartSpellBG_IvaldiBG3: @ 0x08065B54 str r0, [r1] ldr r0, _08065BA4 @ gUnknown_085D7714 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -199902,7 +199902,7 @@ _08065C10: str r0, [r1] bl sub_805526C adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08065C2E: pop {r4, r5, r6, r7} pop {r0} @@ -199920,7 +199920,7 @@ StartSpellBG_IvaldiBG4: @ 0x08065C38 str r0, [r1] ldr r0, _08065C8C @ gUnknown_085D77B0 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -200053,7 +200053,7 @@ _08065D58: str r0, [r1] bl sub_805526C adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08065D76: add sp, #8 pop {r4, r5} @@ -200097,7 +200097,7 @@ StartSpellOBJ_IvaldiFall: @ 0x08065DA4 str r0, [r1] ldr r0, _08065DF4 @ gUnknown_085D77CC movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 adds r0, r5, #0 bl GetCoreAIStruct @@ -200254,7 +200254,7 @@ _08065EEA: subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08065F04: add sp, #4 pop {r4} @@ -200282,7 +200282,7 @@ StartSpellOBJ_IvaldiSideWash: @ 0x08065F10 str r0, [r1] ldr r0, _08065F60 @ gUnknown_085D77E4 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 adds r0, r5, #0 bl GetCoreAIStruct @@ -200417,7 +200417,7 @@ _0806603C: subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08066052: add sp, #4 pop {r4} @@ -200445,7 +200445,7 @@ sub_8066060: @ 0x08066060 str r0, [r1] ldr r0, _080660B0 @ gUnknown_085D77FC movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 adds r0, r5, #0 bl GetCoreAIStruct @@ -200673,7 +200673,7 @@ _08066236: subs r0, #1 str r0, [r1] adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806624C: add sp, #4 pop {r0} @@ -200720,7 +200720,7 @@ sub_8066258: @ 0x08066258 str r0, [r1] ldr r0, _080662D0 @ gUnknown_085D7814 movs r1, #3 - bl New6C + bl Proc_Create adds r7, r0, #0 adds r0, r4, #0 bl GetCoreAIStruct @@ -200828,7 +200828,7 @@ sub_806635C: @ 0x0806635C ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08066386: pop {r4} pop {r0} @@ -200864,7 +200864,7 @@ sub_8066390: @ 0x08066390 str r0, [r1] ldr r0, _080663F0 @ gUnknown_085D782C movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 mov r0, r8 bl GetCoreAIStruct @@ -200941,7 +200941,7 @@ sub_8066434: @ 0x08066434 ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08066466: pop {r4} pop {r0} @@ -200961,7 +200961,7 @@ sub_8066470: @ 0x08066470 str r0, [r1] ldr r0, _080664A4 @ gUnknown_085D7844 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -201016,7 +201016,7 @@ sub_80664A8: @ 0x080664A8 subs r0, #1 str r0, [r1] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080664FE: add sp, #4 pop {r4, r5, r6} @@ -201036,7 +201036,7 @@ sub_8066514: @ 0x08066514 bl ClearBG1Setup ldr r0, _0806654C @ gUnknown_085D785C movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -201219,7 +201219,7 @@ _080666A6: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080666C4: add sp, #8 pop {r4, r5, r6, r7} @@ -201238,7 +201238,7 @@ sub_80666D0: @ 0x080666D0 str r0, [r1] ldr r0, _08066710 @ gUnknown_085D7874 movs r1, #3 - bl New6C + bl Proc_Create adds r1, r0, #0 str r4, [r1, #0x5c] movs r0, #0 @@ -201344,7 +201344,7 @@ _080667B8: str r0, [r1] bl sub_805526C adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080667D6: pop {r4, r5, r6, r7} pop {r0} @@ -201362,7 +201362,7 @@ sub_80667E0: @ 0x080667E0 str r0, [r1] ldr r0, _08066828 @ gUnknown_085D7B8C movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -201459,7 +201459,7 @@ _080668B2: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080668D0: pop {r4, r5, r6} pop {r0} @@ -201509,7 +201509,7 @@ sub_8066914: @ 0x08066914 str r0, [r1] ldr r0, _08066954 @ gUnknown_085D7BC8 movs r1, #3 - bl New6C + bl Proc_Create adds r1, r0, #0 str r4, [r1, #0x5c] movs r0, #0 @@ -201605,7 +201605,7 @@ _080669E4: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08066A02: pop {r4, r5, r6} pop {r0} @@ -201623,7 +201623,7 @@ sub_8066A0C: @ 0x08066A0C str r0, [r1] ldr r0, _08066A4C @ gUnknown_085D7C58 movs r1, #3 - bl New6C + bl Proc_Create adds r1, r0, #0 str r4, [r1, #0x5c] movs r0, #0 @@ -201726,7 +201726,7 @@ _08066AEC: str r0, [r1] bl sub_805526C adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08066B0A: pop {r4, r5, r6, r7} pop {r0} @@ -201745,7 +201745,7 @@ sub_8066B14: @ 0x08066B14 str r0, [r1] ldr r0, _08066B3C @ gUnknown_085D7D30 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -201804,7 +201804,7 @@ sub_8066B40: @ 0x08066B40 movs r2, #0x20 bl sub_8054134 adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08066BAA: add sp, #4 pop {r4, r5, r6, r7} @@ -201821,7 +201821,7 @@ sub_8066BBC: @ 0x08066BBC ldr r1, [r2] subs r1, #1 str r1, [r2] - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r0} bx r0 .align 2, 0 @@ -201837,7 +201837,7 @@ sub_8066BD4: @ 0x08066BD4 str r0, [r1] ldr r0, _08066C0C @ gUnknown_085D7D58 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -201894,7 +201894,7 @@ _08066C50: subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08066C66: add sp, #0x20 pop {r4} @@ -201971,7 +201971,7 @@ sub_8066CB8: @ 0x08066CB8 str r0, [r1] ldr r0, _08066D3C @ gUnknown_085D7D78 movs r1, #3 - bl New6C + bl Proc_Create adds r6, r0, #0 adds r0, r4, #0 bl GetCoreAIStruct @@ -202056,7 +202056,7 @@ sub_8066D7C: @ 0x08066D7C ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08066DA6: pop {r4} pop {r0} @@ -202094,7 +202094,7 @@ sub_8066DB0: @ 0x08066DB0 str r0, [r1] ldr r0, _08066E34 @ gUnknown_085D7D90 movs r1, #3 - bl New6C + bl Proc_Create adds r6, r0, #0 adds r0, r4, #0 bl GetCoreAIStruct @@ -202179,7 +202179,7 @@ sub_8066E74: @ 0x08066E74 ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08066E9E: pop {r4} pop {r0} @@ -202233,7 +202233,7 @@ sub_8066EC8: @ 0x08066EC8 str r0, [r1] ldr r0, _08066F50 @ gUnknown_085D7DA8 movs r1, #3 - bl New6C + bl Proc_Create adds r6, r0, #0 adds r0, r4, #0 bl GetCoreAIStruct @@ -202319,7 +202319,7 @@ sub_8066F90: @ 0x08066F90 ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08066FBA: pop {r4} pop {r0} @@ -202357,7 +202357,7 @@ sub_8066FC4: @ 0x08066FC4 str r0, [r1] ldr r0, _0806704C @ gUnknown_085D7DC0 movs r1, #3 - bl New6C + bl Proc_Create adds r6, r0, #0 adds r0, r4, #0 bl GetCoreAIStruct @@ -202452,7 +202452,7 @@ sub_80670A8: @ 0x080670A8 ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080670D2: pop {r4} pop {r0} @@ -202490,7 +202490,7 @@ sub_80670DC: @ 0x080670DC str r0, [r1] ldr r0, _08067164 @ gUnknown_085D7DD8 movs r1, #3 - bl New6C + bl Proc_Create adds r6, r0, #0 adds r0, r4, #0 bl GetCoreAIStruct @@ -202585,7 +202585,7 @@ sub_80671C0: @ 0x080671C0 ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080671EA: pop {r4} pop {r0} @@ -202604,7 +202604,7 @@ sub_80671F4: @ 0x080671F4 str r0, [r1] ldr r0, _08067238 @ gUnknown_085D7DF0 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 adds r0, r5, #0 bl GetCoreAIStruct @@ -202867,7 +202867,7 @@ _080673D2: subs r0, #1 str r0, [r1] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080673F4: pop {r4, r5} pop {r0} @@ -202896,7 +202896,7 @@ sub_8067400: @ 0x08067400 str r0, [r1] ldr r0, _0806748C @ gUnknown_085D7E08 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 mov r0, r8 bl GetCoreAIStruct @@ -202968,7 +202968,7 @@ sub_80674A0: @ 0x080674A0 ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080674CA: pop {r4} pop {r0} @@ -202985,7 +202985,7 @@ StartSpellAnimStone: @ 0x080674D4 bl ClearBG1Setup ldr r0, _0806750C @ gUnknown_085D7E20 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -203089,7 +203089,7 @@ _080675B8: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080675CE: pop {r4, r5} pop {r0} @@ -203105,7 +203105,7 @@ sub_80675D4: @ 0x080675D4 str r0, [r1] ldr r0, _08067638 @ gUnknown_085D7E38 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 adds r0, r4, #0 bl GetCoreAIStruct @@ -203211,7 +203211,7 @@ _080676BC: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080676DA: pop {r4, r5, r6} pop {r0} @@ -203233,7 +203233,7 @@ sub_80676E4: @ 0x080676E4 str r0, [r1] ldr r0, _08067754 @ gUnknown_085D7EE8 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 adds r0, r6, #0 bl GetCoreAIStruct @@ -203296,7 +203296,7 @@ sub_8067764: @ 0x08067764 ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806778E: pop {r4} pop {r0} @@ -203313,7 +203313,7 @@ StartSpellAnimEvilEye: @ 0x08067798 bl ClearBG1Setup ldr r0, _080677D0 @ gUnknown_085D7F00 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -203414,7 +203414,7 @@ _08067870: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08067886: pop {r4, r5} pop {r0} @@ -203430,7 +203430,7 @@ sub_806788C: @ 0x0806788C str r0, [r1] ldr r0, _080678EC @ gUnknown_085D7F18 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 adds r0, r4, #0 bl GetCoreAIStruct @@ -203526,7 +203526,7 @@ _0806795C: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Delete6C + bl Proc_Delete _0806797A: pop {r4, r5, r6} pop {r0} @@ -203544,7 +203544,7 @@ sub_8067984: @ 0x08067984 str r0, [r1] ldr r0, _080679C0 @ gUnknown_085D8020 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 adds r0, r4, #0 bl GetCoreAIStruct @@ -203656,7 +203656,7 @@ _08067A78: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Delete6C + bl Proc_Delete _08067A96: pop {r4, r5, r6} pop {r0} @@ -203689,7 +203689,7 @@ sub_8067AA0: @ 0x08067AA0 str r0, [r1] ldr r0, _08067B3C @ gUnknown_085D8098 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 adds r0, r6, #0 bl GetCoreAIStruct @@ -203759,7 +203759,7 @@ sub_8067B48: @ 0x08067B48 ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08067B72: pop {r4} pop {r0} @@ -203776,7 +203776,7 @@ StartSpellAnimNaglfar: @ 0x08067B7C bl ClearBG1Setup ldr r0, _08067BB4 @ gUnknown_085D80B0 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -204036,7 +204036,7 @@ _08067DA4: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08067DBC: add sp, #8 pop {r4, r5, r6, r7} @@ -204053,7 +204053,7 @@ sub_8067DC4: @ 0x08067DC4 str r0, [r1] ldr r0, _08067E08 @ gUnknown_085D80C8 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -204132,7 +204132,7 @@ _08067E70: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Delete6C + bl Proc_Delete _08067E8E: pop {r4, r5} pop {r0} @@ -204150,7 +204150,7 @@ sub_8067E98: @ 0x08067E98 str r0, [r1] ldr r0, _08067ED4 @ gUnknown_085D80E8 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -204227,7 +204227,7 @@ _08067F3C: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Delete6C + bl Proc_Delete _08067F5A: pop {r4, r5, r6} pop {r0} @@ -204245,7 +204245,7 @@ sub_8067F64: @ 0x08067F64 str r0, [r1] ldr r0, _08067FA4 @ gUnknown_085D81C0 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -204318,7 +204318,7 @@ _08068000: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Delete6C + bl Proc_Delete _0806801E: pop {r4, r5} pop {r0} @@ -204336,7 +204336,7 @@ sub_8068028: @ 0x08068028 str r0, [r1] ldr r0, _08068068 @ gUnknown_085D81F8 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -204409,7 +204409,7 @@ _080680C4: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Delete6C + bl Proc_Delete _080680E2: pop {r4, r5} pop {r0} @@ -204468,7 +204468,7 @@ sub_80680EC: @ 0x080680EC str r0, [r1] ldr r0, _080681A0 @ gUnknown_085D8238 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 adds r0, r5, #0 bl GetCoreAIStruct @@ -204573,7 +204573,7 @@ sub_8068208: @ 0x08068208 ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08068232: pop {r4} pop {r0} @@ -204609,7 +204609,7 @@ sub_806823C: @ 0x0806823C str r0, [r1] ldr r0, _080682D4 @ gUnknown_085D8250 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 mov r0, r8 bl GetCoreAIStruct @@ -204675,7 +204675,7 @@ sub_80682E0: @ 0x080682E0 ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806830A: pop {r4} pop {r0} @@ -204694,7 +204694,7 @@ sub_8068314: @ 0x08068314 str r0, [r1] ldr r0, _08068344 @ gUnknown_085D8268 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 adds r0, r5, #0 bl GetCoreAIStruct @@ -205099,7 +205099,7 @@ _080685F4: subs r0, #1 str r0, [r1] adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806860A: add sp, #8 pop {r0} @@ -205115,7 +205115,7 @@ sub_8068614: @ 0x08068614 adds r6, r2, #0 ldr r0, _08068634 @ gUnknown_085D8280 movs r1, #0 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -205152,7 +205152,7 @@ sub_8068638: @ 0x08068638 movs r0, #0 strh r0, [r6, #0x2c] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4, r5, r6} pop {r0} bx r0 @@ -205234,7 +205234,7 @@ sub_8068680: @ 0x08068680 orrs r0, r1 strb r0, [r2, #1] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08068724: add sp, #4 pop {r4, r5, r6, r7} @@ -205305,7 +205305,7 @@ sub_8068738: @ 0x08068738 movs r0, #0 strh r0, [r7, #0x2c] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080687C0: add sp, #4 pop {r4, r5, r6, r7} @@ -205321,7 +205321,7 @@ sub_80687D0: @ 0x080687D0 adds r4, r0, #0 bl EnablePaletteSync adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -205334,7 +205334,7 @@ sub_80687E4: @ 0x080687E4 bl ClearBG1Setup ldr r0, _08068818 @ gUnknown_085D82B0 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -205422,7 +205422,7 @@ _080688A8: bne _080688B6 bl SetSomethingSpellFxToFalse adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080688B6: add sp, #8 pop {r4, r5, r6} @@ -205440,7 +205440,7 @@ sub_80688C0: @ 0x080688C0 str r0, [r1] ldr r0, _08068920 @ gUnknown_085D82C8 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r6, [r5, #0x5c] movs r0, #0 @@ -205555,7 +205555,7 @@ _080689A2: subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080689C8: pop {r4} pop {r0} @@ -205573,7 +205573,7 @@ sub_80689D4: @ 0x080689D4 str r0, [r1] ldr r0, _08068A1C @ gUnknown_085D82E0 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -205619,7 +205619,7 @@ sub_8068A28: @ 0x08068A28 subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08068A54: pop {r4} pop {r0} @@ -205637,7 +205637,7 @@ sub_8068A60: @ 0x08068A60 str r0, [r1] ldr r0, _08068A90 @ gUnknown_085D82F8 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -205694,7 +205694,7 @@ _08068ADC: subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08068AF2: pop {r4, r5} pop {r0} @@ -205781,7 +205781,7 @@ sub_8068B80: @ 0x08068B80 bl ClearBG1Setup ldr r0, _08068BB4 @ gUnknown_085D8318 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -205912,7 +205912,7 @@ _08068C8C: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08068D14 _08068CB0: movs r3, #0x9c @@ -205958,7 +205958,7 @@ _08068CFE: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08068D14: pop {r4, r5} pop {r0} @@ -205999,7 +205999,7 @@ sub_8068D20: @ 0x08068D20 subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08068D68: add sp, #4 pop {r4} @@ -206018,7 +206018,7 @@ sub_8068D78: @ 0x08068D78 str r0, [r1] ldr r0, _08068D98 @ gUnknown_085D8330 movs r1, #3 - bl New6C + bl Proc_Create movs r1, #0 strh r1, [r0, #0x2c] pop {r0} @@ -206681,7 +206681,7 @@ _0806927C: str r0, [r1] bl sub_805526C adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080692A0: pop {r3} mov r8, r3 @@ -206704,7 +206704,7 @@ sub_80692B0: @ 0x080692B0 str r0, [r1] ldr r0, _08069314 @ gUnknown_085D83A0 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -206815,7 +206815,7 @@ _080693B6: cmp r5, r0 bne _080693C4 adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080693C4: pop {r4, r5, r6, r7} pop {r0} @@ -206903,7 +206903,7 @@ _08069460: str r0, [r1] bl sub_805526C adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806947E: pop {r4, r5, r6} pop {r0} @@ -206921,7 +206921,7 @@ sub_8069488: @ 0x08069488 str r0, [r1] ldr r0, _080694D4 @ gUnknown_085D8484 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -207177,7 +207177,7 @@ _080696B2: cmp r0, #0x40 bne _080696D4 ldr r0, [sp, #4] - bl Break6CLoop + bl Proc_ClearNativeCallback _080696D4: ldr r2, [sp, #8] ldrh r0, [r2] @@ -207199,7 +207199,7 @@ sub_80696F0: @ 0x080696F0 push {lr} ldr r0, _08069700 @ gUnknown_085D84B4 movs r1, #0 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -207392,7 +207392,7 @@ _0806985A: ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806986E: pop {r4} pop {r0} @@ -207426,7 +207426,7 @@ sub_8069878: @ 0x08069878 str r0, [r1] ldr r0, _080698D0 @ gUnknown_085D8704 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r6, [r5, #0x5c] movs r0, #0 @@ -207688,7 +207688,7 @@ _08069AAE: cmp r0, #0x61 bne _08069ABC adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08069ABC: add sp, #4 pop {r4, r5, r6, r7} @@ -207701,7 +207701,7 @@ sub_8069AC4: @ 0x08069AC4 adds r4, r0, #0 ldr r0, _08069AF0 @ gUnknown_085D871C movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -207770,7 +207770,7 @@ _08069B2C: ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08069B5E: pop {r4} pop {r0} @@ -207796,7 +207796,7 @@ sub_8069B68: @ 0x08069B68 str r0, [r1] ldr r0, _08069BCC @ gUnknown_085D8734 movs r1, #3 - bl New6C + bl Proc_Create adds r7, r0, #0 str r6, [r7, #0x5c] movs r0, #0 @@ -207884,7 +207884,7 @@ sub_8069C18: @ 0x08069C18 str r0, [r1] ldr r0, _08069C7C @ gUnknown_085D8734 movs r1, #3 - bl New6C + bl Proc_Create adds r7, r0, #0 str r6, [r7, #0x5c] movs r0, #0 @@ -208174,7 +208174,7 @@ _08069E70: cmp r0, #0x60 bne _08069E7E adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08069E7E: add sp, #4 pop {r4, r5, r6} @@ -208187,7 +208187,7 @@ sub_8069E88: @ 0x08069E88 adds r4, r0, #0 ldr r0, _08069EB8 @ gUnknown_085D874C movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -208217,7 +208217,7 @@ StartSpellAnimCrimsonEye: @ 0x08069EC4 bl ClearBG1Setup ldr r0, _08069EFC @ gUnknown_085D8764 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -208353,7 +208353,7 @@ _08069FE8: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08069FFE: pop {r4, r5} pop {r0} @@ -208401,7 +208401,7 @@ _0806A03E: subs r0, #1 str r0, [r1] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806A05E: pop {r4, r5, r6} pop {r0} @@ -208419,7 +208419,7 @@ sub_806A068: @ 0x0806A068 str r0, [r1] ldr r0, _0806A0B4 @ gUnknown_085D87AC movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -208497,7 +208497,7 @@ sub_806A0CC: @ 0x0806A0CC ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806A12C: add sp, #4 pop {r4} @@ -208526,7 +208526,7 @@ sub_806A138: @ 0x0806A138 str r0, [r1] ldr r0, _0806A1DC @ gUnknown_085D87C4 movs r1, #3 - bl New6C + bl Proc_Create adds r6, r0, #0 str r7, [r6, #0x5c] movs r0, #1 @@ -208829,7 +208829,7 @@ _0806A3A4: subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806A3C0: pop {r4} pop {r0} @@ -208847,7 +208847,7 @@ sub_806A3CC: @ 0x0806A3CC str r0, [r1] ldr r0, _0806A3F0 @ gUnknown_085D885C movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -208868,7 +208868,7 @@ sub_806A3F4: @ 0x0806A3F4 str r0, [r1] ldr r0, _0806A43C @ gUnknown_085D8CC4 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -208954,7 +208954,7 @@ _0806A4A6: subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806A4C0: pop {r4} pop {r0} @@ -208972,7 +208972,7 @@ sub_806A4CC: @ 0x0806A4CC str r0, [r1] ldr r0, _0806A524 @ gUnknown_085D8894 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -209486,7 +209486,7 @@ _0806A822: movs r0, #0 strh r0, [r7, #0x2c] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806A8D6: add sp, #8 pop {r3, r4, r5} @@ -209598,7 +209598,7 @@ _0806A944: movs r0, #0 strh r0, [r6, #0x2c] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806A9B8: pop {r3, r4} mov r8, r3 @@ -209707,7 +209707,7 @@ _0806AA2E: movs r0, #0 strh r0, [r5, #0x2c] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806AA92: add sp, #4 pop {r3, r4} @@ -209848,7 +209848,7 @@ _0806AAFC: ldr r0, [r5, #0x48] bl AIS_Free adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806ABBA: add sp, #4 pop {r3, r4} @@ -209874,7 +209874,7 @@ sub_806ABCC: @ 0x0806ABCC str r0, [r1] ldr r0, _0806AC04 @ gUnknown_085D8960 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r6, [r5, #0x5c] movs r0, #0 @@ -210235,7 +210235,7 @@ sub_806AEF4: @ 0x0806AEF4 bl ClearBG1Setup ldr r0, _0806AF2C @ gUnknown_085D89A0 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -210347,7 +210347,7 @@ _0806AFD6: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0806B07A _0806AFF8: adds r0, r2, #0 @@ -210408,7 +210408,7 @@ _0806B068: bne _0806B07A bl SetSomethingSpellFxToFalse adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806B07A: add sp, #8 pop {r4, r5, r6} @@ -210483,7 +210483,7 @@ _0806B0F4: str r0, [r1] bl sub_805526C adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806B112: pop {r4, r5, r6, r7} pop {r0} @@ -210498,7 +210498,7 @@ sub_806B11C: @ 0x0806B11C movs r0, #0 bl SetPrimaryHBlankHandler adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -210513,7 +210513,7 @@ sub_806B134: @ 0x0806B134 str r0, [r1] ldr r0, _0806B17C @ gUnknown_085D8A78 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -210577,7 +210577,7 @@ _0806B1C2: subs r0, #1 str r0, [r1] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806B1DC: pop {r4, r5, r6} pop {r0} @@ -210595,7 +210595,7 @@ sub_806B1E8: @ 0x0806B1E8 str r0, [r1] ldr r0, _0806B238 @ gUnknown_085D8ABC movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -210647,7 +210647,7 @@ sub_806B24C: @ 0x0806B24C ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0806B2B8 .align 2, 0 _0806B278: .4byte gUnknown_0201774C @@ -210702,7 +210702,7 @@ sub_806B2C0: @ 0x0806B2C0 str r0, [r1] ldr r0, _0806B308 @ gUnknown_085D8AD4 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -210925,7 +210925,7 @@ _0806B4A6: cmp r0, #0x20 bne _0806B4C8 ldr r0, [sp, #4] - bl Break6CLoop + bl Proc_ClearNativeCallback _0806B4C8: ldr r1, [sp, #8] ldrh r0, [r1] @@ -210947,7 +210947,7 @@ sub_806B4E4: @ 0x0806B4E4 push {lr} ldr r0, _0806B4F4 @ gUnknown_085D8AEC movs r1, #0 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -210962,7 +210962,7 @@ sub_806B4F8: @ 0x0806B4F8 bl ClearBG1Setup ldr r0, _0806B530 @ gUnknown_085D8B0C movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -211108,7 +211108,7 @@ _0806B630: bl SetSomethingSpellFxToFalse bl sub_8055000 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806B646: pop {r4, r5} pop {r0} @@ -211137,7 +211137,7 @@ sub_806B664: @ 0x0806B664 str r1, [r2, #0x20] movs r1, #0 strh r1, [r2, #6] - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r0} bx r0 .align 2, 0 @@ -211154,7 +211154,7 @@ sub_806B680: @ 0x0806B680 str r0, [r1] ldr r0, _0806B6C0 @ gUnknown_085D8B24 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] ldr r3, _0806B6C4 @ gUnknown_086EAE24 @@ -211277,7 +211277,7 @@ _0806B780: str r0, [r1] bl sub_805526C adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806B79E: pop {r4, r5, r6, r7} pop {r0} @@ -211295,7 +211295,7 @@ sub_806B7A8: @ 0x0806B7A8 str r0, [r1] ldr r0, _0806B7F4 @ gUnknown_085D8BD0 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -211392,7 +211392,7 @@ _0806B876: subs r0, #1 str r0, [r1] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806B890: pop {r4, r5, r6, r7} pop {r0} @@ -211410,7 +211410,7 @@ sub_806B89C: @ 0x0806B89C str r0, [r1] ldr r0, _0806B8E8 @ gUnknown_085D8C0C movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -211632,7 +211632,7 @@ _0806BA86: movs r0, #0 strh r0, [r3] ldr r0, [sp, #4] - bl Break6CLoop + bl Proc_ClearNativeCallback b _0806BABA .align 2, 0 _0806BAB0: .4byte gUnknown_020165C8 @@ -211746,7 +211746,7 @@ _0806BBA0: cmp r0, #0x10 bne _0806BBC6 mov r0, r8 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806BBC6: ldrh r0, [r7] adds r0, #1 @@ -211764,7 +211764,7 @@ sub_806BBDC: @ 0x0806BBDC push {lr} ldr r0, _0806BBEC @ gUnknown_085D8C24 movs r1, #0 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -211851,7 +211851,7 @@ _0806BC78: ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806BC8C: pop {r4} pop {r0} @@ -211875,7 +211875,7 @@ sub_806BC98: @ 0x0806BC98 str r0, [r1] ldr r0, _0806BCE8 @ gUnknown_085D8C4C movs r1, #3 - bl New6C + bl Proc_Create adds r7, r0, #0 str r5, [r7, #0x5c] movs r0, #0 @@ -212129,7 +212129,7 @@ _0806BEC6: subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806BEE2: pop {r4} pop {r0} @@ -212152,7 +212152,7 @@ sub_806BEEC: @ 0x0806BEEC str r0, [r1] ldr r0, _0806BF24 @ gUnknown_085D8C64 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -212344,7 +212344,7 @@ _0806C08E: str r0, [r1] bl sub_805526C adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806C0AC: pop {r4, r5, r6} pop {r0} @@ -212362,7 +212362,7 @@ sub_806C0B8: @ 0x0806C0B8 str r0, [r1] ldr r0, _0806C100 @ gUnknown_085D8CC4 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -212465,7 +212465,7 @@ _0806C16C: movs r0, #0 strh r0, [r4] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0806C1B0 .align 2, 0 _0806C1A4: .4byte gUnknown_020165C8 @@ -212578,7 +212578,7 @@ _0806C290: movs r0, #0 strh r0, [r6] mov r0, r8 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0806C2C8 .align 2, 0 _0806C2C0: .4byte gUnknown_020165C8 @@ -212747,7 +212747,7 @@ _0806C41E: movs r0, #0 strh r0, [r3] ldr r0, [sp, #4] - bl Break6CLoop + bl Proc_ClearNativeCallback b _0806C452 .align 2, 0 _0806C448: .4byte gUnknown_020165C8 @@ -212770,7 +212770,7 @@ sub_806C464: @ 0x0806C464 push {lr} ldr r0, _0806C474 @ gUnknown_085D8CE4 movs r1, #0 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -212931,7 +212931,7 @@ _0806C5C2: movs r0, #0 strh r0, [r3] ldr r0, [sp, #4] - bl Break6CLoop + bl Proc_ClearNativeCallback b _0806C5F6 .align 2, 0 _0806C5EC: .4byte gUnknown_020165C8 @@ -212954,7 +212954,7 @@ sub_806C608: @ 0x0806C608 push {lr} ldr r0, _0806C618 @ gUnknown_085D8D14 movs r1, #0 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -212967,7 +212967,7 @@ sub_806C61C: @ 0x0806C61C adds r5, r1, #0 ldr r0, _0806C644 @ gUnknown_085D8D44 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -213004,7 +213004,7 @@ _0806C66E: cmp r0, #0xa bne _0806C678 adds r0, r1, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806C678: pop {r0} bx r0 @@ -213017,7 +213017,7 @@ sub_806C67C: @ 0x0806C67C adds r4, r1, #0 ldr r0, _0806C6A0 @ gUnknown_085D8D5C movs r1, #3 - bl New6C + bl Proc_Create adds r6, r0, #0 str r5, [r6, #0x5c] movs r0, #0 @@ -213084,9 +213084,9 @@ sub_806C6EC: @ 0x0806C6EC cmp r0, r1 ble _0806C716 ldr r0, [r4, #0x60] - bl Delete6C + bl Proc_Delete adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806C716: pop {r4} pop {r0} @@ -213119,7 +213119,7 @@ _0806C74E: bl ClearBG1Setup ldr r0, _0806C764 @ gUnknown_085D8D74 movs r1, #3 - bl New6C + bl Proc_Create str r5, [r0, #0x5c] strh r4, [r0, #0x2c] _0806C75E: @@ -213149,7 +213149,7 @@ _0806C788: cmp r0, #0x11 bne _0806C792 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806C792: pop {r4} pop {r0} @@ -213161,7 +213161,7 @@ sub_806C798: @ 0x0806C798 adds r5, r0, #0 ldr r0, _0806C7D4 @ gUnknown_085D8D8C movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -213202,7 +213202,7 @@ sub_806C7E8: @ 0x0806C7E8 bl ClearBG1 bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806C808: pop {r4} pop {r0} @@ -213214,7 +213214,7 @@ sub_806C810: @ 0x0806C810 adds r4, r0, #0 ldr r0, _0806C834 @ gUnknown_085D8DA4 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -213256,7 +213256,7 @@ _0806C866: cmp r1, r0 bne _0806C874 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806C874: pop {r4} pop {r0} @@ -213288,7 +213288,7 @@ sub_806C87C: @ 0x0806C87C _0806C8AE: ldr r0, _0806C8C0 @ gUnknown_085D8DC4 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] strh r5, [r0, #0x2c] _0806C8BA: @@ -213326,7 +213326,7 @@ _0806C8F4: cmp r0, #0x18 bne _0806C8FE adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806C8FE: pop {r4} pop {r0} @@ -213342,7 +213342,7 @@ sub_806C904: @ 0x0806C904 str r0, [r1] ldr r0, _0806C968 @ gUnknown_085D8DDC movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -213428,7 +213428,7 @@ _0806C9BE: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806C9DC: pop {r4} pop {r0} @@ -213443,7 +213443,7 @@ sub_806C9E8: @ 0x0806C9E8 bl ClearBG1Setup ldr r0, _0806CA04 @ gUnknown_085D8E1C movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -213473,7 +213473,7 @@ _0806CA28: cmp r0, #0x11 bne _0806CA32 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806CA32: pop {r4} pop {r0} @@ -213485,7 +213485,7 @@ sub_806CA38: @ 0x0806CA38 adds r5, r0, #0 ldr r0, _0806CA74 @ gUnknown_085D8E34 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -213526,7 +213526,7 @@ sub_806CA88: @ 0x0806CA88 bl ClearBG1 bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806CAA8: pop {r4} pop {r0} @@ -213538,7 +213538,7 @@ sub_806CAB0: @ 0x0806CAB0 adds r4, r0, #0 ldr r0, _0806CAD4 @ gUnknown_085D8E4C movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -213580,7 +213580,7 @@ _0806CB06: cmp r1, r0 bne _0806CB14 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806CB14: pop {r4} pop {r0} @@ -213593,7 +213593,7 @@ sub_806CB1C: @ 0x0806CB1C bl ClearBG1Setup ldr r0, _0806CB38 @ gUnknown_085D8E6C movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -213631,7 +213631,7 @@ _0806CB6C: cmp r0, #0x18 bne _0806CB76 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806CB76: pop {r4} pop {r0} @@ -213647,7 +213647,7 @@ sub_806CB7C: @ 0x0806CB7C str r0, [r1] ldr r0, _0806CBE0 @ gUnknown_085D8E84 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -213733,7 +213733,7 @@ _0806CC36: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806CC54: pop {r4} pop {r0} @@ -213748,7 +213748,7 @@ sub_806CC60: @ 0x0806CC60 adds r5, r1, #0 ldr r0, _0806CC84 @ gUnknown_085D8EC4 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -213764,7 +213764,7 @@ _0806CC84: .4byte gUnknown_085D8EC4 THUMB_FUNC_START sub_806CC88 sub_806CC88: @ 0x0806CC88 push {lr} - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r0} bx r0 @@ -213776,7 +213776,7 @@ sub_806CC94: @ 0x0806CC94 adds r4, r1, #0 ldr r0, _0806CCBC @ gUnknown_085D8EDC movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r6, [r5, #0x5c] movs r0, #0 @@ -213881,7 +213881,7 @@ _0806CD62: strh r0, [r4, #6] strh r0, [r5, #0x2c] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806CD72: pop {r4, r5} pop {r0} @@ -213906,7 +213906,7 @@ sub_806CD7C: @ 0x0806CD7C movs r0, #0 strh r0, [r1, #0x2c] adds r0, r1, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806CD9E: pop {r0} bx r0 @@ -213955,7 +213955,7 @@ _0806CDEE: strh r0, [r4, #6] strh r0, [r5, #0x2c] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806CDFE: pop {r4, r5} pop {r0} @@ -213979,7 +213979,7 @@ sub_806CE08: @ 0x0806CE08 ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806CE2A: pop {r4} pop {r0} @@ -213995,7 +213995,7 @@ sub_806CE30: @ 0x0806CE30 bne _0806CE6E ldr r0, _0806CE60 @ gUnknown_085D8F0C movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] strh r5, [r0, #0x2c] ldr r0, _0806CE64 @ gUnknown_0203E120 @@ -214021,7 +214021,7 @@ _0806CE6E: THUMB_FUNC_START sub_806CE74 sub_806CE74: @ 0x0806CE74 push {lr} - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r0} bx r0 @@ -214036,7 +214036,7 @@ sub_806CE80: @ 0x0806CE80 str r0, [r1] ldr r0, _0806CEBC @ gUnknown_085D8F24 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -214085,7 +214085,7 @@ _0806CEDE: lsls r1, r1, #5 bl SomeImageStoringRoutine_SpellAnim adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4, r5} pop {r0} bx r0 @@ -214122,7 +214122,7 @@ _0806CF2A: lsls r1, r1, #5 bl SomeImageStoringRoutine_SpellAnim adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4, r5} pop {r0} bx r0 @@ -214142,7 +214142,7 @@ sub_806CF5C: @ 0x0806CF5C ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -214160,7 +214160,7 @@ sub_806CF80: @ 0x0806CF80 str r0, [r1] ldr r0, _0806CFBC @ gUnknown_085D8F5C movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -214209,7 +214209,7 @@ _0806CFDE: lsls r1, r1, #5 bl SomeImageStoringRoutine_SpellAnim adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4, r5} pop {r0} bx r0 @@ -214246,7 +214246,7 @@ _0806D02A: lsls r1, r1, #5 bl SomeImageStoringRoutine_SpellAnim adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4, r5} pop {r0} bx r0 @@ -214266,7 +214266,7 @@ sub_806D05C: @ 0x0806D05C ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -214287,7 +214287,7 @@ _0806D090: bl ClearBG1Setup ldr r0, _0806D0C8 @ gUnknown_085D8F94 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r6, [r4, #0x5c] strh r5, [r4, #0x2c] @@ -214382,7 +214382,7 @@ sub_806D198: @ 0x0806D198 cmp r0, #0x14 bne _0806D1B0 adds r0, r1, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806D1B0: pop {r0} bx r0 @@ -214398,7 +214398,7 @@ sub_806D1B4: @ 0x0806D1B4 str r0, [r1] ldr r0, _0806D1EC @ gUnknown_085D8FAC movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r6, [r4, #0x5c] movs r0, #0 @@ -214552,7 +214552,7 @@ _0806D2F6: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Delete6C + bl Proc_Delete _0806D314: pop {r4, r5} pop {r0} @@ -214571,7 +214571,7 @@ sub_806D320: @ 0x0806D320 bne _0806D342 ldr r0, _0806D34C @ gUnknown_085D901C movs r1, #3 - bl New6C + bl Proc_Create str r5, [r0, #0x5c] strh r4, [r0, #0x2c] adds r0, r5, #0 @@ -214588,7 +214588,7 @@ _0806D34C: .4byte gUnknown_085D901C THUMB_FUNC_START sub_806D350 sub_806D350: @ 0x0806D350 push {lr} - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r0} bx r0 @@ -214604,7 +214604,7 @@ sub_806D35C: @ 0x0806D35C str r0, [r1] ldr r0, _0806D3C8 @ gUnknown_085D9034 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r6, [r5, #0x5c] movs r0, #0 @@ -214780,7 +214780,7 @@ sub_806D540: @ 0x0806D540 ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806D566: pop {r4} pop {r0} @@ -214798,7 +214798,7 @@ sub_806D570: @ 0x0806D570 bne _0806D58E ldr r0, _0806D598 @ gUnknown_085D904C movs r1, #3 - bl New6C + bl Proc_Create str r5, [r0, #0x5c] strh r4, [r0, #0x2c] adds r0, r5, #0 @@ -214814,7 +214814,7 @@ _0806D598: .4byte gUnknown_085D904C THUMB_FUNC_START sub_806D59C sub_806D59C: @ 0x0806D59C push {lr} - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r0} bx r0 @@ -214829,7 +214829,7 @@ sub_806D5A8: @ 0x0806D5A8 str r0, [r1] ldr r0, _0806D5F8 @ gUnknown_085D9064 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r7, #0 @@ -214898,7 +214898,7 @@ sub_806D62C: @ 0x0806D62C ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806D652: pop {r4} pop {r0} @@ -214912,7 +214912,7 @@ sub_806D65C: @ 0x0806D65C adds r4, r0, #0 ldr r0, _0806D674 @ gUnknown_085D907C movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -214971,7 +214971,7 @@ _0806D6A8: orrs r0, r1 strh r0, [r2, #0x10] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806D6DE: pop {r4, r5, r6, r7} pop {r0} @@ -214985,7 +214985,7 @@ sub_806D6E8: @ 0x0806D6E8 adds r4, r0, #0 ldr r0, _0806D700 @ gUnknown_085D9094 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -215035,7 +215035,7 @@ _0806D722: orrs r0, r1 strh r0, [r2, #0x10] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806D758: pop {r4, r5, r6, r7} pop {r0} @@ -215054,7 +215054,7 @@ sub_806D764: @ 0x0806D764 str r0, [r1] ldr r0, _0806D7C8 @ gUnknown_085D90AC movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -215127,7 +215127,7 @@ _0806D7FC: subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806D81C: pop {r4} pop {r0} @@ -215146,7 +215146,7 @@ sub_806D828: @ 0x0806D828 str r0, [r1] ldr r0, _0806D88C @ gUnknown_085D90C4 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -215206,7 +215206,7 @@ sub_806D89C: @ 0x0806D89C subs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806D8C6: pop {r4} pop {r0} @@ -215279,7 +215279,7 @@ _0806D950: .4byte gUnknown_02000000 _0806D954: ldr r0, _0806D97C @ gUnknown_085D90DC movs r1, #3 - bl New6C + bl Proc_Create str r5, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -215301,7 +215301,7 @@ _0806D97C: .4byte gUnknown_085D90DC THUMB_FUNC_START sub_806D980 sub_806D980: @ 0x0806D980 push {lr} - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r0} bx r0 @@ -215312,7 +215312,7 @@ sub_806D98C: @ 0x0806D98C bl ClearBG1Setup ldr r0, _0806D9A8 @ gUnknown_085D90F4 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -215369,7 +215369,7 @@ _0806D9DA: orrs r0, r1 strh r0, [r2, #0x10] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806DA10: pop {r4, r5, r6} pop {r0} @@ -215383,7 +215383,7 @@ sub_806DA1C: @ 0x0806DA1C adds r5, r0, #0 ldr r0, _0806DA58 @ gUnknown_085D910C movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -215423,7 +215423,7 @@ sub_806DA68: @ 0x0806DA68 bl ClearBG1 bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806DA88: pop {r4} pop {r0} @@ -215434,7 +215434,7 @@ sub_806DA90: @ 0x0806DA90 push {lr} ldr r0, _0806DAAC @ gUnknown_085D9124 movs r1, #3 - bl New6C + bl Proc_Create movs r1, #0 strh r1, [r0, #0x2c] strh r1, [r0, #0x2e] @@ -215522,7 +215522,7 @@ sub_806DB34: @ 0x0806DB34 adds r4, r0, #0 ldr r0, _0806DB50 @ gUnknown_085D913C movs r1, #3 - bl New6C + bl Proc_Create movs r1, #0 strh r1, [r0, #0x2c] movs r1, #0x28 @@ -215561,9 +215561,9 @@ sub_806DB54: @ 0x0806DB54 cmp r0, r1 ble _0806DB92 adds r0, r5, #0 - bl Delete6C + bl Proc_Delete adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806DB92: add sp, #4 pop {r4, r5} @@ -215577,7 +215577,7 @@ sub_806DB9C: @ 0x0806DB9C bl ClearBG1Setup ldr r0, _0806DBB8 @ gUnknown_085D9244 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -215619,7 +215619,7 @@ _0806DBF2: cmp r0, #0x64 bne _0806DC00 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806DC00: pop {r4, r5} pop {r0} @@ -215636,7 +215636,7 @@ sub_806DC08: @ 0x0806DC08 str r0, [r1] ldr r0, _0806DC8C @ gUnknown_085D925C movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -215755,7 +215755,7 @@ _0806DCD0: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806DD24: pop {r4} pop {r0} @@ -215922,7 +215922,7 @@ _0806DF10: _0806DF14: ldr r0, _0806DF78 @ gUnknown_085D9284 movs r1, #3 - bl New6C + bl Proc_Create adds r6, r0, #0 str r7, [r6, #0x5c] movs r0, #0 @@ -216002,7 +216002,7 @@ sub_806DFA4: @ 0x0806DFA4 cmp r0, #0 beq _0806DFCA adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806DFCA: pop {r0} bx r0 @@ -216031,7 +216031,7 @@ sub_806DFD0: @ 0x0806DFD0 movs r1, #0 str r1, [r0] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806E00A: pop {r4} pop {r0} @@ -216046,7 +216046,7 @@ sub_806E014: @ 0x0806E014 bl ClearBG1Setup ldr r0, _0806E030 @ gUnknown_085D92A4 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -216086,7 +216086,7 @@ _0806E066: cmp r0, #0x24 bne _0806E070 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806E070: pop {r4} pop {r0} @@ -216102,7 +216102,7 @@ sub_806E078: @ 0x0806E078 str r0, [r1] ldr r0, _0806E0C0 @ gUnknown_085D92BC movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -216166,7 +216166,7 @@ _0806E0FE: str r0, [r1] bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806E11C: pop {r4} pop {r0} @@ -216180,7 +216180,7 @@ sub_806E128: @ 0x0806E128 adds r4, r0, #0 ldr r0, _0806E14C @ gUnknown_085D92E0 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -216269,7 +216269,7 @@ _0806E1D8: cmp r1, r0 bne _0806E1E6 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806E1E6: add sp, #0x20 pop {r4, r5, r6, r7} @@ -216290,7 +216290,7 @@ sub_806E1F0: @ 0x0806E1F0 _0806E202: ldr r0, _0806E264 @ gUnknown_085D9300 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r6, [r5, #0x5c] movs r0, #0 @@ -216399,7 +216399,7 @@ sub_806E290: @ 0x0806E290 orrs r0, r1 strh r0, [r2, #0x10] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806E2FC: pop {r4, r5, r6} pop {r0} @@ -216421,7 +216421,7 @@ sub_806E310: @ 0x0806E310 adds r4, r0, #0 ldr r0, _0806E364 @ gUnknown_085D9318 movs r1, #3 - bl New6C + bl Proc_Create adds r7, r0, #0 str r4, [r7, #0x5c] movs r0, #0 @@ -216696,7 +216696,7 @@ _0806E4C0: ands r5, r0 strh r5, [r2] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806E578: add sp, #4 pop {r3} @@ -216716,7 +216716,7 @@ sub_806E58C: @ 0x0806E58C lsrs r5, r5, #0x18 ldr r0, _0806E5E8 @ gUnknown_085D93F0 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r6, [r4, #0x5c] movs r0, #0 @@ -216780,7 +216780,7 @@ sub_806E610: @ 0x0806E610 movs r3, #1 bl sub_80729A4 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -216863,7 +216863,7 @@ _0806E6CC: bl ClearBG1 bl sub_805526C adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806E6DA: pop {r4, r5, r6, r7} pop {r0} @@ -216949,7 +216949,7 @@ sub_806E6E0: @ 0x0806E6E0 orrs r5, r0 strh r5, [r1] mov r0, sl - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r3, r4, r5} mov r8, r3 mov sb, r4 @@ -217046,7 +217046,7 @@ sub_806E79C: @ 0x0806E79C ands r5, r0 strh r5, [r2] mov r0, sb - bl Break6CLoop + bl Proc_ClearNativeCallback add sp, #4 pop {r3, r4} mov r8, r3 @@ -217084,7 +217084,7 @@ _0806E88C: cmp r1, r0 bne _0806E89E adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806E89E: pop {r4} pop {r0} @@ -217123,7 +217123,7 @@ _0806E8D0: orrs r0, r1 strh r0, [r5, #0x10] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806E8EA: pop {r4, r5} pop {r0} @@ -217148,7 +217148,7 @@ sub_806E904: @ 0x0806E904 ldr r0, [r4] cmp r0, #0 beq _0806E916 - bl Delete6C + bl Proc_Delete movs r0, #0 str r0, [r4] _0806E916: @@ -217165,7 +217165,7 @@ sub_806E920: @ 0x0806E920 ldr r0, [r4] cmp r0, #0 beq _0806E932 - bl Delete6C + bl Proc_Delete movs r0, #0 str r0, [r4] _0806E932: @@ -217477,7 +217477,7 @@ sub_806EB7C: @ 0x0806EB7C adds r4, r0, #0 ldr r0, _0806EB98 @ gUnknown_085D9454 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 bl sub_806E93C str r4, [r5, #0x5c] @@ -217498,7 +217498,7 @@ sub_806EB9C: @ 0x0806EB9C adds r1, r4, #0 bl sub_806EC68 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -217512,7 +217512,7 @@ sub_806EBBC: @ 0x0806EBBC adds r6, r0, #0 ldr r0, _0806EC08 @ gUnknown_085D947C adds r1, r4, #0 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -217574,7 +217574,7 @@ _0806EC48: bl sub_806E9B4 bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806EC60: pop {r4} pop {r0} @@ -217589,7 +217589,7 @@ sub_806EC68: @ 0x0806EC68 adds r7, r0, #0 ldr r0, _0806ECA4 @ gUnknown_085D94C4 adds r1, r4, #0 - bl New6C + bl Proc_Create adds r6, r0, #0 str r5, [r6, #0x5c] movs r0, #0 @@ -217654,7 +217654,7 @@ sub_806ECE8: @ 0x0806ECE8 ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806ED06: pop {r4} pop {r0} @@ -217666,7 +217666,7 @@ sub_806ED0C: @ 0x0806ED0C adds r4, r0, #0 ldr r0, _0806ED28 @ gUnknown_085D94DC movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 bl sub_806E93C str r4, [r5, #0x5c] @@ -217690,7 +217690,7 @@ sub_806ED2C: @ 0x0806ED2C adds r1, r4, #0 bl sub_806EEA8 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -217703,7 +217703,7 @@ sub_806ED54: @ 0x0806ED54 adds r6, r0, #0 ldr r0, _0806ED9C @ gUnknown_085D9504 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -217792,7 +217792,7 @@ _0806EE12: bl sub_806E9B4 bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806EE2A: add sp, #4 pop {r4, r5, r6, r7} @@ -217805,7 +217805,7 @@ sub_806EE34: @ 0x0806EE34 adds r5, r0, #0 ldr r0, _0806EE5C @ gUnknown_085D9524 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 bl sub_806E948 str r5, [r4, #0x5c] @@ -217850,7 +217850,7 @@ _0806EE8E: bne _0806EEA0 bl sub_806E920 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806EEA0: pop {r4} pop {r0} @@ -217864,7 +217864,7 @@ sub_806EEA8: @ 0x0806EEA8 adds r7, r0, #0 ldr r0, _0806EEE4 @ gUnknown_085D9544 movs r1, #3 - bl New6C + bl Proc_Create adds r6, r0, #0 str r5, [r6, #0x5c] movs r0, #0 @@ -217927,7 +217927,7 @@ sub_806EF24: @ 0x0806EF24 ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806EF42: pop {r4} pop {r0} @@ -217939,7 +217939,7 @@ sub_806EF48: @ 0x0806EF48 adds r4, r0, #0 ldr r0, _0806EF60 @ gUnknown_085D955C movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -217981,7 +217981,7 @@ sub_806EF64: @ 0x0806EF64 movs r3, #1 bl sub_806F0CC adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback add sp, #4 pop {r4} pop {r0} @@ -217995,7 +217995,7 @@ sub_806EFB8: @ 0x0806EFB8 adds r6, r0, #0 ldr r0, _0806EFFC @ gUnknown_085D9584 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 bl sub_806E93C str r5, [r4, #0x5c] @@ -218054,7 +218054,7 @@ _0806F038: bl sub_806E9B4 bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806F050: pop {r4} pop {r0} @@ -218066,7 +218066,7 @@ sub_806F058: @ 0x0806F058 adds r5, r0, #0 ldr r0, _0806F080 @ gUnknown_085D95A0 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 bl sub_806E948 str r5, [r4, #0x5c] @@ -218111,7 +218111,7 @@ _0806F0B2: bne _0806F0C4 bl sub_806E920 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806F0C4: pop {r4} pop {r0} @@ -218128,7 +218128,7 @@ sub_806F0CC: @ 0x0806F0CC mov r8, r3 ldr r0, _0806F0F8 @ gUnknown_085D95C0 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] strh r5, [r0, #0x2c] strh r6, [r0, #0x2e] @@ -218154,7 +218154,7 @@ sub_806F0FC: @ 0x0806F0FC cmp r0, #0 bne _0806F112 adds r0, r1, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806F112: pop {r0} bx r0 @@ -218171,7 +218171,7 @@ sub_806F118: @ 0x0806F118 cmp r1, r0 ble _0806F132 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0806F17A _0806F132: adds r0, r4, #0 @@ -218223,7 +218223,7 @@ sub_806F184: @ 0x0806F184 adds r6, r0, #0 ldr r0, _0806F1D8 @ gUnknown_085D95E0 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -218275,7 +218275,7 @@ sub_806F1E8: @ 0x0806F1E8 ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806F20A: pop {r4} pop {r0} @@ -218287,7 +218287,7 @@ sub_806F210: @ 0x0806F210 adds r4, r0, #0 ldr r0, _0806F22C @ gUnknown_085D95F8 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 bl sub_806E93C str r4, [r5, #0x5c] @@ -218305,7 +218305,7 @@ sub_806F230: @ 0x0806F230 adds r1, r4, #0 bl sub_806F248 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -218319,7 +218319,7 @@ sub_806F248: @ 0x0806F248 adds r6, r0, #0 ldr r0, _0806F28C @ gUnknown_085D9620 adds r1, r4, #0 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -218390,7 +218390,7 @@ _0806F2E4: bl sub_806E9B4 bl sub_805526C adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806F2FC: pop {r4, r5, r6, r7} pop {r0} @@ -218405,7 +218405,7 @@ sub_806F304: @ 0x0806F304 adds r6, r0, #0 ldr r0, _0806F34C @ gUnknown_085D97C4 adds r1, r5, #0 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r1, #0 @@ -218466,7 +218466,7 @@ sub_806F38C: @ 0x0806F38C adds r6, r0, #0 ldr r0, _0806F3E4 @ gUnknown_085D97C4 adds r1, r4, #0 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -218540,7 +218540,7 @@ _0806F430: bl sub_806E9B4 bl sub_805526C adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806F448: pop {r4, r5, r6} pop {r0} @@ -218551,7 +218551,7 @@ sub_806F450: @ 0x0806F450 push {r4, r5, lr} adds r4, r0, #0 ldr r0, _0806F474 @ gUnknown_085D9924 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] ldr r3, _0806F478 @ gUnknown_085D4F90 @@ -218572,7 +218572,7 @@ sub_806F47C: @ 0x0806F47C push {r4, r5, lr} adds r5, r0, #0 ldr r0, _0806F4AC @ gUnknown_085D996C - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] ldr r3, _0806F4B0 @ gUnknown_085D4F90 @@ -218620,7 +218620,7 @@ sub_806F4C0: @ 0x0806F4C0 ldr r1, _0806F4F4 @ gUnknown_0862C82C bl sub_806EAFC adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -218646,7 +218646,7 @@ sub_806F4F8: @ 0x0806F4F8 ldr r1, _0806F52C @ gUnknown_0862CC2C bl sub_806EAFC adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -218672,7 +218672,7 @@ sub_806F530: @ 0x0806F530 ldr r1, _0806F564 @ gUnknown_0862D06C bl sub_806EAFC adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -218697,7 +218697,7 @@ sub_806F568: @ 0x0806F568 movs r0, #0x27 strh r0, [r4, #0x2c] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -218734,7 +218734,7 @@ sub_806F5BC: @ 0x0806F5BC adds r5, r0, #0 ldr r0, _0806F5DC @ gUnknown_085D999C movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 bl sub_806E93C str r5, [r4, #0x5c] @@ -218791,9 +218791,9 @@ _0806F62C: cmp r0, #0x72 bne _0806F640 ldr r0, [r4, #0x64] - bl Delete6C + bl Proc_Delete adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806F640: pop {r4} pop {r0} @@ -218805,7 +218805,7 @@ sub_806F648: @ 0x0806F648 adds r4, r0, #0 ldr r0, _0806F664 @ gUnknown_085D99C4 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 bl sub_806E93C str r4, [r5, #0x5c] @@ -218840,7 +218840,7 @@ sub_806F668: @ 0x0806F668 bl CpuFastSet bl EnablePaletteSync adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4, r5, r6} pop {r0} bx r0 @@ -218855,7 +218855,7 @@ sub_806F6B4: @ 0x0806F6B4 adds r4, r0, #0 ldr r0, _0806F6D0 @ gUnknown_085D99EC movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 bl sub_806E93C str r4, [r5, #0x5c] @@ -218873,7 +218873,7 @@ sub_806F6D4: @ 0x0806F6D4 adds r1, r4, #0 bl sub_806F7C0 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -218886,7 +218886,7 @@ sub_806F6EC: @ 0x0806F6EC adds r1, r4, #0 bl sub_806F704 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -218900,7 +218900,7 @@ sub_806F704: @ 0x0806F704 adds r6, r0, #0 ldr r0, _0806F748 @ gUnknown_085D9A1C adds r1, r4, #0 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -218970,7 +218970,7 @@ _0806F7A0: bl sub_806E9B4 bl sub_805526C adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806F7B8: pop {r4, r5, r6, r7} pop {r0} @@ -218984,7 +218984,7 @@ sub_806F7C0: @ 0x0806F7C0 bl sub_806E954 ldr r0, _0806F80C @ gUnknown_085D9B64 adds r1, r5, #0 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #0 @@ -219031,7 +219031,7 @@ sub_806F820: @ 0x0806F820 ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806F83E: pop {r4} pop {r0} @@ -219043,7 +219043,7 @@ sub_806F844: @ 0x0806F844 adds r4, r0, #0 ldr r0, _0806F860 @ gUnknown_085D9B74 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 bl sub_806E93C str r4, [r5, #0x5c] @@ -219061,7 +219061,7 @@ sub_806F864: @ 0x0806F864 adds r1, r4, #0 bl sub_806F968 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -219074,7 +219074,7 @@ sub_806F87C: @ 0x0806F87C adds r1, r4, #0 bl sub_806F894 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -219088,7 +219088,7 @@ sub_806F894: @ 0x0806F894 adds r6, r0, #0 ldr r0, _0806F8DC @ gUnknown_085D9BA4 adds r1, r4, #0 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -219168,7 +219168,7 @@ _0806F948: bl sub_806E9B4 bl sub_805526C adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806F960: pop {r4, r5, r6, r7} pop {r0} @@ -219182,7 +219182,7 @@ sub_806F968: @ 0x0806F968 bl sub_806E954 ldr r0, _0806F9C8 @ gUnknown_085D9C4C adds r1, r5, #0 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r6, #0 @@ -219238,7 +219238,7 @@ sub_806F9D8: @ 0x0806F9D8 ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806F9F6: pop {r4} pop {r0} @@ -219592,7 +219592,7 @@ sub_806FC50: @ 0x0806FC50 movs r0, #0 strh r0, [r4, #0x2c] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806FC84: add sp, #4 pop {r4} @@ -219714,7 +219714,7 @@ sub_806FD74: @ 0x0806FD74 bl sub_806FEA4 adds r0, r7, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel b _0806FE00 .align 2, 0 _0806FD94: .4byte gUnknown_0203E120 @@ -219771,7 +219771,7 @@ _0806FDDC: bl sub_8070380 _0806FE00: adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0806FE8E .align 2, 0 _0806FE08: .4byte gUnknown_087585F8 @@ -219885,7 +219885,7 @@ sub_806FED4: @ 0x0806FED4 movs r1, #2 bl sub_806FA54 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806FEF8: pop {r4} pop {r0} @@ -219919,7 +219919,7 @@ sub_806FF00: @ 0x0806FF00 bl sub_806FC8C _0806FF3A: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0806FF40: pop {r4} pop {r0} @@ -219973,7 +219973,7 @@ sub_806FF48: @ 0x0806FF48 orrs r0, r1 strb r0, [r3, #0x18] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080700B4 .align 2, 0 _0806FFB8: .4byte gUnknown_020244A8 @@ -220086,7 +220086,7 @@ _08070048: orrs r0, r1 strb r0, [r3, #0x18] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080700B4: add sp, #4 pop {r4, r5, r6, r7} @@ -220187,7 +220187,7 @@ _08070176: movs r0, #0 strh r0, [r5, #0x2c] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807018E: add sp, #4 pop {r4, r5, r6} @@ -220205,7 +220205,7 @@ sub_80701A0: @ 0x080701A0 movs r1, #8 bl sub_806FA54 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -220218,7 +220218,7 @@ sub_80701B8: @ 0x080701B8 adds r6, r0, #0 ldr r0, _080701E4 @ gUnknown_08758670 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r4, [r6, #4] adds r0, r5, #0 @@ -220472,7 +220472,7 @@ sub_807038C: @ 0x0807038C adds r5, r2, #0 adds r1, r3, #0 ldr r0, _080703C0 @ gUnknown_087586D8 - bl New6C + bl Proc_Create adds r4, r0, #0 str r6, [r4, #0x5c] adds r0, r5, #0 @@ -220668,9 +220668,9 @@ _08070498: _08070536: mov r3, sl ldr r0, [r3, #0x60] - bl Delete6C + bl Proc_Delete mov r0, sl - bl Break6CLoop + bl Proc_ClearNativeCallback _08070544: pop {r3, r4, r5} mov r8, r3 @@ -220694,7 +220694,7 @@ sub_8070568: @ 0x08070568 adds r6, r2, #0 ldr r0, _080705A0 @ gUnknown_087586F0 movs r1, #0 - bl New6C + bl Proc_Create movs r1, #0 strh r1, [r0, #0x2c] str r4, [r0, #0x44] @@ -220762,7 +220762,7 @@ sub_80705A8: @ 0x080705A8 movs r0, #0 strh r0, [r7, #0x2c] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08070608: add sp, #4 pop {r4, r5, r6, r7} @@ -220805,7 +220805,7 @@ sub_8070618: @ 0x08070618 movs r0, #0 strh r0, [r6, #0x2c] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08070662: pop {r4, r5, r6} pop {r0} @@ -220857,7 +220857,7 @@ sub_8070670: @ 0x08070670 movs r0, #0 strh r0, [r7, #0x2c] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080706D0: add sp, #4 pop {r4, r5, r6, r7} @@ -220884,7 +220884,7 @@ sub_80706E0: @ 0x080706E0 strb r0, [r1] bl EnablePaletteSync adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -221085,7 +221085,7 @@ sub_8070874: @ 0x08070874 cmp r0, #3 beq _08070898 ldr r0, _0807089C @ gUnknown_08758720 - bl DeleteEach6C + bl Proc_DeleteAllWithScript movs r0, #0 bl sub_807032C movs r0, #0 @@ -221107,7 +221107,7 @@ sub_80708A0: @ 0x080708A0 beq _080708BE ldr r0, _080708C4 @ gUnknown_08758720 movs r1, #3 - bl New6C + bl Proc_Create ldr r1, _080708C8 @ gUnknown_08758740 str r1, [r0, #0x38] _080708BE: @@ -221125,7 +221125,7 @@ sub_80708CC: @ 0x080708CC adds r6, r0, #0 ldr r0, _080708F8 @ gUnknown_08758754 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r4, [r6, #4] adds r0, r5, #0 @@ -221183,7 +221183,7 @@ _0807094C: _08070956: bl EnablePaletteSync adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4, r5, r6} pop {r0} bx r0 @@ -221230,7 +221230,7 @@ _08070996: movs r1, #0xc3 bl sub_80589E0 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080709C4: pop {r4, r5} pop {r0} @@ -221246,7 +221246,7 @@ sub_80709CC: @ 0x080709CC movs r1, #2 bl sub_806FA54 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -221266,7 +221266,7 @@ sub_80709EC: @ 0x080709EC movs r0, #0 strh r0, [r4, #0x2c] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08070A0C: pop {r4} pop {r0} @@ -221304,7 +221304,7 @@ sub_8070A14: @ 0x08070A14 ldr r0, _08070A6C @ 0x0000FFFF strh r0, [r1] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08070ADA .align 2, 0 _08070A60: .4byte gUnknown_08C00008 @@ -221328,7 +221328,7 @@ _08070A70: movs r1, #0 bl sub_805A07C adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback movs r1, #0xc4 lsls r1, r1, #5 adds r0, r7, r1 @@ -221397,7 +221397,7 @@ _08070B20: bl sub_806FA84 _08070B2A: adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08070B30: pop {r4, r5} pop {r0} @@ -223002,7 +223002,7 @@ sub_80716C8: @ 0x080716C8 ldr r7, [sp, #0x18] ldr r1, [sp, #0x20] ldr r0, _08071710 @ gUnknown_08758A30 - bl New6C + bl Proc_Create movs r2, #0 movs r1, #0 strh r1, [r0, #0x2c] @@ -223066,7 +223066,7 @@ _0807174C: b _0807178C _08071752: adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080717C6 _0807175A: strh r0, [r2, #0x2c] @@ -223392,7 +223392,7 @@ _080719D4: .4byte gUnknown_0202BCF0 _080719D8: ldr r0, _080719EC @ gUnknown_08758A48 movs r1, #3 - bl New6C + bl Proc_Create str r5, [r0, #0x44] str r6, [r0, #0x48] strh r4, [r0, #0x2c] @@ -223415,7 +223415,7 @@ Loop6C_efxSoundSE: @ 0x080719F0 cmp r0, #5 bne _08071A0A adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08071A38 _08071A0A: bl sub_8071AA4 @@ -223436,7 +223436,7 @@ _08071A0A: bl PlaySound _08071A32: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08071A38: pop {r4} pop {r0} @@ -225338,7 +225338,7 @@ EndEkrClasschg: @ 0x08072A00 push {lr} ldr r0, _08072A10 @ gUnknown_020200B0 ldr r0, [r0] - bl Delete6C + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -225352,7 +225352,7 @@ NewEkrClassChg: @ 0x08072A14 ldr r4, _08072A3C @ gUnknown_020200B0 ldr r0, _08072A40 @ gUnknown_08758FC0 movs r1, #3 - bl New6C + bl Proc_Create str r0, [r4] str r5, [r0, #0x5c] movs r2, #0 @@ -225638,7 +225638,7 @@ _08072C86: cmp r1, r0 bne _08072C94 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08072C94: movs r0, #0x2c ldrsh r1, [r4, r0] @@ -225818,7 +225818,7 @@ sub_8072DC0: @ 0x08072DC0 EndEfxStatusUnit: @ 0x08072DC8 push {lr} ldr r0, _08072DD4 @ gUnknown_085B9A34 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -225830,7 +225830,7 @@ sub_8072DD8: @ 0x08072DD8 adds r4, r0, #0 ldr r0, _08072E08 @ gUnknown_08758FE8 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -225861,7 +225861,7 @@ sub_8072E1C: @ 0x08072E1C adds r4, r0, #0 ldr r0, _08072E4C @ gUnknown_08758FE8 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -225935,7 +225935,7 @@ _08072EB8: bl ClearBG1 bl sub_805526C adds r0, r5, #0 - bl Delete6C + bl Proc_Delete _08072ECE: pop {r3} mov r8, r3 @@ -225949,7 +225949,7 @@ sub_8072ED8: @ 0x08072ED8 adds r4, r0, #0 ldr r0, _08072EF0 @ gUnknown_087591BC movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -226004,7 +226004,7 @@ _08072F30: bl sub_80729A4 _08072F46: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -226017,7 +226017,7 @@ sub_8072F58: @ 0x08072F58 adds r4, r0, #0 ldr r0, _08072F70 @ gUnknown_087591D4 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -226033,7 +226033,7 @@ sub_8072F74: @ 0x08072F74 ldrh r1, [r0, #0x2c] adds r1, #1 strh r1, [r0, #0x2c] - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r0} bx r0 @@ -226044,7 +226044,7 @@ sub_8072F84: @ 0x08072F84 adds r4, r0, #0 ldr r0, _08072FC0 @ gUnknown_087591EC movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] ldr r3, _08072FC4 @ gUnknown_08792928 @@ -226078,7 +226078,7 @@ sub_8072FD0: @ 0x08072FD0 ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -226090,7 +226090,7 @@ sub_8072FE8: @ 0x08072FE8 adds r4, r0, #0 ldr r0, _08073024 @ gUnknown_0875920C movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] ldr r3, _08073028 @ gUnknown_08792958 @@ -226124,7 +226124,7 @@ sub_8073034: @ 0x08073034 ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -226138,7 +226138,7 @@ sub_807304C: @ 0x0807304C lsrs r4, r4, #0x18 ldr r0, _08073068 @ gUnknown_0875922C movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 cmp r4, #0 bne _0807306C @@ -226181,7 +226181,7 @@ sub_80730AC: @ 0x080730AC ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -226197,7 +226197,7 @@ sub_80730C4: @ 0x080730C4 adds r4, r1, #0 ldr r0, _080731AC @ gUnknown_0875924C movs r1, #3 - bl New6C + bl Proc_Create str r5, [r0, #0x5c] movs r1, #0 mov sb, r1 @@ -226337,7 +226337,7 @@ sub_80731C8: @ 0x080731C8 orrs r0, r1 strh r0, [r5, #8] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807320E: pop {r4, r5} pop {r0} @@ -226354,7 +226354,7 @@ sub_8073220: @ 0x08073220 adds r5, r1, #0 ldr r0, _0807323C @ gUnknown_08759264 movs r1, #4 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -226406,7 +226406,7 @@ sub_8073240: @ 0x08073240 cmp r0, r1 bne _08073294 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08073294: add sp, #0x48 pop {r4} @@ -226428,7 +226428,7 @@ sub_80732A8: @ 0x080732A8 adds r6, r2, #0 ldr r0, _080732D0 @ gUnknown_08759284 movs r1, #4 - bl New6C + bl Proc_Create adds r1, r0, #0 str r4, [r1, #0x5c] movs r2, #0 @@ -226516,7 +226516,7 @@ _08073356: cmp r0, r1 ble _08073372 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08073372: add sp, #4 pop {r4, r5, r6} @@ -226535,7 +226535,7 @@ sub_8073388: @ 0x08073388 adds r6, r2, #0 ldr r0, _080733B0 @ gUnknown_0875929C movs r1, #4 - bl New6C + bl Proc_Create adds r1, r0, #0 str r4, [r1, #0x5c] movs r2, #0 @@ -226623,7 +226623,7 @@ _08073436: cmp r0, r1 ble _08073452 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08073452: add sp, #4 pop {r4, r5, r6} @@ -226650,7 +226650,7 @@ sub_8073468: @ 0x08073468 str r0, [r1] ldr r0, _080734A8 @ gUnknown_087592B4 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -226698,7 +226698,7 @@ sub_80734AC: @ 0x080734AC subs r0, #1 str r0, [r1] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080734EA: add sp, #4 pop {r4, r5, r6} @@ -226731,7 +226731,7 @@ EndEkrLevelUp: @ 0x08073518 push {lr} ldr r0, _08073528 @ gUnknown_020200B4 ldr r0, [r0] - bl Delete6C + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -227245,7 +227245,7 @@ NewEkrLevelup: @ 0x08073988 ldr r5, _080739B8 @ gUnknown_020200B4 ldr r0, _080739BC @ gUnknown_0875932C movs r1, #3 - bl New6C + bl Proc_Create adds r6, r0, #0 str r6, [r5] str r4, [r6, #0x5c] @@ -227290,7 +227290,7 @@ sub_80739E0: @ 0x080739E0 cmp r1, #0 beq _080739F4 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08073A46 _080739F4: ldrh r0, [r4, #0x2c] @@ -227330,7 +227330,7 @@ _08073A3A: bne _08073A46 strh r1, [r4, #0x2c] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08073A46: pop {r4} pop {r0} @@ -227614,7 +227614,7 @@ _08073C24: strb r0, [r4, #1] bl SetDefaultColorEffects mov r0, sb - bl Break6CLoop + bl Proc_ClearNativeCallback add sp, #8 pop {r3, r4, r5} mov r8, r3 @@ -227740,7 +227740,7 @@ _08073DBA: adds r0, r7, #0 bl sub_807352C adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback add sp, #0xc pop {r3, r4} mov r8, r3 @@ -227769,7 +227769,7 @@ sub_8073E18: @ 0x08073E18 bl BG_EnableSyncByMask bl EnablePaletteSync adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -227802,7 +227802,7 @@ sub_8073E48: @ 0x08073E48 lsls r2, r2, #1 bl CpuFastSet adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08073E7E: pop {r4} pop {r0} @@ -227941,7 +227941,7 @@ _08073EE2: movs r0, #0 strh r0, [r7, #0x2c] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08073F8E: add sp, #4 pop {r3, r4, r5} @@ -227975,7 +227975,7 @@ _08073FC8: cmp r0, r1 bge _08073FC8 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -227991,14 +227991,14 @@ sub_8073FE0: @ 0x08073FE0 cmp r0, #0 bne _08073FF4 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0807402C _08073FF4: ldr r0, _08074034 @ sub_8074874 bl SetPrimaryHBlankHandler ldr r4, _08074038 @ gUnknown_020200D8 ldr r0, [r4] - bl Delete6C + bl Proc_Delete bl sub_807461C str r0, [r4] ldr r4, _0807403C @ 0x000002CD @@ -228015,7 +228015,7 @@ _08073FF4: movs r0, #8 strh r0, [r5, #0x2e] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807402C: pop {r4, r5} pop {r0} @@ -228035,7 +228035,7 @@ sub_8074040: @ 0x08074040 cmp r0, #0 bne _08074056 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080740AC _08074056: ldr r4, _080740B4 @ gUnknown_02020134 @@ -228076,7 +228076,7 @@ _08074056: movs r0, #8 strh r0, [r5, #0x2e] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080740AC: add sp, #4 pop {r4, r5} @@ -228099,7 +228099,7 @@ sub_80740C8: @ 0x080740C8 cmp r0, #0 bne _080740DE adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08074110 _080740DE: ldr r4, _08074118 @ gUnknown_02020134 @@ -228124,7 +228124,7 @@ _080740DE: cmp r0, r1 ble _08074110 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08074110: add sp, #4 pop {r4, r5} @@ -228166,7 +228166,7 @@ sub_807411C: @ 0x0807411C movs r2, #0 bl sub_8071AB0 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0807418E .align 2, 0 _08074168: .4byte gUnknown_02020110 @@ -228175,14 +228175,14 @@ _08074170: .4byte 0x000002CD _08074174: ldr r4, _08074198 @ gUnknown_020200D8 ldr r0, [r4] - bl Delete6C + bl Proc_Delete bl sub_8074580 str r0, [r4] movs r0, #0 strh r0, [r5, #0x2c] strh r0, [r5, #0x2e] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807418E: add sp, #8 pop {r4, r5} @@ -228200,7 +228200,7 @@ sub_807419C: @ 0x0807419C cmp r2, #0 beq _080741B0 adds r0, r1, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080741C8 _080741B0: ldrh r0, [r1, #0x2c] @@ -228213,7 +228213,7 @@ _080741B0: strh r2, [r1, #0x2c] strh r2, [r1, #0x2e] adds r0, r1, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080741C8: pop {r0} bx r0 @@ -228328,7 +228328,7 @@ _080742A6: movs r0, #0 strh r0, [r5, #0x2c] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080742B0: add sp, #8 pop {r3} @@ -228354,7 +228354,7 @@ sub_80742BC: @ 0x080742BC ldr r0, _080742E8 @ sub_8074834 bl SetPrimaryHBlankHandler adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080742E2: pop {r4} pop {r0} @@ -228365,7 +228365,7 @@ _080742E8: .4byte sub_8074834 THUMB_FUNC_START sub_80742EC sub_80742EC: @ 0x080742EC push {lr} - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r0} bx r0 @@ -228447,7 +228447,7 @@ _08074384: movs r0, #0 strh r0, [r7, #0x2c] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080743A2: add sp, #4 pop {r4, r5, r6, r7} @@ -228626,7 +228626,7 @@ _0807452C: movs r0, #0 bl DeleteFaceByIndex adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback add sp, #0x2c pop {r4, r5, r6} pop {r0} @@ -228640,10 +228640,10 @@ sub_8074544: @ 0x08074544 adds r4, r0, #0 ldr r0, _08074578 @ gUnknown_020200D8 ldr r0, [r0] - bl Delete6C + bl Proc_Delete ldr r0, _0807457C @ gUnknown_020200DC ldr r0, [r0] - bl Delete6C + bl Proc_Delete ldr r0, [r4, #0x5c] bl sub_8054B84 ldr r0, [r4, #0x60] @@ -228665,7 +228665,7 @@ sub_8074580: @ 0x08074580 push {lr} ldr r0, _08074594 @ gUnknown_087593DC movs r1, #3 - bl New6C + bl Proc_Create movs r1, #0 strh r1, [r0, #0x2c] strh r1, [r0, #0x2e] @@ -228751,7 +228751,7 @@ sub_807461C: @ 0x0807461C push {lr} ldr r0, _08074630 @ gUnknown_087593FC movs r1, #3 - bl New6C + bl Proc_Create movs r1, #0 strh r1, [r0, #0x2c] strh r1, [r0, #0x2e] @@ -228910,7 +228910,7 @@ _08074722: str r0, [r1] ldr r0, _08074788 @ gUnknown_0875945C movs r1, #0 - bl New6C + bl Proc_Create strh r4, [r0, #0x2c] pop {r3, r4, r5} mov r8, r3 @@ -228944,7 +228944,7 @@ sub_807478C: @ 0x0807478C THUMB_FUNC_START sub_8074798 sub_8074798: @ 0x08074798 push {lr} - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r0} bx r0 @@ -229093,7 +229093,7 @@ sub_80748C4: @ 0x080748C4 adds r4, r0, #0 ldr r0, _080748F8 @ gUnknown_08759484 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -229156,7 +229156,7 @@ _08074948: bl ClearBG1 bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807495E: pop {r4, r5} pop {r0} @@ -229168,7 +229168,7 @@ sub_8074964: @ 0x08074964 adds r4, r0, #0 ldr r0, _0807499C @ gUnknown_087594F4 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -229224,7 +229224,7 @@ _080749DE: cmp r2, r0 bne _080749EC adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080749EC: pop {r4} pop {r0} @@ -229241,7 +229241,7 @@ sub_80749F4: @ 0x080749F4 mov r8, r2 ldr r0, _08074A44 @ gUnknown_08759524 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] ldr r3, _08074A48 @ gUnknown_085C71E4 @@ -229287,7 +229287,7 @@ sub_8074A60: @ 0x08074A60 adds r4, r0, #0 ldr r0, _08074A88 @ gUnknown_08759544 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r2, #0 strh r2, [r0, #0x2c] @@ -229347,7 +229347,7 @@ _08074ABE: ldr r0, _08074AF8 @ gUnknown_085C6054 str r0, [r4, #0x4c] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08074AE6: add sp, #4 pop {r4} @@ -229383,7 +229383,7 @@ _08074B22: cmp r1, r0 bne _08074B30 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08074B30: pop {r4} pop {r0} @@ -229464,7 +229464,7 @@ sub_8074B90: @ 0x08074B90 bl CopyToPaletteBuffer ldr r0, _08074BEC @ gUnknown_08759564 movs r1, #3 - bl New6C + bl Proc_Create movs r1, #0 strh r5, [r0, #0x2c] ldr r0, _08074BF0 @ gUnknown_02020138 @@ -229484,7 +229484,7 @@ _08074BF0: .4byte gUnknown_02020138 sub_8074BF4: @ 0x08074BF4 push {lr} ldr r0, _08074C08 @ gUnknown_08759564 - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r1, _08074C0C @ gUnknown_02020138 movs r0, #1 str r0, [r1] @@ -229700,7 +229700,7 @@ sub_8074D58: @ 0x08074D58 beq _08074E52 ldr r0, _08074DDC @ gUnknown_0875957C movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 ldr r1, [sp, #0x40] cmp r1, #0 @@ -229797,7 +229797,7 @@ sub_8074E6C: @ 0x08074E6C cmp r0, #0 bge _08074E80 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08074ECE _08074E80: ldrh r0, [r4, #0x2c] @@ -229835,7 +229835,7 @@ _08074E80: ldrsh r1, [r4, r2] bl sub_8074C10 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08074ECE: add sp, #0xc pop {r4, r5} @@ -229851,7 +229851,7 @@ sub_8074EDC: @ 0x08074EDC ldr r2, [r4, #0x50] cmp r2, #0 bge _08074EEC - bl Break6CLoop + bl Proc_ClearNativeCallback b _08074F0E _08074EEC: ldrh r0, [r4, #0x2c] @@ -229868,7 +229868,7 @@ _08074EEC: adds r0, r2, #0 bl sub_8074C78 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08074F0E: pop {r4} pop {r0} @@ -229883,11 +229883,11 @@ sub_8074F14: @ 0x08074F14 cmp r0, #1 bne _08074F32 ldr r0, [r4, #0x60] - bl Delete6C + bl Proc_Delete ldr r0, [r4, #0x64] - bl Delete6C + bl Proc_Delete adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08074F32: pop {r4} pop {r0} @@ -229922,7 +229922,7 @@ NewEkrTriangle: @ 0x08074F5C adds r4, r0, #0 ldr r0, _08074F78 @ gUnknown_087595A4 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] ldr r1, _08074F7C @ gUnknown_0202013C movs r0, #0 @@ -230197,7 +230197,7 @@ _08075164: _08075168: str r0, [r1] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback add sp, #4 pop {r3, r4, r5} mov r8, r3 @@ -230221,7 +230221,7 @@ sub_8075184: @ 0x08075184 ldr r7, [sp, #0x18] ldr r0, _080751B8 @ gUnknown_087595BC movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -230325,7 +230325,7 @@ _0807525E: movs r0, #1 str r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08075272: pop {r4, r5} pop {r0} @@ -230342,7 +230342,7 @@ sub_807527C: @ 0x0807527C adds r7, r3, #0 ldr r0, _080752A4 @ gUnknown_087595D4 movs r1, #3 - bl New6C + bl Proc_Create adds r1, r0, #0 str r4, [r1, #0x5c] movs r0, #0 @@ -230427,7 +230427,7 @@ _08075336: bne _08075348 bl ClearBG1 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08075348: pop {r4} pop {r0} @@ -230446,7 +230446,7 @@ sub_8075350: @ 0x08075350 mov sb, r3 ldr r0, _08075384 @ gUnknown_08759604 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r7, [r5, #0x5c] movs r0, #0 @@ -230527,7 +230527,7 @@ sub_80753FC: @ 0x080753FC ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807541E: pop {r4} pop {r0} @@ -230545,7 +230545,7 @@ sub_8075424: @ 0x08075424 ldr r7, [sp, #0x18] ldr r0, _08075458 @ gUnknown_0875961C movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -230661,7 +230661,7 @@ _0807551C: cmp r0, #0x78 bne _0807552A adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807552A: add sp, #4 pop {r4, r5} @@ -230683,7 +230683,7 @@ sub_8075538: @ 0x08075538 adds r6, r3, #0 ldr r0, _08075570 @ gUnknown_08759634 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 mov r0, r8 str r0, [r5, #0x5c] @@ -230877,7 +230877,7 @@ sub_80756BC: @ 0x080756BC ldr r0, [r4, #0x64] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807570E: add sp, #4 pop {r4} @@ -230897,7 +230897,7 @@ sub_8075718: @ 0x08075718 adds r7, r3, #0 ldr r0, _08075754 @ gUnknown_0875964C movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 mov r0, r8 str r0, [r4, #0x5c] @@ -231048,7 +231048,7 @@ sub_8075828: @ 0x08075828 movs r0, #0x14 strh r0, [r4, #0x2e] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807586A: add sp, #4 pop {r4, r5} @@ -231071,7 +231071,7 @@ sub_8075874: @ 0x08075874 ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08075896: pop {r4} pop {r0} @@ -231088,7 +231088,7 @@ sub_807589C: @ 0x0807589C str r0, [r1] ldr r0, _080758D0 @ gUnknown_0875966C movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x5c] movs r0, #0 @@ -231261,9 +231261,9 @@ sub_80758D4: @ 0x080758D4 adds r2, r5, #0 bl sub_80559F0 ldr r0, [r7, #0x60] - bl Delete6C + bl Proc_Delete adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08075A2A: pop {r3, r4, r5} mov r8, r3 @@ -231401,7 +231401,7 @@ DeleteAnimsOnPopup: @ 0x08075B3C ldr r0, [r4] cmp r0, #0 beq _08075B4E - bl Delete6C + bl Proc_Delete movs r0, #0 str r0, [r4] _08075B4E: @@ -231864,7 +231864,7 @@ Battle_MakePopups: @ 0x08075F18 ldr r4, _08075F70 @ gUnknown_02020140 ldr r0, _08075F74 @ gUnknown_0878D588 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r5, [r4] ldr r1, _08075F78 @ gUnknown_02020144 @@ -231921,7 +231921,7 @@ _08075F9E: ldr r4, _08076048 @ gUnknown_02020140 ldr r0, _0807604C @ gUnknown_0878D520 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r5, [r4] ldr r1, _08076050 @ gUnknown_02020144 @@ -232029,7 +232029,7 @@ BattlePopup_Wait16Frames: @ 0x0807606C cmp r0, #0x10 ble _08076084 adds r0, r1, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08076084: pop {r0} bx r0 @@ -232050,7 +232050,7 @@ ekrPopup_DrawWRankUp: @ 0x08076088 strh r0, [r4, #0x2e] _080760A4: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -232063,7 +232063,7 @@ ekrPopup_WaitWRankUp: @ 0x080760B0 cmp r0, #0 bne _080760C2 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080760E4 _080760C2: ldrh r0, [r4, #0x2c] @@ -232079,7 +232079,7 @@ _080760C2: bl AIS_Free bl ClearBG1 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080760E4: pop {r4} pop {r0} @@ -232101,7 +232101,7 @@ ekrPopup_DrawWRankUp2: @ 0x080760EC strh r0, [r4, #0x2e] _08076108: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -232114,7 +232114,7 @@ ekrPopup_WaitWRankUp2: @ 0x08076114 cmp r0, #0 bne _08076126 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08076148 _08076126: ldrh r0, [r4, #0x2c] @@ -232130,7 +232130,7 @@ _08076126: bl AIS_Free bl ClearBG1 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08076148: pop {r4} pop {r0} @@ -232152,7 +232152,7 @@ ekrPopup_DrawWpnBroke: @ 0x08076150 strh r0, [r4, #0x2e] _0807616C: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -232165,7 +232165,7 @@ ekrPopup_WaitWpnBroke: @ 0x08076178 cmp r0, #0 bne _0807618A adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080761AC _0807618A: ldrh r0, [r4, #0x2c] @@ -232181,7 +232181,7 @@ _0807618A: bl AIS_Free bl ClearBG1 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080761AC: pop {r4} pop {r0} @@ -232203,7 +232203,7 @@ ekrPopup_DrawWpnBroke2: @ 0x080761B4 strh r0, [r4, #0x2e] _080761D0: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -232216,7 +232216,7 @@ ekrPopup_WaitWpnBroke2: @ 0x080761DC cmp r0, #0 bne _080761EE adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08076214 _080761EE: ldrh r0, [r4, #0x2c] @@ -232234,7 +232234,7 @@ _080761EE: bl AIS_Free bl ClearBG1 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08076214: pop {r4} pop {r0} @@ -232258,7 +232258,7 @@ ekrPopup_MarkEnd: @ 0x0807621C lsls r0, r0, #1 bl SomethingSoundRelated_80022EC adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08076242: pop {r4} pop {r0} @@ -232281,7 +232281,7 @@ sub_8076250: @ 0x08076250 bne _08076268 adds r0, r4, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel b _08076288 _08076268: ldr r0, [r4, #0x4c] @@ -232297,7 +232297,7 @@ _08076268: strh r0, [r4, #0x2e] _08076282: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08076288: pop {r4} pop {r0} @@ -232311,7 +232311,7 @@ sub_8076290: @ 0x08076290 cmp r0, #0 bne _080762A2 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080762C8 _080762A2: ldrh r0, [r4, #0x2c] @@ -232329,7 +232329,7 @@ _080762A2: bl AIS_Free bl ClearBG1 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080762C8: pop {r4} pop {r0} @@ -232346,7 +232346,7 @@ sub_80762D0: @ 0x080762D0 bne _080762E8 adds r0, r4, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel b _08076308 _080762E8: ldr r0, [r4, #0x4c] @@ -232362,7 +232362,7 @@ _080762E8: strh r0, [r4, #0x2e] _08076302: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08076308: pop {r4} pop {r0} @@ -232421,7 +232421,7 @@ NewEkrHenseiInitPROC: @ 0x0807636C push {lr} ldr r0, _0807637C @ gUnknown_0878D5F0 movs r1, #3 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -232456,7 +232456,7 @@ sub_8076380: @ 0x08076380 bl sub_80712B0 bl EnablePaletteSync adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4, r5} pop {r0} bx r0 @@ -232476,7 +232476,7 @@ sub_80763E0: @ 0x080763E0 movs r0, #0x10 strh r0, [r4, #0x2e] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -232519,7 +232519,7 @@ sub_8076400: @ 0x08076400 cmp r1, r0 bne _08076454 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08076454: add sp, #4 pop {r4, r5, r6} @@ -232532,7 +232532,7 @@ _08076460: .4byte gUnknown_020228A8 THUMB_FUNC_START sub_8076464 sub_8076464: @ 0x08076464 push {lr} - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r0} bx r0 @@ -232541,7 +232541,7 @@ sub_8076470: @ 0x08076470 push {lr} ldr r0, _08076480 @ gUnknown_0878D620 movs r1, #3 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -232561,7 +232561,7 @@ sub_8076484: @ 0x08076484 movs r0, #0x10 strh r0, [r4, #0x2e] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -232607,7 +232607,7 @@ sub_80764B0: @ 0x080764B0 cmp r1, r0 bne _08076504 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08076504: add sp, #4 pop {r4, r5, r6} @@ -232628,7 +232628,7 @@ sub_8076514: @ 0x08076514 ldr r0, _0807653C @ GeneralVBlankHandler bl SetInterrupt_LCDVBlank adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -232644,7 +232644,7 @@ sub_8076540: @ 0x08076540 adds r6, r0, #0 ldr r0, _0807658C @ gUnknown_087F4324 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r4, [r6, #4] adds r0, r5, #0 @@ -232714,7 +232714,7 @@ sub_80765CC: @ 0x080765CC ldr r0, [r4, #0x5c] bl sub_8076910 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -232743,7 +232743,7 @@ sub_80765E4: @ 0x080765E4 movs r0, #0 strh r0, [r4, #0x2c] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08076618: add sp, #4 pop {r4} @@ -232803,7 +232803,7 @@ sub_8076640: @ 0x08076640 cmp r0, #0x78 bne _08076690 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08076694 .align 2, 0 _0807668C: .4byte gUnknown_0201FB0C @@ -232843,7 +232843,7 @@ _080766BC: movs r1, #2 bl sub_806FA54 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -232945,7 +232945,7 @@ sub_8076798: @ 0x08076798 movs r0, #0 strh r0, [r4, #0x2c] ldr r0, [r4, #0x50] - bl Delete6C + bl Proc_Delete ldr r0, [r4, #0x5c] bl sub_8070214 lsls r0, r0, #0x18 @@ -232960,7 +232960,7 @@ _080767DE: _080767E4: str r0, [r4, #0x50] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080767EC: pop {r4, r5} pop {r0} @@ -232977,9 +232977,9 @@ sub_80767F4: @ 0x080767F4 cmp r0, #1 bne _08076810 adds r0, r1, #0 - bl Delete6C + bl Proc_Delete adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08076810: pop {r4} pop {r0} @@ -233033,7 +233033,7 @@ sub_8076818: @ 0x08076818 movs r0, #0x10 bl sub_807168C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -233078,7 +233078,7 @@ _080768BE: movs r0, #0 strh r0, [r4, #0x2c] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080768EC: add sp, #4 pop {r4} @@ -233095,7 +233095,7 @@ sub_80768F8: @ 0x080768F8 movs r1, #8 bl sub_806FA54 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -233106,7 +233106,7 @@ sub_8076910: @ 0x08076910 adds r4, r0, #0 ldr r0, _08076930 @ gUnknown_087F4394 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] adds r2, r0, #0 adds r2, #0x29 @@ -233159,7 +233159,7 @@ sub_8076934: @ 0x08076934 movs r0, #1 strb r0, [r1] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807698C: add sp, #4 pop {r4, r5, r6} @@ -233172,7 +233172,7 @@ _08076998: .4byte gUnknown_02022928 THUMB_FUNC_START sub_807699C sub_807699C: @ 0x0807699C push {lr} - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r0} bx r0 @@ -233183,7 +233183,7 @@ sub_80769A8: @ 0x080769A8 adds r4, r0, #0 ldr r0, _080769FC @ gUnknown_087F43B4 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] adds r0, #0x29 @@ -233261,7 +233261,7 @@ sub_8076A10: @ 0x08076A10 movs r0, #1 strb r0, [r1] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08076A68: add sp, #4 pop {r4, r5, r6} @@ -233274,7 +233274,7 @@ _08076A74: .4byte gUnknown_02022928 THUMB_FUNC_START sub_8076A78 sub_8076A78: @ 0x08076A78 push {lr} - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r0} bx r0 @@ -233289,7 +233289,7 @@ sub_8076A84: @ 0x08076A84 movs r1, #2 bl sub_806FA54 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -233300,7 +233300,7 @@ sub_8076AA4: @ 0x08076AA4 adds r4, r0, #0 ldr r0, _08076ACC @ gUnknown_087F43D4 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -233612,7 +233612,7 @@ _08076D0C: movs r1, #0 bl sub_8077DB4 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08076D58 .align 2, 0 _08076D44: .4byte gUnknown_03004FA8 @@ -233674,7 +233674,7 @@ sub_8076D60: @ 0x08076D60 movs r0, #0 str r0, [r6, #0x54] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08076DE0 .align 2, 0 _08076DC8: .4byte gUnknown_03004FA8 @@ -233699,7 +233699,7 @@ sub_8076DE8: @ 0x08076DE8 cmp r0, #1 bne _08076DFA adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08076DFA: pop {r4} pop {r0} @@ -233750,7 +233750,7 @@ sub_8076E00: @ 0x08076E00 movs r0, #0 str r0, [r6, #0x54] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08076E7C .align 2, 0 _08076E64: .4byte gUnknown_03004FA8 @@ -233811,7 +233811,7 @@ sub_8076E84: @ 0x08076E84 movs r0, #0 str r0, [r6, #0x54] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08076F00 .align 2, 0 _08076EE8: .4byte gUnknown_03004FA8 @@ -233908,7 +233908,7 @@ sub_8076F48: @ 0x08076F48 movs r0, #0 str r0, [r6, #0x54] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08076FC8 .align 2, 0 _08076FB0: .4byte gUnknown_03004FA8 @@ -233975,7 +233975,7 @@ sub_8076FD4: @ 0x08076FD4 movs r0, #0 str r0, [r6, #0x54] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08077054 .align 2, 0 _0807703C: .4byte gUnknown_03004FA8 @@ -233999,7 +233999,7 @@ sub_807705C: @ 0x0807705C cmp r0, #2 bne _08077072 ldr r0, _08077078 @ gUnknown_087F43D4 - bl Find6C + bl Proc_Find movs r1, #1 rsbs r1, r1, #0 str r1, [r0, #0x54] @@ -234124,7 +234124,7 @@ _08077168: cmp r0, #1 bne _080771C2 ldr r0, _08077178 @ gUnknown_087F44B0 - bl ClearCallbackAll6CMatch + bl Proc_ClearNativeCallbackEachWithScript b _080771B6 .align 2, 0 _08077178: .4byte gUnknown_087F44B0 @@ -234141,7 +234141,7 @@ _0807717C: beq _080771C2 ldr r0, _0807719C @ gUnknown_087F44B0 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x4c] b _080771B6 .align 2, 0 @@ -234178,7 +234178,7 @@ sub_80771C8: @ 0x080771C8 adds r4, r1, #0 ldr r0, _080771E0 @ gUnknown_087F44E0 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x44] str r5, [r0, #0x5c] pop {r4, r5} @@ -234203,9 +234203,9 @@ sub_80771E4: @ 0x080771E4 beq _080772B0 _080771FC: adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r0, _08077224 @ gUnknown_087F43D4 - bl Find6C + bl Proc_Find adds r4, r0, #0 movs r0, #0 strh r0, [r4, #0x2c] @@ -234248,7 +234248,7 @@ _08077268: str r0, [r4, #0x48] ldr r0, _0807727C @ gUnknown_087F4458 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x4c] b _080772B0 .align 2, 0 @@ -234271,7 +234271,7 @@ _0807729C: str r0, [r4, #0x48] ldr r0, _080772BC @ gUnknown_087F43F8 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x4c] ldr r0, [r5, #0x5c] bl sub_8078044 @@ -234289,7 +234289,7 @@ sub_80772C0: @ 0x080772C0 adds r4, r0, #0 ldr r0, _080772E0 @ gUnknown_087F44F8 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r2, #0 movs r1, #0 @@ -234375,7 +234375,7 @@ sub_8077310: @ 0x08077310 movs r0, #1 strb r0, [r1] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08077380: add sp, #4 pop {r4, r5, r6} @@ -234472,14 +234472,14 @@ sub_80773E4: @ 0x080773E4 bl sub_8013928 _08077436: ldr r0, _0807745C @ gUnknown_08801810 - bl Find6C + bl Proc_Find cmp r0, #0 bne _0807744E movs r0, #0 movs r1, #0 bl sub_8077DB4 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807744E: add sp, #4 pop {r4, r5} @@ -234496,7 +234496,7 @@ sub_8077460: @ 0x08077460 adds r2, #0x29 movs r1, #1 strb r1, [r2] - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r0} bx r0 @@ -234620,7 +234620,7 @@ sub_8077560: @ 0x08077560 adds r4, r0, #0 ldr r0, _08077580 @ gUnknown_087F4518 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] movs r0, #1 @@ -234638,7 +234638,7 @@ sub_8077584: @ 0x08077584 adds r4, r0, #0 ldr r0, _08077598 @ gUnknown_087F4548 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] pop {r4} pop {r1} @@ -234702,7 +234702,7 @@ sub_80775E8: @ 0x080775E8 ldr r0, [r4, #0x60] bl AIS_Free adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback adds r0, r4, #0 bl sub_8077620 _0807761A: @@ -234781,7 +234781,7 @@ sub_8077684: @ 0x08077684 movs r0, #0 strh r0, [r2, #0x2c] adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080776AA: pop {r0} bx r0 @@ -234804,7 +234804,7 @@ sub_80776B0: @ 0x080776B0 cmp r0, r1 bne _080776D4 adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080776D4: pop {r0} bx r0 @@ -234904,7 +234904,7 @@ sub_8077790: @ 0x08077790 adds r4, r0, #0 ldr r0, _080777BC @ gUnknown_087F4578 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 str r4, [r5, #0x5c] adds r1, r5, #0 @@ -235014,7 +235014,7 @@ _08077874: strh r5, [r4, #0x2c] strh r5, [r4, #0x30] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r0, [r4, #0x5c] bl sub_8077560 _0807788C: @@ -235116,7 +235116,7 @@ _08077950: cmp r0, #0x78 bne _08077968 ldr r0, [r4, #0x54] - bl Delete6C + bl Proc_Delete movs r0, #0xd movs r1, #0 bl sub_8053678 @@ -235127,7 +235127,7 @@ _08077968: cmp r0, #0xb4 bne _08077980 ldr r0, [r4, #0x54] - bl Delete6C + bl Proc_Delete movs r0, #0xe movs r1, #0 bl sub_8053678 @@ -235204,9 +235204,9 @@ _08077A02: cmp r1, r0 bne _08077A6E ldr r0, [r4, #0x64] - bl Delete6C + bl Proc_Delete ldr r0, [r4, #0x54] - bl Delete6C + bl Proc_Delete strh r7, [r5] strh r7, [r5, #2] ldr r0, _08077A9C @ gUnknown_020244A8 @@ -235254,7 +235254,7 @@ _08077A6E: movs r0, #1 strb r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08077A86: pop {r4, r5, r6, r7} pop {r0} @@ -235280,7 +235280,7 @@ sub_8077AAC: @ 0x08077AAC adds r6, r2, #0 ldr r0, _08077AE4 @ gUnknown_087F45A0 movs r1, #0 - bl New6C + bl Proc_Create movs r1, #0 strh r1, [r0, #0x2c] str r4, [r0, #0x44] @@ -235348,7 +235348,7 @@ sub_8077AEC: @ 0x08077AEC movs r0, #0 strh r0, [r7, #0x2c] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08077B4C: add sp, #4 pop {r4, r5, r6, r7} @@ -235391,7 +235391,7 @@ sub_8077B5C: @ 0x08077B5C movs r0, #0 strh r0, [r6, #0x2c] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08077BA6: pop {r4, r5, r6} pop {r0} @@ -235443,7 +235443,7 @@ sub_8077BB4: @ 0x08077BB4 movs r0, #0 strh r0, [r7, #0x2c] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08077C14: add sp, #4 pop {r4, r5, r6, r7} @@ -235470,7 +235470,7 @@ sub_8077C24: @ 0x08077C24 strb r0, [r1] bl EnablePaletteSync adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -235751,7 +235751,7 @@ sub_8077E6C: @ 0x08077E6C cmp r0, #0xf ble _08077E96 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08077E96: pop {r4} pop {r0} @@ -235807,7 +235807,7 @@ sub_8077EEC: @ 0x08077EEC push {r4, lr} adds r4, r0, #0 ldr r0, _08077F00 @ gUnknown_08801840 - bl New6C + bl Proc_Create adds r0, #0x64 strh r4, [r0] pop {r4} @@ -235883,7 +235883,7 @@ _08077F52: ble _08077F90 _08077F7C: adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08077F94 .align 2, 0 _08077F84: .4byte gUnknown_08801AB4 @@ -236006,7 +236006,7 @@ sub_8078044: @ 0x08078044 bl ClearBG1Setup ldr r0, _08078074 @ gUnknown_08801868 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] movs r1, #0 strh r1, [r0, #0x2c] @@ -236037,7 +236037,7 @@ _08078092: cmp r0, #0x46 bne _080780A0 adds r0, r1, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080780A0: pop {r0} bx r0 @@ -236109,7 +236109,7 @@ sub_8078124: @ 0x08078124 adds r4, r0, #0 ldr r0, _0807813C @ gUnknown_08801880 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x5c] bl sub_80551B0 pop {r4} @@ -236194,7 +236194,7 @@ sub_807819C: @ 0x0807819C bl ClearBG1 bl sub_805526C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0807820C .align 2, 0 _080781DC: .4byte gUnknown_088018A0 @@ -236719,7 +236719,7 @@ _08078588: beq _08078680 ldr r4, _08078678 @ gUnknown_089A2C48 adds r0, r4, #0 - bl Find6C + bl Proc_Find cmp r0, #0 beq _0807859E movs r2, #0xfe @@ -236727,7 +236727,7 @@ _08078588: _0807859E: adds r0, r4, #0 movs r1, #5 - bl New6C + bl Proc_Create adds r6, r0, #0 cmp r6, #0 beq _08078680 @@ -236891,7 +236891,7 @@ _080786E2: _MOVEUNIT6C_SetDefaultFacingDirection: @ 0x080786E8 push {lr} ldr r0, _080786FC @ gUnknown_089A2C48 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080786F8 bl MOVEUNIT6C_SetDefaultSpriteDirection @@ -236906,7 +236906,7 @@ _MOVEUNIT6C_ChangeFutureMovement: @ 0x08078700 push {r4, lr} adds r4, r0, #0 ldr r0, _0807871C @ gUnknown_089A2C48 - bl Find6C + bl Proc_Find cmp r0, #0 beq _08078714 adds r1, r4, #0 @@ -236922,7 +236922,7 @@ _0807871C: .4byte gUnknown_089A2C48 DoesMoveunitExist: @ 0x08078720 push {lr} ldr r0, _08078734 @ gUnknown_089A2C48 - bl Find6C + bl Proc_Find cmp r0, #0 beq _0807872E movs r0, #1 @@ -237092,13 +237092,13 @@ NewSoundStepPlay6C: @ 0x0807883C adds r6, r2, #0 ldr r4, _0807886C @ gUnknown_089A2938 adds r0, r4, #0 - bl Find6C + bl Proc_Find adds r2, r0, #0 cmp r2, #0 bne _0807885C adds r0, r4, #0 movs r1, #3 - bl New6C + bl Proc_Create adds r2, r0, #0 _0807885C: ldr r0, [r2, #0x58] @@ -237334,7 +237334,7 @@ DisplayFogThingMaybe: @ 0x08078A14 bl TCS_SetAnim ldr r0, _08078A60 @ gUnknown_089A2968 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x50] adds r5, #8 str r5, [r0, #0x2c] @@ -237445,7 +237445,7 @@ Loop6C_89A2968_1: @ 0x08078B08 cmp r0, #7 ble _08078B2C adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08078B2C: movs r1, #0x80 lsls r1, r1, #2 @@ -237533,7 +237533,7 @@ Loop6C_89A2968_2: @ 0x08078BCC cmp r1, #0x27 ble _08078BE6 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08078BE6: ldr r0, [r4, #0x50] ldr r1, [r4, #0x2c] @@ -237550,7 +237550,7 @@ _08078BE6: Does6C_89A2968Exist: @ 0x08078BFC push {lr} ldr r0, _08078C10 @ gUnknown_089A2968 - bl Find6C + bl Proc_Find cmp r0, #0 beq _08078C0A movs r0, #1 @@ -237707,7 +237707,7 @@ _08078D0E: cmp r0, #0 beq _08078D3C ldr r0, _08078D64 @ gUnknown_0859A548 - bl Find6C + bl Proc_Find cmp r0, #0 bne _08078D3C ldrh r0, [r4] @@ -238066,7 +238066,7 @@ _6CMOVEUNIT_Destructor: @ 0x08079090 ClearMOVEUNITs: @ 0x080790A4 push {lr} ldr r0, _080790B0 @ gUnknown_089A2C48 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -238082,7 +238082,7 @@ EndMoveunitMaybe: @ 0x080790B4 THUMB_FUNC_START Delete6C__ Delete6C__: @ 0x080790C0 push {lr} - bl Delete6C + bl Proc_Delete pop {r0} bx r0 @@ -238102,7 +238102,7 @@ sub_80790CC: @ 0x080790CC BlockAll6CMarked4: @ 0x080790E0 push {lr} movs r0, #4 - bl BlockEach6CMarked + bl Proc_BlockEachWithMark pop {r0} bx r0 @@ -238110,7 +238110,7 @@ BlockAll6CMarked4: @ 0x080790E0 UnblockAll6CMarked4: @ 0x080790EC push {lr} movs r0, #4 - bl UnblockEach6CMarked + bl Proc_UnblockEachWithMark pop {r0} bx r0 @@ -238763,7 +238763,7 @@ MOVEUNIT6C_807959C: @ 0x0807959C strb r0, [r1] ldr r0, _08079610 @ gUnknown_089A2C80 adds r1, r5, #0 - bl New6C + bl Proc_Create str r5, [r0, #0x54] adds r0, #0x64 movs r1, #0x20 @@ -238835,7 +238835,7 @@ BlendTimer6C_MainLoop: @ 0x08079618 ldr r0, [r5, #0x54] bl EndMoveunitMaybe adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807964C: pop {r4, r5} pop {r0} @@ -238865,7 +238865,7 @@ _0807966C: cmp r0, #0 bge _08079686 adds r0, r3, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback movs r0, #1 strb r0, [r4] _08079686: @@ -238884,7 +238884,7 @@ sub_807968C: @ 0x0807968C strb r0, [r1] ldr r0, _080796CC @ gUnknown_089A2C98 adds r1, r4, #0 - bl New6C + bl Proc_Create str r4, [r0, #0x54] adds r0, #0x64 movs r1, #0x40 @@ -238989,7 +238989,7 @@ sub_8079730: @ 0x08079730 ldr r0, [r5, #0x54] bl EndMoveunitMaybe adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08079778: pop {r4, r5} pop {r0} @@ -239009,7 +239009,7 @@ sub_8079788: @ 0x08079788 strb r0, [r1] ldr r0, _080797CC @ gUnknown_089A2CE8 adds r1, r4, #0 - bl New6C + bl Proc_Create str r4, [r0, #0x54] adds r2, r0, #0 adds r2, #0x64 @@ -239131,7 +239131,7 @@ sub_8079858: @ 0x08079858 bl sub_8013928 ldr r0, _08079888 @ gUnknown_089A2CF8 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x54] pop {r4} pop {r0} @@ -239280,7 +239280,7 @@ sub_8079970: @ 0x08079970 bl CopyToPaletteBuffer ldr r0, _0807999C @ gUnknown_089A2D10 adds r1, r4, #0 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] pop {r4} pop {r0} @@ -239382,7 +239382,7 @@ _08079A2C: movs r2, #0 bl sub_80797F4 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08079A4A: pop {r4, r5} pop {r0} @@ -239444,7 +239444,7 @@ sub_8079A74: @ 0x08079A74 bl sub_8013928 ldr r0, _08079AD0 @ gUnknown_089A2D98 adds r1, r4, #0 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] pop {r4, r5} pop {r0} @@ -239479,7 +239479,7 @@ SetAllMOVEUNITField44To1: @ 0x08079AF8 push {lr} ldr r0, _08079B08 @ gUnknown_089A2C48 ldr r1, _08079B0C @ SetMOVEUNITField44To1 - bl ForEach6C + bl Proc_ForEachWithScript pop {r0} bx r0 .align 2, 0 @@ -239837,7 +239837,7 @@ sub_8079D74: @ 0x08079D74 lsrs r7, r3, #0x10 ldr r0, _08079DAC @ gUnknown_089A2DB0 movs r1, #5 - bl New6C + bl Proc_Create adds r5, r0, #0 lsls r0, r6, #0x10 asrs r0, r0, #0x10 @@ -239903,7 +239903,7 @@ sub_8079DDC: @ 0x08079DDC mov r8, r1 ldr r0, _08079E6C @ gUnknown_089A2DB0 movs r1, #5 - bl New6C + bl Proc_Create adds r2, r0, #0 adds r2, #0x44 lsls r4, r4, #0x18 @@ -240092,7 +240092,7 @@ _08079F80: .4byte gUnknown_0202E4F0 MuCtrExists: @ 0x08079F84 push {lr} ldr r0, _08079F98 @ gUnknown_089A2DB0 - bl Find6C + bl Proc_Find cmp r0, #0 beq _08079F92 movs r0, #1 @@ -240287,7 +240287,7 @@ sub_807A0E4: @ 0x0807A0E4 beq _0807A10A adds r0, r5, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #0 b _0807A188 _0807A10A: @@ -240403,7 +240403,7 @@ sub_807A194: @ 0x0807A194 _0807A1E6: adds r0, r4, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #0 b _0807A1F4 _0807A1F2: @@ -240506,7 +240506,7 @@ _0807A2A6: ldr r6, _0807A2EC @ gUnknown_089A2DB0 ldr r1, _0807A2F0 @ sub_807A300 adds r0, r6, #0 - bl ForEach6C + bl Proc_ForEachWithScript movs r1, #0 ldrsb r1, [r4, r1] cmp r1, #0 @@ -240519,7 +240519,7 @@ _0807A2A6: strb r1, [r4] ldr r1, _0807A2FC @ sub_807A324 adds r0, r6, #0 - bl ForEach6C + bl Proc_ForEachWithScript _0807A2D6: ldr r0, _0807A2E8 @ gUnknown_03001C34 ldrb r0, [r0] @@ -241283,10 +241283,10 @@ MapAnim_PrepareNextBattleRound: @ 0x0807A894 cmp r0, #0 beq _0807A8C4 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r1, _0807A8C0 @ gUnknown_089A35B0 adds r0, r4, #0 - bl Goto6CPointer + bl Proc_JumpToPointer b _0807A8EA .align 2, 0 _0807A8BC: .4byte gUnknown_0203E1F0 @@ -241307,7 +241307,7 @@ _0807A8C4: bl GetSpellAssocAlt6CPointer str r0, [r5, #0x54] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807A8EA: pop {r4, r5} pop {r0} @@ -241319,7 +241319,7 @@ MapAnim_DisplayRoundAnim: @ 0x0807A8F0 adds r4, r0, #0 bl GetItemAnim6CCode adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r4} pop {r0} bx r0 @@ -241536,7 +241536,7 @@ _0807AA86: cmp r4, #0 blt _0807AACE ldr r0, _0807AAD8 @ gUnknown_089A36F8 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r3, r0, #0 ldr r0, _0807AAD4 @ gUnknown_0203E1F0 lsls r1, r4, #2 @@ -242268,7 +242268,7 @@ sub_807AFE0: @ 0x0807AFE0 bgt _0807AFF6 adds r0, r1, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel _0807AFF6: pop {r0} bx r0 @@ -242315,7 +242315,7 @@ _0807B022: _0807B044: adds r0, r6, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #1 _0807B04E: pop {r4, r5, r6} @@ -242555,7 +242555,7 @@ _0807B202: lsls r1, r7, #0x10 asrs r1, r1, #0x10 adds r0, r4, #0 - bl Goto6CLabel + bl Proc_GotoLabel b _0807B22C _0807B218: mov r0, sp @@ -243089,7 +243089,7 @@ sub_807B5DC: @ 0x0807B5DC bl SetupMapBattleAnim ldr r0, _0807B630 @ gUnknown_089A31F8 movs r1, #3 - bl New6C + bl Proc_Create pop {r4, r5} pop {r0} bx r0 @@ -243128,7 +243128,7 @@ sub_807B634: @ 0x0807B634 bl SetupMapBattleAnim ldr r0, _0807B688 @ gUnknown_089A3238 movs r1, #3 - bl New6C + bl Proc_Create pop {r4, r5} pop {r0} bx r0 @@ -243167,7 +243167,7 @@ sub_807B68C: @ 0x0807B68C bl SetupMapBattleAnim ldr r0, _0807B6E0 @ gUnknown_089A3288 movs r1, #3 - bl New6C + bl Proc_Create pop {r4, r5} pop {r0} bx r0 @@ -243209,7 +243209,7 @@ BeginMapAnimForSteal: @ 0x0807B6E4 bl SetupMapBattleAnim ldr r0, _0807B73C @ gUnknown_089A32C8 movs r1, #3 - bl New6C + bl Proc_Create pop {r4} pop {r0} bx r0 @@ -243250,7 +243250,7 @@ BeginMapAnimForSummon: @ 0x0807B740 bl SetupMapBattleAnim ldr r0, _0807B794 @ gUnknown_089A3398 movs r1, #3 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -243290,7 +243290,7 @@ BeginMapAnimForSummonDK: @ 0x0807B798 bl SetupMapBattleAnim ldr r0, _0807B7EC @ gUnknown_089A33C0 movs r1, #3 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -243335,7 +243335,7 @@ sub_807B7F0: @ 0x0807B7F0 bl SetupMapBattleAnim ldr r0, _0807B850 @ gUnknown_089A34B0 movs r1, #3 - bl New6C + bl Proc_Create pop {r4} pop {r0} bx r0 @@ -243384,7 +243384,7 @@ _0807B870: bne _0807B8C0 ldr r0, _0807B8BC @ gUnknown_089A3508 movs r1, #3 - bl New6C + bl Proc_Create b _0807B8C8 .align 2, 0 _0807B8AC: .4byte gUnknown_0203E1F0 @@ -243395,7 +243395,7 @@ _0807B8BC: .4byte gUnknown_089A3508 _0807B8C0: ldr r0, _0807B8D0 @ gUnknown_089A3874 movs r1, #3 - bl New6C + bl Proc_Create _0807B8C8: pop {r4, r5, r6} pop {r0} @@ -243795,7 +243795,7 @@ _0807BBB4: .4byte gUnknown_089A3668 DeleteBattleAnimInfoThing: @ 0x0807BBB8 push {lr} ldr r0, _0807BBC4 @ gUnknown_089A3688 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -243809,7 +243809,7 @@ NewMapBattleInfoThing: @ 0x0807BBC8 adds r6, r2, #0 ldr r0, _0807BBEC @ gUnknown_089A3688 movs r1, #3 - bl New6C + bl Proc_Create adds r1, r0, #0 adds r1, #0x2e strb r4, [r1] @@ -244300,7 +244300,7 @@ sub_807BF54: @ 0x0807BF54 mov r1, ip strb r0, [r1, #1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807BFB8: pop {r4, r5} pop {r0} @@ -244479,7 +244479,7 @@ _0807C112: cmp r1, r0 bne _0807C144 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback movs r0, #0x74 bl sub_80D02C8 _0807C144: @@ -244582,7 +244582,7 @@ sub_807C1AC: @ 0x0807C1AC mov r1, ip strb r0, [r1, #1] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807C206: pop {r4, r5} pop {r0} @@ -244613,7 +244613,7 @@ sub_807C230: @ 0x0807C230 push {lr} ldr r0, _0807C240 @ gUnknown_089A3814 movs r1, #3 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -244936,7 +244936,7 @@ sub_807C4F0: @ 0x0807C4F0 push {r4, lr} adds r4, r0, #0 ldr r0, _0807C560 @ gUnknown_0859AA5C - bl DeleteEach6C + bl Proc_DeleteAllWithScript adds r0, r4, #0 adds r0, #0x64 movs r2, #0 @@ -245156,7 +245156,7 @@ sub_807C680: @ 0x0807C680 b _0807C886 _0807C6BA: adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807C6C0: ldr r2, [r4] ldrh r1, [r2, #4] @@ -245698,14 +245698,14 @@ sub_807CAD0: @ 0x0807CAD0 beq _0807CAF4 adds r0, r4, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel b _0807CAFE .align 2, 0 _0807CAF0: .4byte gUnknown_0203E1F0 _0807CAF4: bl MapAnim_AdvanceBattleRound adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807CAFE: pop {r4} pop {r0} @@ -245816,7 +245816,7 @@ MapAnim_BeginWallBreakAnim: @ 0x0807CBDC adds r5, r1, #0 ldr r0, _0807CC20 @ gUnknown_089A3924 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] movs r2, #0x10 ldrsb r2, [r4, r2] @@ -245890,7 +245890,7 @@ NewMapPoisonEffect: @ 0x0807CC78 adds r4, r0, #0 ldr r0, _0807CCB8 @ gUnknown_089A3944 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] movs r2, #0x10 ldrsb r2, [r4, r2] @@ -245964,7 +245964,7 @@ sub_807CD18: @ 0x0807CD18 adds r4, r0, #0 ldr r0, _0807CD58 @ gUnknown_089A3964 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] movs r2, #0x10 ldrsb r2, [r4, r2] @@ -246048,7 +246048,7 @@ sub_807CDD0: @ 0x0807CDD0 adds r4, r0, #0 ldr r0, _0807CE10 @ gUnknown_089A398C movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] movs r2, #0x10 ldrsb r2, [r4, r2] @@ -246150,7 +246150,7 @@ _0807CEAC: cmp r1, #6 bls _0807CEB8 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0807CF16 _0807CEB8: ldr r0, _0807CF20 @ gUnknown_089A39C4 @@ -246411,7 +246411,7 @@ sub_807D0B4: @ 0x0807D0B4 adds r4, r0, #0 ldr r0, _0807D0F4 @ gUnknown_089A39E0 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] movs r2, #0x10 ldrsb r2, [r4, r2] @@ -246595,7 +246595,7 @@ _0807D23A: movs r3, #0x3c bl sub_807D360 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r1, [r5, #0x30] movs r0, #0x8c bl PlaySpacialSoundMaybe @@ -246721,7 +246721,7 @@ sub_807D328: @ 0x0807D328 bne _0807D35A bl SetDefaultColorEffects adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807D35A: pop {r4, r5} pop {r0} @@ -246740,7 +246740,7 @@ sub_807D360: @ 0x0807D360 ldr r4, [sp, #0x18] ldr r1, [sp, #0x1c] ldr r0, _0807D398 @ gUnknown_089A3A40 - bl NewBlocking6C + bl Proc_CreateBlockingChild str r5, [r0, #0x2c] str r6, [r0, #0x30] mov r1, r8 @@ -246837,7 +246837,7 @@ sub_807D40C: @ 0x0807D40C movs r0, #0 strh r0, [r4] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807D43A: pop {r4, r5} pop {r0} @@ -246858,7 +246858,7 @@ sub_807D440: @ 0x0807D440 cmp r1, r0 bne _0807D45E adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807D45E: pop {r0} bx r0 @@ -246872,7 +246872,7 @@ sub_807D464: @ 0x0807D464 cmp r0, #0 bne _0807D478 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0807D4C6 _0807D478: adds r4, r5, #0 @@ -246908,7 +246908,7 @@ _0807D478: movs r0, #4 bl BG_EnableSyncByMask adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807D4C6: add sp, #4 pop {r4, r5} @@ -246923,7 +246923,7 @@ sub_807D4D4: @ 0x0807D4D4 adds r4, r0, #0 ldr r0, _0807D514 @ gUnknown_089A3A80 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] movs r2, #0x10 ldrsb r2, [r4, r2] @@ -247018,7 +247018,7 @@ _0807D5A2: cmp r1, #0x21 bls _0807D5AE adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0807D654 _0807D5AE: ldr r0, _0807D5D0 @ gUnknown_0820579C @@ -247134,7 +247134,7 @@ sub_807D688: @ 0x0807D688 adds r6, r2, #0 ldr r0, _0807D6D0 @ gUnknown_089A3B3C movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] movs r2, #0x10 ldrsb r2, [r4, r2] @@ -247276,7 +247276,7 @@ _0807D77C: cmp r0, #0xff bne _0807D7C0 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807D7C0: add sp, #0x10 pop {r4, r5, r6, r7} @@ -247294,7 +247294,7 @@ sub_807D7D8: @ 0x0807D7D8 adds r4, r0, #0 ldr r0, _0807D810 @ gUnknown_089A3B84 movs r1, #3 - bl New6C + bl Proc_Create movs r2, #0x10 ldrsb r2, [r4, r2] ldr r3, _0807D814 @ gUnknown_0202BCB0 @@ -247345,7 +247345,7 @@ NewMapAnimEffectAnimator: @ 0x0807D82C lsrs r4, r4, #0x10 ldr r0, _0807D85C @ gUnknown_089A3BA4 movs r1, #3 - bl New6C + bl Proc_Create str r5, [r0, #0x2c] str r6, [r0, #0x50] mov r1, r8 @@ -247480,7 +247480,7 @@ sub_807D944: @ 0x0807D944 cmp r0, #0x10 bne _0807D962 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807D962: ldrh r1, [r5] movs r0, #0x16 @@ -247536,7 +247536,7 @@ sub_807D9B8: @ 0x0807D9B8 cmp r0, #0 bne _0807D9D4 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807D9D4: ldrh r1, [r5] movs r0, #0x16 @@ -247640,7 +247640,7 @@ New6C_SomethingFlashy: @ 0x0807DAA8 adds r4, r0, #0 ldr r0, _0807DAE0 @ gUnknown_089A3BDC movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] movs r2, #0x10 ldrsb r2, [r4, r2] @@ -247736,7 +247736,7 @@ sub_807DB30: @ 0x0807DB30 cmp r0, #0xff bne _0807DB80 adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807DB80: bl sub_807E978 movs r0, #1 @@ -247760,7 +247760,7 @@ sub_807DBA8: @ 0x0807DBA8 adds r4, r0, #0 ldr r0, _0807DBD8 @ gUnknown_089A3C24 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] ldr r4, _0807DBDC @ gUnknown_0203A958 ldrb r1, [r4, #0x13] @@ -247906,7 +247906,7 @@ _0807DCE6: cmp r0, #0x27 bls _0807DD04 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback bl DeleteAllTCSWrappers _0807DD04: add sp, #4 @@ -247958,7 +247958,7 @@ _0807DD50: cmp r0, #0x45 bls _0807DD6A adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807DD6A: add sp, #4 pop {r4, r5} @@ -247978,7 +247978,7 @@ sub_807DD80: @ 0x0807DD80 adds r4, r0, #0 ldr r0, _0807DDC0 @ gUnknown_089A3C6C movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] movs r2, #0x10 ldrsb r2, [r4, r2] @@ -248058,7 +248058,7 @@ sub_807DE30: @ 0x0807DE30 adds r4, r0, #0 ldr r0, _0807DE68 @ gUnknown_089A3C94 movs r1, #3 - bl New6C + bl Proc_Create movs r2, #0x10 ldrsb r2, [r4, r2] ldr r3, _0807DE6C @ gUnknown_0202BCB0 @@ -248185,7 +248185,7 @@ _0807DEFA: cmp r0, #0xff bne _0807DF42 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807DF42: add sp, #0x10 pop {r4, r5, r6, r7} @@ -248228,7 +248228,7 @@ sub_807DF5C: @ 0x0807DF5C movs r0, #0 strh r0, [r4] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807DF9E: add sp, #0x14 pop {r4, r5} @@ -248267,7 +248267,7 @@ sub_807DFAC: @ 0x0807DFAC cmp r0, #0x1e ble _0807DFEC adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807DFEC: add sp, #4 pop {r4, r5} @@ -248280,7 +248280,7 @@ sub_807DFF4: @ 0x0807DFF4 adds r4, r0, #0 ldr r0, _0807E030 @ gUnknown_089A3CD4 movs r1, #3 - bl New6C + bl Proc_Create movs r2, #0x10 ldrsb r2, [r4, r2] ldr r3, _0807E034 @ gUnknown_0202BCB0 @@ -248375,7 +248375,7 @@ _0807E072: cmp r0, #0xff bne _0807E0BA adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807E0BA: add sp, #0x10 pop {r4, r5, r6, r7} @@ -248393,7 +248393,7 @@ sub_807E0D4: @ 0x0807E0D4 adds r4, r0, #0 ldr r0, _0807E110 @ gUnknown_089A3D14 movs r1, #3 - bl New6C + bl Proc_Create movs r2, #0x10 ldrsb r2, [r4, r2] ldr r3, _0807E114 @ gUnknown_0202BCB0 @@ -248521,7 +248521,7 @@ sub_807E1E4: @ 0x0807E1E4 adds r4, r0, #0 ldr r0, _0807E224 @ gUnknown_089A3D54 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] movs r2, #0x10 ldrsb r2, [r4, r2] @@ -248617,7 +248617,7 @@ _0807E2B4: cmp r1, #9 bls _0807E2BE adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807E2BE: ldr r0, _0807E324 @ gUnknown_089A3D8C ldrh r1, [r5] @@ -248695,7 +248695,7 @@ sub_807E34C: @ 0x0807E34C adds r4, r0, #0 ldr r0, _0807E388 @ gUnknown_089A3DB4 movs r1, #3 - bl New6C + bl Proc_Create movs r2, #0x10 ldrsb r2, [r4, r2] ldr r3, _0807E38C @ gUnknown_0202BCB0 @@ -248753,7 +248753,7 @@ sub_807E390: @ 0x0807E390 bl sub_807EA20 ldr r0, _0807E400 @ gUnknown_089A52FC adds r1, r4, #0 - bl New6C + bl Proc_Create adds r0, r4, #0 adds r0, #0x48 movs r1, #0 @@ -248785,7 +248785,7 @@ sub_807E404: @ 0x0807E404 subs r0, r1, #1 strh r0, [r4] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807E422: ldr r0, [r5, #0x30] ldr r1, [r5, #0x34] @@ -248820,7 +248820,7 @@ sub_807E448: @ 0x0807E448 adds r0, r1, #1 strh r0, [r4] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807E466: ldr r0, [r5, #0x30] ldr r1, [r5, #0x34] @@ -248846,7 +248846,7 @@ sub_807E48C: @ 0x0807E48C adds r4, r0, #0 ldr r0, _0807E4C8 @ gUnknown_089A3E04 movs r1, #3 - bl New6C + bl Proc_Create movs r2, #0x10 ldrsb r2, [r4, r2] ldr r3, _0807E4CC @ gUnknown_0202BCB0 @@ -249032,7 +249032,7 @@ sub_807E5F0: @ 0x0807E5F0 cmp r0, #0x1d ble _0807E630 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807E630: add sp, #4 pop {r4, r5} @@ -249045,7 +249045,7 @@ sub_807E638: @ 0x0807E638 adds r4, r0, #0 ldr r0, _0807E674 @ gUnknown_089A3E44 movs r1, #3 - bl New6C + bl Proc_Create movs r2, #0x10 ldrsb r2, [r4, r2] ldr r3, _0807E678 @ gUnknown_0202BCB0 @@ -249168,7 +249168,7 @@ _0807E6FE: cmp r0, #0xff bne _0807E746 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807E746: add sp, #0x10 pop {r4, r5, r6, r7} @@ -249187,7 +249187,7 @@ sub_807E760: @ 0x0807E760 adds r5, r1, #0 ldr r0, _0807E794 @ gUnknown_089A3E6C movs r1, #3 - bl New6C + bl Proc_Create ldr r2, _0807E798 @ gUnknown_0202BCB0 ldrh r1, [r2, #0xc] lsls r1, r1, #0x10 @@ -249368,7 +249368,7 @@ sub_807E8B0: @ 0x0807E8B0 mov r0, r8 strh r0, [r4] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r5, _0807E92C @ gUnknown_089A6254 ldr r1, [r7, #0x30] ldr r2, [r7, #0x34] @@ -249426,7 +249426,7 @@ sub_807E934: @ 0x0807E934 cmp r0, #0x1d ble _0807E96E adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807E96E: add sp, #4 pop {r4, r5} @@ -249523,7 +249523,7 @@ sub_807EA20: @ 0x0807EA20 adds r6, r2, #0 adds r1, r3, #0 ldr r0, _0807EA4C @ gUnknown_089A3EC4 - bl New6C + bl Proc_Create adds r2, r0, #0 str r4, [r2, #0x58] adds r0, #0x64 @@ -249545,7 +249545,7 @@ _0807EA4C: .4byte gUnknown_089A3EC4 sub_807EA50: @ 0x0807EA50 push {lr} ldr r0, _0807EA5C @ gUnknown_089A3EC4 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -250018,7 +250018,7 @@ sub_807EDF8: @ 0x0807EDF8 adds r5, r2, #0 adds r1, r3, #0 ldr r0, _0807EE5C @ gUnknown_089A3F4C - bl New6C + bl Proc_Create adds r4, r0, #0 mov r0, r8 strh r0, [r4, #0x2a] @@ -250047,7 +250047,7 @@ sub_807EDF8: @ 0x0807EDF8 bl CopyToPaletteBuffer ldr r0, _0807EE70 @ gUnknown_089A3F5C adds r1, r4, #0 - bl New6C + bl Proc_Create adds r0, #0x64 strh r6, [r0] pop {r3} @@ -250067,7 +250067,7 @@ _0807EE70: .4byte gUnknown_089A3F5C sub_807EE74: @ 0x0807EE74 push {lr} ldr r0, _0807EE80 @ gUnknown_089A3F4C - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -250086,7 +250086,7 @@ sub_807EE84: @ 0x0807EE84 adds r6, r2, #0 adds r7, r3, #0 ldr r0, _0807EEDC @ gUnknown_089A3F4C - bl Find6C + bl Proc_Find adds r5, r0, #0 ldrh r0, [r5, #0x2a] mov sb, r0 @@ -250271,7 +250271,7 @@ sub_807EFF0: @ 0x0807EFF0 mov sb, r0 _0807F00E: ldr r0, _0807F02C @ gUnknown_089A3F4C - bl Find6C + bl Proc_Find adds r7, r0, #0 ldrh r6, [r7, #0x2a] cmp r4, #0 @@ -250394,7 +250394,7 @@ sub_807F10C: @ 0x0807F10C push {r4, lr} adds r4, r0, #0 ldr r0, _0807F120 @ gUnknown_089A3F74 - bl NewBlocking6C + bl Proc_CreateBlockingChild strh r4, [r0, #0x2e] pop {r4} pop {r0} @@ -250673,7 +250673,7 @@ sub_807F30C: @ 0x0807F30C cmp r1, r0 blt _0807F348 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807F348: pop {r4} pop {r0} @@ -250709,7 +250709,7 @@ sub_807F354: @ 0x0807F354 cmp r1, r0 bgt _0807F390 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807F390: pop {r4} pop {r0} @@ -250743,7 +250743,7 @@ _0807F3C0: cmp r6, #8 ble _0807F3CC adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0807F468 _0807F3CC: movs r1, #0x2e @@ -250957,14 +250957,14 @@ sub_807F568: @ 0x0807F568 cmp r1, #0 beq _0807F57C ldr r0, _0807F578 @ gUnknown_089A4034 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _0807F584 .align 2, 0 _0807F578: .4byte gUnknown_089A4034 _0807F57C: ldr r0, _0807F588 @ gUnknown_089A4034 movs r1, #3 - bl New6C + bl Proc_Create _0807F584: pop {r0} bx r0 @@ -251006,14 +251006,14 @@ sub_807F5C8: @ 0x0807F5C8 cmp r1, #0 beq _0807F5DC ldr r0, _0807F5D8 @ gUnknown_089A404C - bl NewBlocking6C + bl Proc_CreateBlockingChild b _0807F5E4 .align 2, 0 _0807F5D8: .4byte gUnknown_089A404C _0807F5DC: ldr r0, _0807F5E8 @ gUnknown_089A404C movs r1, #3 - bl New6C + bl Proc_Create _0807F5E4: pop {r0} bx r0 @@ -251047,7 +251047,7 @@ NewBG0Shaker: @ 0x0807F614 push {lr} ldr r0, _0807F624 @ gUnknown_089A4064 movs r1, #3 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -251116,7 +251116,7 @@ BG0Shaker_Loop: @ 0x0807F630 movs r2, #0 bl BG_SetPosition adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807F6B8: pop {r4, r5} pop {r0} @@ -251275,7 +251275,7 @@ _0807F7AE: cmp r0, r1 bls _0807F7EC adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807F7EC: add sp, #4 pop {r4, r5, r6, r7} @@ -251296,7 +251296,7 @@ StartStarRotationEffect: @ 0x0807F7F8 ldr r7, [sp, #0x18] ldr r0, _0807F834 @ gUnknown_089A407C movs r1, #3 - bl New6C + bl Proc_Create strh r4, [r0, #0x2a] strh r5, [r0, #0x2c] strh r6, [r0, #0x2e] @@ -251359,14 +251359,14 @@ sub_807F878: @ 0x0807F878 cmp r1, #0 beq _0807F88C ldr r0, _0807F888 @ gUnknown_089A434C - bl NewBlocking6C + bl Proc_CreateBlockingChild b _0807F894 .align 2, 0 _0807F888: .4byte gUnknown_089A434C _0807F88C: ldr r0, _0807F898 @ gUnknown_089A434C movs r1, #3 - bl New6C + bl Proc_Create _0807F894: pop {r0} bx r0 @@ -251515,7 +251515,7 @@ _0807F990: ands r0, r1 strb r0, [r2, #1] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0807FA78 .align 2, 0 _0807F9C4: .4byte gUnknown_03003080 @@ -251729,7 +251729,7 @@ _0807FB88: cmp r0, #0x16 bls _0807FB92 adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807FB92: ldr r1, _0807FBC8 @ gUnknown_0820588E ldrh r0, [r5] @@ -251807,7 +251807,7 @@ sub_807FBCC: @ 0x0807FBCC ands r0, r1 strb r0, [r2, #1] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807FC30: ldrh r0, [r6] subs r0, #1 @@ -251850,7 +251850,7 @@ _0807FC7C: ldr r1, _0807FCA4 @ 0x00007FFF strh r1, [r0] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807FC8A: bl EnablePaletteSync adds r1, r4, #0 @@ -251885,14 +251885,14 @@ sub_807FCC0: @ 0x0807FCC0 cmp r1, #0 beq _0807FCD4 ldr r0, _0807FCD0 @ gUnknown_089A4394 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _0807FCDC .align 2, 0 _0807FCD0: .4byte gUnknown_089A4394 _0807FCD4: ldr r0, _0807FCE0 @ gUnknown_089A4394 movs r1, #3 - bl New6C + bl Proc_Create _0807FCDC: pop {r0} bx r0 @@ -252032,7 +252032,7 @@ sub_807FDC8: @ 0x0807FDC8 cmp r0, #0x1e bgt _0807FE02 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0807FE02: pop {r4, r5} pop {r0} @@ -252062,7 +252062,7 @@ sub_807FE0C: @ 0x0807FE0C bls _0807FE58 strh r2, [r0] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0807FFC4 _0807FE3A: ldr r2, _0807FFD4 @ gUnknown_03003080 @@ -252303,14 +252303,14 @@ sub_8080014: @ 0x08080014 cmp r1, #0 beq _08080028 ldr r0, _08080024 @ gUnknown_089A4434 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _08080030 .align 2, 0 _08080024: .4byte gUnknown_089A4434 _08080028: ldr r0, _08080034 @ gUnknown_089A4434 movs r1, #3 - bl New6C + bl Proc_Create _08080030: pop {r0} bx r0 @@ -252323,7 +252323,7 @@ sub_8080038: @ 0x08080038 movs r0, #0 bl SetSecondaryHBlankHandler ldr r0, _0808004C @ gUnknown_089A448C - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -252419,7 +252419,7 @@ sub_8080050: @ 0x08080050 strb r4, [r0] ldr r0, _08080130 @ gUnknown_089A448C movs r1, #0 - bl New6C + bl Proc_Create adds r1, r0, #0 adds r1, #0x29 strb r4, [r1] @@ -252519,7 +252519,7 @@ _08080154: bl CopyToPaletteBuffer bl EnablePaletteSync ldr r0, _08080258 @ gUnknown_089A448C - bl Find6C + bl Proc_Find adds r6, r0, #0 adds r6, #0x29 movs r1, #1 @@ -252560,7 +252560,7 @@ _08080212: ldrh r1, [r1, #8] strh r1, [r7] mov r0, sb - bl Break6CLoop + bl Proc_ClearNativeCallback b _0808026C .align 2, 0 _0808023C: .4byte gUnknown_082058B4 @@ -252711,7 +252711,7 @@ _08080330: strb r0, [r2, #1] strh r6, [r4] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0808037C .align 2, 0 _08080374: .4byte gUnknown_03003080 @@ -252757,7 +252757,7 @@ _080803B6: movs r3, #0 bl SetSpecialColorEffectsParameters adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080803C8: adds r1, r4, #0 adds r1, #0x40 @@ -252855,14 +252855,14 @@ sub_8080474: @ 0x08080474 cmp r1, #0 beq _08080488 ldr r0, _08080484 @ gUnknown_089A45DC - bl NewBlocking6C + bl Proc_CreateBlockingChild b _08080490 .align 2, 0 _08080484: .4byte gUnknown_089A45DC _08080488: ldr r0, _08080494 @ gUnknown_089A45DC movs r1, #3 - bl New6C + bl Proc_Create _08080490: pop {r0} bx r0 @@ -253087,7 +253087,7 @@ _08080650: .4byte gUnknown_020228A8 sub_8080654: @ 0x08080654 push {lr} ldr r0, [r0, #0x50] - bl Delete6C + bl Proc_Delete pop {r0} bx r0 @@ -253171,7 +253171,7 @@ sub_8080660: @ 0x08080660 bl BG_SetPosition ldr r0, _0808072C @ gUnknown_089A4644 adds r1, r5, #0 - bl New6C + bl Proc_Create str r0, [r5, #0x50] adds r0, r5, #0 adds r0, #0x40 @@ -253244,7 +253244,7 @@ _08080768: ldrsh r0, [r1, r2] str r0, [r4, #0x34] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0808079E: ldrh r0, [r7] movs r1, #1 @@ -253346,7 +253346,7 @@ _0808081A: strh r7, [r6] strh r7, [r1] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08080876 .align 2, 0 _08080864: .4byte gUnknown_082058E2 @@ -253410,7 +253410,7 @@ sub_8080890: @ 0x08080890 subs r0, #1 strh r0, [r1] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080808F6 .align 2, 0 _080808DC: .4byte gUnknown_082058E4 @@ -253532,7 +253532,7 @@ _080809A4: ldr r0, _080809C0 @ 0x0000FFFF strh r0, [r1] adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080809C8 .align 2, 0 _080809C0: .4byte 0x0000FFFF @@ -253656,7 +253656,7 @@ _08080A4E: strh r7, [r5] strh r7, [r1] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08080AB6 .align 2, 0 _08080AA4: .4byte gUnknown_082058F0 @@ -253755,7 +253755,7 @@ sub_8080B18: @ 0x08080B18 adds r0, #0x46 strh r7, [r0] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08080B62: ldrh r0, [r6] movs r1, #1 @@ -254002,7 +254002,7 @@ New6C_SummonGfx: @ 0x08080D2C adds r5, r2, #0 ldr r0, _08080D64 @ gUnknown_089A46AC adds r1, r3, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild ldr r2, _08080D68 @ gUnknown_0202BCB0 ldrh r1, [r2, #0xc] lsls r1, r1, #0x10 @@ -254099,7 +254099,7 @@ _08080E02: cmp r1, #0x11 bls _08080E0E adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08080E6C _08080E0E: ldr r0, _08080E74 @ gUnknown_089A4664 @@ -254180,7 +254180,7 @@ sub_8080E9C: @ 0x08080E9C adds r4, r1, #0 ldr r0, _08080EDC @ gUnknown_089A46DC adds r1, r2, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild str r4, [r0, #0x2c] movs r2, #0x10 ldrsb r2, [r4, r2] @@ -254288,7 +254288,7 @@ _08080F86: cmp r1, #0x11 bls _08080F92 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08080FF0 _08080F92: ldr r0, _08080FF8 @ gUnknown_089A4664 @@ -254369,7 +254369,7 @@ sub_8081020: @ 0x08081020 adds r4, r1, #0 ldr r0, _08081060 @ gUnknown_089A470C adds r1, r2, #0 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] movs r2, #0x10 ldrsb r2, [r4, r2] @@ -254403,7 +254403,7 @@ _08081064: .4byte gUnknown_0202BCB0 sub_8081068: @ 0x08081068 push {lr} ldr r0, _08081074 @ gUnknown_089A470C - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -254495,7 +254495,7 @@ _08081128: cmp r1, #9 bls _08081134 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08081192 _08081134: ldr r0, _0808119C @ gUnknown_089A4664 @@ -254583,7 +254583,7 @@ sub_80811D0: @ 0x080811D0 adds r4, r1, #0 ldr r0, _080811E8 @ gUnknown_089A4734 adds r1, r2, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r0, #0x42 strh r4, [r0] pop {r4} @@ -254644,7 +254644,7 @@ _08081242: movs r3, #0 bl SetSpecialColorEffectsParameters adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08081254: pop {r4} pop {r0} @@ -255546,7 +255546,7 @@ MapAnim_WaitForHPToEndChangingMaybe: @ 0x08081914 cmp r0, #0 bne _08081928 adds r0, r1, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08081928: pop {r0} bx r0 @@ -255611,7 +255611,7 @@ sub_8081970: @ 0x08081970 _08081994: .4byte gUnknown_0203E1F0 _08081998: ldr r0, _080819A4 @ gUnknown_089A5124 - bl DeleteEach6C + bl Proc_DeleteAllWithScript _0808199E: pop {r0} bx r0 @@ -263713,7 +263713,7 @@ sub_8085374: @ 0x08085374 push {lr} adds r1, r0, #0 ldr r0, _08085384 @ gUnknown_089EDF78 - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r0} bx r0 .align 2, 0 @@ -263755,7 +263755,7 @@ sub_80853B0: @ 0x080853B0 beq _080853C8 adds r0, r2, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel _080853C8: pop {r0} bx r0 @@ -263809,7 +263809,7 @@ sub_8085414: @ 0x08085414 push {lr} ldr r0, _08085424 @ gUnknown_089EDFD8 movs r1, #4 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -264213,15 +264213,15 @@ sub_8085728: @ 0x08085728 adds r4, r0, #0 ldr r5, _08085760 @ gUnknown_089EE030 adds r0, r5, #0 - bl Find6C + bl Proc_Find cmp r0, #0 bne _08085740 adds r0, r5, #0 adds r1, r4, #0 - bl New6C + bl Proc_Create _08085740: movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _08085764 @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -264245,7 +264245,7 @@ sub_808576C: @ 0x0808576C adds r4, r0, #0 ldr r5, _080857A4 @ gUnknown_089EE000 adds r0, r5, #0 - bl Find6C + bl Proc_Find cmp r0, #0 bne _08085796 ldr r0, _080857A8 @ gUnknown_0202BCF0 @@ -264259,10 +264259,10 @@ sub_808576C: @ 0x0808576C _0808578E: adds r0, r5, #0 adds r1, r4, #0 - bl New6C + bl Proc_Create _08085796: movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel pop {r4, r5} pop {r0} bx r0 @@ -264277,7 +264277,7 @@ sub_80857B0: @ 0x080857B0 adds r4, r0, #0 ldr r5, _080857E8 @ gUnknown_089EE000 adds r0, r5, #0 - bl Find6C + bl Proc_Find cmp r0, #0 bne _080857DA ldr r0, _080857EC @ gUnknown_0202BCF0 @@ -264291,10 +264291,10 @@ sub_80857B0: @ 0x080857B0 _080857D2: adds r0, r5, #0 adds r1, r4, #0 - bl New6C + bl Proc_Create _080857DA: movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel pop {r4, r5} pop {r0} bx r0 @@ -264309,15 +264309,15 @@ sub_80857F4: @ 0x080857F4 adds r4, r0, #0 ldr r5, _08085818 @ gUnknown_089EE000 adds r0, r5, #0 - bl Find6C + bl Proc_Find cmp r0, #0 bne _0808580C adds r0, r5, #0 adds r1, r4, #0 - bl New6C + bl Proc_Create _0808580C: movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel pop {r4, r5} pop {r0} bx r0 @@ -264330,15 +264330,15 @@ sub_808581C: @ 0x0808581C adds r4, r0, #0 ldr r5, _08085840 @ gUnknown_089EE000 adds r0, r5, #0 - bl Find6C + bl Proc_Find cmp r0, #0 bne _08085834 adds r0, r5, #0 adds r1, r4, #0 - bl New6C + bl Proc_Create _08085834: movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel pop {r4, r5} pop {r0} bx r0 @@ -264354,7 +264354,7 @@ sub_8085844: @ 0x08085844 ands r0, r1 strh r0, [r2, #0xc] ldr r0, _08085868 @ gUnknown_089EE000 - bl DeleteEach6C + bl Proc_DeleteAllWithScript movs r0, #4 bl SoundStuff_80023E0 pop {r0} @@ -264373,7 +264373,7 @@ sub_808586C: @ 0x0808586C ands r0, r1 strh r0, [r2, #0xe] ldr r0, _08085890 @ gUnknown_089EE030 - bl DeleteEach6C + bl Proc_DeleteAllWithScript movs r0, #4 bl SoundStuff_80023E0 pop {r0} @@ -264445,7 +264445,7 @@ _080858F8: cmp r0, #0x10 bne _08085916 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback movs r0, #4 bl SoundStuff_80023E0 _08085916: @@ -264458,7 +264458,7 @@ sub_808591C: @ 0x0808591C push {lr} adds r1, r0, #0 ldr r0, _0808593C @ gUnknown_089EE048 - bl New6C + bl Proc_Create ldr r0, _08085940 @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -264486,7 +264486,7 @@ sub_8085948: @ 0x08085948 movs r0, #4 bl SoundStuff_80023E0 ldr r0, _0808596C @ gUnknown_089EE048 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -264542,7 +264542,7 @@ sub_8085990: @ 0x08085990 bl RefreshFogAndUnitMaps bl SMS_UpdateFromGameData adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080859C8: pop {r4, r5, r6} pop {r0} @@ -264553,7 +264553,7 @@ sub_80859D0: @ 0x080859D0 push {r4, lr} adds r4, r0, #0 ldr r0, _080859E4 @ gUnknown_089EE068 - bl New6C + bl Proc_Create str r4, [r0, #0x54] pop {r4} pop {r0} @@ -264712,7 +264712,7 @@ sub_8085ACC: @ 0x08085ACC cmp r0, #0x40 blt _08085B24 adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08085B24: pop {r3} mov r8, r3 @@ -264776,7 +264776,7 @@ sub_8085B58: @ 0x08085B58 cmp r0, #0x80 blt _08085BAE adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08085BAE: pop {r4, r5, r6, r7} pop {r0} @@ -264823,7 +264823,7 @@ sub_8085BFC: @ 0x08085BFC push {lr} adds r1, r0, #0 ldr r0, _08085C0C @ gUnknown_089EE088 - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r0} bx r0 .align 2, 0 @@ -264902,7 +264902,7 @@ sub_8085C7C: @ 0x08085C7C adds r6, r1, #0 ldr r0, _08085D60 @ gUnknown_089EE9E0 adds r1, r2, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r2, r0, #0 adds r0, #0x64 movs r5, #0 @@ -265241,14 +265241,14 @@ _08085EFC: strh r0, [r2] ldr r0, _08085F80 @ gUnknown_089EEA28 mov r1, sl - bl New6C + bl Proc_Create mov r1, sl adds r1, #0x64 ldrh r1, [r1] adds r0, #0x64 strh r1, [r0] mov r0, sl - bl Break6CLoop + bl Proc_ClearNativeCallback _08085F6C: add sp, #4 pop {r3, r4, r5} @@ -265364,7 +265364,7 @@ _08085FF0: cmp r0, #0x1c bne _08086080 ldr r0, _08086098 @ gUnknown_089EEA28 - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r0, [sp, #4] strh r4, [r0] mov r0, sl @@ -265389,7 +265389,7 @@ _08085FF0: movs r3, #1 bl sub_8001F0C mov r0, sl - bl Break6CLoop + bl Proc_ClearNativeCallback _08086080: add sp, #8 pop {r3, r4, r5} @@ -265436,7 +265436,7 @@ _080860CC: cmp r0, #6 bne _080860DE adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080860F4 _080860DE: ldrh r0, [r2] @@ -265579,7 +265579,7 @@ sub_808613C: @ 0x0808613C bne _08086218 strh r4, [r7] ldr r0, [sp, #4] - bl Break6CLoop + bl Proc_ClearNativeCallback b _0808621C .align 2, 0 _08086208: .4byte gUnknown_080D751C @@ -265657,7 +265657,7 @@ _08086274: bne _080862B8 strh r5, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080862BC .align 2, 0 _080862AC: .4byte gUnknown_089A232C @@ -265730,7 +265730,7 @@ _0808630C: bne _08086350 strh r5, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08086354 .align 2, 0 _08086344: .4byte gUnknown_089A232C @@ -265813,7 +265813,7 @@ sub_808635C: @ 0x0808635C cmp r0, #0x20 bne _080863F0 ldr r0, _08086410 @ gUnknown_089EE9E0 - bl ClearCallbackAll6CMatch + bl Proc_ClearNativeCallbackEachWithScript _080863F0: ldrh r0, [r4] adds r0, #1 @@ -266911,7 +266911,7 @@ _08086C26: ble _08086C26 ldr r0, _08086C4C @ gUnknown_08A006E4 adds r1, r7, #0 - bl New6C + bl Proc_Create pop {r4, r5, r6, r7} pop {r1} bx r1 @@ -266983,7 +266983,7 @@ _08086CBA: ble _08086CBA ldr r0, _08086CE4 @ gUnknown_08A006E4 mov r1, r8 - bl New6C + bl Proc_Create pop {r3} mov r8, r3 pop {r4, r5, r6, r7} @@ -267086,7 +267086,7 @@ _08086D88: _08086D94: ldr r0, _08086DB8 @ gUnknown_08A006E4 mov r1, sb - bl New6C + bl Proc_Create pop {r3, r4} mov r8, r3 mov sb, r4 @@ -267104,7 +267104,7 @@ _08086DB8: .4byte gUnknown_08A006E4 EndBG3Slider: @ 0x08086DBC push {lr} ldr r0, _08086DC8 @ gUnknown_08A006E4 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -268648,7 +268648,7 @@ _08087A60: cmp r5, r0 bne _08087AB2 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08087AB2: pop {r4, r5, r6, r7} pop {r0} @@ -268680,7 +268680,7 @@ sub_8087AD8: @ 0x08087AD8 lsrs r5, r0, #0x10 ldr r7, _08087B34 @ gUnknown_08A0082C adds r0, r7, #0 - bl Find6C + bl Proc_Find adds r4, r0, #0 cmp r4, #0 bne _08087B28 @@ -268695,7 +268695,7 @@ sub_8087AD8: @ 0x08087AD8 _08087B06: adds r0, r7, #0 adds r1, r6, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r1, r0, #0 adds r0, #0x4c strh r4, [r0] @@ -268817,7 +268817,7 @@ sub_8087BF0: @ 0x08087BF0 push {lr} ldr r0, _08087C00 @ gUnknown_08A00844 movs r1, #3 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -268827,7 +268827,7 @@ _08087C00: .4byte gUnknown_08A00844 sub_8087C04: @ 0x08087C04 push {lr} ldr r0, _08087C2C @ gUnknown_08A00844 - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r2, _08087C30 @ gUnknown_03003080 ldrb r0, [r2, #1] movs r1, #1 @@ -268957,7 +268957,7 @@ sub_8087CC0: @ 0x08087CC0 cmp r0, #0x10 ble _08087D16 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08087D16: add sp, #4 pop {r4, r5, r6} @@ -269066,7 +269066,7 @@ sub_8087D98: @ 0x08087D98 cmp r0, #0xf ble _08087DEC adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08087DEC: add sp, #4 pop {r4, r5, r6} @@ -269086,10 +269086,10 @@ sub_8087DF8: @ 0x08087DF8 ldr r1, _08087E20 @ gUnknown_02003BFC str r0, [r1, #0xc] ldr r0, _08087E24 @ gUnknown_08A009D8 - bl Find6C + bl Proc_Find bl sub_8088670 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -269146,7 +269146,7 @@ sub_8087E7C: @ 0x08087E7C adds r5, r1, #0 adds r1, r2, #0 ldr r0, _08087EB0 @ gUnknown_08A00864 - bl NewBlocking6C + bl Proc_CreateBlockingChild movs r1, #0xb ldrsb r1, [r4, r1] adds r2, r0, #0 @@ -269320,7 +269320,7 @@ sub_8087FE0: @ 0x08087FE0 movs r0, #5 strh r0, [r4, #0x38] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0808800C .align 2, 0 _08088004: .4byte gUnknown_02003BFC @@ -269413,7 +269413,7 @@ sub_8088014: @ 0x08088014 movs r0, #1 strh r0, [r7, #0x38] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080880C6: add sp, #4 pop {r3, r4, r5} @@ -269509,7 +269509,7 @@ sub_80880DC: @ 0x080880DC adds r1, #0x36 strb r0, [r1] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08088192: add sp, #4 pop {r3, r4, r5} @@ -270213,7 +270213,7 @@ sub_808873C: @ 0x0808873C strh r4, [r0] bl EnablePaletteSync adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r0, _080887C0 @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -270337,7 +270337,7 @@ _08088888: beq _080888A8 adds r0, r5, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _080888B0 @ gUnknown_02003BFC ldrb r0, [r0] adds r1, r5, #0 @@ -270458,7 +270458,7 @@ sub_808894C: @ 0x0808894C _08088984: ldr r0, _0808899C @ gUnknown_08A009D8 adds r1, r7, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r4, r5, r6, r7} pop {r0} bx r0 @@ -270918,7 +270918,7 @@ sub_8088CFC: @ 0x08088CFC push {r4, lr} adds r4, r0, #0 ldr r0, _08088D34 @ gUnknown_08A00B20 - bl Find6C + bl Proc_Find cmp r0, #0 beq _08088D12 adds r1, r0, #0 @@ -270975,7 +270975,7 @@ sub_8088D64: @ 0x08088D64 push {r4, lr} adds r4, r0, #0 ldr r0, _08088DB0 @ gUnknown_08A00B20 - bl Find6C + bl Proc_Find cmp r0, #0 beq _08088D7A adds r1, r0, #0 @@ -271027,7 +271027,7 @@ sub_8088DB8: @ 0x08088DB8 cmp r0, #0 bge _08088DD8 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08088DD8: pop {r4} pop {r0} @@ -271135,13 +271135,13 @@ sub_8088E9C: @ 0x08088E9C adds r7, r1, #0 ldr r6, _08088ED4 @ gUnknown_08A00A98 adds r0, r6, #0 - bl Find6C + bl Proc_Find adds r4, r0, #0 cmp r4, #0 bne _08088ED8 adds r0, r6, #0 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 adds r0, #0x52 strb r7, [r0] @@ -271233,7 +271233,7 @@ sub_8088F68: @ 0x08088F68 mov sb, r2 ldr r0, _08089014 @ gUnknown_08A00A98 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 adds r1, r5, #0 adds r1, #0x52 @@ -271306,14 +271306,14 @@ _08089014: .4byte gUnknown_08A00A98 sub_8089018: @ 0x08089018 push {r4, lr} ldr r0, _08089038 @ gUnknown_08A00A98 - bl Find6C + bl Proc_Find adds r4, r0, #0 cmp r4, #0 beq _08089032 bl sub_808A118 adds r0, r4, #0 movs r1, #0x63 - bl Goto6CLabel + bl Proc_GotoLabel _08089032: pop {r4} pop {r0} @@ -271325,13 +271325,13 @@ _08089038: .4byte gUnknown_08A00A98 sub_808903C: @ 0x0808903C push {r4, lr} ldr r0, _0808905C @ gUnknown_08A00A98 - bl Find6C + bl Proc_Find adds r4, r0, #0 cmp r4, #0 beq _08089054 bl sub_808A118 adds r0, r4, #0 - bl Delete6C + bl Proc_Delete _08089054: pop {r4} pop {r0} @@ -271434,7 +271434,7 @@ _0808910A: cmp r0, #0 beq _08089128 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08089146 .align 2, 0 _08089120: .4byte gUnknown_0203E788 @@ -271453,7 +271453,7 @@ _08089128: _0808913E: adds r0, r5, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel _08089146: pop {r4, r5, r6} pop {r0} @@ -271467,7 +271467,7 @@ sub_8089150: @ 0x08089150 adds r4, r0, #0 bl sub_8089018 adds r0, r4, #0 - bl Delete6C + bl Proc_Delete pop {r4} pop {r0} bx r0 @@ -271477,7 +271477,7 @@ Create6CRText: @ 0x08089164 push {r4, lr} adds r4, r0, #0 ldr r0, _08089180 @ gUnknown_08A00AD0 - bl NewBlocking6C + bl Proc_CreateBlockingChild ldr r2, _08089184 @ gUnknown_0203E788 movs r1, #0 strh r1, [r2] @@ -271497,7 +271497,7 @@ sub_8089188: @ 0x08089188 adds r4, r2, #0 adds r5, r3, #0 ldr r0, _080891A4 @ gUnknown_08A00AD0 - bl NewBlocking6C + bl Proc_CreateBlockingChild ldr r1, _080891A8 @ gUnknown_0203E788 strh r4, [r1] strh r5, [r1, #2] @@ -271883,7 +271883,7 @@ sub_8089430: @ 0x08089430 cmp r0, #0 beq _0808944A adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0808944A: pop {r0} bx r0 @@ -271908,7 +271908,7 @@ sub_8089454: @ 0x08089454 bl sub_8088DE0 ldr r0, _08089488 @ gUnknown_08A00B00 adds r1, r6, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild movs r0, #1 pop {r4, r5, r6} pop {r1} @@ -271941,13 +271941,13 @@ sub_80894AC: @ 0x080894AC adds r4, r2, #0 ldr r5, _080894DC @ gUnknown_08A00B20 adds r0, r5, #0 - bl Find6C + bl Proc_Find adds r1, r0, #0 cmp r1, #0 bne _080894CC adds r0, r5, #0 adds r1, r4, #0 - bl New6C + bl Proc_Create adds r1, r0, #0 _080894CC: str r6, [r1, #0x2c] @@ -271973,7 +271973,7 @@ sub_80894E0: @ 0x080894E0 adds r6, r3, #0 ldr r7, _08089534 @ gUnknown_08A00B20 adds r0, r7, #0 - bl Find6C + bl Proc_Find adds r4, r0, #0 ldr r0, _08089538 @ gUnknown_08A1D79C adds r1, r5, #0 @@ -271985,7 +271985,7 @@ sub_80894E0: @ 0x080894E0 bne _08089516 adds r0, r7, #0 adds r1, r6, #0 - bl New6C + bl Proc_Create adds r4, r0, #0 _08089516: mov r0, r8 @@ -272015,13 +272015,13 @@ sub_808953C: @ 0x0808953C adds r4, r2, #0 ldr r5, _0808956C @ gUnknown_08A00B20 adds r0, r5, #0 - bl Find6C + bl Proc_Find adds r1, r0, #0 cmp r1, #0 bne _0808955C adds r0, r5, #0 adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r1, r0, #0 _0808955C: str r6, [r1, #0x2c] @@ -272039,10 +272039,10 @@ _0808956C: .4byte gUnknown_08A00B20 sub_8089570: @ 0x08089570 push {lr} ldr r0, _08089584 @ gUnknown_08A00B20 - bl Find6C + bl Proc_Find cmp r0, #0 beq _08089580 - bl Delete6C + bl Proc_Delete _08089580: pop {r0} bx r0 @@ -272055,7 +272055,7 @@ sub_8089588: @ 0x08089588 adds r4, r0, #0 adds r5, r1, #0 ldr r0, _080895A4 @ gUnknown_08A00B20 - bl Find6C + bl Proc_Find cmp r0, #0 beq _0808959C str r4, [r0, #0x2c] @@ -273191,7 +273191,7 @@ _08089EA2: b _08089EC0 _08089EA8: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08089EE0 _08089EB0: adds r0, r3, #1 @@ -273342,7 +273342,7 @@ _08089FB8: movs r0, #0 bl SetFont adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4, r5} pop {r0} bx r0 @@ -273373,7 +273373,7 @@ _08089FF8: movs r0, #0 bl SetFont adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4, r5} pop {r0} bx r0 @@ -273411,10 +273411,10 @@ sub_808A00C: @ 0x0808A00C bl SetFont ldr r4, _0808A0B8 @ gUnknown_08A01628 adds r0, r4, #0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript adds r0, r4, #0 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x30] mov r0, sb @@ -273502,7 +273502,7 @@ sub_808A0FC: @ 0x0808A0FC adds r5, r1, #0 ldr r0, _0808A114 @ gUnknown_08A01650 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x58] str r5, [r0, #0x5c] pop {r4, r5} @@ -273527,9 +273527,9 @@ sub_808A118: @ 0x0808A118 adds r0, r4, #0 bl sub_80045FC ldr r0, _0808A158 @ gUnknown_08A01628 - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r0, _0808A15C @ gUnknown_08A01650 - bl DeleteEach6C + bl Proc_DeleteAllWithScript movs r0, #0 bl SetFont pop {r4} @@ -273601,7 +273601,7 @@ sub_808A1B8: @ 0x0808A1B8 cmp r0, #0 bge _0808A1D8 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0808A1D8: pop {r4} pop {r0} @@ -273632,13 +273632,13 @@ sub_808A200: @ 0x0808A200 adds r6, r0, #0 ldr r4, _0808A244 @ gUnknown_08A01678 adds r0, r4, #0 - bl Find6C + bl Proc_Find adds r5, r0, #0 cmp r5, #0 bne _0808A24C adds r0, r4, #0 movs r1, #3 - bl New6C + bl Proc_Create adds r5, r0, #0 ldr r0, _0808A248 @ gUnknown_0202BCF0 adds r0, #0x41 @@ -273733,7 +273733,7 @@ sub_808A2D0: @ 0x0808A2D0 _0808A2E4: bl sub_808A118 ldr r0, _0808A2F8 @ gUnknown_08A01678 - bl ClearCallbackAll6CMatch + bl Proc_ClearNativeCallbackEachWithScript pop {r0} bx r0 .align 2, 0 @@ -273772,7 +273772,7 @@ sub_808A320: @ 0x0808A320 cmp r0, #0 beq _0808A338 adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0808A338: pop {r0} bx r0 @@ -273785,7 +273785,7 @@ sub_808A340: @ 0x0808A340 adds r4, r0, #0 bl sub_808A2D0 adds r0, r4, #0 - bl Delete6C + bl Proc_Delete pop {r4} pop {r0} bx r0 @@ -273796,7 +273796,7 @@ sub_808A354: @ 0x0808A354 adds r4, r0, #0 ldr r0, _0808A368 @ gUnknown_08A01698 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] pop {r4} pop {r0} @@ -273808,7 +273808,7 @@ _0808A368: .4byte gUnknown_08A01698 sub_808A36C: @ 0x0808A36C push {lr} ldr r0, _0808A380 @ gUnknown_08A01698 - bl Find6C + bl Proc_Find cmp r0, #0 beq _0808A37A movs r0, #1 @@ -273993,7 +273993,7 @@ sub_808A4A4: @ 0x0808A4A4 cmp r0, #0 beq _0808A4BC adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0808A4BC: pop {r0} bx r0 @@ -274018,7 +274018,7 @@ sub_808A4C4: @ 0x0808A4C4 bl sub_808A1E0 ldr r0, _0808A4F8 @ gUnknown_08A016C8 adds r1, r6, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild movs r0, #1 pop {r4, r5, r6} pop {r1} @@ -274030,7 +274030,7 @@ _0808A4F8: .4byte gUnknown_08A016C8 sub_808A4FC: @ 0x0808A4FC push {lr} ldr r0, _0808A50C @ gUnknown_08A016E0 - bl Find6C + bl Proc_Find cmp r0, #0 bne _0808A510 movs r0, #0 @@ -274484,7 +274484,7 @@ sub_808A87C: @ 0x0808A87C beq _0808A8A2 adds r0, r4, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel _0808A8A2: pop {r4} pop {r0} @@ -274645,9 +274645,9 @@ sub_808A9C0: @ 0x0808A9C0 cmp r0, #0 bge _0808A9E6 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r0, _0808A9EC @ gUnknown_08A01818 - bl DeleteEach6C + bl Proc_DeleteAllWithScript _0808A9E6: pop {r4} pop {r0} @@ -274660,7 +274660,7 @@ sub_808A9F0: @ 0x0808A9F0 push {lr} bl sub_808BAA4 ldr r0, _0808AA00 @ gUnknown_08A01740 - bl ClearCallbackAll6CMatch + bl Proc_ClearNativeCallbackEachWithScript pop {r0} bx r0 .align 2, 0 @@ -274677,21 +274677,21 @@ sub_808AA04: @ 0x0808AA04 adds r5, r3, #0 ldr r4, _0808AA30 @ gUnknown_08A016E0 adds r0, r4, #0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript movs r0, #0 bl sub_808A518 cmp r5, #0 bne _0808AA34 adds r0, r4, #0 movs r1, #3 - bl New6C + bl Proc_Create b _0808AA3C .align 2, 0 _0808AA30: .4byte gUnknown_08A016E0 _0808AA34: adds r0, r4, #0 adds r1, r5, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild _0808AA3C: adds r2, r0, #0 str r6, [r2, #0x2c] @@ -274707,7 +274707,7 @@ _0808AA3C: strb r0, [r1] ldr r0, _0808AA68 @ gUnknown_08A01818 movs r1, #0 - bl New6C + bl Proc_Create pop {r3} mov r8, r3 pop {r4, r5, r6, r7} @@ -274729,21 +274729,21 @@ sub_808AA6C: @ 0x0808AA6C ldr r5, [sp, #0x20] ldr r4, _0808AA9C @ gUnknown_08A016E0 adds r0, r4, #0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript movs r0, #0 bl sub_808A518 cmp r5, #0 bne _0808AAA0 adds r0, r4, #0 movs r1, #3 - bl New6C + bl Proc_Create b _0808AAA8 .align 2, 0 _0808AA9C: .4byte gUnknown_08A016E0 _0808AAA0: adds r0, r4, #0 adds r1, r5, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild _0808AAA8: adds r2, r0, #0 str r6, [r2, #0x2c] @@ -274761,7 +274761,7 @@ _0808AAA8: strb r0, [r1] ldr r0, _0808AAD8 @ gUnknown_08A01818 movs r1, #0 - bl New6C + bl Proc_Create pop {r3, r4} mov r8, r3 mov sb, r4 @@ -274966,10 +274966,10 @@ sub_808AC0C: @ 0x0808AC0C str r5, [sp, #4] ldr r4, _0808AC5C @ gUnknown_08A01740 adds r0, r4, #0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript adds r0, r4, #0 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 adds r1, r6, #0 adds r2, r7, #0 @@ -275538,7 +275538,7 @@ sub_808B09C: @ 0x0808B09C push {r4, lr} adds r4, r0, #0 ldr r0, _0808B0D0 @ gUnknown_08A01740 - bl Find6C + bl Proc_Find adds r2, r4, #0 adds r2, #0x59 movs r1, #0 @@ -275671,14 +275671,14 @@ _0808B1AC: .4byte gUnknown_0858791C _0808B1B0: bl sub_808B0D4 ldr r0, _0808B1D0 @ gUnknown_08A016E0 - bl Find6C + bl Proc_Find movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel adds r0, r6, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _0808B1D4 @ gUnknown_08A01818 - bl DeleteEach6C + bl Proc_DeleteAllWithScript b _0808B4C0 .align 2, 0 _0808B1D0: .4byte gUnknown_08A016E0 @@ -275694,11 +275694,11 @@ _0808B1DE: strb r0, [r1] adds r0, r6, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel b _0808B772 _0808B1F0: adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0808B772 _0808B1F8: adds r0, r6, #0 @@ -275875,7 +275875,7 @@ _0808B248: @ jump table _0808B44C: bl sub_808B0D4 ldr r0, _0808B480 @ gUnknown_08A01740 - bl Find6C + bl Proc_Find adds r3, r0, #0 ldr r0, _0808B484 @ gUnknown_08A016D8 adds r1, r6, #0 @@ -275902,7 +275902,7 @@ _0808B484: .4byte gUnknown_08A016D8 _0808B488: bl sub_808B0D4 ldr r0, _0808B4C8 @ gUnknown_08A01740 - bl Find6C + bl Proc_Find adds r3, r0, #0 ldr r0, _0808B4CC @ gUnknown_08A016D8 adds r1, r6, #0 @@ -275962,7 +275962,7 @@ _0808B4F8: b _0808B1D8 _0808B4FE: ldr r0, _0808B568 @ gUnknown_08A01740 - bl Find6C + bl Proc_Find adds r4, r0, #0 bl sub_808B0D4 ldr r0, [r6, #0x2c] @@ -276009,7 +276009,7 @@ _0808B520: strb r2, [r0] adds r0, r6, #0 movs r1, #6 - bl Goto6CLabel + bl Proc_GotoLabel b _0808B772 .align 2, 0 _0808B568: .4byte gUnknown_08A01740 @@ -276101,14 +276101,14 @@ _0808B606: b _0808B1F0 _0808B614: ldr r0, _0808B630 @ gUnknown_08A016E0 - bl Find6C + bl Proc_Find movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel adds r0, r6, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _0808B634 @ gUnknown_08A01818 - bl DeleteEach6C + bl Proc_DeleteAllWithScript b _0808B772 .align 2, 0 _0808B630: .4byte gUnknown_08A016E0 @@ -276134,7 +276134,7 @@ _0808B654: strb r1, [r0] adds r0, r6, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel b _0808B772 _0808B664: bl sub_808B0D4 @@ -276142,7 +276142,7 @@ _0808B664: adds r0, #1 str r0, [r6, #0x2c] ldr r0, _0808B6A4 @ gUnknown_08A01740 - bl Find6C + bl Proc_Find adds r4, r6, #0 adds r4, #0x52 movs r5, #0x3c @@ -276281,16 +276281,16 @@ sub_808B788: @ 0x0808B788 push {r4, lr} adds r4, r0, #0 ldr r0, _0808B7B0 @ gUnknown_08A01818 - bl Find6C + bl Proc_Find cmp r0, #0 beq _0808B7AA ldr r0, _0808B7B4 @ gUnknown_08A016E0 - bl Find6C + bl Proc_Find movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel adds r0, r4, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel _0808B7AA: pop {r4} pop {r0} @@ -276329,7 +276329,7 @@ sub_808B7B8: @ 0x0808B7B8 movs r1, #0 bl Text_SetXCursor adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0808B7F8: pop {r4} pop {r0} @@ -276347,12 +276347,12 @@ sub_808B804: @ 0x0808B804 cmp r0, #0 bne _0808B81A adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0808B822 _0808B81A: adds r0, r4, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel _0808B822: adds r1, r4, #0 adds r1, #0x48 @@ -276377,11 +276377,11 @@ sub_808B844: @ 0x0808B844 push {r4, lr} adds r4, r0, #0 ldr r0, _0808B86C @ gUnknown_08A016E0 - bl Find6C + bl Proc_Find movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback movs r0, #0 bl SetFont movs r0, #0 @@ -276397,7 +276397,7 @@ sub_808B870: @ 0x0808B870 push {r4, r5, r6, lr} adds r4, r0, #0 ldr r0, _0808B900 @ gUnknown_08A01740 - bl Find6C + bl Proc_Find adds r6, r0, #0 adds r5, r4, #0 adds r5, #0x58 @@ -276460,7 +276460,7 @@ _0808B8EC: adds r0, #0x55 strb r1, [r0] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0808B8F8: pop {r4, r5, r6} pop {r0} @@ -276472,7 +276472,7 @@ _0808B900: .4byte gUnknown_08A01740 sub_808B904: @ 0x0808B904 push {lr} ldr r0, _0808B91C @ gUnknown_08A016E0 - bl Find6C + bl Proc_Find cmp r0, #0 beq _0808B920 adds r0, #0x38 @@ -276559,10 +276559,10 @@ _0808B9BA: bl SetFont ldr r4, _0808BA3C @ gUnknown_08A01760 adds r0, r4, #0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript adds r0, r4, #0 movs r1, #3 - bl New6C + bl Proc_Create adds r4, r0, #0 ldr r1, _0808BA40 @ gUnknown_0203E7E8 str r1, [r4, #0x30] @@ -276641,7 +276641,7 @@ sub_808BA60: @ 0x0808BA60 adds r6, r2, #0 ldr r0, _0808BA94 @ gUnknown_08A01800 movs r1, #3 - bl New6C + bl Proc_Create adds r1, r0, #0 str r4, [r1, #0x5c] cmp r5, #0 @@ -276729,9 +276729,9 @@ _0808BB12: blt _0808BB04 _0808BB1E: ldr r0, _0808BB3C @ gUnknown_08A01760 - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r0, _0808BB40 @ gUnknown_08A01800 - bl DeleteEach6C + bl Proc_DeleteAllWithScript movs r0, #0 bl SetFont pop {r4} @@ -276747,7 +276747,7 @@ sub_808BB44: @ 0x0808BB44 push {lr} ldr r0, _0808BB54 @ gUnknown_08A01818 movs r1, #0 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -276757,7 +276757,7 @@ _0808BB54: .4byte gUnknown_08A01818 sub_808BB58: @ 0x0808BB58 push {lr} ldr r0, _0808BB68 @ gUnknown_08A01818 - bl Find6C + bl Proc_Find cmp r0, #0 bne _0808BB6C movs r0, #0 @@ -276774,15 +276774,15 @@ _0808BB6E: sub_808BB74: @ 0x0808BB74 push {lr} ldr r0, _0808BB98 @ gUnknown_08A016E0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r0, _0808BB9C @ gUnknown_08A01818 - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r0, _0808BBA0 @ gUnknown_08A01740 - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r0, _0808BBA4 @ gUnknown_08A01760 - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r0, _0808BBA8 @ gUnknown_08A01800 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -277122,7 +277122,7 @@ _0808BE0E: strb r0, [r1] str r0, [r7, #0x58] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r2, _0808BE68 @ gUnknown_0202BCB0 movs r1, #0x16 ldrsh r0, [r2, r1] @@ -277305,7 +277305,7 @@ _0808BF9A: movs r0, #0xff strb r0, [r1] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0808BFBA: pop {r3} mov r8, r3 @@ -277440,7 +277440,7 @@ _0808C0CE: adds r1, #0x55 strb r0, [r1] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0808C0E8: pop {r4, r5, r6} pop {r0} @@ -277578,7 +277578,7 @@ _0808C1FE: adds r1, #1 strb r0, [r1] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0808C21C: pop {r4, r5, r6} pop {r0} @@ -278738,7 +278738,7 @@ sub_808CB5C: @ 0x0808CB5C bl sub_808BBAC adds r6, r0, #0 ldr r0, _0808CBF4 @ gUnknown_08A0190C - bl Find6C + bl Proc_Find adds r4, r0, #0 cmp r4, #0 beq _0808CBAA @@ -278752,7 +278752,7 @@ sub_808CB5C: @ 0x0808CB5C beq _0808CBE8 _0808CBAA: ldr r0, _0808CBF8 @ gUnknown_08A019E4 - bl Find6C + bl Proc_Find cmp r4, #0 beq _0808CBC4 adds r1, r0, #0 @@ -278779,7 +278779,7 @@ _0808CBC4: adds r1, #0x4f strb r0, [r1] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0808CBE8: pop {r4, r5, r6} pop {r0} @@ -278818,7 +278818,7 @@ sub_808CC00: @ 0x0808CC00 cmp r0, r2 beq _0808CC9A ldr r0, _0808CC84 @ gUnknown_0859A548 - bl Find6C + bl Proc_Find cmp r0, #0 bne _0808CC8C bl GetCameraMovementSpeedMaybe @@ -278862,7 +278862,7 @@ _0808CC8C: movs r0, #1 strb r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0808CC9A: pop {r4, r5} pop {r0} @@ -278931,7 +278931,7 @@ Loop6CUI1_Hidden: @ 0x0808CCC8 bl sub_808BBAC adds r5, r0, #0 ldr r0, _0808CD70 @ gUnknown_08A018AC - bl Find6C + bl Proc_Find cmp r0, #0 beq _0808CD36 adds r1, r0, #0 @@ -278959,7 +278959,7 @@ _0808CD36: adds r1, r6, #0 bl InitMinimugBoxMaybe adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0808CD5C: pop {r4, r5, r6} pop {r0} @@ -279027,7 +279027,7 @@ _0808CDB8: cmp r7, #0 beq _0808CE3C ldr r0, _0808CE34 @ gUnknown_0859A548 - bl Find6C + bl Proc_Find cmp r0, #0 bne _0808CE3C bl GetCameraMovementSpeedMaybe @@ -279058,7 +279058,7 @@ _0808CDB8: _0808CE22: adds r0, r5, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel b _0808CE4A .align 2, 0 _0808CE2C: .4byte gUnknown_0202BCB0 @@ -279071,7 +279071,7 @@ _0808CE3C: movs r0, #1 strb r0, [r1] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0808CE4A: pop {r4, r5, r6, r7} pop {r0} @@ -279099,7 +279099,7 @@ sub_808CE50: @ 0x0808CE50 bne _0808CE88 adds r0, r4, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel b _0808CE94 .align 2, 0 _0808CE80: .4byte gUnknown_0202BCB0 @@ -279184,11 +279184,11 @@ _0808CF14: cmp r1, #0 beq _0808CFBC ldr r0, _0808CF64 @ gUnknown_0859A548 - bl Find6C + bl Proc_Find cmp r0, #0 bne _0808CFBC ldr r0, _0808CF68 @ gUnknown_08A018AC - bl Find6C + bl Proc_Find adds r5, r0, #0 cmp r5, #0 beq _0808CF42 @@ -279200,7 +279200,7 @@ _0808CF14: bne _0808CF58 _0808CF42: ldr r0, _0808CF6C @ gUnknown_08A019E4 - bl Find6C + bl Proc_Find cmp r0, #0 beq _0808CF70 adds r0, #0x55 @@ -279353,7 +279353,7 @@ InitPlayerPhaseInterfaceMaybe: @ 0x0808CFC4 blt _0808D092 ldr r0, _0808D0CC @ gUnknown_08A018AC movs r1, #3 - bl New6C + bl Proc_Create _0808D092: ldr r0, _0808D0D0 @ gUnknown_0202BCB0 ldrb r1, [r0, #4] @@ -279363,7 +279363,7 @@ _0808D092: beq _0808D0D8 ldr r0, _0808D0D4 @ gUnknown_08A01A44 movs r1, #3 - bl New6C + bl Proc_Create b _0808D0F8 .align 2, 0 _0808D0A8: .4byte gUnknown_03003080 @@ -279392,7 +279392,7 @@ _0808D0D8: bne _0808D0F8 ldr r0, _0808D12C @ gUnknown_08A019E4 movs r1, #3 - bl New6C + bl Proc_Create _0808D0F8: ldr r0, _0808D130 @ gUnknown_0202BCF0 adds r4, r0, #0 @@ -279404,7 +279404,7 @@ _0808D0F8: bne _0808D110 ldr r0, _0808D134 @ gUnknown_08A0190C movs r1, #3 - bl New6C + bl Proc_Create _0808D110: ldrb r0, [r4] lsls r0, r0, #0x1c @@ -279413,7 +279413,7 @@ _0808D110: bne _0808D122 ldr r0, _0808D138 @ gUnknown_08A01994 movs r1, #3 - bl New6C + bl Proc_Create _0808D122: add sp, #4 pop {r4} @@ -279430,7 +279430,7 @@ New6CPPInterfaceConstructor: @ 0x0808D13C push {lr} ldr r0, _0808D14C @ gUnknown_08A019C4 movs r1, #3 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -279440,15 +279440,15 @@ _0808D14C: .4byte gUnknown_08A019C4 DeletePlayerPhaseInterface6Cs: @ 0x0808D150 push {lr} ldr r0, _0808D17C @ gUnknown_08A0190C - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r0, _0808D180 @ gUnknown_08A01994 - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r0, _0808D184 @ gUnknown_08A018AC - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r0, _0808D188 @ gUnknown_08A019E4 - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r0, _0808D18C @ gUnknown_08A01A44 - bl DeleteEach6C + bl Proc_DeleteAllWithScript bl SetDefaultColorEffects bl ClearBG0BG1 pop {r0} @@ -279840,7 +279840,7 @@ Loop16CPI: @ 0x0808D47C bl sub_808BBAC adds r5, r0, #0 ldr r0, _0808D50C @ gUnknown_08A018AC - bl Find6C + bl Proc_Find cmp r0, #0 beq _0808D4CC adds r1, r0, #0 @@ -279875,7 +279875,7 @@ _0808D4CC: adds r1, #0x4d strb r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0808D500: pop {r4, r5} pop {r0} @@ -280115,7 +280115,7 @@ Loop26CPI: @ 0x0808D6D4 adds r1, #0x55 strb r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0808D712: pop {r4} pop {r0} @@ -280162,7 +280162,7 @@ Loop46CPI: @ 0x0808D71C movs r0, #0xff strb r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0808D76C: pop {r4, r5, r6} pop {r0} @@ -280210,7 +280210,7 @@ Loop36CPI: @ 0x0808D784 cmp r0, r2 beq _0808D802 ldr r0, _0808D80C @ gUnknown_0859A548 - bl Find6C + bl Proc_Find cmp r0, #0 bne _0808D7F4 bl GetCameraMovementSpeedMaybe @@ -280244,7 +280244,7 @@ _0808D7F4: movs r0, #1 strb r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0808D802: pop {r4, r5} pop {r0} @@ -280258,7 +280258,7 @@ _0808D810: .4byte gUnknown_08A01828 sub_808D814: @ 0x0808D814 push {lr} ldr r0, _0808D85C @ gUnknown_08A0190C - bl Find6C + bl Proc_Find cmp r0, #0 beq _0808D82C adds r0, #0x56 @@ -280269,7 +280269,7 @@ sub_808D814: @ 0x0808D814 bne _0808D858 _0808D82C: ldr r0, _0808D860 @ gUnknown_08A018AC - bl Find6C + bl Proc_Find cmp r0, #0 beq _0808D842 adds r0, #0x56 @@ -280280,7 +280280,7 @@ _0808D82C: bne _0808D858 _0808D842: ldr r0, _0808D864 @ gUnknown_08A019E4 - bl Find6C + bl Proc_Find cmp r0, #0 beq _0808D868 adds r0, #0x56 @@ -280496,7 +280496,7 @@ sub_808D9B8: @ 0x0808D9B8 cmp r0, #0x18 bne _0808D9F6 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback adds r1, r4, #0 adds r1, #0x56 movs r0, #0 @@ -280542,7 +280542,7 @@ sub_808D9FC: @ 0x0808D9FC cmp r0, r2 beq _0808DA8C ldr r0, _0808DA98 @ gUnknown_0859A548 - bl Find6C + bl Proc_Find cmp r0, #0 bne _0808DA7E bl GetCameraMovementSpeedMaybe @@ -280576,7 +280576,7 @@ _0808DA7E: movs r0, #1 strb r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0808DA8C: pop {r4, r5} pop {r0} @@ -280614,7 +280614,7 @@ sub_808DAA0: @ 0x0808DAA0 adds r0, #0x56 strb r1, [r0] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0808DADC: pop {r4} pop {r0} @@ -280731,7 +280731,7 @@ sub_808DBC8: @ 0x0808DBC8 movs r0, #0 bl SetupBackgrounds bl sub_80D0178 - bl Initialize6CEngine + bl Proc_Initialize movs r0, #0 movs r1, #0 movs r2, #0 @@ -281399,7 +281399,7 @@ _0808E0D4: bl sub_80894E0 ldr r0, _0808E198 @ gUnknown_08A01CA4 adds r1, r7, #0 - bl New6C + bl Proc_Create ldrb r1, [r6, #1] movs r0, #2 rsbs r0, r0, #0 @@ -281974,7 +281974,7 @@ _0808E670: _0808E682: adds r0, r5, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel b _0808E710 .align 2, 0 _0808E68C: .4byte gUnknown_0202BCF0 @@ -281985,7 +281985,7 @@ _0808E690: beq _0808E6B8 adds r0, r5, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _0808E6B4 @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -282055,7 +282055,7 @@ sub_808E71C: @ 0x0808E71C push {r4, lr} adds r4, r0, #0 ldr r0, _0808E744 @ gUnknown_08A01CA4 - bl DeleteEach6C + bl Proc_DeleteAllWithScript bl sub_8089570 adds r0, r4, #0 adds r0, #0x29 @@ -282083,7 +282083,7 @@ sub_808E748: @ 0x0808E748 cmp r0, #0 beq _0808E75A ldr r0, _0808E760 @ gUnknown_0859AE18 - bl NewBlocking6C + bl Proc_CreateBlockingChild _0808E75A: pop {r0} bx r0 @@ -282098,7 +282098,7 @@ NewChapterStatusScreen: @ 0x0808E764 beq _0808E784 ldr r0, _0808E780 @ gUnknown_08A01B54 adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r1, r0, #0 adds r1, #0x3f movs r0, #0 @@ -282109,7 +282109,7 @@ _0808E780: .4byte gUnknown_08A01B54 _0808E784: ldr r0, _0808E798 @ gUnknown_08A01B54 movs r1, #3 - bl New6C + bl Proc_Create adds r0, #0x3f strb r4, [r0] _0808E790: @@ -282124,7 +282124,7 @@ sub_808E79C: @ 0x0808E79C push {lr} adds r1, r0, #0 ldr r0, _0808E7B0 @ gUnknown_08A01C04 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r0, #0x3f movs r1, #1 strb r1, [r0] @@ -282932,7 +282932,7 @@ _0808EE38: beq _0808EE60 adds r0, r6, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel b _0808EF30 .align 2, 0 _0808EE5C: .4byte sub_808F5C8 @@ -282947,7 +282947,7 @@ _0808EE60: bl sub_808EA74 adds r0, r6, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel b _0808EE86 _0808EE7E: movs r0, #0 @@ -283092,7 +283092,7 @@ _0808EF8C: cmp r0, #0x10 bne _0808EFA2 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0808EFA2: pop {r4} pop {r0} @@ -283118,7 +283118,7 @@ sub_808EFA8: @ 0x0808EFA8 beq _0808EFDC adds r0, r4, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel b _0808EFE4 _0808EFDC: adds r1, r4, #0 @@ -283133,7 +283133,7 @@ _0808EFE4: cmp r1, #0 beq _0808EFFC ldr r0, _0808F004 @ gUnknown_08591154 - bl Find6C + bl Proc_Find bl sub_8005F38 _0808EFFC: pop {r4} @@ -283173,7 +283173,7 @@ _0808F028: lsls r0, r0, #9 bl sub_808EA1C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0808F046: pop {r4} pop {r0} @@ -283199,7 +283199,7 @@ sub_808F04C: @ 0x0808F04C bl sub_808FFE8 adds r0, r4, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel _0808F07A: pop {r4} pop {r0} @@ -283299,7 +283299,7 @@ sub_808F128: @ 0x0808F128 ldr r5, [sp, #0x34] ldr r6, _0808F17C @ gUnknown_08A01DBC adds r0, r6, #0 - bl Find6C + bl Proc_Find adds r4, r0, #0 cmp r4, #0 beq _0808F18A @@ -283320,14 +283320,14 @@ _0808F166: bne _0808F180 adds r0, r4, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel b _0808F254 .align 2, 0 _0808F17C: .4byte gUnknown_08A01DBC _0808F180: adds r0, r4, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel b _0808F254 _0808F18A: ldr r0, [sp, #0x38] @@ -283335,12 +283335,12 @@ _0808F18A: beq _0808F19A adds r0, r6, #0 ldr r1, [sp, #0x38] - bl NewBlocking6C + bl Proc_CreateBlockingChild b _0808F1A2 _0808F19A: adds r0, r6, #0 movs r1, #3 - bl New6C + bl Proc_Create _0808F1A2: adds r4, r0, #0 movs r0, #0x80 @@ -283444,8 +283444,8 @@ _0808F26C: .4byte gUnknown_0859EF60 sub_808F270: @ 0x0808F270 push {lr} ldr r0, _0808F280 @ gUnknown_08A01DBC - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -283455,7 +283455,7 @@ _0808F280: .4byte gUnknown_08A01DBC sub_808F284: @ 0x0808F284 push {lr} ldr r0, _0808F294 @ gUnknown_08A01DBC - bl Find6C + bl Proc_Find cmp r0, #0 bne _0808F298 movs r0, #0 @@ -283472,11 +283472,11 @@ _0808F29A: sub_808F2A0: @ 0x0808F2A0 push {lr} ldr r0, _0808F2B8 @ gUnknown_08A01DBC - bl Find6C + bl Proc_Find cmp r0, #0 beq _0808F2B2 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel _0808F2B2: pop {r0} bx r0 @@ -284349,7 +284349,7 @@ _0808F97E: strb r0, [r1] mov r0, r8 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel b _0808FE68 _0808F990: movs r0, #0 @@ -284598,16 +284598,16 @@ _0808FC64: bl sub_808EA1C adds r0, r6, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel b _0808FC88 _0808FC80: adds r0, r6, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel _0808FC88: mov r0, r8 movs r1, #0x63 - bl Goto6CLabel + bl Proc_GotoLabel b _0808FD3C _0808FC92: adds r0, r2, #1 @@ -284689,7 +284689,7 @@ _0808FD10: beq _0808FD26 mov r0, r8 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel b _0808FD3C _0808FD26: adds r0, r6, #0 @@ -284701,7 +284701,7 @@ _0808FD26: strb r0, [r1] mov r0, r8 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _0808FD3C: ldr r0, _0808FD44 @ 0x0000FFEF ands r7, r0 @@ -285011,7 +285011,7 @@ sub_808FF18: @ 0x0808FF18 adds r0, r0, r1 strb r0, [r4] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0808FF92: pop {r3} mov r8, r3 @@ -285046,11 +285046,11 @@ sub_808FFC4: @ 0x0808FFC4 adds r5, r0, #0 ldr r4, _0808FFE4 @ gUnknown_08A01E64 adds r0, r4, #0 - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete adds r0, r4, #0 adds r1, r5, #0 - bl New6C + bl Proc_Create pop {r4, r5} pop {r0} bx r0 @@ -285061,8 +285061,8 @@ _0808FFE4: .4byte gUnknown_08A01E64 sub_808FFE8: @ 0x0808FFE8 push {lr} ldr r0, _0808FFF8 @ gUnknown_08A01E64 - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -285130,7 +285130,7 @@ _08090064: _08090068: bl sub_8008A0C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080900E2 .align 2, 0 _08090074: .4byte gUnknown_0202BCF0 @@ -285224,7 +285224,7 @@ sub_80900EC: @ 0x080900EC bl Text_InsertString ldr r0, _08090148 @ gUnknown_08A01EC4 adds r1, r7, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild mov r1, sp ldrh r1, [r1, #0x20] strh r1, [r0, #0x2a] @@ -285884,9 +285884,9 @@ sub_8090620: @ 0x08090620 adds r4, r0, #0 bl ClearMOVEUNITs ldr r0, [r4, #0x40] - bl Delete6C + bl Proc_Delete ldr r0, [r4, #0x44] - bl Delete6C + bl Proc_Delete bl EndGreenTextColorManager ldr r2, _08090660 @ gUnknown_03003080 ldrb r1, [r2, #1] @@ -287226,7 +287226,7 @@ _0809104E: bl CopyToPaletteBuffer ldr r0, _0809117C @ gUnknown_08A17B08 mov r1, r8 - bl New6C + bl Proc_Create mov r1, r8 str r0, [r1, #0x40] movs r0, #0 @@ -287659,7 +287659,7 @@ _0809147E: beq _080914A0 adds r0, r5, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel b _080917CA _080914A0: movs r1, #1 @@ -287711,7 +287711,7 @@ _080914D0: bl PlaySound _080914FC: adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080917CA .align 2, 0 _08091504: .4byte gUnknown_0200D6E0 @@ -287772,7 +287772,7 @@ _0809156C: strb r0, [r1] adds r0, r5, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel adds r0, r5, #0 adds r0, #0x2d strb r6, [r0] @@ -287859,7 +287859,7 @@ _08091602: _08091624: adds r0, r5, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel b _080917CA .align 2, 0 _08091630: .4byte gUnknown_0202BCF0 @@ -288387,7 +288387,7 @@ _08091A28: _08091A32: adds r0, r7, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel b _08091AA0 .align 2, 0 _08091A3C: .4byte gUnknown_08A17C48 @@ -288507,7 +288507,7 @@ _08091B1E: movs r0, #0 bl sub_8086DD8 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08091BF6 .align 2, 0 _08091B2C: .4byte gUnknown_0858791C @@ -288660,11 +288660,11 @@ _08091C28: strb r0, [r3, #0x19] _08091C52: ldr r0, [r4, #0x40] - bl Delete6C + bl Proc_Delete ldr r0, [r4, #0x44] cmp r0, #0 beq _08091C62 - bl Delete6C + bl Proc_Delete _08091C62: bl EndGreenTextColorManager ldr r0, _08091CB0 @ gUnknown_02022CA8 @@ -288982,7 +288982,7 @@ _08091ED0: strb r0, [r1] strh r0, [r5, #0x3c] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08091EF4: add sp, #0x10 pop {r3, r4, r5} @@ -289204,7 +289204,7 @@ _0809208E: cmp r0, #0x13 bls _080920A2 mov r0, r8 - bl Break6CLoop + bl Proc_ClearNativeCallback _080920A2: add sp, #4 pop {r3, r4, r5} @@ -289225,7 +289225,7 @@ sub_80920C4: @ 0x080920C4 push {lr} ldr r0, _080920D8 @ gUnknown_08A177A0 movs r1, #3 - bl New6C + bl Proc_Create adds r0, #0x39 movs r1, #0 strb r1, [r0] @@ -289242,13 +289242,13 @@ sub_80920DC: @ 0x080920DC bne _080920F4 ldr r0, _080920F0 @ gUnknown_08A178C0 movs r1, #3 - bl New6C + bl Proc_Create b _080920FA .align 2, 0 _080920F0: .4byte gUnknown_08A178C0 _080920F4: ldr r0, _08092118 @ gUnknown_08A178C0 - bl NewBlocking6C + bl Proc_CreateBlockingChild _080920FA: adds r4, r0, #0 adds r1, r4, #0 @@ -289288,13 +289288,13 @@ sub_8092134: @ 0x08092134 bne _0809214C ldr r0, _08092148 @ gUnknown_08A17990 movs r1, #3 - bl New6C + bl Proc_Create b _08092152 .align 2, 0 _08092148: .4byte gUnknown_08A17990 _0809214C: ldr r0, _08092160 @ gUnknown_08A17990 - bl NewBlocking6C + bl Proc_CreateBlockingChild _08092152: adds r1, r0, #0 adds r1, #0x39 @@ -289313,13 +289313,13 @@ sub_8092164: @ 0x08092164 bne _0809217C ldr r0, _08092178 @ gUnknown_08A178C0 movs r1, #3 - bl New6C + bl Proc_Create b _08092182 .align 2, 0 _08092178: .4byte gUnknown_08A178C0 _0809217C: ldr r0, _08092190 @ gUnknown_08A178C0 - bl NewBlocking6C + bl Proc_CreateBlockingChild _08092182: adds r1, r0, #0 adds r1, #0x39 @@ -289338,13 +289338,13 @@ sub_8092194: @ 0x08092194 bne _080921AC ldr r0, _080921A8 @ gUnknown_08A17A30 movs r1, #3 - bl New6C + bl Proc_Create b _080921B2 .align 2, 0 _080921A8: .4byte gUnknown_08A17A30 _080921AC: ldr r0, _080921C8 @ gUnknown_08A17A30 - bl NewBlocking6C + bl Proc_CreateBlockingChild _080921B2: adds r4, r0, #0 bl SMS_ClearUsageTable @@ -295580,7 +295580,7 @@ sub_80951B8: @ 0x080951B8 movs r1, #1 strb r1, [r2] movs r1, #0xa - bl Goto6CLabel + bl Proc_GotoLabel pop {r0} bx r0 @@ -295592,7 +295592,7 @@ sub_80951CC: @ 0x080951CC movs r1, #2 strb r1, [r2] movs r1, #0xa - bl Goto6CLabel + bl Proc_GotoLabel pop {r0} bx r0 @@ -295615,7 +295615,7 @@ sub_80951E0: @ 0x080951E0 bl sub_80029E8 adds r0, r4, #0 movs r1, #0xa - bl Goto6CLabel + bl Proc_GotoLabel add sp, #4 pop {r4} pop {r0} @@ -295640,7 +295640,7 @@ _08095226: strb r0, [r1] adds r0, r4, #0 movs r1, #8 - bl Goto6CLabel + bl Proc_GotoLabel pop {r4} pop {r0} bx r0 @@ -295658,7 +295658,7 @@ sub_8095240: @ 0x08095240 bl sub_8096BC4 adds r0, r4, #0 movs r1, #0xb - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #1 b _0809525E _0809525C: @@ -295672,7 +295672,7 @@ _0809525E: sub_8095264: @ 0x08095264 push {lr} ldr r0, _08095278 @ gUnknown_08A1829C - bl Find6C + bl Proc_Find adds r0, #0x2b ldrb r0, [r0] cmp r0, #0 @@ -295691,7 +295691,7 @@ _0809527E: sub_8095284: @ 0x08095284 push {lr} movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel pop {r0} bx r0 @@ -295711,7 +295711,7 @@ sub_8095290: @ 0x08095290 _080952AC: adds r0, r4, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #1 b _080952BA _080952B8: @@ -295725,7 +295725,7 @@ _080952BA: sub_80952C0: @ 0x080952C0 push {lr} movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel pop {r0} bx r0 @@ -296715,7 +296715,7 @@ _08095A16: sub_8095A1C: @ 0x08095A1C push {lr} ldr r0, _08095A34 @ gUnknown_08A006E4 - bl DeleteEach6C + bl Proc_DeleteAllWithScript movs r0, #0 movs r1, #0 movs r2, #0xa @@ -296960,14 +296960,14 @@ sub_8095C00: @ 0x08095C00 adds r4, r1, #0 ldr r5, _08095C28 @ gUnknown_08A1826C adds r0, r5, #0 - bl Find6C + bl Proc_Find cmp r0, #0 beq _08095C16 - bl Delete6C + bl Proc_Delete _08095C16: adds r0, r5, #0 adds r1, r4, #0 - bl New6C + bl Proc_Create str r6, [r0, #0x58] pop {r4, r5, r6} pop {r0} @@ -297290,7 +297290,7 @@ _08095F06: strb r0, [r1] adds r0, r6, #0 movs r1, #6 - bl Goto6CLabel + bl Proc_GotoLabel _08095F20: pop {r4, r5, r6} pop {r0} @@ -297507,7 +297507,7 @@ _080960CA: strb r0, [r1] adds r0, r7, #0 movs r1, #8 - bl Goto6CLabel + bl Proc_GotoLabel b _08096246 .align 2, 0 _080960DC: .4byte gUnknown_0858791C @@ -297572,7 +297572,7 @@ _08096110: bl PlaySound _08096166: adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08096246 .align 2, 0 _08096170: .4byte gUnknown_08A1B658 @@ -297818,7 +297818,7 @@ _0809635C: _08096364: ldr r0, _08096370 @ gUnknown_08A18E8C adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _08096384 .align 2, 0 _08096370: .4byte gUnknown_08A18E8C @@ -297832,7 +297832,7 @@ _0809637E: bl sub_803410C _08096384: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -297873,17 +297873,17 @@ _080963C4: @ jump table _080963D8: adds r0, r4, #0 movs r1, #9 - bl Goto6CLabel + bl Proc_GotoLabel b _080963F4 _080963E2: adds r0, r4, #0 movs r1, #7 - bl Goto6CLabel + bl Proc_GotoLabel b _080963F4 _080963EC: adds r0, r4, #0 movs r1, #9 - bl Goto6CLabel + bl Proc_GotoLabel _080963F4: adds r1, r4, #0 adds r1, #0x33 @@ -297943,7 +297943,7 @@ sub_8096454: @ 0x08096454 push {lr} ldr r0, _08096464 @ gUnknown_08A1829C movs r1, #3 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -297954,7 +297954,7 @@ sub_8096468: @ 0x08096468 push {lr} ldr r0, _08096480 @ gUnknown_08A1829C movs r1, #3 - bl New6C + bl Proc_Create bl sub_8095840 bl sub_80952D4 pop {r0} @@ -298028,7 +298028,7 @@ sub_80964F4: @ 0x080964F4 cmp r5, #0 bne _0809650E adds r0, r4, #0 - bl Delete6C + bl Proc_Delete b _08096556 _0809650E: bl GetThread2SkipStack @@ -298087,7 +298087,7 @@ sub_809656C: @ 0x0809656C cmp r4, r0 bne _08096588 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08096588: pop {r4, r5} pop {r0} @@ -298186,7 +298186,7 @@ sub_80965F0: @ 0x080965F0 bl sub_80ADDD4 ldr r0, _08096664 @ gUnknown_08A184B4 adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild add sp, #4 pop {r4} pop {r0} @@ -298215,7 +298215,7 @@ NewPrepScreenTraineePromotionManager: @ 0x08096684 push {lr} ldr r0, _08096694 @ gUnknown_08A184F4 movs r1, #3 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -298225,7 +298225,7 @@ _08096694: .4byte gUnknown_08A184F4 PrepScreenTraineePromotionManagerExists: @ 0x08096698 push {lr} ldr r0, _080966AC @ gUnknown_08A184F4 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080966A6 movs r0, #1 @@ -298239,7 +298239,7 @@ _080966AC: .4byte gUnknown_08A184F4 sub_80966B0: @ 0x080966B0 push {lr} ldr r0, _080966C4 @ gUnknown_08A1829C - bl Find6C + bl Proc_Find cmp r0, #0 beq _080966BE movs r0, #1 @@ -298882,7 +298882,7 @@ sub_8096BB8: @ 0x08096BB8 sub_8096BC4: @ 0x08096BC4 push {lr} ldr r0, _08096BDC @ gUnknown_08A186B4 - bl Find6C + bl Proc_Find cmp r0, #0 beq _08096BD8 adds r1, r0, #0 @@ -298899,7 +298899,7 @@ _08096BDC: .4byte gUnknown_08A186B4 sub_8096BE0: @ 0x08096BE0 push {lr} ldr r0, _08096BF8 @ gUnknown_08A186B4 - bl Find6C + bl Proc_Find cmp r0, #0 beq _08096BF4 adds r1, r0, #0 @@ -298918,11 +298918,11 @@ sub_8096BFC: @ 0x08096BFC adds r5, r0, #0 ldr r4, _08096C1C @ gUnknown_08A186B4 adds r0, r4, #0 - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete adds r0, r4, #0 adds r1, r5, #0 - bl New6C + bl Proc_Create pop {r4, r5} pop {r1} bx r1 @@ -298933,8 +298933,8 @@ _08096C1C: .4byte gUnknown_08A186B4 sub_8096C20: @ 0x08096C20 push {lr} ldr r0, _08096C30 @ gUnknown_08A186B4 - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -299154,7 +299154,7 @@ _08096DB0: beq _08096E74 adds r0, r4, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, [r4, #0x14] ldr r1, [r5, #0x2c] bl _call_via_r1 @@ -299188,7 +299188,7 @@ _08096E08: beq _08096E74 adds r0, r4, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _08096E34 @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -299226,7 +299226,7 @@ _08096E38: _08096E64: adds r0, r4, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel b _08096F34 .align 2, 0 _08096E70: .4byte gUnknown_0202BCF0 @@ -299404,11 +299404,11 @@ sub_8096FAC: @ 0x08096FAC adds r5, r0, #0 ldr r4, _08096FCC @ gUnknown_08A186EC adds r0, r4, #0 - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete adds r0, r4, #0 adds r1, r5, #0 - bl New6C + bl Proc_Create pop {r4, r5} pop {r0} bx r0 @@ -299420,7 +299420,7 @@ sub_8096FD0: @ 0x08096FD0 push {r4, lr} adds r4, r0, #0 ldr r0, _08096FE8 @ gUnknown_08A186EC - bl Find6C + bl Proc_Find cmp r0, #0 beq _08096FE0 str r4, [r0, #0x58] @@ -299436,7 +299436,7 @@ sub_8096FEC: @ 0x08096FEC push {r4, lr} adds r4, r0, #0 ldr r0, _08097004 @ gUnknown_08A186EC - bl Find6C + bl Proc_Find cmp r0, #0 beq _08096FFC str r4, [r0, #0x5c] @@ -299452,7 +299452,7 @@ sub_8097008: @ 0x08097008 push {r4, lr} adds r4, r0, #0 ldr r0, _08097020 @ gUnknown_08A186EC - bl Find6C + bl Proc_Find cmp r0, #0 beq _08097018 str r4, [r0, #0x60] @@ -299475,7 +299475,7 @@ sub_8097024: @ 0x08097024 mov r8, r2 mov sb, r3 ldr r0, _08097074 @ gUnknown_08A186EC - bl Find6C + bl Proc_Find adds r1, r0, #0 cmp r1, #0 beq _080970B8 @@ -299515,7 +299515,7 @@ _08097078: adds r5, #0x2b ldrb r4, [r5] ldr r0, _080970C8 @ gUnknown_08A186DC - bl New6C + bl Proc_Create lsls r1, r4, #2 add r1, sl str r0, [r1] @@ -299554,7 +299554,7 @@ sub_80970CC: @ 0x080970CC adds r5, r0, #0 movs r4, #0 ldr r0, _080970F8 @ gUnknown_08A186EC - bl Find6C + bl Proc_Find cmp r0, #0 beq _08097106 movs r2, #0 @@ -299591,7 +299591,7 @@ sub_809710C: @ 0x0809710C push {r4, r5, lr} movs r4, #0 ldr r0, _0809713C @ gUnknown_08A186EC - bl Find6C + bl Proc_Find cmp r0, #0 beq _0809714A movs r3, #0 @@ -299638,7 +299638,7 @@ sub_8097154: @ 0x08097154 adds r6, r0, #0 adds r5, r1, #0 ldr r0, _080971F8 @ gUnknown_08A186EC - bl Find6C + bl Proc_Find mov r8, r0 cmp r0, #0 beq _080971EA @@ -299723,7 +299723,7 @@ sub_8097200: @ 0x08097200 adds r5, r0, #0 adds r4, r1, #0 ldr r0, _0809728C @ gUnknown_08A186EC - bl Find6C + bl Proc_Find mov r8, r0 cmp r0, #0 beq _0809727E @@ -299791,7 +299791,7 @@ _08097290: .4byte gUnknown_02022CA8 sub_8097294: @ 0x08097294 push {lr} ldr r0, _080972A4 @ gUnknown_08A186EC - bl Find6C + bl Proc_Find cmp r0, #0 bne _080972A8 movs r0, #0 @@ -299809,14 +299809,14 @@ _080972AC: sub_80972B0: @ 0x080972B0 push {r4, lr} ldr r0, _080972D0 @ gUnknown_08A186EC - bl Find6C + bl Proc_Find adds r4, r0, #0 cmp r4, #0 beq _080972CA bl sub_80972D4 adds r0, r4, #0 movs r1, #0xa - bl Goto6CLabel + bl Proc_GotoLabel _080972CA: pop {r4} pop {r0} @@ -299828,7 +299828,7 @@ _080972D0: .4byte gUnknown_08A186EC sub_80972D4: @ 0x080972D4 push {r4, r5, lr} ldr r0, _08097334 @ gUnknown_08A186EC - bl Find6C + bl Proc_Find adds r4, r0, #0 cmp r4, #0 beq _0809732C @@ -299879,7 +299879,7 @@ _0809733C: .4byte gUnknown_020234A8 sub_8097340: @ 0x08097340 push {lr} ldr r0, _08097350 @ gUnknown_08A186EC - bl Find6C + bl Proc_Find cmp r0, #0 bne _08097354 movs r0, #0 @@ -299896,11 +299896,11 @@ _08097356: sub_809735C: @ 0x0809735C push {lr} ldr r0, _08097374 @ gUnknown_08A186EC - bl Find6C + bl Proc_Find cmp r0, #0 beq _0809736E movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel _0809736E: pop {r0} bx r0 @@ -299911,11 +299911,11 @@ _08097374: .4byte gUnknown_08A186EC sub_8097378: @ 0x08097378 push {lr} ldr r0, _08097390 @ gUnknown_08A186EC - bl Find6C + bl Proc_Find cmp r0, #0 beq _0809738A movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel _0809738A: pop {r0} bx r0 @@ -299926,11 +299926,11 @@ _08097390: .4byte gUnknown_08A186EC sub_8097394: @ 0x08097394 push {lr} ldr r0, _080973AC @ gUnknown_08A186EC - bl Find6C + bl Proc_Find cmp r0, #0 beq _080973A6 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _080973A6: pop {r0} bx r0 @@ -300280,11 +300280,11 @@ _08097648: .4byte gUnknown_08A18754 sub_809764C: @ 0x0809764C push {lr} ldr r0, _08097664 @ gUnknown_08A18808 - bl Find6C + bl Proc_Find cmp r0, #0 beq _0809765E movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _0809765E: pop {r0} bx r0 @@ -300295,11 +300295,11 @@ _08097664: .4byte gUnknown_08A18808 sub_8097668: @ 0x08097668 push {lr} ldr r0, _08097680 @ gUnknown_08A18808 - bl Find6C + bl Proc_Find cmp r0, #0 beq _0809767A movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel _0809767A: pop {r0} bx r0 @@ -300310,8 +300310,8 @@ _08097680: .4byte gUnknown_08A18808 Delete6CMenuScroll: @ 0x08097684 push {lr} ldr r0, _08097694 @ gUnknown_08A18808 - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -300322,7 +300322,7 @@ Make6CMenuScroll: @ 0x08097698 push {lr} adds r1, r0, #0 ldr r0, _080976A8 @ gUnknown_08A18808 - bl New6C + bl Proc_Create pop {r1} bx r1 .align 2, 0 @@ -300334,7 +300334,7 @@ sub_80976AC: @ 0x080976AC adds r4, r0, #0 adds r5, r1, #0 ldr r0, _080976C8 @ gUnknown_08A18808 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080976C2 strh r4, [r0, #0x2a] @@ -300359,7 +300359,7 @@ sub_80976CC: @ 0x080976CC lsls r3, r3, #0x18 lsrs r5, r3, #0x18 ldr r0, _080976FC @ gUnknown_08A18808 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080976F6 adds r1, r0, #0 @@ -300391,7 +300391,7 @@ sub_8097700: @ 0x08097700 adds r1, r4, r2 bl CopyDataWithPossibleUncomp ldr r0, _08097744 @ gUnknown_08A18808 - bl Find6C + bl Proc_Find adds r2, r0, #0 cmp r2, #0 beq _08097730 @@ -300422,7 +300422,7 @@ sub_8097748: @ 0x08097748 ldr r6, [sp, #0x18] ldr r0, _0809779C @ gUnknown_08A18808 adds r1, r4, #0 - bl New6C + bl Proc_Create adds r4, r0, #0 mov r0, r8 strh r0, [r4, #0x2a] @@ -300837,7 +300837,7 @@ _08097A6E: cmp r0, #0x28 bne _08097A92 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08097A92: pop {r3, r4} mov r8, r3 @@ -300862,7 +300862,7 @@ sub_8097AAC: @ 0x08097AAC lsrs r4, r4, #0x18 ldr r0, _08097AC8 @ gUnknown_08A18840 adds r1, r2, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r1, r0, #0 adds r1, #0x2a strb r4, [r1] @@ -301101,7 +301101,7 @@ _08097C40: cmp r5, #0x27 ble _08097CB4 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback adds r0, r6, #0 adds r0, #0x2a ldrb r0, [r0] @@ -301166,7 +301166,7 @@ sub_8097CD8: @ 0x08097CD8 orrs r0, r1 strb r0, [r2, #1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08097D04: ldrh r0, [r4, #0x2c] adds r0, #1 @@ -301184,7 +301184,7 @@ sub_8097D14: @ 0x08097D14 lsls r4, r4, #0x10 lsrs r4, r4, #0x10 ldr r0, _08097D4C @ gUnknown_08A18888 - bl New6C + bl Proc_Create movs r1, #0 strh r1, [r0, #0x2c] strh r4, [r0, #0x2a] @@ -301253,7 +301253,7 @@ sub_8097D80: @ 0x08097D80 beq _08097D9C bl sub_8089018 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _08097D9C: pop {r4} pop {r0} @@ -301281,7 +301281,7 @@ _08097DC4: bl sub_8088DE0 ldr r0, _08097DDC @ gUnknown_08A188A8 adds r1, r6, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r4, r5, r6} pop {r1} bx r1 @@ -302224,7 +302224,7 @@ sub_80984A8: @ 0x080984A8 adds r6, r2, #0 adds r1, r3, #0 ldr r0, _080984C8 @ gUnknown_08A18944 - bl New6C + bl Proc_Create movs r1, #0 str r1, [r0, #0x38] str r4, [r0, #0x2c] @@ -302242,7 +302242,7 @@ sub_80984CC: @ 0x080984CC adds r4, r0, #0 adds r5, r1, #0 ldr r0, _080984E8 @ gUnknown_08A18944 - bl Find6C + bl Proc_Find movs r1, #1 str r1, [r0, #0x38] str r4, [r0, #0x2c] @@ -302257,7 +302257,7 @@ _080984E8: .4byte gUnknown_08A18944 sub_80984EC: @ 0x080984EC push {lr} ldr r0, _080984FC @ gUnknown_08A18944 - bl Find6C + bl Proc_Find movs r1, #0 str r1, [r0, #0x38] pop {r0} @@ -302269,8 +302269,8 @@ _080984FC: .4byte gUnknown_08A18944 sub_8098500: @ 0x08098500 push {lr} ldr r0, _08098510 @ gUnknown_08A18944 - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -302317,7 +302317,7 @@ sub_8098554: @ 0x08098554 push {lr} adds r1, r0, #0 ldr r0, _0809856C @ gUnknown_08A1898C - bl New6C + bl Proc_Create movs r1, #0 str r1, [r0, #0x34] str r1, [r0, #0x2c] @@ -302333,7 +302333,7 @@ sub_8098570: @ 0x08098570 adds r4, r0, #0 adds r5, r1, #0 ldr r0, _0809858C @ gUnknown_08A1898C - bl Find6C + bl Proc_Find movs r1, #1 str r1, [r0, #0x34] str r4, [r0, #0x2c] @@ -302348,7 +302348,7 @@ _0809858C: .4byte gUnknown_08A1898C sub_8098590: @ 0x08098590 push {lr} ldr r0, _080985A0 @ gUnknown_08A1898C - bl Find6C + bl Proc_Find movs r1, #0 str r1, [r0, #0x34] pop {r0} @@ -302360,8 +302360,8 @@ _080985A0: .4byte gUnknown_08A1898C sub_80985A4: @ 0x080985A4 push {lr} ldr r0, _080985B4 @ gUnknown_08A1898C - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -303069,7 +303069,7 @@ sub_8098BE8: @ 0x08098BE8 beq _08098C0C ldr r0, _08098C08 @ sub_8098B68 bl Find6CDifferedLoop - bl Delete6C + bl Proc_Delete b _08098C16 .align 2, 0 _08098C04: .4byte gUnknown_03005280 @@ -303077,14 +303077,14 @@ _08098C08: .4byte sub_8098B68 _08098C0C: ldr r0, _08098C30 @ sub_8098B48 bl Find6CDifferedLoop - bl Delete6C + bl Proc_Delete _08098C16: ldr r0, _08098C34 @ sub_8098BA8 bl Find6CDifferedLoop - bl Delete6C + bl Proc_Delete ldr r0, _08098C38 @ sub_8098BC8 bl Find6CDifferedLoop - bl Delete6C + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -303643,7 +303643,7 @@ sub_80990D4: @ 0x080990D4 adds r1, r4, #0 bl sub_808894C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -303684,7 +303684,7 @@ _08099132: cmp r0, #0 beq _08099150 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08099314 .align 2, 0 _0809914C: .4byte gUnknown_0858791C @@ -303751,7 +303751,7 @@ _080991A8: _080991D0: adds r0, r6, #0 movs r1, #0xd - bl Goto6CLabel + bl Proc_GotoLabel b _08099314 .align 2, 0 _080991DC: .4byte gUnknown_0202BCF0 @@ -303824,7 +303824,7 @@ _08099234: adds r0, r6, #0 movs r1, #2 _0809926A: - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _08099284 @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -303856,7 +303856,7 @@ _08099288: _080992A8: adds r0, r6, #0 movs r1, #0xd - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _080992C8 @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -304551,7 +304551,7 @@ _080998A8: adds r0, r5, #0 movs r1, #0xc _080998B4: - bl Goto6CLabel + bl Proc_GotoLabel _080998B8: ldr r0, _080998D0 @ gUnknown_0202BCF0 adds r0, #0x41 @@ -304606,7 +304606,7 @@ _080998F0: _08099920: adds r0, r5, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel b _08099A90 .align 2, 0 _0809992C: .4byte gUnknown_0202BCF0 @@ -305020,7 +305020,7 @@ _08099C82: cmp r0, #0 beq _08099CA0 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _08099DA2 .align 2, 0 _08099C9C: .4byte gUnknown_0858791C @@ -305052,7 +305052,7 @@ _08099CA0: _08099CD8: adds r0, r6, #0 movs r1, #6 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _08099CF4 @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -305085,7 +305085,7 @@ _08099D10: bl sub_8099F50 adds r0, r6, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _08099D3C @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -305284,7 +305284,7 @@ sub_8099E98: @ 0x08099E98 lsrs r0, r0, #0x10 mov sb, r0 ldr r0, _08099EF8 @ gUnknown_08A189A4 - bl Find6C + bl Proc_Find adds r5, r0, #0 lsls r1, r4, #2 adds r0, #0x44 @@ -305374,7 +305374,7 @@ sub_8099F68: @ 0x08099F68 push {lr} adds r1, r0, #0 ldr r0, _08099F78 @ gUnknown_08A189A4 - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r1} bx r1 .align 2, 0 @@ -307510,7 +307510,7 @@ _0809B09C: _0809B0AE: adds r0, r5, #0 movs r1, #0x63 - bl Goto6CLabel + bl Proc_GotoLabel b _0809B2D4 .align 2, 0 _0809B0B8: .4byte gUnknown_0202BCF0 @@ -307530,7 +307530,7 @@ _0809B0BC: _0809B0D6: adds r0, r5, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel b _0809B2D4 .align 2, 0 _0809B0E0: .4byte gUnknown_0202BCF0 @@ -307542,7 +307542,7 @@ _0809B0E4: beq _0809B0F8 adds r0, r5, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel b _0809B2D4 _0809B0F8: movs r2, #1 @@ -307577,7 +307577,7 @@ _0809B11A: _0809B134: adds r0, r5, #0 movs r1, #0xa - bl Goto6CLabel + bl Proc_GotoLabel b _0809B2D4 .align 2, 0 _0809B140: .4byte gUnknown_0202BCF0 @@ -307798,7 +307798,7 @@ sub_809B2DC: @ 0x0809B2DC cmp r1, #0x20 bne _0809B2FA adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0809B2FA: ldrh r2, [r4, #0x30] subs r2, #0x18 @@ -307844,7 +307844,7 @@ _0809B33C: cmp r1, #0 bne _0809B354 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0809B354: ldrh r2, [r4, #0x30] subs r2, #0x18 @@ -307934,7 +307934,7 @@ _0809B3D8: bl PlaySound _0809B3F8: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0809B3FE: pop {r4} pop {r0} @@ -307974,7 +307974,7 @@ sub_809B438: @ 0x0809B438 strb r5, [r0] ldr r0, [r4, #0x14] movs r1, #6 - bl Goto6CLabel + bl Proc_GotoLabel adds r4, #0x37 strb r5, [r4] pop {r4, r5} @@ -309148,7 +309148,7 @@ _0809BD90: cmp r0, #0 beq _0809BDB8 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r0, _0809BDB4 @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -309234,7 +309234,7 @@ sub_809BE3C: @ 0x0809BE3C adds r5, r1, #0 adds r1, r2, #0 ldr r0, _0809BE5C @ gUnknown_08A1901C - bl NewBlocking6C + bl Proc_CreateBlockingChild str r4, [r0, #0x2c] str r5, [r0, #0x30] movs r1, #1 @@ -309254,7 +309254,7 @@ sub_809BE60: @ 0x0809BE60 adds r6, r2, #0 adds r1, r3, #0 ldr r0, _0809BE7C @ gUnknown_08A1901C - bl NewBlocking6C + bl Proc_CreateBlockingChild str r4, [r0, #0x2c] str r5, [r0, #0x30] str r6, [r0, #0x40] @@ -310432,7 +310432,7 @@ _0809C848: _0809C89E: adds r0, r4, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel b _0809C93A .align 2, 0 _0809C8A8: .4byte gUnknown_0858791C @@ -310456,7 +310456,7 @@ _0809C8C8: beq _0809C8F0 adds r0, r4, #0 movs r1, #6 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _0809C8EC @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -310672,7 +310672,7 @@ _0809CA78: _0809CAA2: adds r0, r4, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel b _0809CB2A .align 2, 0 _0809CAAC: .4byte gUnknown_0202BCF0 @@ -310698,7 +310698,7 @@ _0809CAD4: bl sub_80ACA84 _0809CADA: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _0809CB2A .align 2, 0 _0809CAE4: .4byte gUnknown_0202BCF0 @@ -310791,14 +310791,14 @@ _0809CB78: _0809CB8A: adds r0, r4, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel b _0809CBA0 .align 2, 0 _0809CB94: .4byte gUnknown_0202BCF0 _0809CB98: adds r0, r4, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel _0809CBA0: pop {r4} pop {r0} @@ -310879,7 +310879,7 @@ sub_809CC40: @ 0x0809CC40 cmp r1, r0 bne _0809CC58 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0809CC58: pop {r4} pop {r0} @@ -310900,7 +310900,7 @@ sub_809CC60: @ 0x0809CC60 bne _0809CC84 adds r0, r4, #0 movs r1, #7 - bl Goto6CLabel + bl Proc_GotoLabel b _0809CC94 _0809CC84: ldr r0, [r4, #0x30] @@ -310910,7 +310910,7 @@ _0809CC84: str r0, [r4, #0x30] _0809CC8E: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0809CC94: pop {r4, r5} pop {r0} @@ -310968,7 +310968,7 @@ sub_809CCFC: @ 0x0809CCFC push {r4, lr} adds r4, r0, #0 ldr r0, _0809CD10 @ gUnknown_08A19064 - bl NewBlocking6C + bl Proc_CreateBlockingChild str r4, [r0, #0x2c] pop {r4} pop {r0} @@ -311265,7 +311265,7 @@ sub_809CF48: @ 0x0809CF48 beq _0809CF7C _0809CF76: adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0809CF7C: add sp, #4 pop {r4, r5} @@ -311291,7 +311291,7 @@ sub_809CF8C: @ 0x0809CF8C bne _0809CFB8 adds r0, r4, #0 movs r1, #6 - bl Goto6CLabel + bl Proc_GotoLabel b _0809CFD4 .align 2, 0 _0809CFB4: .4byte gUnknown_02024044 @@ -311536,7 +311536,7 @@ sub_809D17C: @ 0x0809D17C beq _0809D1B0 _0809D1AA: adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _0809D1B0: add sp, #4 pop {r4, r5} @@ -311562,7 +311562,7 @@ sub_809D1C0: @ 0x0809D1C0 bne _0809D1EC adds r0, r4, #0 movs r1, #6 - bl Goto6CLabel + bl Proc_GotoLabel b _0809D208 .align 2, 0 _0809D1E8: .4byte gUnknown_0202404A @@ -312042,7 +312042,7 @@ _0809D5B4: cmp r0, #0 bne _0809D5D4 ldr r0, _0809D5D0 @ gUnknown_08A1829C - bl Find6C + bl Proc_Find adds r0, #0x32 _0809D5C6: ldrb r0, [r0] @@ -312827,10 +312827,10 @@ sub_809DC70: @ 0x0809DC70 bl sub_80AD51C ldr r0, _0809DCC8 @ sub_809D7D4 bl Find6CDifferedLoop - bl Delete6C + bl Proc_Delete ldr r0, _0809DCCC @ sub_809D80C bl Find6CDifferedLoop - bl Delete6C + bl Proc_Delete ldr r0, _0809DCD0 @ sub_809D784 adds r1, r4, #0 bl Get6CDifferedLoop6C @@ -312891,7 +312891,7 @@ _0809DD08: bl sub_80AC9D4 ldr r0, _0809DD64 @ sub_809D784 bl Find6CDifferedLoop - bl Delete6C + bl Proc_Delete ldr r0, _0809DD68 @ sub_809D7D4 adds r1, r5, #0 bl Get6CDifferedLoop6C @@ -312909,7 +312909,7 @@ _0809DD08: _0809DD5A: adds r0, r5, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel b _0809DEEC .align 2, 0 _0809DD64: .4byte sub_809D784 @@ -312929,7 +312929,7 @@ _0809DD70: bl sub_80AC9D4 ldr r0, _0809DDC0 @ sub_809D784 bl Find6CDifferedLoop - bl Delete6C + bl Proc_Delete ldr r0, _0809DDC4 @ sub_809D80C adds r1, r5, #0 bl Get6CDifferedLoop6C @@ -312947,7 +312947,7 @@ _0809DD70: _0809DDB6: adds r0, r5, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel b _0809DEEC .align 2, 0 _0809DDC0: .4byte sub_809D784 @@ -312974,7 +312974,7 @@ _0809DDE8: beq _0809DE10 adds r0, r5, #0 movs r1, #8 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _0809DE0C @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -313271,7 +313271,7 @@ _0809E01E: bne _0809E04C adds r0, r6, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel _0809E04C: add sp, #4 pop {r4, r5, r6, r7} @@ -313360,7 +313360,7 @@ _0809E0C6: bne _0809E0F6 adds r0, r7, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel _0809E0F6: pop {r3} mov r8, r3 @@ -313719,7 +313719,7 @@ _0809E304: bne _0809E400 adds r0, r7, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _0809E3FC @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -313853,7 +313853,7 @@ _0809E4D4: beq _0809E520 adds r0, r4, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _0809E4FC @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -313907,7 +313907,7 @@ _0809E520: _0809E54A: adds r0, r4, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel adds r1, r4, #0 adds r1, #0x34 movs r0, #0 @@ -313935,7 +313935,7 @@ _0809E568: _0809E588: adds r0, r4, #0 movs r1, #6 - bl Goto6CLabel + bl Proc_GotoLabel adds r0, r4, #0 adds r0, #0x34 strb r5, [r0] @@ -314386,7 +314386,7 @@ sub_809E85C: @ 0x0809E85C _0809E906: adds r0, r5, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _0809E938 @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -314515,7 +314515,7 @@ _0809EA0C: beq _0809EA34 adds r0, r4, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _0809EA30 @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -314590,7 +314590,7 @@ _0809EAA4: cmp r0, #0 bne _0809EABE ldr r0, _0809EAD4 @ gUnknown_08A1829C - bl Find6C + bl Proc_Find adds r1, r4, #0 adds r1, #0x35 ldrb r1, [r1] @@ -314614,7 +314614,7 @@ sub_809EAD8: @ 0x0809EAD8 push {r4, lr} adds r4, r0, #0 ldr r0, _0809EAF0 @ gUnknown_08A1920C - bl NewBlocking6C + bl Proc_CreateBlockingChild str r4, [r0, #0x2c] adds r0, #0x30 movs r1, #0 @@ -314666,7 +314666,7 @@ sub_809EB38: @ 0x0809EB38 adds r4, r0, #0 ldr r0, _0809EB54 @ gUnknown_08A192EC movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] adds r0, #0x30 movs r1, #1 @@ -314683,7 +314683,7 @@ sub_809EB58: @ 0x0809EB58 adds r4, r0, #0 ldr r0, _0809EB74 @ gUnknown_08A192EC movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] adds r0, #0x30 movs r1, #2 @@ -314699,7 +314699,7 @@ sub_809EB78: @ 0x0809EB78 push {r4, lr} adds r4, r0, #0 ldr r0, _0809EBA4 @ gUnknown_08A1829C - bl Find6C + bl Proc_Find adds r2, r0, #0 movs r0, #0 strh r0, [r4, #0x36] @@ -315337,7 +315337,7 @@ sub_809F0FC: @ 0x0809F0FC _0809F120: .4byte gUnknown_03005280 _0809F124: ldr r0, _0809F14C @ gUnknown_08A1829C - bl Find6C + bl Proc_Find adds r1, r4, #0 adds r1, #0x33 ldrb r1, [r1] @@ -315528,7 +315528,7 @@ _0809F28A: bne _0809F2BA adds r0, r7, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _0809F2BA: pop {r3} mov r8, r3 @@ -315618,7 +315618,7 @@ _0809F336: bne _0809F366 adds r0, r7, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _0809F366: pop {r3} mov r8, r3 @@ -315899,7 +315899,7 @@ _0809F56E: bne _0809F5D0 adds r0, r6, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _0809F5CC @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -316130,7 +316130,7 @@ _0809F770: adds r0, r4, #0 movs r1, #6 _0809F774: - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _0809F790 @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -316151,7 +316151,7 @@ _0809F794: beq _0809F7E0 adds r0, r4, #0 movs r1, #8 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _0809F7BC @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -316205,7 +316205,7 @@ _0809F7E0: _0809F80A: adds r0, r4, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel adds r1, r4, #0 adds r1, #0x32 movs r0, #0 @@ -316233,7 +316233,7 @@ _0809F828: _0809F848: adds r0, r4, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel adds r0, r4, #0 adds r0, #0x32 strb r5, [r0] @@ -316821,7 +316821,7 @@ _0809FCCC: movs r0, #0 bl sub_80ACA84 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback adds r0, r5, #0 bl sub_809FB70 b _0809FD4E @@ -316833,7 +316833,7 @@ _0809FCE0: movs r0, #0 bl sub_80ACA84 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r0, _0809FD08 @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -316913,7 +316913,7 @@ sub_809FD88: @ 0x0809FD88 push {r4, lr} adds r4, r0, #0 ldr r0, _0809FD9C @ gUnknown_08A19424 - bl NewBlocking6C + bl Proc_CreateBlockingChild str r4, [r0, #0x2c] pop {r4} pop {r0} @@ -317652,7 +317652,7 @@ sub_80A03C4: @ 0x080A03C4 bl sub_80ACA84 ldr r0, _080A0420 @ sub_809FEFC bl Find6CDifferedLoop - bl Delete6C + bl Proc_Delete ldrb r1, [r5] lsls r1, r1, #4 adds r1, #0x48 @@ -317760,7 +317760,7 @@ _080A04BA: _080A04CE: adds r0, r4, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _080A04EC @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -317779,7 +317779,7 @@ _080A04F0: beq _080A0518 adds r0, r4, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _080A0514 @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -317917,7 +317917,7 @@ _080A0602: bl sub_809B74C adds r0, r4, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel b _080A0646 .align 2, 0 _080A0628: .4byte gUnknown_0202BCF0 @@ -317932,7 +317932,7 @@ _080A0634: _080A063E: adds r0, r4, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _080A0646: pop {r4, r5} pop {r0} @@ -317969,7 +317969,7 @@ _080A0674: _080A0680: adds r0, r1, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _080A069C @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -318042,7 +318042,7 @@ sub_80A070C: @ 0x080A070C push {r4, lr} adds r4, r0, #0 ldr r0, _080A0720 @ gUnknown_08A19528 - bl NewBlocking6C + bl Proc_CreateBlockingChild str r4, [r0, #0x2c] pop {r4} pop {r0} @@ -318319,7 +318319,7 @@ sub_80A0924: @ 0x080A0924 cmp r1, #2 bne _080A093E movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel _080A093E: pop {r0} bx r0 @@ -318329,7 +318329,7 @@ sub_80A0944: @ 0x080A0944 push {r4, lr} adds r4, r0, #0 ldr r0, _080A0958 @ gUnknown_08A1962C - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r0, #0x29 strb r4, [r0] pop {r4} @@ -319401,7 +319401,7 @@ sub_80A1140: @ 0x080A1140 adds r6, r2, #0 adds r1, r3, #0 ldr r0, _080A115C @ gUnknown_08A1973C - bl New6C + bl Proc_Create str r4, [r0, #0x2c] str r5, [r0, #0x30] str r6, [r0, #0x34] @@ -319415,8 +319415,8 @@ _080A115C: .4byte gUnknown_08A1973C sub_80A1160: @ 0x080A1160 push {lr} ldr r0, _080A1170 @ gUnknown_08A1973C - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -320027,7 +320027,7 @@ _080A1684: beq _080A16B0 adds r0, r6, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _080A16AC @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -320048,7 +320048,7 @@ _080A16B0: beq _080A16DC adds r0, r6, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _080A16D8 @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -320320,7 +320320,7 @@ _080A18D8: beq _080A1900 adds r0, r6, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _080A1914 @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -320391,7 +320391,7 @@ sub_80A196C: @ 0x080A196C push {lr} adds r1, r0, #0 ldr r0, _080A1980 @ gUnknown_08A1975C - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r0, #0x42 movs r1, #1 strb r1, [r0] @@ -320405,7 +320405,7 @@ sub_80A1984: @ 0x080A1984 push {lr} adds r1, r0, #0 ldr r0, _080A1998 @ gUnknown_08A1975C - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r0, #0x42 movs r1, #0 strb r1, [r0] @@ -320536,7 +320536,7 @@ sub_80A1A90: @ 0x080A1A90 push {r4, lr} adds r4, r0, #0 ldr r0, _080A1AA8 @ gUnknown_08A1975C - bl Find6C + bl Proc_Find cmp r0, #0 beq _080A1AA0 str r4, [r0, #0x3c] @@ -321751,7 +321751,7 @@ sub_80A2448: @ 0x080A2448 _080A2470: adds r0, r6, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel b _080A25EA .align 2, 0 _080A247C: .4byte gUnknown_0858791C @@ -321765,7 +321765,7 @@ _080A2484: beq _080A249A adds r0, r6, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel b _080A25EA _080A249A: movs r0, #0x80 @@ -321775,7 +321775,7 @@ _080A249A: beq _080A24AE adds r0, r6, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel b _080A25EA _080A24AE: adds r0, r6, #0 @@ -321813,7 +321813,7 @@ _080A24CA: _080A24EC: adds r0, r6, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel b _080A25EA .align 2, 0 _080A24F8: .4byte gUnknown_0202BCF0 @@ -322233,7 +322233,7 @@ sub_80A2800: @ 0x080A2800 cmp r0, #0xa bne _080A2864 adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r0, [r7, #0x2c] bl sub_80A0AA0 str r0, [r7, #0x2c] @@ -322290,7 +322290,7 @@ sub_80A286C: @ 0x080A286C cmp r0, #0xa bne _080A28D4 mov r0, r8 - bl Break6CLoop + bl Proc_ClearNativeCallback _080A28D4: pop {r3} mov r8, r3 @@ -322340,7 +322340,7 @@ sub_80A28E0: @ 0x080A28E0 cmp r0, #0xa bne _080A2944 adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r0, [r7, #0x2c] bl sub_80A0AC0 str r0, [r7, #0x2c] @@ -322398,7 +322398,7 @@ sub_80A294C: @ 0x080A294C cmp r0, #0xa bne _080A29B6 mov r0, r8 - bl Break6CLoop + bl Proc_ClearNativeCallback _080A29B6: pop {r3} mov r8, r3 @@ -322685,7 +322685,7 @@ sub_80A2C08: @ 0x080A2C08 lsls r4, r4, #0x18 lsrs r4, r4, #0x18 ldr r0, _080A2C28 @ gUnknown_08A19880 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r1, r0, #0 adds r1, #0x38 strb r4, [r1] @@ -333756,7 +333756,7 @@ _080A80AC: cmp r0, #0x10 ble _080A819E ldr r0, [sp, #0x14] - bl Break6CLoop + bl Proc_ClearNativeCallback _080A819E: add sp, #0x1c pop {r3, r4, r5} @@ -334014,7 +334014,7 @@ _080A82C4: cmp r0, #0x10 ble _080A83B6 ldr r0, [sp, #0x14] - bl Break6CLoop + bl Proc_ClearNativeCallback _080A83B6: add sp, #0x1c pop {r3, r4, r5} @@ -334534,7 +334534,7 @@ _080A8794: cmp r0, #0 beq _080A87B4 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080A87B4: add sp, #4 pop {r4} @@ -334550,7 +334550,7 @@ sub_80A87C8: @ 0x080A87C8 push {lr} ldr r0, _080A87D8 @ gUnknown_08A1FB38 movs r1, #3 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -334561,7 +334561,7 @@ sub_80A87DC: @ 0x080A87DC push {lr} adds r1, r0, #0 ldr r0, _080A87EC @ gUnknown_08A1FB38 - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r0} bx r0 .align 2, 0 @@ -334597,7 +334597,7 @@ _080A8828: .4byte gUnknown_020234A8 sub_80A882C: @ 0x080A882C push {lr} movs r1, #0x12 - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #0xc0 movs r1, #0 movs r2, #0x10 @@ -335584,7 +335584,7 @@ sub_80A9014: @ 0x080A9014 adds r1, r0, #0 adds r1, #0x2e ldrb r1, [r1] - bl Goto6CLabel + bl Proc_GotoLabel pop {r0} bx r0 @@ -335773,7 +335773,7 @@ _080A91B4: _080A91CA: adds r0, r5, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel b _080A9246 _080A91D4: adds r4, r5, #0 @@ -335785,7 +335785,7 @@ _080A91D4: strb r0, [r4] adds r0, r5, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel movs r1, #0x80 lsls r1, r1, #1 movs r0, #0xc0 @@ -335807,7 +335807,7 @@ _080A91FC: _080A9210: adds r0, r5, #0 movs r1, #8 - bl Goto6CLabel + bl Proc_GotoLabel b _080A9246 _080A921A: movs r0, #2 @@ -335825,7 +335825,7 @@ _080A921A: _080A9234: adds r0, r5, #0 movs r1, #0x12 - bl Goto6CLabel + bl Proc_GotoLabel adds r1, r5, #0 adds r1, #0x42 movs r0, #0x80 @@ -335942,7 +335942,7 @@ _080A92FC: bl sub_80A4E08 adds r0, r4, #0 movs r1, #6 - bl Goto6CLabel + bl Proc_GotoLabel b _080A9488 _080A9312: movs r0, #2 @@ -336015,7 +336015,7 @@ _080A9386: bne _080A947A adds r0, r4, #0 movs r1, #0xe - bl Goto6CLabel + bl Proc_GotoLabel b _080A947A .align 2, 0 _080A93A0: .4byte gUnknown_0202BCF0 @@ -336055,7 +336055,7 @@ _080A93DC: bl sub_80A4DC8 adds r0, r4, #0 movs r1, #6 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _080A9408 @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -336089,7 +336089,7 @@ _080A9424: _080A9432: adds r0, r4, #0 movs r1, #6 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _080A9450 @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -336104,7 +336104,7 @@ _080A9450: .4byte gUnknown_0202BCF0 _080A9454: adds r0, r4, #0 movs r1, #0x11 - bl Goto6CLabel + bl Proc_GotoLabel ldrh r1, [r5] movs r2, #0x80 lsls r2, r2, #1 @@ -336338,7 +336338,7 @@ _080A9620: bl sub_80A9250 adds r0, r5, #0 movs r1, #6 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _080A9644 @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -336401,7 +336401,7 @@ _080A969C: beq _080A96C0 adds r0, r5, #0 movs r1, #0x11 - bl Goto6CLabel + bl Proc_GotoLabel ldrh r1, [r4] movs r2, #0x80 lsls r2, r2, #1 @@ -336412,7 +336412,7 @@ _080A969C: _080A96C0: adds r0, r5, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel _080A96C8: pop {r4, r5} pop {r0} @@ -336506,7 +336506,7 @@ _080A9764: bne _080A978E adds r0, r7, #0 movs r1, #0x12 - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #0xc0 movs r1, #0 movs r2, #0x10 @@ -336518,7 +336518,7 @@ _080A978E: bne _080A979C adds r0, r7, #0 movs r1, #0x11 - bl Goto6CLabel + bl Proc_GotoLabel b _080A9828 _080A979C: adds r0, r7, #0 @@ -336549,7 +336549,7 @@ _080A97C0: _080A97D0: adds r0, r7, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel b _080A9828 _080A97DA: cmp r0, #0x30 @@ -336585,7 +336585,7 @@ _080A97DA: _080A981A: adds r0, r7, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel b _080A99AC .align 2, 0 _080A9824: .4byte gUnknown_0202BCF0 @@ -336816,7 +336816,7 @@ sub_80A99C0: @ 0x080A99C0 cmp r0, #0xe bne _080A9A02 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080A9A02: pop {r4, r5} pop {r0} @@ -336862,7 +336862,7 @@ sub_80A9A18: @ 0x080A9A18 ldr r1, _080A9A64 @ 0x06014000 bl CopyDataWithPossibleUncomp adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080A9A5A: pop {r4, r5} pop {r0} @@ -336902,7 +336902,7 @@ sub_80A9A68: @ 0x080A9A68 bne _080A9AA8 adds r0, r5, #0 movs r1, #0xa - bl Goto6CLabel + bl Proc_GotoLabel _080A9AA8: pop {r4, r5} pop {r0} @@ -336937,7 +336937,7 @@ sub_80A9AB0: @ 0x080A9AB0 bne _080A9AEC adds r0, r5, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel _080A9AEC: pop {r4, r5} pop {r0} @@ -336979,7 +336979,7 @@ sub_80A9AF4: @ 0x080A9AF4 bne _080A9B3E adds r0, r5, #0 movs r1, #0xb - bl Goto6CLabel + bl Proc_GotoLabel _080A9B3E: pop {r4, r5} pop {r0} @@ -337018,7 +337018,7 @@ sub_80A9B44: @ 0x080A9B44 bne _080A9B88 adds r0, r5, #0 movs r1, #0xa - bl Goto6CLabel + bl Proc_GotoLabel _080A9B88: pop {r4, r5} pop {r0} @@ -337167,7 +337167,7 @@ _080A9C96: bl sub_80029E8 adds r0, r4, #0 movs r1, #0xe - bl Goto6CLabel + bl Proc_GotoLabel b _080A9D14 _080A9CA6: bl sub_80A4DA0 @@ -337191,14 +337191,14 @@ _080A9CA6: _080A9CD2: adds r0, r4, #0 movs r1, #0xc - bl Goto6CLabel + bl Proc_GotoLabel b _080A9D14 _080A9CDC: adds r0, r4, #0 bl sub_80A882C adds r0, r4, #0 movs r1, #0x12 - bl Goto6CLabel + bl Proc_GotoLabel b _080A9D14 _080A9CEC: movs r0, #2 @@ -337210,7 +337210,7 @@ _080A9CEC: strb r1, [r0] adds r0, r4, #0 movs r1, #9 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _080A9D1C @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -337337,7 +337337,7 @@ sub_80A9DBC: @ 0x080A9DBC _080A9DE0: bl sub_8089018 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080A9DEA: pop {r4} pop {r0} @@ -337355,7 +337355,7 @@ sub_80A9DFC: @ 0x080A9DFC adds r4, r2, #0 adds r1, r3, #0 ldr r0, _080A9E18 @ gUnknown_08A20068 - bl NewBlocking6C + bl Proc_CreateBlockingChild str r4, [r0, #0x58] str r5, [r0, #0x2c] str r6, [r0, #0x30] @@ -337490,7 +337490,7 @@ _080A9EEA: bl LoadGame adds r0, r4, #0 movs r1, #0xe - bl Goto6CLabel + bl Proc_GotoLabel b _080A9F86 _080A9F18: ldr r2, _080A9F20 @ 0x00000892 @@ -337519,7 +337519,7 @@ _080A9F24: bl LoadGame adds r0, r4, #0 movs r1, #0xe - bl Goto6CLabel + bl Proc_GotoLabel b _080A9F86 _080A9F52: ldr r2, _080A9F58 @ 0x00000891 @@ -337609,7 +337609,7 @@ _080A9FF4: strb r5, [r0] adds r0, r4, #0 movs r1, #0xd - bl Goto6CLabel + bl Proc_GotoLabel _080AA00A: pop {r4, r5} pop {r0} @@ -337626,7 +337626,7 @@ sub_80AA018: @ 0x080AA018 movs r2, #2 bl sub_80ABBB0 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -337641,7 +337641,7 @@ sub_80AA030: @ 0x080AA030 bl TCSWrapper_Delete _080AA03E: ldr r0, [r4, #0x58] - bl Delete6C + bl Proc_Delete movs r0, #0 bl SetPrimaryHBlankHandler adds r5, r4, #0 @@ -337762,7 +337762,7 @@ sub_80AA118: @ 0x080AA118 movs r0, #0x7f strb r0, [r4, #0xe] ldr r0, [r5, #0x14] - bl Delete6C + bl Proc_Delete pop {r4, r5} pop {r0} bx r0 @@ -337774,7 +337774,7 @@ sub_80AA144: @ 0x080AA144 push {lr} adds r1, r0, #0 ldr r0, _080AA154 @ gUnknown_08A20098 - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r0} bx r0 .align 2, 0 @@ -337789,7 +337789,7 @@ sub_80AA158: @ 0x080AA158 movs r0, #0x20 strh r0, [r1] ldr r0, [r4, #0x58] - bl Delete6C + bl Proc_Delete movs r0, #0 bl SetPrimaryHBlankHandler ldr r0, [r4, #0x60] @@ -337851,11 +337851,11 @@ _080AA1D2: bne _080AA1E8 _080AA1DA: movs r1, #0xb - bl Goto6CLabel + bl Proc_GotoLabel b _080AA1E8 _080AA1E2: movs r1, #0xa - bl Goto6CLabel + bl Proc_GotoLabel _080AA1E8: pop {r0} bx r0 @@ -337953,7 +337953,7 @@ _080AA26A: cmp r0, #0x10 bne _080AA29E adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080AA29E: pop {r4, r5} pop {r0} @@ -338007,7 +338007,7 @@ _080AA2CA: cmp r0, #0x10 bne _080AA302 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080AA302: pop {r4, r5} pop {r0} @@ -338096,9 +338096,9 @@ sub_80AA30C: @ 0x080AA30C ldrb r0, [r0] bl sub_80ABD88 movs r0, #0xc - bl UnblockEach6CMarked + bl Proc_UnblockEachWithMark movs r0, #0xd - bl UnblockEach6CMarked + bl Proc_UnblockEachWithMark movs r0, #3 bl BG_EnableSyncByMask adds r0, r6, #0 @@ -338150,12 +338150,12 @@ sub_80AA458: @ 0x080AA458 bne _080AA46E adds r0, r1, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel b _080AA476 _080AA46E: adds r0, r1, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel _080AA476: pop {r0} bx r0 @@ -338204,7 +338204,7 @@ Make6C_savemenu: @ 0x080AA4C0 push {lr} adds r1, r0, #0 ldr r0, _080AA4F0 @ gUnknown_08A200B8 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r3, r0, #0 adds r3, #0x42 movs r2, #0 @@ -338240,7 +338240,7 @@ sub_80AA4F8: @ 0x080AA4F8 bne _080AA510 adds r0, r2, #0 movs r1, #0x14 - bl Goto6CLabel + bl Proc_GotoLabel _080AA510: pop {r0} bx r0 @@ -338252,7 +338252,7 @@ Make6C_savemenu2: @ 0x080AA518 push {lr} adds r1, r0, #0 ldr r0, _080AA528 @ gUnknown_08A203A8 - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r0} bx r0 .align 2, 0 @@ -338264,7 +338264,7 @@ savemenu_SetDifficultyChoice: @ 0x080AA52C adds r4, r0, #0 adds r5, r1, #0 ldr r0, _080AA54C @ gUnknown_08A200B8 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080AA546 adds r1, r0, #0 @@ -338358,7 +338358,7 @@ _080AA5D2: _080AA5E6: adds r0, r5, #0 movs r1, #0xa - bl Goto6CLabel + bl Proc_GotoLabel b _080AA600 .align 2, 0 _080AA5F0: .4byte gUnknown_08A204B8 @@ -338407,7 +338407,7 @@ _080AA648: .4byte gUnknown_0202BCF0 _080AA64C: adds r0, r1, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel _080AA654: pop {r0} bx r0 @@ -338441,7 +338441,7 @@ _080AA68C: .4byte gUnknown_0202BCF0 _080AA690: adds r0, r1, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _080AA698: pop {r0} bx r0 @@ -338466,7 +338466,7 @@ sub_80AA69C: @ 0x080AA69C beq _080AA6D0 bl sub_8089018 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080AA6D0 .align 2, 0 _080AA6C8: .4byte gUnknown_0858791C @@ -338494,7 +338494,7 @@ sub_80AA6EC: @ 0x080AA6EC push {lr} adds r1, r0, #0 ldr r0, _080AA6FC @ gUnknown_08A204BC - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r0} bx r0 .align 2, 0 @@ -340031,7 +340031,7 @@ New6C_savedraw: @ 0x080AB300 push {lr} adds r1, r0, #0 ldr r0, _080AB310 @ gUnknown_08A206A8 - bl New6C + bl Proc_Create pop {r1} bx r1 .align 2, 0 @@ -340329,7 +340329,7 @@ sub_80AB534: @ 0x080AB534 push {lr} adds r1, r0, #0 ldr r0, _080AB544 @ gUnknown_08A206D8 - bl New6C + bl Proc_Create pop {r1} bx r1 .align 2, 0 @@ -340596,7 +340596,7 @@ sub_80AB760: @ 0x080AB760 push {lr} ldr r0, _080AB774 @ gUnknown_08A206F8 movs r1, #3 - bl New6C + bl Proc_Create ldr r0, _080AB778 @ gUnknown_02000000 bl sub_8014DA8 pop {r0} @@ -340609,7 +340609,7 @@ _080AB778: .4byte gUnknown_02000000 sub_80AB77C: @ 0x080AB77C push {lr} ldr r0, _080AB790 @ gUnknown_08A206F8 - bl DeleteEach6C + bl Proc_DeleteAllWithScript movs r0, #0 bl SetPrimaryHBlankHandler pop {r0} @@ -341165,7 +341165,7 @@ _080ABB5E: cmp r0, #0x27 bls _080ABBA8 mov r0, ip - bl Break6CLoop + bl Proc_ClearNativeCallback _080ABBA8: pop {r4} pop {r0} @@ -341183,7 +341183,7 @@ sub_80ABBB0: @ 0x080ABBB0 lsrs r5, r5, #0x18 ldr r0, _080ABBE0 @ gUnknown_08A2073C adds r1, r3, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r2, r0, #0 adds r2, #0x2a movs r1, #0 @@ -341217,7 +341217,7 @@ sub_80ABC00: @ 0x080ABC00 push {lr} adds r1, r0, #0 ldr r0, _080ABC10 @ gUnknown_08A2075C - bl New6C + bl Proc_Create pop {r1} bx r1 .align 2, 0 @@ -341995,7 +341995,7 @@ _080AC1F2: cmp r4, #0x10 bne _080AC220 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080AC220: pop {r4, r5} pop {r0} @@ -342044,7 +342044,7 @@ _080AC248: cmp r4, #0x10 bne _080AC27C adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080AC27C: pop {r4, r5} pop {r0} @@ -342194,7 +342194,7 @@ _080AC388: _080AC390: adds r0, r4, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _080AC398: ldr r0, _080AC3D4 @ gUnknown_0858791C ldr r0, [r0] @@ -342219,7 +342219,7 @@ _080AC3BC: bl savemenu_SetDifficultyChoice adds r0, r4, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel _080AC3CC: pop {r4} pop {r0} @@ -342237,7 +342237,7 @@ NewNewGameDifficultySelect: @ 0x080AC3E0 push {lr} adds r1, r0, #0 ldr r0, _080AC3F0 @ gUnknown_08A20A10 - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r0} bx r0 .align 2, 0 @@ -342584,7 +342584,7 @@ sub_80AC698: @ 0x080AC698 push {lr} adds r1, r0, #0 ldr r0, _080AC6A8 @ gUnknown_08A20B1C - bl New6C + bl Proc_Create pop {r1} bx r1 .align 2, 0 @@ -343002,7 +343002,7 @@ sub_80AC9C0: @ 0x080AC9C0 push {lr} adds r1, r0, #0 ldr r0, _080AC9D0 @ gUnknown_08A20B4C - bl New6C + bl Proc_Create pop {r1} bx r1 .align 2, 0 @@ -343019,7 +343019,7 @@ sub_80AC9D4: @ 0x080AC9D4 lsls r3, r3, #0x18 lsrs r6, r3, #0x18 ldr r0, _080ACA38 @ gUnknown_08A20B4C - bl Find6C + bl Proc_Find adds r4, r0, #0 cmp r4, #0 beq _080ACA2E @@ -343073,7 +343073,7 @@ sub_80ACA4C: @ 0x080ACA4C adds r6, r2, #0 adds r7, r3, #0 ldr r0, _080ACA80 @ gUnknown_08A20B4C - bl Find6C + bl Proc_Find adds r1, r0, #0 cmp r1, #0 beq _080ACA7A @@ -343101,7 +343101,7 @@ sub_80ACA84: @ 0x080ACA84 push {r4, lr} adds r4, r0, #0 ldr r0, _080ACAA0 @ gUnknown_08A20B4C - bl Find6C + bl Proc_Find cmp r0, #0 beq _080ACA9A adds r0, #0x3c @@ -343119,7 +343119,7 @@ _080ACAA0: .4byte gUnknown_08A20B4C sub_80ACAA4: @ 0x080ACAA4 push {lr} ldr r0, _080ACAC4 @ gUnknown_08A20B4C - bl Find6C + bl Proc_Find cmp r0, #0 beq _080ACAC0 adds r1, r0, #0 @@ -343141,11 +343141,11 @@ _080ACAC4: .4byte gUnknown_08A20B4C sub_80ACAC8: @ 0x080ACAC8 push {lr} ldr r0, _080ACAE0 @ gUnknown_08A20B4C - bl Find6C + bl Proc_Find cmp r0, #0 beq _080ACADA movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _080ACADA: pop {r0} bx r0 @@ -343156,11 +343156,11 @@ _080ACAE0: .4byte gUnknown_08A20B4C sub_80ACAE4: @ 0x080ACAE4 push {lr} ldr r0, _080ACAFC @ gUnknown_08A20B4C - bl Find6C + bl Proc_Find cmp r0, #0 beq _080ACAF6 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel _080ACAF6: pop {r0} bx r0 @@ -343171,8 +343171,8 @@ _080ACAFC: .4byte gUnknown_08A20B4C sub_80ACB00: @ 0x080ACB00 push {lr} ldr r0, _080ACB10 @ gUnknown_08A20B4C - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -343422,7 +343422,7 @@ sub_80ACCE0: @ 0x080ACCE0 push {lr} adds r1, r0, #0 ldr r0, _080ACCF0 @ gUnknown_08A20B94 - bl New6C + bl Proc_Create pop {r1} bx r1 .align 2, 0 @@ -343435,7 +343435,7 @@ sub_80ACCF4: @ 0x080ACCF4 adds r4, r1, #0 adds r7, r2, #0 ldr r0, _080ACD4C @ gUnknown_08A20B94 - bl Find6C + bl Proc_Find adds r5, r0, #0 cmp r5, #0 beq _080ACD44 @@ -343484,7 +343484,7 @@ sub_80ACD60: @ 0x080ACD60 push {r4, lr} adds r4, r0, #0 ldr r0, _080ACD78 @ gUnknown_08A20B94 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080ACD70 str r4, [r0, #0x30] @@ -343503,7 +343503,7 @@ sub_80ACD7C: @ 0x080ACD7C adds r6, r2, #0 adds r7, r3, #0 ldr r0, _080ACDA0 @ gUnknown_08A20B94 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080ACD98 str r4, [r0, #0x34] @@ -343522,7 +343522,7 @@ sub_80ACDA4: @ 0x080ACDA4 push {r4, lr} adds r4, r0, #0 ldr r0, _080ACDD8 @ gUnknown_08A20B94 - bl Find6C + bl Proc_Find adds r1, r0, #0 cmp r1, #0 beq _080ACDD2 @@ -343555,8 +343555,8 @@ _080ACDD8: .4byte gUnknown_08A20B94 sub_80ACDDC: @ 0x080ACDDC push {lr} ldr r0, _080ACDEC @ gUnknown_08A20B94 - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -343580,7 +343580,7 @@ sub_80ACDF8: @ 0x080ACDF8 ldr r1, [r4, #0x34] bl _call_via_r1 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080ACE12: ldr r0, [r4, #0x30] adds r0, #1 @@ -343596,7 +343596,7 @@ sub_80ACE20: @ 0x080ACE20 adds r4, r1, #0 adds r1, r2, #0 ldr r0, _080ACE38 @ gUnknown_08A20BB4 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] str r5, [r0, #0x34] pop {r4, r5} @@ -344058,11 +344058,11 @@ sub_80AD1AC: @ 0x080AD1AC adds r5, r0, #0 ldr r4, _080AD1CC @ gUnknown_08A20BD4 adds r0, r4, #0 - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete adds r0, r4, #0 adds r1, r5, #0 - bl New6C + bl Proc_Create pop {r4, r5} pop {r1} bx r1 @@ -344074,7 +344074,7 @@ sub_80AD1D0: @ 0x080AD1D0 push {r4, lr} adds r4, r0, #0 ldr r0, _080AD1F8 @ gUnknown_08A20BD4 - bl Find6C + bl Proc_Find adds r1, r0, #0 cmp r1, #0 beq _080AD1F2 @@ -344109,7 +344109,7 @@ sub_80AD204: @ 0x080AD204 lsrs r0, r0, #0x10 mov r8, r0 ldr r0, _080AD268 @ gUnknown_08A20BD4 - bl Find6C + bl Proc_Find adds r3, r0, #0 cmp r3, #0 beq _080AD25C @@ -344154,7 +344154,7 @@ sub_80AD26C: @ 0x080AD26C push {r4, lr} adds r4, r0, #0 ldr r0, _080AD288 @ gUnknown_08A20BD4 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080AD282 adds r0, #0x4a @@ -344172,11 +344172,11 @@ _080AD288: .4byte gUnknown_08A20BD4 sub_80AD28C: @ 0x080AD28C push {lr} ldr r0, _080AD2A4 @ gUnknown_08A20BD4 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080AD29E movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _080AD29E: pop {r0} bx r0 @@ -344187,12 +344187,12 @@ _080AD2A4: .4byte gUnknown_08A20BD4 sub_80AD2A8: @ 0x080AD2A8 push {r4, lr} ldr r0, _080AD2D0 @ gUnknown_08A20BD4 - bl Find6C + bl Proc_Find adds r4, r0, #0 cmp r4, #0 beq _080AD2C8 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel adds r0, r4, #0 adds r0, #0x4e ldrh r0, [r0] @@ -344209,8 +344209,8 @@ _080AD2D0: .4byte gUnknown_08A20BD4 sub_80AD2D4: @ 0x080AD2D4 push {lr} ldr r0, _080AD2E4 @ gUnknown_08A20BD4 - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -344236,7 +344236,7 @@ Get6CDifferedLoop6C: @ 0x080AD2F8 bne _080AD310 ldr r0, _080AD318 @ gUnknown_08A20C04 adds r1, r5, #0 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] _080AD310: pop {r4, r5} @@ -344250,10 +344250,10 @@ DeleteEach6CDifferedLoop: @ 0x080AD31C push {lr} b _080AD324 _080AD320: - bl Delete6C + bl Proc_Delete _080AD324: ldr r0, _080AD334 @ gUnknown_08A20C04 - bl Find6C + bl Proc_Find cmp r0, #0 bne _080AD320 pop {r0} @@ -344275,7 +344275,7 @@ _080AD340: b _080AD358 _080AD34A: ldr r0, _080AD360 @ gUnknown_08A20C04 - bl Find6C_ + bl Proc_FindAfter adds r1, r0, #0 cmp r1, #0 bne _080AD340 @@ -344433,11 +344433,11 @@ sub_80AD47C: @ 0x080AD47C adds r5, r0, #0 ldr r4, _080AD49C @ gUnknown_08A20C1C adds r0, r4, #0 - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete adds r0, r4, #0 adds r1, r5, #0 - bl New6C + bl Proc_Create pop {r4, r5} pop {r1} bx r1 @@ -344450,7 +344450,7 @@ sub_80AD4A0: @ 0x080AD4A0 adds r5, r0, #0 adds r4, r1, #0 ldr r0, _080AD4D8 @ gUnknown_08A20C1C - bl Find6C + bl Proc_Find adds r2, r0, #0 cmp r2, #0 beq _080AD4D0 @@ -344482,7 +344482,7 @@ sub_80AD4E4: @ 0x080AD4E4 push {r4, lr} adds r4, r0, #0 ldr r0, _080AD4FC @ gUnknown_08A20C1C - bl Find6C + bl Proc_Find cmp r0, #0 beq _080AD4F4 str r4, [r0, #0x2c] @@ -344498,7 +344498,7 @@ sub_80AD500: @ 0x080AD500 push {r4, lr} adds r4, r0, #0 ldr r0, _080AD518 @ gUnknown_08A20C1C - bl Find6C + bl Proc_Find cmp r0, #0 beq _080AD510 str r4, [r0, #0x30] @@ -344518,7 +344518,7 @@ sub_80AD51C: @ 0x080AD51C lsls r3, r3, #0x10 lsrs r7, r3, #0x10 ldr r0, _080AD544 @ gUnknown_08A20C1C - bl Find6C + bl Proc_Find adds r1, r0, #0 cmp r1, #0 beq _080AD55C @@ -344541,7 +344541,7 @@ _080AD548: _080AD554: adds r0, r1, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _080AD55C: pop {r4, r5, r6, r7} pop {r0} @@ -344551,11 +344551,11 @@ _080AD55C: sub_80AD564: @ 0x080AD564 push {lr} ldr r0, _080AD57C @ gUnknown_08A20C1C - bl Find6C + bl Proc_Find cmp r0, #0 beq _080AD576 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel _080AD576: pop {r0} bx r0 @@ -344566,8 +344566,8 @@ _080AD57C: .4byte gUnknown_08A20C1C sub_80AD580: @ 0x080AD580 push {lr} ldr r0, _080AD590 @ gUnknown_08A20C1C - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -344579,7 +344579,7 @@ sub_80AD594: @ 0x080AD594 lsls r0, r0, #0x18 lsrs r4, r0, #0x18 ldr r0, _080AD5B0 @ gUnknown_08A20C1C - bl Find6C + bl Proc_Find cmp r0, #0 beq _080AD5A8 adds r0, #0x34 @@ -345071,7 +345071,7 @@ sub_80AD950: @ 0x080AD950 adds r6, r1, #0 adds r1, r2, #0 ldr r0, _080AD988 @ gUnknown_08A20C4C - bl New6C + bl Proc_Create adds r5, r0, #0 ldr r0, _080AD98C @ gUnknown_085B92C4 ldr r2, _080AD990 @ 0x06010000 @@ -345110,7 +345110,7 @@ sub_80AD998: @ 0x080AD998 lsls r0, r0, #0x10 lsrs r5, r0, #0x10 ldr r0, _080AD9E4 @ gUnknown_08A20C4C - bl Find6C + bl Proc_Find adds r1, r0, #0 cmp r1, #0 beq _080AD9D8 @@ -345144,7 +345144,7 @@ sub_80AD9E8: @ 0x080AD9E8 push {r4, lr} adds r4, r0, #0 ldr r0, _080ADA0C @ gUnknown_08A20C4C - bl Find6C + bl Proc_Find adds r1, r0, #0 cmp r1, #0 beq _080ADA06 @@ -345166,8 +345166,8 @@ _080ADA0C: .4byte gUnknown_08A20C4C sub_80ADA10: @ 0x080ADA10 push {lr} ldr r0, _080ADA20 @ gUnknown_08A20C4C - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -345371,7 +345371,7 @@ sub_80ADB7C: @ 0x080ADB7C bl sub_80ADC90 ldr r0, _080ADBEC @ gUnknown_08A20D6C adds r1, r7, #0 - bl New6C + bl Proc_Create adds r7, r0, #0 ldr r0, _080ADBF0 @ gUnknown_08A1B0D8 ldr r2, _080ADBF4 @ 0x06010000 @@ -345421,7 +345421,7 @@ sub_80ADBFC: @ 0x080ADBFC adds r6, r2, #0 mov r8, r3 ldr r0, _080ADC3C @ gUnknown_08A20D6C - bl Find6C + bl Proc_Find lsls r4, r4, #3 adds r0, r0, r4 adds r2, r0, #0 @@ -345452,7 +345452,7 @@ sub_80ADC44: @ 0x080ADC44 push {r4, lr} adds r4, r0, #0 ldr r0, _080ADC64 @ gUnknown_08A20D6C - bl Find6C + bl Proc_Find adds r1, r0, #0 cmp r1, #0 beq _080ADC5E @@ -345475,7 +345475,7 @@ sub_80ADC68: @ 0x080ADC68 lsls r1, r1, #0x18 lsrs r5, r1, #0x18 ldr r0, _080ADC8C @ gUnknown_08A20D6C - bl Find6C + bl Proc_Find adds r1, r0, #0 cmp r1, #0 beq _080ADC84 @@ -345494,8 +345494,8 @@ _080ADC8C: .4byte gUnknown_08A20D6C sub_80ADC90: @ 0x080ADC90 push {lr} ldr r0, _080ADCA0 @ gUnknown_08A20D6C - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -345558,7 +345558,7 @@ _080ADCFC: cmp r0, #0 bne _080ADCD2 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080ADD10: ldrh r0, [r7] adds r0, #1 @@ -345581,13 +345581,13 @@ sub_80ADD24: @ 0x080ADD24 adds r5, r3, #0 ldr r4, _080ADDC8 @ gUnknown_08A20D8C adds r0, r4, #0 - bl Find6C + bl Proc_Find adds r6, r0, #0 cmp r6, #0 bne _080ADD4C adds r0, r4, #0 ldr r1, [sp, #0x24] - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r6, r0, #0 _080ADD4C: adds r0, r6, #0 @@ -345640,7 +345640,7 @@ _080ADD9E: bl SetFont adds r0, r6, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel pop {r3, r4} mov r8, r3 mov sb, r4 @@ -345660,11 +345660,11 @@ sub_80ADDD4: @ 0x080ADDD4 b _080ADDE2 _080ADDDC: adds r0, r4, #0 - bl Delete6C + bl Proc_Delete _080ADDE2: adds r0, r4, #0 adds r1, r5, #0 - bl sub_80034A0 + bl Proc_FindAfterWithParent adds r4, r0, #0 cmp r4, #0 bne _080ADDDC @@ -346218,7 +346218,7 @@ _080AE1C6: cmp r0, #0x80 bne _080AE1F6 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080AE1F6: pop {r4} pop {r0} @@ -346260,7 +346260,7 @@ _080AE22C: cmp r0, #0x80 bne _080AE242 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080AE242: pop {r4} pop {r0} @@ -346317,7 +346317,7 @@ _080AE29C: .4byte gUnknown_03003080 FadeInExists: @ 0x080AE2A0 push {lr} ldr r0, _080AE2B4 @ gUnknown_08A20DA4 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080AE2AE movs r0, #1 @@ -346331,7 +346331,7 @@ _080AE2B4: .4byte gUnknown_08A20DA4 FadeOutExists: @ 0x080AE2B8 push {lr} ldr r0, _080AE2CC @ gUnknown_08A20DCC - bl Find6C + bl Proc_Find cmp r0, #0 beq _080AE2C6 movs r0, #1 @@ -346347,7 +346347,7 @@ NewFadeIn: @ 0x080AE2D0 adds r4, r0, #0 ldr r0, _080AE2F0 @ gUnknown_08A20DA4 movs r1, #4 - bl New6C + bl Proc_Create adds r2, r0, #0 adds r2, #0x29 movs r1, #0 @@ -346367,7 +346367,7 @@ NewFadeOut: @ 0x080AE2F4 adds r4, r0, #0 ldr r0, _080AE314 @ gUnknown_08A20DCC movs r1, #4 - bl New6C + bl Proc_Create adds r2, r0, #0 adds r2, #0x29 movs r1, #0 @@ -346386,7 +346386,7 @@ sub_80AE318: @ 0x080AE318 push {r4, lr} adds r4, r0, #0 ldr r0, _080AE338 @ gUnknown_08A20DA4 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r2, r0, #0 adds r2, #0x29 movs r1, #0 @@ -346405,7 +346405,7 @@ sub_80AE33C: @ 0x080AE33C push {r4, lr} adds r4, r0, #0 ldr r0, _080AE35C @ gUnknown_08A20DCC - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r2, r0, #0 adds r2, #0x29 movs r1, #0 @@ -346425,7 +346425,7 @@ sub_80AE360: @ 0x080AE360 adds r4, r0, #0 ldr r0, _080AE380 @ gUnknown_08A20DA4 movs r1, #4 - bl New6C + bl Proc_Create adds r2, r0, #0 adds r2, #0x29 movs r1, #0 @@ -346446,7 +346446,7 @@ sub_80AE388: @ 0x080AE388 adds r4, r0, #0 ldr r0, _080AE3A8 @ gUnknown_08A20DCC movs r1, #4 - bl New6C + bl Proc_Create adds r2, r0, #0 adds r2, #0x29 movs r1, #0 @@ -346467,7 +346467,7 @@ sub_80AE3B0: @ 0x080AE3B0 adds r4, r0, #0 ldr r0, _080AE3D0 @ gUnknown_08A20DA4 movs r1, #4 - bl New6C + bl Proc_Create adds r2, r0, #0 adds r2, #0x29 movs r1, #1 @@ -346487,7 +346487,7 @@ sub_80AE3D4: @ 0x080AE3D4 adds r4, r0, #0 ldr r0, _080AE3F4 @ gUnknown_08A20DCC movs r1, #4 - bl New6C + bl Proc_Create adds r2, r0, #0 adds r2, #0x29 movs r1, #1 @@ -346506,7 +346506,7 @@ sub_80AE3F8: @ 0x080AE3F8 push {r4, lr} adds r4, r0, #0 ldr r0, _080AE418 @ gUnknown_08A20DA4 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r2, r0, #0 adds r2, #0x29 movs r1, #1 @@ -346525,7 +346525,7 @@ sub_80AE41C: @ 0x080AE41C push {r4, lr} adds r4, r0, #0 ldr r0, _080AE43C @ gUnknown_08A20DCC - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r2, r0, #0 adds r2, #0x29 movs r1, #1 @@ -346545,7 +346545,7 @@ sub_80AE440: @ 0x080AE440 adds r4, r0, #0 ldr r0, _080AE460 @ gUnknown_08A20DA4 movs r1, #4 - bl New6C + bl Proc_Create adds r2, r0, #0 adds r2, #0x29 movs r1, #1 @@ -346566,7 +346566,7 @@ sub_80AE468: @ 0x080AE468 adds r4, r0, #0 ldr r0, _080AE488 @ gUnknown_08A20DCC movs r1, #4 - bl New6C + bl Proc_Create adds r2, r0, #0 adds r2, #0x29 movs r1, #1 @@ -346603,11 +346603,11 @@ _080AE4B0: .4byte 0x01000100 sub_80AE4B4: @ 0x080AE4B4 push {lr} ldr r0, _080AE4D0 @ gUnknown_08A20DA4 - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete ldr r0, _080AE4D4 @ gUnknown_08A20DCC - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -346674,7 +346674,7 @@ _080AE542: b _080AE54E _080AE544: adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080AE706 _080AE54C: str r0, [r5, #0x58] @@ -346954,7 +346954,7 @@ _080AE74A: sub_80AE750: @ 0x080AE750 push {lr} ldr r0, _080AE760 @ gUnknown_08A20DFC - bl Find6C + bl Proc_Find cmp r0, #0 bne _080AE764 movs r0, #0 @@ -346971,7 +346971,7 @@ _080AE766: sub_80AE76C: @ 0x080AE76C push {lr} ldr r0, _080AE78C @ gUnknown_08A20DFC - bl Find6C + bl Proc_Find adds r1, r0, #0 cmp r1, #0 beq _080AE788 @@ -346992,8 +346992,8 @@ _080AE78C: .4byte gUnknown_08A20DFC sub_80AE790: @ 0x080AE790 push {lr} ldr r0, _080AE7A0 @ gUnknown_08A20DFC - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -347005,7 +347005,7 @@ sub_80AE7A4: @ 0x080AE7A4 lsls r0, r0, #0x18 lsrs r4, r0, #0x18 ldr r0, _080AE7C0 @ gUnknown_08A20DFC - bl Find6C + bl Proc_Find cmp r0, #0 beq _080AE7B8 adds r0, #0x3a @@ -347041,7 +347041,7 @@ _080AE7E8: .4byte gUnknown_08A20DFC _080AE7EC: ldr r0, _080AE848 @ gUnknown_08A20DFC _080AE7EE: - bl New6C + bl Proc_Create adds r4, r0, #0 str r5, [r4, #0x2c] adds r0, r4, #0 @@ -347252,7 +347252,7 @@ sub_80AE964: @ 0x080AE964 ldr r6, [sp, #0x18] ldr r1, [sp, #0x1c] ldr r0, _080AE998 @ gUnknown_08A20E24 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] str r5, [r0, #0x30] str r6, [r0, #0x34] @@ -347273,8 +347273,8 @@ _080AE998: .4byte gUnknown_08A20E24 sub_80AE99C: @ 0x080AE99C push {lr} ldr r0, _080AE9AC @ gUnknown_08A20E24 - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -347552,7 +347552,7 @@ sub_80AEB8C: @ 0x080AEB8C cmp r0, #0 beq _080AEBBA adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r0, _080AEBC8 @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -347579,7 +347579,7 @@ sub_80AEBCC: @ 0x080AEBCC adds r6, r2, #0 adds r1, r3, #0 ldr r0, _080AEBE8 @ gUnknown_08A20E44 - bl NewBlocking6C + bl Proc_CreateBlockingChild str r4, [r0, #0x2c] str r5, [r0, #0x30] str r6, [r0, #0x58] @@ -348050,7 +348050,7 @@ sub_80AEF24: @ 0x080AEF24 adds r4, r0, #0 ldr r0, _080AEF5C @ gUnknown_08A212E4 adds r1, r4, #0 - bl New6C + bl Proc_Create adds r4, #0x31 ldrb r0, [r4] adds r0, #1 @@ -349131,7 +349131,7 @@ sub_80AF524: @ 0x080AF524 bl Get6CDifferedLoop6C ldr r0, _080AF7F0 @ gUnknown_08A21308 adds r1, r4, #0 - bl New6C + bl Proc_Create add sp, #4 pop {r3, r4, r5} mov r8, r3 @@ -349356,7 +349356,7 @@ _080AF938: bne _080AF964 adds r0, r4, #0 movs r1, #0xa - bl Goto6CLabel + bl Proc_GotoLabel _080AF964: movs r0, #0 ldrsb r0, [r5, r0] @@ -349364,7 +349364,7 @@ _080AF964: bne _080AF974 adds r0, r4, #0 movs r1, #0xb - bl Goto6CLabel + bl Proc_GotoLabel _080AF974: adds r0, r4, #0 bl sub_80AF3C8 @@ -349467,7 +349467,7 @@ _080AFA30: bne _080AFA5C adds r0, r4, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel b _080AFA5C _080AFA4C: movs r0, #2 @@ -349476,7 +349476,7 @@ _080AFA4C: beq _080AFA5C adds r0, r4, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel _080AFA5C: pop {r4, r5, r6} pop {r0} @@ -349499,7 +349499,7 @@ sub_80AFA64: @ 0x080AFA64 movs r3, #0x18 bl sub_80029E8 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080AFA8A: add sp, #4 pop {r4} @@ -349514,7 +349514,7 @@ sub_80AFA94: @ 0x080AFA94 adds r0, r4, #0 bl sub_80ADDD4 ldr r0, _080AFAB0 @ gUnknown_08A21308 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r4} pop {r0} bx r0 @@ -349735,7 +349735,7 @@ sub_80AFC60: @ 0x080AFC60 cmp r0, #0x18 bne _080AFC92 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080AFC92: pop {r4, r5} pop {r0} @@ -349776,7 +349776,7 @@ _080AFCD0: beq _080AFCE0 adds r0, r2, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel _080AFCE0: pop {r0} bx r0 @@ -349827,7 +349827,7 @@ _080AFD1A: adds r0, r5, #0 bl sub_80AF338 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080AFD40: pop {r4, r5} pop {r0} @@ -349908,7 +349908,7 @@ _080AFD84: movs r0, #0 strb r0, [r7] mov r0, r8 - bl Break6CLoop + bl Proc_ClearNativeCallback _080AFDE0: add sp, #0x10 pop {r3} @@ -349980,7 +349980,7 @@ _080AFE60: cmp r0, #0 beq _080AFE70 adds r0, r3, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080AFE88 _080AFE70: movs r0, #1 @@ -349993,7 +349993,7 @@ _080AFE70: beq _080AFE88 adds r0, r3, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel _080AFE88: pop {r0} bx r0 @@ -350058,7 +350058,7 @@ _080AFEB0: adds r0, #0x30 strb r1, [r0] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080AFF0A: add sp, #0x10 pop {r4, r5, r6, r7} @@ -350073,7 +350073,7 @@ sub_80AFF1C: @ 0x080AFF1C push {lr} adds r1, r0, #0 ldr r0, _080AFF2C @ gUnknown_08A21338 - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r1} bx r1 .align 2, 0 @@ -350689,7 +350689,7 @@ sub_80B0444: @ 0x080B0444 push {lr} adds r1, r0, #0 ldr r0, _080B0454 @ gUnknown_08A21530 - bl New6C + bl Proc_Create pop {r1} bx r1 .align 2, 0 @@ -350904,7 +350904,7 @@ sub_80B060C: @ 0x080B060C push {lr} adds r1, r0, #0 ldr r0, _080B061C @ gUnknown_08A21568 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -350915,7 +350915,7 @@ sub_80B0620: @ 0x080B0620 push {r4, lr} adds r4, r0, #0 ldr r0, _080B0634 @ gUnknown_08A21568 - bl Find6C + bl Proc_Find str r4, [r0, #0x58] pop {r4} pop {r0} @@ -351848,7 +351848,7 @@ _080B0DC8: .4byte gUnknown_08A21590 _080B0DCC: adds r0, r5, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel ldr r0, _080B0DEC @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -351883,7 +351883,7 @@ _080B0E0C: bl sub_80B0894 adds r0, r5, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel b _080B0F82 .align 2, 0 _080B0E24: .4byte 0x00000BB8 @@ -351908,7 +351908,7 @@ _080B0E48: cmp r0, #0 beq _080B0E70 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r0, _080B0E6C @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -352139,7 +352139,7 @@ sub_80B1008: @ 0x080B1008 ldr r0, [r4, #0x34] cmp r0, #0 beq _080B101A - bl Delete6C + bl Proc_Delete movs r0, #0 str r0, [r4, #0x34] _080B101A: @@ -352464,7 +352464,7 @@ sub_80B1288: @ 0x080B1288 beq _080B12BC adds r0, r5, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel b _080B1344 .align 2, 0 _080B12B8: .4byte gUnknown_0858791C @@ -352483,7 +352483,7 @@ _080B12CE: cmp r0, #0 beq _080B12F4 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r0, _080B12F0 @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -352855,7 +352855,7 @@ sub_80B15E8: @ 0x080B15E8 cmp r0, #0 beq _080B1610 adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080B161C .align 2, 0 _080B160C: .4byte gUnknown_0858791C @@ -352864,7 +352864,7 @@ _080B1610: cmp r0, #0x78 ble _080B161C adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080B161C: pop {r0} bx r0 @@ -352920,7 +352920,7 @@ sub_80B1688: @ 0x080B1688 push {lr} adds r1, r0, #0 ldr r0, _080B1698 @ gUnknown_08A215A8 - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r0} bx r0 .align 2, 0 @@ -353598,7 +353598,7 @@ _080B1BE4: bl sub_8086CE8 ldr r0, _080B1C8C @ gUnknown_08A2ECA8 mov r1, sb - bl New6C + bl Proc_Create movs r0, #0xf bl BG_EnableSyncByMask add sp, #0x1c @@ -353759,7 +353759,7 @@ _080B1D96: _080B1D9A: ldr r0, _080B1DE0 @ gUnknown_08A2EC88 mov r1, r8 - bl New6C + bl Proc_Create adds r0, r5, #0 movs r1, #7 bl __modsi3 @@ -354428,7 +354428,7 @@ _080B22CC: strb r0, [r1] _080B22D4: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080B244C .align 2, 0 _080B22DC: .4byte gUnknown_08A2E974 @@ -354530,7 +354530,7 @@ _080B2398: _080B239C: ldr r0, _080B23C4 @ gUnknown_08A2EC88 adds r1, r4, #0 - bl New6C + bl Proc_Create movs r0, #3 bl BG_EnableSyncByMask ldr r0, _080B23C8 @ gUnknown_0202BCF0 @@ -354631,9 +354631,9 @@ sub_80B2464: @ 0x080B2464 bl Delete6CMenuScroll bl EndBG3Slider ldr r0, _080B248C @ gUnknown_08A2ECA8 - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r0, _080B2490 @ gUnknown_08A2EC88 - bl DeleteEach6C + bl Proc_DeleteAllWithScript adds r0, r4, #0 adds r0, #0x36 ldrb r0, [r0] @@ -354649,7 +354649,7 @@ _080B2494: bl sub_8092134 adds r0, r4, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #0 _080B24A4: pop {r4} @@ -354832,7 +354832,7 @@ _080B25D0: cmp r0, #0 bne _080B25F0 mov r0, r8 - bl Break6CLoop + bl Proc_ClearNativeCallback _080B25F0: pop {r3, r4, r5} mov r8, r3 @@ -354985,7 +354985,7 @@ _080B26F0: blt _080B26F0 _080B270E: mov r0, r8 - bl Break6CLoop + bl Proc_ClearNativeCallback _080B2714: pop {r3, r4, r5} mov r8, r3 @@ -355006,7 +355006,7 @@ sub_80B272C: @ 0x080B272C adds r4, r2, #0 adds r1, r3, #0 ldr r0, _080B2758 @ gUnknown_08A2EE90 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r1, r0, #0 adds r0, #0x64 movs r2, #0 @@ -355055,7 +355055,7 @@ sub_80B2780: @ 0x080B2780 adds r4, r2, #0 adds r1, r3, #0 ldr r0, _080B27B0 @ gUnknown_08A2EEC0 - bl NewBlocking6C + bl Proc_CreateBlockingChild mov ip, r0 adds r0, #0x64 movs r1, #0 @@ -355199,11 +355199,11 @@ sub_80B28A0: @ 0x080B28A0 push {r4, lr} adds r4, r0, #0 ldr r0, _080B28F8 @ gUnknown_08A20DA4 - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete ldr r0, _080B28FC @ gUnknown_08A20DCC - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete adds r0, r4, #0 bl sub_80ADDD4 movs r0, #1 @@ -355227,7 +355227,7 @@ sub_80B28A0: @ 0x080B28A0 bl SetNextGameActionId adds r0, r4, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel pop {r4} pop {r0} bx r0 @@ -355269,7 +355269,7 @@ _080B2922: bl SetNextGameActionId adds r0, r4, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel b _080B297E _080B2948: ldrb r0, [r5] @@ -355309,7 +355309,7 @@ _080B2984: .4byte gUnknown_0858791C sub_80B2988: @ 0x080B2988 push {lr} ldr r0, _080B29AC @ gUnknown_08A2EEF0 - bl Find6C + bl Proc_Find adds r1, r0, #0 cmp r1, #0 beq _080B29B0 @@ -355335,7 +355335,7 @@ sub_80B29B8: @ 0x080B29B8 push {r4, lr} adds r4, r0, #0 ldr r0, _080B29D0 @ gUnknown_08A2EEF0 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080B29CA adds r0, #0x2c @@ -355373,7 +355373,7 @@ Make6C_opinfo: @ 0x080B29F8 lsls r4, r4, #0x18 lsrs r4, r4, #0x18 ldr r0, _080B2A10 @ gUnknown_08A2EEF0 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r0, #0x33 strb r4, [r0] pop {r4} @@ -355853,7 +355853,7 @@ sub_80B2DF0: @ 0x080B2DF0 movs r0, #0 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080B2E28: pop {r4} pop {r0} @@ -355873,13 +355873,13 @@ sub_80B2E30: @ 0x080B2E30 str r0, [r4, #0x38] ldr r0, _080B2E60 @ gUnknown_08A2F038 adds r1, r4, #0 - bl New6C + bl Proc_Create _080B2E4E: ldrh r0, [r4, #0x2a] cmp r0, #0x5f bls _080B2E64 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback movs r0, #0 b _080B2E9E .align 2, 0 @@ -355929,13 +355929,13 @@ sub_80B2EA8: @ 0x080B2EA8 bne _080B2EBA ldr r0, [r4, #0x38] movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel _080B2EBA: ldrh r0, [r4, #0x2a] cmp r0, #0x4f bls _080B2ECA adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback movs r0, #0 b _080B2F00 _080B2ECA: @@ -355960,7 +355960,7 @@ _080B2ECA: lsls r1, r1, #2 adds r1, r1, r0 ldr r0, [r1] - bl Break6CLoop + bl Proc_ClearNativeCallback _080B2EFC: ldrh r0, [r4, #0x2a] adds r0, #1 @@ -356007,7 +356007,7 @@ sub_80B2F3C: @ 0x080B2F3C adds r5, r1, #0 ldr r0, _080B2F54 @ gUnknown_08A2EF50 adds r1, r4, #0 - bl New6C + bl Proc_Create str r4, [r0, #0x3c] str r5, [r0, #0x40] pop {r4, r5} @@ -356073,7 +356073,7 @@ sub_80B2F74: @ 0x080B2F74 movs r0, #0 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080B2FC8: add sp, #8 pop {r4, r5, r6} @@ -356143,7 +356143,7 @@ sub_80B2FF8: @ 0x080B2FF8 movs r1, #0 str r1, [r0] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080B304C: ldrh r0, [r4, #0x2a] adds r0, #8 @@ -356161,7 +356161,7 @@ sub_80B305C: @ 0x080B305C lsrs r4, r4, #0x18 ldr r0, _080B3078 @ gUnknown_08A2EFC0 adds r1, r2, #0 - bl New6C + bl Proc_Create adds r1, r0, #0 adds r1, #0x2c strb r4, [r1] @@ -356344,7 +356344,7 @@ sub_80B31B0: @ 0x080B31B0 bls _080B31CC movs r5, #0 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080B31D6 _080B31CC: lsrs r1, r1, #0x11 @@ -356407,7 +356407,7 @@ sub_80B3208: @ 0x080B3208 orrs r0, r1 strb r0, [r2, #1] adds r0, r3, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080B3258 .align 2, 0 _080B3240: .4byte gUnknown_03003080 @@ -356433,7 +356433,7 @@ sub_80B325C: @ 0x080B325C lsrs r4, r4, #0x18 ldr r0, _080B3278 @ gUnknown_08A2EFF8 adds r1, r2, #0 - bl New6C + bl Proc_Create adds r1, r0, #0 adds r1, #0x2c strb r4, [r1] @@ -356595,7 +356595,7 @@ _080B3318: cmp r0, #0x3b ble _080B33D0 mov r0, sb - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r2, _080B33E0 @ gUnknown_03003080 ldrb r0, [r2, #1] movs r1, #1 @@ -356940,7 +356940,7 @@ _080B3660: cmp r0, #0x46 ble _080B3686 mov r0, sl - bl Break6CLoop + bl Proc_ClearNativeCallback _080B3686: add sp, #4 pop {r3, r4, r5} @@ -357594,12 +357594,12 @@ sub_80B3C14: @ 0x080B3C14 bl SoundStuff_800231C adds r0, r4, #0 movs r1, #7 - bl Goto6CLabel + bl Proc_GotoLabel b _080B3C44 _080B3C3C: adds r0, r4, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel _080B3C44: ldrh r0, [r4, #0x2c] adds r0, #1 @@ -357719,7 +357719,7 @@ _080B3C88: movs r2, #0 strh r2, [r7, #0x2a] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r0, _080B3D3C @ sub_80B3C14 adds r1, r7, #0 bl Get6CDifferedLoop6C @@ -357788,7 +357788,7 @@ _080B3DA0: @ jump table _080B3DC4: adds r0, r4, #0 movs r1, #0xa - bl Goto6CLabel + bl Proc_GotoLabel b _080B3E0A _080B3DCE: ldr r0, _080B3DD4 @ gUnknown_02000000 @@ -357874,7 +357874,7 @@ _080B3E5A: _080B3E6E: str r0, [r4, #0x38] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080B3E90 _080B3E78: ldr r0, _080B3E98 @ gUnknown_02000000 @@ -357886,7 +357886,7 @@ _080B3E78: adds r0, #2 str r0, [r4, #0x38] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080B3E90: pop {r4} pop {r0} @@ -357910,7 +357910,7 @@ sub_80B3E9C: @ 0x080B3E9C ldr r0, [r4, #0x3c] cmp r0, #0 beq _080B3EC8 - bl Delete6C + bl Proc_Delete _080B3EC8: movs r0, #2 bl sub_80B29B8 @@ -357928,7 +357928,7 @@ sub_80B3EDC: @ 0x080B3EDC adds r5, r1, #0 ldr r0, _080B3EF8 @ gUnknown_08A2F088 adds r1, r4, #0 - bl New6C + bl Proc_Create str r4, [r0, #0x30] str r5, [r0, #0x34] movs r1, #0 @@ -358184,7 +358184,7 @@ sub_80B40D0: @ 0x080B40D0 push {lr} adds r1, r0, #0 ldr r0, _080B40E0 @ gUnknown_08A2F138 - bl New6C + bl Proc_Create pop {r1} bx r1 .align 2, 0 @@ -358393,14 +358393,14 @@ MakeShop: @ 0x080B4240 beq _080B4268 ldr r0, _080B4264 @ gUnknown_08A39210 adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _080B4270 .align 2, 0 _080B4264: .4byte gUnknown_08A39210 _080B4268: ldr r0, _080B42AC @ gUnknown_08A39210 movs r1, #3 - bl New6C + bl Proc_Create _080B4270: adds r7, r0, #0 adds r0, r7, #0 @@ -358469,7 +358469,7 @@ _080B42CE: sub_80B42E8: @ 0x080B42E8 push {lr} ldr r0, _080B4304 @ gUnknown_08A39210 - bl Find6C + bl Proc_Find adds r1, r0, #0 adds r0, #0x60 ldrb r0, [r0] @@ -358487,7 +358487,7 @@ _080B4304: .4byte gUnknown_08A39210 sub_80B4308: @ 0x080B4308 push {lr} ldr r0, _080B4324 @ gUnknown_08A39210 - bl Find6C + bl Proc_Find adds r1, r0, #0 adds r0, #0x60 ldrb r0, [r0] @@ -358514,7 +358514,7 @@ sub_80B432C: @ 0x080B432C bne _080B4340 adds r0, r1, #0 movs r1, #0xd - bl Goto6CLabel + bl Proc_GotoLabel b _080B4346 _080B4340: ldr r0, _080B434C @ 0x0000089A @@ -358539,12 +358539,12 @@ sub_80B4350: @ 0x080B4350 _080B4364: adds r0, r4, #0 movs r1, #0xc - bl Goto6CLabel + bl Proc_GotoLabel b _080B43A0 _080B436E: adds r0, r4, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel b _080B43A0 _080B4378: ldr r0, [r4, #0x2c] @@ -358556,14 +358556,14 @@ _080B4378: bl sub_80B4168 adds r0, r4, #0 movs r1, #7 - bl Goto6CLabel + bl Proc_GotoLabel b _080B43A0 .align 2, 0 _080B4394: .4byte 0x000008AC _080B4398: adds r0, r4, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel _080B43A0: pop {r4} pop {r0} @@ -358835,7 +358835,7 @@ _080B45A4: bl sub_80B4168 adds r0, r5, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel b _080B4626 .align 2, 0 _080B45E4: .4byte 0x000008B2 @@ -358846,7 +358846,7 @@ _080B45E8: adds r1, r5, #0 bl sub_80B4168 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080B4626 .align 2, 0 _080B4600: .4byte 0x000008B5 @@ -358866,7 +358866,7 @@ _080B4604: _080B461E: adds r0, r5, #0 movs r1, #7 - bl Goto6CLabel + bl Proc_GotoLabel _080B4626: pop {r4, r5, r6, r7} pop {r0} @@ -358883,7 +358883,7 @@ sub_80B4630: @ 0x080B4630 beq _080B4644 adds r0, r4, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _080B4644: pop {r4} pop {r0} @@ -358913,7 +358913,7 @@ _080B4670: bl sub_80B4168 adds r0, r4, #0 movs r1, #0xb - bl Goto6CLabel + bl Proc_GotoLabel b _080B46AA .align 2, 0 _080B4684: .4byte 0x000008C1 @@ -358931,7 +358931,7 @@ _080B4688: bl sub_80B5440 adds r0, r4, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel _080B46AA: pop {r4} pop {r0} @@ -358946,7 +358946,7 @@ sub_80B46B0: @ 0x080B46B0 beq _080B46C4 adds r0, r4, #0 movs r1, #0xb - bl Goto6CLabel + bl Proc_GotoLabel _080B46C4: pop {r4} pop {r0} @@ -359014,7 +359014,7 @@ sub_80B4730: @ 0x080B4730 bgt _080B4744 adds r0, r4, #0 movs r1, #0xa - bl Goto6CLabel + bl Proc_GotoLabel _080B4744: pop {r4} pop {r0} @@ -359209,7 +359209,7 @@ _080B48A0: bl sub_80B4168 adds r0, r5, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel b _080B4926 .align 2, 0 _080B48D4: .4byte 0x000008BB @@ -359228,7 +359228,7 @@ _080B48D8: adds r1, r5, #0 bl sub_80B4168 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080B4926 .align 2, 0 _080B4900: .4byte 0x000008B5 @@ -359248,7 +359248,7 @@ _080B4904: _080B491E: adds r0, r5, #0 movs r1, #8 - bl Goto6CLabel + bl Proc_GotoLabel _080B4926: pop {r4, r5, r6, r7} pop {r0} @@ -359301,7 +359301,7 @@ sub_80B4930: @ 0x080B4930 bne _080B49B0 adds r0, r6, #0 movs r1, #7 - bl Goto6CLabel + bl Proc_GotoLabel b _080B49B0 .align 2, 0 _080B49A0: .4byte gUnknown_0203A958 @@ -359309,7 +359309,7 @@ _080B49A4: .4byte gUnknown_02022E5E _080B49A8: adds r0, r6, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel _080B49B0: pop {r4, r5, r6} pop {r0} @@ -359376,10 +359376,10 @@ _080B4A1C: .4byte 0x000008B8 sub_80B4A20: @ 0x080B4A20 push {lr} ldr r0, _080B4A34 @ gUnknown_08A394C0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r0, _080B4A38 @ gUnknown_089A2C48 ldr r1, _080B4A3C @ sub_80797DC - bl ForEach6C + bl Proc_ForEachWithScript pop {r0} bx r0 .align 2, 0 @@ -359532,7 +359532,7 @@ _080B4B50: _080B4B6A: adds r0, r5, #0 movs r1, #0xc - bl Goto6CLabel + bl Proc_GotoLabel _080B4B72: pop {r4, r5, r6, r7} pop {r0} @@ -359558,7 +359558,7 @@ sub_80B4B7C: @ 0x080B4B7C bne _080B4BA0 ldr r0, _080B4BAC @ gUnknown_08A39198 adds r1, r2, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild _080B4BA0: pop {r0} bx r0 @@ -359585,7 +359585,7 @@ sub_80B4BB0: @ 0x080B4BB0 bne _080B4BE4 ldr r0, _080B4BE0 @ gUnknown_08A391D0 adds r1, r2, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _080B4BE8 .align 2, 0 _080B4BD8: .4byte gUnknown_0202BCB0 @@ -359621,7 +359621,7 @@ _080B4C0C: _080B4C14: ldr r0, _080B4DF8 @ gUnknown_089A2C48 ldr r1, _080B4DFC @ SetMOVEUNITField40To1 - bl ForEach6C + bl Proc_ForEachWithScript bl sub_80B52CC ldr r3, _080B4E00 @ gUnknown_03003080 ldrb r1, [r3, #0xc] @@ -359861,7 +359861,7 @@ sub_80B4E24: @ 0x080B4E24 bl CopyDataWithPossibleUncomp ldr r0, _080B4E78 @ gUnknown_08A394C0 adds r1, r4, #0 - bl New6C + bl Proc_Create adds r2, r0, #0 adds r1, r2, #0 adds r1, #0x64 @@ -359966,7 +359966,7 @@ sub_80B4F04: @ 0x080B4F04 strb r0, [r1] ldr r0, _080B4F80 @ gUnknown_08A39478 movs r1, #3 - bl New6C + bl Proc_Create str r5, [r0, #0x54] movs r0, #0 bl SetFont @@ -360114,7 +360114,7 @@ sub_80B5040: @ 0x080B5040 ldr r0, [r4, #0x54] bl sub_80B4F90 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -360129,7 +360129,7 @@ sub_80B505C: @ 0x080B505C strb r0, [r1] ldr r0, _080B50B8 @ gUnknown_08A39488 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x54] movs r0, #0 bl SetFont @@ -360238,7 +360238,7 @@ sub_80B5148: @ 0x080B5148 ldr r0, [r4, #0x54] bl sub_80B50C8 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -361059,7 +361059,7 @@ sub_80B576C: @ 0x080B576C bl PrepareArena ldr r0, _080B5788 @ gUnknown_08A394DC movs r1, #3 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -361071,7 +361071,7 @@ sub_80B578C: @ 0x080B578C push {lr} ldr r0, _080B579C @ gUnknown_08A3963C movs r1, #3 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -361088,7 +361088,7 @@ sub_80B57A0: @ 0x080B57A0 adds r6, r0, #0 ldr r0, _080B5948 @ gUnknown_089A2C48 ldr r1, _080B594C @ SetMOVEUNITField40To1 - bl ForEach6C + bl Proc_ForEachWithScript bl sub_80B52CC ldr r7, _080B5950 @ gUnknown_03003080 ldrb r2, [r7, #0xc] @@ -361359,7 +361359,7 @@ sub_80B59EC: @ 0x080B59EC bl sub_80B5C04 adds r0, r5, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel b _080B5A2E .align 2, 0 _080B5A0C: .4byte 0x000008D4 @@ -361374,7 +361374,7 @@ _080B5A10: bl sub_80B5C04 adds r0, r5, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel _080B5A2E: pop {r4, r5} pop {r0} @@ -361447,10 +361447,10 @@ sub_80B5AA4: @ 0x080B5AA4 sub_80B5AB4: @ 0x080B5AB4 push {r4, r5, r6, lr} movs r1, #7 - bl Set6CMark + bl Proc_SetMark bl sub_8010E50 ldr r0, _080B5AF4 @ gUnknown_08A394C0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r5, _080B5AF8 @ gUnknown_0203A958 movs r6, #0 movs r0, #0x19 @@ -361593,10 +361593,10 @@ _080B5BE0: .4byte gUnknown_0202BCF0 sub_80B5BE4: @ 0x080B5BE4 push {lr} ldr r0, _080B5BF8 @ gUnknown_08A394C0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r0, _080B5BFC @ gUnknown_089A2C48 ldr r1, _080B5C00 @ sub_80797DC - bl ForEach6C + bl Proc_ForEachWithScript pop {r0} bx r0 .align 2, 0 @@ -361728,7 +361728,7 @@ _080B5D08: bl sub_8002448 _080B5D1C: adds r0, r4, #0 - bl Delete6C + bl Proc_Delete _080B5D22: pop {r4} pop {r0} @@ -363553,7 +363553,7 @@ _080B6AEA: bne _080B6AFC adds r0, r4, #0 movs r1, #0x64 - bl Goto6CLabel + bl Proc_GotoLabel b _080B6BD2 _080B6AFC: ldrb r2, [r3, #1] @@ -363761,7 +363761,7 @@ sub_80B6C74: @ 0x080B6C74 bne _080B6C8E adds r0, r2, #0 movs r1, #0x64 - bl Goto6CLabel + bl Proc_GotoLabel _080B6C8E: pop {r0} bx r0 @@ -363771,7 +363771,7 @@ sub_80B6C94: @ 0x080B6C94 push {lr} adds r1, r0, #0 ldr r0, _080B6CA4 @ gUnknown_08A3D35C - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r0} bx r0 .align 2, 0 @@ -364049,7 +364049,7 @@ sub_80B6ED0: @ 0x080B6ED0 cmp r5, #0x1e bne _080B6F06 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080B6F06: pop {r4, r5, r6} pop {r0} @@ -364065,7 +364065,7 @@ sub_80B6F14: @ 0x080B6F14 adds r4, r1, #0 adds r1, r2, #0 ldr r0, _080B6F30 @ gUnknown_08A3D420 - bl NewBlocking6C + bl Proc_CreateBlockingChild str r4, [r0, #0x2c] movs r1, #0 str r1, [r0, #0x30] @@ -364396,7 +364396,7 @@ sub_80B71DC: @ 0x080B71DC cmp r0, #0x1e bne _080B722A adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080B722A: pop {r3} mov r8, r3 @@ -364455,7 +364455,7 @@ sub_80B7274: @ 0x080B7274 cmp r4, #8 bne _080B729E adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080B729E: pop {r4, r5} pop {r0} @@ -364469,7 +364469,7 @@ sub_80B72A4: @ 0x080B72A4 adds r5, r2, #0 adds r1, r3, #0 ldr r0, _080B72C0 @ gUnknown_08A3D440 - bl NewBlocking6C + bl Proc_CreateBlockingChild str r4, [r0, #0x2c] str r5, [r0, #0x30] str r6, [r0, #0x38] @@ -364561,10 +364561,10 @@ sub_80B734C: @ 0x080B734C cmp r0, #0 beq _080B737C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r0, [r4, #0x14] movs r1, #0x64 - bl Goto6CLabel + bl Proc_GotoLabel b _080B7424 .align 2, 0 _080B7378: .4byte gUnknown_0858791C @@ -364599,7 +364599,7 @@ _080B73A4: @ jump table .4byte _080B740C @ case 7 _080B73C4: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080B7420 _080B73CC: ldr r0, [r4, #0x44] @@ -364664,7 +364664,7 @@ sub_80B742C: @ 0x080B742C adds r6, r2, #0 adds r1, r3, #0 ldr r0, _080B7448 @ gUnknown_08A3D478 - bl NewBlocking6C + bl Proc_CreateBlockingChild str r4, [r0, #0x2c] str r5, [r0, #0x30] str r6, [r0, #0x34] @@ -364678,7 +364678,7 @@ _080B7448: .4byte gUnknown_08A3D478 sub_80B744C: @ 0x080B744C push {lr} ldr r0, _080B7458 @ gUnknown_08A3D478 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -364751,7 +364751,7 @@ sub_80B74D8: @ 0x080B74D8 cmp r0, #0 beq _080B74F6 adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080B74F6: pop {r0} bx r0 @@ -364809,7 +364809,7 @@ sub_80B7540: @ 0x080B7540 cmp r4, #0x10 bne _080B756E adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback movs r0, #0 strh r0, [r5] _080B756E: @@ -364841,7 +364841,7 @@ sub_80B7598: @ 0x080B7598 push {lr} adds r1, r0, #0 ldr r0, _080B75A8 @ gUnknown_08A3D498 - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r0} bx r0 .align 2, 0 @@ -365519,7 +365519,7 @@ _080B7B82: cmp r0, #2 ble _080B7B8E adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080B7BA6 _080B7B8E: movs r0, #0 @@ -366204,7 +366204,7 @@ sub_80B8174: @ 0x080B8174 push {lr} adds r1, r0, #0 ldr r0, _080B8184 @ gUnknown_08A3D678 - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r0} bx r0 .align 2, 0 @@ -366322,7 +366322,7 @@ sub_80B823C: @ 0x080B823C strh r0, [r5, #0x2a] ldr r0, _080B8268 @ gUnknown_08A3D6E0 adds r1, r5, #0 - bl New6C + bl Proc_Create str r0, [r5, #0x2c] adds r0, r5, #0 adds r0, #0x30 @@ -366887,7 +366887,7 @@ sub_80B8680: @ 0x080B8680 push {lr} adds r1, r0, #0 ldr r0, _080B8690 @ gUnknown_08A3D700 - bl New6C + bl Proc_Create pop {r1} bx r1 .align 2, 0 @@ -366897,7 +366897,7 @@ _080B8690: .4byte gUnknown_08A3D700 sub_80B8694: @ 0x080B8694 push {lr} ldr r0, _080B86A0 @ gUnknown_08A3D700 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -366908,9 +366908,9 @@ sub_80B86A4: @ 0x080B86A4 push {r4, lr} ldr r4, _080B86BC @ gUnknown_08A3D700 adds r0, r4, #0 - bl Find6C + bl Proc_Find adds r0, r4, #0 - bl Find6C + bl Proc_Find cmp r0, #0 bne _080B86C0 movs r0, #0x10 @@ -366938,7 +366938,7 @@ sub_80B86CC: @ 0x080B86CC lsls r2, r2, #0x10 lsrs r4, r2, #0x10 ldr r0, _080B8728 @ gUnknown_08A3D700 - bl Find6C + bl Proc_Find mov sb, r0 mov r1, r8 lsls r0, r1, #1 @@ -367117,7 +367117,7 @@ sub_80B8844: @ 0x080B8844 lsls r1, r1, #0x10 lsrs r7, r1, #0x10 ldr r0, _080B8894 @ gUnknown_08A3D700 - bl Find6C + bl Proc_Find adds r6, r0, #0 lsls r0, r4, #1 adds r0, r0, r4 @@ -367249,7 +367249,7 @@ sub_80B895C: @ 0x080B895C push {r6, r7} sub sp, #4 ldr r0, _080B8A10 @ gUnknown_08A3D700 - bl Find6C + bl Proc_Find adds r7, r0, #0 movs r4, #0 str r4, [sp] @@ -367337,11 +367337,11 @@ WorldMap_Destruct: @ 0x080B8A18 push {r4, lr} adds r4, r0, #0 ldr r0, [r4, #0x50] - bl Delete6C + bl Proc_Delete ldr r0, [r4, #0x44] - bl Delete6C + bl Proc_Delete ldr r0, [r4, #0x48] - bl Delete6C + bl Proc_Delete movs r0, #0 bl SetSecondaryHBlankHandler bl sub_80C1D70 @@ -367435,7 +367435,7 @@ sub_80B8A7C: @ 0x080B8A7C strh r0, [r1, #4] adds r0, r7, #0 movs r1, #7 - bl Goto6CLabel + bl Proc_GotoLabel b _080B8B2E .align 2, 0 _080B8B00: .4byte gUnknown_03005280 @@ -367483,7 +367483,7 @@ sub_80B8B3C: @ 0x080B8B3C movs r0, #0x14 strb r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080B8B58: pop {r4} pop {r0} @@ -367568,7 +367568,7 @@ _080B8BD4: blt _080B8C40 adds r0, r6, #0 movs r1, #0x11 - bl Goto6CLabel + bl Proc_GotoLabel b _080B8D50 _080B8BFA: adds r0, r1, #1 @@ -367601,7 +367601,7 @@ _080B8BFA: strb r0, [r1] adds r0, r6, #0 movs r1, #0xe - bl Goto6CLabel + bl Proc_GotoLabel _080B8C40: adds r0, r6, #0 adds r0, #0x41 @@ -367711,7 +367711,7 @@ _080B8CEC: bne _080B8D30 adds r0, r6, #0 movs r1, #0xe - bl Goto6CLabel + bl Proc_GotoLabel b _080B8D50 .align 2, 0 _080B8D28: .4byte gUnknown_03005280 @@ -367724,13 +367724,13 @@ _080B8D30: beq _080B8D46 adds r0, r6, #0 movs r1, #0x10 - bl Goto6CLabel + bl Proc_GotoLabel b _080B8D50 _080B8D46: movs r0, #1 strb r0, [r4, #1] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080B8D50: add sp, #0x10 pop {r3} @@ -368468,7 +368468,7 @@ _080B9344: adds r0, r5, #0 movs r1, #0xe _080B934E: - bl Goto6CLabel + bl Proc_GotoLabel _080B9352: movs r0, #1 b _080B93D8 @@ -368533,7 +368533,7 @@ _080B93C8: .4byte gUnknown_082060B0 _080B93CC: adds r0, r5, #0 movs r1, #6 - bl Goto6CLabel + bl Proc_GotoLabel b _080B9352 _080B93D6: movs r0, #0 @@ -368939,7 +368939,7 @@ _080B969C: strb r4, [r7, #1] mov r0, r8 movs r1, #8 - bl Goto6CLabel + bl Proc_GotoLabel add sp, #0x14 pop {r3} mov r8, r3 @@ -368960,7 +368960,7 @@ sub_80B96DC: @ 0x080B96DC cmp r0, #0 bne _080B96F0 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080B96F0: pop {r4} pop {r0} @@ -369072,7 +369072,7 @@ _080B97BC: beq _080B97D8 adds r0, r4, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel b _080B97EA .align 2, 0 _080B97D4: .4byte gUnknown_0858791C @@ -369113,7 +369113,7 @@ sub_80B9810: @ 0x080B9810 push {lr} bl sub_80C1D70 movs r0, #8 - bl DeleteEach6CMarked + bl Proc_DeleteEachWithMark pop {r0} bx r0 @@ -369171,10 +369171,10 @@ sub_80B987C: @ 0x080B987C push {r4, lr} adds r4, r0, #0 movs r0, #8 - bl BlockEach6CMarked + bl Proc_BlockEachWithMark ldr r0, _080B9898 @ gUnknown_08B12D1C adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild movs r0, #0 pop {r4} pop {r1} @@ -369186,7 +369186,7 @@ _080B9898: .4byte gUnknown_08B12D1C sub_80B989C: @ 0x080B989C push {lr} movs r0, #8 - bl UnblockEach6CMarked + bl Proc_UnblockEachWithMark pop {r0} bx r0 @@ -369237,10 +369237,10 @@ sub_80B98F8: @ 0x080B98F8 push {r4, lr} adds r4, r0, #0 movs r0, #8 - bl BlockEach6CMarked + bl Proc_BlockEachWithMark ldr r0, _080B9914 @ gUnknown_08A2EE00 adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild movs r0, #0 pop {r4} pop {r1} @@ -369252,7 +369252,7 @@ _080B9914: .4byte gUnknown_08A2EE00 sub_80B9918: @ 0x080B9918 push {lr} movs r0, #8 - bl UnblockEach6CMarked + bl Proc_UnblockEachWithMark pop {r0} bx r0 @@ -369303,10 +369303,10 @@ sub_80B9974: @ 0x080B9974 push {r4, lr} adds r4, r0, #0 movs r0, #8 - bl BlockEach6CMarked + bl Proc_BlockEachWithMark ldr r0, _080B9990 @ gUnknown_08A3E8B8 adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild movs r0, #0 pop {r4} pop {r1} @@ -369318,7 +369318,7 @@ _080B9990: .4byte gUnknown_08A3E8B8 sub_80B9994: @ 0x080B9994 push {lr} movs r0, #8 - bl UnblockEach6CMarked + bl Proc_UnblockEachWithMark pop {r0} bx r0 @@ -369461,7 +369461,7 @@ sub_80B9A94: @ 0x080B9A94 cmp r0, #0 bne _080B9AA8 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080B9AA8: pop {r4} pop {r0} @@ -369670,7 +369670,7 @@ _080B9C26: strb r0, [r2] adds r0, r6, #0 movs r1, #0xf - bl Goto6CLabel + bl Proc_GotoLabel b _080B9CA4 .align 2, 0 _080B9C68: .4byte gUnknown_03003080 @@ -369699,7 +369699,7 @@ _080B9C70: ldrh r0, [r4] strh r0, [r5, #4] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080B9CA4: add sp, #8 pop {r4, r5, r6} @@ -369738,7 +369738,7 @@ WorldMap_WaitForChapterIntroEvents: @ 0x080B9CB0 bl sub_80C2460 bl sub_80C1F5C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080B9CFA: pop {r4} pop {r0} @@ -369841,7 +369841,7 @@ _080B9D96: ble _080B9DAC adds r0, r5, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel _080B9DAC: bl sub_80C1AF8 add sp, #4 @@ -369865,7 +369865,7 @@ sub_80B9DC4: @ 0x080B9DC4 cmp r0, #0 bne _080B9DD8 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080B9DD8: pop {r4} pop {r0} @@ -369930,7 +369930,7 @@ sub_80B9E40: @ 0x080B9E40 movs r0, #1 strb r0, [r1, #1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080B9E5A: pop {r4} pop {r0} @@ -370118,7 +370118,7 @@ _080B9FB8: sub_80B9FC0: @ 0x080B9FC0 push {lr} ldr r0, _080B9FD0 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find bl sub_80B9F54 pop {r0} bx r0 @@ -370156,10 +370156,10 @@ sub_80BA008: @ 0x080BA008 push {r4, lr} adds r4, r0, #0 ldr r0, _080BA020 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find str r4, [r0, #0x2c] movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel pop {r4} pop {r0} bx r0 @@ -370170,11 +370170,11 @@ _080BA020: .4byte gUnknown_08A3D748 EndWM: @ 0x080BA024 push {lr} ldr r0, _080BA04C @ gUnknown_08A20DA4 - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete ldr r0, _080BA050 @ gUnknown_08A3D748 - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete bl sub_8010E50 bl DeleteAllTCSWrappers movs r0, #0 @@ -370189,7 +370189,7 @@ _080BA050: .4byte gUnknown_08A3D748 sub_80BA054: @ 0x080BA054 push {lr} ldr r0, _080BA068 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080BA062 movs r0, #1 @@ -370234,7 +370234,7 @@ _080BA09C: bl sub_80B8844 _080BA0A8: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080BA0AE: pop {r4} pop {r0} @@ -370253,10 +370253,10 @@ sub_80BA0B4: @ 0x080BA0B4 lsls r4, r4, #0x18 lsrs r4, r4, #0x18 ldr r0, _080BA0F8 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find adds r1, r0, #0 ldr r0, _080BA0FC @ gUnknown_08A3DD08 - bl New6C + bl Proc_Create str r5, [r0, #0x2c] adds r1, r0, #0 adds r1, #0x30 @@ -370344,7 +370344,7 @@ _080BA136: cmp r0, #0x20 bne _080BA184 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080BA184: pop {r3, r4, r5} mov r8, r3 @@ -370361,10 +370361,10 @@ sub_80BA198: @ 0x080BA198 push {r4, r5, lr} adds r4, r0, #0 ldr r0, _080BA1E4 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find adds r1, r0, #0 ldr r0, _080BA1E8 @ gUnknown_08A3DD20 - bl New6C + bl Proc_Create adds r5, r0, #0 movs r0, #0x1f ands r4, r0 @@ -370464,7 +370464,7 @@ _080BA228: cmp r0, #0x20 bne _080BA276 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080BA276: pop {r3, r4, r5} mov r8, r3 @@ -370481,10 +370481,10 @@ sub_80BA288: @ 0x080BA288 push {r4, r5, lr} adds r4, r0, #0 ldr r0, _080BA2D4 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find adds r1, r0, #0 ldr r0, _080BA2D8 @ gUnknown_08A3DD38 - bl New6C + bl Proc_Create adds r5, r0, #0 movs r0, #0x1f ands r4, r0 @@ -370524,7 +370524,7 @@ NewWorldMap: @ 0x080BA2E4 push {lr} ldr r0, _080BA310 @ gUnknown_08A3D748 movs r1, #3 - bl New6C + bl Proc_Create adds r3, r0, #0 adds r2, r3, #0 adds r2, #0x29 @@ -370682,12 +370682,12 @@ sub_80BA424: @ 0x080BA424 bl sub_8002AC8 ldr r4, _080BA454 @ gUnknown_08A3D748 adds r0, r4, #0 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x44] ldr r0, [r0, #0x4c] bl MapRoute_80BC2DC adds r0, r4, #0 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x44] ldr r1, [r0, #0x4c] adds r1, #0x31 @@ -371087,7 +371087,7 @@ NewMapScreenVSynce: @ 0x080BA718 adds r7, r3, #0 ldr r0, _080BA74C @ gUnknown_08A3DDF4 movs r1, #0 - bl New6C + bl Proc_Create adds r2, r0, #0 cmp r2, #0 beq _080BA750 @@ -371117,7 +371117,7 @@ _080BA752: MapScreen_OnDelete: @ 0x080BA758 push {lr} ldr r0, [r0, #0x48] - bl Delete6C + bl Proc_Delete pop {r0} bx r0 @@ -371713,7 +371713,7 @@ NewMapScreen: @ 0x080BABF0 push {r4, lr} adds r1, r0, #0 ldr r0, _080BAC14 @ gUnknown_08A3DE84 - bl New6C + bl Proc_Create adds r4, r0, #0 ldr r1, _080BAC18 @ gUnknown_03005324 movs r2, #0xa0 @@ -372017,7 +372017,7 @@ _080BAE28: mov r0, sb ldr r1, [r0, #0x14] ldr r0, _080BAE40 @ gUnknown_08A3DECC - bl New6C + bl Proc_Create adds r5, r0, #0 cmp r5, #0 bne _080BAE44 @@ -372105,7 +372105,7 @@ _080BAE44: _080BAEEC: .4byte gUnknown_08205F7C _080BAEF0: ldr r0, _080BAF08 @ gUnknown_08A3DECC - bl Delete6C + bl Proc_Delete movs r0, #3 rsbs r0, r0, #0 _080BAEFA: @@ -372133,7 +372133,7 @@ MapUnitC_DeleteGmapUnit: @ 0x080BAF0C movs r4, #0 str r4, [r5, #0x40] adds r0, r5, #0 - bl Delete6C + bl Proc_Delete str r4, [r6] _080BAF2C: pop {r4, r5, r6} @@ -372510,7 +372510,7 @@ _080BB1AC: cmp r6, #0 beq _080BB1B8 ldr r0, [r4] - bl Delete6C + bl Proc_Delete str r7, [r4] _080BB1B8: adds r4, #4 @@ -372546,7 +372546,7 @@ NewGmapUnitContainer: @ 0x080BB1E8 adds r5, r2, #0 ldr r0, _080BB208 @ gUnknown_08A3DEFC adds r1, r3, #0 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] adds r1, r0, #0 adds r1, #0x30 @@ -372574,7 +372574,7 @@ _080BB214: cmp r0, #0 bge _080BB238 ldr r0, _080BB260 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x4c] adds r1, r4, r6 ldrb r1, [r1] @@ -372582,7 +372582,7 @@ _080BB214: bl sub_80BAFA4 _080BB238: ldr r0, _080BB260 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x4c] adds r1, r4, r6 ldrb r1, [r1] @@ -372790,7 +372790,7 @@ _080BB3C0: bl CpuSet _080BB3CE: adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080BB3D4: bl EnablePaletteSync add sp, #8 @@ -372816,14 +372816,14 @@ sub_80BB3E8: @ 0x080BB3E8 cmp r1, #0 beq _080BB40C ldr r0, _080BB408 @ gUnknown_08A3DF2C - bl NewBlocking6C + bl Proc_CreateBlockingChild b _080BB414 .align 2, 0 _080BB408: .4byte gUnknown_08A3DF2C _080BB40C: ldr r0, _080BB43C @ gUnknown_08A3DF2C movs r1, #3 - bl New6C + bl Proc_Create _080BB414: adds r4, r0, #0 adds r0, r4, #0 @@ -372878,7 +372878,7 @@ _080BB478: .4byte 0x01000010 sub_80BB47C: @ 0x080BB47C push {lr} ldr r0, _080BB488 @ gUnknown_08A3DF2C - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -372888,7 +372888,7 @@ _080BB488: .4byte gUnknown_08A3DF2C sub_80BB48C: @ 0x080BB48C push {lr} ldr r0, _080BB498 @ gUnknown_08A3DF2C - bl Find6C + bl Proc_Find pop {r1} bx r1 .align 2, 0 @@ -372925,7 +372925,7 @@ sub_80BB4C0: @ 0x080BB4C0 mov r8, r1 adds r7, r2, #0 ldr r0, _080BB504 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r6, [r0, #0x4c] lsls r1, r5, #2 adds r0, r6, #0 @@ -372958,7 +372958,7 @@ _080BB50E: movs r2, #0xa bl sub_80BB078 ldr r0, _080BB534 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x4c] adds r1, r5, #0 movs r2, #1 @@ -372982,7 +372982,7 @@ sub_80BB538: @ 0x080BB538 mov r8, r1 adds r7, r2, #0 ldr r0, _080BB57C @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r6, [r0, #0x4c] lsls r1, r5, #2 adds r0, r6, #0 @@ -373015,7 +373015,7 @@ _080BB586: movs r2, #0xa bl sub_80BB078 ldr r0, _080BB5AC @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x4c] adds r1, r5, #0 movs r2, #1 @@ -373575,7 +373575,7 @@ sub_80BB9A4: @ 0x080BB9A4 mov r8, r3 ldr r0, _080BBA20 @ gUnknown_08A3DF64 adds r1, r4, #0 - bl New6C + bl Proc_Create adds r7, r0, #0 str r5, [r7, #0x2c] adds r4, r7, #0 @@ -373856,7 +373856,7 @@ NewGmapCursor: @ 0x080BBBC4 mov r8, r3 ldr r0, _080BBBF0 @ gUnknown_08A3DF94 adds r1, r4, #0 - bl New6C + bl Proc_Create str r5, [r0, #0x2c] adds r1, r0, #0 adds r1, #0x30 @@ -374681,7 +374681,7 @@ _080BC1F2: ldrb r0, [r4] bl BG_EnableSync adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080BC220: pop {r4, r5, r6} pop {r0} @@ -374769,7 +374769,7 @@ _080BC2BC: strb r0, [r3] adds r0, r2, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _080BC2D6: pop {r0} bx r0 @@ -374855,7 +374855,7 @@ _080BC324: strb r0, [r7] adds r0, r6, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel _080BC38A: add sp, #4 pop {r3} @@ -374879,7 +374879,7 @@ NewMapRoute: @ 0x080BC3A4 adds r6, r3, #0 ldr r0, _080BC3D0 @ gUnknown_08A3DFC4 adds r1, r4, #0 - bl New6C + bl Proc_Create str r5, [r0, #0x2c] adds r1, r0, #0 adds r1, #0x30 @@ -375015,9 +375015,9 @@ sub_80BC4A0: @ 0x080BC4A0 sub_80BC4AC: @ 0x080BC4AC push {lr} ldr r0, _080BC4C0 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #0x1b pop {r1} bx r1 @@ -375028,9 +375028,9 @@ _080BC4C0: .4byte gUnknown_08A3D748 sub_80BC4C4: @ 0x080BC4C4 push {lr} ldr r0, _080BC4D8 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find movs r1, #9 - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #0x17 pop {r1} bx r1 @@ -375041,9 +375041,9 @@ _080BC4D8: .4byte gUnknown_08A3D748 sub_80BC4DC: @ 0x080BC4DC push {lr} ldr r0, _080BC4F0 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find movs r1, #0xc - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #0x17 pop {r1} bx r1 @@ -375113,9 +375113,9 @@ _080BC566: sub_80BC56C: @ 0x080BC56C push {lr} ldr r0, _080BC580 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find movs r1, #0xa - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #0x17 pop {r1} bx r1 @@ -375126,9 +375126,9 @@ _080BC580: .4byte gUnknown_08A3D748 sub_80BC584: @ 0x080BC584 push {lr} ldr r0, _080BC598 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find movs r1, #0xb - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #0x17 pop {r1} bx r1 @@ -375139,9 +375139,9 @@ _080BC598: .4byte gUnknown_08A3D748 sub_80BC59C: @ 0x080BC59C push {lr} ldr r0, _080BC5B0 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find movs r1, #0xd - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #0x17 pop {r1} bx r1 @@ -375235,9 +375235,9 @@ sub_80BC650: @ 0x080BC650 movs r1, #0 strb r1, [r0] ldr r0, _080BC670 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #0x1b pop {r1} bx r1 @@ -375400,9 +375400,9 @@ sub_80BC77C: @ 0x080BC77C adds r1, #0xcd strb r0, [r1] ldr r0, _080BC7A0 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find movs r1, #0x13 - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #0x17 pop {r1} bx r1 @@ -375419,9 +375419,9 @@ sub_80BC7A4: @ 0x080BC7A4 adds r1, #0xcd strb r0, [r1] ldr r0, _080BC7C8 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find movs r1, #0x14 - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #0x17 pop {r1} bx r1 @@ -375438,9 +375438,9 @@ sub_80BC7CC: @ 0x080BC7CC adds r1, #0xcd strb r0, [r1] ldr r0, _080BC7F0 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find movs r1, #0x15 - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #0x17 pop {r1} bx r1 @@ -375457,9 +375457,9 @@ sub_80BC7F4: @ 0x080BC7F4 adds r1, #0xcd strb r0, [r1] ldr r0, _080BC818 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find movs r1, #0x16 - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #0x17 pop {r1} bx r1 @@ -377786,7 +377786,7 @@ _080BD95C: strh r0, [r4, #4] _080BD9B4: adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldrb r1, [r7] movs r0, #2 rsbs r0, r0, #0 @@ -378066,7 +378066,7 @@ _080BDBA2: strh r0, [r1, #4] _080BDBE4: adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldrb r1, [r6] movs r0, #2 rsbs r0, r0, #0 @@ -378094,7 +378094,7 @@ MapMU_FillPrim: @ 0x080BDC04 _080BDC0E: ldr r1, [r4, #0x14] ldr r0, _080BDC24 @ gUnknown_08A3E248 - bl New6C + bl Proc_Create stm r6!, {r0} subs r5, #1 cmp r5, #0 @@ -378110,7 +378110,7 @@ NewMapMU: @ 0x080BDC28 push {lr} adds r1, r0, #0 ldr r0, _080BDC38 @ gUnknown_08A3E2C0 - bl New6C + bl Proc_Create pop {r1} bx r1 .align 2, 0 @@ -378564,7 +378564,7 @@ _080BDF1A: strb r0, [r2] adds r0, r5, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel pop {r4, r5, r6} pop {r0} bx r0 @@ -378655,7 +378655,7 @@ sub_80BDFA4: @ 0x080BDFA4 strb r0, [r1] mov r0, ip movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel pop {r4, r5, r6, r7} pop {r0} bx r0 @@ -379033,7 +379033,7 @@ _080BE30C: strb r0, [r7] adds r0, r6, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel _080BE31E: movs r0, #0 add sp, #8 @@ -380208,7 +380208,7 @@ sub_80BEBD4: @ 0x080BEBD4 adds r1, #0x4d strb r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback pop {r4} pop {r0} bx r0 @@ -380261,7 +380261,7 @@ _080BEC80: adds r1, #0x55 strb r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080BECAE: pop {r4, r5} pop {r0} @@ -380314,7 +380314,7 @@ sub_80BECB8: @ 0x080BECB8 cmp r5, #0 bge _080BED1C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080BEDB6 .align 2, 0 _080BED18: .4byte gUnknown_03005280 @@ -380395,7 +380395,7 @@ _080BED7A: beq _080BEDB6 _080BEDB0: adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080BEDB6: add sp, #4 pop {r3} @@ -380469,7 +380469,7 @@ _080BEE04: movs r0, #0xff strb r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080BEE3C: pop {r4, r5} pop {r0} @@ -380666,7 +380666,7 @@ sub_80BEF6C: @ 0x080BEF6C adds r0, r4, #0 bl sub_80BEF20 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080BEFAC: add sp, #8 pop {r4} @@ -380830,7 +380830,7 @@ sub_80BF048: @ 0x080BF048 bl sub_8003D20 ldr r0, _080BF138 @ gUnknown_08A3E464 ldr r1, [r5, #0x14] - bl New6C + bl Proc_Create add sp, #4 pop {r4, r5} pop {r0} @@ -380854,7 +380854,7 @@ sub_80BF13C: @ 0x080BF13C bl sub_80C09B8 ldr r0, _080BF158 @ gUnknown_08A3E4D4 adds r1, r4, #0 - bl New6C + bl Proc_Create pop {r4} pop {r1} bx r1 @@ -380865,9 +380865,9 @@ _080BF158: .4byte gUnknown_08A3E4D4 sub_80BF15C: @ 0x080BF15C push {lr} ldr r0, _080BF178 @ gUnknown_08A3E464 - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r0, _080BF17C @ gUnknown_08A3E4D4 - bl DeleteEach6C + bl Proc_DeleteAllWithScript bl SetDefaultColorEffects bl ClearBG0BG1 pop {r0} @@ -380944,7 +380944,7 @@ _080BF1F4: ldr r1, [r7, #0x3c] str r1, [r0, #0xc] adds r0, r7, #0 - bl Delete6C + bl Proc_Delete _080BF204: pop {r4, r5, r6, r7} pop {r0} @@ -380970,7 +380970,7 @@ _080BF228: ldr r0, _080BF240 @ gUnknown_08A3E4F4 movs r1, #3 _080BF22C: - bl New6C + bl Proc_Create adds r2, r0, #0 cmp r4, #0 bne _080BF248 @@ -381028,7 +381028,7 @@ _080BF272: sub_80BF294: @ 0x080BF294 push {lr} ldr r0, _080BF2A8 @ gUnknown_08A3E4F4 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080BF2A2 movs r0, #1 @@ -381140,7 +381140,7 @@ _080BF310: _080BF360: .4byte gUnknown_03005280 _080BF364: adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080BF36A: pop {r4, r5, r6, r7} pop {r0} @@ -381151,7 +381151,7 @@ sub_80BF370: @ 0x080BF370 push {r4, r5, lr} adds r4, r0, #0 ldr r0, _080BF3B8 @ gUnknown_08A3E52C - bl New6C + bl Proc_Create adds r3, r0, #0 movs r1, #0xa ldrsh r0, [r4, r1] @@ -381221,7 +381221,7 @@ _080BF3EC: sub_80BF3F4: @ 0x080BF3F4 push {lr} ldr r0, _080BF400 @ gUnknown_08A3E52C - bl Find6C + bl Proc_Find pop {r1} bx r1 .align 2, 0 @@ -381258,7 +381258,7 @@ sub_80BF404: @ 0x080BF404 mov sl, r2 mov r0, sl str r3, [sp, #0x1c] - bl Find6C + bl Proc_Find adds r1, r0, #0 adds r0, #0x30 str r0, [sp] @@ -381279,7 +381279,7 @@ sub_80BF404: @ 0x080BF404 strh r2, [r0, #0x18] bl sub_80BF370 mov r0, sl - bl Find6C + bl Proc_Find ldr r1, [r0, #0x50] adds r1, #0x32 ldrb r0, [r1] @@ -381300,7 +381300,7 @@ _080BF48C: .4byte gUnknown_08A3D748 sub_80BF490: @ 0x080BF490 push {lr} ldr r0, _080BF4A4 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r1, [r0, #0x30] movs r0, #1 bics r0, r1 @@ -381313,10 +381313,10 @@ _080BF4A4: .4byte gUnknown_08A3D748 sub_80BF4A8: @ 0x080BF4A8 push {r4, lr} ldr r0, _080BF4C8 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find adds r4, r0, #0 ldr r0, _080BF4CC @ gUnknown_08A3E52C - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r0, [r4, #0x30] movs r1, #1 orrs r0, r1 @@ -381339,7 +381339,7 @@ WM_PutClassSprite: @ 0x080BF4D0 mov r8, r2 adds r4, r3, #0 ldr r0, _080BF500 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] str r4, [sp] adds r1, r5, #0 @@ -381366,7 +381366,7 @@ WM_PutCharSprite: @ 0x080BF504 mov r8, r2 adds r4, r3, #0 ldr r0, _080BF534 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] str r4, [sp] adds r1, r5, #0 @@ -381387,7 +381387,7 @@ WM_RemoveUnit: @ 0x080BF538 push {r4, lr} adds r4, r0, #0 ldr r0, _080BF550 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] adds r1, r4, #0 bl MapMU_RemoveUnit @@ -381402,7 +381402,7 @@ sub_80BF554: @ 0x080BF554 push {r4, lr} adds r4, r0, #0 ldr r0, _080BF56C @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] adds r1, r4, #0 bl sub_80BDDC4 @@ -381417,7 +381417,7 @@ sub_80BF570: @ 0x080BF570 push {r4, lr} adds r4, r0, #0 ldr r0, _080BF588 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] adds r1, r4, #0 bl sub_80BDE3C @@ -381440,7 +381440,7 @@ WM_DrawPath: @ 0x080BF58C cmp r0, #0 bne _080BF5B2 ldr r0, _080BF5BC @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x44] ldr r0, [r0, #0x4c] adds r1, r4, #0 @@ -381580,7 +381580,7 @@ _080BF69A: ldrb r2, [r2] bl CpuSet adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080BF6AE: bl EnablePaletteSync pop {r3, r4, r5} @@ -381603,14 +381603,14 @@ sub_80BF6C0: @ 0x080BF6C0 beq _080BF6E0 ldr r0, _080BF6DC @ gUnknown_08A3E55C adds r1, r2, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _080BF6E8 .align 2, 0 _080BF6DC: .4byte gUnknown_08A3E55C _080BF6E0: ldr r0, _080BF70C @ gUnknown_08A3E55C movs r1, #3 - bl New6C + bl Proc_Create _080BF6E8: adds r2, r0, #0 ldr r0, [r4, #0xc] @@ -381652,7 +381652,7 @@ _080BF72C: .4byte gUnknown_020228A8 sub_80BF730: @ 0x080BF730 push {lr} ldr r0, _080BF744 @ gUnknown_08A3E55C - bl Find6C + bl Proc_Find cmp r0, #0 beq _080BF73E movs r0, #1 @@ -381667,7 +381667,7 @@ sub_80BF748: @ 0x080BF748 push {r4, lr} ldr r4, _080BF780 @ gUnknown_08A3E55C adds r0, r4, #0 - bl Find6C + bl Proc_Find adds r3, r0, #0 cmp r3, #0 beq _080BF77A @@ -381684,7 +381684,7 @@ sub_80BF748: @ 0x080BF748 bl CpuSet bl EnablePaletteSync adds r0, r4, #0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript _080BF77A: pop {r4} pop {r0} @@ -381768,7 +381768,7 @@ sub_80BF804: @ 0x080BF804 adds r6, r0, #0 ldr r5, _080BF888 @ gUnknown_08A3D748 adds r0, r5, #0 - bl Find6C + bl Proc_Find ldr r3, [r0, #0x48] adds r4, r6, #0 adds r4, #0x29 @@ -381804,13 +381804,13 @@ sub_80BF804: @ 0x080BF804 cmp r0, #0 beq _080BF876 adds r0, r5, #0 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x48] ldrb r1, [r4] adds r0, #0x33 strb r1, [r0] adds r0, r5, #0 - bl Find6C + bl Proc_Find ldr r1, [r0, #0x48] adds r1, #0x32 ldrb r0, [r1] @@ -381874,7 +381874,7 @@ sub_80BF8CC: @ 0x080BF8CC strb r0, [r1] ldr r7, _080BF960 @ gUnknown_08A3D748 adds r0, r7, #0 - bl Find6C + bl Proc_Find ldr r3, [r0, #0x48] ldrb r2, [r6] lsrs r0, r2, #5 @@ -381899,13 +381899,13 @@ sub_80BF8CC: @ 0x080BF8CC cmp r0, #0 beq _080BF93C adds r0, r7, #0 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x48] ldrb r1, [r6] adds r0, #0x33 strb r1, [r0] adds r0, r7, #0 - bl Find6C + bl Proc_Find ldr r1, [r0, #0x48] adds r1, #0x32 ldrb r0, [r1] @@ -382005,7 +382005,7 @@ _080BF9C2: b _080BFA10 _080BF9E6: ldr r0, _080BFA18 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r3, [r0, #0x48] adds r0, r4, #0 adds r0, #0x29 @@ -382022,7 +382022,7 @@ _080BF9E6: bics r0, r1 str r0, [r3] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080BFA10: pop {r4} pop {r0} @@ -382146,14 +382146,14 @@ sub_80BFAEC: @ 0x080BFAEC cmp r1, #0 beq _080BFB04 ldr r0, _080BFB00 @ gUnknown_08A3E594 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _080BFB0C .align 2, 0 _080BFB00: .4byte gUnknown_08A3E594 _080BFB04: ldr r0, _080BFB20 @ gUnknown_08A3E594 movs r1, #3 - bl New6C + bl Proc_Create _080BFB0C: adds r1, r0, #0 adds r2, r1, #0 @@ -382171,7 +382171,7 @@ _080BFB20: .4byte gUnknown_08A3E594 sub_80BFB24: @ 0x080BFB24 push {lr} ldr r0, _080BFB30 @ gUnknown_08A3E594 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -382181,7 +382181,7 @@ _080BFB30: .4byte gUnknown_08A3E594 sub_80BFB34: @ 0x080BFB34 push {lr} ldr r0, _080BFB48 @ gUnknown_08A3E594 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080BFB42 movs r0, #1 @@ -382196,7 +382196,7 @@ sub_80BFB4C: @ 0x080BFB4C push {r4, r5, lr} adds r4, r0, #0 ldr r0, _080BFB88 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] adds r5, r4, #0 adds r5, #0x29 @@ -382265,7 +382265,7 @@ sub_80BFBCC: @ 0x080BFBCC orrs r0, r2 strb r0, [r1, #0x10] ldr r0, _080BFC18 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] ldrb r1, [r5] movs r2, #1 @@ -382364,7 +382364,7 @@ _080BFC7E: b _080BFCBC _080BFCA2: ldr r0, _080BFCC4 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] adds r1, r4, #0 adds r1, #0x29 @@ -382372,7 +382372,7 @@ _080BFCA2: movs r2, #0 bl sub_80BE080 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080BFCBC: pop {r4} pop {r0} @@ -382389,14 +382389,14 @@ sub_80BFCC8: @ 0x080BFCC8 cmp r1, #0 beq _080BFCE0 ldr r0, _080BFCDC @ gUnknown_08A3E5E4 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _080BFCE8 .align 2, 0 _080BFCDC: .4byte gUnknown_08A3E5E4 _080BFCE0: ldr r0, _080BFCFC @ gUnknown_08A3E5E4 movs r1, #3 - bl New6C + bl Proc_Create _080BFCE8: adds r1, r0, #0 adds r2, r1, #0 @@ -382414,7 +382414,7 @@ _080BFCFC: .4byte gUnknown_08A3E5E4 sub_80BFD00: @ 0x080BFD00 push {lr} ldr r0, _080BFD0C @ gUnknown_08A3E5E4 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -382424,7 +382424,7 @@ _080BFD0C: .4byte gUnknown_08A3E5E4 sub_80BFD10: @ 0x080BFD10 push {lr} ldr r0, _080BFD24 @ gUnknown_08A3E5E4 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080BFD1E movs r0, #1 @@ -382920,7 +382920,7 @@ _080C00F2: strb r0, [r2] adds r0, r4, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel _080C0134: adds r0, r4, #0 adds r1, r5, #0 @@ -382995,7 +382995,7 @@ _080C0198: strb r0, [r2] adds r0, r4, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel _080C01CE: adds r0, r4, #0 adds r1, r5, #0 @@ -383011,14 +383011,14 @@ NewMapMuEntry: @ 0x080C01DC cmp r1, #0 beq _080C01F0 ldr r0, _080C01EC @ gUnknown_08A3E624 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _080C01F8 .align 2, 0 _080C01EC: .4byte gUnknown_08A3E624 _080C01F0: ldr r0, _080C01FC @ gUnknown_08A3E624 movs r1, #3 - bl New6C + bl Proc_Create _080C01F8: pop {r1} bx r1 @@ -383029,7 +383029,7 @@ _080C01FC: .4byte gUnknown_08A3E624 sub_80C0200: @ 0x080C0200 push {lr} ldr r0, _080C020C @ gUnknown_08A3E624 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -383039,7 +383039,7 @@ _080C020C: .4byte gUnknown_08A3E624 sub_80C0210: @ 0x080C0210 push {lr} ldr r0, _080C0224 @ gUnknown_08A3E624 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080C021E movs r0, #1 @@ -383053,7 +383053,7 @@ _080C0224: .4byte gUnknown_08A3E624 sub_80C0228: @ 0x080C0228 push {lr} ldr r0, _080C023C @ gUnknown_08A3E624 - bl Find6C + bl Proc_Find adds r0, #0x29 ldrb r0, [r0] lsls r0, r0, #0x1f @@ -383069,7 +383069,7 @@ sub_80C0240: @ 0x080C0240 adds r5, r0, #0 adds r4, r1, #0 ldr r0, _080C0298 @ gUnknown_08A3E624 - bl Find6C + bl Proc_Find adds r2, r0, #0 movs r0, #0x29 adds r0, r0, r2 @@ -383103,7 +383103,7 @@ sub_80C0240: @ 0x080C0240 strb r0, [r1] adds r0, r2, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #0 b _080C029E .align 2, 0 @@ -383121,7 +383121,7 @@ sub_80C02A4: @ 0x080C02A4 adds r5, r0, #0 adds r4, r1, #0 ldr r0, _080C02FC @ gUnknown_08A3E624 - bl Find6C + bl Proc_Find adds r2, r0, #0 movs r0, #0x29 adds r0, r0, r2 @@ -383155,7 +383155,7 @@ sub_80C02A4: @ 0x080C02A4 strb r0, [r1] adds r0, r2, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #0 b _080C0302 .align 2, 0 @@ -383400,7 +383400,7 @@ sub_80C04CC: @ 0x080C04CC b _080C04F0 _080C04EA: adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C04F0: pop {r0} bx r0 @@ -383412,14 +383412,14 @@ sub_80C04F4: @ 0x080C04F4 cmp r1, #0 beq _080C0508 ldr r0, _080C0504 @ gUnknown_08A3E6AC - bl NewBlocking6C + bl Proc_CreateBlockingChild b _080C0510 .align 2, 0 _080C0504: .4byte gUnknown_08A3E6AC _080C0508: ldr r0, _080C051C @ gUnknown_08A3E6AC movs r1, #3 - bl New6C + bl Proc_Create _080C0510: adds r1, r0, #0 adds r1, #0x29 @@ -383434,7 +383434,7 @@ _080C051C: .4byte gUnknown_08A3E6AC sub_80C0520: @ 0x080C0520 push {lr} ldr r0, _080C052C @ gUnknown_08A3E6AC - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -383444,7 +383444,7 @@ _080C052C: .4byte gUnknown_08A3E6AC sub_80C0530: @ 0x080C0530 push {lr} ldr r0, _080C0544 @ gUnknown_08A3E6AC - bl Find6C + bl Proc_Find cmp r0, #0 beq _080C053E movs r0, #1 @@ -383472,7 +383472,7 @@ sub_80C054C: @ 0x080C054C adds r4, #0x30 _080C0560: ldr r0, _080C05A8 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] mov r1, r8 adds r1, #0x2e @@ -383613,7 +383613,7 @@ _080C064A: lsls r4, r4, #0x10 lsrs r4, r4, #0x10 ldr r0, _080C06A0 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] mov r3, sb adds r1, r3, r7 @@ -383641,7 +383641,7 @@ _080C06A4: adds r4, #0x38 _080C06B0: ldr r0, _080C06EC @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] mov r2, sb adds r1, r2, r7 @@ -383658,7 +383658,7 @@ _080C06B0: movs r0, #0 strh r0, [r5, #0x2a] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C06DC: pop {r3, r4, r5} mov r8, r3 @@ -383684,7 +383684,7 @@ sub_80C06F0: @ 0x080C06F0 adds r6, #0xa _080C0706: ldr r0, _080C07A8 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] adds r1, r7, #0 adds r1, #0x2e @@ -383775,7 +383775,7 @@ sub_80C07B8: @ 0x080C07B8 cmp r0, #0 bne _080C07CC adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C07CC: pop {r4} pop {r0} @@ -383790,14 +383790,14 @@ sub_80C07D4: @ 0x080C07D4 cmp r1, #0 beq _080C07EC ldr r0, _080C07E8 @ gUnknown_08A3E6E4 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _080C07F4 .align 2, 0 _080C07E8: .4byte gUnknown_08A3E6E4 _080C07EC: ldr r0, _080C0808 @ gUnknown_08A3E6E4 movs r1, #3 - bl New6C + bl Proc_Create _080C07F4: adds r1, r0, #0 adds r2, r1, #0 @@ -383815,7 +383815,7 @@ _080C0808: .4byte gUnknown_08A3E6E4 sub_80C080C: @ 0x080C080C push {lr} ldr r0, _080C0818 @ gUnknown_08A3E6E4 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -383825,7 +383825,7 @@ _080C0818: .4byte gUnknown_08A3E6E4 sub_80C081C: @ 0x080C081C push {lr} ldr r0, _080C0830 @ gUnknown_08A3E6E4 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080C082A movs r0, #1 @@ -384099,7 +384099,7 @@ sub_80C0A10: @ 0x080C0A10 push {r4, lr} adds r4, r0, #0 ldr r0, _080C0A2C @ gUnknown_08A3E8B8 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x2c] ldr r0, [r0] ldrh r1, [r0, #2] @@ -384128,7 +384128,7 @@ sub_80C0A44: @ 0x080C0A44 push {r4, lr} adds r4, r0, #0 ldr r0, _080C0A60 @ gUnknown_08A3E8B8 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x2c] ldr r0, [r0, #4] ldrh r0, [r0, #2] @@ -384721,7 +384721,7 @@ _080C0F28: strh r4, [r0] bl EnablePaletteSync adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r0, _080C0FA0 @ gUnknown_0202BCF0 adds r0, #0x41 ldrb r0, [r0] @@ -384962,7 +384962,7 @@ _080C1102: orrs r0, r1 strb r0, [r2] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C1190 .align 2, 0 _080C1160: .4byte gUnknown_08A97E48 @@ -385129,7 +385129,7 @@ sub_80C128C: @ 0x080C128C cmp r0, #1 bgt _080C129E ldr r0, _080C12A8 @ gUnknown_08A3EA00 - bl DeleteEach6C + bl Proc_DeleteAllWithScript _080C129E: pop {r0} bx r0 @@ -385163,12 +385163,12 @@ sub_80C12AC: @ 0x080C12AC _080C12E0: ldr r4, _080C1320 @ gUnknown_08A3EA00 adds r0, r4, #0 - bl Find6C + bl Proc_Find cmp r0, #0 bne _080C12F4 adds r0, r4, #0 adds r1, r5, #0 - bl New6C + bl Proc_Create _080C12F4: movs r0, #0 strh r0, [r5, #0x2e] @@ -385195,12 +385195,12 @@ sub_80C1324: @ 0x080C1324 push {r4, r5, lr} adds r5, r0, #0 ldr r0, _080C136C @ gUnknown_08A3EA00 - bl Find6C + bl Proc_Find adds r4, r0, #0 cmp r4, #0 bne _080C133A adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C133A: adds r0, r4, #0 adds r0, #0x2b @@ -385211,7 +385211,7 @@ _080C133A: cmp r0, #0 beq _080C1350 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C1350: adds r0, r5, #0 adds r0, #0x29 @@ -385242,7 +385242,7 @@ sub_80C1370: @ 0x080C1370 ands r0, r1 ldr r0, _080C1390 @ gUnknown_08A3EA38 adds r1, r2, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _080C13BC .align 2, 0 _080C138C: .4byte gUnknown_03005280 @@ -385256,7 +385256,7 @@ _080C1394: beq _080C13B4 ldr r0, _080C13B0 @ gUnknown_08A3EA38 movs r1, #3 - bl New6C + bl Proc_Create b _080C13BC .align 2, 0 _080C13AC: .4byte gUnknown_03005280 @@ -385264,7 +385264,7 @@ _080C13B0: .4byte gUnknown_08A3EA38 _080C13B4: ldr r0, _080C13C8 @ gUnknown_08A3EA38 movs r1, #3 - bl NewBlocking6C + bl Proc_CreateBlockingChild _080C13BC: adds r1, r0, #0 adds r1, #0x2a @@ -385278,7 +385278,7 @@ _080C13C8: .4byte gUnknown_08A3EA38 THUMB_FUNC_START sub_80C13CC sub_80C13CC: @ 0x080C13CC push {lr} - bl Delete6C + bl Proc_Delete pop {r0} bx r0 @@ -385286,7 +385286,7 @@ sub_80C13CC: @ 0x080C13CC sub_80C13D8: @ 0x080C13D8 push {lr} ldr r0, _080C13E4 @ gUnknown_08A3EA38 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -385310,7 +385310,7 @@ sub_80C13E8: @ 0x080C13E8 mov r8, sp ldr r6, _080C1458 @ gUnknown_08A3D748 adds r0, r6, #0 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x44] ldrh r0, [r0, #0x34] mov r1, r8 @@ -385319,7 +385319,7 @@ sub_80C13E8: @ 0x080C13E8 add r0, sp mov r8, r0 adds r0, r6, #0 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x44] ldrh r1, [r0, #0x36] mov r0, r8 @@ -385471,7 +385471,7 @@ sub_80C1524: @ 0x080C1524 cmp r0, #7 ble _080C154A adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C154A: movs r1, #0x80 lsls r1, r1, #2 @@ -385590,7 +385590,7 @@ sub_80C1624: @ 0x080C1624 cmp r1, #0x27 ble _080C1640 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C1640: movs r1, #0x2c ldrsh r0, [r4, r1] @@ -385650,7 +385650,7 @@ sub_80C168C: @ 0x080C168C bl TCS_SetAnim ldr r0, _080C16D8 @ gUnknown_08A3EA70 movs r1, #3 - bl New6C + bl Proc_Create str r4, [r0, #0x50] adds r5, #8 str r5, [r0, #0x2c] @@ -385669,7 +385669,7 @@ _080C16D8: .4byte gUnknown_08A3EA70 sub_80C16DC: @ 0x080C16DC push {lr} ldr r0, _080C16F0 @ gUnknown_08A3EA70 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080C16EA movs r0, #1 @@ -385966,7 +385966,7 @@ sub_80C18EC: @ 0x080C18EC bne _080C1918 adds r0, r4, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel _080C1918: pop {r4} pop {r0} @@ -386029,7 +386029,7 @@ _080C1970: mov r3, sb strh r0, [r3] ldr r0, _080C1A4C @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x44] ldrh r0, [r0, #0x34] mov r1, r8 @@ -386037,7 +386037,7 @@ _080C1970: mov r4, sp adds r4, #0xe ldr r0, _080C1A4C @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x44] ldrh r2, [r0, #0x36] strh r2, [r4] @@ -386090,7 +386090,7 @@ _080C19EE: orrs r0, r2 strb r0, [r1, #0x10] ldr r0, _080C1A4C @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] adds r1, r4, #0 bl sub_80BDDC4 @@ -386105,7 +386105,7 @@ _080C19EE: blt _080C1970 _080C1A2A: adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C1A30: add sp, #0x18 pop {r3, r4, r5} @@ -386132,7 +386132,7 @@ sub_80C1A58: @ 0x080C1A58 cmp r0, #0 bne _080C1A6C adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C1A6C: pop {r4} pop {r0} @@ -386147,14 +386147,14 @@ sub_80C1A74: @ 0x080C1A74 bne _080C1A8C ldr r0, _080C1A88 @ gUnknown_08A3EAA8 movs r1, #3 - bl New6C + bl Proc_Create b _080C1A94 .align 2, 0 _080C1A88: .4byte gUnknown_08A3EAA8 _080C1A8C: ldr r0, _080C1AAC @ gUnknown_08A3EAA8 adds r1, r2, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild _080C1A94: adds r1, r0, #0 cmp r4, #0 @@ -386175,11 +386175,11 @@ _080C1AAC: .4byte gUnknown_08A3EAA8 sub_80C1AB0: @ 0x080C1AB0 push {r4, lr} ldr r0, _080C1AD4 @ gUnknown_08A3EAA8 - bl DeleteEach6C + bl Proc_DeleteAllWithScript movs r4, #0 _080C1ABA: ldr r0, _080C1AD8 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] adds r1, r4, #4 bl MapMU_RemoveUnit @@ -386197,7 +386197,7 @@ _080C1AD8: .4byte gUnknown_08A3D748 sub_80C1ADC: @ 0x080C1ADC push {lr} ldr r0, _080C1AF4 @ gUnknown_08A3EAA8 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080C1AF0 adds r1, r0, #0 @@ -386239,7 +386239,7 @@ _080C1B16: cmp r0, #0 beq _080C1B60 ldr r0, _080C1B5C @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r3, [r0, #0x54] ldrb r1, [r5, #0x10] adds r0, r4, #0 @@ -386264,7 +386264,7 @@ _080C1B58: .4byte gUnknown_082060B0 _080C1B5C: .4byte gUnknown_08A3D748 _080C1B60: ldr r0, _080C1BDC @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r3, [r0, #0x54] ldrb r1, [r5, #0x10] adds r0, r4, #0 @@ -386296,7 +386296,7 @@ _080C1B88: strh r0, [r7] ldr r4, _080C1BDC @ gUnknown_08A3D748 adds r0, r4, #0 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] mov r1, r8 movs r3, #0 @@ -386306,7 +386306,7 @@ _080C1B88: adds r1, r6, #0 bl sub_80BE35C adds r0, r4, #0 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] adds r1, r6, #0 bl sub_80BDDC4 @@ -386329,7 +386329,7 @@ _080C1BDC: .4byte gUnknown_08A3D748 sub_80C1BE0: @ 0x080C1BE0 push {lr} ldr r0, _080C1BF4 @ gUnknown_08A3EAA8 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080C1BEE movs r0, #1 @@ -386660,7 +386660,7 @@ sub_80C1E54: @ 0x080C1E54 cmp r0, #0 bgt _080C1E6A adds r0, r1, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C1E6A: pop {r0} bx r0 @@ -386742,7 +386742,7 @@ _080C1EFE: ldrsh r1, [r7, r2] bl sub_80C2488 adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C1F10: pop {r4, r5, r6, r7} pop {r0} @@ -386759,14 +386759,14 @@ sub_80C1F18: @ 0x080C1F18 cmp r1, #0 beq _080C1F34 ldr r0, _080C1F30 @ gUnknown_08A3EB10 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _080C1F3C .align 2, 0 _080C1F30: .4byte gUnknown_08A3EB10 _080C1F34: ldr r0, _080C1F58 @ gUnknown_08A3EB10 movs r1, #3 - bl New6C + bl Proc_Create _080C1F3C: adds r1, r0, #0 strh r4, [r1, #0x2a] @@ -386788,7 +386788,7 @@ _080C1F58: .4byte gUnknown_08A3EB10 sub_80C1F5C: @ 0x080C1F5C push {lr} ldr r0, _080C1F68 @ gUnknown_08A3EB10 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -386799,7 +386799,7 @@ sub_80C1F6C: @ 0x080C1F6C push {r4, lr} ldr r4, _080C1FD0 @ gUnknown_08A3D748 adds r0, r4, #0 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x44] ldr r1, [r0, #0x4c] adds r1, #0x31 @@ -386808,7 +386808,7 @@ sub_80C1F6C: @ 0x080C1F6C orrs r0, r2 strb r0, [r1] adds r0, r4, #0 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x44] ldr r1, [r0, #0x4c] adds r1, #0x31 @@ -386817,7 +386817,7 @@ sub_80C1F6C: @ 0x080C1F6C orrs r0, r2 strb r0, [r1] adds r0, r4, #0 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x48] bl sub_80BB6FC bl sub_80B8E14 @@ -386851,7 +386851,7 @@ sub_80C1FE0: @ 0x080C1FE0 push {r4, r5, lr} adds r5, r0, #0 ldr r0, _080C2040 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x44] ldr r1, [r0, #0x4c] adds r1, #0x31 @@ -386884,7 +386884,7 @@ sub_80C1FE0: @ 0x080C1FE0 bl BG_EnableSyncByMask ldr r0, _080C2058 @ gUnknown_08A3EAF0 adds r1, r5, #0 - bl New6C + bl Proc_Create pop {r4, r5} pop {r0} bx r0 @@ -386909,7 +386909,7 @@ sub_80C205C: @ 0x080C205C bne _080C2074 adds r0, r2, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel _080C2074: pop {r0} bx r0 @@ -386926,7 +386926,7 @@ sub_80C2078: @ 0x080C2078 bne _080C2090 adds r0, r2, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _080C2090: pop {r0} bx r0 @@ -386942,7 +386942,7 @@ sub_80C2094: @ 0x080C2094 cmp r0, #0 beq _080C20AA adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C20AA: pop {r0} bx r0 @@ -387021,7 +387021,7 @@ sub_80C210C: @ 0x080C210C b _080C2148 _080C2142: adds r0, r1, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C2148: pop {r0} bx r0 @@ -387040,7 +387040,7 @@ sub_80C214C: @ 0x080C214C bl CopyDataWithPossibleUncomp ldr r4, _080C2240 @ gUnknown_08A3D748 adds r0, r4, #0 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x44] ldr r1, [r0, #0x4c] adds r1, #0x31 @@ -387053,7 +387053,7 @@ sub_80C214C: @ 0x080C214C orrs r0, r2 strb r0, [r1] adds r0, r4, #0 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x44] ldr r0, [r0, #0x4c] adds r0, #0x31 @@ -387062,7 +387062,7 @@ sub_80C214C: @ 0x080C214C orrs r1, r5 strb r1, [r0] adds r0, r4, #0 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x48] bl sub_80BB6FC movs r0, #1 @@ -387171,7 +387171,7 @@ sub_80C224C: @ 0x080C224C b _080C228A _080C2284: adds r0, r1, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C228A: pop {r0} bx r0 @@ -387224,7 +387224,7 @@ _080C22D8: _080C22E2: strb r0, [r2] ldr r0, _080C22F8 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] movs r1, #0 bl sub_80BDE3C @@ -387244,7 +387244,7 @@ sub_80C22FC: @ 0x080C22FC cmp r0, #0 beq _080C2318 ldr r0, _080C231C @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] movs r1, #0 bl sub_80BDDC4 @@ -387259,7 +387259,7 @@ sub_80C2320: @ 0x080C2320 push {r4, lr} adds r4, r0, #0 ldr r0, _080C238C @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x48] bl sub_80BB708 movs r0, #0 @@ -387312,7 +387312,7 @@ sub_80C2398: @ 0x080C2398 push {r4, lr} adds r4, r0, #0 ldr r0, _080C2410 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x48] bl sub_80BB6FC movs r0, #0 @@ -387359,7 +387359,7 @@ sub_80C2398: @ 0x080C2398 ands r0, r1 strb r0, [r2] ldr r0, _080C241C @ gUnknown_08A3EAF0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r4} pop {r0} bx r0 @@ -387379,14 +387379,14 @@ Make6C_Gmap_RM: @ 0x080C2420 cmp r1, #0 beq _080C243C ldr r0, _080C2438 @ gUnknown_08A3EB50 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _080C2444 .align 2, 0 _080C2438: .4byte gUnknown_08A3EB50 _080C243C: ldr r0, _080C245C @ gUnknown_08A3EB50 movs r1, #3 - bl New6C + bl Proc_Create _080C2444: adds r1, r0, #0 adds r2, r1, #0 @@ -387407,7 +387407,7 @@ _080C245C: .4byte gUnknown_08A3EB50 sub_80C2460: @ 0x080C2460 push {lr} ldr r0, _080C246C @ gUnknown_08A3EB50 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -387417,7 +387417,7 @@ _080C246C: .4byte gUnknown_08A3EB50 sub_80C2470: @ 0x080C2470 push {lr} ldr r0, _080C2484 @ gUnknown_08A3EB50 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080C247E movs r0, #1 @@ -387435,7 +387435,7 @@ sub_80C2488: @ 0x080C2488 lsls r1, r1, #0x10 lsrs r4, r1, #0x10 ldr r0, _080C24A8 @ gUnknown_08A3EB50 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080C24A0 strh r5, [r0, #0x2e] @@ -387453,7 +387453,7 @@ GetWMDisplayPosition: @ 0x080C24AC adds r4, r0, #0 adds r5, r1, #0 ldr r0, _080C24C4 @ gUnknown_08A3EB50 - bl Find6C + bl Proc_Find adds r1, r0, #0 cmp r1, #0 bne _080C24C8 @@ -387476,7 +387476,7 @@ _080C24D2: sub_80C24D8: @ 0x080C24D8 push {lr} ldr r0, _080C24F4 @ gUnknown_08A3EB50 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080C24F0 adds r2, r0, #0 @@ -387495,12 +387495,12 @@ _080C24F4: .4byte gUnknown_08A3EB50 sub_80C24F8: @ 0x080C24F8 push {r4, r5, lr} ldr r0, _080C2584 @ gUnknown_08A3EB50 - bl Find6C + bl Proc_Find adds r5, r0, #0 cmp r5, #0 beq _080C257E ldr r0, _080C2588 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x48] bl sub_80BB6FC movs r0, #0 @@ -387550,9 +387550,9 @@ sub_80C24F8: @ 0x080C24F8 ands r0, r1 strb r0, [r2, #1] ldr r0, _080C2594 @ gUnknown_08A3EAF0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript adds r0, r5, #0 - bl Delete6C + bl Proc_Delete _080C257E: pop {r4, r5} pop {r0} @@ -387654,7 +387654,7 @@ _080C263C: movs r0, #0 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C2652: pop {r4} pop {r0} @@ -387703,7 +387703,7 @@ _080C2696: movs r0, #1 strb r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C26B4: pop {r4} pop {r0} @@ -387716,14 +387716,14 @@ sub_80C26BC: @ 0x080C26BC cmp r1, #0 beq _080C26D0 ldr r0, _080C26CC @ gUnknown_08A3EBE8 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _080C26D8 .align 2, 0 _080C26CC: .4byte gUnknown_08A3EBE8 _080C26D0: ldr r0, _080C26DC @ gUnknown_08A3EBE8 movs r1, #3 - bl New6C + bl Proc_Create _080C26D8: pop {r1} bx r1 @@ -387734,7 +387734,7 @@ _080C26DC: .4byte gUnknown_08A3EBE8 sub_80C26E0: @ 0x080C26E0 push {lr} ldr r0, _080C26EC @ gUnknown_08A3EBE8 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -387744,7 +387744,7 @@ _080C26EC: .4byte gUnknown_08A3EBE8 sub_80C26F0: @ 0x080C26F0 push {lr} ldr r0, _080C2704 @ gUnknown_08A3EBE8 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080C26FE movs r0, #1 @@ -387758,7 +387758,7 @@ _080C2704: .4byte gUnknown_08A3EBE8 sub_80C2708: @ 0x080C2708 push {lr} ldr r0, _080C2718 @ gUnknown_08A3EBE8 - bl Find6C + bl Proc_Find cmp r0, #0 bne _080C271C movs r0, #0 @@ -387967,7 +387967,7 @@ _080C2880: movs r3, #0 bl sub_80C27A8 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C28BA: pop {r4, r5, r6} pop {r0} @@ -388048,7 +388048,7 @@ _080C2950: .4byte gUnknown_08206AF0 _080C2954: bl SetDefaultColorEffects adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C295E: pop {r4, r5, r6} pop {r0} @@ -388066,7 +388066,7 @@ sub_80C2964: @ 0x080C2964 bl sub_80C26BC adds r0, r4, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _080C2980: pop {r4} pop {r0} @@ -388140,7 +388140,7 @@ sub_80C29F8: @ 0x080C29F8 movs r0, #0 strh r0, [r4, #0x30] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C2A14: pop {r4} pop {r0} @@ -388159,7 +388159,7 @@ sub_80C2A1C: @ 0x080C2A1C cmp r0, #0 beq _080C2A38 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C2A38: pop {r4} pop {r0} @@ -388263,14 +388263,14 @@ sub_80C2AD4: @ 0x080C2AD4 beq _080C2AF8 ldr r0, _080C2AF4 @ gUnknown_08A3EC48 adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _080C2B00 .align 2, 0 _080C2AF4: .4byte gUnknown_08A3EC48 _080C2AF8: ldr r0, _080C2B70 @ gUnknown_08A3EC48 movs r1, #3 - bl New6C + bl Proc_Create _080C2B00: adds r7, r0, #0 mov r0, r8 @@ -388336,13 +388336,13 @@ sub_80C2B7C: @ 0x080C2B7C cmp r4, #0 bge _080C2B9C ldr r0, _080C2B90 @ gUnknown_08A3EC48 - bl DeleteEach6C + bl Proc_DeleteAllWithScript b _080C2BB8 .align 2, 0 _080C2B90: .4byte gUnknown_08A3EC48 _080C2B94: adds r0, r1, #0 - bl Delete6C + bl Proc_Delete b _080C2BB8 _080C2B9C: ldr r1, _080C2BC0 @ gUnknown_08A3EC48 @@ -388374,7 +388374,7 @@ sub_80C2BC4: @ 0x080C2BC4 cmp r4, #0 bge _080C2BE0 ldr r0, _080C2BDC @ gUnknown_08A3EC48 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080C2C06 movs r0, #1 @@ -388603,7 +388603,7 @@ _080C2D80: movs r0, #0 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C2D94: add sp, #4 pop {r4} @@ -388650,7 +388650,7 @@ _080C2DD8: movs r0, #1 strb r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C2DF4: add sp, #4 pop {r4} @@ -388667,14 +388667,14 @@ sub_80C2E04: @ 0x080C2E04 cmp r1, #0 beq _080C2E18 ldr r0, _080C2E14 @ gUnknown_08A3ECB0 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _080C2E20 .align 2, 0 _080C2E14: .4byte gUnknown_08A3ECB0 _080C2E18: ldr r0, _080C2E24 @ gUnknown_08A3ECB0 movs r1, #3 - bl New6C + bl Proc_Create _080C2E20: pop {r1} bx r1 @@ -388685,7 +388685,7 @@ _080C2E24: .4byte gUnknown_08A3ECB0 sub_80C2E28: @ 0x080C2E28 push {lr} ldr r0, _080C2E34 @ gUnknown_08A3ECB0 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -388695,7 +388695,7 @@ _080C2E34: .4byte gUnknown_08A3ECB0 sub_80C2E38: @ 0x080C2E38 push {lr} ldr r0, _080C2E4C @ gUnknown_08A3ECB0 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080C2E46 movs r0, #1 @@ -388709,7 +388709,7 @@ _080C2E4C: .4byte gUnknown_08A3ECB0 sub_80C2E50: @ 0x080C2E50 push {lr} ldr r0, _080C2E60 @ gUnknown_08A3ECB0 - bl Find6C + bl Proc_Find cmp r0, #0 bne _080C2E64 movs r0, #0 @@ -388774,7 +388774,7 @@ sub_80C2EA4: @ 0x080C2EA4 bl EnablePaletteSync adds r0, r4, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _080C2ED8: pop {r4} pop {r0} @@ -388868,7 +388868,7 @@ sub_80C2F7C: @ 0x080C2F7C cmp r0, #0 beq _080C2F94 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C2F94: pop {r4} pop {r0} @@ -388887,7 +388887,7 @@ sub_80C2F9C: @ 0x080C2F9C cmp r0, #0 beq _080C2FB8 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C2FB8: pop {r4} pop {r0} @@ -388906,14 +388906,14 @@ sub_80C2FC0: @ 0x080C2FC0 cmp r1, #0 beq _080C2FE0 ldr r0, _080C2FDC @ gUnknown_08A3ED18 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _080C2FE8 .align 2, 0 _080C2FDC: .4byte gUnknown_08A3ED18 _080C2FE0: ldr r0, _080C3030 @ gUnknown_08A3ED18 movs r1, #3 - bl New6C + bl Proc_Create _080C2FE8: adds r4, r0, #0 adds r0, r4, #0 @@ -388973,13 +388973,13 @@ sub_80C304C: @ 0x080C304C cmp r4, #0 bge _080C306C ldr r0, _080C3060 @ gUnknown_08A3ED18 - bl DeleteEach6C + bl Proc_DeleteAllWithScript b _080C3088 .align 2, 0 _080C3060: .4byte gUnknown_08A3ED18 _080C3064: adds r0, r1, #0 - bl Delete6C + bl Proc_Delete b _080C3088 _080C306C: ldr r1, _080C3090 @ gUnknown_08A3ED18 @@ -389011,7 +389011,7 @@ sub_80C3094: @ 0x080C3094 cmp r4, #0 bge _080C30B0 ldr r0, _080C30AC @ gUnknown_08A3ED18 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080C30D6 movs r0, #1 @@ -389088,7 +389088,7 @@ sub_80C3124: @ 0x080C3124 adds r4, r0, #0 ldr r5, _080C3170 @ gUnknown_08A3D748 adds r0, r5, #0 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] ldrh r1, [r4, #0x2c] bl sub_80BE12C @@ -389096,7 +389096,7 @@ sub_80C3124: @ 0x080C3124 cmp r0, #0 beq _080C314C adds r0, r5, #0 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] ldrh r1, [r4, #0x2c] bl sub_80BE330 @@ -389124,7 +389124,7 @@ _080C3170: .4byte gUnknown_08A3D748 _080C3174: .4byte gUnknown_03005280 _080C3178: adds r0, r5, #0 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] ldrh r1, [r4, #0x2c] movs r3, #0x34 @@ -389158,7 +389158,7 @@ sub_80C31A8: @ 0x080C31A8 cmp r0, #0 bgt _080C31BE adds r0, r1, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C31BE: pop {r0} bx r0 @@ -389175,7 +389175,7 @@ sub_80C31C4: @ 0x080C31C4 beq _080C31DC adds r0, r2, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel _080C31DC: pop {r0} bx r0 @@ -389192,7 +389192,7 @@ sub_80C31E0: @ 0x080C31E0 beq _080C31F8 adds r0, r2, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel _080C31F8: pop {r0} bx r0 @@ -389209,11 +389209,11 @@ sub_80C31FC: @ 0x080C31FC beq _080C3214 _080C320C: movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel b _080C321A _080C3214: movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel _080C321A: pop {r0} bx r0 @@ -389223,7 +389223,7 @@ sub_80C3220: @ 0x080C3220 push {r4, lr} adds r4, r0, #0 ldr r0, _080C3240 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] ldrh r1, [r4, #0x2c] movs r2, #0x1e @@ -389241,7 +389241,7 @@ sub_80C3244: @ 0x080C3244 push {r4, lr} adds r4, r0, #0 ldr r0, _080C3260 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] ldrh r1, [r4, #0x2c] movs r2, #0x1e @@ -389261,7 +389261,7 @@ sub_80C3264: @ 0x080C3264 cmp r0, #0 bne _080C3278 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C3278: pop {r4} pop {r0} @@ -389307,7 +389307,7 @@ sub_80C3280: @ 0x080C3280 movs r0, #4 strb r0, [r1, #4] ldr r0, _080C32E0 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] mov r1, sp bl sub_80BDEB4 @@ -389361,7 +389361,7 @@ sub_80C32E4: @ 0x080C32E4 movs r0, #4 strb r0, [r1, #5] ldr r0, _080C334C @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] mov r1, sp bl sub_80BDFA4 @@ -389376,7 +389376,7 @@ sub_80C3350: @ 0x080C3350 push {r4, lr} adds r4, r0, #0 ldr r0, _080C3374 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] ldrh r1, [r4, #0x2c] bl sub_80BE12C @@ -389384,7 +389384,7 @@ sub_80C3350: @ 0x080C3350 cmp r0, #0 bne _080C336E adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C336E: pop {r4} pop {r0} @@ -389401,14 +389401,14 @@ sub_80C3378: @ 0x080C3378 cmp r1, #0 beq _080C3390 ldr r0, _080C338C @ gUnknown_08A3ED60 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _080C3398 .align 2, 0 _080C338C: .4byte gUnknown_08A3ED60 _080C3390: ldr r0, _080C33D0 @ gUnknown_08A3ED60 movs r1, #3 - bl New6C + bl Proc_Create _080C3398: adds r2, r0, #0 adds r1, r2, #0 @@ -389450,14 +389450,14 @@ sub_80C33D4: @ 0x080C33D4 cmp r1, #0 beq _080C33EC ldr r0, _080C33E8 @ gUnknown_08A3ED60 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _080C33F4 .align 2, 0 _080C33E8: .4byte gUnknown_08A3ED60 _080C33EC: ldr r0, _080C3438 @ gUnknown_08A3ED60 movs r1, #3 - bl New6C + bl Proc_Create _080C33F4: adds r2, r0, #0 adds r1, r2, #0 @@ -389503,13 +389503,13 @@ sub_80C343C: @ 0x080C343C cmp r4, #0 bge _080C345C ldr r0, _080C3450 @ gUnknown_08A3ED60 - bl DeleteEach6C + bl Proc_DeleteAllWithScript b _080C3476 .align 2, 0 _080C3450: .4byte gUnknown_08A3ED60 _080C3454: adds r0, r1, #0 - bl Delete6C + bl Proc_Delete b _080C3476 _080C345C: ldr r1, _080C3480 @ gUnknown_08A3ED60 @@ -389540,7 +389540,7 @@ sub_80C3484: @ 0x080C3484 cmp r4, #0 bge _080C34A0 ldr r0, _080C349C @ gUnknown_08A3ED60 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080C34C6 movs r0, #1 @@ -389754,7 +389754,7 @@ sub_80C3624: @ 0x080C3624 lsls r0, r0, #0x18 lsrs r5, r0, #0x18 ldr r0, _080C3658 @ gUnknown_08A3EE44 - bl Find6C + bl Proc_Find adds r4, r0, #0 cmp r4, #0 beq _080C3652 @@ -389783,7 +389783,7 @@ _080C365C: .4byte gUnknown_0201BE30 sub_80C3660: @ 0x080C3660 push {lr} ldr r0, _080C3684 @ gUnknown_08A3EE44 - bl Find6C + bl Proc_Find adds r3, r0, #0 cmp r3, #0 beq _080C3680 @@ -389808,7 +389808,7 @@ sub_80C368C: @ 0x080C368C push {lr} adds r1, r0, #0 ldr r0, _080C369C @ gUnknown_08A3EE44 - bl New6C + bl Proc_Create pop {r1} bx r1 .align 2, 0 @@ -389992,7 +389992,7 @@ sub_80C380C: @ 0x080C380C cmp r0, #0 beq _080C389A ldr r0, _080C38A8 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] mov r4, sp adds r4, #6 @@ -390093,7 +390093,7 @@ _080C38E2: cmp r0, #0 beq _080C3956 ldr r0, _080C3A14 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x54] mov r1, sb ldr r2, [sp, #0x1c] @@ -390250,7 +390250,7 @@ _080C3A24: .4byte gUnknown_08590F44 sub_80C3A28: @ 0x080C3A28 push {lr} ldr r0, _080C3A54 @ gUnknown_08A3D748 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x50] adds r0, #0x34 ldrb r1, [r0] @@ -390370,7 +390370,7 @@ sub_80C3AB8: @ 0x080C3AB8 adds r0, #0x2c strb r1, [r0] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C3B32: pop {r4, r5, r6} pop {r0} @@ -390453,7 +390453,7 @@ _080C3BC6: movs r0, #1 strb r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C3BD4: pop {r4, r5, r6, r7} pop {r0} @@ -390635,7 +390635,7 @@ sub_80C3D24: @ 0x080C3D24 movs r0, #0 str r0, [r4, #0x34] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C3D52: pop {r4} pop {r0} @@ -390667,7 +390667,7 @@ sub_80C3D5C: @ 0x080C3D5C adds r1, #0x29 strb r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C3D90: pop {r4} pop {r0} @@ -390764,7 +390764,7 @@ sub_80C3DAC: @ 0x080C3DAC bl EnablePaletteSync ldr r0, _080C3E7C @ gUnknown_08A3EE74 ldr r1, [r4, #0x14] - bl New6C + bl Proc_Create add sp, #4 pop {r4} pop {r0} @@ -390782,7 +390782,7 @@ sub_80C3E80: @ 0x080C3E80 push {lr} adds r1, r0, #0 ldr r0, _080C3E90 @ gUnknown_08A3EED4 - bl New6C + bl Proc_Create pop {r1} bx r1 .align 2, 0 @@ -390792,9 +390792,9 @@ _080C3E90: .4byte gUnknown_08A3EED4 sub_80C3E94: @ 0x080C3E94 push {lr} ldr r0, _080C3EB8 @ gUnknown_08A3EE74 - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r0, _080C3EBC @ gUnknown_08A3EED4 - bl DeleteEach6C + bl Proc_DeleteAllWithScript bl SetDefaultColorEffects ldr r0, _080C3EC0 @ gUnknown_020234A8 movs r1, #0 @@ -390886,7 +390886,7 @@ _080C3F40: beq _080C3F70 adds r0, r1, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel b _080C3F82 _080C3F50: ldr r0, [r1, #0x2c] @@ -390894,7 +390894,7 @@ _080C3F50: beq _080C3F70 adds r0, r1, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel b _080C3F82 _080C3F60: ldr r0, [r1, #0x2c] @@ -390902,17 +390902,17 @@ _080C3F60: beq _080C3F70 adds r0, r1, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel b _080C3F82 _080C3F70: adds r0, r1, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel b _080C3F82 _080C3F7A: adds r0, r1, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel _080C3F82: pop {r0} bx r0 @@ -390987,14 +390987,14 @@ sub_80C400C: @ 0x080C400C cmp r1, #0 beq _080C4020 ldr r0, _080C401C @ gUnknown_08A3EEEC - bl NewBlocking6C + bl Proc_CreateBlockingChild b _080C4028 .align 2, 0 _080C401C: .4byte gUnknown_08A3EEEC _080C4020: ldr r0, _080C4034 @ gUnknown_08A3EEEC movs r1, #3 - bl New6C + bl Proc_Create _080C4028: adds r1, r0, #0 adds r1, #0x29 @@ -391009,7 +391009,7 @@ _080C4034: .4byte gUnknown_08A3EEEC sub_80C4038: @ 0x080C4038 push {lr} ldr r0, _080C4044 @ gUnknown_08A3EEEC - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -391019,7 +391019,7 @@ _080C4044: .4byte gUnknown_08A3EEEC sub_80C4048: @ 0x080C4048 push {lr} ldr r0, _080C4054 @ gUnknown_08A3EEEC - bl Find6C + bl Proc_Find pop {r1} bx r1 .align 2, 0 @@ -391029,7 +391029,7 @@ _080C4054: .4byte gUnknown_08A3EEEC sub_80C4058: @ 0x080C4058 push {lr} ldr r0, _080C406C @ gUnknown_08A3EEEC - bl Find6C + bl Proc_Find cmp r0, #0 beq _080C4066 movs r0, #1 @@ -391139,7 +391139,7 @@ _080C4100: orrs r0, r2 strb r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C4124: pop {r4} pop {r0} @@ -391162,7 +391162,7 @@ sub_80C412C: @ 0x080C412C blt _080C4150 str r3, [r1, #0x30] adds r0, r2, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C4152 _080C4150: str r0, [r1, #0x30] @@ -391189,7 +391189,7 @@ sub_80C4158: @ 0x080C4158 ands r0, r2 strb r0, [r1] adds r0, r3, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C417E: pop {r0} bx r0 @@ -391235,7 +391235,7 @@ _080C41CA: movs r3, #0 bl SetSpecialColorEffectsParameters adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C41DC: pop {r4} pop {r0} @@ -391259,7 +391259,7 @@ sub_80C41F4: @ 0x080C41F4 adds r4, r1, #0 ldr r0, _080C420C @ gUnknown_08AA2044 adds r1, r2, #0 - bl New6C + bl Proc_Create str r4, [r0, #0x2c] pop {r4} pop {r0} @@ -391271,7 +391271,7 @@ _080C420C: .4byte gUnknown_08AA2044 sub_80C4210: @ 0x080C4210 push {lr} ldr r0, _080C4224 @ gUnknown_08AA2044 - bl Find6C + bl Proc_Find cmp r0, #0 beq _080C421E movs r0, #1 @@ -391285,7 +391285,7 @@ _080C4224: .4byte gUnknown_08AA2044 sub_80C4228: @ 0x080C4228 push {lr} ldr r0, _080C4234 @ gUnknown_08AA2044 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -391824,7 +391824,7 @@ sub_80C4664: @ 0x080C4664 beq _080C468C adds r0, r4, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel b _080C46DA .align 2, 0 _080C4688: .4byte gUnknown_0858791C @@ -391865,7 +391865,7 @@ _080C46B0: movs r0, #0xf0 strh r0, [r1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C46DA: pop {r4} pop {r0} @@ -391994,7 +391994,7 @@ _080C47D8: cmp r0, #0 bgt _080C47EA adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C47EA: pop {r4, r5} pop {r0} @@ -392064,7 +392064,7 @@ sub_80C4878: @ 0x080C4878 push {lr} adds r1, r0, #0 ldr r0, _080C4888 @ gUnknown_08AA2084 - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r0} bx r0 .align 2, 0 @@ -392149,7 +392149,7 @@ sub_80C4918: @ 0x080C4918 bl SoundStuff_800231C adds r0, r4, #0 movs r1, #6 - bl Goto6CLabel + bl Proc_GotoLabel _080C4938: pop {r4} pop {r0} @@ -392432,7 +392432,7 @@ _080C4AF4: cmp r0, #0x3b ble _080C4B90 mov r0, sb - bl Break6CLoop + bl Proc_ClearNativeCallback _080C4B90: add sp, #8 pop {r3, r4, r5} @@ -392536,7 +392536,7 @@ sub_80C4C3C: @ 0x080C4C3C cmp r0, #0 bgt _080C4C52 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C4C52: adds r0, r4, #0 bl sub_80C4918 @@ -392716,7 +392716,7 @@ _080C4DD4: movs r2, #0x20 bl CopyToPaletteBuffer adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r2, _080C4E14 @ gUnknown_08206FE4 adds r0, r4, #0 adds r0, #0x29 @@ -392790,7 +392790,7 @@ _080C4E54: movs r0, #0x50 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C4EAE .align 2, 0 _080C4E80: .4byte gUnknown_02022908 @@ -392813,7 +392813,7 @@ _080C4E88: strb r0, [r2, #1] adds r0, r4, #0 movs r1, #1 - bl Goto6CLabel + bl Proc_GotoLabel _080C4EAE: bl EnablePaletteSync adds r0, r4, #0 @@ -392884,7 +392884,7 @@ _080C4F00: ands r0, r1 strb r0, [r2, #1] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C4F40: bl EnablePaletteSync adds r0, r4, #0 @@ -392945,7 +392945,7 @@ _080C4FA6: cmp r0, #4 bgt _080C4FE4 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r2, _080C4FE0 @ gUnknown_08206FE4 movs r1, #0 ldrsb r1, [r4, r1] @@ -392977,7 +392977,7 @@ _080C4FE4: strb r0, [r4] adds r0, r5, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel _080C5006: bl EnablePaletteSync adds r0, r5, #0 @@ -393039,7 +393039,7 @@ _080C5064: movs r0, #0x50 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback adds r0, r4, #0 bl sub_80C4918 _080C508E: @@ -393144,7 +393144,7 @@ _080C5160: movs r2, #0x20 bl CopyToPaletteBuffer adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r2, _080C51A4 @ gUnknown_08206FE4 adds r0, r4, #0 adds r0, #0x29 @@ -393433,7 +393433,7 @@ _080C53CC: movs r0, #0x3c strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C53E4: bl EnablePaletteSync adds r0, r4, #0 @@ -393469,7 +393469,7 @@ sub_80C541C: @ 0x080C541C push {lr} adds r1, r0, #0 ldr r0, _080C542C @ gUnknown_08AA21BC - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r0} bx r0 .align 2, 0 @@ -393649,7 +393649,7 @@ sub_80C5580: @ 0x080C5580 beq _080C559A ldr r0, [r2, #0x14] movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel _080C559A: pop {r0} bx r0 @@ -393661,7 +393661,7 @@ sub_80C55A4: @ 0x080C55A4 push {lr} adds r1, r0, #0 ldr r0, _080C55B4 @ gUnknown_08AA6814 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -393671,8 +393671,8 @@ _080C55B4: .4byte gUnknown_08AA6814 sub_80C55B8: @ 0x080C55B8 push {lr} ldr r0, _080C55C8 @ gUnknown_08AA6814 - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -393935,7 +393935,7 @@ _080C5810: movs r0, #0 strh r0, [r5, #0x2a] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C5842 .align 2, 0 _080C5830: .4byte gUnknown_08AACEDC @@ -393962,11 +393962,11 @@ sub_80C5848: @ 0x080C5848 beq _080C5862 adds r0, r1, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel b _080C5868 _080C5862: ldr r0, _080C586C @ gUnknown_08AA67FC - bl New6C + bl Proc_Create _080C5868: pop {r0} bx r0 @@ -394170,7 +394170,7 @@ _080C5A34: movs r0, #0 strh r0, [r5, #0x2a] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C5A3E: pop {r4, r5} pop {r0} @@ -394359,7 +394359,7 @@ _080C5BAA: movs r0, #0 strh r0, [r5, #0x2a] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C5BCC .align 2, 0 _080C5BBC: .4byte gUnknown_08590F54 @@ -394602,7 +394602,7 @@ _080C5DC0: movs r0, #0 strh r0, [r7, #0x2a] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C5DE8 .align 2, 0 _080C5DD4: .4byte 0x000001FF @@ -394693,7 +394693,7 @@ sub_80C5E60: @ 0x080C5E60 movs r0, #0 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C5E98 .align 2, 0 _080C5E90: .4byte gUnknown_03003080 @@ -394755,7 +394755,7 @@ _080C5EC4: movs r0, #0 strh r0, [r7, #0x2a] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C5F24 .align 2, 0 _080C5F10: .4byte gUnknown_08AAFCF4 @@ -394954,7 +394954,7 @@ sub_80C6090: @ 0x080C6090 movs r0, #0 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C60C2 _080C60BE: adds r0, #1 @@ -395195,7 +395195,7 @@ sub_80C6204: @ 0x080C6204 movs r0, #0 strh r0, [r7, #0x2a] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C62D0 .align 2, 0 _080C62B0: .4byte gUnknown_03003080 @@ -395245,7 +395245,7 @@ sub_80C62DC: @ 0x080C62DC strb r0, [r4, #1] ldr r0, _080C6350 @ gUnknown_08AA67FC adds r1, r5, #0 - bl New6C + bl Proc_Create movs r0, #1 movs r1, #8 movs r2, #8 @@ -395306,7 +395306,7 @@ _080C638E: movs r0, #0 bl SetNextGameActionId adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C63BA .align 2, 0 _080C639C: .4byte 0x0000FFFF @@ -395319,7 +395319,7 @@ _080C63A8: movs r0, #1 bl SetNextGameActionId adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C63BA: pop {r4} pop {r0} @@ -395378,7 +395378,7 @@ sub_80C6424: @ 0x080C6424 push {lr} adds r1, r0, #0 ldr r0, _080C6440 @ gUnknown_08AA6A50 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r0, #0x29 movs r1, #0 strb r1, [r0] @@ -395395,7 +395395,7 @@ sub_80C6444: @ 0x080C6444 push {lr} adds r1, r0, #0 ldr r0, _080C6458 @ gUnknown_08AA6A50 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r0, #0x29 movs r1, #0 strb r1, [r0] @@ -395409,7 +395409,7 @@ sub_80C645C: @ 0x080C645C push {lr} adds r1, r0, #0 ldr r0, _080C6470 @ gUnknown_08AA6A50 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r0, #0x29 movs r1, #1 strb r1, [r0] @@ -395771,7 +395771,7 @@ sub_80C6704: @ 0x080C6704 strh r1, [r0, #0xc] ldr r0, [r4, #0x14] movs r1, #0x63 - bl Goto6CLabel + bl Proc_GotoLabel _080C672A: pop {r4} pop {r0} @@ -395785,7 +395785,7 @@ AddSomeChild6C: @ 0x080C6738 push {lr} adds r1, r0, #0 ldr r0, _080C6748 @ gUnknown_08AA6CA4 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -395795,8 +395795,8 @@ _080C6748: .4byte gUnknown_08AA6CA4 DeleteSome6C: @ 0x080C674C push {lr} ldr r0, _080C675C @ gUnknown_08AA6CA4 - bl Find6C - bl Delete6C + bl Proc_Find + bl Proc_Delete pop {r0} bx r0 .align 2, 0 @@ -396367,7 +396367,7 @@ sub_80C6B8C: @ 0x080C6B8C cmp r1, r0 bne _080C6BC6 adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080C6BC6: ldrh r0, [r5] adds r0, #1 @@ -396384,7 +396384,7 @@ sub_80C6BD8: @ 0x080C6BD8 push {r4, lr} adds r4, r0, #0 ldr r0, _080C6BEC @ gUnknown_08AA6CBC - bl New6C + bl Proc_Create adds r0, #0x64 strh r4, [r0] pop {r4} @@ -396679,7 +396679,7 @@ _080C6E42: movs r3, #0 bl sub_8001ED0 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C6E88 .align 2, 0 _080C6E78: .4byte gUnknown_020228A8 @@ -396704,7 +396704,7 @@ Until6C2AIs8Callback: @ 0x080C6E90 movs r0, #0 strh r0, [r1, #0x2a] adds r0, r1, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C6EAA _080C6EA6: adds r0, #1 @@ -396739,7 +396739,7 @@ sub_80C6EB0: @ 0x080C6EB0 movs r0, #0 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C6EF0 .align 2, 0 _080C6EE8: .4byte gUnknown_03003080 @@ -396756,7 +396756,7 @@ _080C6EF0: sub_80C6EF8: @ 0x080C6EF8 push {lr} ldr r0, _080C6F0C @ gUnknown_08AA6CDC - bl Find6C + bl Proc_Find cmp r0, #0 beq _080C6F06 movs r0, #1 @@ -396908,7 +396908,7 @@ _080C701C: movs r0, #0 strh r0, [r5, #0x2a] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C7048 .align 2, 0 _080C7034: .4byte gUnknown_08AB630C @@ -397088,7 +397088,7 @@ sub_80C71C0: @ 0x080C71C0 push {lr} ldr r0, _080C71D0 @ gUnknown_08AA6D04 movs r1, #0 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -397098,7 +397098,7 @@ _080C71D0: .4byte gUnknown_08AA6D04 sub_80C71D4: @ 0x080C71D4 push {lr} ldr r0, _080C71E0 @ gUnknown_08AA6D04 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 @@ -397576,7 +397576,7 @@ _080C7586: movs r0, #2 bl SetBackgroundTileDataOffset adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C760A .align 2, 0 _080C75EC: .4byte gUnknown_02021188 @@ -397636,7 +397636,7 @@ sub_80C7618: @ 0x080C7618 movs r0, #0 strh r0, [r5] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C7678 .align 2, 0 _080C7668: .4byte gUnknown_08AB8CAC @@ -397802,7 +397802,7 @@ _080C7790: bl SetBackgroundTileDataOffset ldr r0, _080C7828 @ gUnknown_08AA7034 adds r1, r5, #0 - bl New6C + bl Proc_Create _080C77B8: strh r6, [r5, #0x30] _080C77BA: @@ -397853,7 +397853,7 @@ _080C77BA: mov r2, r8 strh r2, [r5, #0x2a] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C7836 .align 2, 0 _080C7824: .4byte gUnknown_02021188 @@ -398069,7 +398069,7 @@ sub_80C7900: @ 0x080C7900 movs r3, #0 bl sub_8001ED0 ldr r0, [sp, #4] - bl Break6CLoop + bl Proc_ClearNativeCallback add sp, #8 pop {r3, r4, r5} mov r8, r3 @@ -398140,7 +398140,7 @@ _080C7A4E: movs r0, #0 strh r0, [r7, #0x2a] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C7A7C .align 2, 0 _080C7A6C: .4byte gUnknown_02022188 @@ -398189,7 +398189,7 @@ _080C7ABC: movs r0, #0 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C7AE0 .align 2, 0 _080C7AD0: .4byte gUnknown_02022188 @@ -398261,7 +398261,7 @@ _080C7B44: cmp r3, #0 bne _080C7B44 adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C7B78 .align 2, 0 _080C7B60: .4byte gUnknown_08AA6BFA @@ -398435,7 +398435,7 @@ _080C7C88: bne _080C7CE4 strh r4, [r6, #0x2a] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C7CEA .align 2, 0 _080C7CD0: .4byte gUnknown_08AA6BFA @@ -398722,7 +398722,7 @@ _080C7F06: movs r0, #2 bl SetBackgroundTileDataOffset adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C7F86 .align 2, 0 _080C7F6C: .4byte gUnknown_02021188 @@ -398901,7 +398901,7 @@ _080C807A: mov r2, r8 strh r2, [r5, #0x2a] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C80F2 .align 2, 0 _080C80E4: .4byte gUnknown_02021188 @@ -398972,7 +398972,7 @@ sub_80C8100: @ 0x080C8100 movs r3, #0 bl sub_8001ED0 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback add sp, #4 pop {r4, r5} pop {r0} @@ -399039,7 +399039,7 @@ _080C81E0: movs r0, #0 strh r0, [r7, #0x2a] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C820C .align 2, 0 _080C81FC: .4byte gUnknown_02022188 @@ -399088,7 +399088,7 @@ _080C824C: movs r0, #0 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C8270 .align 2, 0 _080C8260: .4byte gUnknown_02022188 @@ -399205,7 +399205,7 @@ _080C8328: cmp r4, #0 bne _080C8328 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C8354 .align 2, 0 _080C8344: .4byte gUnknown_03003080 @@ -399378,7 +399378,7 @@ _080C8462: bl SetPrimaryHBlankHandler strh r4, [r6, #0x2a] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C84CA .align 2, 0 _080C84B0: .4byte gUnknown_08AA6C0E @@ -399450,7 +399450,7 @@ _080C851C: movs r0, #0 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C854C .align 2, 0 _080C8544: .4byte gUnknown_03003080 @@ -399539,7 +399539,7 @@ sub_80C85B0: @ 0x080C85B0 cmp r0, #0x28 bne _080C85EE adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C85F2 _080C85EE: adds r0, r1, #1 @@ -399609,7 +399609,7 @@ sub_80C8638: @ 0x080C8638 cmp r0, #0x28 bne _080C8676 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C867A _080C8676: adds r0, r1, #1 @@ -399790,13 +399790,13 @@ _080C8802: cmp r0, #0x28 bne _080C8830 ldr r0, _080C8828 @ gUnknown_08AA705C - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r0, _080C882C @ gUnknown_08AA707C - bl DeleteEach6C + bl Proc_DeleteAllWithScript movs r0, #0 strh r0, [r5, #0x2a] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C8834 .align 2, 0 _080C8820: .4byte gUnknown_08AF404C @@ -399901,11 +399901,11 @@ _080C88FA: cmp r0, #0x28 bne _080C8928 ldr r0, _080C8924 @ gUnknown_08AA705C - bl DeleteEach6C + bl Proc_DeleteAllWithScript movs r0, #0 strh r0, [r5, #0x2a] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C892C .align 2, 0 _080C8914: .4byte gUnknown_02022CA8 @@ -400013,7 +400013,7 @@ _080C89F2: movs r0, #0 strh r0, [r5, #0x2a] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C8A18 .align 2, 0 _080C8A04: .4byte gUnknown_02022CA8 @@ -400120,7 +400120,7 @@ _080C8ADE: movs r0, #0 strh r0, [r5, #0x2a] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C8B04 .align 2, 0 _080C8AF0: .4byte gUnknown_02022CA8 @@ -400227,7 +400227,7 @@ _080C8BCA: movs r0, #0 strh r0, [r5, #0x2a] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C8BF0 .align 2, 0 _080C8BDC: .4byte gUnknown_02022CA8 @@ -400334,7 +400334,7 @@ _080C8CB6: movs r0, #0 strh r0, [r5, #0x2a] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C8CDC .align 2, 0 _080C8CC8: .4byte gUnknown_02022CA8 @@ -400379,7 +400379,7 @@ sub_80C8CE4: @ 0x080C8CE4 movs r0, #0 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C8D28 _080C8D24: adds r0, #1 @@ -400554,7 +400554,7 @@ _080C8EA0: movs r0, #0 strh r0, [r7, #0x2a] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C8ECC .align 2, 0 _080C8EB4: .4byte gUnknown_08ADD070 @@ -400699,7 +400699,7 @@ _080C8FF0: movs r0, #0 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C901C .align 2, 0 _080C9004: .4byte gUnknown_08ADFA28 @@ -400798,7 +400798,7 @@ _080C90CC: movs r0, #0 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C90F8 .align 2, 0 _080C90E0: .4byte gUnknown_08AE0D94 @@ -400922,7 +400922,7 @@ _080C91E4: movs r0, #0 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C9210 .align 2, 0 _080C91F8: .4byte gUnknown_08AE2C14 @@ -401046,7 +401046,7 @@ _080C92FC: movs r0, #0 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C9328 .align 2, 0 _080C9310: .4byte gUnknown_08AE4D08 @@ -401145,7 +401145,7 @@ _080C93D8: movs r0, #0 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C9404 .align 2, 0 _080C93EC: .4byte gUnknown_08AE60D0 @@ -401290,7 +401290,7 @@ _080C9528: movs r0, #0 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C9554 .align 2, 0 _080C953C: .4byte gUnknown_08AE7C4C @@ -401389,7 +401389,7 @@ _080C9604: movs r0, #0 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C9630 .align 2, 0 _080C9618: .4byte gUnknown_08AE9740 @@ -401513,7 +401513,7 @@ _080C971C: movs r0, #0 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C9748 .align 2, 0 _080C9730: .4byte gUnknown_08AEDCA0 @@ -401658,7 +401658,7 @@ _080C986C: movs r0, #0 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C9898 .align 2, 0 _080C9880: .4byte gUnknown_08AEC068 @@ -401782,7 +401782,7 @@ _080C9984: movs r0, #0 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C99B0 .align 2, 0 _080C9998: .4byte gUnknown_08AEF8A0 @@ -401881,7 +401881,7 @@ _080C9A60: movs r0, #0 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C9A8C .align 2, 0 _080C9A74: .4byte gUnknown_08AF0E08 @@ -401938,7 +401938,7 @@ sub_80C9A94: @ 0x080C9A94 movs r0, #0 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C9AF4 .align 2, 0 _080C9AEC: .4byte gUnknown_03003080 @@ -401990,7 +401990,7 @@ _080C9B26: strh r1, [r0, #0xc] strh r2, [r7, #0x2a] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C9B64 .align 2, 0 _080C9B50: .4byte gUnknown_08B103D8 @@ -402431,7 +402431,7 @@ sub_80C9E6C: @ 0x080C9E6C movs r0, #0 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C9EDE .align 2, 0 _080C9ED4: .4byte gUnknown_03003080 @@ -402563,7 +402563,7 @@ sub_80C9F7C: @ 0x080C9F7C movs r0, #0 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080C9FEE .align 2, 0 _080C9FE4: .4byte gUnknown_03003080 @@ -402702,7 +402702,7 @@ _080CA0F2: movs r0, #0 strh r0, [r5, #0x2a] adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080CA102 _080CA0FE: adds r0, #1 @@ -402873,7 +402873,7 @@ _080CA24C: movs r0, #0 strh r0, [r6, #0x2a] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080CA264 _080CA260: adds r0, #1 @@ -403151,7 +403151,7 @@ _080CA484: movs r0, #0 strh r0, [r4, #0x2a] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080CA49C _080CA498: adds r0, #1 @@ -403166,7 +403166,7 @@ _080CA49C: sub_80CA4A4: @ 0x080CA4A4 push {lr} ldr r0, _080CA4D4 @ gUnknown_08AA707C - bl DeleteEach6C + bl Proc_DeleteAllWithScript ldr r2, _080CA4D8 @ gUnknown_03003080 ldrb r1, [r2, #1] movs r0, #2 @@ -403720,7 +403720,7 @@ _080CA900: movs r0, #0 strh r0, [r6, #0x2a] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080CA924 .align 2, 0 _080CA914: .4byte gUnknown_03003080 @@ -403755,7 +403755,7 @@ sub_80CA940: @ 0x080CA940 push {r5, r6} sub sp, #4 ldr r0, _080CA9F0 @ gUnknown_08AA707C - bl DeleteEach6C + bl Proc_DeleteAllWithScript movs r0, #3 movs r1, #0 movs r2, #0 @@ -404010,7 +404010,7 @@ _080CAB4C: movs r0, #0 strh r0, [r1, #0x2a] mov r0, sb - bl Break6CLoop + bl Proc_ClearNativeCallback b _080CAB9E .align 2, 0 _080CAB60: .4byte 0x0000FFFF @@ -404305,7 +404305,7 @@ _080CADC6: movs r0, #0 strh r0, [r1, #0x2a] ldr r0, [sp, #4] - bl Break6CLoop + bl Proc_ClearNativeCallback b _080CAE0E .align 2, 0 _080CADDC: .4byte 0x0000FFFF @@ -404431,7 +404431,7 @@ _080CAEDE: movs r0, #0 strh r0, [r1, #0x2a] mov r0, r8 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080CAF1A .align 2, 0 _080CAEF4: .4byte 0x0000FFFF @@ -404609,7 +404609,7 @@ _080CB060: movs r0, #0 strh r0, [r7, #0x2a] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080CB098 .align 2, 0 _080CB074: .4byte 0x0000FFFF @@ -404779,7 +404779,7 @@ _080CB1CE: movs r0, #0 strh r0, [r7, #0x2a] adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080CB204 .align 2, 0 _080CB1E0: .4byte 0x0000FFFF @@ -404897,7 +404897,7 @@ _080CB2CC: movs r0, #0 strh r0, [r6, #0x2a] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080CB310 .align 2, 0 _080CB2E0: .4byte 0x0000FFFF @@ -405192,7 +405192,7 @@ _080CB4F2: movs r0, #0 strh r0, [r1, #0x2a] mov r0, sl - bl Break6CLoop + bl Proc_ClearNativeCallback b _080CB582 .align 2, 0 _080CB54C: .4byte gUnknown_03003080 @@ -405315,7 +405315,7 @@ _080CB64C: movs r0, #0 strh r0, [r6, #0x2a] adds r0, r6, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080CB690 .align 2, 0 _080CB660: .4byte 0x0000FFFF @@ -405536,7 +405536,7 @@ _080CB826: movs r0, #0 strh r0, [r1, #0x2a] mov r0, sb - bl Break6CLoop + bl Proc_ClearNativeCallback b _080CB866 .align 2, 0 _080CB83C: .4byte 0x0000FFFF @@ -405763,7 +405763,7 @@ _080CBA0C: movs r0, #0 strh r0, [r1, #0x2a] mov r0, sb - bl Break6CLoop + bl Proc_ClearNativeCallback b _080CBA52 .align 2, 0 _080CBA20: .4byte 0x0000FFFF @@ -405989,7 +405989,7 @@ _080CBBF0: movs r0, #0 strh r0, [r1, #0x2a] mov r0, sb - bl Break6CLoop + bl Proc_ClearNativeCallback b _080CBC2E .align 2, 0 _080CBC04: .4byte 0x0000FFFF @@ -406135,7 +406135,7 @@ _080CBD28: movs r0, #0 strh r0, [r1, #0x2a] mov r0, r8 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080CBD6A .align 2, 0 _080CBD3C: .4byte 0x0000FFFF @@ -406223,7 +406223,7 @@ _080CBDEA: beq _080CBE00 adds r0, r4, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel _080CBE00: pop {r4} pop {r0} @@ -406507,7 +406507,7 @@ _080CC044: mov r0, sp bl CpuFastSet adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080CC058: bl EnablePaletteSync add sp, #4 @@ -406533,7 +406533,7 @@ sub_80CC074: @ 0x080CC074 movs r0, #0 str r0, [r4, #0x30] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080CC08C: adds r0, r4, #0 bl sub_80CBDD8 @@ -406579,7 +406579,7 @@ _080CC0C0: movs r0, #0x3c str r0, [r4, #0x34] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080CC0E4: adds r0, r4, #0 bl sub_80CBDD8 @@ -406612,7 +406612,7 @@ sub_80CC0FC: @ 0x080CC0FC movs r0, #0x28 str r0, [r4, #0x34] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080CC128: adds r0, r4, #0 bl sub_80CBDD8 @@ -406662,7 +406662,7 @@ _080CC166: movs r0, #0x3c str r0, [r4, #0x34] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080CC18A: adds r0, r4, #0 bl sub_80CBDD8 @@ -406695,7 +406695,7 @@ sub_80CC1A0: @ 0x080CC1A0 movs r0, #0x3c str r0, [r4, #0x34] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080CC1CC: adds r0, r4, #0 bl sub_80CBDD8 @@ -406738,7 +406738,7 @@ PrepareHealthAndSafetyScreen: @ 0x080CC1F8 bne _080CC21C ldr r1, _080CC218 @ 0x000003E7 adds r0, r7, #0 - bl Goto6CLabel + bl Proc_GotoLabel b _080CC2BA .align 2, 0 _080CC218: .4byte 0x000003E7 @@ -406851,7 +406851,7 @@ sub_80CC2F4: @ 0x080CC2F4 movs r0, #0x5a str r0, [r4, #0x34] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080CC31E: add sp, #4 pop {r4} @@ -406975,7 +406975,7 @@ _080CC3C6: movs r3, #0 bl SetSpecialColorEffectsParameters adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080CC416: add sp, #4 pop {r4, r5} @@ -407008,7 +407008,7 @@ sub_80CC430: @ 0x080CC430 movs r0, #0x28 str r0, [r4, #0x34] adds r0, r4, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080CC45C: add sp, #4 pop {r4} @@ -407048,7 +407048,7 @@ Make6C_PromotionMain: @ 0x080CC498 push {lr} adds r1, r0, #0 ldr r0, _080CC4A8 @ gUnknown_08B12614 - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r1} bx r1 .align 2, 0 @@ -407197,7 +407197,7 @@ _080CC5CE: _080CC5D4: adds r0, r2, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel b _080CC622 _080CC5DE: adds r0, r1, #0 @@ -407209,7 +407209,7 @@ _080CC5DE: bne _080CC622 adds r0, r2, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel b _080CC622 _080CC5F6: adds r0, r1, #0 @@ -407226,14 +407226,14 @@ _080CC600: strb r0, [r1] adds r0, r2, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel b _080CC622 _080CC616: cmp r0, #1 bne _080CC622 adds r0, r2, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel _080CC622: pop {r0} bx r0 @@ -407261,14 +407261,14 @@ sub_80CC628: @ 0x080CC628 strb r0, [r1] adds r0, r4, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel _080CC656: ldrb r0, [r5] cmp r0, #1 bne _080CC664 adds r0, r4, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel _080CC664: pop {r4, r5} pop {r0} @@ -407319,7 +407319,7 @@ _080CC6BA: adds r0, r4, #0 bl sub_80ADDD4 adds r0, r4, #0 - bl Delete6C + bl Proc_Delete pop {r4, r5} pop {r0} bx r0 @@ -407651,7 +407651,7 @@ _080CC92C: strb r0, [r4] b _080CC938 _080CC934: - bl Break6CLoop + bl Proc_ClearNativeCallback _080CC938: pop {r4} pop {r0} @@ -407662,7 +407662,7 @@ sub_80CC940: @ 0x080CC940 push {lr} adds r1, r0, #0 ldr r0, _080CC984 @ gUnknown_08B126CC - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r2, r0, #0 adds r0, #0x31 movs r1, #0 @@ -407734,7 +407734,7 @@ _080CC9B6: strb r0, [r2] ldr r0, _080CCA10 @ gUnknown_08B126CC adds r1, r5, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r3, r0, #0 adds r1, r3, #0 adds r1, #0x31 @@ -407767,7 +407767,7 @@ sub_80CCA14: @ 0x080CCA14 push {r4, r5, lr} adds r1, r0, #0 ldr r0, _080CCA5C @ gUnknown_08B126CC - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r5, r0, #0 adds r2, r5, #0 adds r2, #0x31 @@ -408154,7 +408154,7 @@ Make6C_PromotionSub: @ 0x080CCD34 push {lr} adds r1, r0, #0 ldr r0, _080CCD44 @ gUnknown_08B1271C - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r1} bx r1 .align 2, 0 @@ -408730,11 +408730,11 @@ sub_80CD1D4: @ 0x080CD1D4 beq _080CD208 cmp r1, #1 bne _080CD208 - bl Delete6C + bl Proc_Delete adds r0, r4, #0 - bl Delete6C + bl Proc_Delete adds r0, r5, #0 - bl Delete6C + bl Proc_Delete ldr r0, _080CD210 @ gUnknown_030053A0 bl sub_805AA28 ldr r0, _080CD214 @ gUnknown_0201FADC @@ -408761,11 +408761,11 @@ sub_80CD218: @ 0x080CD218 cmp r0, #2 bne _080CD27C adds r0, r1, #0 - bl Delete6C + bl Proc_Delete adds r0, r5, #0 - bl Delete6C + bl Proc_Delete adds r0, r4, #0 - bl Delete6C + bl Proc_Delete ldr r0, _080CD284 @ gUnknown_030053A0 bl sub_805AA28 ldr r0, _080CD288 @ gUnknown_0201FADC @@ -408776,7 +408776,7 @@ sub_80CD218: @ 0x080CD218 strb r0, [r1, #0x11] adds r0, r6, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel bl UnblockGameGraphicsLogic bl sub_80311A8 bl RefreshFogAndUnitMaps @@ -408808,20 +408808,20 @@ sub_80CD294: @ 0x080CD294 bne _080CD2AE adds r0, r1, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel b _080CD2C6 _080CD2AE: cmp r0, #1 bne _080CD2BA adds r0, r1, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080CD2C6 _080CD2BA: cmp r0, #2 bne _080CD2C6 adds r0, r1, #0 movs r1, #4 - bl Goto6CLabel + bl Proc_GotoLabel _080CD2C6: pop {r0} bx r0 @@ -408841,13 +408841,13 @@ sub_80CD2CC: @ 0x080CD2CC _080CD2E0: adds r0, r1, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel b _080CD2F4 _080CD2EA: cmp r0, #2 bne _080CD2F4 adds r0, r1, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080CD2F4: pop {r0} bx r0 @@ -409263,7 +409263,7 @@ sub_80CD618: @ 0x080CD618 push {lr} ldr r0, _080CD628 @ gUnknown_08B127EC movs r1, #3 - bl New6C + bl Proc_Create pop {r0} bx r0 .align 2, 0 @@ -409301,7 +409301,7 @@ sub_80CD668: @ 0x080CD668 push {lr} adds r1, r0, #0 ldr r0, _080CD678 @ gUnknown_08B1280C - bl NewBlocking6C + bl Proc_CreateBlockingChild pop {r1} bx r1 .align 2, 0 @@ -409762,7 +409762,7 @@ _080CD9E6: bne _080CDA00 adds r0, r2, #0 movs r1, #3 - bl Goto6CLabel + bl Proc_GotoLabel b _080CDA1E _080CDA00: str r0, [sp] @@ -409894,13 +409894,13 @@ sub_80CDAD8: @ 0x080CDAD8 ldr r0, [r4, #0x14] bl EndMenu ldr r0, _080CDB14 @ gUnknown_08B12614 - bl Find6C + bl Proc_Find adds r4, r0, #0 bl sub_80ADDD4 bl sub_80CCBD4 adds r0, r4, #0 movs r1, #5 - bl Goto6CLabel + bl Proc_GotoLabel _080CDB0A: movs r0, #7 pop {r4} @@ -410064,10 +410064,10 @@ _080CDC2E: b _080CDC42 _080CDC32: adds r0, r1, #0 - bl Delete6C + bl Proc_Delete adds r0, r4, #0 movs r1, #2 - bl Goto6CLabel + bl Proc_GotoLabel movs r0, #0xb _080CDC42: pop {r4} @@ -410194,7 +410194,7 @@ PromotionCommand_OnChange: @ 0x080CDD00 Usability_ThirdPromotionOption: @ 0x080CDD38 push {r4, lr} ldr r0, _080CDD6C @ gUnknown_08B12A08 - bl Find6C + bl Proc_Find ldr r0, [r0, #0x14] ldr r4, [r0, #0x14] bl sub_80CCCA4 @@ -410278,7 +410278,7 @@ Make6C_PromotionMenuSelect: @ 0x080CDDDC push {lr} adds r1, r0, #0 ldr r0, _080CDDEC @ gUnknown_08B12A08 - bl New6C + bl Proc_Create pop {r1} bx r1 .align 2, 0 @@ -410298,7 +410298,7 @@ sub_80CDDF0: @ 0x080CDDF0 cmp r6, #0 bne _080CDE10 adds r0, r4, #0 - bl Delete6C + bl Proc_Delete b _080CDE6A _080CDE10: bl GetThread2SkipStack @@ -410364,7 +410364,7 @@ sub_80CDE74: @ 0x080CDE74 cmp r4, r0 bne _080CDE90 adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080CDE90: pop {r4, r5} pop {r0} @@ -410432,7 +410432,7 @@ sub_80CDEA8: @ 0x080CDEA8 bl sub_80ADDD4 ldr r0, _080CDF48 @ gUnknown_08B12A64 adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r0, r5, #0 adds r0, #0x31 ldrb r0, [r0] @@ -411608,7 +411608,7 @@ _080CE810: ble _080CE7E4 mov r0, sl mov r1, r8 - bl New6C + bl Proc_Create mov r1, sb str r1, [r0, #0x34] _080CE83A: @@ -411741,7 +411741,7 @@ _080CE916: ble _080CE8EC mov r0, sl mov r1, r8 - bl New6C + bl Proc_Create mov r1, sb str r1, [r0, #0x34] _080CE940: @@ -411961,7 +411961,7 @@ _080CEAC6: _080CEAD8: .4byte gUnknown_020234A8 _080CEADC: adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback _080CEAE2: pop {r4, r5, r6, r7} pop {r0} @@ -412423,7 +412423,7 @@ _080CEE44: bl sub_8086CE8 ldr r0, _080CEF0C @ gUnknown_08B12B1C ldr r1, [sp, #4] - bl New6C + bl Proc_Create movs r0, #0xf bl BG_EnableSyncByMask movs r3, #0x80 @@ -412746,14 +412746,14 @@ _080CF114: _080CF120: ldr r0, _080CF130 @ gUnknown_08B12B9C adds r1, r5, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild bl sub_8097668 b _080CF43A .align 2, 0 _080CF130: .4byte gUnknown_08B12B9C _080CF134: adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback b _080CF43A _080CF13C: ldr r0, _080CF170 @ gUnknown_0202BCF0 @@ -412804,7 +412804,7 @@ _080CF17E: strb r1, [r0] ldr r0, _080CF1A8 @ gUnknown_08B12B3C adds r1, r5, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _080CF43A .align 2, 0 _080CF1A4: .4byte gUnknown_08B12AA4 @@ -412964,7 +412964,7 @@ _080CF2C0: _080CF2C6: ldr r0, _080CF2E0 @ gUnknown_08B12B9C adds r1, r5, #0 - bl New6C + bl Proc_Create ldr r2, _080CF2E4 @ gUnknown_08B12AA4 ldr r0, [r2] adds r0, #0x2b @@ -413093,7 +413093,7 @@ _080CF3A4: strb r0, [r1] ldr r0, _080CF3E8 @ gUnknown_08B12C3C adds r1, r5, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r5, r0, #0 ldr r0, [r6] adds r0, #0x2e @@ -413123,7 +413123,7 @@ _080CF3EC: strb r0, [r2] ldr r0, _080CF440 @ gUnknown_08B12C3C adds r1, r5, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild adds r5, r0, #0 ldr r0, [r6] adds r0, #0x2e @@ -413160,7 +413160,7 @@ sub_80CF448: @ 0x080CF448 push {lr} bl EndBG3Slider ldr r0, _080CF45C @ gUnknown_08B12B1C - bl DeleteEach6C + bl Proc_DeleteAllWithScript bl Delete6CMenuScroll pop {r0} bx r0 diff --git a/asm/main.s b/asm/main.s index 414144cb..36f6070b 100644 --- a/asm/main.s +++ b/asm/main.s @@ -55,7 +55,7 @@ _08000A64: bl UpdateKeyStatus bl StoreRoutinesToIRAM bl sub_80A2C3C - bl Initialize6CEngine + bl Proc_Initialize bl TCS_ClearAll bl ResetMoveunitStructs ldr r0, _08000B08 @ 0x42D690E9 diff --git a/asm/proc.s b/asm/proc.s deleted file mode 100644 index 9aca6728..00000000 --- a/asm/proc.s +++ /dev/null @@ -1,175 +0,0 @@ - .INCLUDE "macro.inc" - - .SYNTAX UNIFIED - - THUMB_FUNC_START Find6C_ -Find6C_: @ 0x0800346C - push {lr} - adds r3, r0, #0 - cmp r1, #0 - bne _08003480 - ldr r1, _08003478 @ gUnknown_02024E68 - b _08003482 - .align 2, 0 -_08003478: .4byte gUnknown_02024E68 -_0800347C: - adds r0, r1, #0 - b _08003498 -_08003480: - adds r1, #0x6c -_08003482: - ldr r0, _0800349C @ gUnknown_02026968 - cmp r1, r0 - bhs _08003496 - adds r2, r0, #0 -_0800348A: - ldr r0, [r1] - cmp r0, r3 - beq _0800347C - adds r1, #0x6c - cmp r1, r2 - blo _0800348A -_08003496: - movs r0, #0 -_08003498: - pop {r1} - bx r1 - .align 2, 0 -_0800349C: .4byte gUnknown_02026968 - - THUMB_FUNC_START sub_80034A0 -sub_80034A0: @ 0x080034A0 - push {lr} - adds r2, r0, #0 - cmp r2, #0 - bne _080034B4 - ldr r2, _080034AC @ gUnknown_02024E68 - b _080034B6 - .align 2, 0 -_080034AC: .4byte gUnknown_02024E68 -_080034B0: - adds r0, r2, #0 - b _080034CC -_080034B4: - adds r2, #0x6c -_080034B6: - ldr r0, _080034D0 @ gUnknown_02026968 - cmp r2, r0 - bhs _080034CA - adds r3, r0, #0 -_080034BE: - ldr r0, [r2, #0x14] - cmp r0, r1 - beq _080034B0 - adds r2, #0x6c - cmp r2, r3 - blo _080034BE -_080034CA: - movs r0, #0 -_080034CC: - pop {r1} - bx r1 - .align 2, 0 -_080034D0: .4byte gUnknown_02026968 - - THUMB_FUNC_START sub_80034D4 -sub_80034D4: @ 0x080034D4 - push {lr} - movs r2, #0x40 - ldr r1, _080034F4 @ gUnknown_02024E68 - ldr r0, _080034F8 @ 0x00001A94 - adds r3, r1, r0 -_080034DE: - ldr r0, [r1] - cmp r0, #0 - beq _080034E6 - subs r2, #1 -_080034E6: - adds r1, #0x6c - cmp r1, r3 - ble _080034DE - adds r0, r2, #0 - pop {r1} - bx r1 - .align 2, 0 -_080034F4: .4byte gUnknown_02024E68 -_080034F8: .4byte 0x00001A94 - - THUMB_FUNC_START sub_80034FC -sub_80034FC: @ 0x080034FC - push {r4, lr} - adds r3, r0, #0 - ldr r2, _08003514 @ gUnknown_02024E68 - movs r1, #0 - movs r4, #0x3f -_08003506: - cmp r3, #0 - bne _08003518 - ldr r0, [r2] - cmp r0, #0 - beq _08003520 - b _0800351E - .align 2, 0 -_08003514: .4byte gUnknown_02024E68 -_08003518: - ldr r0, [r2] - cmp r0, r3 - bne _08003520 -_0800351E: - adds r1, #1 -_08003520: - subs r4, #1 - adds r2, #0x6c - cmp r4, #0 - bge _08003506 - adds r0, r1, #0 - pop {r4} - pop {r1} - bx r1 - - THUMB_FUNC_START sub_8003530 -sub_8003530: @ 0x08003530 - ldr r2, _0800353C @ gUnknown_02024E68 - str r2, [r0] - str r1, [r0, #4] - movs r1, #0 - str r1, [r0, #8] - bx lr - .align 2, 0 -_0800353C: .4byte gUnknown_02024E68 - - THUMB_FUNC_START sub_8003540 -sub_8003540: @ 0x08003540 - push {r4, r5, lr} - adds r3, r0, #0 - movs r4, #0 - ldr r0, [r3, #8] - cmp r0, #0x3f - bgt _08003570 - ldr r5, [r3, #4] -_0800354E: - ldr r1, [r3] - ldr r0, [r1] - cmp r0, r5 - bne _08003558 - adds r4, r1, #0 -_08003558: - ldr r0, [r3, #8] - adds r2, r0, #1 - str r2, [r3, #8] - adds r0, r1, #0 - adds r0, #0x6c - str r0, [r3] - cmp r4, #0 - beq _0800356C - adds r0, r4, #0 - b _08003572 -_0800356C: - cmp r2, #0x3f - ble _0800354E -_08003570: - movs r0, #0 -_08003572: - pop {r4, r5} - pop {r1} - bx r1 diff --git a/asm/rom_800148C.s b/asm/rom_800148C.s index 0e679b10..df2ea632 100644 --- a/asm/rom_800148C.s +++ b/asm/rom_800148C.s @@ -1992,7 +1992,7 @@ _08002326: ldr r0, [r5] cmp r0, #0 beq _08002336 - bl Break6CLoop + bl Proc_ClearNativeCallback movs r0, #0 str r0, [r5] _08002336: @@ -2000,7 +2000,7 @@ _08002336: ldr r0, [r5] cmp r0, #0 beq _08002346 - bl Break6CLoop + bl Proc_ClearNativeCallback movs r0, #0 str r0, [r5] _08002346: @@ -2037,7 +2037,7 @@ _08002386: ldr r0, [r5] cmp r0, #0 beq _08002396 - bl Break6CLoop + bl Proc_ClearNativeCallback movs r0, #0 str r0, [r5] _08002396: @@ -2045,7 +2045,7 @@ _08002396: ldr r0, [r5] cmp r0, #0 beq _080023A6 - bl Break6CLoop + bl Proc_ClearNativeCallback movs r0, #0 str r0, [r5] _080023A6: @@ -2243,7 +2243,7 @@ sub_80024F0: @ 0x080024F0 cmp r0, r1 blt _08002556 adds r0, r7, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r1, _08002570 @ gUnknown_03000040 movs r0, #0 str r0, [r1] @@ -2284,7 +2284,7 @@ sub_8002574: @ 0x08002574 strh r6, [r0, #4] ldr r0, _0800260C @ gUnknown_08587958 movs r1, #3 - bl New6C + bl Proc_Create mov r8, r0 ldr r4, _08002610 @ gUnknown_03006440 adds r0, r4, #0 @@ -2481,14 +2481,14 @@ ISuspectThisToBeMusicRelated_8002730: @ 0x08002730 cmp r1, #0 beq _0800274C ldr r0, _08002748 @ gUnknown_08587970 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _08002754 .align 2, 0 _08002748: .4byte gUnknown_08587970 _0800274C: ldr r0, _08002780 @ gUnknown_08587970 movs r1, #3 - bl New6C + bl Proc_Create _08002754: adds r4, r0, #0 adds r0, r4, #0 @@ -2574,7 +2574,7 @@ _080027F4: strb r0, [r1, #6] _080027FA: adds r0, r5, #0 - bl Break6CLoop + bl Proc_ClearNativeCallback ldr r1, _08002818 @ gUnknown_03000044 movs r0, #0 str r0, [r1] @@ -2613,7 +2613,7 @@ Some6CMusicRelatedWaitCallback: @ 0x0800281C ldr r1, [r4, #0x54] bl sub_8002890 adds r0, r4, #0 - bl Delete6C + bl Proc_Delete _0800284E: pop {r4} pop {r0} @@ -2635,7 +2635,7 @@ Exec6CSomeWaitIfMusicOn: @ 0x08002858 bne _08002880 ldr r0, _0800288C @ gUnknown_08587988 movs r1, #3 - bl New6C + bl Proc_Create adds r1, r0, #0 adds r0, #0x4c strh r4, [r0] @@ -2757,7 +2757,7 @@ _0800294C: .4byte gUnknown_02024E5C sub_8002950: @ 0x08002950 push {lr} ldr r0, _08002960 @ gUnknown_08587970 - bl Find6C + bl Proc_Find cmp r0, #0 bne _08002964 movs r0, #0 @@ -2829,7 +2829,7 @@ sub_80029BC: @ 0x080029BC _080029DA: adds r0, r4, #0 movs r1, #0 - bl Goto6CLabel + bl Proc_GotoLabel _080029E2: pop {r4} pop {r0} @@ -2860,7 +2860,7 @@ _08002A0E: beq _08002A24 ldr r0, _08002A20 @ gUnknown_08587998 adds r1, r4, #0 - bl NewBlocking6C + bl Proc_CreateBlockingChild b _08002A2C .align 2, 0 _08002A1C: .4byte gUnknown_02024E5C @@ -2868,7 +2868,7 @@ _08002A20: .4byte gUnknown_08587998 _08002A24: ldr r0, _08002A4C @ gUnknown_08587998 movs r1, #3 - bl New6C + bl Proc_Create _08002A2C: adds r4, r0, #0 str r6, [r4, #0x58] @@ -2907,7 +2907,7 @@ _08002A62: sub_8002A6C: @ 0x08002A6C push {lr} ldr r0, _08002A7C @ gUnknown_08587998 - bl Find6C + bl Proc_Find cmp r0, #0 bne _08002A80 movs r0, #0 @@ -2949,7 +2949,7 @@ _08002AB4: .4byte gUnknown_02024E5C DeleteAll6CWaitMusicRelated: @ 0x08002AB8 push {lr} ldr r0, _08002AC4 @ gUnknown_08587988 - bl DeleteEach6C + bl Proc_DeleteAllWithScript pop {r0} bx r0 .align 2, 0 diff --git a/data/data.s b/data/data_587A40.s similarity index 86% rename from data/data.s rename to data/data_587A40.s index b6a8d5e3..c5e688b3 100644 --- a/data/data.s +++ b/data/data_587A40.s @@ -1,1801 +1,5 @@ .section .rodata - .global gUnknown_080D74C8 -gUnknown_080D74C8: @ 0x080D74C8 - .incbin "baserom.gba", 0xD74C8, 0x8 - - .global gUnknown_080D74D0 -gUnknown_080D74D0: @ 0x080D74D0 - .incbin "baserom.gba", 0xD74D0, 0x1C - - .global gUnknown_080D74EC -gUnknown_080D74EC: @ 0x080D74EC - .incbin "baserom.gba", 0xD74EC, 0x8 - - .global gUnknown_080D74F4 -gUnknown_080D74F4: @ 0x080D74F4 - .incbin "baserom.gba", 0xD74F4, 0x10 - - .global gUnknown_080D7504 -gUnknown_080D7504: @ 0x080D7504 - .incbin "baserom.gba", 0xD7504, 0x18 - - .global gUnknown_080D751C -gUnknown_080D751C: @ 0x080D751C - .incbin "baserom.gba", 0xD751C, 0x80 - - .global gUnknown_080D759C -gUnknown_080D759C: @ 0x080D759C - .incbin "baserom.gba", 0xD759C, 0x200 - - .global gUnknown_080D779C -gUnknown_080D779C: @ 0x080D779C - .incbin "baserom.gba", 0xD779C, 0x14 - - .global gUnknown_080D77B0 -gUnknown_080D77B0: @ 0x080D77B0 - .incbin "baserom.gba", 0xD77B0, 0xC - - .global gUnknown_080D77BC -gUnknown_080D77BC: @ 0x080D77BC - .incbin "baserom.gba", 0xD77BC, 0x20 - - .global gUnknown_080D77DC -gUnknown_080D77DC: @ 0x080D77DC - .incbin "baserom.gba", 0xD77DC, 0x20 - - .global gUnknown_080D77FC -gUnknown_080D77FC: @ 0x080D77FC - .incbin "baserom.gba", 0xD77FC, 0xF0 - - .global gUnknown_080D78EC -gUnknown_080D78EC: @ 0x080D78EC - .incbin "baserom.gba", 0xD78EC, 0x1C - - .global gUnknown_080D7908 -gUnknown_080D7908: @ 0x080D7908 - .incbin "baserom.gba", 0xD7908, 0x24 - - .global gUnknown_080D792C -gUnknown_080D792C: @ 0x080D792C - .incbin "baserom.gba", 0xD792C, 0x10 - - .global gUnknown_080D793C -gUnknown_080D793C: @ 0x080D793C - .incbin "baserom.gba", 0xD793C, 0x3 - - .global gUnknown_080D793F -gUnknown_080D793F: @ 0x080D793F - .incbin "baserom.gba", 0xD793F, 0xF - - .global gUnknown_080D794E -gUnknown_080D794E: @ 0x080D794E - .incbin "baserom.gba", 0xD794E, 0x6 - - .global gUnknown_080D7954 -gUnknown_080D7954: @ 0x080D7954 - .incbin "baserom.gba", 0xD7954, 0x10 - - .global gUnknown_080D7964 -gUnknown_080D7964: @ 0x080D7964 - .incbin "baserom.gba", 0xD7964, 0x74 - - .global gUnknown_080D79D8 -gUnknown_080D79D8: @ 0x080D79D8 - .incbin "baserom.gba", 0xD79D8, 0x8 - - .global gUnknown_080D79E0 -gUnknown_080D79E0: @ 0x080D79E0 - .incbin "baserom.gba", 0xD79E0, 0x8 - - .global gUnknown_080D79E8 -gUnknown_080D79E8: @ 0x080D79E8 - .incbin "baserom.gba", 0xD79E8, 0x28 - - .global gUnknown_080D7A10 -gUnknown_080D7A10: @ 0x080D7A10 - .incbin "baserom.gba", 0xD7A10, 0x20 - - .global gUnknown_080D7A30 -gUnknown_080D7A30: @ 0x080D7A30 - .incbin "baserom.gba", 0xD7A30, 0x8 - - .global gUnknown_080D7A38 -gUnknown_080D7A38: @ 0x080D7A38 - .incbin "baserom.gba", 0xD7A38, 0x2C - - .global gUnknown_080D7A64 -gUnknown_080D7A64: @ 0x080D7A64 - .incbin "baserom.gba", 0xD7A64, 0x8 - - .global gUnknown_080D7A6C -gUnknown_080D7A6C: @ 0x080D7A6C - .incbin "baserom.gba", 0xD7A6C, 0x10 - - .global gUnknown_080D7A7C -gUnknown_080D7A7C: @ 0x080D7A7C - .incbin "baserom.gba", 0xD7A7C, 0xC - - .global gUnknown_080D7A88 -gUnknown_080D7A88: @ 0x080D7A88 - .incbin "baserom.gba", 0xD7A88, 0x4 - - .global gUnknown_080D7A8C -gUnknown_080D7A8C: @ 0x080D7A8C - .incbin "baserom.gba", 0xD7A8C, 0x28 - - .global gUnknown_080D7AB4 -gUnknown_080D7AB4: @ 0x080D7AB4 - .incbin "baserom.gba", 0xD7AB4, 0x10 - - .global gUnknown_080D7AC4 -gUnknown_080D7AC4: @ 0x080D7AC4 - .incbin "baserom.gba", 0xD7AC4, 0x6C - - .global gUnknown_080D7B30 -gUnknown_080D7B30: @ 0x080D7B30 - .incbin "baserom.gba", 0xD7B30, 0x34 - - .global gUnknown_080D7B64 -gUnknown_080D7B64: @ 0x080D7B64 - .incbin "baserom.gba", 0xD7B64, 0x34 - - .global gUnknown_080D7B98 -gUnknown_080D7B98: @ 0x080D7B98 - .incbin "baserom.gba", 0xD7B98, 0x34 - - .global gUnknown_080D7BCC -gUnknown_080D7BCC: @ 0x080D7BCC - .incbin "baserom.gba", 0xD7BCC, 0x38 - - .global gUnknown_080D7C04 -gUnknown_080D7C04: @ 0x080D7C04 - .incbin "baserom.gba", 0xD7C04, 0x8 - - .global gUnknown_080D7C0C -gUnknown_080D7C0C: @ 0x080D7C0C - .incbin "baserom.gba", 0xD7C0C, 0x8 - - .global gUnknown_080D7C14 -gUnknown_080D7C14: @ 0x080D7C14 - .incbin "baserom.gba", 0xD7C14, 0x4 - - .global gUnknown_080D7C18 -gUnknown_080D7C18: @ 0x080D7C18 - .incbin "baserom.gba", 0xD7C18, 0x20 - - .global gUnknown_080D7C38 -gUnknown_080D7C38: @ 0x080D7C38 - .incbin "baserom.gba", 0xD7C38, 0x8 - - .global gUnknown_080D7C40 -gUnknown_080D7C40: @ 0x080D7C40 - .incbin "baserom.gba", 0xD7C40, 0x2 - - .global gUnknown_080D7C42 -gUnknown_080D7C42: @ 0x080D7C42 - .incbin "baserom.gba", 0xD7C42, 0x2 - - .global gUnknown_080D7C44 -gUnknown_080D7C44: @ 0x080D7C44 - .incbin "baserom.gba", 0xD7C44, 0x2A8 - - .global gUnknown_080D7EEC -gUnknown_080D7EEC: @ 0x080D7EEC - .incbin "baserom.gba", 0xD7EEC, 0x60 - - .global gUnknown_080D7F4C -gUnknown_080D7F4C: @ 0x080D7F4C - .incbin "baserom.gba", 0xD7F4C, 0xC - - .global gUnknown_080D7F58 -gUnknown_080D7F58: @ 0x080D7F58 - .incbin "baserom.gba", 0xD7F58, 0x4 - - .global gUnknown_080D7F5C -gUnknown_080D7F5C: @ 0x080D7F5C - .incbin "baserom.gba", 0xD7F5C, 0x8 - - .global gUnknown_080D7F64 -gUnknown_080D7F64: @ 0x080D7F64 - .incbin "baserom.gba", 0xD7F64, 0x28 - - .global gUnknown_080D7F8C -gUnknown_080D7F8C: @ 0x080D7F8C - .incbin "baserom.gba", 0xD7F8C, 0x6 - - .global gUnknown_080D7F92 -gUnknown_080D7F92: @ 0x080D7F92 - .incbin "baserom.gba", 0xD7F92, 0x1E - - .global gUnknown_080D7FB0 -gUnknown_080D7FB0: @ 0x080D7FB0 - .incbin "baserom.gba", 0xD7FB0, 0x20 - - .global gUnknown_080D7FD0 -gUnknown_080D7FD0: @ 0x080D7FD0 - .incbin "baserom.gba", 0xD7FD0, 0x48 - - .global gUnknown_080D8018 -gUnknown_080D8018: @ 0x080D8018 - .incbin "baserom.gba", 0xD8018, 0x58 - - .global gUnknown_080D8070 -gUnknown_080D8070: @ 0x080D8070 - .incbin "baserom.gba", 0xD8070, 0x54 - - .global gUnknown_080D80C4 -gUnknown_080D80C4: @ 0x080D80C4 - .incbin "baserom.gba", 0xD80C4, 0x24 - - .global gUnknown_080D80E8 -gUnknown_080D80E8: @ 0x080D80E8 - .incbin "baserom.gba", 0xD80E8, 0xC - - .global gUnknown_080D80F4 -gUnknown_080D80F4: @ 0x080D80F4 - .incbin "baserom.gba", 0xD80F4, 0x8 - - .global gUnknown_080D80FC -gUnknown_080D80FC: @ 0x080D80FC - .incbin "baserom.gba", 0xD80FC, 0x7C - - .global gUnknown_080D8178 -gUnknown_080D8178: @ 0x080D8178 - .incbin "baserom.gba", 0xD8178, 0x3C0 - - .global gUnknown_080D8538 -gUnknown_080D8538: @ 0x080D8538 - .incbin "baserom.gba", 0xD8538, 0x144 - - .global gUnknown_080D867C -gUnknown_080D867C: @ 0x080D867C - .incbin "baserom.gba", 0xD867C, 0x4 - - .global gUnknown_080D8680 -gUnknown_080D8680: @ 0x080D8680 - .incbin "baserom.gba", 0xD8680, 0xC - - .global gUnknown_080D868C -gUnknown_080D868C: @ 0x080D868C - .incbin "baserom.gba", 0xD868C, 0x4 - - .global gUnknown_080D8690 -gUnknown_080D8690: @ 0x080D8690 - .incbin "baserom.gba", 0xD8690, 0x64 - - .global gUnknown_080D86F4 -gUnknown_080D86F4: @ 0x080D86F4 - .incbin "baserom.gba", 0xD86F4, 0x4 - - .global gUnknown_080D86F8 -gUnknown_080D86F8: @ 0x080D86F8 - .incbin "baserom.gba", 0xD86F8, 0x1C - - .global gUnknown_080D8714 -gUnknown_080D8714: @ 0x080D8714 - .incbin "baserom.gba", 0xD8714, 0x2C - - .global gUnknown_080D8740 -gUnknown_080D8740: @ 0x080D8740 - .incbin "baserom.gba", 0xD8740, 0x155E - - .global gUnknown_080D9C9E -gUnknown_080D9C9E: @ 0x080D9C9E - .incbin "baserom.gba", 0xD9C9E, 0x96 - - .global gUnknown_080D9D34 -gUnknown_080D9D34: @ 0x080D9D34 - .incbin "baserom.gba", 0xD9D34, 0x19 - - .global gUnknown_080D9D4D -gUnknown_080D9D4D: @ 0x080D9D4D - .incbin "baserom.gba", 0xD9D4D, 0x9 - - .global gUnknown_080D9D56 -gUnknown_080D9D56: @ 0x080D9D56 - .incbin "baserom.gba", 0xD9D56, 0x8 - - .global gUnknown_080D9D5E -gUnknown_080D9D5E: @ 0x080D9D5E - .incbin "baserom.gba", 0xD9D5E, 0x3 - - .global gUnknown_080D9D61 -gUnknown_080D9D61: @ 0x080D9D61 - .incbin "baserom.gba", 0xD9D61, 0x83 - - .global gUnknown_080D9DE4 -gUnknown_080D9DE4: @ 0x080D9DE4 - .incbin "baserom.gba", 0xD9DE4, 0xE - - .global gUnknown_080D9DF2 -gUnknown_080D9DF2: @ 0x080D9DF2 - .incbin "baserom.gba", 0xD9DF2, 0x14 - - .global gUnknown_080D9E06 -gUnknown_080D9E06: @ 0x080D9E06 - .incbin "baserom.gba", 0xD9E06, 0x8 - - .global gUnknown_080D9E0E -gUnknown_080D9E0E: @ 0x080D9E0E - .incbin "baserom.gba", 0xD9E0E, 0xE - - .global gUnknown_080D9E1C -gUnknown_080D9E1C: @ 0x080D9E1C - .incbin "baserom.gba", 0xD9E1C, 0x28 - - .global gUnknown_080D9E44 -gUnknown_080D9E44: @ 0x080D9E44 - .incbin "baserom.gba", 0xD9E44, 0xC - - .global gUnknown_080D9E50 -gUnknown_080D9E50: @ 0x080D9E50 - .incbin "baserom.gba", 0xD9E50, 0x4C - - .global gUnknown_080D9E9C -gUnknown_080D9E9C: @ 0x080D9E9C - .incbin "baserom.gba", 0xD9E9C, 0xA - - .global gUnknown_080D9EA6 -gUnknown_080D9EA6: @ 0x080D9EA6 - .incbin "baserom.gba", 0xD9EA6, 0x1A - - .global gUnknown_080D9EC0 -gUnknown_080D9EC0: @ 0x080D9EC0 - .incbin "baserom.gba", 0xD9EC0, 0x8 - - .global gUnknown_080D9EC8 -gUnknown_080D9EC8: @ 0x080D9EC8 - .incbin "baserom.gba", 0xD9EC8, 0x28 - - .global gUnknown_080D9EF0 -gUnknown_080D9EF0: @ 0x080D9EF0 - .incbin "baserom.gba", 0xD9EF0, 0xC - - .global gUnknown_080D9EFC -gUnknown_080D9EFC: @ 0x080D9EFC - .incbin "baserom.gba", 0xD9EFC, 0x1C - - .global gUnknown_080D9F18 -gUnknown_080D9F18: @ 0x080D9F18 - .incbin "baserom.gba", 0xD9F18, 0x8 - - .global gUnknown_080D9F20 -gUnknown_080D9F20: @ 0x080D9F20 - .incbin "baserom.gba", 0xD9F20, 0x8 - - .global gUnknown_080D9F28 -gUnknown_080D9F28: @ 0x080D9F28 - .incbin "baserom.gba", 0xD9F28, 0x10 - - .global gUnknown_080D9F38 -gUnknown_080D9F38: @ 0x080D9F38 - .incbin "baserom.gba", 0xD9F38, 0x10 - - .global gUnknown_080D9F48 -gUnknown_080D9F48: @ 0x080D9F48 - .incbin "baserom.gba", 0xD9F48, 0x50 - - .global gUnknown_080D9F98 -gUnknown_080D9F98: @ 0x080D9F98 - .incbin "baserom.gba", 0xD9F98, 0x8 - - .global gUnknown_080D9FA0 -gUnknown_080D9FA0: @ 0x080D9FA0 - .incbin "baserom.gba", 0xD9FA0, 0x8 - - .global gUnknown_080D9FA8 -gUnknown_080D9FA8: @ 0x080D9FA8 - .incbin "baserom.gba", 0xD9FA8, 0x8 - - .global gUnknown_080D9FB0 -gUnknown_080D9FB0: @ 0x080D9FB0 - .incbin "baserom.gba", 0xD9FB0, 0x5 - - .global gUnknown_080D9FB5 -gUnknown_080D9FB5: @ 0x080D9FB5 - .incbin "baserom.gba", 0xD9FB5, 0x2 - - .global gUnknown_080D9FB7 -gUnknown_080D9FB7: @ 0x080D9FB7 - .incbin "baserom.gba", 0xD9FB7, 0x1F - - .global gUnknown_080D9FD6 -gUnknown_080D9FD6: @ 0x080D9FD6 - .incbin "baserom.gba", 0xD9FD6, 0xE - - .global gUnknown_080D9FE4 -gUnknown_080D9FE4: @ 0x080D9FE4 - .incbin "baserom.gba", 0xD9FE4, 0xB8 - - .global gUnknown_080DA09C -gUnknown_080DA09C: @ 0x080DA09C - .incbin "baserom.gba", 0xDA09C, 0x3E - - .global gUnknown_080DA0DA -gUnknown_080DA0DA: @ 0x080DA0DA - .incbin "baserom.gba", 0xDA0DA, 0x20 - - .global gUnknown_080DA0FA -gUnknown_080DA0FA: @ 0x080DA0FA - .incbin "baserom.gba", 0xDA0FA, 0x8 - - .global gUnknown_080DA102 -gUnknown_080DA102: @ 0x080DA102 - .incbin "baserom.gba", 0xDA102, 0x30 - - .global gUnknown_080DA132 -gUnknown_080DA132: @ 0x080DA132 - .incbin "baserom.gba", 0xDA132, 0x48 - - .global gUnknown_080DA17A -gUnknown_080DA17A: @ 0x080DA17A - .incbin "baserom.gba", 0xDA17A, 0x14 - - .global gUnknown_080DA18E -gUnknown_080DA18E: @ 0x080DA18E - .incbin "baserom.gba", 0xDA18E, 0x14 - - .global gUnknown_080DA1A2 -gUnknown_080DA1A2: @ 0x080DA1A2 - .incbin "baserom.gba", 0xDA1A2, 0x14 - - .global gUnknown_080DA1B6 -gUnknown_080DA1B6: @ 0x080DA1B6 - .incbin "baserom.gba", 0xDA1B6, 0x14 - - .global gUnknown_080DA1CA -gUnknown_080DA1CA: @ 0x080DA1CA - .incbin "baserom.gba", 0xDA1CA, 0x42 - - .global gUnknown_080DA20C -gUnknown_080DA20C: @ 0x080DA20C - .incbin "baserom.gba", 0xDA20C, 0x10 - - .global gUnknown_080DA21C -gUnknown_080DA21C: @ 0x080DA21C - .incbin "baserom.gba", 0xDA21C, 0x10 - - .global gUnknown_080DA22C -gUnknown_080DA22C: @ 0x080DA22C - .incbin "baserom.gba", 0xDA22C, 0x30 - - .global gUnknown_080DA25C -gUnknown_080DA25C: @ 0x080DA25C - .incbin "baserom.gba", 0xDA25C, 0xE - - .global gUnknown_080DA26A -gUnknown_080DA26A: @ 0x080DA26A - .incbin "baserom.gba", 0xDA26A, 0x14 - - .global gUnknown_080DA27E -gUnknown_080DA27E: @ 0x080DA27E - .incbin "baserom.gba", 0xDA27E, 0x32 - - .global gUnknown_080DA2B0 -gUnknown_080DA2B0: @ 0x080DA2B0 - .incbin "baserom.gba", 0xDA2B0, 0xC4 - - .global gUnknown_080DA374 -gUnknown_080DA374: @ 0x080DA374 - .incbin "baserom.gba", 0xDA374, 0xC4 - - .global gUnknown_080DA438 -gUnknown_080DA438: @ 0x080DA438 - .incbin "baserom.gba", 0xDA438, 0x82 - - .global gUnknown_080DA4BA -gUnknown_080DA4BA: @ 0x080DA4BA - .incbin "baserom.gba", 0xDA4BA, 0x22 - - .global gUnknown_080DA4DC -gUnknown_080DA4DC: @ 0x080DA4DC - .incbin "baserom.gba", 0xDA4DC, 0x4A - - .global gUnknown_080DA526 -gUnknown_080DA526: @ 0x080DA526 - .incbin "baserom.gba", 0xDA526, 0x4A - - .global gUnknown_080DA570 -gUnknown_080DA570: @ 0x080DA570 - .incbin "baserom.gba", 0xDA570, 0x4A - - .global gUnknown_080DA5BA -gUnknown_080DA5BA: @ 0x080DA5BA - .incbin "baserom.gba", 0xDA5BA, 0x4A - - .global gUnknown_080DA604 -gUnknown_080DA604: @ 0x080DA604 - .incbin "baserom.gba", 0xDA604, 0x6A - - .global gUnknown_080DA66E -gUnknown_080DA66E: @ 0x080DA66E - .incbin "baserom.gba", 0xDA66E, 0x38A - - .global gUnknown_080DA9F8 -gUnknown_080DA9F8: @ 0x080DA9F8 - .incbin "baserom.gba", 0xDA9F8, 0x96 - - .global gUnknown_080DAA8E -gUnknown_080DAA8E: @ 0x080DAA8E - .incbin "baserom.gba", 0xDAA8E, 0x1CA - - .global gUnknown_080DAC58 -gUnknown_080DAC58: @ 0x080DAC58 - .incbin "baserom.gba", 0xDAC58, 0x2A - - .global gUnknown_080DAC82 -gUnknown_080DAC82: @ 0x080DAC82 - .incbin "baserom.gba", 0xDAC82, 0x58 - - .global gUnknown_080DACDA -gUnknown_080DACDA: @ 0x080DACDA - .incbin "baserom.gba", 0xDACDA, 0x30 - - .global gUnknown_080DAD0A -gUnknown_080DAD0A: @ 0x080DAD0A - .incbin "baserom.gba", 0xDAD0A, 0x182 - - .global gUnknown_080DAE8C -gUnknown_080DAE8C: @ 0x080DAE8C - .incbin "baserom.gba", 0xDAE8C, 0xA - - .global gUnknown_080DAE96 -gUnknown_080DAE96: @ 0x080DAE96 - .incbin "baserom.gba", 0xDAE96, 0xA - - .global gUnknown_080DAEA0 -gUnknown_080DAEA0: @ 0x080DAEA0 - .incbin "baserom.gba", 0xDAEA0, 0xA - - .global gUnknown_080DAEAA -gUnknown_080DAEAA: @ 0x080DAEAA - .incbin "baserom.gba", 0xDAEAA, 0xA - - .global gUnknown_080DAEB4 -gUnknown_080DAEB4: @ 0x080DAEB4 - .incbin "baserom.gba", 0xDAEB4, 0xA - - .global gUnknown_080DAEBE -gUnknown_080DAEBE: @ 0x080DAEBE - .incbin "baserom.gba", 0xDAEBE, 0xA - - .global gUnknown_080DAEC8 -gUnknown_080DAEC8: @ 0x080DAEC8 - .incbin "baserom.gba", 0xDAEC8, 0xA - - .global gUnknown_080DAED2 -gUnknown_080DAED2: @ 0x080DAED2 - .incbin "baserom.gba", 0xDAED2, 0xA - - .global gUnknown_080DAEDC -gUnknown_080DAEDC: @ 0x080DAEDC - .incbin "baserom.gba", 0xDAEDC, 0xA - - .global gUnknown_080DAEE6 -gUnknown_080DAEE6: @ 0x080DAEE6 - .incbin "baserom.gba", 0xDAEE6, 0xA - - .global gUnknown_080DAEF0 -gUnknown_080DAEF0: @ 0x080DAEF0 - .incbin "baserom.gba", 0xDAEF0, 0x28 - - .global gUnknown_080DAF18 -gUnknown_080DAF18: @ 0x080DAF18 - .incbin "baserom.gba", 0xDAF18, 0x5 - - .global gUnknown_080DAF1D -gUnknown_080DAF1D: @ 0x080DAF1D - .incbin "baserom.gba", 0xDAF1D, 0x5 - - .global gUnknown_080DAF22 -gUnknown_080DAF22: @ 0x080DAF22 - .incbin "baserom.gba", 0xDAF22, 0x6 - - .global gUnknown_080DAF28 -gUnknown_080DAF28: @ 0x080DAF28 - .incbin "baserom.gba", 0xDAF28, 0x38 - - .global gUnknown_080DAF60 -gUnknown_080DAF60: @ 0x080DAF60 - .incbin "baserom.gba", 0xDAF60, 0xC6 - - .global gUnknown_080DB026 -gUnknown_080DB026: @ 0x080DB026 - .incbin "baserom.gba", 0xDB026, 0x1836 - - .global gUnknown_080DC85C -gUnknown_080DC85C: @ 0x080DC85C - .incbin "baserom.gba", 0xDC85C, 0xFA - - .global gUnknown_080DC956 -gUnknown_080DC956: @ 0x080DC956 - .incbin "baserom.gba", 0xDC956, 0x106 - - .global gUnknown_080DCA5C -gUnknown_080DCA5C: @ 0x080DCA5C - .incbin "baserom.gba", 0xDCA5C, 0x11C - - .global gUnknown_080DCB78 -gUnknown_080DCB78: @ 0x080DCB78 - .incbin "baserom.gba", 0xDCB78, 0x5C - - .global gUnknown_080DCBD4 -gUnknown_080DCBD4: @ 0x080DCBD4 - .incbin "baserom.gba", 0xDCBD4, 0xD2 - - .global gUnknown_080DCCA6 -gUnknown_080DCCA6: @ 0x080DCCA6 - .incbin "baserom.gba", 0xDCCA6, 0x1A - - .global gUnknown_080DCCC0 -gUnknown_080DCCC0: @ 0x080DCCC0 - .incbin "baserom.gba", 0xDCCC0, 0x66 - - .global gUnknown_080DCD26 -gUnknown_080DCD26: @ 0x080DCD26 - .incbin "baserom.gba", 0xDCD26, 0x4C - - .global gUnknown_080DCD72 -gUnknown_080DCD72: @ 0x080DCD72 - .incbin "baserom.gba", 0xDCD72, 0x72 - - .global gUnknown_080DCDE4 -gUnknown_080DCDE4: @ 0x080DCDE4 - .incbin "baserom.gba", 0xDCDE4, 0x8A - - .global gUnknown_080DCE6E -gUnknown_080DCE6E: @ 0x080DCE6E - .incbin "baserom.gba", 0xDCE6E, 0x7E - - .global gUnknown_080DCEEC -gUnknown_080DCEEC: @ 0x080DCEEC - .incbin "baserom.gba", 0xDCEEC, 0x92 - - .global gUnknown_080DCF7E -gUnknown_080DCF7E: @ 0x080DCF7E - .incbin "baserom.gba", 0xDCF7E, 0xA6 - - .global gUnknown_080DD024 -gUnknown_080DD024: @ 0x080DD024 - .incbin "baserom.gba", 0xDD024, 0x20 - - .global gUnknown_080DD044 -gUnknown_080DD044: @ 0x080DD044 - .incbin "baserom.gba", 0xDD044, 0x50 - - .global gUnknown_080DD094 -gUnknown_080DD094: @ 0x080DD094 - .incbin "baserom.gba", 0xDD094, 0x32 - - .global gUnknown_080DD0C6 -gUnknown_080DD0C6: @ 0x080DD0C6 - .incbin "baserom.gba", 0xDD0C6, 0xC0 - - .global gUnknown_080DD186 -gUnknown_080DD186: @ 0x080DD186 - .incbin "baserom.gba", 0xDD186, 0x6E - - .global gUnknown_080DD1F4 -gUnknown_080DD1F4: @ 0x080DD1F4 - .incbin "baserom.gba", 0xDD1F4, 0x5E - - .global gUnknown_080DD252 -gUnknown_080DD252: @ 0x080DD252 - .incbin "baserom.gba", 0xDD252, 0x36 - - .global gUnknown_080DD288 -gUnknown_080DD288: @ 0x080DD288 - .incbin "baserom.gba", 0xDD288, 0xA0 - - .global gUnknown_080DD328 -gUnknown_080DD328: @ 0x080DD328 - .incbin "baserom.gba", 0xDD328, 0x1AC - - .global gUnknown_080DD4D4 -gUnknown_080DD4D4: @ 0x080DD4D4 - .incbin "baserom.gba", 0xDD4D4, 0x6E - - .global gUnknown_080DD542 -gUnknown_080DD542: @ 0x080DD542 - .incbin "baserom.gba", 0xDD542, 0xE - - .global gUnknown_080DD550 -gUnknown_080DD550: @ 0x080DD550 - .incbin "baserom.gba", 0xDD550, 0x82 - - .global gUnknown_080DD5D2 -gUnknown_080DD5D2: @ 0x080DD5D2 - .incbin "baserom.gba", 0xDD5D2, 0x6 - - .global gUnknown_080DD5D8 -gUnknown_080DD5D8: @ 0x080DD5D8 - .incbin "baserom.gba", 0xDD5D8, 0xA2 - - .global gUnknown_080DD67A -gUnknown_080DD67A: @ 0x080DD67A - .incbin "baserom.gba", 0xDD67A, 0x92 - - .global gUnknown_080DD70C -gUnknown_080DD70C: @ 0x080DD70C - .incbin "baserom.gba", 0xDD70C, 0x5E - - .global gUnknown_080DD76A -gUnknown_080DD76A: @ 0x080DD76A - .incbin "baserom.gba", 0xDD76A, 0x15C - - .global gUnknown_080DD8C6 -gUnknown_080DD8C6: @ 0x080DD8C6 - .incbin "baserom.gba", 0xDD8C6, 0x6 - - .global gUnknown_080DD8CC -gUnknown_080DD8CC: @ 0x080DD8CC - .incbin "baserom.gba", 0xDD8CC, 0x6 - - .global gUnknown_080DD8D2 -gUnknown_080DD8D2: @ 0x080DD8D2 - .incbin "baserom.gba", 0xDD8D2, 0x6 - - .global gUnknown_080DD8D8 -gUnknown_080DD8D8: @ 0x080DD8D8 - .incbin "baserom.gba", 0xDD8D8, 0x16 - - .global gUnknown_080DD8EE -gUnknown_080DD8EE: @ 0x080DD8EE - .incbin "baserom.gba", 0xDD8EE, 0x42 - - .global gUnknown_080DD930 -gUnknown_080DD930: @ 0x080DD930 - .incbin "baserom.gba", 0xDD930, 0x42 - - .global gUnknown_080DD972 -gUnknown_080DD972: @ 0x080DD972 - .incbin "baserom.gba", 0xDD972, 0x32 - - .global gUnknown_080DD9A4 -gUnknown_080DD9A4: @ 0x080DD9A4 - .incbin "baserom.gba", 0xDD9A4, 0x9A - - .global gUnknown_080DDA3E -gUnknown_080DDA3E: @ 0x080DDA3E - .incbin "baserom.gba", 0xDDA3E, 0x12 - - .global gUnknown_080DDA50 -gUnknown_080DDA50: @ 0x080DDA50 - .incbin "baserom.gba", 0xDDA50, 0x8 - - .global gUnknown_080DDA58 -gUnknown_080DDA58: @ 0x080DDA58 - .incbin "baserom.gba", 0xDDA58, 0x18 - - .global gUnknown_080DDA70 -gUnknown_080DDA70: @ 0x080DDA70 - .incbin "baserom.gba", 0xDDA70, 0x112 - - .global gUnknown_080DDB82 -gUnknown_080DDB82: @ 0x080DDB82 - .incbin "baserom.gba", 0xDDB82, 0x18 - - .global gUnknown_080DDB9A -gUnknown_080DDB9A: @ 0x080DDB9A - .incbin "baserom.gba", 0xDDB9A, 0xF0 - - .global gUnknown_080DDC8A -gUnknown_080DDC8A: @ 0x080DDC8A - .incbin "baserom.gba", 0xDDC8A, 0x5C - - .global gUnknown_080DDCE6 -gUnknown_080DDCE6: @ 0x080DDCE6 - .incbin "baserom.gba", 0xDDCE6, 0x72 - - .global gUnknown_080DDD58 -gUnknown_080DDD58: @ 0x080DDD58 - .incbin "baserom.gba", 0xDDD58, 0x146 - - .global gUnknown_080DDE9E -gUnknown_080DDE9E: @ 0x080DDE9E - .incbin "baserom.gba", 0xDDE9E, 0x9C - - .global gUnknown_080DDF3A -gUnknown_080DDF3A: @ 0x080DDF3A - .incbin "baserom.gba", 0xDDF3A, 0x102 - - .global gUnknown_080DE03C -gUnknown_080DE03C: @ 0x080DE03C - .incbin "baserom.gba", 0xDE03C, 0x14 - - .global gUnknown_080DE050 -gUnknown_080DE050: @ 0x080DE050 - .incbin "baserom.gba", 0xDE050, 0x36 - - .global gUnknown_080DE086 -gUnknown_080DE086: @ 0x080DE086 - .incbin "baserom.gba", 0xDE086, 0x48 - - .global gUnknown_080DE0CE -gUnknown_080DE0CE: @ 0x080DE0CE - .incbin "baserom.gba", 0xDE0CE, 0x38 - - .global gUnknown_080DE106 -gUnknown_080DE106: @ 0x080DE106 - .incbin "baserom.gba", 0xDE106, 0x4A - - .global gUnknown_080DE150 -gUnknown_080DE150: @ 0x080DE150 - .incbin "baserom.gba", 0xDE150, 0x7E - - .global gUnknown_080DE1CE -gUnknown_080DE1CE: @ 0x080DE1CE - .incbin "baserom.gba", 0xDE1CE, 0x7E - - .global gUnknown_080DE24C -gUnknown_080DE24C: @ 0x080DE24C - .incbin "baserom.gba", 0xDE24C, 0x38 - - .global gUnknown_080DE284 -gUnknown_080DE284: @ 0x080DE284 - .incbin "baserom.gba", 0xDE284, 0x34 - - .global gUnknown_080DE2B8 -gUnknown_080DE2B8: @ 0x080DE2B8 - .incbin "baserom.gba", 0xDE2B8, 0x2A - - .global gUnknown_080DE2E2 -gUnknown_080DE2E2: @ 0x080DE2E2 - .incbin "baserom.gba", 0xDE2E2, 0x64 - - .global gUnknown_080DE346 -gUnknown_080DE346: @ 0x080DE346 - .incbin "baserom.gba", 0xDE346, 0x2E - - .global gUnknown_080DE374 -gUnknown_080DE374: @ 0x080DE374 - .incbin "baserom.gba", 0xDE374, 0x32 - - .global gUnknown_080DE3A6 -gUnknown_080DE3A6: @ 0x080DE3A6 - .incbin "baserom.gba", 0xDE3A6, 0x34 - - .global gUnknown_080DE3DA -gUnknown_080DE3DA: @ 0x080DE3DA - .incbin "baserom.gba", 0xDE3DA, 0x1E - - .global gUnknown_080DE3F8 -gUnknown_080DE3F8: @ 0x080DE3F8 - .incbin "baserom.gba", 0xDE3F8, 0x86 - - .global gUnknown_080DE47E -gUnknown_080DE47E: @ 0x080DE47E - .incbin "baserom.gba", 0xDE47E, 0x68 - - .global gUnknown_080DE4E6 -gUnknown_080DE4E6: @ 0x080DE4E6 - .incbin "baserom.gba", 0xDE4E6, 0x40 - - .global gUnknown_080DE526 -gUnknown_080DE526: @ 0x080DE526 - .incbin "baserom.gba", 0xDE526, 0x2C - - .global gUnknown_080DE552 -gUnknown_080DE552: @ 0x080DE552 - .incbin "baserom.gba", 0xDE552, 0x3C - - .global gUnknown_080DE58E -gUnknown_080DE58E: @ 0x080DE58E - .incbin "baserom.gba", 0xDE58E, 0x56 - - .global gUnknown_080DE5E4 -gUnknown_080DE5E4: @ 0x080DE5E4 - .incbin "baserom.gba", 0xDE5E4, 0x40 - - .global gUnknown_080DE624 -gUnknown_080DE624: @ 0x080DE624 - .incbin "baserom.gba", 0xDE624, 0x38 - - .global gUnknown_080DE65C -gUnknown_080DE65C: @ 0x080DE65C - .incbin "baserom.gba", 0xDE65C, 0x94 - - .global gUnknown_080DE6F0 -gUnknown_080DE6F0: @ 0x080DE6F0 - .incbin "baserom.gba", 0xDE6F0, 0x20 - - .global gUnknown_080DE710 -gUnknown_080DE710: @ 0x080DE710 - .incbin "baserom.gba", 0xDE710, 0x38 - - .global gUnknown_080DE748 -gUnknown_080DE748: @ 0x080DE748 - .incbin "baserom.gba", 0xDE748, 0x4A - - .global gUnknown_080DE792 -gUnknown_080DE792: @ 0x080DE792 - .incbin "baserom.gba", 0xDE792, 0x10E - - .global gUnknown_080DE8A0 -gUnknown_080DE8A0: @ 0x080DE8A0 - .incbin "baserom.gba", 0xDE8A0, 0x20 - - .global gUnknown_080DE8C0 -gUnknown_080DE8C0: @ 0x080DE8C0 - .incbin "baserom.gba", 0xDE8C0, 0x1C - - .global gUnknown_080DE8DC -gUnknown_080DE8DC: @ 0x080DE8DC - .incbin "baserom.gba", 0xDE8DC, 0x24 - - .global gUnknown_080DE900 -gUnknown_080DE900: @ 0x080DE900 - .incbin "baserom.gba", 0xDE900, 0x24 - - .global gUnknown_080DE924 -gUnknown_080DE924: @ 0x080DE924 - .incbin "baserom.gba", 0xDE924, 0x50 - - .global gUnknown_080DE974 -gUnknown_080DE974: @ 0x080DE974 - .incbin "baserom.gba", 0xDE974, 0x76 - - .global gUnknown_080DE9EA -gUnknown_080DE9EA: @ 0x080DE9EA - .incbin "baserom.gba", 0xDE9EA, 0x60 - - .global gUnknown_080DEA4A -gUnknown_080DEA4A: @ 0x080DEA4A - .incbin "baserom.gba", 0xDEA4A, 0x2A - - .global gUnknown_080DEA74 -gUnknown_080DEA74: @ 0x080DEA74 - .incbin "baserom.gba", 0xDEA74, 0x22 - - .global gUnknown_080DEA96 -gUnknown_080DEA96: @ 0x080DEA96 - .incbin "baserom.gba", 0xDEA96, 0x14 - - .global gUnknown_080DEAAA -gUnknown_080DEAAA: @ 0x080DEAAA - .incbin "baserom.gba", 0xDEAAA, 0x50 - - .global gUnknown_080DEAFA -gUnknown_080DEAFA: @ 0x080DEAFA - .incbin "baserom.gba", 0xDEAFA, 0x70 - - .global gUnknown_080DEB6A -gUnknown_080DEB6A: @ 0x080DEB6A - .incbin "baserom.gba", 0xDEB6A, 0x5E - - .global gUnknown_080DEBC8 -gUnknown_080DEBC8: @ 0x080DEBC8 - .incbin "baserom.gba", 0xDEBC8, 0x30 - - .global gUnknown_080DEBF8 -gUnknown_080DEBF8: @ 0x080DEBF8 - .incbin "baserom.gba", 0xDEBF8, 0x14 - - .global gUnknown_080DEC0C -gUnknown_080DEC0C: @ 0x080DEC0C - .incbin "baserom.gba", 0xDEC0C, 0x24 - - .global gUnknown_080DEC30 -gUnknown_080DEC30: @ 0x080DEC30 - .incbin "baserom.gba", 0xDEC30, 0x8A - - .global gUnknown_080DECBA -gUnknown_080DECBA: @ 0x080DECBA - .incbin "baserom.gba", 0xDECBA, 0x102 - - .global gUnknown_080DEDBC -gUnknown_080DEDBC: @ 0x080DEDBC - .incbin "baserom.gba", 0xDEDBC, 0x3E - - .global gUnknown_080DEDFA -gUnknown_080DEDFA: @ 0x080DEDFA - .incbin "baserom.gba", 0xDEDFA, 0x46 - - .global gUnknown_080DEE40 -gUnknown_080DEE40: @ 0x080DEE40 - .incbin "baserom.gba", 0xDEE40, 0x82 - - .global gUnknown_080DEEC2 -gUnknown_080DEEC2: @ 0x080DEEC2 - .incbin "baserom.gba", 0xDEEC2, 0x5E - - .global gUnknown_080DEF20 -gUnknown_080DEF20: @ 0x080DEF20 - .incbin "baserom.gba", 0xDEF20, 0x58 - - .global gUnknown_080DEF78 -gUnknown_080DEF78: @ 0x080DEF78 - .incbin "baserom.gba", 0xDEF78, 0x58 - - .global gUnknown_080DEFD0 -gUnknown_080DEFD0: @ 0x080DEFD0 - .incbin "baserom.gba", 0xDEFD0, 0x72 - - .global gUnknown_080DF042 -gUnknown_080DF042: @ 0x080DF042 - .incbin "baserom.gba", 0xDF042, 0x3E - - .global gUnknown_080DF080 -gUnknown_080DF080: @ 0x080DF080 - .incbin "baserom.gba", 0xDF080, 0x60 - - .global gUnknown_080DF0E0 -gUnknown_080DF0E0: @ 0x080DF0E0 - .incbin "baserom.gba", 0xDF0E0, 0xA8 - - .global gUnknown_080DF188 -gUnknown_080DF188: @ 0x080DF188 - .incbin "baserom.gba", 0xDF188, 0x66 - - .global gUnknown_080DF1EE -gUnknown_080DF1EE: @ 0x080DF1EE - .incbin "baserom.gba", 0xDF1EE, 0x7C - - .global gUnknown_080DF26A -gUnknown_080DF26A: @ 0x080DF26A - .incbin "baserom.gba", 0xDF26A, 0x72 - - .global gUnknown_080DF2DC -gUnknown_080DF2DC: @ 0x080DF2DC - .incbin "baserom.gba", 0xDF2DC, 0xAA - - .global gUnknown_080DF386 -gUnknown_080DF386: @ 0x080DF386 - .incbin "baserom.gba", 0xDF386, 0x16 - - .global gUnknown_080DF39C -gUnknown_080DF39C: @ 0x080DF39C - .incbin "baserom.gba", 0xDF39C, 0x6 - - .global gUnknown_080DF3A2 -gUnknown_080DF3A2: @ 0x080DF3A2 - .incbin "baserom.gba", 0xDF3A2, 0x22 - - .global gUnknown_080DF3C4 -gUnknown_080DF3C4: @ 0x080DF3C4 - .incbin "baserom.gba", 0xDF3C4, 0x130 - - .global gUnknown_080DF4F4 -gUnknown_080DF4F4: @ 0x080DF4F4 - .incbin "baserom.gba", 0xDF4F4, 0x52 - - .global gUnknown_080DF546 -gUnknown_080DF546: @ 0x080DF546 - .incbin "baserom.gba", 0xDF546, 0x22 - - .global gUnknown_080DF568 -gUnknown_080DF568: @ 0x080DF568 - .incbin "baserom.gba", 0xDF568, 0x6E - - .global gUnknown_080DF5D6 -gUnknown_080DF5D6: @ 0x080DF5D6 - .incbin "baserom.gba", 0xDF5D6, 0x6E - - .global gUnknown_080DF644 -gUnknown_080DF644: @ 0x080DF644 - .incbin "baserom.gba", 0xDF644, 0x64 - - .global gUnknown_080DF6A8 -gUnknown_080DF6A8: @ 0x080DF6A8 - .incbin "baserom.gba", 0xDF6A8, 0x1E - - .global gUnknown_080DF6C6 -gUnknown_080DF6C6: @ 0x080DF6C6 - .incbin "baserom.gba", 0xDF6C6, 0x6A - - .global gUnknown_080DF730 -gUnknown_080DF730: @ 0x080DF730 - .incbin "baserom.gba", 0xDF730, 0x18 - - .global gUnknown_080DF748 -gUnknown_080DF748: @ 0x080DF748 - .incbin "baserom.gba", 0xDF748, 0x86 - - .global gUnknown_080DF7CE -gUnknown_080DF7CE: @ 0x080DF7CE - .incbin "baserom.gba", 0xDF7CE, 0x98 - - .global gUnknown_080DF866 -gUnknown_080DF866: @ 0x080DF866 - .incbin "baserom.gba", 0xDF866, 0x32 - - .global gUnknown_080DF898 -gUnknown_080DF898: @ 0x080DF898 - .incbin "baserom.gba", 0xDF898, 0xBC - - .global gUnknown_080DF954 -gUnknown_080DF954: @ 0x080DF954 - .incbin "baserom.gba", 0xDF954, 0x6A - - .global gUnknown_080DF9BE -gUnknown_080DF9BE: @ 0x080DF9BE - .incbin "baserom.gba", 0xDF9BE, 0x17A6 - - .global gUnknown_080E1164 -gUnknown_080E1164: @ 0x080E1164 - .incbin "baserom.gba", 0xE1164, 0x230 - - .global gUnknown_080E1394 -gUnknown_080E1394: @ 0x080E1394 - .incbin "baserom.gba", 0xE1394, 0xE - - .global gUnknown_080E13A2 -gUnknown_080E13A2: @ 0x080E13A2 - .incbin "baserom.gba", 0xE13A2, 0x12 - - .global gUnknown_080E13B4 -gUnknown_080E13B4: @ 0x080E13B4 - .incbin "baserom.gba", 0xE13B4, 0x20 - - .global gUnknown_080E13D4 -gUnknown_080E13D4: @ 0x080E13D4 - .incbin "baserom.gba", 0xE13D4, 0x20 - - .global gUnknown_080E13F4 -gUnknown_080E13F4: @ 0x080E13F4 - .incbin "baserom.gba", 0xE13F4, 0x46 - - .global gUnknown_080E143A -gUnknown_080E143A: @ 0x080E143A - .incbin "baserom.gba", 0xE143A, 0x4E - - .global gUnknown_080E1488 -gUnknown_080E1488: @ 0x080E1488 - .incbin "baserom.gba", 0xE1488, 0x144 - - .global gUnknown_080E15CC -gUnknown_080E15CC: @ 0x080E15CC - .incbin "baserom.gba", 0xE15CC, 0x5E - - .global gUnknown_080E162A -gUnknown_080E162A: @ 0x080E162A - .incbin "baserom.gba", 0xE162A, 0x3A - - .global gUnknown_080E1664 -gUnknown_080E1664: @ 0x080E1664 - .incbin "baserom.gba", 0xE1664, 0x36 - - .global gUnknown_080E169A -gUnknown_080E169A: @ 0x080E169A - .incbin "baserom.gba", 0xE169A, 0x42 - - .global gUnknown_080E16DC -gUnknown_080E16DC: @ 0x080E16DC - .incbin "baserom.gba", 0xE16DC, 0x56 - - .global gUnknown_080E1732 -gUnknown_080E1732: @ 0x080E1732 - .incbin "baserom.gba", 0xE1732, 0xE - - .global gUnknown_080E1740 -gUnknown_080E1740: @ 0x080E1740 - .incbin "baserom.gba", 0xE1740, 0x80 - - .global gUnknown_080E17C0 -gUnknown_080E17C0: @ 0x080E17C0 - .incbin "baserom.gba", 0xE17C0, 0x9A4 - - .global gUnknown_080E2164 -gUnknown_080E2164: @ 0x080E2164 - .incbin "baserom.gba", 0xE2164, 0x9F0 - - .global gUnknown_080E2B54 -gUnknown_080E2B54: @ 0x080E2B54 - .incbin "baserom.gba", 0xE2B54, 0x1024 - - .global gUnknown_080E3B78 -gUnknown_080E3B78: @ 0x080E3B78 - .incbin "baserom.gba", 0xE3B78, 0x9B8 - - .global gUnknown_080E4530 -gUnknown_080E4530: @ 0x080E4530 - .incbin "baserom.gba", 0xE4530, 0x9CC - - .global gUnknown_080E4EFC -gUnknown_080E4EFC: @ 0x080E4EFC - .incbin "baserom.gba", 0xE4EFC, 0x9A8 - - .global gUnknown_080E58A4 -gUnknown_080E58A4: @ 0x080E58A4 - .incbin "baserom.gba", 0xE58A4, 0x320 - - .global gUnknown_080E5BC4 -gUnknown_080E5BC4: @ 0x080E5BC4 - .incbin "baserom.gba", 0xE5BC4, 0x3D4 - - .global gUnknown_080E5F98 -gUnknown_080E5F98: @ 0x080E5F98 - .incbin "baserom.gba", 0xE5F98, 0x434 - - .global gUnknown_080E63CC -gUnknown_080E63CC: @ 0x080E63CC - .incbin "baserom.gba", 0xE63CC, 0x3C0 - - .global gUnknown_080E678C -gUnknown_080E678C: @ 0x080E678C - .incbin "baserom.gba", 0xE678C, 0x538 - - .global gUnknown_080E6CC4 -gUnknown_080E6CC4: @ 0x080E6CC4 - .incbin "baserom.gba", 0xE6CC4, 0x73C - - .global gUnknown_080E7400 -gUnknown_080E7400: @ 0x080E7400 - .incbin "baserom.gba", 0xE7400, 0x78C - - .global gUnknown_080E7B8C -gUnknown_080E7B8C: @ 0x080E7B8C - .incbin "baserom.gba", 0xE7B8C, 0x78C - - .global gUnknown_080E8318 -gUnknown_080E8318: @ 0x080E8318 - .incbin "baserom.gba", 0xE8318, 0x6 - - .global gUnknown_080E831E -gUnknown_080E831E: @ 0x080E831E - .incbin "baserom.gba", 0xE831E, 0x16 - - .global gUnknown_080E8334 -gUnknown_080E8334: @ 0x080E8334 - .incbin "baserom.gba", 0xE8334, 0x1A - - .global gUnknown_080E834E -gUnknown_080E834E: @ 0x080E834E - .incbin "baserom.gba", 0xE834E, 0x1E - - .global gUnknown_080E836C -gUnknown_080E836C: @ 0x080E836C - .incbin "baserom.gba", 0xE836C, 0x22 - - .global gUnknown_080E838E -gUnknown_080E838E: @ 0x080E838E - .incbin "baserom.gba", 0xE838E, 0x7239E - - .global gUnknown_0815A72C -gUnknown_0815A72C: @ 0x0815A72C - .incbin "baserom.gba", 0x15A72C, 0x2D5C - - .global gUnknown_0815D488 -gUnknown_0815D488: @ 0x0815D488 - .incbin "baserom.gba", 0x15D488, 0x4 - - .global gUnknown_0815D48C -gUnknown_0815D48C: @ 0x0815D48C - .incbin "baserom.gba", 0x15D48C, 0xA8288 - - .global gUnknown_08205714 -gUnknown_08205714: @ 0x08205714 - .incbin "baserom.gba", 0x205714, 0x88 - - .global gUnknown_0820579C -gUnknown_0820579C: @ 0x0820579C - .incbin "baserom.gba", 0x20579C, 0x88 - - .global gUnknown_08205824 -gUnknown_08205824: @ 0x08205824 - .incbin "baserom.gba", 0x205824, 0xF - - .global gUnknown_08205833 -gUnknown_08205833: @ 0x08205833 - .incbin "baserom.gba", 0x205833, 0x13 - - .global gUnknown_08205846 -gUnknown_08205846: @ 0x08205846 - .incbin "baserom.gba", 0x205846, 0xF - - .global gUnknown_08205855 -gUnknown_08205855: @ 0x08205855 - .incbin "baserom.gba", 0x205855, 0x2F - - .global gUnknown_08205884 -gUnknown_08205884: @ 0x08205884 - .incbin "baserom.gba", 0x205884, 0x8 - - .global gUnknown_0820588C -gUnknown_0820588C: @ 0x0820588C - .incbin "baserom.gba", 0x20588C, 0x2 - - .global gUnknown_0820588E -gUnknown_0820588E: @ 0x0820588E - .incbin "baserom.gba", 0x20588E, 0x1A - - .global gUnknown_082058A8 -gUnknown_082058A8: @ 0x082058A8 - .incbin "baserom.gba", 0x2058A8, 0x8 - - .global gUnknown_082058B0 -gUnknown_082058B0: @ 0x082058B0 - .incbin "baserom.gba", 0x2058B0, 0x4 - - .global gUnknown_082058B4 -gUnknown_082058B4: @ 0x082058B4 - .incbin "baserom.gba", 0x2058B4, 0x20 - - .global gUnknown_082058D4 -gUnknown_082058D4: @ 0x082058D4 - .incbin "baserom.gba", 0x2058D4, 0x8 - - .global gUnknown_082058DC -gUnknown_082058DC: @ 0x082058DC - .incbin "baserom.gba", 0x2058DC, 0x2 - - .global gUnknown_082058DE -gUnknown_082058DE: @ 0x082058DE - .incbin "baserom.gba", 0x2058DE, 0x4 - - .global gUnknown_082058E2 -gUnknown_082058E2: @ 0x082058E2 - .incbin "baserom.gba", 0x2058E2, 0x2 - - .global gUnknown_082058E4 -gUnknown_082058E4: @ 0x082058E4 - .incbin "baserom.gba", 0x2058E4, 0xC - - .global gUnknown_082058F0 -gUnknown_082058F0: @ 0x082058F0 - .incbin "baserom.gba", 0x2058F0, 0x4 - - .global gUnknown_082058F4 -gUnknown_082058F4: @ 0x082058F4 - .incbin "baserom.gba", 0x2058F4, 0x4 - - .global gUnknown_082058F8 -gUnknown_082058F8: @ 0x082058F8 - .incbin "baserom.gba", 0x2058F8, 0x20 - - .global gUnknown_08205918 -gUnknown_08205918: @ 0x08205918 - .incbin "baserom.gba", 0x205918, 0x20 - - .global gUnknown_08205938 -gUnknown_08205938: @ 0x08205938 - .incbin "baserom.gba", 0x205938, 0x2C - - .global gUnknown_08205964 -gUnknown_08205964: @ 0x08205964 - .incbin "baserom.gba", 0x205964, 0xC0 - - .global gUnknown_08205A24 -gUnknown_08205A24: @ 0x08205A24 - .incbin "baserom.gba", 0x205A24, 0x100 - - .global gUnknown_08205B24 -gUnknown_08205B24: @ 0x08205B24 - .incbin "baserom.gba", 0x205B24, 0x10 - - .global gUnknown_08205B34 -gUnknown_08205B34: @ 0x08205B34 - .incbin "baserom.gba", 0x205B34, 0x6 - - .global gUnknown_08205B3A -gUnknown_08205B3A: @ 0x08205B3A - .incbin "baserom.gba", 0x205B3A, 0x18 - - .global gUnknown_08205B52 -gUnknown_08205B52: @ 0x08205B52 - .incbin "baserom.gba", 0x205B52, 0x32 - - .global gUnknown_08205B84 -gUnknown_08205B84: @ 0x08205B84 - .incbin "baserom.gba", 0x205B84, 0x10 - - .global gUnknown_08205B94 -gUnknown_08205B94: @ 0x08205B94 - .incbin "baserom.gba", 0x205B94, 0x1C - - .global gUnknown_08205BB0 -gUnknown_08205BB0: @ 0x08205BB0 - .incbin "baserom.gba", 0x205BB0, 0x10 - - .global gUnknown_08205BC0 -gUnknown_08205BC0: @ 0x08205BC0 - .incbin "baserom.gba", 0x205BC0, 0x3C - - .global gUnknown_08205BFC -gUnknown_08205BFC: @ 0x08205BFC - .incbin "baserom.gba", 0x205BFC, 0x18 - - .global gUnknown_08205C14 -gUnknown_08205C14: @ 0x08205C14 - .incbin "baserom.gba", 0x205C14, 0x20 - - .global gUnknown_08205C34 -gUnknown_08205C34: @ 0x08205C34 - .incbin "baserom.gba", 0x205C34, 0x10 - - .global gUnknown_08205C44 -gUnknown_08205C44: @ 0x08205C44 - .incbin "baserom.gba", 0x205C44, 0x20 - - .global gUnknown_08205C64 -gUnknown_08205C64: @ 0x08205C64 - .incbin "baserom.gba", 0x205C64, 0xC - - .global gUnknown_08205C70 -gUnknown_08205C70: @ 0x08205C70 - .incbin "baserom.gba", 0x205C70, 0x20 - - .global gUnknown_08205C90 -gUnknown_08205C90: @ 0x08205C90 - .incbin "baserom.gba", 0x205C90, 0xC - - .global gUnknown_08205C9C -gUnknown_08205C9C: @ 0x08205C9C - .incbin "baserom.gba", 0x205C9C, 0x8 - - .global gUnknown_08205CA4 -gUnknown_08205CA4: @ 0x08205CA4 - .incbin "baserom.gba", 0x205CA4, 0x8 - - .global gUnknown_08205CAC -gUnknown_08205CAC: @ 0x08205CAC - .incbin "baserom.gba", 0x205CAC, 0x8 - - .global gUnknown_08205CB4 -gUnknown_08205CB4: @ 0x08205CB4 - .incbin "baserom.gba", 0x205CB4, 0xC8 - - .global gUnknown_08205D7C -gUnknown_08205D7C: @ 0x08205D7C - .incbin "baserom.gba", 0x205D7C, 0x8 - - .global gUnknown_08205D84 -gUnknown_08205D84: @ 0x08205D84 - .incbin "baserom.gba", 0x205D84, 0x3 - - .global gUnknown_08205D87 -gUnknown_08205D87: @ 0x08205D87 - .incbin "baserom.gba", 0x205D87, 0x10 - - .global gUnknown_08205D97 -gUnknown_08205D97: @ 0x08205D97 - .incbin "baserom.gba", 0x205D97, 0x21 - - .global gUnknown_08205DB8 -gUnknown_08205DB8: @ 0x08205DB8 - .incbin "baserom.gba", 0x205DB8, 0x31 - - .global gUnknown_08205DE9 -gUnknown_08205DE9: @ 0x08205DE9 - .incbin "baserom.gba", 0x205DE9, 0x2F - - .global gUnknown_08205E18 -gUnknown_08205E18: @ 0x08205E18 - .incbin "baserom.gba", 0x205E18, 0x10 - - .global gUnknown_08205E28 -gUnknown_08205E28: @ 0x08205E28 - .incbin "baserom.gba", 0x205E28, 0x28 - - .global gUnknown_08205E50 -gUnknown_08205E50: @ 0x08205E50 - .incbin "baserom.gba", 0x205E50, 0x44 - - .global gUnknown_08205E94 -gUnknown_08205E94: @ 0x08205E94 - .incbin "baserom.gba", 0x205E94, 0x3C - - .global gUnknown_08205ED0 -gUnknown_08205ED0: @ 0x08205ED0 - .incbin "baserom.gba", 0x205ED0, 0x4 - - .global gUnknown_08205ED4 -gUnknown_08205ED4: @ 0x08205ED4 - .incbin "baserom.gba", 0x205ED4, 0x8 - - .global gUnknown_08205EDC -gUnknown_08205EDC: @ 0x08205EDC - .incbin "baserom.gba", 0x205EDC, 0x40 - - .global gUnknown_08205F1C -gUnknown_08205F1C: @ 0x08205F1C - .incbin "baserom.gba", 0x205F1C, 0x4 - - .global gUnknown_08205F20 -gUnknown_08205F20: @ 0x08205F20 - .incbin "baserom.gba", 0x205F20, 0x4 - - .global gUnknown_08205F24 -gUnknown_08205F24: @ 0x08205F24 - .incbin "baserom.gba", 0x205F24, 0x4 - - .global gUnknown_08205F28 -gUnknown_08205F28: @ 0x08205F28 - .incbin "baserom.gba", 0x205F28, 0x54 - - .global gUnknown_08205F7C -gUnknown_08205F7C: @ 0x08205F7C - .incbin "baserom.gba", 0x205F7C, 0x24 - - .global gUnknown_08205FA0 -gUnknown_08205FA0: @ 0x08205FA0 - .incbin "baserom.gba", 0x205FA0, 0x110 - - .global gUnknown_082060B0 -gUnknown_082060B0: @ 0x082060B0 - .incbin "baserom.gba", 0x2060B0, 0x3A0 - - .global gUnknown_08206450 -gUnknown_08206450: @ 0x08206450 - .incbin "baserom.gba", 0x206450, 0x48 - - .global gUnknown_08206498 -gUnknown_08206498: @ 0x08206498 - .incbin "baserom.gba", 0x206498, 0x1DC - - .global gUnknown_08206674 -gUnknown_08206674: @ 0x08206674 - .incbin "baserom.gba", 0x206674, 0x1F4 - - .global gUnknown_08206868 -gUnknown_08206868: @ 0x08206868 - .incbin "baserom.gba", 0x206868, 0x8C - - .global gUnknown_082068F4 -gUnknown_082068F4: @ 0x082068F4 - .incbin "baserom.gba", 0x2068F4, 0x8 - - .global gUnknown_082068FC -gUnknown_082068FC: @ 0x082068FC - .incbin "baserom.gba", 0x2068FC, 0x8 - - .global gUnknown_08206904 -gUnknown_08206904: @ 0x08206904 - .incbin "baserom.gba", 0x206904, 0x44 - - .global gUnknown_08206948 -gUnknown_08206948: @ 0x08206948 - .incbin "baserom.gba", 0x206948, 0x9 - - .global gUnknown_08206951 -gUnknown_08206951: @ 0x08206951 - .incbin "baserom.gba", 0x206951, 0x3 - - .global gUnknown_08206954 -gUnknown_08206954: @ 0x08206954 - .incbin "baserom.gba", 0x206954, 0x84 - - .global gUnknown_082069D8 -gUnknown_082069D8: @ 0x082069D8 - .incbin "baserom.gba", 0x2069D8, 0xB - - .global gUnknown_082069E3 -gUnknown_082069E3: @ 0x082069E3 - .incbin "baserom.gba", 0x2069E3, 0xB - - .global gUnknown_082069EE -gUnknown_082069EE: @ 0x082069EE - .incbin "baserom.gba", 0x2069EE, 0x5A - - .global gUnknown_08206A48 -gUnknown_08206A48: @ 0x08206A48 - .incbin "baserom.gba", 0x206A48, 0x9 - - .global gUnknown_08206A51 -gUnknown_08206A51: @ 0x08206A51 - .incbin "baserom.gba", 0x206A51, 0x5A - - .global gUnknown_08206AAB -gUnknown_08206AAB: @ 0x08206AAB - .incbin "baserom.gba", 0x206AAB, 0x45 - - .global gUnknown_08206AF0 -gUnknown_08206AF0: @ 0x08206AF0 - .incbin "baserom.gba", 0x206AF0, 0x80 - - .global gUnknown_08206B70 -gUnknown_08206B70: @ 0x08206B70 - .incbin "baserom.gba", 0x206B70, 0x2B4 - - .global gUnknown_08206E24 -gUnknown_08206E24: @ 0x08206E24 - .incbin "baserom.gba", 0x206E24, 0x190 - - .global gUnknown_08206FB4 -gUnknown_08206FB4: @ 0x08206FB4 - .incbin "baserom.gba", 0x206FB4, 0x28 - - .global gUnknown_08206FDC -gUnknown_08206FDC: @ 0x08206FDC - .incbin "baserom.gba", 0x206FDC, 0x8 - - .global gUnknown_08206FE4 -gUnknown_08206FE4: @ 0x08206FE4 - .incbin "baserom.gba", 0x206FE4, 0x60 - - .global gUnknown_08207044 -gUnknown_08207044: @ 0x08207044 - .incbin "baserom.gba", 0x207044, 0x38 - - .global gUnknown_0820707C -gUnknown_0820707C: @ 0x0820707C - .incbin "baserom.gba", 0x20707C, 0xC - - .global gUnknown_08207088 -gUnknown_08207088: @ 0x08207088 - .incbin "baserom.gba", 0x207088, 0xC - - .global gUnknown_08207094 -gUnknown_08207094: @ 0x08207094 - .incbin "baserom.gba", 0x207094, 0xC - - .global gUnknown_082070A0 -gUnknown_082070A0: @ 0x082070A0 - .incbin "baserom.gba", 0x2070A0, 0xC - - .global gUnknown_082070AC -gUnknown_082070AC: @ 0x082070AC - .incbin "baserom.gba", 0x2070AC, 0xE4 - - .global gUnknown_08207190 -gUnknown_08207190: @ 0x08207190 - .incbin "baserom.gba", 0x207190, 0x90 - - .global gUnknown_08207220 -gUnknown_08207220: @ 0x08207220 - .incbin "baserom.gba", 0x207220, 0xB4 - - .global gUnknown_082072D4 -gUnknown_082072D4: @ 0x082072D4 - .incbin "baserom.gba", 0x2072D4, 0x30 - - .global gUnknown_08207304 -gUnknown_08207304: @ 0x08207304 - .incbin "baserom.gba", 0x207304, 0x18 - - .global gUnknown_0820731C -gUnknown_0820731C: @ 0x0820731C - .incbin "baserom.gba", 0x20731C, 0x84 - - .global gUnknown_082073A0 -gUnknown_082073A0: @ 0x082073A0 - .incbin "baserom.gba", 0x2073A0, 0x18 - - .global gUnknown_082073B8 -gUnknown_082073B8: @ 0x082073B8 - .incbin "baserom.gba", 0x2073B8, 0x3C - - .global gUnknown_082073F4 -gUnknown_082073F4: @ 0x082073F4 - .incbin "baserom.gba", 0x2073F4, 0x10 - - .global gUnknown_08207404 -gUnknown_08207404: @ 0x08207404 - .incbin "baserom.gba", 0x207404, 0x34 - - .global gUnknown_08207438 -gUnknown_08207438: @ 0x08207438 - .incbin "baserom.gba", 0x207438, 0x1CFCC - - .global gUnknown_08224404 -gUnknown_08224404: @ 0x08224404 - .incbin "baserom.gba", 0x224404, 0x6C - - .global gUnknown_08224470 -gUnknown_08224470: @ 0x08224470 - .incbin "baserom.gba", 0x224470, 0x363290 - - .global gUnknown_08587700 -gUnknown_08587700: @ 0x08587700 - .incbin "baserom.gba", 0x587700, 0x10 - - .global gUnknown_08587710 -gUnknown_08587710: @ 0x08587710 - .incbin "baserom.gba", 0x587710, 0x10 - - .global gUnknown_08587720 -gUnknown_08587720: @ 0x08587720 - .incbin "baserom.gba", 0x587720, 0x4 - - .global gUnknown_08587724 -gUnknown_08587724: @ 0x08587724 - .incbin "baserom.gba", 0x587724, 0x4 - - .global gUnknown_08587728 -gUnknown_08587728: @ 0x08587728 - .incbin "baserom.gba", 0x587728, 0x14 - - .global gUnknown_0858773C -gUnknown_0858773C: @ 0x0858773C - .incbin "baserom.gba", 0x58773C, 0x8 - - .global gUnknown_08587744 -gUnknown_08587744: @ 0x08587744 - .incbin "baserom.gba", 0x587744, 0x14 - - .global gUnknown_08587758 -gUnknown_08587758: @ 0x08587758 - .incbin "baserom.gba", 0x587758, 0x1C - - .global gUnknown_08587774 -gUnknown_08587774: @ 0x08587774 - .incbin "baserom.gba", 0x587774, 0x4 - - .global gUnknown_08587778 -gUnknown_08587778: @ 0x08587778 - .incbin "baserom.gba", 0x587778, 0x4 - - .global gUnknown_0858777C -gUnknown_0858777C: @ 0x0858777C - .incbin "baserom.gba", 0x58777C, 0xC - - .global gUnknown_08587788 -gUnknown_08587788: @ 0x08587788 - .incbin "baserom.gba", 0x587788, 0x4 - - .global gUnknown_0858778C -gUnknown_0858778C: @ 0x0858778C - .incbin "baserom.gba", 0x58778C, 0x8 - - .global gUnknown_08587794 -gUnknown_08587794: @ 0x08587794 - .incbin "baserom.gba", 0x587794, 0x30 - - .global gUnknown_085877C4 -gUnknown_085877C4: @ 0x085877C4 - .incbin "baserom.gba", 0x5877C4, 0x8 - - .global gUnknown_085877CC -gUnknown_085877CC: @ 0x085877CC - .incbin "baserom.gba", 0x5877CC, 0x4 - - .global gUnknown_085877D0 -gUnknown_085877D0: @ 0x085877D0 - .incbin "baserom.gba", 0x5877D0, 0xC - - .global gUnknown_085877DC -gUnknown_085877DC: @ 0x085877DC - .incbin "baserom.gba", 0x5877DC, 0xC8 - - .global gUnknown_085878A4 -gUnknown_085878A4: @ 0x085878A4 - .incbin "baserom.gba", 0x5878A4, 0x50 - - .global gUnknown_085878F4 -gUnknown_085878F4: @ 0x085878F4 - .incbin "baserom.gba", 0x5878F4, 0x4 - - .global gUnknown_085878F8 -gUnknown_085878F8: @ 0x085878F8 - .incbin "baserom.gba", 0x5878F8, 0x24 - - .global gUnknown_0858791C -gUnknown_0858791C: @ 0x0858791C - .incbin "baserom.gba", 0x58791C, 0x4 - - .global gUnknown_08587920 -gUnknown_08587920: @ 0x08587920 - .incbin "baserom.gba", 0x587920, 0x18 - - .global gUnknown_08587938 -gUnknown_08587938: @ 0x08587938 - .incbin "baserom.gba", 0x587938, 0x10 - - .global gUnknown_08587948 -gUnknown_08587948: @ 0x08587948 - .incbin "baserom.gba", 0x587948, 0x10 - - .global gUnknown_08587958 -gUnknown_08587958: @ 0x08587958 - .incbin "baserom.gba", 0x587958, 0x18 - - .global gUnknown_08587970 -gUnknown_08587970: @ 0x08587970 - .incbin "baserom.gba", 0x587970, 0x18 - - .global gUnknown_08587988 -gUnknown_08587988: @ 0x08587988 - .incbin "baserom.gba", 0x587988, 0x10 - - .global gUnknown_08587998 -gUnknown_08587998: @ 0x08587998 - .incbin "baserom.gba", 0x587998, 0x40 - - .global gUnknown_085879D8 -gUnknown_085879D8: @ 0x085879D8 - .incbin "baserom.gba", 0x5879D8, 0x68 - .global gUnknown_08587A40 gUnknown_08587A40: @ 0x08587A40 .incbin "baserom.gba", 0x587A40, 0x800 diff --git a/data/data_D74C8.s b/data/data_D74C8.s new file mode 100644 index 00000000..a2b85211 --- /dev/null +++ b/data/data_D74C8.s @@ -0,0 +1,1793 @@ + .section .rodata + + .global gUnknown_080D74C8 +gUnknown_080D74C8: @ 0x080D74C8 + .incbin "baserom.gba", 0xD74C8, 0x8 + + .global gUnknown_080D74D0 +gUnknown_080D74D0: @ 0x080D74D0 + .incbin "baserom.gba", 0xD74D0, 0x1C + + .global gUnknown_080D74EC +gUnknown_080D74EC: @ 0x080D74EC + .incbin "baserom.gba", 0xD74EC, 0x8 + + .global gUnknown_080D74F4 +gUnknown_080D74F4: @ 0x080D74F4 + .incbin "baserom.gba", 0xD74F4, 0x10 + + .global gUnknown_080D7504 +gUnknown_080D7504: @ 0x080D7504 + .incbin "baserom.gba", 0xD7504, 0x18 + + .global gUnknown_080D751C +gUnknown_080D751C: @ 0x080D751C + .incbin "baserom.gba", 0xD751C, 0x80 + + .global gUnknown_080D759C +gUnknown_080D759C: @ 0x080D759C + .incbin "baserom.gba", 0xD759C, 0x200 + + .global gUnknown_080D779C +gUnknown_080D779C: @ 0x080D779C + .incbin "baserom.gba", 0xD779C, 0x14 + + .global gUnknown_080D77B0 +gUnknown_080D77B0: @ 0x080D77B0 + .incbin "baserom.gba", 0xD77B0, 0xC + + .global gUnknown_080D77BC +gUnknown_080D77BC: @ 0x080D77BC + .incbin "baserom.gba", 0xD77BC, 0x20 + + .global gUnknown_080D77DC +gUnknown_080D77DC: @ 0x080D77DC + .incbin "baserom.gba", 0xD77DC, 0x20 + + .global gUnknown_080D77FC +gUnknown_080D77FC: @ 0x080D77FC + .incbin "baserom.gba", 0xD77FC, 0xF0 + + .global gUnknown_080D78EC +gUnknown_080D78EC: @ 0x080D78EC + .incbin "baserom.gba", 0xD78EC, 0x1C + + .global gUnknown_080D7908 +gUnknown_080D7908: @ 0x080D7908 + .incbin "baserom.gba", 0xD7908, 0x24 + + .global gUnknown_080D792C +gUnknown_080D792C: @ 0x080D792C + .incbin "baserom.gba", 0xD792C, 0x10 + + .global gUnknown_080D793C +gUnknown_080D793C: @ 0x080D793C + .incbin "baserom.gba", 0xD793C, 0x3 + + .global gUnknown_080D793F +gUnknown_080D793F: @ 0x080D793F + .incbin "baserom.gba", 0xD793F, 0xF + + .global gUnknown_080D794E +gUnknown_080D794E: @ 0x080D794E + .incbin "baserom.gba", 0xD794E, 0x6 + + .global gUnknown_080D7954 +gUnknown_080D7954: @ 0x080D7954 + .incbin "baserom.gba", 0xD7954, 0x10 + + .global gUnknown_080D7964 +gUnknown_080D7964: @ 0x080D7964 + .incbin "baserom.gba", 0xD7964, 0x74 + + .global gUnknown_080D79D8 +gUnknown_080D79D8: @ 0x080D79D8 + .incbin "baserom.gba", 0xD79D8, 0x8 + + .global gUnknown_080D79E0 +gUnknown_080D79E0: @ 0x080D79E0 + .incbin "baserom.gba", 0xD79E0, 0x8 + + .global gUnknown_080D79E8 +gUnknown_080D79E8: @ 0x080D79E8 + .incbin "baserom.gba", 0xD79E8, 0x28 + + .global gUnknown_080D7A10 +gUnknown_080D7A10: @ 0x080D7A10 + .incbin "baserom.gba", 0xD7A10, 0x20 + + .global gUnknown_080D7A30 +gUnknown_080D7A30: @ 0x080D7A30 + .incbin "baserom.gba", 0xD7A30, 0x8 + + .global gUnknown_080D7A38 +gUnknown_080D7A38: @ 0x080D7A38 + .incbin "baserom.gba", 0xD7A38, 0x2C + + .global gUnknown_080D7A64 +gUnknown_080D7A64: @ 0x080D7A64 + .incbin "baserom.gba", 0xD7A64, 0x8 + + .global gUnknown_080D7A6C +gUnknown_080D7A6C: @ 0x080D7A6C + .incbin "baserom.gba", 0xD7A6C, 0x10 + + .global gUnknown_080D7A7C +gUnknown_080D7A7C: @ 0x080D7A7C + .incbin "baserom.gba", 0xD7A7C, 0xC + + .global gUnknown_080D7A88 +gUnknown_080D7A88: @ 0x080D7A88 + .incbin "baserom.gba", 0xD7A88, 0x4 + + .global gUnknown_080D7A8C +gUnknown_080D7A8C: @ 0x080D7A8C + .incbin "baserom.gba", 0xD7A8C, 0x28 + + .global gUnknown_080D7AB4 +gUnknown_080D7AB4: @ 0x080D7AB4 + .incbin "baserom.gba", 0xD7AB4, 0x10 + + .global gUnknown_080D7AC4 +gUnknown_080D7AC4: @ 0x080D7AC4 + .incbin "baserom.gba", 0xD7AC4, 0x6C + + .global gUnknown_080D7B30 +gUnknown_080D7B30: @ 0x080D7B30 + .incbin "baserom.gba", 0xD7B30, 0x34 + + .global gUnknown_080D7B64 +gUnknown_080D7B64: @ 0x080D7B64 + .incbin "baserom.gba", 0xD7B64, 0x34 + + .global gUnknown_080D7B98 +gUnknown_080D7B98: @ 0x080D7B98 + .incbin "baserom.gba", 0xD7B98, 0x34 + + .global gUnknown_080D7BCC +gUnknown_080D7BCC: @ 0x080D7BCC + .incbin "baserom.gba", 0xD7BCC, 0x38 + + .global gUnknown_080D7C04 +gUnknown_080D7C04: @ 0x080D7C04 + .incbin "baserom.gba", 0xD7C04, 0x8 + + .global gUnknown_080D7C0C +gUnknown_080D7C0C: @ 0x080D7C0C + .incbin "baserom.gba", 0xD7C0C, 0x8 + + .global gUnknown_080D7C14 +gUnknown_080D7C14: @ 0x080D7C14 + .incbin "baserom.gba", 0xD7C14, 0x4 + + .global gUnknown_080D7C18 +gUnknown_080D7C18: @ 0x080D7C18 + .incbin "baserom.gba", 0xD7C18, 0x20 + + .global gUnknown_080D7C38 +gUnknown_080D7C38: @ 0x080D7C38 + .incbin "baserom.gba", 0xD7C38, 0x8 + + .global gUnknown_080D7C40 +gUnknown_080D7C40: @ 0x080D7C40 + .incbin "baserom.gba", 0xD7C40, 0x2 + + .global gUnknown_080D7C42 +gUnknown_080D7C42: @ 0x080D7C42 + .incbin "baserom.gba", 0xD7C42, 0x2 + + .global gUnknown_080D7C44 +gUnknown_080D7C44: @ 0x080D7C44 + .incbin "baserom.gba", 0xD7C44, 0x2A8 + + .global gUnknown_080D7EEC +gUnknown_080D7EEC: @ 0x080D7EEC + .incbin "baserom.gba", 0xD7EEC, 0x60 + + .global gUnknown_080D7F4C +gUnknown_080D7F4C: @ 0x080D7F4C + .incbin "baserom.gba", 0xD7F4C, 0xC + + .global gUnknown_080D7F58 +gUnknown_080D7F58: @ 0x080D7F58 + .incbin "baserom.gba", 0xD7F58, 0x4 + + .global gUnknown_080D7F5C +gUnknown_080D7F5C: @ 0x080D7F5C + .incbin "baserom.gba", 0xD7F5C, 0x8 + + .global gUnknown_080D7F64 +gUnknown_080D7F64: @ 0x080D7F64 + .incbin "baserom.gba", 0xD7F64, 0x28 + + .global gUnknown_080D7F8C +gUnknown_080D7F8C: @ 0x080D7F8C + .incbin "baserom.gba", 0xD7F8C, 0x6 + + .global gUnknown_080D7F92 +gUnknown_080D7F92: @ 0x080D7F92 + .incbin "baserom.gba", 0xD7F92, 0x1E + + .global gUnknown_080D7FB0 +gUnknown_080D7FB0: @ 0x080D7FB0 + .incbin "baserom.gba", 0xD7FB0, 0x20 + + .global gUnknown_080D7FD0 +gUnknown_080D7FD0: @ 0x080D7FD0 + .incbin "baserom.gba", 0xD7FD0, 0x48 + + .global gUnknown_080D8018 +gUnknown_080D8018: @ 0x080D8018 + .incbin "baserom.gba", 0xD8018, 0x58 + + .global gUnknown_080D8070 +gUnknown_080D8070: @ 0x080D8070 + .incbin "baserom.gba", 0xD8070, 0x54 + + .global gUnknown_080D80C4 +gUnknown_080D80C4: @ 0x080D80C4 + .incbin "baserom.gba", 0xD80C4, 0x24 + + .global gUnknown_080D80E8 +gUnknown_080D80E8: @ 0x080D80E8 + .incbin "baserom.gba", 0xD80E8, 0xC + + .global gUnknown_080D80F4 +gUnknown_080D80F4: @ 0x080D80F4 + .incbin "baserom.gba", 0xD80F4, 0x8 + + .global gUnknown_080D80FC +gUnknown_080D80FC: @ 0x080D80FC + .incbin "baserom.gba", 0xD80FC, 0x7C + + .global gUnknown_080D8178 +gUnknown_080D8178: @ 0x080D8178 + .incbin "baserom.gba", 0xD8178, 0x3C0 + + .global gUnknown_080D8538 +gUnknown_080D8538: @ 0x080D8538 + .incbin "baserom.gba", 0xD8538, 0x144 + + .global gUnknown_080D867C +gUnknown_080D867C: @ 0x080D867C + .incbin "baserom.gba", 0xD867C, 0x4 + + .global gUnknown_080D8680 +gUnknown_080D8680: @ 0x080D8680 + .incbin "baserom.gba", 0xD8680, 0xC + + .global gUnknown_080D868C +gUnknown_080D868C: @ 0x080D868C + .incbin "baserom.gba", 0xD868C, 0x4 + + .global gUnknown_080D8690 +gUnknown_080D8690: @ 0x080D8690 + .incbin "baserom.gba", 0xD8690, 0x64 + + .global gUnknown_080D86F4 +gUnknown_080D86F4: @ 0x080D86F4 + .incbin "baserom.gba", 0xD86F4, 0x4 + + .global gUnknown_080D86F8 +gUnknown_080D86F8: @ 0x080D86F8 + .incbin "baserom.gba", 0xD86F8, 0x1C + + .global gUnknown_080D8714 +gUnknown_080D8714: @ 0x080D8714 + .incbin "baserom.gba", 0xD8714, 0x2C + + .global gUnknown_080D8740 +gUnknown_080D8740: @ 0x080D8740 + .incbin "baserom.gba", 0xD8740, 0x155E + + .global gUnknown_080D9C9E +gUnknown_080D9C9E: @ 0x080D9C9E + .incbin "baserom.gba", 0xD9C9E, 0x96 + + .global gUnknown_080D9D34 +gUnknown_080D9D34: @ 0x080D9D34 + .incbin "baserom.gba", 0xD9D34, 0x19 + + .global gUnknown_080D9D4D +gUnknown_080D9D4D: @ 0x080D9D4D + .incbin "baserom.gba", 0xD9D4D, 0x9 + + .global gUnknown_080D9D56 +gUnknown_080D9D56: @ 0x080D9D56 + .incbin "baserom.gba", 0xD9D56, 0x8 + + .global gUnknown_080D9D5E +gUnknown_080D9D5E: @ 0x080D9D5E + .incbin "baserom.gba", 0xD9D5E, 0x3 + + .global gUnknown_080D9D61 +gUnknown_080D9D61: @ 0x080D9D61 + .incbin "baserom.gba", 0xD9D61, 0x83 + + .global gUnknown_080D9DE4 +gUnknown_080D9DE4: @ 0x080D9DE4 + .incbin "baserom.gba", 0xD9DE4, 0xE + + .global gUnknown_080D9DF2 +gUnknown_080D9DF2: @ 0x080D9DF2 + .incbin "baserom.gba", 0xD9DF2, 0x14 + + .global gUnknown_080D9E06 +gUnknown_080D9E06: @ 0x080D9E06 + .incbin "baserom.gba", 0xD9E06, 0x8 + + .global gUnknown_080D9E0E +gUnknown_080D9E0E: @ 0x080D9E0E + .incbin "baserom.gba", 0xD9E0E, 0xE + + .global gUnknown_080D9E1C +gUnknown_080D9E1C: @ 0x080D9E1C + .incbin "baserom.gba", 0xD9E1C, 0x28 + + .global gUnknown_080D9E44 +gUnknown_080D9E44: @ 0x080D9E44 + .incbin "baserom.gba", 0xD9E44, 0xC + + .global gUnknown_080D9E50 +gUnknown_080D9E50: @ 0x080D9E50 + .incbin "baserom.gba", 0xD9E50, 0x4C + + .global gUnknown_080D9E9C +gUnknown_080D9E9C: @ 0x080D9E9C + .incbin "baserom.gba", 0xD9E9C, 0xA + + .global gUnknown_080D9EA6 +gUnknown_080D9EA6: @ 0x080D9EA6 + .incbin "baserom.gba", 0xD9EA6, 0x1A + + .global gUnknown_080D9EC0 +gUnknown_080D9EC0: @ 0x080D9EC0 + .incbin "baserom.gba", 0xD9EC0, 0x8 + + .global gUnknown_080D9EC8 +gUnknown_080D9EC8: @ 0x080D9EC8 + .incbin "baserom.gba", 0xD9EC8, 0x28 + + .global gUnknown_080D9EF0 +gUnknown_080D9EF0: @ 0x080D9EF0 + .incbin "baserom.gba", 0xD9EF0, 0xC + + .global gUnknown_080D9EFC +gUnknown_080D9EFC: @ 0x080D9EFC + .incbin "baserom.gba", 0xD9EFC, 0x1C + + .global gUnknown_080D9F18 +gUnknown_080D9F18: @ 0x080D9F18 + .incbin "baserom.gba", 0xD9F18, 0x8 + + .global gUnknown_080D9F20 +gUnknown_080D9F20: @ 0x080D9F20 + .incbin "baserom.gba", 0xD9F20, 0x8 + + .global gUnknown_080D9F28 +gUnknown_080D9F28: @ 0x080D9F28 + .incbin "baserom.gba", 0xD9F28, 0x10 + + .global gUnknown_080D9F38 +gUnknown_080D9F38: @ 0x080D9F38 + .incbin "baserom.gba", 0xD9F38, 0x10 + + .global gUnknown_080D9F48 +gUnknown_080D9F48: @ 0x080D9F48 + .incbin "baserom.gba", 0xD9F48, 0x50 + + .global gUnknown_080D9F98 +gUnknown_080D9F98: @ 0x080D9F98 + .incbin "baserom.gba", 0xD9F98, 0x8 + + .global gUnknown_080D9FA0 +gUnknown_080D9FA0: @ 0x080D9FA0 + .incbin "baserom.gba", 0xD9FA0, 0x8 + + .global gUnknown_080D9FA8 +gUnknown_080D9FA8: @ 0x080D9FA8 + .incbin "baserom.gba", 0xD9FA8, 0x8 + + .global gUnknown_080D9FB0 +gUnknown_080D9FB0: @ 0x080D9FB0 + .incbin "baserom.gba", 0xD9FB0, 0x5 + + .global gUnknown_080D9FB5 +gUnknown_080D9FB5: @ 0x080D9FB5 + .incbin "baserom.gba", 0xD9FB5, 0x2 + + .global gUnknown_080D9FB7 +gUnknown_080D9FB7: @ 0x080D9FB7 + .incbin "baserom.gba", 0xD9FB7, 0x1F + + .global gUnknown_080D9FD6 +gUnknown_080D9FD6: @ 0x080D9FD6 + .incbin "baserom.gba", 0xD9FD6, 0xE + + .global gUnknown_080D9FE4 +gUnknown_080D9FE4: @ 0x080D9FE4 + .incbin "baserom.gba", 0xD9FE4, 0xB8 + + .global gUnknown_080DA09C +gUnknown_080DA09C: @ 0x080DA09C + .incbin "baserom.gba", 0xDA09C, 0x3E + + .global gUnknown_080DA0DA +gUnknown_080DA0DA: @ 0x080DA0DA + .incbin "baserom.gba", 0xDA0DA, 0x20 + + .global gUnknown_080DA0FA +gUnknown_080DA0FA: @ 0x080DA0FA + .incbin "baserom.gba", 0xDA0FA, 0x8 + + .global gUnknown_080DA102 +gUnknown_080DA102: @ 0x080DA102 + .incbin "baserom.gba", 0xDA102, 0x30 + + .global gUnknown_080DA132 +gUnknown_080DA132: @ 0x080DA132 + .incbin "baserom.gba", 0xDA132, 0x48 + + .global gUnknown_080DA17A +gUnknown_080DA17A: @ 0x080DA17A + .incbin "baserom.gba", 0xDA17A, 0x14 + + .global gUnknown_080DA18E +gUnknown_080DA18E: @ 0x080DA18E + .incbin "baserom.gba", 0xDA18E, 0x14 + + .global gUnknown_080DA1A2 +gUnknown_080DA1A2: @ 0x080DA1A2 + .incbin "baserom.gba", 0xDA1A2, 0x14 + + .global gUnknown_080DA1B6 +gUnknown_080DA1B6: @ 0x080DA1B6 + .incbin "baserom.gba", 0xDA1B6, 0x14 + + .global gUnknown_080DA1CA +gUnknown_080DA1CA: @ 0x080DA1CA + .incbin "baserom.gba", 0xDA1CA, 0x42 + + .global gUnknown_080DA20C +gUnknown_080DA20C: @ 0x080DA20C + .incbin "baserom.gba", 0xDA20C, 0x10 + + .global gUnknown_080DA21C +gUnknown_080DA21C: @ 0x080DA21C + .incbin "baserom.gba", 0xDA21C, 0x10 + + .global gUnknown_080DA22C +gUnknown_080DA22C: @ 0x080DA22C + .incbin "baserom.gba", 0xDA22C, 0x30 + + .global gUnknown_080DA25C +gUnknown_080DA25C: @ 0x080DA25C + .incbin "baserom.gba", 0xDA25C, 0xE + + .global gUnknown_080DA26A +gUnknown_080DA26A: @ 0x080DA26A + .incbin "baserom.gba", 0xDA26A, 0x14 + + .global gUnknown_080DA27E +gUnknown_080DA27E: @ 0x080DA27E + .incbin "baserom.gba", 0xDA27E, 0x32 + + .global gUnknown_080DA2B0 +gUnknown_080DA2B0: @ 0x080DA2B0 + .incbin "baserom.gba", 0xDA2B0, 0xC4 + + .global gUnknown_080DA374 +gUnknown_080DA374: @ 0x080DA374 + .incbin "baserom.gba", 0xDA374, 0xC4 + + .global gUnknown_080DA438 +gUnknown_080DA438: @ 0x080DA438 + .incbin "baserom.gba", 0xDA438, 0x82 + + .global gUnknown_080DA4BA +gUnknown_080DA4BA: @ 0x080DA4BA + .incbin "baserom.gba", 0xDA4BA, 0x22 + + .global gUnknown_080DA4DC +gUnknown_080DA4DC: @ 0x080DA4DC + .incbin "baserom.gba", 0xDA4DC, 0x4A + + .global gUnknown_080DA526 +gUnknown_080DA526: @ 0x080DA526 + .incbin "baserom.gba", 0xDA526, 0x4A + + .global gUnknown_080DA570 +gUnknown_080DA570: @ 0x080DA570 + .incbin "baserom.gba", 0xDA570, 0x4A + + .global gUnknown_080DA5BA +gUnknown_080DA5BA: @ 0x080DA5BA + .incbin "baserom.gba", 0xDA5BA, 0x4A + + .global gUnknown_080DA604 +gUnknown_080DA604: @ 0x080DA604 + .incbin "baserom.gba", 0xDA604, 0x6A + + .global gUnknown_080DA66E +gUnknown_080DA66E: @ 0x080DA66E + .incbin "baserom.gba", 0xDA66E, 0x38A + + .global gUnknown_080DA9F8 +gUnknown_080DA9F8: @ 0x080DA9F8 + .incbin "baserom.gba", 0xDA9F8, 0x96 + + .global gUnknown_080DAA8E +gUnknown_080DAA8E: @ 0x080DAA8E + .incbin "baserom.gba", 0xDAA8E, 0x1CA + + .global gUnknown_080DAC58 +gUnknown_080DAC58: @ 0x080DAC58 + .incbin "baserom.gba", 0xDAC58, 0x2A + + .global gUnknown_080DAC82 +gUnknown_080DAC82: @ 0x080DAC82 + .incbin "baserom.gba", 0xDAC82, 0x58 + + .global gUnknown_080DACDA +gUnknown_080DACDA: @ 0x080DACDA + .incbin "baserom.gba", 0xDACDA, 0x30 + + .global gUnknown_080DAD0A +gUnknown_080DAD0A: @ 0x080DAD0A + .incbin "baserom.gba", 0xDAD0A, 0x182 + + .global gUnknown_080DAE8C +gUnknown_080DAE8C: @ 0x080DAE8C + .incbin "baserom.gba", 0xDAE8C, 0xA + + .global gUnknown_080DAE96 +gUnknown_080DAE96: @ 0x080DAE96 + .incbin "baserom.gba", 0xDAE96, 0xA + + .global gUnknown_080DAEA0 +gUnknown_080DAEA0: @ 0x080DAEA0 + .incbin "baserom.gba", 0xDAEA0, 0xA + + .global gUnknown_080DAEAA +gUnknown_080DAEAA: @ 0x080DAEAA + .incbin "baserom.gba", 0xDAEAA, 0xA + + .global gUnknown_080DAEB4 +gUnknown_080DAEB4: @ 0x080DAEB4 + .incbin "baserom.gba", 0xDAEB4, 0xA + + .global gUnknown_080DAEBE +gUnknown_080DAEBE: @ 0x080DAEBE + .incbin "baserom.gba", 0xDAEBE, 0xA + + .global gUnknown_080DAEC8 +gUnknown_080DAEC8: @ 0x080DAEC8 + .incbin "baserom.gba", 0xDAEC8, 0xA + + .global gUnknown_080DAED2 +gUnknown_080DAED2: @ 0x080DAED2 + .incbin "baserom.gba", 0xDAED2, 0xA + + .global gUnknown_080DAEDC +gUnknown_080DAEDC: @ 0x080DAEDC + .incbin "baserom.gba", 0xDAEDC, 0xA + + .global gUnknown_080DAEE6 +gUnknown_080DAEE6: @ 0x080DAEE6 + .incbin "baserom.gba", 0xDAEE6, 0xA + + .global gUnknown_080DAEF0 +gUnknown_080DAEF0: @ 0x080DAEF0 + .incbin "baserom.gba", 0xDAEF0, 0x28 + + .global gUnknown_080DAF18 +gUnknown_080DAF18: @ 0x080DAF18 + .incbin "baserom.gba", 0xDAF18, 0x5 + + .global gUnknown_080DAF1D +gUnknown_080DAF1D: @ 0x080DAF1D + .incbin "baserom.gba", 0xDAF1D, 0x5 + + .global gUnknown_080DAF22 +gUnknown_080DAF22: @ 0x080DAF22 + .incbin "baserom.gba", 0xDAF22, 0x6 + + .global gUnknown_080DAF28 +gUnknown_080DAF28: @ 0x080DAF28 + .incbin "baserom.gba", 0xDAF28, 0x38 + + .global gUnknown_080DAF60 +gUnknown_080DAF60: @ 0x080DAF60 + .incbin "baserom.gba", 0xDAF60, 0xC6 + + .global gUnknown_080DB026 +gUnknown_080DB026: @ 0x080DB026 + .incbin "baserom.gba", 0xDB026, 0x1836 + + .global gUnknown_080DC85C +gUnknown_080DC85C: @ 0x080DC85C + .incbin "baserom.gba", 0xDC85C, 0xFA + + .global gUnknown_080DC956 +gUnknown_080DC956: @ 0x080DC956 + .incbin "baserom.gba", 0xDC956, 0x106 + + .global gUnknown_080DCA5C +gUnknown_080DCA5C: @ 0x080DCA5C + .incbin "baserom.gba", 0xDCA5C, 0x11C + + .global gUnknown_080DCB78 +gUnknown_080DCB78: @ 0x080DCB78 + .incbin "baserom.gba", 0xDCB78, 0x5C + + .global gUnknown_080DCBD4 +gUnknown_080DCBD4: @ 0x080DCBD4 + .incbin "baserom.gba", 0xDCBD4, 0xD2 + + .global gUnknown_080DCCA6 +gUnknown_080DCCA6: @ 0x080DCCA6 + .incbin "baserom.gba", 0xDCCA6, 0x1A + + .global gUnknown_080DCCC0 +gUnknown_080DCCC0: @ 0x080DCCC0 + .incbin "baserom.gba", 0xDCCC0, 0x66 + + .global gUnknown_080DCD26 +gUnknown_080DCD26: @ 0x080DCD26 + .incbin "baserom.gba", 0xDCD26, 0x4C + + .global gUnknown_080DCD72 +gUnknown_080DCD72: @ 0x080DCD72 + .incbin "baserom.gba", 0xDCD72, 0x72 + + .global gUnknown_080DCDE4 +gUnknown_080DCDE4: @ 0x080DCDE4 + .incbin "baserom.gba", 0xDCDE4, 0x8A + + .global gUnknown_080DCE6E +gUnknown_080DCE6E: @ 0x080DCE6E + .incbin "baserom.gba", 0xDCE6E, 0x7E + + .global gUnknown_080DCEEC +gUnknown_080DCEEC: @ 0x080DCEEC + .incbin "baserom.gba", 0xDCEEC, 0x92 + + .global gUnknown_080DCF7E +gUnknown_080DCF7E: @ 0x080DCF7E + .incbin "baserom.gba", 0xDCF7E, 0xA6 + + .global gUnknown_080DD024 +gUnknown_080DD024: @ 0x080DD024 + .incbin "baserom.gba", 0xDD024, 0x20 + + .global gUnknown_080DD044 +gUnknown_080DD044: @ 0x080DD044 + .incbin "baserom.gba", 0xDD044, 0x50 + + .global gUnknown_080DD094 +gUnknown_080DD094: @ 0x080DD094 + .incbin "baserom.gba", 0xDD094, 0x32 + + .global gUnknown_080DD0C6 +gUnknown_080DD0C6: @ 0x080DD0C6 + .incbin "baserom.gba", 0xDD0C6, 0xC0 + + .global gUnknown_080DD186 +gUnknown_080DD186: @ 0x080DD186 + .incbin "baserom.gba", 0xDD186, 0x6E + + .global gUnknown_080DD1F4 +gUnknown_080DD1F4: @ 0x080DD1F4 + .incbin "baserom.gba", 0xDD1F4, 0x5E + + .global gUnknown_080DD252 +gUnknown_080DD252: @ 0x080DD252 + .incbin "baserom.gba", 0xDD252, 0x36 + + .global gUnknown_080DD288 +gUnknown_080DD288: @ 0x080DD288 + .incbin "baserom.gba", 0xDD288, 0xA0 + + .global gUnknown_080DD328 +gUnknown_080DD328: @ 0x080DD328 + .incbin "baserom.gba", 0xDD328, 0x1AC + + .global gUnknown_080DD4D4 +gUnknown_080DD4D4: @ 0x080DD4D4 + .incbin "baserom.gba", 0xDD4D4, 0x6E + + .global gUnknown_080DD542 +gUnknown_080DD542: @ 0x080DD542 + .incbin "baserom.gba", 0xDD542, 0xE + + .global gUnknown_080DD550 +gUnknown_080DD550: @ 0x080DD550 + .incbin "baserom.gba", 0xDD550, 0x82 + + .global gUnknown_080DD5D2 +gUnknown_080DD5D2: @ 0x080DD5D2 + .incbin "baserom.gba", 0xDD5D2, 0x6 + + .global gUnknown_080DD5D8 +gUnknown_080DD5D8: @ 0x080DD5D8 + .incbin "baserom.gba", 0xDD5D8, 0xA2 + + .global gUnknown_080DD67A +gUnknown_080DD67A: @ 0x080DD67A + .incbin "baserom.gba", 0xDD67A, 0x92 + + .global gUnknown_080DD70C +gUnknown_080DD70C: @ 0x080DD70C + .incbin "baserom.gba", 0xDD70C, 0x5E + + .global gUnknown_080DD76A +gUnknown_080DD76A: @ 0x080DD76A + .incbin "baserom.gba", 0xDD76A, 0x15C + + .global gUnknown_080DD8C6 +gUnknown_080DD8C6: @ 0x080DD8C6 + .incbin "baserom.gba", 0xDD8C6, 0x6 + + .global gUnknown_080DD8CC +gUnknown_080DD8CC: @ 0x080DD8CC + .incbin "baserom.gba", 0xDD8CC, 0x6 + + .global gUnknown_080DD8D2 +gUnknown_080DD8D2: @ 0x080DD8D2 + .incbin "baserom.gba", 0xDD8D2, 0x6 + + .global gUnknown_080DD8D8 +gUnknown_080DD8D8: @ 0x080DD8D8 + .incbin "baserom.gba", 0xDD8D8, 0x16 + + .global gUnknown_080DD8EE +gUnknown_080DD8EE: @ 0x080DD8EE + .incbin "baserom.gba", 0xDD8EE, 0x42 + + .global gUnknown_080DD930 +gUnknown_080DD930: @ 0x080DD930 + .incbin "baserom.gba", 0xDD930, 0x42 + + .global gUnknown_080DD972 +gUnknown_080DD972: @ 0x080DD972 + .incbin "baserom.gba", 0xDD972, 0x32 + + .global gUnknown_080DD9A4 +gUnknown_080DD9A4: @ 0x080DD9A4 + .incbin "baserom.gba", 0xDD9A4, 0x9A + + .global gUnknown_080DDA3E +gUnknown_080DDA3E: @ 0x080DDA3E + .incbin "baserom.gba", 0xDDA3E, 0x12 + + .global gUnknown_080DDA50 +gUnknown_080DDA50: @ 0x080DDA50 + .incbin "baserom.gba", 0xDDA50, 0x8 + + .global gUnknown_080DDA58 +gUnknown_080DDA58: @ 0x080DDA58 + .incbin "baserom.gba", 0xDDA58, 0x18 + + .global gUnknown_080DDA70 +gUnknown_080DDA70: @ 0x080DDA70 + .incbin "baserom.gba", 0xDDA70, 0x112 + + .global gUnknown_080DDB82 +gUnknown_080DDB82: @ 0x080DDB82 + .incbin "baserom.gba", 0xDDB82, 0x18 + + .global gUnknown_080DDB9A +gUnknown_080DDB9A: @ 0x080DDB9A + .incbin "baserom.gba", 0xDDB9A, 0xF0 + + .global gUnknown_080DDC8A +gUnknown_080DDC8A: @ 0x080DDC8A + .incbin "baserom.gba", 0xDDC8A, 0x5C + + .global gUnknown_080DDCE6 +gUnknown_080DDCE6: @ 0x080DDCE6 + .incbin "baserom.gba", 0xDDCE6, 0x72 + + .global gUnknown_080DDD58 +gUnknown_080DDD58: @ 0x080DDD58 + .incbin "baserom.gba", 0xDDD58, 0x146 + + .global gUnknown_080DDE9E +gUnknown_080DDE9E: @ 0x080DDE9E + .incbin "baserom.gba", 0xDDE9E, 0x9C + + .global gUnknown_080DDF3A +gUnknown_080DDF3A: @ 0x080DDF3A + .incbin "baserom.gba", 0xDDF3A, 0x102 + + .global gUnknown_080DE03C +gUnknown_080DE03C: @ 0x080DE03C + .incbin "baserom.gba", 0xDE03C, 0x14 + + .global gUnknown_080DE050 +gUnknown_080DE050: @ 0x080DE050 + .incbin "baserom.gba", 0xDE050, 0x36 + + .global gUnknown_080DE086 +gUnknown_080DE086: @ 0x080DE086 + .incbin "baserom.gba", 0xDE086, 0x48 + + .global gUnknown_080DE0CE +gUnknown_080DE0CE: @ 0x080DE0CE + .incbin "baserom.gba", 0xDE0CE, 0x38 + + .global gUnknown_080DE106 +gUnknown_080DE106: @ 0x080DE106 + .incbin "baserom.gba", 0xDE106, 0x4A + + .global gUnknown_080DE150 +gUnknown_080DE150: @ 0x080DE150 + .incbin "baserom.gba", 0xDE150, 0x7E + + .global gUnknown_080DE1CE +gUnknown_080DE1CE: @ 0x080DE1CE + .incbin "baserom.gba", 0xDE1CE, 0x7E + + .global gUnknown_080DE24C +gUnknown_080DE24C: @ 0x080DE24C + .incbin "baserom.gba", 0xDE24C, 0x38 + + .global gUnknown_080DE284 +gUnknown_080DE284: @ 0x080DE284 + .incbin "baserom.gba", 0xDE284, 0x34 + + .global gUnknown_080DE2B8 +gUnknown_080DE2B8: @ 0x080DE2B8 + .incbin "baserom.gba", 0xDE2B8, 0x2A + + .global gUnknown_080DE2E2 +gUnknown_080DE2E2: @ 0x080DE2E2 + .incbin "baserom.gba", 0xDE2E2, 0x64 + + .global gUnknown_080DE346 +gUnknown_080DE346: @ 0x080DE346 + .incbin "baserom.gba", 0xDE346, 0x2E + + .global gUnknown_080DE374 +gUnknown_080DE374: @ 0x080DE374 + .incbin "baserom.gba", 0xDE374, 0x32 + + .global gUnknown_080DE3A6 +gUnknown_080DE3A6: @ 0x080DE3A6 + .incbin "baserom.gba", 0xDE3A6, 0x34 + + .global gUnknown_080DE3DA +gUnknown_080DE3DA: @ 0x080DE3DA + .incbin "baserom.gba", 0xDE3DA, 0x1E + + .global gUnknown_080DE3F8 +gUnknown_080DE3F8: @ 0x080DE3F8 + .incbin "baserom.gba", 0xDE3F8, 0x86 + + .global gUnknown_080DE47E +gUnknown_080DE47E: @ 0x080DE47E + .incbin "baserom.gba", 0xDE47E, 0x68 + + .global gUnknown_080DE4E6 +gUnknown_080DE4E6: @ 0x080DE4E6 + .incbin "baserom.gba", 0xDE4E6, 0x40 + + .global gUnknown_080DE526 +gUnknown_080DE526: @ 0x080DE526 + .incbin "baserom.gba", 0xDE526, 0x2C + + .global gUnknown_080DE552 +gUnknown_080DE552: @ 0x080DE552 + .incbin "baserom.gba", 0xDE552, 0x3C + + .global gUnknown_080DE58E +gUnknown_080DE58E: @ 0x080DE58E + .incbin "baserom.gba", 0xDE58E, 0x56 + + .global gUnknown_080DE5E4 +gUnknown_080DE5E4: @ 0x080DE5E4 + .incbin "baserom.gba", 0xDE5E4, 0x40 + + .global gUnknown_080DE624 +gUnknown_080DE624: @ 0x080DE624 + .incbin "baserom.gba", 0xDE624, 0x38 + + .global gUnknown_080DE65C +gUnknown_080DE65C: @ 0x080DE65C + .incbin "baserom.gba", 0xDE65C, 0x94 + + .global gUnknown_080DE6F0 +gUnknown_080DE6F0: @ 0x080DE6F0 + .incbin "baserom.gba", 0xDE6F0, 0x20 + + .global gUnknown_080DE710 +gUnknown_080DE710: @ 0x080DE710 + .incbin "baserom.gba", 0xDE710, 0x38 + + .global gUnknown_080DE748 +gUnknown_080DE748: @ 0x080DE748 + .incbin "baserom.gba", 0xDE748, 0x4A + + .global gUnknown_080DE792 +gUnknown_080DE792: @ 0x080DE792 + .incbin "baserom.gba", 0xDE792, 0x10E + + .global gUnknown_080DE8A0 +gUnknown_080DE8A0: @ 0x080DE8A0 + .incbin "baserom.gba", 0xDE8A0, 0x20 + + .global gUnknown_080DE8C0 +gUnknown_080DE8C0: @ 0x080DE8C0 + .incbin "baserom.gba", 0xDE8C0, 0x1C + + .global gUnknown_080DE8DC +gUnknown_080DE8DC: @ 0x080DE8DC + .incbin "baserom.gba", 0xDE8DC, 0x24 + + .global gUnknown_080DE900 +gUnknown_080DE900: @ 0x080DE900 + .incbin "baserom.gba", 0xDE900, 0x24 + + .global gUnknown_080DE924 +gUnknown_080DE924: @ 0x080DE924 + .incbin "baserom.gba", 0xDE924, 0x50 + + .global gUnknown_080DE974 +gUnknown_080DE974: @ 0x080DE974 + .incbin "baserom.gba", 0xDE974, 0x76 + + .global gUnknown_080DE9EA +gUnknown_080DE9EA: @ 0x080DE9EA + .incbin "baserom.gba", 0xDE9EA, 0x60 + + .global gUnknown_080DEA4A +gUnknown_080DEA4A: @ 0x080DEA4A + .incbin "baserom.gba", 0xDEA4A, 0x2A + + .global gUnknown_080DEA74 +gUnknown_080DEA74: @ 0x080DEA74 + .incbin "baserom.gba", 0xDEA74, 0x22 + + .global gUnknown_080DEA96 +gUnknown_080DEA96: @ 0x080DEA96 + .incbin "baserom.gba", 0xDEA96, 0x14 + + .global gUnknown_080DEAAA +gUnknown_080DEAAA: @ 0x080DEAAA + .incbin "baserom.gba", 0xDEAAA, 0x50 + + .global gUnknown_080DEAFA +gUnknown_080DEAFA: @ 0x080DEAFA + .incbin "baserom.gba", 0xDEAFA, 0x70 + + .global gUnknown_080DEB6A +gUnknown_080DEB6A: @ 0x080DEB6A + .incbin "baserom.gba", 0xDEB6A, 0x5E + + .global gUnknown_080DEBC8 +gUnknown_080DEBC8: @ 0x080DEBC8 + .incbin "baserom.gba", 0xDEBC8, 0x30 + + .global gUnknown_080DEBF8 +gUnknown_080DEBF8: @ 0x080DEBF8 + .incbin "baserom.gba", 0xDEBF8, 0x14 + + .global gUnknown_080DEC0C +gUnknown_080DEC0C: @ 0x080DEC0C + .incbin "baserom.gba", 0xDEC0C, 0x24 + + .global gUnknown_080DEC30 +gUnknown_080DEC30: @ 0x080DEC30 + .incbin "baserom.gba", 0xDEC30, 0x8A + + .global gUnknown_080DECBA +gUnknown_080DECBA: @ 0x080DECBA + .incbin "baserom.gba", 0xDECBA, 0x102 + + .global gUnknown_080DEDBC +gUnknown_080DEDBC: @ 0x080DEDBC + .incbin "baserom.gba", 0xDEDBC, 0x3E + + .global gUnknown_080DEDFA +gUnknown_080DEDFA: @ 0x080DEDFA + .incbin "baserom.gba", 0xDEDFA, 0x46 + + .global gUnknown_080DEE40 +gUnknown_080DEE40: @ 0x080DEE40 + .incbin "baserom.gba", 0xDEE40, 0x82 + + .global gUnknown_080DEEC2 +gUnknown_080DEEC2: @ 0x080DEEC2 + .incbin "baserom.gba", 0xDEEC2, 0x5E + + .global gUnknown_080DEF20 +gUnknown_080DEF20: @ 0x080DEF20 + .incbin "baserom.gba", 0xDEF20, 0x58 + + .global gUnknown_080DEF78 +gUnknown_080DEF78: @ 0x080DEF78 + .incbin "baserom.gba", 0xDEF78, 0x58 + + .global gUnknown_080DEFD0 +gUnknown_080DEFD0: @ 0x080DEFD0 + .incbin "baserom.gba", 0xDEFD0, 0x72 + + .global gUnknown_080DF042 +gUnknown_080DF042: @ 0x080DF042 + .incbin "baserom.gba", 0xDF042, 0x3E + + .global gUnknown_080DF080 +gUnknown_080DF080: @ 0x080DF080 + .incbin "baserom.gba", 0xDF080, 0x60 + + .global gUnknown_080DF0E0 +gUnknown_080DF0E0: @ 0x080DF0E0 + .incbin "baserom.gba", 0xDF0E0, 0xA8 + + .global gUnknown_080DF188 +gUnknown_080DF188: @ 0x080DF188 + .incbin "baserom.gba", 0xDF188, 0x66 + + .global gUnknown_080DF1EE +gUnknown_080DF1EE: @ 0x080DF1EE + .incbin "baserom.gba", 0xDF1EE, 0x7C + + .global gUnknown_080DF26A +gUnknown_080DF26A: @ 0x080DF26A + .incbin "baserom.gba", 0xDF26A, 0x72 + + .global gUnknown_080DF2DC +gUnknown_080DF2DC: @ 0x080DF2DC + .incbin "baserom.gba", 0xDF2DC, 0xAA + + .global gUnknown_080DF386 +gUnknown_080DF386: @ 0x080DF386 + .incbin "baserom.gba", 0xDF386, 0x16 + + .global gUnknown_080DF39C +gUnknown_080DF39C: @ 0x080DF39C + .incbin "baserom.gba", 0xDF39C, 0x6 + + .global gUnknown_080DF3A2 +gUnknown_080DF3A2: @ 0x080DF3A2 + .incbin "baserom.gba", 0xDF3A2, 0x22 + + .global gUnknown_080DF3C4 +gUnknown_080DF3C4: @ 0x080DF3C4 + .incbin "baserom.gba", 0xDF3C4, 0x130 + + .global gUnknown_080DF4F4 +gUnknown_080DF4F4: @ 0x080DF4F4 + .incbin "baserom.gba", 0xDF4F4, 0x52 + + .global gUnknown_080DF546 +gUnknown_080DF546: @ 0x080DF546 + .incbin "baserom.gba", 0xDF546, 0x22 + + .global gUnknown_080DF568 +gUnknown_080DF568: @ 0x080DF568 + .incbin "baserom.gba", 0xDF568, 0x6E + + .global gUnknown_080DF5D6 +gUnknown_080DF5D6: @ 0x080DF5D6 + .incbin "baserom.gba", 0xDF5D6, 0x6E + + .global gUnknown_080DF644 +gUnknown_080DF644: @ 0x080DF644 + .incbin "baserom.gba", 0xDF644, 0x64 + + .global gUnknown_080DF6A8 +gUnknown_080DF6A8: @ 0x080DF6A8 + .incbin "baserom.gba", 0xDF6A8, 0x1E + + .global gUnknown_080DF6C6 +gUnknown_080DF6C6: @ 0x080DF6C6 + .incbin "baserom.gba", 0xDF6C6, 0x6A + + .global gUnknown_080DF730 +gUnknown_080DF730: @ 0x080DF730 + .incbin "baserom.gba", 0xDF730, 0x18 + + .global gUnknown_080DF748 +gUnknown_080DF748: @ 0x080DF748 + .incbin "baserom.gba", 0xDF748, 0x86 + + .global gUnknown_080DF7CE +gUnknown_080DF7CE: @ 0x080DF7CE + .incbin "baserom.gba", 0xDF7CE, 0x98 + + .global gUnknown_080DF866 +gUnknown_080DF866: @ 0x080DF866 + .incbin "baserom.gba", 0xDF866, 0x32 + + .global gUnknown_080DF898 +gUnknown_080DF898: @ 0x080DF898 + .incbin "baserom.gba", 0xDF898, 0xBC + + .global gUnknown_080DF954 +gUnknown_080DF954: @ 0x080DF954 + .incbin "baserom.gba", 0xDF954, 0x6A + + .global gUnknown_080DF9BE +gUnknown_080DF9BE: @ 0x080DF9BE + .incbin "baserom.gba", 0xDF9BE, 0x17A6 + + .global gUnknown_080E1164 +gUnknown_080E1164: @ 0x080E1164 + .incbin "baserom.gba", 0xE1164, 0x230 + + .global gUnknown_080E1394 +gUnknown_080E1394: @ 0x080E1394 + .incbin "baserom.gba", 0xE1394, 0xE + + .global gUnknown_080E13A2 +gUnknown_080E13A2: @ 0x080E13A2 + .incbin "baserom.gba", 0xE13A2, 0x12 + + .global gUnknown_080E13B4 +gUnknown_080E13B4: @ 0x080E13B4 + .incbin "baserom.gba", 0xE13B4, 0x20 + + .global gUnknown_080E13D4 +gUnknown_080E13D4: @ 0x080E13D4 + .incbin "baserom.gba", 0xE13D4, 0x20 + + .global gUnknown_080E13F4 +gUnknown_080E13F4: @ 0x080E13F4 + .incbin "baserom.gba", 0xE13F4, 0x46 + + .global gUnknown_080E143A +gUnknown_080E143A: @ 0x080E143A + .incbin "baserom.gba", 0xE143A, 0x4E + + .global gUnknown_080E1488 +gUnknown_080E1488: @ 0x080E1488 + .incbin "baserom.gba", 0xE1488, 0x144 + + .global gUnknown_080E15CC +gUnknown_080E15CC: @ 0x080E15CC + .incbin "baserom.gba", 0xE15CC, 0x5E + + .global gUnknown_080E162A +gUnknown_080E162A: @ 0x080E162A + .incbin "baserom.gba", 0xE162A, 0x3A + + .global gUnknown_080E1664 +gUnknown_080E1664: @ 0x080E1664 + .incbin "baserom.gba", 0xE1664, 0x36 + + .global gUnknown_080E169A +gUnknown_080E169A: @ 0x080E169A + .incbin "baserom.gba", 0xE169A, 0x42 + + .global gUnknown_080E16DC +gUnknown_080E16DC: @ 0x080E16DC + .incbin "baserom.gba", 0xE16DC, 0x56 + + .global gUnknown_080E1732 +gUnknown_080E1732: @ 0x080E1732 + .incbin "baserom.gba", 0xE1732, 0xE + + .global gUnknown_080E1740 +gUnknown_080E1740: @ 0x080E1740 + .incbin "baserom.gba", 0xE1740, 0x80 + + .global gUnknown_080E17C0 +gUnknown_080E17C0: @ 0x080E17C0 + .incbin "baserom.gba", 0xE17C0, 0x9A4 + + .global gUnknown_080E2164 +gUnknown_080E2164: @ 0x080E2164 + .incbin "baserom.gba", 0xE2164, 0x9F0 + + .global gUnknown_080E2B54 +gUnknown_080E2B54: @ 0x080E2B54 + .incbin "baserom.gba", 0xE2B54, 0x1024 + + .global gUnknown_080E3B78 +gUnknown_080E3B78: @ 0x080E3B78 + .incbin "baserom.gba", 0xE3B78, 0x9B8 + + .global gUnknown_080E4530 +gUnknown_080E4530: @ 0x080E4530 + .incbin "baserom.gba", 0xE4530, 0x9CC + + .global gUnknown_080E4EFC +gUnknown_080E4EFC: @ 0x080E4EFC + .incbin "baserom.gba", 0xE4EFC, 0x9A8 + + .global gUnknown_080E58A4 +gUnknown_080E58A4: @ 0x080E58A4 + .incbin "baserom.gba", 0xE58A4, 0x320 + + .global gUnknown_080E5BC4 +gUnknown_080E5BC4: @ 0x080E5BC4 + .incbin "baserom.gba", 0xE5BC4, 0x3D4 + + .global gUnknown_080E5F98 +gUnknown_080E5F98: @ 0x080E5F98 + .incbin "baserom.gba", 0xE5F98, 0x434 + + .global gUnknown_080E63CC +gUnknown_080E63CC: @ 0x080E63CC + .incbin "baserom.gba", 0xE63CC, 0x3C0 + + .global gUnknown_080E678C +gUnknown_080E678C: @ 0x080E678C + .incbin "baserom.gba", 0xE678C, 0x538 + + .global gUnknown_080E6CC4 +gUnknown_080E6CC4: @ 0x080E6CC4 + .incbin "baserom.gba", 0xE6CC4, 0x73C + + .global gUnknown_080E7400 +gUnknown_080E7400: @ 0x080E7400 + .incbin "baserom.gba", 0xE7400, 0x78C + + .global gUnknown_080E7B8C +gUnknown_080E7B8C: @ 0x080E7B8C + .incbin "baserom.gba", 0xE7B8C, 0x78C + + .global gUnknown_080E8318 +gUnknown_080E8318: @ 0x080E8318 + .incbin "baserom.gba", 0xE8318, 0x6 + + .global gUnknown_080E831E +gUnknown_080E831E: @ 0x080E831E + .incbin "baserom.gba", 0xE831E, 0x16 + + .global gUnknown_080E8334 +gUnknown_080E8334: @ 0x080E8334 + .incbin "baserom.gba", 0xE8334, 0x1A + + .global gUnknown_080E834E +gUnknown_080E834E: @ 0x080E834E + .incbin "baserom.gba", 0xE834E, 0x1E + + .global gUnknown_080E836C +gUnknown_080E836C: @ 0x080E836C + .incbin "baserom.gba", 0xE836C, 0x22 + + .global gUnknown_080E838E +gUnknown_080E838E: @ 0x080E838E + .incbin "baserom.gba", 0xE838E, 0x7239E + + .global gUnknown_0815A72C +gUnknown_0815A72C: @ 0x0815A72C + .incbin "baserom.gba", 0x15A72C, 0x2D5C + + .global gUnknown_0815D488 +gUnknown_0815D488: @ 0x0815D488 + .incbin "baserom.gba", 0x15D488, 0x4 + + .global gUnknown_0815D48C +gUnknown_0815D48C: @ 0x0815D48C + .incbin "baserom.gba", 0x15D48C, 0xA8288 + + .global gUnknown_08205714 +gUnknown_08205714: @ 0x08205714 + .incbin "baserom.gba", 0x205714, 0x88 + + .global gUnknown_0820579C +gUnknown_0820579C: @ 0x0820579C + .incbin "baserom.gba", 0x20579C, 0x88 + + .global gUnknown_08205824 +gUnknown_08205824: @ 0x08205824 + .incbin "baserom.gba", 0x205824, 0xF + + .global gUnknown_08205833 +gUnknown_08205833: @ 0x08205833 + .incbin "baserom.gba", 0x205833, 0x13 + + .global gUnknown_08205846 +gUnknown_08205846: @ 0x08205846 + .incbin "baserom.gba", 0x205846, 0xF + + .global gUnknown_08205855 +gUnknown_08205855: @ 0x08205855 + .incbin "baserom.gba", 0x205855, 0x2F + + .global gUnknown_08205884 +gUnknown_08205884: @ 0x08205884 + .incbin "baserom.gba", 0x205884, 0x8 + + .global gUnknown_0820588C +gUnknown_0820588C: @ 0x0820588C + .incbin "baserom.gba", 0x20588C, 0x2 + + .global gUnknown_0820588E +gUnknown_0820588E: @ 0x0820588E + .incbin "baserom.gba", 0x20588E, 0x1A + + .global gUnknown_082058A8 +gUnknown_082058A8: @ 0x082058A8 + .incbin "baserom.gba", 0x2058A8, 0x8 + + .global gUnknown_082058B0 +gUnknown_082058B0: @ 0x082058B0 + .incbin "baserom.gba", 0x2058B0, 0x4 + + .global gUnknown_082058B4 +gUnknown_082058B4: @ 0x082058B4 + .incbin "baserom.gba", 0x2058B4, 0x20 + + .global gUnknown_082058D4 +gUnknown_082058D4: @ 0x082058D4 + .incbin "baserom.gba", 0x2058D4, 0x8 + + .global gUnknown_082058DC +gUnknown_082058DC: @ 0x082058DC + .incbin "baserom.gba", 0x2058DC, 0x2 + + .global gUnknown_082058DE +gUnknown_082058DE: @ 0x082058DE + .incbin "baserom.gba", 0x2058DE, 0x4 + + .global gUnknown_082058E2 +gUnknown_082058E2: @ 0x082058E2 + .incbin "baserom.gba", 0x2058E2, 0x2 + + .global gUnknown_082058E4 +gUnknown_082058E4: @ 0x082058E4 + .incbin "baserom.gba", 0x2058E4, 0xC + + .global gUnknown_082058F0 +gUnknown_082058F0: @ 0x082058F0 + .incbin "baserom.gba", 0x2058F0, 0x4 + + .global gUnknown_082058F4 +gUnknown_082058F4: @ 0x082058F4 + .incbin "baserom.gba", 0x2058F4, 0x4 + + .global gUnknown_082058F8 +gUnknown_082058F8: @ 0x082058F8 + .incbin "baserom.gba", 0x2058F8, 0x20 + + .global gUnknown_08205918 +gUnknown_08205918: @ 0x08205918 + .incbin "baserom.gba", 0x205918, 0x20 + + .global gUnknown_08205938 +gUnknown_08205938: @ 0x08205938 + .incbin "baserom.gba", 0x205938, 0x2C + + .global gUnknown_08205964 +gUnknown_08205964: @ 0x08205964 + .incbin "baserom.gba", 0x205964, 0xC0 + + .global gUnknown_08205A24 +gUnknown_08205A24: @ 0x08205A24 + .incbin "baserom.gba", 0x205A24, 0x100 + + .global gUnknown_08205B24 +gUnknown_08205B24: @ 0x08205B24 + .incbin "baserom.gba", 0x205B24, 0x10 + + .global gUnknown_08205B34 +gUnknown_08205B34: @ 0x08205B34 + .incbin "baserom.gba", 0x205B34, 0x6 + + .global gUnknown_08205B3A +gUnknown_08205B3A: @ 0x08205B3A + .incbin "baserom.gba", 0x205B3A, 0x18 + + .global gUnknown_08205B52 +gUnknown_08205B52: @ 0x08205B52 + .incbin "baserom.gba", 0x205B52, 0x32 + + .global gUnknown_08205B84 +gUnknown_08205B84: @ 0x08205B84 + .incbin "baserom.gba", 0x205B84, 0x10 + + .global gUnknown_08205B94 +gUnknown_08205B94: @ 0x08205B94 + .incbin "baserom.gba", 0x205B94, 0x1C + + .global gUnknown_08205BB0 +gUnknown_08205BB0: @ 0x08205BB0 + .incbin "baserom.gba", 0x205BB0, 0x10 + + .global gUnknown_08205BC0 +gUnknown_08205BC0: @ 0x08205BC0 + .incbin "baserom.gba", 0x205BC0, 0x3C + + .global gUnknown_08205BFC +gUnknown_08205BFC: @ 0x08205BFC + .incbin "baserom.gba", 0x205BFC, 0x18 + + .global gUnknown_08205C14 +gUnknown_08205C14: @ 0x08205C14 + .incbin "baserom.gba", 0x205C14, 0x20 + + .global gUnknown_08205C34 +gUnknown_08205C34: @ 0x08205C34 + .incbin "baserom.gba", 0x205C34, 0x10 + + .global gUnknown_08205C44 +gUnknown_08205C44: @ 0x08205C44 + .incbin "baserom.gba", 0x205C44, 0x20 + + .global gUnknown_08205C64 +gUnknown_08205C64: @ 0x08205C64 + .incbin "baserom.gba", 0x205C64, 0xC + + .global gUnknown_08205C70 +gUnknown_08205C70: @ 0x08205C70 + .incbin "baserom.gba", 0x205C70, 0x20 + + .global gUnknown_08205C90 +gUnknown_08205C90: @ 0x08205C90 + .incbin "baserom.gba", 0x205C90, 0xC + + .global gUnknown_08205C9C +gUnknown_08205C9C: @ 0x08205C9C + .incbin "baserom.gba", 0x205C9C, 0x8 + + .global gUnknown_08205CA4 +gUnknown_08205CA4: @ 0x08205CA4 + .incbin "baserom.gba", 0x205CA4, 0x8 + + .global gUnknown_08205CAC +gUnknown_08205CAC: @ 0x08205CAC + .incbin "baserom.gba", 0x205CAC, 0x8 + + .global gUnknown_08205CB4 +gUnknown_08205CB4: @ 0x08205CB4 + .incbin "baserom.gba", 0x205CB4, 0xC8 + + .global gUnknown_08205D7C +gUnknown_08205D7C: @ 0x08205D7C + .incbin "baserom.gba", 0x205D7C, 0x8 + + .global gUnknown_08205D84 +gUnknown_08205D84: @ 0x08205D84 + .incbin "baserom.gba", 0x205D84, 0x3 + + .global gUnknown_08205D87 +gUnknown_08205D87: @ 0x08205D87 + .incbin "baserom.gba", 0x205D87, 0x10 + + .global gUnknown_08205D97 +gUnknown_08205D97: @ 0x08205D97 + .incbin "baserom.gba", 0x205D97, 0x21 + + .global gUnknown_08205DB8 +gUnknown_08205DB8: @ 0x08205DB8 + .incbin "baserom.gba", 0x205DB8, 0x31 + + .global gUnknown_08205DE9 +gUnknown_08205DE9: @ 0x08205DE9 + .incbin "baserom.gba", 0x205DE9, 0x2F + + .global gUnknown_08205E18 +gUnknown_08205E18: @ 0x08205E18 + .incbin "baserom.gba", 0x205E18, 0x10 + + .global gUnknown_08205E28 +gUnknown_08205E28: @ 0x08205E28 + .incbin "baserom.gba", 0x205E28, 0x28 + + .global gUnknown_08205E50 +gUnknown_08205E50: @ 0x08205E50 + .incbin "baserom.gba", 0x205E50, 0x44 + + .global gUnknown_08205E94 +gUnknown_08205E94: @ 0x08205E94 + .incbin "baserom.gba", 0x205E94, 0x3C + + .global gUnknown_08205ED0 +gUnknown_08205ED0: @ 0x08205ED0 + .incbin "baserom.gba", 0x205ED0, 0x4 + + .global gUnknown_08205ED4 +gUnknown_08205ED4: @ 0x08205ED4 + .incbin "baserom.gba", 0x205ED4, 0x8 + + .global gUnknown_08205EDC +gUnknown_08205EDC: @ 0x08205EDC + .incbin "baserom.gba", 0x205EDC, 0x40 + + .global gUnknown_08205F1C +gUnknown_08205F1C: @ 0x08205F1C + .incbin "baserom.gba", 0x205F1C, 0x4 + + .global gUnknown_08205F20 +gUnknown_08205F20: @ 0x08205F20 + .incbin "baserom.gba", 0x205F20, 0x4 + + .global gUnknown_08205F24 +gUnknown_08205F24: @ 0x08205F24 + .incbin "baserom.gba", 0x205F24, 0x4 + + .global gUnknown_08205F28 +gUnknown_08205F28: @ 0x08205F28 + .incbin "baserom.gba", 0x205F28, 0x54 + + .global gUnknown_08205F7C +gUnknown_08205F7C: @ 0x08205F7C + .incbin "baserom.gba", 0x205F7C, 0x24 + + .global gUnknown_08205FA0 +gUnknown_08205FA0: @ 0x08205FA0 + .incbin "baserom.gba", 0x205FA0, 0x110 + + .global gUnknown_082060B0 +gUnknown_082060B0: @ 0x082060B0 + .incbin "baserom.gba", 0x2060B0, 0x3A0 + + .global gUnknown_08206450 +gUnknown_08206450: @ 0x08206450 + .incbin "baserom.gba", 0x206450, 0x48 + + .global gUnknown_08206498 +gUnknown_08206498: @ 0x08206498 + .incbin "baserom.gba", 0x206498, 0x1DC + + .global gUnknown_08206674 +gUnknown_08206674: @ 0x08206674 + .incbin "baserom.gba", 0x206674, 0x1F4 + + .global gUnknown_08206868 +gUnknown_08206868: @ 0x08206868 + .incbin "baserom.gba", 0x206868, 0x8C + + .global gUnknown_082068F4 +gUnknown_082068F4: @ 0x082068F4 + .incbin "baserom.gba", 0x2068F4, 0x8 + + .global gUnknown_082068FC +gUnknown_082068FC: @ 0x082068FC + .incbin "baserom.gba", 0x2068FC, 0x8 + + .global gUnknown_08206904 +gUnknown_08206904: @ 0x08206904 + .incbin "baserom.gba", 0x206904, 0x44 + + .global gUnknown_08206948 +gUnknown_08206948: @ 0x08206948 + .incbin "baserom.gba", 0x206948, 0x9 + + .global gUnknown_08206951 +gUnknown_08206951: @ 0x08206951 + .incbin "baserom.gba", 0x206951, 0x3 + + .global gUnknown_08206954 +gUnknown_08206954: @ 0x08206954 + .incbin "baserom.gba", 0x206954, 0x84 + + .global gUnknown_082069D8 +gUnknown_082069D8: @ 0x082069D8 + .incbin "baserom.gba", 0x2069D8, 0xB + + .global gUnknown_082069E3 +gUnknown_082069E3: @ 0x082069E3 + .incbin "baserom.gba", 0x2069E3, 0xB + + .global gUnknown_082069EE +gUnknown_082069EE: @ 0x082069EE + .incbin "baserom.gba", 0x2069EE, 0x5A + + .global gUnknown_08206A48 +gUnknown_08206A48: @ 0x08206A48 + .incbin "baserom.gba", 0x206A48, 0x9 + + .global gUnknown_08206A51 +gUnknown_08206A51: @ 0x08206A51 + .incbin "baserom.gba", 0x206A51, 0x5A + + .global gUnknown_08206AAB +gUnknown_08206AAB: @ 0x08206AAB + .incbin "baserom.gba", 0x206AAB, 0x45 + + .global gUnknown_08206AF0 +gUnknown_08206AF0: @ 0x08206AF0 + .incbin "baserom.gba", 0x206AF0, 0x80 + + .global gUnknown_08206B70 +gUnknown_08206B70: @ 0x08206B70 + .incbin "baserom.gba", 0x206B70, 0x2B4 + + .global gUnknown_08206E24 +gUnknown_08206E24: @ 0x08206E24 + .incbin "baserom.gba", 0x206E24, 0x190 + + .global gUnknown_08206FB4 +gUnknown_08206FB4: @ 0x08206FB4 + .incbin "baserom.gba", 0x206FB4, 0x28 + + .global gUnknown_08206FDC +gUnknown_08206FDC: @ 0x08206FDC + .incbin "baserom.gba", 0x206FDC, 0x8 + + .global gUnknown_08206FE4 +gUnknown_08206FE4: @ 0x08206FE4 + .incbin "baserom.gba", 0x206FE4, 0x60 + + .global gUnknown_08207044 +gUnknown_08207044: @ 0x08207044 + .incbin "baserom.gba", 0x207044, 0x38 + + .global gUnknown_0820707C +gUnknown_0820707C: @ 0x0820707C + .incbin "baserom.gba", 0x20707C, 0xC + + .global gUnknown_08207088 +gUnknown_08207088: @ 0x08207088 + .incbin "baserom.gba", 0x207088, 0xC + + .global gUnknown_08207094 +gUnknown_08207094: @ 0x08207094 + .incbin "baserom.gba", 0x207094, 0xC + + .global gUnknown_082070A0 +gUnknown_082070A0: @ 0x082070A0 + .incbin "baserom.gba", 0x2070A0, 0xC + + .global gUnknown_082070AC +gUnknown_082070AC: @ 0x082070AC + .incbin "baserom.gba", 0x2070AC, 0xE4 + + .global gUnknown_08207190 +gUnknown_08207190: @ 0x08207190 + .incbin "baserom.gba", 0x207190, 0x90 + + .global gUnknown_08207220 +gUnknown_08207220: @ 0x08207220 + .incbin "baserom.gba", 0x207220, 0xB4 + + .global gUnknown_082072D4 +gUnknown_082072D4: @ 0x082072D4 + .incbin "baserom.gba", 0x2072D4, 0x30 + + .global gUnknown_08207304 +gUnknown_08207304: @ 0x08207304 + .incbin "baserom.gba", 0x207304, 0x18 + + .global gUnknown_0820731C +gUnknown_0820731C: @ 0x0820731C + .incbin "baserom.gba", 0x20731C, 0x84 + + .global gUnknown_082073A0 +gUnknown_082073A0: @ 0x082073A0 + .incbin "baserom.gba", 0x2073A0, 0x18 + + .global gUnknown_082073B8 +gUnknown_082073B8: @ 0x082073B8 + .incbin "baserom.gba", 0x2073B8, 0x3C + + .global gUnknown_082073F4 +gUnknown_082073F4: @ 0x082073F4 + .incbin "baserom.gba", 0x2073F4, 0x10 + + .global gUnknown_08207404 +gUnknown_08207404: @ 0x08207404 + .incbin "baserom.gba", 0x207404, 0x34 + + .global gUnknown_08207438 +gUnknown_08207438: @ 0x08207438 + .incbin "baserom.gba", 0x207438, 0x1CFCC + + .global gUnknown_08224404 +gUnknown_08224404: @ 0x08224404 + .incbin "baserom.gba", 0x224404, 0x6C + + .global gUnknown_08224470 +gUnknown_08224470: @ 0x08224470 + .incbin "baserom.gba", 0x224470, 0x363290 + + .global gUnknown_08587700 +gUnknown_08587700: @ 0x08587700 + .incbin "baserom.gba", 0x587700, 0x10 + + .global gUnknown_08587710 +gUnknown_08587710: @ 0x08587710 + .incbin "baserom.gba", 0x587710, 0x10 + + .global gUnknown_08587720 +gUnknown_08587720: @ 0x08587720 + .incbin "baserom.gba", 0x587720, 0x4 + + .global gUnknown_08587724 +gUnknown_08587724: @ 0x08587724 + .incbin "baserom.gba", 0x587724, 0x4 + + .global gUnknown_08587728 +gUnknown_08587728: @ 0x08587728 + .incbin "baserom.gba", 0x587728, 0x14 + + .global gUnknown_0858773C +gUnknown_0858773C: @ 0x0858773C + .incbin "baserom.gba", 0x58773C, 0x8 + + .global gUnknown_08587744 +gUnknown_08587744: @ 0x08587744 + .incbin "baserom.gba", 0x587744, 0x14 + + .global gUnknown_08587758 +gUnknown_08587758: @ 0x08587758 + .incbin "baserom.gba", 0x587758, 0x1C + + .global gUnknown_08587774 +gUnknown_08587774: @ 0x08587774 + .incbin "baserom.gba", 0x587774, 0x4 + + .global gUnknown_08587778 +gUnknown_08587778: @ 0x08587778 + .incbin "baserom.gba", 0x587778, 0x4 + + .global gUnknown_0858777C +gUnknown_0858777C: @ 0x0858777C + .incbin "baserom.gba", 0x58777C, 0xC + + .global gUnknown_08587788 +gUnknown_08587788: @ 0x08587788 + .incbin "baserom.gba", 0x587788, 0x4 + + .global gUnknown_0858778C +gUnknown_0858778C: @ 0x0858778C + .incbin "baserom.gba", 0x58778C, 0x8 + + .global gUnknown_08587794 +gUnknown_08587794: @ 0x08587794 + .incbin "baserom.gba", 0x587794, 0x30 + + .global gUnknown_085877C4 +gUnknown_085877C4: @ 0x085877C4 + .incbin "baserom.gba", 0x5877C4, 0x8 + + .global gUnknown_085877CC +gUnknown_085877CC: @ 0x085877CC + .incbin "baserom.gba", 0x5877CC, 0x4 + + .global gUnknown_085877D0 +gUnknown_085877D0: @ 0x085877D0 + .incbin "baserom.gba", 0x5877D0, 0xC + + .global gUnknown_085877DC +gUnknown_085877DC: @ 0x085877DC + .incbin "baserom.gba", 0x5877DC, 0xC8 + + .global gUnknown_085878A4 +gUnknown_085878A4: @ 0x085878A4 + .incbin "baserom.gba", 0x5878A4, 0x50 + + .global gUnknown_085878F4 +gUnknown_085878F4: @ 0x085878F4 + .incbin "baserom.gba", 0x5878F4, 0x4 + + .global gUnknown_085878F8 +gUnknown_085878F8: @ 0x085878F8 + .incbin "baserom.gba", 0x5878F8, 0x24 + + .global gUnknown_0858791C +gUnknown_0858791C: @ 0x0858791C + .incbin "baserom.gba", 0x58791C, 0x4 + + .global gUnknown_08587920 +gUnknown_08587920: @ 0x08587920 + .incbin "baserom.gba", 0x587920, 0x18 + + .global gUnknown_08587938 +gUnknown_08587938: @ 0x08587938 + .incbin "baserom.gba", 0x587938, 0x10 + + .global gUnknown_08587948 +gUnknown_08587948: @ 0x08587948 + .incbin "baserom.gba", 0x587948, 0x10 + + .global gUnknown_08587958 +gUnknown_08587958: @ 0x08587958 + .incbin "baserom.gba", 0x587958, 0x18 + + .global gUnknown_08587970 +gUnknown_08587970: @ 0x08587970 + .incbin "baserom.gba", 0x587970, 0x18 + + .global gUnknown_08587988 +gUnknown_08587988: @ 0x08587988 + .incbin "baserom.gba", 0x587988, 0x10 + + .global gUnknown_08587998 +gUnknown_08587998: @ 0x08587998 + .incbin "baserom.gba", 0x587998, 0x40 diff --git a/include/proc.h b/include/proc.h index a6ee1b82..05715ca4 100644 --- a/include/proc.h +++ b/include/proc.h @@ -4,7 +4,6 @@ struct Proc; typedef void (*ProcFunc)(struct Proc *); -typedef void (*OtherProcFunc)(struct Proc *); struct ProcCmd { @@ -13,92 +12,89 @@ struct ProcCmd void *dataPtr; }; +#define PROC_END { 0x00, 0x0000, 0 } +#define PROC_SET_NAME(aName) { 0x01, 0x0000, aName } +#define PROC_CALL_ROUTINE(apRoutine) { 0x02, 0x0000, (void*)(apRoutine) } +#define PROC_LOOP_ROUTINE(apRoutine) { 0x03, 0x0000, (void*)(apRoutine) } +#define PROC_SET_DESTRUCTOR(apRoutine) { 0x04, 0x0000, (void*)(apRoutine) } +#define PROC_NEW_CHILD(ap6CChild) { 0x05, 0x0000, (void*)(ap6CChild) } +#define PROC_NEW_CHILD_BLOCKING(ap6CChild) { 0x06, 0x0000, (void*)(ap6CChild) } +#define PROC_NEW_MAIN_BUGGED(ap6CMain) { 0x07, 0x0000, ap6CMain } +#define PROC_WHILE_EXISTS(ap6CToCheck) { 0x08, 0x0000, (void*)(ap6CToCheck) } +#define PROC_END_ALL(ap6CToCheck) { 0x09, 0x0000, (void*)(ap6CToCheck) } +#define PROC_BREAK_ALL_LOOP(ap6CToCheck) { 0x0A, 0x0000, (void*)(ap6CToCheck) } +#define PROC_LABEL(aLabelId) { 0x0B, aLabelId, 0 } +#define PROC_GOTO(aLabelId) { 0x0C, aLabelId, 0 } +#define PROC_JUMP(ap6CCode) { 0x0D, 0x0000, (void*)(ap6CCode) } +#define PROC_SLEEP(aTime) { 0x0E, aTime, 0 } +#define PROC_SET_MARK(aMark) { 0x0F, aMark, 0 } +#define PROC_BLOCK { 0x10, 0x0000, 0 } +#define PROC_END_IF_DUPLICATE { 0x11, 0x0000, 0 } +#define PROC_SET_BIT4 { 0x12, 0x0000, 0 } +#define PROC_13 { 0x13, 0x0000, 0 } +#define PROC_WHILE_ROUTINE(aprRoutine) { 0x14, 0x0000, (void*)(aprRoutine) } +#define PROC_15 { 0x15, 0x0000, 0 } +#define PROC_CALL_ROUTINE_2(aprRoutine) { 0x16, 0x0000, (void*)(aprRoutine) } +#define PROC_END_DUPLICATES { 0x17, 0x0000, 0 } +#define PROC_CALL_ROUTINE_ARG(aprRoutine, aArgument) { 0x18, aArgument, (void*)(aprRoutine) } +#define PROC_19 { 0x19, 0x0000, 0 } +#define PROC_YIELD PROC_SLEEP(0) + struct Proc { - /*0x00*/ struct ProcCmd *codeStart; - /*0x04*/ struct ProcCmd *codeNext; - /*0x08*/ ProcFunc onDestroy; - /*0x0C*/ ProcFunc onCycle; + /*0x00*/ struct ProcCmd *script; // pointer to process script + /*0x04*/ struct ProcCmd *currCmd; // pointer to currently executing script command + /*0x08*/ ProcFunc onDelete; // callback to run upon delegint the process + /*0x0C*/ ProcFunc nativeFunc; // callback to run once each frame. + // disables script execution when not null /*0x10*/ char *name; - /*0x14*/ struct Proc *unk14; - /*0x18*/ struct Proc *child; - /*0x1C*/ struct Proc *prev; - /*0x20*/ struct Proc *next; + /*0x14*/ struct Proc *parent; // pointer to parent proc. If this proc is a root proc, + // this member is an integer which is the root index. + /*0x18*/ struct Proc *child; // pointer to most recently added child + /*0x1C*/ struct Proc *next; // next sibling + /*0x20*/ struct Proc *prev; // previous sibling /*0x24*/ s16 sleepTime; /*0x26*/ u8 mark; /*0x27*/ u8 flags; - /*0x28*/ u8 blockCount; + /*0x28*/ u8 blockSemaphore; // wait semaphore. Process execution is blocked when this is nonzero. /*0x29*/ u8 filler29[0x6C-0x29]; }; -void Initialize6CEngine(void); -// ??? New6C(???); -// ??? NewBlocking6C(???); -// ??? Delete6CInternal(???); -// ??? Delete6C(???); -// ??? Allocate6C(???); -// ??? Free6C(???); -// ??? InsertMain6C(???); -// ??? InsertChild6C(???); -// ??? Isolate6C(???); -// ??? Exec6C_(???); -// ??? Exec6C(???); -// ??? Break6CLoop(???); -// ??? Find6C(???); -// ??? sub_8002EC4(???); -// ??? sub_8002EF4(???); -// ??? Goto6CLabel(???); -// ??? Goto6CPointer(???); -// ??? Set6CMark(???); -// ??? Set6CDestructor(???); -// ??? ForAll6C(???); -// ??? ForEach6C(???); -// ??? sub_8002FC0(???); -// ??? BlockEach6CMarked(???); -// ??? UnblockEach6CMarked(???); -// ??? DeleteEach6CMarked(???); -// ??? Delete6C_(???); -// ??? DeleteEach6C(???); -// ??? Clear6CLoopWrapper(???); -// ??? ClearCallbackAll6CMatch(???); -// ??? ForAllFollowing6C(???); +struct UnknownProcStruct +{ + struct Proc *unk0; + struct ProcCmd *unk4; + int unk8; +}; + +void Proc_Initialize(void); +// ??? Proc_Create(???); +// ??? Proc_CreateBlockingChild(???); +// ??? Proc_Delete(???);; +// ??? Proc_Run(???); +// ??? Proc_ClearNativeCallback(???); +// ??? Proc_Find(???); +// ??? Proc_FindNonBlocked(???); +// ??? Proc_FindWithMark(???); +// ??? Proc_GotoLabel(???); +// ??? Proc_JumpToPointer(???); +// ??? Proc_SetMark(???); +// ??? Proc_SetDestructor(???); +// ??? Proc_ForEach(???); +// ??? Proc_ForEachWithScript(???); +// ??? Proc_ForEachWithMark(???); +// ??? Proc_BlockEachWithMark(???); +// ??? Proc_UnblockEachWithMark(???); +// ??? Proc_DeleteEachWithMark(???); +// ??? Proc_DeleteAllWithScript(???); +// ??? Proc_ClearNativeCallbackEachWithScript(???); // ??? sub_80030CC(???); -// ??? Call6C_00Delete(???); -// ??? Call6C_01Name(???); -// ??? Call6C_02CallAndContinue(???); -// ??? Call6C_16Call(???); -// ??? Call6C_18CallWithArg(???); -// ??? Call6C_14While(???); -// ??? Call6C_03SetLoop(???); -// ??? Call6C_04SetDestructor(???); -// ??? Call6C_05AddChild(???); -// ??? Call6C_06AddBlockingChild(???); -// ??? Call6C_07AddGlobal_BuggedMaybe(???); -// ??? Call6C_08WhileExists(???); -// ??? Call6C_09DeleteEach6C(???); -// ??? Call6C_0AClearLoopForEach6C(???); -// ??? Call6C_0BOr19Label(???); -// ??? Call6C_0DJump(???); -// ??? Call6C_0CGotoLabel(???); -// ??? _6CSleepLoop(???); -// ??? Call6C_0ESleep(???); -// ??? Call6C_0FMark(???); -// ??? Call6C_13Blank(???); -// ??? Call6C_10Block(???); -// ??? Call6C_11DeleteIfDuplicate(???); -// ??? Call6C_17DeleteOtherDuplicates(???); -// ??? Call6C_15Blank(???); -// ??? Call6C_12SetBit4(???); -// ??? Call6CCode(???); -// ??? nullsub_2(???); -// ??? ForEach6CDoNothing(???); -// ??? sub_8003418(???); // ??? sub_800344C(???); -// ??? Set6CLoop(???); -// ??? sub_8003454(???); -// ??? sub_8003460(???); -// ??? Find6C_(???); -// ??? sub_80034A0(???); +// ??? Proc_SetNativeFunc(???); +// ??? Proc_BlockSemaphore(???); +// ??? Proc_WakeSemaphore(???); +// ??? Proc_FindAfter(???); +// ??? Proc_FindAfterWithParent(???); // ??? sub_80034D4(???); // ??? sub_80034FC(???); // ??? sub_8003530(???); diff --git a/include/variables.h b/include/variables.h index ac74d22a..64e44042 100644 --- a/include/variables.h +++ b/include/variables.h @@ -495,10 +495,10 @@ // extern ??? gUnknown_02024CD4 // extern ??? gUnknown_02024CDC // extern ??? gUnknown_02024E5C -// extern ??? gUnknown_02024E68 +// extern ??? gProcesses // extern ??? gUnknown_02026968 // extern ??? gUnknown_02026A6C -// extern ??? gUnknown_02026A70 +// extern ??? gRootProcesses // extern ??? gUnknown_02026A90 // extern ??? gUnknown_02026E10 // extern ??? gUnknown_02026E30 @@ -1346,7 +1346,7 @@ // extern ??? gUnknown_08587970 // extern ??? gUnknown_08587988 // extern ??? gUnknown_08587998 -// extern ??? gUnknown_085879D8 +// extern ??? gProcCmdFuncs // extern ??? gUnknown_08587A40 // extern ??? gUnknown_08588240 // extern ??? gUnknown_08588274 diff --git a/ldscript.txt b/ldscript.txt index bba941ba..52f9379a 100644 --- a/ldscript.txt +++ b/ldscript.txt @@ -4,14 +4,14 @@ SECTIONS /* TODO: figure out what is COMMON and .bss */ . = 0x02000000; - EWRAM : + EWRAM (NOLOAD) : ALIGN(4) { INCLUDE "sym_ewram.txt" } . = 0x03000000; - IWRAM : + IWRAM (NOLOAD): ALIGN(4) { INCLUDE "sym_iwram.txt" @@ -30,7 +30,6 @@ SECTIONS asm/IO.o(.text); asm/rom_800148C.o(.text); src/proc.o(.text); - asm/proc.o(.text); asm/code.o(.text); asm/m4a.o(.text); asm/libagbsyscall.o(.text); @@ -85,7 +84,9 @@ SECTIONS tools/agbcc/lib/libgcc.a:_negdi2.o(.text); asm/arm_call.o(.text); - data/data.o(.rodata); + data/data_D74C8.o(.rodata); + src/proc.o(.rodata); + data/data_587A40.o(.rodata); } = 0 . = 0x8B1FA20; diff --git a/src/proc.c b/src/proc.c index c2d31a0f..90d5d4d6 100644 --- a/src/proc.c +++ b/src/proc.c @@ -1,390 +1,329 @@ #include "global.h" #include "proc.h" -#define PROC_FLAG_0x01 (1 << 0) -#define PROC_FLAG_0x02 (1 << 1) +#define PROC_FLAG_0x01 (1 << 0) // process is inactive? +#define PROC_FLAG_BLOCKING (1 << 1) #define PROC_FLAG_0x04 (1 << 2) #define PROC_FLAG_0x08 (1 << 3) #define MAX_PROC_COUNT 64 -struct Proc *Allocate6C(void); -void InsertMain6C(); -void InsertChild6C(); -void Call6CCode(); -void Free6C(); -void Isolate6C(); +EWRAM_DATA static struct Proc gProcesses[MAX_PROC_COUNT] = {0}; +EWRAM_DATA static struct Proc *sProcessAllocList[MAX_PROC_COUNT + 1] = {0}; +EWRAM_DATA static struct Proc **sProcessAllocListHead = NULL; // pointer to next entry in sProcessAllocList +EWRAM_DATA struct Proc *gRootProcesses[8] = {0}; -extern struct Proc gUnknown_02024E68[MAX_PROC_COUNT]; -extern struct Proc *gUnknown_02026968[MAX_PROC_COUNT + 1]; -extern struct Proc **gUnknown_02026A6C; -extern struct Proc *gUnknown_02026A70[8]; -extern s8 (*const gUnknown_085879D8[])(struct Proc *); +static struct Proc *AllocateProcess(void); +static void FreeProcess(struct Proc *proc); +static void InsertRootProcess(struct Proc *proc, s32 rootIndex); +static void InsertChildProcess(struct Proc *proc, struct Proc *parent); +static void UnlinkProcess(struct Proc *proc); +static void RunProcessScript(struct Proc *proc); -void Initialize6CEngine(void) +void Proc_Initialize(void) { int i; for (i = 0; i < MAX_PROC_COUNT; i++) { - struct Proc *proc = &gUnknown_02024E68[i]; + struct Proc *proc = &gProcesses[i]; - proc->codeStart = NULL; - proc->codeNext = NULL; - proc->onDestroy = NULL; - proc->onCycle = NULL; + proc->script = NULL; + proc->currCmd = NULL; + proc->onDelete = NULL; + proc->nativeFunc = NULL; proc->name = NULL; - proc->unk14 = NULL; + proc->parent = NULL; proc->child = NULL; - proc->prev = NULL; proc->next = NULL; + proc->prev = NULL; proc->sleepTime = 0; proc->mark = 0; proc->flags = 0; - proc->blockCount = 0; + proc->blockSemaphore = 0; - gUnknown_02026968[i] = proc; + sProcessAllocList[i] = proc; } - gUnknown_02026968[MAX_PROC_COUNT] = NULL; - gUnknown_02026A6C = gUnknown_02026968; + sProcessAllocList[MAX_PROC_COUNT] = NULL; + sProcessAllocListHead = sProcessAllocList; for (i = 0; i < 8; i++) - gUnknown_02026A70[i] = NULL; + gRootProcesses[i] = NULL; } -struct Proc *New6C(struct ProcCmd *a, s32 b) +struct Proc *Proc_Create(struct ProcCmd *script, struct Proc *parent) { - struct Proc *proc = Allocate6C(); + struct Proc *proc = AllocateProcess(); + int rootIndex; - proc->codeStart = a; - proc->codeNext = a; - proc->onDestroy = NULL; - proc->onCycle = NULL; - proc->unk14 = NULL; + proc->script = script; + proc->currCmd = script; + proc->onDelete = NULL; + proc->nativeFunc = NULL; + proc->parent = NULL; proc->child = NULL; - proc->prev = NULL; proc->next = NULL; + proc->prev = NULL; proc->sleepTime = 0; proc->mark = 0; - proc->blockCount = 0; + proc->blockSemaphore = 0; proc->flags = PROC_FLAG_0x08; - if (b < 8) - InsertMain6C(proc, b); + rootIndex = (int)parent; + if (rootIndex < 8) // If this is an integer less than 8, then add a root proc + InsertRootProcess(proc, rootIndex); else - InsertChild6C(proc, b); - Call6CCode(proc); + InsertChildProcess(proc, parent); + RunProcessScript(proc); proc->flags &= ~PROC_FLAG_0x08; return proc; } -struct Proc *NewBlocking6C(struct ProcCmd *a, s32 b) +// Creates a child process and puts the parent into a wait state +struct Proc *Proc_CreateBlockingChild(struct ProcCmd *script, struct Proc *parent) { - struct Proc *proc = New6C(a, b); + struct Proc *proc = Proc_Create(script, parent); - if (proc->codeStart == 0) + if (proc->script == NULL) return NULL; - proc->flags |= PROC_FLAG_0x02; - proc->unk14->blockCount++; + proc->flags |= PROC_FLAG_BLOCKING; + proc->parent->blockSemaphore++; return proc; } -void Delete6CInternal(struct Proc *proc) +static void DeleteProcessRecursive(struct Proc *proc) { - if (proc->next != NULL) - Delete6CInternal(proc->next); + if (proc->prev != NULL) + DeleteProcessRecursive(proc->prev); if (proc->child != NULL) - Delete6CInternal(proc->child); + DeleteProcessRecursive(proc->child); if (proc->flags & PROC_FLAG_0x01) return; - if (proc->onDestroy != 0) - proc->onDestroy(proc); - Free6C(proc); - proc->codeStart = 0; - proc->onCycle = 0; + if (proc->onDelete != NULL) + proc->onDelete(proc); + FreeProcess(proc); + proc->script = NULL; + proc->nativeFunc = NULL; proc->flags |= PROC_FLAG_0x01; - if (proc->flags & PROC_FLAG_0x02) - proc->unk14->blockCount--; + if (proc->flags & PROC_FLAG_BLOCKING) + proc->parent->blockSemaphore--; } -void Delete6C(struct Proc *proc) +void Proc_Delete(struct Proc *proc) { if (proc != NULL) { - Isolate6C(proc); - Delete6CInternal(proc); + UnlinkProcess(proc); + DeleteProcessRecursive(proc); } } -struct Proc *Allocate6C(void) +static struct Proc *AllocateProcess(void) { - struct Proc *proc = *gUnknown_02026A6C; - - gUnknown_02026A6C++; + // retrieve the next entry in the allocation list + struct Proc *proc = *sProcessAllocListHead; + sProcessAllocListHead++; return proc; } -void Free6C(struct Proc *proc) +static void FreeProcess(struct Proc *proc) { - gUnknown_02026A6C--; - *gUnknown_02026A6C = proc; + // place the process back into the allocation list + sProcessAllocListHead--; + *sProcessAllocListHead = proc; } -void InsertMain6C(struct Proc *proc, s32 b) +// adds the process as a root process +static void InsertRootProcess(struct Proc *proc, s32 rootIndex) { struct Proc *r0; - asm(""::"r"(b * 4)); - r0 = gUnknown_02026A70[b]; - if (r0 != NULL) + r0 = rootIndex[gRootProcesses]; // gRootProcesses[rootIndex] + if (r0 != NULL) // root process already exists { - r0->prev = proc; - proc->next = r0; + // add this process as a sibling + r0->next = proc; + proc->prev = r0; } - proc->unk14 = (struct Proc *)b; - gUnknown_02026A70[b] = proc; + proc->parent = (struct Proc *)rootIndex; + gRootProcesses[rootIndex] = proc; } -void InsertChild6C(struct Proc *proc, struct Proc *parent) +// adds the process to the tree as a child of 'parent' +static void InsertChildProcess(struct Proc *proc, struct Proc *parent) { - if (parent->child != NULL) + if (parent->child != NULL) // parent already has a child { - parent->child->prev = proc; - proc->next = parent->child; + // add this process as a sibling + parent->child->next = proc; + proc->prev = parent->child; } parent->child = proc; - proc->unk14 = parent; + proc->parent = parent; } -void Isolate6C(struct Proc *proc) +// removes the process from the tree +static void UnlinkProcess(struct Proc *proc) { - if (proc->prev != NULL) - proc->prev->next = proc->next; + int rootIndex; + + // remove sibling links to this process if (proc->next != NULL) proc->next->prev = proc->prev; - if ((int)proc->unk14 > 8) - { - if (proc->unk14->child == proc) - proc->unk14->child = proc->next; - } - else - { - int r1 = (int)proc->unk14; + if (proc->prev != NULL) + proc->prev->next = proc->next; - asm(""::"r"(r1 * 4)); - if (gUnknown_02026A70[r1] == proc) - gUnknown_02026A70[r1] = proc->next; + // remove parent links to this process + rootIndex = (int)proc->parent; + if (rootIndex > 8) // child proc + { + if (proc->parent->child == proc) + proc->parent->child = proc->prev; + } + else // root proc + { + if (rootIndex[gRootProcesses] == proc) + rootIndex[gRootProcesses] = proc->prev; } - proc->prev = NULL; proc->next = NULL; + proc->prev = NULL; } -void Exec6C_(struct Proc *proc) +// Runs all processes using a pre-order traversal. +static void RunProcessRecursive(struct Proc *proc) { - if (proc->next != NULL) - Exec6C_(proc->next); - if (proc->blockCount == 0 && !(proc->flags & PROC_FLAG_0x08)) + // Run previous sibling process + if (proc->prev != NULL) + RunProcessRecursive(proc->prev); + // Run this process + if (proc->blockSemaphore == 0 && !(proc->flags & PROC_FLAG_0x08)) { - if (proc->onCycle == NULL) - Call6CCode(proc); - if (proc->onCycle != NULL) - proc->onCycle(proc); + if (proc->nativeFunc == NULL) + RunProcessScript(proc); + if (proc->nativeFunc != NULL) + proc->nativeFunc(proc); if (proc->flags & PROC_FLAG_0x01) return; } + // Run child process if (proc->child != NULL) - Exec6C_(proc->child); + RunProcessRecursive(proc->child); } -void Exec6C(struct Proc *proc) +void Proc_Run(struct Proc *proc) { if (proc != NULL) - Exec6C_(proc); + RunProcessRecursive(proc); } -void Break6CLoop(struct Proc *proc) +void Proc_ClearNativeCallback(struct Proc *proc) { - proc->onCycle = NULL; + proc->nativeFunc = NULL; } -struct Proc *Find6C(struct ProcCmd *a) +struct Proc *Proc_Find(struct ProcCmd *script) { int i; - struct Proc *proc = &gUnknown_02024E68[0]; + struct Proc *proc = &gProcesses[0]; for (i = 0; i < MAX_PROC_COUNT; i++, proc++) { - if (proc->codeStart == a) + if (proc->script == script) return proc; } return NULL; } -struct Proc *sub_8002EC4(struct ProcCmd *a) +// unreferenced +static struct Proc *Proc_FindNonBlocked(struct ProcCmd *script) { int i; - struct Proc *proc = &gUnknown_02024E68[0]; + struct Proc *proc = &gProcesses[0]; for (i = 0; i < MAX_PROC_COUNT; i++, proc++) { - if (proc->codeStart == a && proc->blockCount == 0) + if (proc->script == script && proc->blockSemaphore == 0) return proc; } return NULL; } -struct Proc *sub_8002EF4(u32 a) +// unreferenced +static struct Proc *Proc_FindWithMark(u32 mark) { int i; - struct Proc *proc = &gUnknown_02024E68[0]; + struct Proc *proc = &gProcesses[0]; for (i = 0; i < MAX_PROC_COUNT; i++, proc++) { - if (proc->codeStart != NULL && proc->mark == a) + if (proc->script != NULL && proc->mark == mark) return proc; } return NULL; } -/* -void Goto6CLabel(struct Proc *proc, s32 b) +void Proc_GotoLabel(struct Proc* proc_arg, int label) { - struct ProcCmd *ptr; - int i; + struct Proc* proc = proc_arg; + struct ProcCmd* ptr; - for (ptr = proc->codeStart; ptr->opcode != 0; ptr++) + for (ptr = proc->script; ptr->opcode != 0; ptr++) { - if (ptr->opcode == 11 && ptr->dataImm == b) + if (ptr->opcode == 11 && ptr->dataImm == label) { - proc->codeNext = ptr; - proc->onCycle = NULL; + proc->currCmd = ptr; + proc->nativeFunc = NULL; return; } } } -*/ -/* -void Goto6CLabel(struct Proc *proc, s32 b) +void Proc_JumpToPointer(struct Proc *proc, struct ProcCmd *ptr) { - int i; - - for (i = 0; proc->codeStart[i].opcode != 0; i++) - { - struct ProcCmd *ptr = &proc->codeStart[i]; - - if (ptr->opcode == 11 && ptr->dataImm == b) - { - proc->codeNext = ptr; - proc->onCycle = NULL; - return; - } - } -} -*/ - -/* -void Goto6CLabel(struct Proc *proc, s32 b) -{ - struct ProcCmd *ptr = (void *)proc->codeStart; - - while (ptr->opcode != 0) - { - if (ptr->opcode == 11 && ptr->dataImm == b) - { - proc->codeNext = (s16 *)ptr; - proc->onCycle = NULL; - return; - } - ptr++; - } -} -*/ - -__attribute__((naked)) -void Goto6CLabel(struct Proc *proc, s32 b) -{ - asm(".syntax unified\n\ - push {r4, r5, r6, lr}\n\ - adds r4, r1, #0\n\ - adds r1, r0, #0\n\ - ldr r2, [r1]\n\ - ldrh r3, [r2]\n\ - movs r5, #0\n\ - ldrsh r0, [r2, r5]\n\ - cmp r0, #0\n\ - beq _08002F56\n\ - movs r5, #0\n\ -_08002F38:\n\ - cmp r3, #0xb\n\ - bne _08002F4A\n\ - movs r6, #2\n\ - ldrsh r0, [r2, r6]\n\ - cmp r0, r4\n\ - bne _08002F4A\n\ - str r2, [r1, #4]\n\ - str r5, [r1, #0xc]\n\ - b _08002F56\n\ -_08002F4A:\n\ - adds r2, #8\n\ - ldrh r3, [r2]\n\ - movs r6, #0\n\ - ldrsh r0, [r2, r6]\n\ - cmp r0, #0\n\ - bne _08002F38\n\ -_08002F56:\n\ - pop {r4, r5, r6}\n\ - pop {r0}\n\ - bx r0\n\ - .syntax divided"); + proc->currCmd = ptr; + proc->nativeFunc = NULL; } -void Goto6CPointer(struct Proc *proc, struct ProcCmd *b) -{ - proc->codeNext = b; - proc->onCycle = NULL; -} - -void Set6CMark(struct Proc *proc, u8 mark) +void Proc_SetMark(struct Proc *proc, u8 mark) { proc->mark = mark; } -void Set6CDestructor(struct Proc *proc, ProcFunc onDestroy) +void Proc_SetDestructor(struct Proc *proc, ProcFunc func) { - proc->onDestroy = onDestroy; + proc->onDelete = func; } -void ForAll6C(ProcFunc func) +void Proc_ForEach(ProcFunc func) { int i; - struct Proc *proc = &gUnknown_02024E68[0]; + struct Proc *proc = &gProcesses[0]; for (i = 0; i < MAX_PROC_COUNT; i++, proc++) { - if (proc->codeStart != NULL) + if (proc->script != NULL) func(proc); } } -void ForEach6C(struct ProcCmd *code, ProcFunc func) +void Proc_ForEachWithScript(struct ProcCmd *script, ProcFunc func) { int i; - struct Proc *proc = &gUnknown_02024E68[0]; + struct Proc *proc = &gProcesses[0]; for (i = 0; i < MAX_PROC_COUNT; i++, proc++) { - if (proc->codeStart == code) + if (proc->script == script) func(proc); } } -void sub_8002FC0(int mark, ProcFunc func) +void Proc_ForEachWithMark(int mark, ProcFunc func) { int i; - struct Proc *proc = &gUnknown_02024E68[0]; + struct Proc *proc = &gProcesses[0]; for (i = 0; i < MAX_PROC_COUNT; i++, proc++) { @@ -393,355 +332,482 @@ void sub_8002FC0(int mark, ProcFunc func) } } -void BlockEach6CMarked(int mark) +void Proc_BlockEachWithMark(int mark) { int i; - struct Proc *proc = &gUnknown_02024E68[0]; + struct Proc *proc = &gProcesses[0]; for (i = 0; i < MAX_PROC_COUNT; i++, proc++) { if (proc->mark == mark) - proc->blockCount++; + proc->blockSemaphore++; } } -void UnblockEach6CMarked(int mark) +void Proc_UnblockEachWithMark(int mark) { int i; - struct Proc *proc = &gUnknown_02024E68[0]; + struct Proc *proc = &gProcesses[0]; for (i = 0; i < MAX_PROC_COUNT; i++, proc++) { - if (proc->mark == mark && proc->blockCount > 0) - proc->blockCount--; + if (proc->mark == mark && proc->blockSemaphore > 0) + proc->blockSemaphore--; } } -void DeleteEach6CMarked(int mark) +void Proc_DeleteEachWithMark(int mark) { int i; - struct Proc *proc = &gUnknown_02024E68[0]; + struct Proc *proc = &gProcesses[0]; for (i = 0; i < MAX_PROC_COUNT; i++, proc++) { if (proc->mark == mark) - Delete6C(proc); + Proc_Delete(proc); } } -void Delete6C_(struct Proc *proc) +static void Delete(struct Proc *proc) { - Delete6C(proc); + Proc_Delete(proc); } -void DeleteEach6C(struct ProcCmd *code) +void Proc_DeleteAllWithScript(struct ProcCmd *script) { - ForEach6C(code, Delete6C_); + Proc_ForEachWithScript(script, Delete); } -void Clear6CLoopWrapper(struct Proc *proc) +static void ClearNativeCallback(struct Proc *proc) { - Break6CLoop(proc); + Proc_ClearNativeCallback(proc); } -void ClearCallbackAll6CMatch(struct ProcCmd *code) +void Proc_ClearNativeCallbackEachWithScript(struct ProcCmd *script) { - ForEach6C(code, Clear6CLoopWrapper); + Proc_ForEachWithScript(script, ClearNativeCallback); } -void ForAllFollowing6C(struct Proc *proc, ProcFunc func) +static void ForAllFollowingProcs(struct Proc *proc, ProcFunc func) { - if (proc->next != NULL) - ForAllFollowing6C(proc->next, func); + if (proc->prev != NULL) + ForAllFollowingProcs(proc->prev, func); func(proc); if (proc->child != NULL) - ForAllFollowing6C(proc->child, func); + ForAllFollowingProcs(proc->child, func); } -void sub_80030CC(struct Proc *proc, ProcFunc func) +// unreferenced +static void sub_80030CC(struct Proc *proc, ProcFunc func) { func(proc); if (proc->child != NULL) - ForAllFollowing6C(proc->child, func); + ForAllFollowingProcs(proc->child, func); } -int Call6C_00Delete(struct Proc *proc) +static s8 ProcCmd_DELETE(struct Proc *proc) { - Delete6C(proc); + Proc_Delete(proc); return 0; } -int Call6C_01Name(struct Proc *proc) +static s8 ProcCmd_SET_NAME(struct Proc *proc) { - proc->name = proc->codeNext->dataPtr; - proc->codeNext++; + proc->name = proc->currCmd->dataPtr; + proc->currCmd++; return 1; } -int Call6C_02CallAndContinue(struct Proc *proc) +static s8 ProcCmd_CALL_ROUTINE(struct Proc *proc) { - ProcFunc func = proc->codeNext->dataPtr; + ProcFunc func = proc->currCmd->dataPtr; - proc->codeNext++; + proc->currCmd++; func(proc); return 1; } -int Call6C_16Call(struct Proc *proc) +static s8 ProcCmd_CALL_ROUTINE_2(struct Proc *proc) { - s8 (*func)(struct Proc *) = proc->codeNext->dataPtr; + s8 (*func)(struct Proc *) = proc->currCmd->dataPtr; - proc->codeNext++; + proc->currCmd++; return func(proc); } -int Call6C_18CallWithArg(struct Proc *proc) +static s8 ProcCmd_CALL_ROUTINE_ARG(struct Proc *proc) { - s16 arg = proc->codeNext->dataImm; - s8 (*func)(s16, struct Proc *) = proc->codeNext->dataPtr; + s16 arg = proc->currCmd->dataImm; + s8 (*func)(s16, struct Proc *) = proc->currCmd->dataPtr; - proc->codeNext++; + proc->currCmd++; return func(arg, proc); } -int Call6C_14While(struct Proc *proc) +static s8 ProcCmd_WHILE_ROUTINE(struct Proc *proc) { - s8 (*func)(struct Proc *) = proc->codeNext->dataPtr; + s8 (*func)(struct Proc *) = proc->currCmd->dataPtr; - proc->codeNext++; + proc->currCmd++; if (func(proc) == 1) { - proc->codeNext--; + proc->currCmd--; return 0; } return 1; } -int Call6C_03SetLoop(struct Proc *proc) +static s8 ProcCmd_LOOP_ROUTINE(struct Proc *proc) { - proc->onCycle = proc->codeNext->dataPtr; - proc->codeNext++; + proc->nativeFunc = proc->currCmd->dataPtr; + proc->currCmd++; return 0; } -int Call6C_04SetDestructor(struct Proc *proc) +static s8 ProcCmd_SET_DESTRUCTOR(struct Proc *proc) { - Set6CDestructor(proc, proc->codeNext->dataPtr); - proc->codeNext++; + Proc_SetDestructor(proc, proc->currCmd->dataPtr); + proc->currCmd++; return 1; } -int Call6C_05AddChild(struct Proc *proc) +static s8 ProcCmd_NEW_CHILD(struct Proc *proc) { - New6C(proc->codeNext->dataPtr, (int)proc); - proc->codeNext++; + Proc_Create(proc->currCmd->dataPtr, proc); + proc->currCmd++; return 1; } -int Call6C_06AddBlockingChild(struct Proc *proc) +static s8 ProcCmd_NEW_CHILD_BLOCKING(struct Proc *proc) { - NewBlocking6C(proc->codeNext->dataPtr, (int)proc); - proc->codeNext++; + Proc_CreateBlockingChild(proc->currCmd->dataPtr, proc); + proc->currCmd++; return 0; } -int Call6C_07AddGlobal_BuggedMaybe(struct Proc *proc) +static s8 ProcCmd_NEW_MAIN_BUGGED(struct Proc *proc) { - New6C(proc->codeNext->dataPtr, proc->sleepTime); - proc->codeNext++; + Proc_Create(proc->currCmd->dataPtr, (struct Proc *)(u32)proc->sleepTime); // Why are we using sleepTime here? + proc->currCmd++; return 1; } -int Call6C_08WhileExists(struct Proc *proc) +static s8 ProcCmd_WHILE_EXISTS(struct Proc *proc) { - struct Proc *var = Find6C(proc->codeNext->dataPtr); + bool8 exists = (Proc_Find(proc->currCmd->dataPtr) != NULL); - //int exists = (Find6C(proc->codeNext->dataPtr) != NULL); - //if (exists) - if (((s32)var | -(s32)var) < 0) + if (exists) return 0; - proc->codeNext++; + proc->currCmd++; return 1; } -int Call6C_09DeleteEach6C(struct Proc *proc) +static s8 ProcCmd_END_ALL(struct Proc *proc) { - DeleteEach6C(proc->codeNext->dataPtr); - proc->codeNext++; + Proc_DeleteAllWithScript(proc->currCmd->dataPtr); + proc->currCmd++; return 1; } -int Call6C_0AClearLoopForEach6C(struct Proc *proc) +static s8 ProcCmd_BREAK_ALL_LOOP(struct Proc *proc) { - ClearCallbackAll6CMatch(proc->codeNext->dataPtr); - proc->codeNext++; + Proc_ClearNativeCallbackEachWithScript(proc->currCmd->dataPtr); + proc->currCmd++; return 1; } -int Call6C_0BOr19Label(struct Proc *proc) +static s8 ProcCmd_NOP(struct Proc *proc) { - proc->codeNext++; + proc->currCmd++; return 1; } -int Call6C_0DJump(struct Proc *proc) +static s8 ProcCmd_JUMP(struct Proc *proc) { - Goto6CPointer(proc, proc->codeNext->dataPtr); + Proc_JumpToPointer(proc, proc->currCmd->dataPtr); return 1; } -int Call6C_0CGotoLabel(struct Proc *proc) +static s8 ProcCmd_GOTO(struct Proc *proc) { - Goto6CLabel(proc, proc->codeNext->dataImm); + Proc_GotoLabel(proc, proc->currCmd->dataImm); return 1; } -void _6CSleepLoop(struct Proc *proc) +static void UpdateSleep(struct Proc *proc) { proc->sleepTime--; if (proc->sleepTime == 0) - Break6CLoop(proc); + Proc_ClearNativeCallback(proc); } -int Call6C_0ESleep(struct Proc *proc) +static s8 ProcCmd_SLEEP(struct Proc *proc) { - if (proc->codeNext->dataImm != 0) + if (proc->currCmd->dataImm != 0) { - proc->sleepTime = proc->codeNext->dataImm; - proc->onCycle = _6CSleepLoop; + proc->sleepTime = proc->currCmd->dataImm; + proc->nativeFunc = UpdateSleep; } - proc->codeNext++; + proc->currCmd++; return 0; } -int Call6C_0FMark(struct Proc *proc) +static s8 ProcCmd_SET_MARK(struct Proc *proc) { - proc->mark = proc->codeNext->dataImm; - proc->codeNext++; + proc->mark = proc->currCmd->dataImm; + proc->currCmd++; return 1; } -int Call6C_13Blank(struct Proc *proc) +static s8 ProcCmd_NOP2(struct Proc *proc) { - proc->codeNext++; + proc->currCmd++; return 1; } -int Call6C_10Block(struct Proc *proc) +static s8 ProcCmd_BLOCK(struct Proc *proc) { return 0; } -int Call6C_11DeleteIfDuplicate(struct Proc *proc) +static s8 ProcCmd_END_IF_DUPLICATE(struct Proc *proc) { int i; - struct Proc *p = &gUnknown_02024E68[0]; + struct Proc *p = &gProcesses[0]; int count = 0; for (i = 0; i < MAX_PROC_COUNT; i++, p++) { - if (p->codeStart == proc->codeStart) + if (p->script == proc->script) count++; } if (count > 1) { - Delete6C(proc); + Proc_Delete(proc); return 0; } - proc->codeNext++; + proc->currCmd++; return 1; } -int Call6C_17DeleteOtherDuplicates(struct Proc *proc) +static s8 ProcCmd_END_DUPLICATES(struct Proc *proc) { int i; - struct Proc *p = &gUnknown_02024E68[0]; + struct Proc *p = &gProcesses[0]; for (i = 0; i < MAX_PROC_COUNT; i++, p++) { - if (p != proc && p->codeStart == proc->codeStart) + if (p != proc && p->script == proc->script) { - Delete6C(p); + Proc_Delete(p); break; } } - proc->codeNext++; + proc->currCmd++; return 1; } -int Call6C_15Blank(struct Proc *proc) +static s8 ProcCmd_NOP3(struct Proc *proc) { - proc->codeNext++; + proc->currCmd++; return 1; } -int Call6C_12SetBit4(struct Proc *proc) +static s8 ProcCmd_SET_BIT4(struct Proc *proc) { proc->flags |= PROC_FLAG_0x04; - proc->codeNext++; + proc->currCmd++; return 1; } -void Call6CCode(struct Proc *proc) +static s8 (*const sProcessCmdTable[])(struct Proc *) = { - if (proc->codeStart == NULL) + ProcCmd_DELETE, + ProcCmd_SET_NAME, + ProcCmd_CALL_ROUTINE, + ProcCmd_LOOP_ROUTINE, + ProcCmd_SET_DESTRUCTOR, + ProcCmd_NEW_CHILD, + ProcCmd_NEW_CHILD_BLOCKING, + ProcCmd_NEW_MAIN_BUGGED, + ProcCmd_WHILE_EXISTS, + ProcCmd_END_ALL, + ProcCmd_BREAK_ALL_LOOP, + ProcCmd_NOP, + ProcCmd_GOTO, + ProcCmd_JUMP, + ProcCmd_SLEEP, + ProcCmd_SET_MARK, + ProcCmd_BLOCK, + ProcCmd_END_IF_DUPLICATE, + ProcCmd_SET_BIT4, + ProcCmd_NOP2, + ProcCmd_WHILE_ROUTINE, + ProcCmd_NOP3, + ProcCmd_CALL_ROUTINE_2, + ProcCmd_END_DUPLICATES, + ProcCmd_CALL_ROUTINE_ARG, + ProcCmd_NOP, +}; + +static void RunProcessScript(struct Proc *proc) +{ + if (proc->script == NULL) return; - if (proc->blockCount > 0) + if (proc->blockSemaphore > 0) return; - if (proc->onCycle != NULL) + if (proc->nativeFunc != NULL) return; - while (gUnknown_085879D8[proc->codeNext->opcode](proc) != 0) + while (sProcessCmdTable[proc->currCmd->opcode](proc) != 0) { - if (proc->codeStart == NULL) + if (proc->script == NULL) return; } } -void nullsub_2(struct Proc *proc) +// This was likely used to print the process list in the debug version of the game, +// but does nothing in the release version. + +static void PrintProcessName(struct Proc *proc) { } -void ForEach6CDoNothing(struct Proc *proc, int *b) +static void PrintProcessNameRecursive(struct Proc *proc, int *indent) { - if (proc->next != NULL) - ForEach6CDoNothing(proc->next, b); - nullsub_2(proc); + if (proc->prev != NULL) + PrintProcessNameRecursive(proc->prev, indent); + PrintProcessName(proc); if (proc->child != NULL) { - (*b) += 2; - ForEach6CDoNothing(proc->child, b); - (*b) -= 2; + *indent += 2; + PrintProcessNameRecursive(proc->child, indent); + *indent -= 2; } } -void sub_8003418(struct Proc *proc) +// unreferenced +static void PrintProcessTree(struct Proc *proc) { - int var = 4; + int indent = 4; - nullsub_2(proc); + PrintProcessName(proc); if (proc->child != NULL) { - var += 2; - ForEach6CDoNothing(proc->child, &var); - var -= 2; + indent += 2; + PrintProcessNameRecursive(proc->child, &indent); + indent -= 2; } } -void sub_800344C(void) +// unreferenced +static void sub_800344C(void) { } -void Set6CLoop(struct Proc *proc, ProcFunc func) +void Proc_SetNativeFunc(struct Proc *proc, ProcFunc func) { - proc->onCycle = func; + proc->nativeFunc = func; } -void sub_8003454(struct Proc *proc) +// unreferenced +static void Proc_BlockSemaphore(struct Proc *proc) { - proc->blockCount++; + proc->blockSemaphore++; } -void sub_8003460(struct Proc *proc) +// unreferenced +static void Proc_WakeSemaphore(struct Proc *proc) { - proc->blockCount--; + proc->blockSemaphore--; +} + +struct Proc *Proc_FindAfter(struct ProcCmd *script, struct Proc *proc) +{ + if (proc == NULL) + proc = gProcesses; + else + proc++; + + while (proc < gProcesses + MAX_PROC_COUNT) + { + if (proc->script == script) + return proc; + proc++; + } + return NULL; +} + +struct Proc *Proc_FindAfterWithParent(struct Proc *proc, struct Proc *parent) +{ + if (proc == NULL) + proc = gProcesses; + else + proc++; + + while (proc < gProcesses + MAX_PROC_COUNT) + { + if (proc->parent == parent) + return proc; + proc++; + } + return NULL; +} + +// unreferenced +static int sub_80034D4(void) +{ + int i; + int r2 = MAX_PROC_COUNT; + + for (i = 0; i < MAX_PROC_COUNT; i++) + { + if (gProcesses[i].script != NULL) + r2--; + } + return r2; +} + +int sub_80034FC(struct ProcCmd *script) +{ + int i; + struct Proc *proc = &gProcesses[0]; + int r1 = 0; + + for (i = 0; i < MAX_PROC_COUNT; i++, proc++) + { + if (script == NULL) + { + if (proc->script != NULL) + r1++; + } + else + { + if (proc->script == script) + r1++; + } + } + return r1; +} + +void sub_8003530(struct UnknownProcStruct *a, struct ProcCmd *script) +{ + a->unk0 = &gProcesses[0]; + a->unk4 = script; + a->unk8 = 0; +} + +struct Proc *sub_8003540(struct UnknownProcStruct *a) +{ + struct Proc *r4 = NULL; + + while (a->unk8 < MAX_PROC_COUNT) + { + if (a->unk0->script == a->unk4) + r4 = a->unk0; + a->unk8++; + a->unk0++; + if (r4 != 0) + return r4; + } + return NULL; } diff --git a/sym_ewram.txt b/sym_ewram.txt index 0a07f562..0e8a8acc 100644 --- a/sym_ewram.txt +++ b/sym_ewram.txt @@ -495,10 +495,7 @@ . = 0x024CD4; gUnknown_02024CD4 = .; . = 0x024CDC; gUnknown_02024CDC = .; . = 0x024E5C; gUnknown_02024E5C = .; -. = 0x024E68; gUnknown_02024E68 = .; -. = 0x026968; gUnknown_02026968 = .; -. = 0x026A6C; gUnknown_02026A6C = .; -. = 0x026A70; gUnknown_02026A70 = .; +. = 0x024E68; src/proc.o(ewram_data); . = 0x026A90; gUnknown_02026A90 = .; . = 0x026E10; gUnknown_02026E10 = .; . = 0x026E30; gUnknown_02026E30 = .;