mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-06 05:27:14 -05:00
Add totem showdown export
soontm https://github.com/kwsch/PKHeX/issues/1626#issuecomment-345417263
This commit is contained in:
parent
311e110f6b
commit
b111b9dad4
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user