mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-24 04:53:08 +00:00
parent
5e1937d8b4
commit
2b76fe148d
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ namespace PKHeX.Core
|
||||||
|
|
||||||
if (pkm.AltForm != 0 && BattleOnly.Contains(pkm.Species))
|
if (pkm.AltForm != 0 && BattleOnly.Contains(pkm.Species))
|
||||||
{
|
{
|
||||||
if (pkm.Species == (int)Species.Darmanitan && pkm.Species == 2) { } // this one is OK, Galarian non-Zen
|
if (pkm.Species == (int)Species.Darmanitan && pkm.AltForm == 2) { } // this one is OK, Galarian non-Zen
|
||||||
else return GetInvalid(LFormBattle);
|
else return GetInvalid(LFormBattle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue