From 4c0a2602eb01a871e317c1f24fb6ef4487b047fc Mon Sep 17 00:00:00 2001 From: Kurt Date: Wed, 30 Aug 2017 08:14:42 -0700 Subject: [PATCH] Simplify greninja gift check form is already checked in the encounter generator, so the only case where it has not been thoroughly checked is if it is not a mystery gift. it will always be the default form (in that case). --- PKHeX.Core/Legality/Checks.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKHeX.Core/Legality/Checks.cs b/PKHeX.Core/Legality/Checks.cs index d8322ed31..11919e8e4 100644 --- a/PKHeX.Core/Legality/Checks.cs +++ b/PKHeX.Core/Legality/Checks.cs @@ -2112,7 +2112,7 @@ private void VerifyForm() AddLine(Severity.Invalid, V310, CheckIdentifier.Form); return; } - if (pkm.AltForm != 0 ^ Type == typeof(MysteryGift)) // Formes are not breedable + if (pkm.AltForm != 0 && Type != typeof(MysteryGift)) // Formes are not breedable, MysteryGift already checked { AddLine(Severity.Invalid, string.Format(V304, 0, pkm.AltForm), CheckIdentifier.Form); return;