Fix enemizer - read the basepatch and update base2current.json before calling enemizer.

This commit is contained in:
compiling
2020-11-08 11:20:37 +11:00
parent 078b5eeb85
commit 8ca529aa6a

View File

@@ -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):