From 0e3aee1211219a67189c3c398d05a6a93fa983d5 Mon Sep 17 00:00:00 2001 From: cassidoxa Date: Thu, 24 Nov 2022 19:27:42 -0500 Subject: [PATCH] Add menu boss icon for no logic but not regular key shuffle modes --- Rom.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Rom.py b/Rom.py index da20d579..18641f85 100644 --- a/Rom.py +++ b/Rom.py @@ -932,13 +932,17 @@ def patch_rom(world, player, rom): # Bitfield - enable free items to show up in menu # - # ----dcba + # ---edcba + # e - bosses # 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 + hud_bits = 0 + hud_bits |= 0x0F if world.keysanity else 0x00 + hud_bits |= 0x10 if world.logic == 'nologic' else 0x00 + rom.write_byte(0x180045, hudbits) # free roaming items in menu # Map reveals reveal_bytes = {