Keysanity bug fix

This fixes the broken item menu in keysanity.
This commit is contained in:
AmazingAmpharos 2017-11-12 04:38:41 -06:00 committed by GitHub
parent 10d96bfa6c
commit 399b83e6fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
Rom.py
View File

@ -453,7 +453,7 @@ def patch_rom(world, rom, hashtable, beep='normal', sprite=None):
else:
rom.write_byte(0x18003C, 0x00)
rom.write_byte(0x180045, 0x01 if world.keysanity else 0x00) # free roaming items in menu
rom.write_byte(0x180045, 0xFF if world.keysanity else 0x00) # free roaming items in menu
digging_game_rng = random.randint(1, 30) # set rng for digging game
rom.write_byte(0x180020, digging_game_rng)
rom.write_byte(0xEFD95, digging_game_rng)