Move exit points of PoD, SW and TR down so you cannot get stuck in them when exiting through them before opening them.

This commit is contained in:
LLCoolDave
2017-06-24 19:11:00 +02:00
parent 54b63355b3
commit dcef154609
5 changed files with 24 additions and 25 deletions

13
Rom.py
View File

@@ -272,6 +272,19 @@ def patch_rom(world, rom, hashtable, quickswap=False, beep='normal', sprite=None
write_byte(rom, 0xFEE41, 0x0E) # preopen bombable exit
write_byte(rom, 0xFE465, 0x1E) # remove small key door on backside of big key door
# Thanks to Zarby89 for finding these values
# fix skull woods exit point
if world.fix_skullwoods_exit:
write_byte(rom, 0x15E0D, 0xF8)
# fix palace of darkness exit point
if world.fix_palaceofdarkness_exit:
write_byte(rom, 0x15E03, 0x40)
# fix turtle rock exit point
if world.fix_trock_exit:
write_byte(rom, 0x15E1D, 0x34)
# enable quick item swapping with L and R (ported by Amazing Ampharos)
if quickswap:
write_bytes(rom, 0x107fb, [0x22, 0x50, 0xFF, 0x1F])