More ZA form considerations for Pumpkaboo/Gourgeist

Initial handling only really considered the form name changes for English, but in some localizations, more than just Average and Super got changed. Now include all four updated form strings for all localizations

FRA: Mini -> Petite, Maxi -> Grande
ITA: Mini -> Piccola
DEU: S -> Kleine, L -> Große
ES-ES: Pequeño -> Pequeña
This commit is contained in:
sora10pls
2025-11-03 12:23:49 -05:00
parent 6b1939deaf
commit d5cc675d15
11 changed files with 33 additions and 10 deletions

View File

@@ -38,7 +38,7 @@ public static string[] GetFormList(ushort species, IReadOnlyList<string> types,
<= Legal.MaxSpeciesID_3 => GetFormsGen3(species, types, forms, generation),
<= Legal.MaxSpeciesID_4 => GetFormsGen4(species, types, forms, generation),
<= Legal.MaxSpeciesID_5 => GetFormsGen5(species, types, forms, generation),
<= Legal.MaxSpeciesID_6 => GetFormsGen6(species, types, forms, genders, generation, context),
<= Legal.MaxSpeciesID_6 => GetFormsGen6(species, types, forms, genders, context),
<= Legal.MaxSpeciesID_7_USUM => GetFormsGen7(species, types, forms, generation),
<= Legal.MaxSpeciesID_8a => GetFormsGen8(species, generation, types, forms, genders),
_ => GetFormsGen9(species, generation, types, forms, genders),
@@ -220,11 +220,12 @@ private static string[] GetFormsGen5(ushort species, IReadOnlyList<string> types
};
}
private static string[] GetFormsGen6(ushort species, IReadOnlyList<string> types, IReadOnlyList<string> forms, IReadOnlyList<string> genders, byte generation, EntityContext context)
private static string[] GetFormsGen6(ushort species, IReadOnlyList<string> types, IReadOnlyList<string> forms, IReadOnlyList<string> genders, EntityContext context)
{
var generation = context.Generation();
return (Species)species switch
{
Greninja => GetFormsGreninja(types, forms, new string[!context.IsMegaContext() ? 2 : context.Generation() >= 9 ? 4 : 3]),
Greninja => GetFormsGreninja(types, forms, new string[!context.IsMegaContext() ? 2 : generation >= 9 ? 4 : 3]),
Scatterbug or Spewpa or Vivillon => [
forms[(int)Vivillon], // Icy Snow
forms[963], // Polar
@@ -254,7 +255,7 @@ private static string[] GetFormsGen6(ushort species, IReadOnlyList<string> types
forms[988], // Blue
forms[989], // White
],
Floette => GetFormsFloette(forms, new string[!context.IsMegaContext() ? 5 : context.Generation() >= 9 ? 7 : 6]),
Floette => GetFormsFloette(forms, new string[!context.IsMegaContext() ? 5 : generation >= 9 ? 7 : 6]),
Furfrou => [
forms[(int)Furfrou], // Natural
forms[995], // Heart
@@ -275,11 +276,11 @@ private static string[] GetFormsGen6(ushort species, IReadOnlyList<string> types
forms[(int)Aegislash], // Shield
forms[1005], // Blade
],
Sliggoo or Goodra or Avalugg when context.Generation() >= 8 => GetFormsHisui(species, context.Generation(), types, forms),
Sliggoo or Goodra or Avalugg when generation >= 8 => GetFormsHisui(species, generation, types, forms),
Pumpkaboo or Gourgeist when generation >= 9 => [
forms[MediumVariety],
forms[1006], // Small
forms[1007], // Large
forms[SmallVariety],
forms[LargeVariety],
forms[JumboVariety],
],
Pumpkaboo or Gourgeist => [
@@ -288,11 +289,11 @@ private static string[] GetFormsGen6(ushort species, IReadOnlyList<string> types
forms[1007], // Large
forms[1008], // Super
],
Xerneas => [
Xerneas when generation < 9 => [
forms[(int)Xerneas], // Neutral
forms[1012], // Active
],
Zygarde => GetFormsZygarde(forms, new string[context.IsMegaContext() && context.Generation() >= 9 ? 6 : 5]),
Zygarde => GetFormsZygarde(forms, new string[context.IsMegaContext() && generation >= 9 ? 6 : 5]),
Hoopa => [
forms[(int)Hoopa], // Confined
forms[1018], // Unbound
@@ -976,7 +977,9 @@ private static string[] GetFormsZygarde(IReadOnlyList<string> forms, string[] re
private const int Terastal = 1135;
private const int Stellar = 1136;
private const int MediumVariety = 1137;
private const int JumboVariety = 1138;
private const int SmallVariety = 1138;
private const int LargeVariety = 1139;
private const int JumboVariety = 1140;
public static string GetGigantamaxName(IReadOnlyList<string> forms) => forms[Gigantamax];

View File

@@ -1136,4 +1136,6 @@ Edle
Terastal
Stellar
Mittelgroße
Kleine
Große
Extragroße

View File

@@ -1136,4 +1136,6 @@ Masterpiece
Terastal
Stellar
Medium
Small
Large
Jumbo

View File

@@ -1136,4 +1136,6 @@ Exquisita
Teracristal
Astral
Mediana
Pequeña
Grande
Enorme

View File

@@ -1136,4 +1136,6 @@ Exquisita
Teracristal
Astral
Mediana
Pequeña
Grande
Enorme

View File

@@ -1136,4 +1136,6 @@ Exceptionnelle
Téracristal
Stellaire
Moyenne
Petite
Grande
Giga

View File

@@ -1136,4 +1136,6 @@ Eccezionale
Teracristal
Astrale
Media
Piccola
Grande
Gigante

View File

@@ -1136,4 +1136,6 @@
テラスタル
ステラ
ちゅうだましゅ
こだましゅ
おおだましゅ
ギガだましゅ

View File

@@ -1136,4 +1136,6 @@
테라스탈폼
스텔라폼
중과종
소과종
대과종
특대과종

View File

@@ -1136,4 +1136,6 @@
太晶形态
星晶形态
中颗种
小颗种
大颗种
巨颗种

View File

@@ -1136,4 +1136,6 @@ Mega蒂安希
太晶形態
星晶形態
中顆種
小顆種
大顆種
巨顆種