[Pokemon R/B] actually implement lose_money_on_blackout

This commit is contained in:
Alchav 2022-12-22 10:14:33 -05:00 committed by Fabian Dill
parent 189b129dca
commit 3dd7e3e706
1 changed files with 2 additions and 0 deletions

View File

@ -390,6 +390,8 @@ def generate_output(self, output_directory: str):
data[rom_addresses["Fossils_Needed_For_Second_Item"]] = (
self.multiworld.second_fossil_check_condition[self.player].value)
data[rom_addresses["Option_Lose_Money"]] = int(not self.multiworld.lose_money_on_blackout[self.player].value)
if self.multiworld.extra_key_items[self.player].value:
data[rom_addresses['Options']] |= 4
data[rom_addresses["Option_Blind_Trainers"]] = round(self.multiworld.blind_trainers[self.player].value * 2.55)