Replace dashes with spaces for cosplay pikachu (rock star)

Can't replace all dashes with spaces, because Pom-Pom Oricorio exists.
This commit is contained in:
Kurt 2021-02-02 09:19:29 -08:00
parent 48c2c43293
commit f85ee7615d

View file

@ -107,7 +107,7 @@ namespace PKHeX.Core
(int)Zygarde when ability == 211 => $"{(string.IsNullOrWhiteSpace(form) ? "50%" : "10%")}-C",
(int)Greninja when ability == 210 => "Ash", // Battle Bond
(int)Rockruff when ability == 020 => "Dusk", // Rockruff-1
(int)Urshifu => form.Replace('-', ' '),
(int)Urshifu or (int)Pikachu => form.Replace('-', ' '), // Strike and Cosplay
_ => Legal.Totem_USUM.Contains(species) && form.EndsWith("Totem") ? "Large" : form,
};