mirror of
https://github.com/kwsch/pkNX.git
synced 2026-08-23 02:44:36 -05:00
Update FormRandomizer.cs
Rayquaza's Forme Count was untouched with R2, so this can lead to an invalid spec-form when Randomizing. Disallow Rayquaza-1 (Mega).
This commit is contained in:
@@ -24,6 +24,9 @@ public int GetRandomForme(int species, bool mega, bool fused, bool alola, bool g
|
||||
|
||||
switch ((Species)species)
|
||||
{
|
||||
// Rayquaza's Forme Count was unchanged in SWSH despite Megas being removed, so just in case the user allows random Megas, disallow this invalid Forme.
|
||||
case Rayquaza when Personal.TableLength == 1192:
|
||||
return 0;
|
||||
case Unown:
|
||||
case Deerling:
|
||||
case Sawsbuck:
|
||||
|
||||
Reference in New Issue
Block a user