mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-15 08:47:14 +00:00
Add egg forme check
all other egg formes that are disallowed are checked later; check for totems here Closes #1667
This commit is contained in:
parent
f13cc289a7
commit
c5b7ebf50a
2 changed files with 8 additions and 0 deletions
|
@ -1867,6 +1867,14 @@ namespace PKHeX.Core
|
|||
|
||||
if (EncounterMatch is EncounterSlot w && w.Type == SlotType.FriendSafari)
|
||||
VerifyFormFriendSafari();
|
||||
else if (EncounterMatch is EncounterEgg)
|
||||
{
|
||||
if (FormConverter.IsTotemForm(pkm.Species, pkm.AltForm))
|
||||
{
|
||||
AddLine(Severity.Invalid, V317, CheckIdentifier.Form);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
switch (pkm.Species)
|
||||
{
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue