make triforce pieces required an option

This commit is contained in:
Fabian Dill
2020-06-07 15:22:24 +02:00
parent 68f453f802
commit 17f884d047
6 changed files with 34 additions and 18 deletions

1
Rom.py
View File

@@ -637,7 +637,6 @@ def patch_rom(world, rom, player, team, enemized):
rom.write_byte(0x18003A, 0x01 if world.dark_world_light_cone else 0x00)
GREEN_TWENTY_RUPEES = 0x47
TRIFORCE_PIECE = ItemFactory('Triforce Piece', player).code
GREEN_CLOCK = ItemFactory('Green Clock', player).code
rom.write_byte(0x18004F, 0x01) # Byrna Invulnerability: on