Handle meowstic formes

Closes #1984
This commit is contained in:
Kurt
2018-06-06 16:22:14 -07:00
parent e52ae06721
commit dcdeb361f0
3 changed files with 4 additions and 3 deletions

View File

@@ -282,9 +282,6 @@ public ShowdownSet(PKM pkm)
string[] Forms = PKX.GetFormList(Species, types, forms, genderForms, pkm.Format);
Form = pkm.AltForm > 0 && pkm.AltForm < Forms.Length ? Forms[pkm.AltForm] : string.Empty;
Format = pkm.Format;
if (Form == "F")
Gender = string.Empty;
}
private void ParseFirstLine(string line)
{

View File

@@ -2214,6 +2214,10 @@ bool IsValidPikachuCap()
return;
}
break;
case 678: // Meowstic
if (pkm.AltForm != pkm.Gender)
AddLine(Severity.Invalid, V203, CheckIdentifier.Form);
break;
case 773: // Silvally
{
int item = pkm.HeldItem;