mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-09 11:39:10 -05:00
Correct japanese text reference
Fetch the language name from PKX instead of grabbing the entire list. ja != jp :)
This commit is contained in:
@@ -340,7 +340,6 @@ public PK7 convertToPK7()
|
||||
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 @@ public PK7 convertToPK7()
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user