mirror of
https://github.com/kwsch/pkNX.git
synced 2026-04-25 23:36:55 -05:00
Add dex rank editor
This commit is contained in:
parent
b0b317d46f
commit
d14673f15e
|
|
@ -196,6 +196,7 @@ public enum GameFile
|
|||
|
||||
/// <summary> All pokedex research tasks </summary>
|
||||
DexResearch,
|
||||
DexRank,
|
||||
|
||||
ThrowParam,
|
||||
ThrowPermissionSet,
|
||||
|
|
|
|||
|
|
@ -212,6 +212,7 @@ internal void SaveAll()
|
|||
new(GameFile.StoryText8, 9, "bin", "message", "Simp_Chinese", "script"),
|
||||
new(GameFile.StoryText9, 10, "bin", "message", "Trad_Chinese", "script"),
|
||||
|
||||
new(GameFile.DexRank , ContainerType.SingleFile, "bin", "appli", "pokedex", "res_table", "pokedex_rank_table.bin"),
|
||||
new(GameFile.DexResearch , ContainerType.SingleFile, "bin", "appli", "pokedex", "res_table", "pokedex_research_task_table.bin"),
|
||||
new(GameFile.PokemonResourceList , ContainerType.SingleFile, "bin", "appli", "res_pokemon", "list", "pokemon_info_list.bin"),
|
||||
new(GameFile.MoveShop , ContainerType.SingleFile, "bin", "appli", "wazaremember", "bin", "wazashop_table.bin"),
|
||||
|
|
|
|||
|
|
@ -656,6 +656,12 @@ public void EditAppConfigList()
|
|||
PopFlat<AppConfigList8a, AppconfigEntry8a>(GameFile.AppConfigList, "App Config List", z => z.OriginalPath);
|
||||
}
|
||||
|
||||
[EditorCallable(EditorCategory.Misc)]
|
||||
public void EditPokedexRankTable()
|
||||
{
|
||||
PopFlat<PokedexRankTable, PokedexRankLevel>(GameFile.DexRank, "Pokedex Rank Table Editor", z => z.Rank.ToString());
|
||||
}
|
||||
|
||||
[EditorCallable(EditorCategory.Misc)] public void EditAppliStaffrollConfig() => PopFlatConfig(GameFile.AppliStaffrollConfig, "Appli Staffroll Config Editor");
|
||||
[EditorCallable(EditorCategory.Misc)] public void EditCommonGeneralConfig() => PopFlatConfig(GameFile.CommonGeneralConfig, "Common General Config Editor");
|
||||
[EditorCallable(EditorCategory.Misc)] public void EditDemoConfig() => PopFlatConfig(GameFile.DemoConfig, "Demo Config Editor");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user