From 1c26c7713fa9ed6056b4162896758a55aaca2f0d Mon Sep 17 00:00:00 2001 From: Kurt Date: Fri, 16 Nov 2018 18:17:01 -0800 Subject: [PATCH] Fix starter bypass lol oops, hotfix inc --- PKHeX.Core/Legality/Verifiers/MiscVerifier.cs | 4 ++-- Tests/PKHeX.Core.Tests/PKHeX.Core.Tests.csproj | 14 +++----------- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/PKHeX.Core/Legality/Verifiers/MiscVerifier.cs b/PKHeX.Core/Legality/Verifiers/MiscVerifier.cs index c3101a833..9863f4a70 100644 --- a/PKHeX.Core/Legality/Verifiers/MiscVerifier.cs +++ b/PKHeX.Core/Legality/Verifiers/MiscVerifier.cs @@ -277,11 +277,11 @@ namespace PKHeX.Core private static void VerifyBelugaStats(LegalityAnalysis data, PB7 pb7) { - if (Math.Abs(pb7.HeightAbsolute - pb7.CalcHeightAbsolute) > 0.001 && !IsStarter(pb7)) + if (Math.Abs(pb7.HeightAbsolute - pb7.CalcHeightAbsolute) > 0.001) data.AddLine(GetInvalid(LStatIncorrectHeight, CheckIdentifier.Encounter)); if (Math.Abs(pb7.WeightAbsolute - pb7.CalcWeightAbsolute) > 0.001) data.AddLine(GetInvalid(LStatIncorrectWeight, CheckIdentifier.Encounter)); - if (pb7.Stat_CP != pb7.CalcCP) + if (pb7.Stat_CP != pb7.CalcCP && !IsStarter(pb7)) data.AddLine(GetInvalid(LStatIncorrectCP, CheckIdentifier.Encounter)); } diff --git a/Tests/PKHeX.Core.Tests/PKHeX.Core.Tests.csproj b/Tests/PKHeX.Core.Tests/PKHeX.Core.Tests.csproj index 9aeb17c12..3b6dad92c 100644 --- a/Tests/PKHeX.Core.Tests/PKHeX.Core.Tests.csproj +++ b/Tests/PKHeX.Core.Tests/PKHeX.Core.Tests.csproj @@ -6,16 +6,6 @@ false - - - - - - - Always - - - @@ -28,7 +18,9 @@ - + + ResXFileCodeGenerator +