From 207a76d1b5e123656ae2c547482a544467c7dba5 Mon Sep 17 00:00:00 2001 From: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com> Date: Tue, 14 Jan 2025 16:39:13 -0500 Subject: [PATCH] OoT: Two Bugfixes (#4389) --- worlds/oot/Patches.py | 2 +- worlds/oot/__init__.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/worlds/oot/Patches.py b/worlds/oot/Patches.py index 561d7c3f..cd940e05 100644 --- a/worlds/oot/Patches.py +++ b/worlds/oot/Patches.py @@ -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)) diff --git a/worlds/oot/__init__.py b/worlds/oot/__init__.py index 975902ae..3de55f68 100644 --- a/worlds/oot/__init__.py +++ b/worlds/oot/__init__.py @@ -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: