From e5d7a063af3a7ddb848e6409f3cde2255ca82492 Mon Sep 17 00:00:00 2001 From: Kurt Date: Sun, 24 Sep 2017 08:36:10 -0700 Subject: [PATCH] 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 --- PKHeX.Core/PKM/PK2.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKHeX.Core/PKM/PK2.cs b/PKHeX.Core/PKM/PK2.cs index eda3492df..dcc6c35fa 100644 --- a/PKHeX.Core/PKM/PK2.cs +++ b/PKHeX.Core/PKM/PK2.cs @@ -21,7 +21,7 @@ public class PK2 : PKM 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) {