mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-23 04:44:14 -05:00
Disallow gen7 ribbons on lgpe origin
This commit is contained in:
@@ -170,7 +170,7 @@ static IEnumerable<RibbonResult> getMissingContestRibbons(IReadOnlyList<bool> bi
|
||||
}
|
||||
if (pkm is IRibbonSetCommon7 s7)
|
||||
{
|
||||
bool inhabited7 = gen <= 7;
|
||||
bool inhabited7 = gen <= 7 && !pkm.GG;
|
||||
var iterate = inhabited7 ? GetInvalidRibbons7Any(pkm, s7) : GetInvalidRibbonsNone(s7.RibbonBits(), s7.RibbonNames());
|
||||
foreach (var z in iterate)
|
||||
yield return z;
|
||||
|
||||
Reference in New Issue
Block a user