Correct japanese text reference

Fetch the language name from PKX instead of grabbing the entire list. ja
!= jp :)
This commit is contained in:
Kurt 2017-02-04 18:28:34 -08:00
parent 25f6b5259b
commit 560e471753

View file

@ -340,7 +340,6 @@ namespace PKHeX.Core
Met_Location = 30013, // "Kanto region", hardcoded.
Gender = PersonalTable.SM[Species].RandomGender,
OT_Name = PKX.getG1ConvertedString(otname, Japanese),
Nickname = Util.getSpeciesList(Japanese ? "jp" : "en")[Species],
IsNicknamed = false,
Country = PKMConverter.Country,
@ -353,6 +352,7 @@ namespace PKHeX.Core
Geo1_Country = PKMConverter.Country,
Geo1_Region = PKMConverter.Region
};
pk7.Nickname = PKX.getSpeciesNameGeneration(pk7.Species, pk7.Language, pk7.Format);
pk7.OT_Friendship = pk7.HT_Friendship = PersonalTable.SM[Species].BaseFriendship;
// IVs