mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-06 22:44:25 -05:00
Tweak transferred encounter check
#872 Latter valid line unnecessary; verbose spits out original encounter info.
This commit is contained in:
parent
234189b627
commit
c8b00a183b
|
|
@ -643,11 +643,9 @@ private CheckResult verifyVCEncounter(int baseSpecies)
|
|||
species = baseSpecies;
|
||||
|
||||
// Check existing EncounterMatch
|
||||
string oldEncounter = (EncounterMatch as IEncounterable)?.Name;
|
||||
if (oldEncounter == null)
|
||||
if ((EncounterOriginal ?? EncounterMatch) == null)
|
||||
return new CheckResult(Severity.Invalid, "Unable to match an encounter from origin game.", CheckIdentifier.Encounter);
|
||||
|
||||
AddLine(new CheckResult(Severity.Valid, "Origin game encounter: " + oldEncounter, CheckIdentifier.Encounter));
|
||||
var s = EncounterMatch as EncounterStatic;
|
||||
if (s != null && s.Version == GameVersion.SPECIAL)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user