diff --git a/EntranceRandomizer.py b/EntranceRandomizer.py index 91fa5bfa..204fb40b 100755 --- a/EntranceRandomizer.py +++ b/EntranceRandomizer.py @@ -211,6 +211,7 @@ def parse_arguments(argv, no_defaults=False): parser.add_argument('--compassshuffle', default=defval(False), help='Compasses are no longer restricted to their dungeons, but can be anywhere', action='store_true') parser.add_argument('--keyshuffle', default=defval(False), help='Small Keys are no longer restricted to their dungeons, but can be anywhere', action='store_true') parser.add_argument('--bigkeyshuffle', default=defval(False), help='Big Keys are no longer restricted to their dungeons, but can be anywhere', action='store_true') + parser.add_argument('--keysanity', default=defval(False), help=argparse.SUPPRESS, action='store_true') parser.add_argument('--retro', default=defval(False), help='''\ Keys are universal, shooting arrows costs rupees, and a few other little things make this more like Zelda-1. @@ -273,6 +274,8 @@ def parse_arguments(argv, no_defaults=False): parser.add_argument(f'--p{player}', default=defval(''), help=argparse.SUPPRESS) ret = parser.parse_args(argv) + if ret.keysanity: + ret.mapshuffle, ret.compassshuffle, ret.keyshuffle, ret.bigkeyshuffle = [True] * 4 if multiargs.multi: defaults = copy.deepcopy(ret)