diff options
Diffstat (limited to 'include/item.h')
-rw-r--r-- | include/item.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/item.h b/include/item.h index f51ea3ae5..54a252302 100644 --- a/include/item.h +++ b/include/item.h @@ -28,7 +28,9 @@ struct BagPocket u8 capacity; }; -extern struct BagPocket gBagPockets[5]; +#define NUM_BAG_POCKETS 5 + +extern const struct BagPocket gBagPockets[NUM_BAG_POCKETS]; void CopyItemName(u16 itemId, u8 *string); bool8 IsBagPocketNonEmpty(u8 pocket); |