mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-04 01:39:13 +00:00
Mew and Deoxys correction
This commit is contained in:
parent
a3fcb31530
commit
56eaaf2299
1 changed files with 3 additions and 2 deletions
|
@ -821,10 +821,11 @@ namespace PKHeX.Core
|
||||||
G3Result = verifyEncounterEvent() ?? new CheckResult(Severity.Invalid, V78, CheckIdentifier.Encounter);
|
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
|
// Now check Mew and Deoxys, they can be event or static encounters both with fatefull encounter
|
||||||
if (pkm.Species != 151 || pkm.Species != 386)
|
if (pkm.Species == 151 || pkm.Species == 386)
|
||||||
{
|
{
|
||||||
var EventResult = verifyEncounterEvent();
|
var EventResult = verifyEncounterEvent();
|
||||||
|
// Only return event if is valid, if not return result from static encounter
|
||||||
if (EventResult?.Valid ?? false)
|
if (EventResult?.Valid ?? false)
|
||||||
G3Result = EventResult;
|
G3Result = EventResult;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue