Reduce tier of triforce pieces when goal is high
This commit is contained in:
5
Rom.py
5
Rom.py
@@ -1480,6 +1480,11 @@ def patch_rom(world, rom, player, team, is_mystery=False, rom_header=None):
|
|||||||
if world.bombbag[player]:
|
if world.bombbag[player]:
|
||||||
rom.write_byte(loot_icons + 0x52, 0x0B) # bomb bag is major
|
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]
|
crystal_ids = [0x20, 0xB0, 0xB1, 0xB2, 0xB3, 0xB4, 0xB5, 0xB6]
|
||||||
if world.goal[player] in ['ganon', 'dungeons', 'crystals', 'trinity']:
|
if world.goal[player] in ['ganon', 'dungeons', 'crystals', 'trinity']:
|
||||||
crystal_category = 0x0D
|
crystal_category = 0x0D
|
||||||
|
|||||||
Reference in New Issue
Block a user