update forme to showdown strings (#2558)

* update forme to showdown strings

Galarian is represented as Galar on PS!
Polteageist has no form atall
galarian now called Galar by default to match with Alola as a forme. changed darmanitan forme-strings in form converter. Added sinistea to the forme ignore list when converting to showdown
This commit is contained in:
Archit Date 2019-12-04 08:41:52 +08:00 committed by Kurt
parent e9b9141eda
commit 3526c37f1e
3 changed files with 12 additions and 4 deletions

View file

@ -652,6 +652,8 @@ namespace PKHeX.Core
case (int)Core.Species.Furfrou:
case (int)Core.Species.Greninja:
case (int)Core.Species.Rockruff:
case (int)Core.Species.Polteageist:
case (int)Core.Species.Sinistea:
return string.Empty;
default:
if (Legal.Totem_USUM.Contains(spec) && form == "Large")
@ -699,6 +701,12 @@ namespace PKHeX.Core
case (int)Core.Species.Toxtricity when form == "Low-Key":
return "Low Key";
// Darmanitan
case (int)Core.Species.Darmanitan:
if (form == "Zen-Galar")
return "Zen Galar";
return form;
default:
if (Legal.Totem_USUM.Contains(spec) && form.EndsWith("Totem"))
return "Large";

View file

@ -257,10 +257,10 @@ namespace PKHeX.Core
}
return new[]
{
types[0] + " " + forms[555], // Standard
types[0] + " " + forms[943], // Zen
forms[Galarian] + " " + forms[555], // Standard
forms[Galarian] + " " + forms[943], // Zen
forms[555], // Standard
forms[943], // Zen
forms[Galarian], // Standard
forms[943] + " " + forms[Galarian], // Zen
};
}