un-trim alcremie form strings (cream vs swirl) (#3246)

also use proper alcremie forms for showdown
This commit is contained in:
Archit Date 2021-08-22 04:02:37 +08:00 committed by GitHub
parent 8f4f86e88e
commit 27059268ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View file

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