matched sub_0807DF50

This commit is contained in:
Henny022p 2021-02-15 09:00:02 +01:00
parent ed943b1e53
commit 77b8ff3378
3 changed files with 15 additions and 17 deletions

View File

@ -2197,20 +2197,3 @@ sub_0807DF38: @ 0x0807DF38
.align 2, 0
_0807DF48: .4byte gUnk_0200AF00
_0807DF4C: .4byte gUnk_02034490
thumb_func_start sub_0807DF50
sub_0807DF50: @ 0x0807DF50
push {lr}
ldr r0, _0807DF6C @ =gUnk_02034490
movs r1, #0
strb r1, [r0]
ldr r0, _0807DF70 @ =gUnk_0200AF00
strb r1, [r0, #1]
movs r0, #0
bl sub_0801C4A0
bl sub_080791D0
bl sub_08079184
pop {pc}
.align 2, 0
_0807DF6C: .4byte gUnk_02034490
_0807DF70: .4byte gUnk_0200AF00

View File

@ -676,6 +676,7 @@ SECTIONS {
src/flags.o(.text);
src/save.o(.text);
asm/code_0807CC3C.o(.text);
src/code_0807CC3C.o(.text);
src/executeScriptCommandSet.o(.text);
asm/code_0807F0D8.o(.text);
src/code_0808091C.o(.text);

14
src/code_0807CC3C.c Normal file
View File

@ -0,0 +1,14 @@
#include "global.h"
#include "structures.h"
#include "functions.h"
extern void sub_0801C4A0(int arg0);
void sub_0807DF50()
{
gUnk_02034490[0] = 0;
gUnk_0200AF00.filler0[1] = 0;
sub_0801C4A0(0);
sub_080791D0();
sub_08079184();
}