From 59144ddb0d031088340266d7fd38b48f02597caa Mon Sep 17 00:00:00 2001 From: Kurt Date: Mon, 7 Feb 2022 21:46:05 -0800 Subject: [PATCH] Check level for new evo methods Can't learn move below this level --- .../Legality/Restrictions/EvolutionRestrictions.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/PKHeX.Core/Legality/Restrictions/EvolutionRestrictions.cs b/PKHeX.Core/Legality/Restrictions/EvolutionRestrictions.cs index 903089c9e..e218f11c7 100644 --- a/PKHeX.Core/Legality/Restrictions/EvolutionRestrictions.cs +++ b/PKHeX.Core/Legality/Restrictions/EvolutionRestrictions.cs @@ -83,6 +83,9 @@ namespace PKHeX.Core new byte[] { 00, 00, 00, 00, 02, 02, 02, 02, 02 }, // Mamoswine (Piloswine with Ancient Power) new byte[] { 00, 00, 00, 00, 00, 00, 00, 02, 28 }, // Tsareena (Steenee with Stomp) new byte[] { 00, 00, 00, 00, 00, 00, 00, 00, 35 }, // Grapploct (Clobbopus with Taunt) + new byte[] { 00, 00, 00, 00, 00, 00, 00, 00, 00 }, // Wyrdeer (Stantler with AGILE Psyshield Bash) + new byte[] { 00, 00, 00, 00, 00, 00, 00, 00, 00 }, // Overqwil (Qwilfish with STRONG Barb Barrage) + new byte[] { 00, 00, 00, 00, 00, 00, 00, 00, 00 }, // Basculegion (Basculin-2 with Recoil Move) }; private static readonly byte[] MinLevelEvolutionWithMove_8LA = @@ -97,6 +100,9 @@ namespace PKHeX.Core 34, // Mamoswine (Piloswine with Ancient Power) 99, // Tsareena (Steenee with Stomp) 99, // Grapploct (Clobbopus with Taunt) + 31, // Wyrdeer (Stantler with AGILE Psyshield Bash) + 25, // Overqwil (Qwilfish with STRONG Barb Barrage) + 34, // Basculegion (Basculin-2 with Recoil Move) }; private static readonly bool[][] CanEggHatchWithEvolveMove = @@ -111,6 +117,9 @@ namespace PKHeX.Core new [] { false, false, true, true, true, true, true, true, true }, // Mamoswine (Piloswine with Ancient Power) new [] { false, false, false, false, false, false, false, false, false }, // Tsareena (Steenee with Stomp) new [] { false, false, false, false, false, false, false, false, true }, // Grapploct (Clobbopus with Taunt) + new [] { false, false, false, false, false, false, false, false, false }, // Wyrdeer (Stantler with AGILE Psyshield Bash) + new [] { false, false, false, false, false, false, false, false, false }, // Overqwil (Qwilfish with STRONG Barb Barrage) + new [] { false, false, false, false, false, false, false, false, false }, // Basculegion (Basculin-2 with Recoil Move) }; ///