mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 06:20:25 +00:00
Continued refinements
This commit is contained in:
parent
67a796e982
commit
5e22c119be
2 changed files with 3 additions and 3 deletions
|
@ -53,7 +53,7 @@ namespace PKHeX.Core
|
|||
continue;
|
||||
if (IsDisallowedDuplicateForm(species, f))
|
||||
continue;
|
||||
bool lgpe = (species <= 151 || species == 808 || species == 809) && ptGG[species].HasForme(f);
|
||||
bool lgpe = (species <= 151 || species == 808 || species == 809) && (f == 0 || ptGG[species].HasForme(f));
|
||||
var game = lgpe ? GameVersion.GG : GameVersion.SWSH;
|
||||
yield return GetSlot(area, species, f, game);
|
||||
}
|
||||
|
@ -68,7 +68,7 @@ namespace PKHeX.Core
|
|||
continue;
|
||||
if (IsDisallowedDuplicateForm(species, f))
|
||||
continue;
|
||||
bool lgpe = species <= 151 && ptGG[species].HasForme(f);
|
||||
bool lgpe = species <= 151 && (f == 0 || ptGG[species].HasForme(f));
|
||||
var game = lgpe ? GameVersion.GG : GameVersion.USUM;
|
||||
yield return GetSlot(area, species, f, game);
|
||||
}
|
||||
|
|
|
@ -793,7 +793,7 @@ namespace PKHeX.Core
|
|||
return true;
|
||||
}
|
||||
|
||||
return UnavailableShiny.Contains(sf);
|
||||
return !UnavailableShiny.Contains(sf);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue