Flag past gen transfers

not valid yet
This commit is contained in:
Kurt 2019-11-15 19:37:04 -08:00
parent 8c33318852
commit 451694da28

View file

@ -107,6 +107,8 @@ namespace PKHeX.Core
var pi = (PersonalInfoSWSH)PersonalTable.SWSH.GetFormeEntry(species, pkm.AltForm); var pi = (PersonalInfoSWSH)PersonalTable.SWSH.GetFormeEntry(species, pkm.AltForm);
if (!pi.IsPresentInGame) if (!pi.IsPresentInGame)
data.AddLine(GetInvalid(LTransferBad)); data.AddLine(GetInvalid(LTransferBad));
else if (pkm.GenNumber != 8)
data.AddLine(GetInvalid(LTransferBad));
} }
public IEnumerable<CheckResult> VerifyVCEncounter(PKM pkm, IEncounterable encounter, ILocation transfer, IList<CheckMoveResult> Moves) public IEnumerable<CheckResult> VerifyVCEncounter(PKM pkm, IEncounterable encounter, ILocation transfer, IList<CheckMoveResult> Moves)