summaryrefslogtreecommitdiff
path: root/src/code_8092334.c
diff options
context:
space:
mode:
authorDennis <dhilhorst2000@gmail.com>2021-07-17 18:45:13 +0200
committerGitHub <noreply@github.com>2021-07-17 09:45:13 -0700
commitbad7f7f688253c87c2cb2d063ea57c884cb6adff (patch)
treef853042438f42634f8d64b6daec015f3e287d77a /src/code_8092334.c
parenta65d358927f668cb5e34a6046afef5bd61380a28 (diff)
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
Diffstat (limited to 'src/code_8092334.c')
-rw-r--r--src/code_8092334.c9
1 files changed, 1 insertions, 8 deletions
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)
{