mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-02 13:37:10 -05:00
Disallow Spiky Ear Pichu eggs
sneaky gen4 bad hacks are bad
This commit is contained in:
@@ -54,9 +54,13 @@ public static IEnumerable<EncounterEgg> GenerateEggs(PKM pkm, IReadOnlyList<EvoC
|
||||
|
||||
private static bool NoHatchFromEggForm(int species, int form, int gen)
|
||||
{
|
||||
if (form == 0)
|
||||
return false;
|
||||
if (FormConverter.IsTotemForm(species, form, gen))
|
||||
return true;
|
||||
if ((species == (int) Species.Sinistea || species == (int) Species.Polteageist) && form != 0) // Antique = impossible
|
||||
if (species == (int) Species.Pichu)
|
||||
return true; // can't get Spiky Ear Pichu eggs
|
||||
if (species == (int) Species.Sinistea || species == (int) Species.Polteageist) // Antique = impossible
|
||||
return true; // can't get Antique eggs
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user