def get_player_level(arm9: bytes, config: Pmd2Data) -> int:
     """
     Gets the level of the player starter
     """
     return HardcodedDefaultStarters.get_player_level(arm9, config)
示例#2
0
文件: module.py 项目: retke/skytemple
 def get_starter_level_player(self) -> int:
     arm9 = self.project.get_binary(BinaryName.ARM9)
     static_data = self.project.get_rom_module().get_static_data()
     return HardcodedDefaultStarters.get_player_level(arm9, static_data)