summaryrefslogtreecommitdiff
path: root/include/item.h
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2020-06-18 03:04:57 -0700
committertheo3 <arisstephenson2@gmail.com>2020-06-18 03:04:57 -0700
commit32ad8dec4d1bf3cdd07600802a2f00ad30a416ae (patch)
treeda8b750d07e05f559faf3623134df690a4bf25eb /include/item.h
parent841a20ca2d152bde74fb71194f55e9f41cffb78d (diff)
greatFairy.c polishing
Diffstat (limited to 'include/item.h')
-rw-r--r--include/item.h61
1 files changed, 48 insertions, 13 deletions
diff --git a/include/item.h b/include/item.h
index 74e207c3..18ba2620 100644
--- a/include/item.h
+++ b/include/item.h
@@ -1,8 +1,54 @@
-#include "global.h"
-
#ifndef ITEM_H
#define ITEM_H
+#include "global.h"
+#include "entity.h"
+
+typedef struct {
+ u8 unk;
+ u8 behaviorID;
+ u8 unk2;
+ u8 unk3;
+ u8 stateID;
+ u8 filler[4];
+ u8 unk4;
+ u8 filler2[4];
+ u8 unk5;
+} ItemBehavior;
+
+void extern CellOverwriteSet(ItemBehavior*, u32);
+void extern Sword(ItemBehavior*, u32);
+void extern Sword(ItemBehavior*, u32);
+void extern Sword(ItemBehavior*, u32);
+void extern Sword(ItemBehavior*, u32);
+void extern Sword(ItemBehavior*, u32);
+void extern Sword(ItemBehavior*, u32);
+void extern Bomb(ItemBehavior*, u32);
+void extern Bomb(ItemBehavior*, u32);
+void extern Bow(ItemBehavior*, u32);
+void extern Bow(ItemBehavior*, u32);
+void extern sub_08075D14(ItemBehavior*, u32);
+void extern sub_08075D14(ItemBehavior*, u32);
+void extern Shield(ItemBehavior*, u32);
+void extern Shield(ItemBehavior*, u32);
+void extern Lantern(ItemBehavior*, u32);
+void extern Lantern(ItemBehavior*, u32);
+void extern GustJar(ItemBehavior*, u32);
+void extern PacciCane(ItemBehavior*, u32);
+void extern MoleMitts(ItemBehavior*, u32);
+void extern RocsCape(ItemBehavior*, u32);
+void extern sub_08076800(ItemBehavior*, u32);
+void extern CellOverwriteSet(ItemBehavior*, u32);
+void Ocarina(ItemBehavior*, u32);
+void extern CellOverwriteSet(ItemBehavior*, u32);
+void extern CellOverwriteSet(ItemBehavior*, u32);
+void extern CellOverwriteSet(ItemBehavior*, u32);
+void extern TryPickupObject(ItemBehavior*, u32);
+void extern JarEmpty(ItemBehavior*, u32);
+void extern JarEmpty(ItemBehavior*, u32);
+void extern JarEmpty(ItemBehavior*, u32);
+void extern JarEmpty(ItemBehavior*, u32);
+
/* On hold until naming conflicts are resolved */
/*
enum
@@ -127,15 +173,4 @@
LongSpin = 0x75
} ItemType;
*/
-typedef struct {
- u8 unk;
- u8 behaviorID;
- u8 unk2;
- u8 unk3;
- u8 stateID;
- u8 filler[4];
- u8 unk4;
- u8 filler2[4];
- u8 unk5;
-} ItemBehavior;
#endif \ No newline at end of file