From d0bfa187cae92ff31e76264a0e5458c5eeb05f70 Mon Sep 17 00:00:00 2001 From: Egzon Qukovci Jusufi Date: Tue, 31 Jan 2017 23:01:32 +0100 Subject: [PATCH] Fix for Giratina's Origin form only with specific held item --- PKHeX/Legality/Checks.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/PKHeX/Legality/Checks.cs b/PKHeX/Legality/Checks.cs index 6dd5b13c7..193da0e3c 100644 --- a/PKHeX/Legality/Checks.cs +++ b/PKHeX/Legality/Checks.cs @@ -1572,6 +1572,13 @@ namespace PKHeX.Core } } 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 {