diff --git a/PKHeX.Core/Items/ItemStorage7SM.cs b/PKHeX.Core/Items/ItemStorage7SM.cs index 59baed90d..563a7f166 100644 --- a/PKHeX.Core/Items/ItemStorage7SM.cs +++ b/PKHeX.Core/Items/ItemStorage7SM.cs @@ -208,7 +208,7 @@ public bool IsLegal(InventoryType type, int itemIndex, int itemCount) if (items.BinarySearch((ushort)itemIndex) < 0) return false; - return Unreleased.BinarySearch((ushort)itemIndex) >= 0; + return Unreleased.BinarySearch((ushort)itemIndex) < 0; } public ReadOnlySpan GetItems(InventoryType type) => type switch