From 0a882bdf4eb8c22fdae639e0baf528bb5225facd Mon Sep 17 00:00:00 2001 From: compiling <8335770+compiling@users.noreply.github.com> Date: Sat, 4 Apr 2020 15:16:49 +1100 Subject: [PATCH] Show text box on pickup for all dungeon items in keysanity mode. --- Rom.py | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/Rom.py b/Rom.py index a7c06565..e41f0f4a 100644 --- a/Rom.py +++ b/Rom.py @@ -911,7 +911,16 @@ def patch_rom(world, player, rom): rom.write_byte(0x18005F, world.crystals_needed_for_ganon) rom.write_byte(0x18008A, 0x01 if world.mode == "standard" else 0x00) # block HC upstairs doors in rain state in standard mode - rom.write_byte(0x18016A, 0x01 if world.keysanity else 0x00) # free roaming item text boxes + # Bitfield - enable text box to show with free roaming items + # + # ---o bmcs + # o - enabled for outside dungeon items + # b - enabled for inside big keys + # m - enabled for inside maps + # c - enabled for inside compasses + # s - enabled for inside small keys + rom.write_byte(0x18016A, 0xFF if world.keysanity else 0x00) + rom.write_byte(0x18003B, 0x01 if world.keysanity else 0x00) # maps showing crystals on overworld # compasses showing dungeon count @@ -922,6 +931,14 @@ def patch_rom(world, player, rom): else: rom.write_byte(0x18003C, 0x00) + # Bitfield - enable free items to show up in menu + # + # ----dcba + # d - Compass + # c - Map + # b - Big Key + # a - Small Key + # rom.write_byte(0x180045, 0xFF if world.keysanity else 0x00) # free roaming items in menu # Map reveals