From 8ca529aa6a53cdd7ef626abf8ac0b9ddd87de328 Mon Sep 17 00:00:00 2001 From: compiling <8335770+compiling@users.noreply.github.com> Date: Sun, 8 Nov 2020 11:20:37 +1100 Subject: [PATCH] Fix enemizer - read the basepatch and update base2current.json before calling enemizer. --- Main.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Main.py b/Main.py index 2f0cfc61..7015a501 100644 --- a/Main.py +++ b/Main.py @@ -212,6 +212,9 @@ def main(args, seed=None, fish=None): or world.enemy_health[player] != 'default' or world.enemy_damage[player] != 'default' or sprite_random_on_hit) + if use_enemizer: + base_patch = LocalRom(args.rom) # update base2current.json + rom = JsonRom() if args.jsonout or use_enemizer else LocalRom(args.rom) if use_enemizer and (args.enemizercli or not args.jsonout):