mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +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.Furfrou:
|
||||||
case (int)Core.Species.Greninja:
|
case (int)Core.Species.Greninja:
|
||||||
case (int)Core.Species.Rockruff:
|
case (int)Core.Species.Rockruff:
|
||||||
|
case (int)Core.Species.Polteageist:
|
||||||
|
case (int)Core.Species.Sinistea:
|
||||||
return string.Empty;
|
return string.Empty;
|
||||||
default:
|
default:
|
||||||
if (Legal.Totem_USUM.Contains(spec) && form == "Large")
|
if (Legal.Totem_USUM.Contains(spec) && form == "Large")
|
||||||
|
@ -699,6 +701,12 @@ namespace PKHeX.Core
|
||||||
case (int)Core.Species.Toxtricity when form == "Low-Key":
|
case (int)Core.Species.Toxtricity when form == "Low-Key":
|
||||||
return "Low Key";
|
return "Low Key";
|
||||||
|
|
||||||
|
// Darmanitan
|
||||||
|
case (int)Core.Species.Darmanitan:
|
||||||
|
if (form == "Zen-Galar")
|
||||||
|
return "Zen Galar";
|
||||||
|
return form;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
if (Legal.Totem_USUM.Contains(spec) && form.EndsWith("Totem"))
|
if (Legal.Totem_USUM.Contains(spec) && form.EndsWith("Totem"))
|
||||||
return "Large";
|
return "Large";
|
||||||
|
|
|
@ -257,10 +257,10 @@ namespace PKHeX.Core
|
||||||
}
|
}
|
||||||
return new[]
|
return new[]
|
||||||
{
|
{
|
||||||
types[0] + " " + forms[555], // Standard
|
forms[555], // Standard
|
||||||
types[0] + " " + forms[943], // Zen
|
forms[943], // Zen
|
||||||
forms[Galarian] + " " + forms[555], // Standard
|
forms[Galarian], // Standard
|
||||||
forms[Galarian] + " " + forms[943], // Zen
|
forms[943] + " " + forms[Galarian], // Zen
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Binary file not shown.
Loading…
Add table
Reference in a new issue