Defer formargument for raids

Closes #2693
Account for runerigus too, if they ever have a den for it ;)

Co-Authored-By: crzyc <crzyc@users.noreply.github.com>
This commit is contained in:
Kurt 2020-02-09 15:04:45 -08:00
parent 239b2f4b52
commit cb5d8186fd

View file

@ -50,6 +50,10 @@ namespace PKHeX.Core
return true;
if (pkm is IGigantamax g && g.CanGigantamax != CanGigantamax)
return true;
if (Species == (int)Core.Species.Alcremie && pkm is IFormArgument a && a.FormArgument != 0)
return true;
if (Species == (int)Core.Species.Runerigus && pkm is IFormArgument r && r.FormArgument != 0)
return true;
return false;
}