mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-24 00:24:11 -05:00
Add totem showdown export
soontm https://github.com/kwsch/PKHeX/issues/1626#issuecomment-345417263
This commit is contained in:
@@ -385,7 +385,7 @@ private static string ConvertFormToShowdown(string form, int spec)
|
||||
return string.Empty;
|
||||
default:
|
||||
if (Legal.Totem_USUM.Contains(spec) && form == "Large")
|
||||
return Legal.Totem_Alolan.Contains(spec) ? "Alola" : string.Empty;
|
||||
return Legal.Totem_Alolan.Contains(spec) ? "Alola-Totem" : "Totem";
|
||||
return form;
|
||||
}
|
||||
}
|
||||
@@ -424,6 +424,8 @@ private static string ConvertFormFromShowdown(string form, int spec, int ability
|
||||
return "Dawn";
|
||||
|
||||
default:
|
||||
if (Legal.Totem_USUM.Contains(spec) && form.EndsWith("Totem"))
|
||||
return "Large";
|
||||
return form;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user