diff --git a/PKHeX.WinForms/Misc/QR.cs b/PKHeX.WinForms/Misc/QR.cs index 4b9983f1c..5bcb177af 100644 --- a/PKHeX.WinForms/Misc/QR.cs +++ b/PKHeX.WinForms/Misc/QR.cs @@ -108,7 +108,7 @@ internal static byte[] getQRData() pkstr = pkstr.Substring(0, pkstr.IndexOf(cap, StringComparison.Ordinal)); // Trim outro try { - if (!pkstr.StartsWith("http") && pkstr.StartsWith(BadQRUrl)) // G7 + if (!pkstr.StartsWith("http") && !pkstr.StartsWith(BadQRUrl)) // G7 { string fstr = Regex.Unescape(pkstr); byte[] raw = Encoding.Unicode.GetBytes(fstr); diff --git a/PKHeX/Legality/Core.cs b/PKHeX/Legality/Core.cs index 58521965d..ebbf3b879 100644 --- a/PKHeX/Legality/Core.cs +++ b/PKHeX/Legality/Core.cs @@ -371,21 +371,21 @@ private static int getMaxSpeciesOrigin(int generation) switch (generation) { case 1: - return Legal.MaxSpeciesID_1; + return MaxSpeciesID_1; case 2: - return Legal.MaxSpeciesID_2; + return MaxSpeciesID_2; case 3: - return Legal.MaxSpeciesID_3; + return MaxSpeciesID_3; case 4: - return Legal.MaxSpeciesID_4; + return MaxSpeciesID_4; case 5: - return Legal.MaxSpeciesID_5; + return MaxSpeciesID_5; case 6: - return Legal.MaxSpeciesID_6; + return MaxSpeciesID_6; case 7: - return Legal.MaxSpeciesID_7; + return MaxSpeciesID_7; default: - return Legal.MaxSpeciesID_7; + return MaxSpeciesID_7; } }