I would push a commit, but I don't have permissions. The following files needed changing
file: app/Console/Commands/Randomize.php
<?php namespace ALttP\Console\Commands;
use ALttP\Item;
use ALttP\Randomizer;
use ALttP\Rom;
use ALttP\World;
use ALttP\Support\Zspr;
use Illuminate\Console\Command;
class Randomize extends Command {
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'alttp:randomize {input_file : base rom to randomize}'
. ' {output_directory : where to place randomized rom}'
. ' {--unrandomized : do not apply randomization to the rom}'
. ' {--vanilla : set game to vanilla item locations}'
. ' {--debug : enable BAGE mode}'
. ' {--spoiler : generate a spoiler file}'
. ' {--difficulty=normal : set difficulty}'
. ' {--variation=combo : set variation}'
. ' {--logic=NoMajorGlitches : set logic}'
. ' {--sm-logic=Casual : set SM logic}'
. ' {--heartbeep=half : set heart beep speed}'
. ' {--heartcolor=red : set heart color}'
. ' {--skip-md5 : do not validate md5 of base rom}'
. ' {--trace : enable SRAM trace}'
. ' {--seed= : set seed number}'
. ' {--bulk=1 : generate multiple roms}'
. ' {--goal=ganon : set game goal}'
. ' {--mode=open : set game mode}'
. ' {--weapons=randomized : set weapons mode}'
. ' {--sprite= : sprite file to change links graphics [zspr format]}'
. ' {--no-rom : no not generate output rom}'
. ' {--no-music : mute all music}'
. ' {--menu-speed=normal : menu speed}'
. ' {--morph=randomized : \'vanilla\' for vanilla Morph Ball location}';
...
$rom->setHeartColors($this->option('heartcolor'));
I would push a commit, but I don't have permissions. The following files needed changing
file: app/Console/Commands/Randomize.php
file: Rom.php