mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +00:00
Add 3 more advanced sorters
Primary->Secondary typing Generation->Version Base Stat Total
This commit is contained in:
parent
116f600cb7
commit
8dcee4e0ee
2 changed files with 4 additions and 1 deletions
|
@ -1610,7 +1610,7 @@ namespace PKHeX.WinForms.Controls
|
|||
CB_Move1.SelectedValue = 1;
|
||||
var info = new SimpleTrainerInfo{Language = Math.Max(0, WinFormsUtil.GetIndex(CB_Language))};
|
||||
if (info.Language == 0)
|
||||
info.Language = 2;
|
||||
info.Language = (int)LanguageID.English;
|
||||
SetDetailsOT(info);
|
||||
|
||||
CB_Ball.SelectedIndex = Math.Min(0, CB_Ball.Items.Count - 1);
|
||||
|
|
|
@ -46,6 +46,9 @@ namespace PKHeX.WinForms.Controls
|
|||
AddItem(Level.SortBoxAdvanced, GetItem("Usage", "Usage", () => Sort(PKMSorting.OrderByUsage), Resources.heart));
|
||||
AddItem(Level.SortBoxAdvanced, GetItem("Training", "Training", () => Sort(list => list.OrderByCustom(pk => pk.MaxEV * 6 - pk.EVTotal)), Resources.showdown));
|
||||
AddItem(Level.SortBoxAdvanced, GetItem("Owner", "Ownership", () => Sort(list => list.OrderByOwnership(sav.SAV)), Resources.users));
|
||||
AddItem(Level.SortBoxAdvanced, GetItem("Type", "Type", () => Sort(list => list.OrderByCustom(pk => pk.PersonalInfo.Type1, pk => pk.PersonalInfo.Type2)), Resources.main));
|
||||
AddItem(Level.SortBoxAdvanced, GetItem("Version", "Version", () => Sort(list => list.OrderByCustom(pk => pk.GenNumber, pk => pk.Version)), Resources.numlohi));
|
||||
AddItem(Level.SortBoxAdvanced, GetItem("BST", "BST", () => Sort(list => list.OrderByCustom(pk => pk.PersonalInfo.BST)), Resources.vallohi));
|
||||
AddItem(Level.SortBoxAdvanced, GetItem("Legal", "Legal", () => Sort(list => list.OrderByCustom(pk => !new LegalityAnalysis(pk).Valid)), Resources.export));
|
||||
|
||||
AddItem(Level.Modify, GetItem("HatchEggs", "Hatch Eggs", () => Modify(z => z.ForceHatchPKM()), Resources.about));
|
||||
|
|
Loading…
Add table
Reference in a new issue