Heart color changing

A new dropdown option is added to allow the player to choose heart color between four options: red, blue, green, and yellow. The adjuster supports this feature as well.
This commit is contained in:
AmazingAmpharos
2018-02-27 20:26:33 -06:00
committed by GitHub
parent c26f325b0a
commit 8af56fb586
6 changed files with 41 additions and 7 deletions

View File

@@ -117,7 +117,7 @@ def main(args, seed=None):
rom = JsonRom()
else:
rom = LocalRom(args.rom)
patch_rom(world, rom, bytearray(logic_hash), args.heartbeep, sprite)
patch_rom(world, rom, bytearray(logic_hash), args.heartbeep, args.heartcolor, sprite)
if args.jsonout:
print(json.dumps({'patch': rom.patches, 'spoiler': world.spoiler.to_json()}))
else: