summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/constants/items.h2
-rw-r--r--include/itemtool.h2
-rw-r--r--include/nutdata.h26
3 files changed, 18 insertions, 12 deletions
diff --git a/include/constants/items.h b/include/constants/items.h
index 5844c001..34b71487 100644
--- a/include/constants/items.h
+++ b/include/constants/items.h
@@ -31,7 +31,7 @@
#define ITEMATTR_UNK5 9
#define ITEMATTR_UNK6 10
#define ITEMATTR_NATURAL_GIFT_POWER 11
-#define ITEMATTR_UNK8_0 12
+#define ITEMATTR_NATURAL_GIFT_TYPE 12
#define ITEMATTR_UNK8_B 13
#define ITEMATTR_PARTY_USE 14
#define ITEMATTR_SLP_HEAL 15
diff --git a/include/itemtool.h b/include/itemtool.h
index 4dca94bc..971d91aa 100644
--- a/include/itemtool.h
+++ b/include/itemtool.h
@@ -77,7 +77,7 @@ struct ItemData
u8 unk5;
u8 unk6;
u8 naturalGiftPower;
- u16 unk8_0:5;
+ u16 naturalGiftType:5;
u16 prevent_toss:1;
u16 selectable:1;
u16 pocket:4;
diff --git a/include/nutdata.h b/include/nutdata.h
index 74470f37..3fb8124e 100644
--- a/include/nutdata.h
+++ b/include/nutdata.h
@@ -3,19 +3,25 @@
#include "filesystem.h"
+#define FIRMNESS_VERY_SOFT 1
+#define FIRMNESS_SOFT 2
+#define FIRMNESS_HARD 3
+#define FIRMNESS_VERY_HARD 4
+#define FIRMNESS_SUPER_HARD 5
+
struct NutData
{
- u16 unk0;
- u8 unk2;
- u8 unk3;
- u8 unk4;
+ u16 size;
+ u8 firmness;
+ u8 yieldCategory;
+ u8 stageDuration;
u8 unk5;
- u8 unk6;
- u8 unk7;
- u8 unk8;
- u8 unk9;
- u8 unkA;
- u8 unkB;
+ u8 spicy;
+ u8 dry;
+ u8 sweet;
+ u8 bitter;
+ u8 sour;
+ u8 smoothness;
};
NARC * OpenNutsDataNarc(u32 heap_id);