mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 12:33:06 +00:00
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:
parent
48c2c43293
commit
f85ee7615d
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue