mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-02 08:48:52 -05:00
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:
@@ -50,6 +50,10 @@ public override bool IsMatchDeferred(PKM pkm)
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user