diff --git a/PKHeX.WinForms/Subforms/Save Editors/SAV_Inventory.cs b/PKHeX.WinForms/Subforms/Save Editors/SAV_Inventory.cs index 6f0e6c514..727db30b3 100644 --- a/PKHeX.WinForms/Subforms/Save Editors/SAV_Inventory.cs +++ b/PKHeX.WinForms/Subforms/Save Editors/SAV_Inventory.cs @@ -197,9 +197,13 @@ private void SetBags() private void GetBag(DataGridView dgv, InventoryPouch pouch) { + var valid = pouch.GetAllItems(); for (int i = 0; i < dgv.Rows.Count; i++) { var item = pouch.Items[i]; + if (item.Index != 0 && !valid.Contains((ushort)item.Index) && !Main.HaX) + item = pouch.Items[i] = pouch.GetEmpty(); + var cells = dgv.Rows[i].Cells; cells[ColumnItem].Value = itemlist[item.Index]; cells[ColumnCount].Value = item.Count;