From e49f3919086d59e40da7901d97da01748aef3ff6 Mon Sep 17 00:00:00 2001 From: HoxhaEndri Date: Sat, 13 Apr 2024 12:19:19 +0200 Subject: [PATCH] func_80099B84 --- include/game.h | 7 +++++++ src/game/800.c | 8 +++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/include/game.h b/include/game.h index 19f34c3..e6144b5 100644 --- a/include/game.h +++ b/include/game.h @@ -55,6 +55,8 @@ extern void (*D_800EE1BC)(); extern void func_80048214(); extern void func_800A3BE0(); extern void func_800A42B4(s32); +extern void func_800A0CB4(); +extern void func_800B3430(); typedef struct { /* 0x00 */ char pad_0[0x18]; @@ -80,3 +82,8 @@ typedef struct { /* 0x6C */ s16 unk6C; /* 0x6E */ s16 unk6E; } unkStruct_800A0748; + +typedef struct { + /* 0x00 */ char pad_0[0x8]; + /* 0x08 */ s32 unk8; +} unkStruct_80099B84; diff --git a/src/game/800.c b/src/game/800.c index 7de0a7a..df69308 100644 --- a/src/game/800.c +++ b/src/game/800.c @@ -2404,7 +2404,13 @@ INCLUDE_ASM("asm/game/nonmatchings/800", func_80099B6C); INCLUDE_ASM("asm/game/nonmatchings/800", func_80099B78); -INCLUDE_ASM("asm/game/nonmatchings/800", func_80099B84); +void func_80099B84(unkStruct_80099B84* arg0) { + if (arg0->unk8 & 8) { + func_800A0CB4(); + return; + } + func_800B3430(); +} INCLUDE_ASM("asm/game/nonmatchings/800", func_80099BC8);