From 77276302a538a3e4c91a3bfe3227a7dccd286105 Mon Sep 17 00:00:00 2001 From: Matt Date: Wed, 2 May 2018 13:07:09 -0400 Subject: [PATCH] Add Past Generation deleter (#1922) https://github.com/kwsch/PKHeX/commit/4b6ee3fbf5bb261069757a635fa5126a94c3ada1#commitcomment-28822553 ;) --- PKHeX.WinForms/Controls/SAV Editor/Sorter.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/PKHeX.WinForms/Controls/SAV Editor/Sorter.cs b/PKHeX.WinForms/Controls/SAV Editor/Sorter.cs index 4583fae25..aed993fd3 100644 --- a/PKHeX.WinForms/Controls/SAV Editor/Sorter.cs +++ b/PKHeX.WinForms/Controls/SAV Editor/Sorter.cs @@ -32,6 +32,7 @@ namespace PKHeX.WinForms.Controls AddItem(Level.Delete, GetItem("All", "Clear", () => Clear(), Resources.nocheck)); AddItem(Level.Delete, GetItem("Eggs", "Eggs", () => Clear(pk => Control.ModifierKeys == Keys.Control != pk.IsEgg), Resources.about)); + AddItem(Level.Delete, GetItem("PastGen", "Past Generation", () => Clear(pk => pk.GenNumber != sav.SAV.Generation), Resources.bak)); AddItem(Level.Delete, GetItem("Foreign", "Foreign", () => Clear(pk => !sav.SAV.IsOriginalHandler(pk, pk.Format > 2)), Resources.users)); AddItem(Level.Delete, GetItem("Untrained", "Untrained", () => Clear(pk => pk.EVTotal == 0), Resources.gift)); AddItem(Level.Delete, GetItem("Itemless", "No Held Item", () => Clear(pk => pk.HeldItem == 0), Resources.main));