mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-06 13:40:50 -05:00
Localize zygarde complete
form string already there, just repoint
This commit is contained in:
parent
930d07c080
commit
9a04109e01
|
|
@ -578,8 +578,7 @@ private static string ConvertFormToShowdown(string form, int spec)
|
|||
return "Pokeball"; // Vivillon
|
||||
case 718: // Zygarde
|
||||
form = form.Replace("-C", string.Empty);
|
||||
form = form.Replace("50%", string.Empty);
|
||||
return form.Replace("100%", "Complete");
|
||||
return form.Replace("50%", string.Empty);
|
||||
case 774: // Minior
|
||||
if (form.StartsWith("M-"))
|
||||
return "Meteor";
|
||||
|
|
@ -618,7 +617,7 @@ private static string ConvertFormFromShowdown(string form, int spec, int ability
|
|||
case 718 when string.IsNullOrWhiteSpace(form):
|
||||
return "50%";
|
||||
case 718 when form == "Complete":
|
||||
return "100%";
|
||||
return form;
|
||||
case 718 when ability == 211:
|
||||
return "-C"; // Power Construct
|
||||
|
||||
|
|
|
|||
|
|
@ -409,10 +409,10 @@ private static string[] GetFormsGen6(int species, IReadOnlyList<string> types, I
|
|||
return new[]
|
||||
{
|
||||
forms[718], // 50% (Aura Break)
|
||||
"10%", // (Aura Break)
|
||||
"10%-C", // Cell (Power Construct)
|
||||
"50%-C", // Cell (Power Construct)
|
||||
"100%-C" // Cell (Power Construct)
|
||||
forms[1013], // 10% (Aura Break)
|
||||
forms[1014] + "-C", // 10% Cell (Power Construct)
|
||||
forms[1015] + "-C", // 50% Cell (Power Construct)
|
||||
forms[1016], // 100% Cell (Power Construct)
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user