mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-09 15:25:53 -05: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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user