summaryrefslogtreecommitdiff
path: root/include/bag.h
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-08-13 15:17:06 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2020-08-13 15:17:06 -0400
commitcbf5ca94718075c645f4c34d7b6ab0e6e95a3995 (patch)
tree6f09e314e18974a4ff5b9bb15434a77dff6c6c97 /include/bag.h
parentddd20f2c76a34b4fc46503c8bf88d53a755453a8 (diff)
Name routines in unk_0206EB80.s --> bag.s
Diffstat (limited to 'include/bag.h')
-rw-r--r--include/bag.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/bag.h b/include/bag.h
new file mode 100644
index 00000000..d4b4ff3c
--- /dev/null
+++ b/include/bag.h
@@ -0,0 +1,19 @@
+#ifndef POKEDIAMOND_BAG_H
+#define POKEDIAMOND_BAG_H
+
+#include "itemtool.h"
+
+struct Bag
+{
+ struct ItemSlot items[NUM_BAG_ITEMS];
+ struct ItemSlot keyItems[NUM_BAG_KEY_ITEMS];
+ struct ItemSlot TMsHMs[NUM_BAG_TMS_HMS];
+ struct ItemSlot mail[NUM_BAG_MAIL];
+ struct ItemSlot medicine[NUM_BAG_MEDICINE];
+ struct ItemSlot berries[NUM_BAG_BERRIES];
+ struct ItemSlot balls[NUM_BAG_BALLS];
+ struct ItemSlot battleItems[NUM_BAG_BATTLE_ITEMS];
+ u32 registeredItem;
+};
+
+#endif //POKEDIAMOND_BAG_H