From 6db0b673db5f618e6b612aad9590be85f9436fb2 Mon Sep 17 00:00:00 2001 From: Kurt Date: Sat, 14 Apr 2018 18:20:58 -0700 Subject: [PATCH] Handle ??? type gen4 arceus form check interstitial between steel & fire, shift the form value up by 1 if applicable https://projectpokemon.org/home/forums/topic/44806-arceus-not-legal/?tab=comments#comment-229774 --- PKHeX.Core/Legality/Checks.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PKHeX.Core/Legality/Checks.cs b/PKHeX.Core/Legality/Checks.cs index 8e4e8fb0d..83abf59b2 100644 --- a/PKHeX.Core/Legality/Checks.cs +++ b/PKHeX.Core/Legality/Checks.cs @@ -2070,6 +2070,8 @@ namespace PKHeX.Core form = Array.IndexOf(Legal.Arceus_Plate, item) + 1; else if (777 <= item && item <= 793) form = Array.IndexOf(Legal.Arceus_ZCrystal, item) + 1; + if (pkm.Format == 4 && form >= 9) + form++; // ??? type Form shifts everything by 1 if (form != pkm.AltForm) AddLine(Severity.Invalid, V308, CheckIdentifier.Form);