From 74edaed4265cc7e964a5383c3e0fb8ef256f2bf8 Mon Sep 17 00:00:00 2001 From: Sierraffinity Date: Thu, 14 May 2020 01:37:09 -0700 Subject: Begin item_menu.c cleanup --- include/constants/item.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/constants') diff --git a/include/constants/item.h b/include/constants/item.h index a5c34418d..3277f2379 100644 --- a/include/constants/item.h +++ b/include/constants/item.h @@ -16,5 +16,9 @@ #define KEYITEMS_POCKET 4 #define POCKETS_COUNT 5 +// The TM/HM pocket is the largest pocket, so the maximum amount of items +// in a pocket is its count + 1 for the cancel option +#define MAX_POCKET_ITEMS (BAG_TMHM_COUNT + 1) + #endif // GUARD_ITEM_CONSTANTS_H -- cgit v1.2.3