mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-20 19:54:44 -05:00
Allow Gen8 balls on gen3-species eggs originating in Gen8
This commit is contained in:
@@ -352,7 +352,14 @@ private static bool IsGalarCatchAndBreed(int species)
|
||||
// Everything breed-able that is in the Galar Dex can be captured in-game.
|
||||
var pt = PersonalTable.SWSH;
|
||||
var pi = (PersonalInfoSWSH) pt.GetFormeEntry(species, 0);
|
||||
return pi.IsInDex;
|
||||
if (pi.IsInDex)
|
||||
return true;
|
||||
|
||||
// Foreign Captures
|
||||
if ((int)Species.Treecko <= species && species <= (int)Species.Swampert) // Dynamax Adventures
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
private CheckResult VerifyBallEquals(LegalityAnalysis data, int ball) => GetResult(ball == data.pkm.Ball);
|
||||
|
||||
Reference in New Issue
Block a user