summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2018-11-28 14:15:29 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2018-11-28 14:15:29 -0500
commitff55777ac8d0ee55fbe629381a781f0519cb2d29 (patch)
treeffca1dbede5f45b2b4868e6c6e32e507e26640c0 /include/global.h
parent013fcf86fbeccf8d527e43a4f5aaf44402daba48 (diff)
Define the PC items allocation in SaveBlock1
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/global.h b/include/global.h
index 30be4fd9f..97b179410 100644
--- a/include/global.h
+++ b/include/global.h
@@ -97,6 +97,7 @@ enum LanguageId {
#define GAME_LANGUAGE (LANGUAGE_ENGLISH)
+#define PC_ITEMS_COUNT 30
#define BAG_ITEMS_COUNT 42
#define BAG_KEYITEMS_COUNT 30
#define BAG_POKEBALLS_COUNT 13
@@ -605,7 +606,7 @@ struct SaveBlock1
/*0x0290*/ u32 money;
/*0x0294*/ u16 coins;
/*0x0296*/ u16 registeredItem; // registered for use with SELECT button
- /*0x0298*/ u8 filler298[0x78];
+ /*0x0298*/ struct ItemSlot pcItems[PC_ITEMS_COUNT];
/*0x0310*/ struct ItemSlot bagPocket_Items[BAG_ITEMS_COUNT];
/*0x03b8*/ struct ItemSlot bagPocket_KeyItems[BAG_KEYITEMS_COUNT];
/*0x0430*/ struct ItemSlot bagPocket_PokeBalls[BAG_POKEBALLS_COUNT];