fix: different door types with TR in door shuffle modes
This commit is contained in:
5
Rom.py
5
Rom.py
@@ -1381,8 +1381,9 @@ def patch_rom(world, rom, player, team, is_mystery=False):
|
|||||||
world.get_room(0x23, player).change(0, DoorKind.CaveEntrance)
|
world.get_room(0x23, player).change(0, DoorKind.CaveEntrance)
|
||||||
if world.get_door('TR Eye Bridge SW', player).entranceFlag:
|
if world.get_door('TR Eye Bridge SW', player).entranceFlag:
|
||||||
world.get_room(0xd5, player).change(0, DoorKind.CaveEntrance)
|
world.get_room(0xd5, player).change(0, DoorKind.CaveEntrance)
|
||||||
# do this unconditionally - gets overwritten by RoomData in doorShufflemodes
|
# do this conditionally - don't mess with doors
|
||||||
rom.initial_sram.pre_open_tr_bomb_doors() # preopen bombable exits
|
if world.doorShuffle[player] == 'vanilla':
|
||||||
|
rom.initial_sram.pre_open_tr_bomb_doors() # preopen bombable exits
|
||||||
|
|
||||||
if world.boss_shuffle[player] != 'none' or world.doorShuffle[player] != 'vanilla':
|
if world.boss_shuffle[player] != 'none' or world.doorShuffle[player] != 'vanilla':
|
||||||
rom.write_byte(snes_to_pc(0x30835A), 1) # fix Prize On The Eyes
|
rom.write_byte(snes_to_pc(0x30835A), 1) # fix Prize On The Eyes
|
||||||
|
|||||||
Reference in New Issue
Block a user