summaryrefslogtreecommitdiff
path: root/include/itemtool.h
diff options
context:
space:
mode:
authorRoastVeg <RoastVeg@users.noreply.github.com>2020-06-20 17:57:41 +0100
committerGitHub <noreply@github.com>2020-06-20 17:57:41 +0100
commit6298426d9ad4c59a875b0a90a0facfa1a3a513cc (patch)
tree542386bd071b5b5b5b87ec9ad65668745eabc0c4 /include/itemtool.h
parent53ac396de4098e38a6916e0cc86cbd278a960c4c (diff)
parent16b091058e6135f9b7875fcf074d812d610df380 (diff)
Merge branch 'master' into master
Diffstat (limited to 'include/itemtool.h')
-rw-r--r--include/itemtool.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/itemtool.h b/include/itemtool.h
index 525e68f9..d8419c2b 100644
--- a/include/itemtool.h
+++ b/include/itemtool.h
@@ -21,4 +21,13 @@ struct NutData
u8 unkB;
};
+NARC * OpenNutsDataNarc(u32 heap_id);
+struct NutData * ReadNutDataFromNarc(NARC * narc, u32 berry_idx, u32 heap_id);
+void CloseNutsDataNarc(NARC * narc);
+struct NutData * LoadNutDataSingle(s32 berry_idx, u32 heap_id);
+struct NutData * LoadNutDataSingleByItemId(s32 item_id, u32 heap_id);
+u32 GetNutAttr(struct NutData * nut, u32 attr);
+struct String * GetNutName(u32 berry_idx, u32 heap_id);
+struct String * GetNutDesc(u32 berry_idx, u32 heap_id);
+
#endif //POKEDIAMOND_ITEMTOOL_H