summaryrefslogtreecommitdiff
path: root/src/menu_helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/menu_helpers.c')
-rw-r--r--src/menu_helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/menu_helpers.c b/src/menu_helpers.c
index 95b67f78c..331755590 100644
--- a/src/menu_helpers.c
+++ b/src/menu_helpers.c
@@ -280,7 +280,7 @@ bool8 IsHoldingItemAllowed(u16 itemId)
// Enigma Berry can't be held in link areas
if (itemId != ITEM_ENIGMA_BERRY)
return TRUE;
- else if (gSaveBlock1Ptr->location.mapGroup == MAP_GROUP(TRADE_CENTER)
+ else if (gSaveBlock1Ptr->location.mapGroup == MAP_GROUP(TRADE_CENTER)
&& gSaveBlock1Ptr->location.mapNum == MAP_NUM(TRADE_CENTER))
return FALSE;
else if (InUnionRoom() != TRUE)