From ff849b9c5b6e4d26860a0942ca0f8fb57d0a3fa7 Mon Sep 17 00:00:00 2001 From: Kurt Date: Sun, 31 May 2020 13:29:13 -0700 Subject: [PATCH] Allow fullness values for format8 ty anubis this totally isn't fullness, but the toys increase the value (saturation?) --- PKHeX.Core/Legality/Verifiers/MiscVerifier.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/PKHeX.Core/Legality/Verifiers/MiscVerifier.cs b/PKHeX.Core/Legality/Verifiers/MiscVerifier.cs index de47dda43..206e67b2c 100644 --- a/PKHeX.Core/Legality/Verifiers/MiscVerifier.cs +++ b/PKHeX.Core/Legality/Verifiers/MiscVerifier.cs @@ -311,7 +311,7 @@ public void VerifyVersionEvolution(LegalityAnalysis data) private static void VerifyFullness(LegalityAnalysis data, PKM pkm) { - if (pkm.Format >= 8 || pkm.IsEgg) + if (pkm.IsEgg) { if (pkm.Fullness != 0) data.AddLine(GetInvalid(string.Format(LMemoryStatFullness, 0), Encounter)); @@ -320,6 +320,13 @@ private static void VerifyFullness(LegalityAnalysis data, PKM pkm) return; } + if (pkm.Format >= 8) + { + if (pkm.Enjoyment != 0) + data.AddLine(GetInvalid(string.Format(LMemoryStatEnjoyment, 0), Encounter)); + return; + } + if (pkm.Format != 6 || !pkm.IsUntraded || pkm.XY) return;