mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-03 17:29:13 +00:00
Fix pb7 zh string handling
no remapping ok
This commit is contained in:
parent
89028b8a41
commit
3038c1eedb
1 changed files with 1 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue