Initial pass at door shuffle dungeon maps

This commit is contained in:
2026-01-04 14:24:29 -06:00
parent 74739347e7
commit 42b4374bd3
2 changed files with 4 additions and 1 deletions

5
Rom.py
View File

@@ -44,7 +44,7 @@ from source.enemizer.Enemizer import write_enemy_shuffle_settings
JAP10HASH = '03a63945398191337e896e5771f77173'
RANDOMIZERBASEHASH = '4ba89fbb7fc0e75b483e4289c65d1b8b'
RANDOMIZERBASEHASH = '37cb55253a676976adb3bae6037f6498'
class JsonRom(object):
@@ -1449,6 +1449,9 @@ def patch_rom(world, rom, player, team, is_mystery=False, rom_header=None):
loot_show |= 0x04
rom.write_byte(0x1CFF10, loot_show)
if world.doorShuffle[player] != 'vanilla':
rom.write_byte(0x1CFF00, 0x04)
loot_icons = 0x1CF900
if world.bombbag[player]:
rom.write_byte(loot_icons + 0x52, 0x0B) # bomb bag is major