From 0f7253c94ed0d354331634a9ef16d78521ec0347 Mon Sep 17 00:00:00 2001 From: Kara Alexandra Date: Fri, 23 Jan 2026 21:41:45 -0600 Subject: [PATCH] Reduce tier of triforce pieces when goal is high --- Rom.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Rom.py b/Rom.py index c71fde97..8702bdff 100644 --- a/Rom.py +++ b/Rom.py @@ -1480,6 +1480,11 @@ def patch_rom(world, rom, player, team, is_mystery=False, rom_header=None): if world.bombbag[player]: rom.write_byte(loot_icons + 0x52, 0x0B) # bomb bag is major + triforce_piece_ids = [0x6B, 0x6C] + if world.treasure_hunt_count[player] > 20: + for triforce_piece_id in triforce_piece_ids: + rom.write_byte(loot_icons + triforce_piece_id, 0x04) + crystal_ids = [0x20, 0xB0, 0xB1, 0xB2, 0xB3, 0xB4, 0xB5, 0xB6] if world.goal[player] in ['ganon', 'dungeons', 'crystals', 'trinity']: crystal_category = 0x0D