From c2cf824afdbb1902a3b0efd0e378fd10da2b506e Mon Sep 17 00:00:00 2001 From: Kurt Date: Thu, 26 Oct 2017 20:18:32 -0700 Subject: [PATCH] =?UTF-8?q?Fix=20{0xE8,=20"=EC=B7=84"}=20-=20{"=EC=B8=84",?= =?UTF-8?q?=200xF2}=20KOR=20swap?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit that's silly lol #1547 --- PKHeX.Core/PKM/PK2.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/PKHeX.Core/PKM/PK2.cs b/PKHeX.Core/PKM/PK2.cs index a753b1a14..48ceed2b2 100644 --- a/PKHeX.Core/PKM/PK2.cs +++ b/PKHeX.Core/PKM/PK2.cs @@ -147,8 +147,10 @@ private IEnumerable GetNonNickname() { var name = PKX.GetSpeciesNameGeneration(Species, GuessedLanguage(), Format); var bytes = SetString(name, StringLength); - return bytes.Concat(Enumerable.Repeat((byte)0x50, nick.Length - bytes.Length)) - .Select(b => (byte)(b == 0xF2 ? 0xE8 : b)); // Decimal point<->period fix + var data = bytes.Concat(Enumerable.Repeat((byte) 0x50, nick.Length - bytes.Length)); + if (!Korean) + data = data.Select(b => (byte)(b == 0xF2 ? 0xE8 : b)); // Decimal point<->period fix + return data; } public bool IsNicknamedBank {