mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 12:33:06 +00:00
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:
parent
e9b9141eda
commit
3526c37f1e
3 changed files with 12 additions and 4 deletions
|
@ -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";
|
||||
|
|
|
@ -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
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue