Rom: dont block HC exit in standard with vanilla entrances to match website mystery behavior

This commit is contained in:
Bonta-kun 2020-01-10 07:15:11 +01:00
parent 77ae96cf1b
commit 39a07a0624
1 changed files with 3 additions and 1 deletions

4
Rom.py
View File

@ -1097,7 +1097,9 @@ def patch_rom(world, player, rom, enemized):
rom.write_byte(0x18005E, world.crystals_needed_for_gt[player])
rom.write_byte(0x18005F, world.crystals_needed_for_ganon[player])
rom.write_byte(0x18008A, 0x01 if world.mode[player] == "standard" else 0x00) # block HC upstairs doors in rain state in standard mode
# block HC upstairs doors in rain state in standard mode
rom.write_byte(0x18008A, 0x01 if world.mode[player] == "standard" and world.shuffle[player] != 'vanilla' else 0x00)
rom.write_byte(0x18016A, 0x10 | ((0x01 if world.keyshuffle[player] else 0x00)
| (0x02 if world.compassshuffle[player] else 0x00)