mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-26 16:25:24 -05:00
Merge pull request #793 from egzonqj/master
Fix legality on form change with held item
This commit is contained in:
@@ -1572,6 +1572,13 @@ private void verifyForm()
|
||||
}
|
||||
}
|
||||
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
|
||||
if (pkm.AltForm > 1) // Ash Battle Bond active
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user