Define the PC items allocation in SaveBlock1
This commit is contained in:
+2
-1
@@ -97,6 +97,7 @@ enum LanguageId {
|
|||||||
|
|
||||||
#define GAME_LANGUAGE (LANGUAGE_ENGLISH)
|
#define GAME_LANGUAGE (LANGUAGE_ENGLISH)
|
||||||
|
|
||||||
|
#define PC_ITEMS_COUNT 30
|
||||||
#define BAG_ITEMS_COUNT 42
|
#define BAG_ITEMS_COUNT 42
|
||||||
#define BAG_KEYITEMS_COUNT 30
|
#define BAG_KEYITEMS_COUNT 30
|
||||||
#define BAG_POKEBALLS_COUNT 13
|
#define BAG_POKEBALLS_COUNT 13
|
||||||
@@ -605,7 +606,7 @@ struct SaveBlock1
|
|||||||
/*0x0290*/ u32 money;
|
/*0x0290*/ u32 money;
|
||||||
/*0x0294*/ u16 coins;
|
/*0x0294*/ u16 coins;
|
||||||
/*0x0296*/ u16 registeredItem; // registered for use with SELECT button
|
/*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];
|
/*0x0310*/ struct ItemSlot bagPocket_Items[BAG_ITEMS_COUNT];
|
||||||
/*0x03b8*/ struct ItemSlot bagPocket_KeyItems[BAG_KEYITEMS_COUNT];
|
/*0x03b8*/ struct ItemSlot bagPocket_KeyItems[BAG_KEYITEMS_COUNT];
|
||||||
/*0x0430*/ struct ItemSlot bagPocket_PokeBalls[BAG_POKEBALLS_COUNT];
|
/*0x0430*/ struct ItemSlot bagPocket_PokeBalls[BAG_POKEBALLS_COUNT];
|
||||||
|
|||||||
Reference in New Issue
Block a user