mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 14:30:56 +00:00
Fix jpn/kor pkm collision
OTname length is 6 in JP games and 11 in kor/eng Thanks smileynation! https://projectpokemon.org/home/forums/topic/41689-bug-reporting-japanese-name-of-kin-gin-version-vc-jpn
This commit is contained in:
parent
496cc35f97
commit
e5d7a063af
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ namespace PKHeX.Core
|
|||
internal const int STRLEN_J = 6;
|
||||
internal const int STRLEN_U = 11;
|
||||
private int StringLength => Japanese ? STRLEN_J : STRLEN_U;
|
||||
public override bool Korean => otname[0] <= 0xB;
|
||||
public override bool Korean => !Japanese && otname[0] <= 0xB;
|
||||
|
||||
public override string GetString(int Offset, int Count)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue