PKHeX/PKHeX.Core/PKM
Kurt 9a768dded3 Permit pkrs strain 0 & 8 on Gen3+ context
Ruby & Sapphire had a bug that only looped when (rand) == 0 !!! instead of (rand & 7) == 0.
End result is that the pkrs giving method yields strains 0 & 8 with 30/255 & 1/255 rarity.

Gen2: z80 assembly does NOT work as intended, and has a separate bug that causes strains 9+ to never be obtainable. So close to a neat statistical separation.

Revise the GUI to disable the events on field loading, and allow for selecting Strain0 w/ days !0.
VC2->7 does not transfer pkrs; not that it matters since Gen3++ transfers can spread every strain.

Thanks @SNBeast for clarification on Gen2's assembly logic and repro!

Co-Authored-By: SNBeast <21327530+snbeast@users.noreply.github.com>
2023-04-20 21:20:25 -07:00
..
Enums Handle WC9.Scale spec per v1.2.0 patch changes 2023-04-02 01:19:33 -07:00
HOME Update from .NET Framework 4.6 to .NET 7 (#3729) 2023-01-21 20:02:33 -08:00
Interfaces Add learnset moves similar to games 2023-04-08 12:20:18 -07:00
Searching Span-ify MoveSetApplicator 2023-03-21 21:02:13 -07:00
Shared Less allocation, minor tweaks 2023-03-27 00:11:42 -07:00
Strings Skip initial cctor alloc on non-byte primitives (#3850) 2023-03-25 17:55:55 -07:00
Util Encapsulate item pouch arrays/etc for finer control (#3860) 2023-04-16 12:58:07 -07:00
BK4.cs Skip initial cctor alloc on non-byte primitives (#3850) 2023-03-25 17:55:55 -07:00
CK3.cs Skip initial cctor alloc on non-byte primitives (#3850) 2023-03-25 17:55:55 -07:00
PA8.cs Skip initial cctor alloc on non-byte primitives (#3850) 2023-03-25 17:55:55 -07:00
PB7.cs Minor clean 2023-04-13 00:05:10 -07:00
PB8.cs Skip initial cctor alloc on non-byte primitives (#3850) 2023-03-25 17:55:55 -07:00
PK1.cs Less allocation, minor tweaks 2023-03-27 00:11:42 -07:00
PK2.cs Less allocation, minor tweaks 2023-03-27 00:11:42 -07:00
PK3.cs Skip initial cctor alloc on non-byte primitives (#3850) 2023-03-25 17:55:55 -07:00
PK4.cs Skip initial cctor alloc on non-byte primitives (#3850) 2023-03-25 17:55:55 -07:00
PK5.cs Skip initial cctor alloc on non-byte primitives (#3850) 2023-03-25 17:55:55 -07:00
PK6.cs Skip initial cctor alloc on non-byte primitives (#3850) 2023-03-25 17:55:55 -07:00
PK7.cs Skip initial cctor alloc on non-byte primitives (#3850) 2023-03-25 17:55:55 -07:00
PK8.cs Skip initial cctor alloc on non-byte primitives (#3850) 2023-03-25 17:55:55 -07:00
PK9.cs Skip initial cctor alloc on non-byte primitives (#3850) 2023-03-25 17:55:55 -07:00
PKM.cs Permit pkrs strain 0 & 8 on Gen3+ context 2023-04-20 21:20:25 -07:00
RK4.cs Skip initial cctor alloc on non-byte primitives (#3850) 2023-03-25 17:55:55 -07:00
SK2.cs Minor clean 2023-04-13 00:05:10 -07:00
XK3.cs Skip initial cctor alloc on non-byte primitives (#3850) 2023-03-25 17:55:55 -07:00