OoT: Two Bugfixes (#4389)
This commit is contained in:
parent
01df35f215
commit
207a76d1b5
|
@ -2200,7 +2200,7 @@ def patch_rom(world, rom):
|
|||
elif world.shuffle_bosses != 'off':
|
||||
vanilla_reward = world.get_location(boss_name).vanilla_item
|
||||
vanilla_reward_location = world.multiworld.find_item(vanilla_reward, world.player) # hinted_dungeon_reward_locations[vanilla_reward.name]
|
||||
area = HintArea.at(vanilla_reward_location).text(world.clearer_hints, preposition=True)
|
||||
area = HintArea.at(vanilla_reward_location).text(world.hint_rng, world.clearer_hints, preposition=True)
|
||||
compass_message = "\x13\x75\x08You found the \x05\x41Compass\x05\x40\x01for %s\x05\x40!\x01The %s can be found\x01%s!\x09" % (dungeon_name, vanilla_reward, area)
|
||||
else:
|
||||
boss_location = next(filter(lambda loc: loc.type == 'Boss', world.get_entrance(f'{dungeon} Boss Door -> {boss_name} Boss Room').connected_region.locations))
|
||||
|
|
|
@ -582,8 +582,7 @@ class OOTWorld(World):
|
|||
new_exit = OOTEntrance(self.player, self.multiworld, '%s -> %s' % (new_region.name, exit), new_region)
|
||||
new_exit.vanilla_connected_region = exit
|
||||
new_exit.rule_string = rule
|
||||
if self.options.logic_rules != 'no_logic':
|
||||
self.parser.parse_spot_rule(new_exit)
|
||||
self.parser.parse_spot_rule(new_exit)
|
||||
if new_exit.never:
|
||||
logger.debug('Dropping unreachable exit: %s', new_exit.name)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue