Fix combee gender check

silly convoluted checks
#2603
This commit is contained in:
Kurt 2019-12-27 19:17:08 -08:00
parent f65e0a96a7
commit b294eba181

View File

@ -37,7 +37,7 @@ private static bool IsValidEvolution(PKM pkm, LegalInfo info)
return true;
if (info.EncounterMatch.EggEncounter && species == (int)Species.Milotic && pkm.Format >= 5 && !pkm.IsUntraded) // Prism Scale
return true;
if (species == (int)Species.Vespiquen && info.Generation < 6 && (pkm.PID & 0xFF) < 0xE0) // Combee->Vespiquen Invalid Evolution
if (species == (int)Species.Vespiquen && info.Generation < 6 && (pkm.PID & 0xFF) >= 0x1F) // Combee->Vespiquen Invalid Evolution
return false;
if (info.Generation > 0 && info.EvoChainsAllGens[info.Generation].All(z => z.Species != info.EncounterMatch.Species))