mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 04:23:12 +00:00
Fix getBaseGamesIsEgg, there is some cases when crystal origin can be discarted
This commit is contained in:
parent
ca63bf2e51
commit
d9d138d2a5
1 changed files with 8 additions and 0 deletions
|
@ -2119,6 +2119,14 @@ namespace PKHeX.Core
|
|||
case 1:
|
||||
case 2:
|
||||
// Every egg move from Gold/Silver is included in Crystal
|
||||
if (pkm.Format != 2)
|
||||
return GameVersion.C;
|
||||
|
||||
if (pkm.HasOriginalMetLocation)
|
||||
return GameVersion.C;
|
||||
if (pkm.Species > 151 && !Legal.FutureEvolutionsGen1.Contains(pkm.Species))
|
||||
return GameVersion.GS;
|
||||
|
||||
return GameVersion.C;
|
||||
case 3:
|
||||
switch ((GameVersion)pkm.Version)
|
||||
|
|
Loading…
Reference in a new issue