diff --git a/pkNX.Game/File/GameFile.cs b/pkNX.Game/File/GameFile.cs index 82cc3c91..c5933476 100644 --- a/pkNX.Game/File/GameFile.cs +++ b/pkNX.Game/File/GameFile.cs @@ -8,9 +8,6 @@ public enum GameFile /// Contains the game text that is commonly re-used, not related to the storyline or general overworld content. GameText, - /// Contains the story text that is used to tell the story via overworld events and interactions. - StoryText, - /// Localized Game Text for . GameText0, @@ -41,6 +38,9 @@ public enum GameFile /// Localized Game Text for . GameText9, + /// Contains the story text that is used to tell the story via overworld events and interactions. + StoryText, + /// Localized Story Text for . StoryText0, diff --git a/pkNX.Game/File/GameFileMapping.cs b/pkNX.Game/File/GameFileMapping.cs index e448b770..1653f73d 100644 --- a/pkNX.Game/File/GameFileMapping.cs +++ b/pkNX.Game/File/GameFileMapping.cs @@ -24,7 +24,7 @@ public class GameFileMapping internal IFileContainer GetFile(GameFile file, int language) { if (file == GameFile.GameText || file == GameFile.StoryText) - file += language; // shift to localized language + file += language + 1; // shift to localized language if (Cache.TryGetValue(file, out var container)) return container;