Some Inverted situations getting applied/removed in Mixed OW

This commit is contained in:
codemann8
2021-08-20 14:08:29 -05:00
parent d2610a891f
commit f051e3a0b2
9 changed files with 14 additions and 10 deletions

1
Rom.py
View File

@@ -2471,6 +2471,7 @@ def set_inverted_mode(world, player, rom, inverted_buffer):
if world.doorShuffle[player] == 'vanilla' or world.intensity[player] < 3:
write_int16(rom, 0x15AEE + 2*0x38, 0x00E0)
write_int16(rom, 0x15AEE + 2*0x25, 0x000C)
if (world.mode[player] == 'inverted') != (0x03 in world.owswaps[player][0] and world.owMixed[player]):
if world.shuffle[player] in ['vanilla', 'dungeonsfull', 'dungeonssimple']:
rom.write_bytes(snes_to_pc(0x308350), [0x00, 0x00, 0x01]) # mountain cave starts on OW