PKHeX/PKHeX.Core/Saves/Substructures/Gen8/LA
Kurt d5be6254f3
Add logic for PLA wild RNG correlation (#3443)
Adds structures to read/write saved spawner data such as seeds, counts.
Adds generator and validator to emulate the FixInitSpec builder used by the game logic

Similar to SW/SH raids, validating these in-process is not feasible due to the number crunching required.

This does not handle the encounter slot call or the follow-up level range call. Just the inner FixInitSpec ctor & fill.

level is calc'd:
randFloat(sum) -> slot float
rand.Next() -> gen_seed (for all the details)
rand.NextInt(delta) +min -> level

Co-Authored-By: Lusamine <30205550+Lusamine@users.noreply.github.com>
2022-02-20 17:59:48 -08:00
..
Pokedex Minor clean 2022-02-14 21:32:52 -08:00
Spawners Add logic for PLA wild RNG correlation (#3443) 2022-02-20 17:59:48 -08:00
AdventureStart8a.cs Add savedata models 2022-02-04 17:31:20 -08:00
BoxLayout8a.cs Add savedata models 2022-02-04 17:31:20 -08:00
Coordinates8a.cs Add savedata models 2022-02-04 17:31:20 -08:00
LastSaved8a.cs Add savedata models 2022-02-04 17:31:20 -08:00
MyItem8a.cs Update MyItem8a.cs 2022-02-04 22:28:07 -08:00
MyStatus8a.cs Add savedata models 2022-02-04 17:31:20 -08:00
Party8a.cs Add savedata models 2022-02-04 17:31:20 -08:00
PlayerFashion8a.cs Add savedata models 2022-02-04 17:31:20 -08:00
PlayTime8a.cs Add savedata models 2022-02-04 17:31:20 -08:00