Separate doorShuffle for each player

Add doorShuffle to spoiler metadata
This commit is contained in:
compiling
2020-01-11 12:01:21 +11:00
parent a3a706d8c1
commit 4d35a02e99
6 changed files with 32 additions and 28 deletions

4
Rom.py
View File

@@ -579,7 +579,7 @@ def patch_rom(world, player, rom, enemized):
patch_shuffled_dark_sanc(world, rom, player)
# patch doors
if world.doorShuffle == 'crossed':
if world.doorShuffle[player] == 'crossed':
rom.write_byte(0x151f1, 2)
rom.write_byte(0x15270, 2)
rom.write_byte(0x1597b, 2)
@@ -1137,7 +1137,7 @@ def patch_rom(world, player, rom, enemized):
# compasses showing dungeon count
if world.clock_mode != 'off':
rom.write_byte(0x18003C, 0x00) # Currently must be off if timer is on, because they use same HUD location
elif world.compassshuffle[player] or world.doorShuffle != 'vanilla':
elif world.compassshuffle[player] or world.doorShuffle[player] != 'vanilla':
rom.write_byte(0x18003C, 0x01) # show on pickup
else:
rom.write_byte(0x18003C, 0x00)