fix: simple shuffle blacksmith

This commit is contained in:
aerinon
2024-12-17 16:12:49 -07:00
parent 338e949213
commit 4f1f61bc68
2 changed files with 2 additions and 1 deletions

View File

@@ -6,3 +6,4 @@
- "Beatable" or "accessibility: none" can now use randomized trap doors to seal off entire parts of dungeons
- Logic error with enemizer and standard should use new enemy logic rules
- Fixed a bug with the inconsistent treatment of the beemizer setting
- Fixed an issue with returning Blacksmith in Simple shuffle (when blacksmith is at Link's House)

2
Rom.py
View File

@@ -1361,7 +1361,7 @@ def patch_rom(world, rom, player, team, is_mystery=False):
rom.write_bytes(0x02F539, [0xEA, 0xEA, 0xEA, 0xEA, 0xEA] if world.powder_patch_required[player] else [0xAD, 0xBF, 0x0A, 0xF0, 0x4F])
# allow smith into multi-entrance caves in appropriate shuffles
if world.shuffle[player] in ['restricted', 'full', 'lite', 'lean', 'swapped', 'crossed', 'insanity'] or (world.shuffle[player] == 'simple' and world.mode[player] == 'inverted'):
if world.shuffle[player] in ['restricted', 'simple', 'full', 'lite', 'lean', 'swapped', 'crossed', 'insanity']:
rom.write_byte(0x18004C, 0x01)
# set correct flag for hera basement item