Allow only one quiver to be purchased.

This commit is contained in:
CaitSith2 2020-08-31 16:43:15 -07:00
parent 3ef9c78c3e
commit df04cbcac3
2 changed files with 2 additions and 1 deletions

3
Rom.py
View File

@ -1,5 +1,5 @@
JAP10HASH = '03a63945398191337e896e5771f77173'
RANDOMIZERBASEHASH = 'f489457c30e55289c3af55ca2d289a47'
RANDOMIZERBASEHASH = 'f088b5e4fb65f51c62b0590d8db76b27'
import io
import json
@ -1276,6 +1276,7 @@ def patch_rom(world, rom, player, team, enemized):
player] else 0x0000) # Bomb Shop Reveal
rom.write_byte(0x180172, 0x01 if world.keyshuffle[player] == "universal" else 0x00) # universal keys
rom.write_byte(0x18637E, 0x01 if world.retro[player] else 0x00) # Skip quiver in item shops once bought
rom.write_byte(0x180175, 0x01 if world.retro[player] else 0x00) # rupee bow
rom.write_byte(0x180176, 0x0A if world.retro[player] else 0x00) # wood arrow cost
rom.write_byte(0x180178, 0x32 if world.retro[player] else 0x00) # silver arrow cost

Binary file not shown.