From 2b76fe148d604ec4abf5b64bc93379867d084bd1 Mon Sep 17 00:00:00 2001 From: Kurt Date: Mon, 18 Nov 2019 19:29:05 -0800 Subject: [PATCH] Fix property reference for Darmanitan-G lul Closes #2453 --- PKHeX.Core/Legality/Verifiers/FormVerifier.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKHeX.Core/Legality/Verifiers/FormVerifier.cs b/PKHeX.Core/Legality/Verifiers/FormVerifier.cs index bd85f8117..61c50e54c 100644 --- a/PKHeX.Core/Legality/Verifiers/FormVerifier.cs +++ b/PKHeX.Core/Legality/Verifiers/FormVerifier.cs @@ -176,7 +176,7 @@ namespace PKHeX.Core if (pkm.AltForm != 0 && BattleOnly.Contains(pkm.Species)) { - if (pkm.Species == (int)Species.Darmanitan && pkm.Species == 2) { } // this one is OK, Galarian non-Zen + if (pkm.Species == (int)Species.Darmanitan && pkm.AltForm == 2) { } // this one is OK, Galarian non-Zen else return GetInvalid(LFormBattle); }