mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Allow only one quiver to be purchased.
This commit is contained in:
3
Rom.py
3
Rom.py
@@ -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.
Reference in New Issue
Block a user