sanity check necrozma forms (#2638)

smogon allows Dusk Mane as well as Dusk-Mane as their form argument
This commit is contained in:
Archit Date 2020-01-16 12:48:53 +08:00 committed by Kurt
parent 41f909c08a
commit 22ed59d6a3

View file

@ -692,9 +692,9 @@ namespace PKHeX.Core
return $"C-{form}";
// Necrozma
case (int)Core.Species.Necrozma when form == "Dusk-Mane":
case (int)Core.Species.Necrozma when form == "Dusk-Mane" || form == "Dusk Mane":
return "Dusk";
case (int)Core.Species.Necrozma when form == "Dawn-Wings":
case (int)Core.Species.Necrozma when form == "Dawn-Wings" || form == "Dawn Wings":
return "Dawn";
// Toxtricity