mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-25 08:55:10 -05:00
@@ -251,6 +251,7 @@ private void ParsePK8()
|
||||
{
|
||||
UpdateInfo();
|
||||
UpdateChecks();
|
||||
Transfer.VerifyTransferLegalityG8(this);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -105,9 +105,11 @@ public void VerifyTransferLegalityG8(LegalityAnalysis data)
|
||||
var pkm = data.pkm;
|
||||
int species = pkm.Species;
|
||||
var pi = (PersonalInfoSWSH)PersonalTable.SWSH.GetFormeEntry(species, pkm.AltForm);
|
||||
if (!pi.IsPresentInGame)
|
||||
if (!pi.IsPresentInGame) // Can't transfer
|
||||
data.AddLine(GetInvalid(LTransferBad));
|
||||
else if (pkm.GenNumber != 8)
|
||||
else if (pkm.GenNumber != 8) // Can't transfer yet
|
||||
data.AddLine(GetInvalid(LTransferBad));
|
||||
else if (pi.PokeDexIndex == 0) // Can't breed cuz no transfer yet
|
||||
data.AddLine(GetInvalid(LTransferBad));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user