def get_starter_default_ids(self) -> Tuple[int, int]: """Returns players & partner default starters""" arm9 = self.project.get_binary(BinaryName.ARM9) static_data = self.project.get_rom_module().get_static_data() player = HardcodedDefaultStarters.get_player_md_id(arm9, static_data) partner = HardcodedDefaultStarters.get_partner_md_id(arm9, static_data) return player, partner
def get_player_level(arm9: bytes, config: Pmd2Data) -> int: """ Gets the level of the player starter """ return HardcodedDefaultStarters.get_player_level(arm9, config)
def set_partner_level(value: int, arm9: bytearray, config: Pmd2Data): """ Sets the level of the partner starter """ return HardcodedDefaultStarters.set_partner_level(value, arm9, config)
def update(arm9): static_data = self.project.get_rom_module().get_static_data() HardcodedDefaultStarters.set_partner_level(level, arm9, static_data)
def get_starter_level_partner(self) -> int: arm9 = self.project.get_binary(BinaryName.ARM9) static_data = self.project.get_rom_module().get_static_data() return HardcodedDefaultStarters.get_partner_level(arm9, static_data)
def update(arm9): static_data = self.project.get_rom_module().get_static_data() HardcodedDefaultStarters.set_player_md_id(player, arm9, static_data) HardcodedDefaultStarters.set_partner_md_id(partner, arm9, static_data)
def set_player_level(value: u8, arm9: bytearray, config: Pmd2Data) -> None: """ Sets the level of the player starter """ return HardcodedDefaultStarters.set_player_level(value, arm9, config)
def update(arm9): static_data = self.project.get_rom_module().get_static_data() HardcodedDefaultStarters.set_special_episode_pcs( lst, arm9, static_data)
def get_special_pcs(self) -> List[SpecialEpisodePc]: arm9 = self.project.get_binary(BinaryName.ARM9) static_data = self.project.get_rom_module().get_static_data() return HardcodedDefaultStarters.get_special_episode_pcs( arm9, static_data)