Add egg Rotom/Furfrou form check

Closes #2002
Thanks @iiippppk !
This commit is contained in:
Kurt 2018-06-13 22:10:01 -07:00
parent 5579c4c80d
commit f54f90bd4b

View file

@ -2236,6 +2236,16 @@ namespace PKHeX.Core
AddLine(Severity.Invalid, V317, CheckIdentifier.Form);
return;
// Impossible Egg forms
case 479 when pkm.IsEgg: // Rotom
case 676 when pkm.IsEgg: // Furfrou
if (pkm.AltForm != 0) // has form
{
AddLine(Severity.Invalid, V50, CheckIdentifier.Form);
return;
}
break;
// Party Only Forms
case 492: // Shaymin
case 676: // Furfrou