mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-30 20:49:25 -05:00
@@ -3531,7 +3531,11 @@ private void clickLegality(object sender, EventArgs e)
|
||||
int slot = getSlot(sender);
|
||||
PKM pk;
|
||||
if (slot >= 0)
|
||||
{
|
||||
pk = SAV.getStoredSlot(getPKXOffset(slot));
|
||||
if (slot < 30 || slot >= 36) // not party
|
||||
pk.Box = CB_BoxSelect.SelectedIndex; // mark as in a box
|
||||
}
|
||||
else if (verifiedPKM())
|
||||
pk = preparePKM();
|
||||
else
|
||||
|
||||
@@ -1677,6 +1677,14 @@ private void verifyForm()
|
||||
return;
|
||||
}
|
||||
break;
|
||||
|
||||
// Party Only Forms
|
||||
case 492: // Shaymin
|
||||
case 676: // Furfrou
|
||||
case 720: // Hoopa
|
||||
if (pkm.AltForm != 0 && pkm.Box > -1) // has form but stored in box
|
||||
AddLine(Severity.Invalid, "Form cannot exist outside of Party.", CheckIdentifier.Form);
|
||||
break;
|
||||
}
|
||||
|
||||
if (pkm.Format >= 7 && pkm.GenNumber < 7 && pkm.AltForm != 0)
|
||||
|
||||
Reference in New Issue
Block a user