Fix pb7 zh string handling

no remapping ok
This commit is contained in:
Kurt 2018-12-08 10:02:32 -08:00
parent 89028b8a41
commit 3038c1eedb

View file

@ -200,19 +200,7 @@ namespace PKHeX.Core
public override string Nickname
{
get => GetString(0x40, 24);
set
{
if (!IsNicknamed)
{
int lang = PKX.GetSpeciesNameLanguage(Species, value, 7, Language);
if (lang == 9 || lang == 10)
{
StringConverter.SetString7(value, 12, lang, chinese: true).CopyTo(Data, 0x40);
return;
}
}
SetString(value, 12).CopyTo(Data, 0x40);
}
set => SetString(value, 12).CopyTo(Data, 0x40);
}
public override int Move1