diff --git a/PKHeX/Saves/Substructures/Inventory.cs b/PKHeX/Saves/Substructures/Inventory.cs index 7bfd3e336..085bc8849 100644 --- a/PKHeX/Saves/Substructures/Inventory.cs +++ b/PKHeX/Saves/Substructures/Inventory.cs @@ -87,8 +87,8 @@ public void getPouch7(ref byte[] Data) { Index = (int)(val & 0x3FF), Count = (int)(val >> 10 & 0x3FF), - New = (val & 0x40000000) == 1, // 30th bit is "NEW" - FreeSpace = (val & 0x100000) == 1, // 22th bit is "FREE SPACE" + New = (val & 0x40000000) != 0, // 30th bit is "NEW" + FreeSpace = (val & 0x100000) != 0, // 22th bit is "FREE SPACE" }; } Items = items;