Fix for Giratina's Origin form only with specific held item

This commit is contained in:
Egzon Qukovci Jusufi 2017-01-31 23:01:32 +01:00
parent 3eb8575732
commit d0bfa187ca

View file

@ -1572,6 +1572,13 @@ namespace PKHeX.Core
} }
} }
break; break;
case 487: // Giratina
if (pkm.AltForm == 1 && pkm.HeldItem!=112) // Origin form only with Griseous Orb
{
AddLine(Severity.Invalid, "Form cannot exist without Griseous Orb as Held Item", CheckIdentifier.Form);
return;
}
break;
case 658: // Greninja case 658: // Greninja
if (pkm.AltForm > 1) // Ash Battle Bond active if (pkm.AltForm > 1) // Ash Battle Bond active
{ {