More glitched fixes

This commit is contained in:
Kris Davie
2025-03-16 07:30:41 +01:00
committed by aerinon
parent 265578dca5
commit 7cba411e45
2 changed files with 18 additions and 1 deletions

7
Rom.py
View File

@@ -463,6 +463,13 @@ def patch_rom(world, rom, player, team, is_mystery=False):
rom.write_byte(location.player_address, location.item.player)
else:
itemid = 0x5A
if not location.locked and ((location.item.smallkey and world.keyshuffle[player] == 'none') or (
location.item.bigkey and world.bigkeyshuffle[player] == 'none') or (
location.item.map and world.mapshuffle[player] == 'none') or (
location.item.compass and world.compassshuffle[player] == 'none')):
itemid = handle_native_dungeon(location, itemid)
rom.write_byte(location.address, itemid)
else:
# crystals