Fix {0xE8, "췄"} - {"츄", 0xF2} KOR swap

that's silly lol
#1547
This commit is contained in:
Kurt 2017-10-26 20:18:32 -07:00
parent 02cfeef4cd
commit c2cf824afd

View File

@ -147,8 +147,10 @@ private IEnumerable<byte> 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
{