From f80e8bbfd58b5217a83b2ad628c890384281b51b Mon Sep 17 00:00:00 2001 From: aerinon Date: Wed, 8 May 2024 15:13:38 -0600 Subject: [PATCH] fix: hc big key drop on basic doors --- RELEASENOTES.md | 1 + Rom.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index f3aa76d0..4767942f 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -146,6 +146,7 @@ These are now independent of retro mode and have three options: None, Random, an * Back of Tavern Shuffle now on by default * Enemizer: Wallmasters banned from tiles where spiral staircases are. (Softlock issue) * Packaged build of unstable now available + * Fix: HC Big Key drop doesn't count on Basic Doors * Fixed a small bug with traversal algorithm * 1.4.1.11u * New Feature: Several spoiler levels added: None, Settings-only, Semi, Full, Debug diff --git a/Rom.py b/Rom.py index 9acb4ebd..05dbd74f 100644 --- a/Rom.py +++ b/Rom.py @@ -585,8 +585,8 @@ def patch_rom(world, rom, player, team, is_mystery=False): valid_loc_by_dungeon = valid_dungeon_locations(valid_locations) # fix hc big key problems (map and compass too) - if (world.doorShuffle[player] not in ['vanilla', 'basic'] or world.dropshuffle[player] != 'none' - or world.pottery[player] not in ['none', 'cave']): + if (world.doorShuffle[player] != 'vanilla' or world.dropshuffle[player] != 'none' + or world.pottery[player] not in ['none', 'cave']): rom.write_byte(0x151f1, 2) rom.write_byte(0x15270, 2) sanctuary = world.get_region('Sanctuary', player)