summaryrefslogtreecommitdiff
path: root/src/item_menu.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-01-19 05:49:20 -0500
committerGriffinR <griffin.g.richards@gmail.com>2021-01-19 05:49:20 -0500
commitcf9f8d01c513f13b014da3fe3995aef3071e542b (patch)
tree427ca5dceef71eb4d09248eb03c45685dbf18c3f /src/item_menu.c
parentde52df56136dc6aa0a749c60a85ebd577aa38147 (diff)
Add misc item data constants
Diffstat (limited to 'src/item_menu.c')
-rwxr-xr-xsrc/item_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item_menu.c b/src/item_menu.c
index 42ce3c3d3..5e68898ae 100755
--- a/src/item_menu.c
+++ b/src/item_menu.c
@@ -1721,7 +1721,7 @@ void ItemMenu_UseOutOfBattle(u8 taskId)
if (ItemId_GetFieldFunc(gSpecialVar_ItemId))
{
BagMenu_RemoveSomeWindow();
- if (CalculatePlayerPartyCount() == 0 && ItemId_GetType(gSpecialVar_ItemId) == 1)
+ if (CalculatePlayerPartyCount() == 0 && ItemId_GetType(gSpecialVar_ItemId) == ITEM_USE_PARTY_MENU)
BagMenu_PrintThereIsNoPokemon(taskId);
else
{