Localize zygarde complete

form string already there, just repoint
This commit is contained in:
Kurt 2018-09-12 21:16:14 -07:00
parent 930d07c080
commit 9a04109e01
2 changed files with 6 additions and 7 deletions

View file

@ -578,8 +578,7 @@ namespace PKHeX.Core
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 @@ namespace PKHeX.Core
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

View file

@ -409,10 +409,10 @@ namespace PKHeX.Core
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)
};
}
}