Fix using wrong object type when placing crystals in dungeons behind ganons tower entrance.

This commit is contained in:
LLCoolDave
2017-07-20 19:12:55 +02:00
parent 037c643aab
commit b6e0956fdb
2 changed files with 10 additions and 7 deletions

2
Rom.py
View File

@@ -358,7 +358,7 @@ def patch_rom(world, rom, hashtable, quickswap=False, beep='normal', sprite=None
# set rom name
# 21 bytes
rom.write_bytes(0x7FC0, bytearray('ER_044_%09d_' % world.seed, 'utf8') + world.option_identifier.to_bytes(4, 'big'))
rom.write_bytes(0x7FC0, bytearray('ER_045_%09d_' % world.seed, 'utf8') + world.option_identifier.to_bytes(4, 'big'))
# set heart beep rate
rom.write_byte(0x180033, {'off': 0x00, 'half': 0x40, 'quarter': 0x80, 'normal': 0x20}[beep])