From bad7f7f688253c87c2cb2d063ea57c884cb6adff Mon Sep 17 00:00:00 2001 From: Dennis Date: Sat, 17 Jul 2021 18:45:13 +0200 Subject: More item related decomp (#45) * decompile sub_80918EC * some more item related functions * more item functions * more decomp, fix types in other places * more small functions * more item related decomp * one more weird branching item function * fix global.h includes * figured out branch pattern * decompile sub_8090F58 * make temporary struct for function * :crab: items.s is gone :crab: * some renaming * rename some obvious item related constants * fix spelling error --- src/code_8092334.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/code_8092334.c') diff --git a/src/code_8092334.c b/src/code_8092334.c index e5a8334..d03f888 100644 --- a/src/code_8092334.c +++ b/src/code_8092334.c @@ -1,15 +1,8 @@ #include "global.h" +#include "code_8092334.h" #include "memory.h" #include "item.h" -struct unkStruct_8094924 -{ - // size: 0x10? - u8 *unk0; // head? - u8 *unk4; // tail? - u32 unk8; - u32 unkC; -}; s16 sub_8094828(u16 r0, u8 itemIndex) { -- cgit v1.2.3