summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-10-23 13:29:17 -0700
committerYamaArashi <shadow962@live.com>2016-10-23 13:29:17 -0700
commitf5435a6f5c53a1217bd98617d8c1145f3d13acaf (patch)
treec784e01cbf59c134778b577d41939ed7799b2ef2 /include/global.h
parent368302d722769a6541eef3c7b6e7886b8e86f9ce (diff)
PC/bag item data
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/include/global.h b/include/global.h
index c1584f4f4..95fc35545 100644
--- a/include/global.h
+++ b/include/global.h
@@ -104,6 +104,12 @@ struct WarpData
s16 x, y;
};
+struct ItemSlot
+{
+ u16 itemId;
+ u8 quantity;
+};
+
struct RamScriptData
{
u8 magic;
@@ -143,7 +149,13 @@ struct SaveBlock1
u32 money;
u16 coins;
u16 registeredItem; // registered for use with SELECT button
- u8 filler_498[0x4A0];
+ struct ItemSlot pcItems[50];
+ struct ItemSlot bagPocket_Items[20];
+ struct ItemSlot bagPocket_KeyItems[20];
+ struct ItemSlot bagPocket_PokeBalls[16];
+ struct ItemSlot bagPocket_TMHM[64];
+ struct ItemSlot bagPocket_Berries[46];
+ u8 filler_7F8[0x140];
u8 unk938[52]; // pokedex related
u8 filler_96C[0x2B4];
struct MapObjectTemplate mapObjectTemplates[64];