From 56eaaf229973a2df3a997446b254fb045702b43b Mon Sep 17 00:00:00 2001 From: javierhimura Date: Mon, 27 Mar 2017 21:20:54 +0200 Subject: [PATCH] Mew and Deoxys correction --- PKHeX/Legality/Checks.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/PKHeX/Legality/Checks.cs b/PKHeX/Legality/Checks.cs index 7859e9d42..80dd58cef 100644 --- a/PKHeX/Legality/Checks.cs +++ b/PKHeX/Legality/Checks.cs @@ -821,10 +821,11 @@ namespace PKHeX.Core G3Result = verifyEncounterEvent() ?? new CheckResult(Severity.Invalid, V78, CheckIdentifier.Encounter); } - // Now check Mew and Deoxys, return only Event Result if a valid gen 3 event is found, if not return static encounter result - if (pkm.Species != 151 || pkm.Species != 386) + // Now check Mew and Deoxys, they can be event or static encounters both with fatefull encounter + if (pkm.Species == 151 || pkm.Species == 386) { var EventResult = verifyEncounterEvent(); + // Only return event if is valid, if not return result from static encounter if (EventResult?.Valid ?? false) G3Result = EventResult; }