PKHeX/PKHeX.WinForms/Subforms/Save Editors/Gen6
Kurt 3e7775fc44
Track a PKM's Box,Slot,StorageFlags,Identifier metadata separately (#3222)
* Track a PKM's Box,Slot,StorageFlags,Identifier metadata separately

Don't store within the object, track the slot origin data separately.

Batch editing now pre-filters if using Box/Slot/Identifier logic; split up mods/filters as they're starting to get pretty hefty.

- Requesting a Box Data report now shows all slots in the save file (party, misc)
- Can now exclude backup saves from database search via toggle (separate from settings preventing load entirely)
- Replace some linq usages with direct code

* Remove WasLink virtual in PKM

Inline any logic, since we now have encounter objects to indicate matching, rather than the proto-legality logic checking properties of a PKM.

* Use Fateful to directly check gen5 mysterygift origins

No other encounter types in gen5 apply Fateful

* Simplify double ball comparison

Used to be separate for deferral cases, now no longer needed to be separate.

* Grab move/relearn reference and update locally

Fix relearn move identifier

* Inline defog HM transfer preference check

HasMove is faster than getting moves & checking contains. Skips allocation by setting values directly.

* Extract more met location metadata checks: WasBredEgg

* Replace Console.Write* with Debug.Write*

There's no console output UI, so don't include them in release builds.

* Inline WasGiftEgg, WasEvent, and WasEventEgg logic

Adios legality tags that aren't entirely correct for the specific format. Just put the computations in EncounterFinder.
2021-06-22 20:23:48 -07:00
..
SAV_BerryFieldXY.cs PKHeX.Core Nullable cleanup (#2401) 2019-10-16 18:47:31 -07:00
SAV_BerryFieldXY.Designer.cs Add .NET Core 3.0 build option for WinForms project (#2396) 2019-10-01 18:12:08 -07:00
SAV_BoxLayout.cs Minor perf improvements 2021-05-10 01:01:45 -07:00
SAV_BoxLayout.Designer.cs Add .NET Core 3.0 build option for WinForms project (#2396) 2019-10-01 18:12:08 -07:00
SAV_HallOfFame.cs Minor perf improvements 2021-05-10 01:01:45 -07:00
SAV_HallOfFame.Designer.cs PKHeX.Core Nullable cleanup (#2401) 2019-10-16 18:47:31 -07:00
SAV_Link6.cs Minor clean 2020-11-11 21:01:41 -08:00
SAV_Link6.Designer.cs Add .NET Core 3.0 build option for WinForms project (#2396) 2019-10-01 18:12:08 -07:00
SAV_OPower.cs Extract metadata/state tracking from SaveFile obj 2020-12-05 05:36:23 -08:00
SAV_OPower.Designer.cs Add .NET Core 3.0 build option for WinForms project (#2396) 2019-10-01 18:12:08 -07:00
SAV_PokeBlockORAS.cs Make some properties into consts 2021-03-20 12:47:21 -07:00
SAV_PokeBlockORAS.Designer.cs Add .NET Core 3.0 build option for WinForms project (#2396) 2019-10-01 18:12:08 -07:00
SAV_PokedexORAS.cs Simplify more expressions 2021-01-04 17:31:43 -08:00
SAV_PokedexORAS.Designer.cs Add .NET Core 3.0 build option for WinForms project (#2396) 2019-10-01 18:12:08 -07:00
SAV_PokedexXY.cs Simplify more expressions 2021-01-04 17:31:43 -08:00
SAV_PokedexXY.Designer.cs Add .NET Core 3.0 build option for WinForms project (#2396) 2019-10-01 18:12:08 -07:00
SAV_Pokepuff.cs Minor clean 2020-12-21 23:37:07 -08:00
SAV_Pokepuff.Designer.cs Handle more messages 2019-10-27 20:39:15 -07:00
SAV_SecretBase.cs Update translatables with latest 2021-06-15 20:01:01 -07:00
SAV_SecretBase.Designer.cs Rewrite gen6ao secret base handling, i/o, GUI 2021-06-13 00:38:47 -07:00
SAV_SuperTrain.cs Track a PKM's Box,Slot,StorageFlags,Identifier metadata separately (#3222) 2021-06-22 20:23:48 -07:00
SAV_SuperTrain.Designer.cs Add .NET Core 3.0 build option for WinForms project (#2396) 2019-10-01 18:12:08 -07:00
SAV_Trainer.cs Split DateUtil from Util class 2021-05-14 16:46:48 -07:00
SAV_Trainer.Designer.cs Change namespace to usual PKHeX.WinForms.Controls 2021-06-07 20:04:01 -07:00