Continued refinements

This commit is contained in:
Kurt 2020-11-13 08:20:51 -08:00
parent 67a796e982
commit 5e22c119be
2 changed files with 3 additions and 3 deletions

View file

@ -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);
}

View file

@ -793,7 +793,7 @@ namespace PKHeX.Core
return true;
}
return UnavailableShiny.Contains(sf);
return !UnavailableShiny.Contains(sf);
}
}
}