A couple minor generation issues
Updated release note
This commit is contained in:
4
Main.py
4
Main.py
@@ -253,12 +253,10 @@ def main(args, seed=None, fish=None):
|
|||||||
or world.enemy_health[player] != 'default' or world.enemy_damage[player] != 'default'
|
or world.enemy_health[player] != 'default' or world.enemy_damage[player] != 'default'
|
||||||
or sprite_random_on_hit)
|
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)
|
rom = JsonRom() if args.jsonout or use_enemizer else LocalRom(args.rom)
|
||||||
|
|
||||||
if use_enemizer and (args.enemizercli or not args.jsonout):
|
if use_enemizer and (args.enemizercli or not args.jsonout):
|
||||||
|
base_patch = LocalRom(args.rom) # update base2current.json (side effect)
|
||||||
if args.rom and not(os.path.isfile(args.rom)):
|
if args.rom and not(os.path.isfile(args.rom)):
|
||||||
raise RuntimeError("Could not find valid base rom for enemizing at expected path %s." % args.rom)
|
raise RuntimeError("Could not find valid base rom for enemizing at expected path %s." % args.rom)
|
||||||
if os.path.exists(args.enemizercli):
|
if os.path.exists(args.enemizercli):
|
||||||
|
|||||||
@@ -20,6 +20,10 @@ Thanks to qadan, cheuer, & compiling
|
|||||||
* Fixed some enemizer Mystery settings
|
* Fixed some enemizer Mystery settings
|
||||||
* Added a setting that's random enemy shuffle without Unkillable Thieves possible
|
* Added a setting that's random enemy shuffle without Unkillable Thieves possible
|
||||||
* Fixed shop spoiler when money balancing/multiworld balancing
|
* Fixed shop spoiler when money balancing/multiworld balancing
|
||||||
|
* Fixed a problem with insanity
|
||||||
|
* Fixed an issue with the credit stats specific to DR (e.g. collection rate total)
|
||||||
|
* More helpful error message when bps is missing?
|
||||||
|
* Minor generation issues involving enemizer and the link sprite
|
||||||
* 0.4.0.7
|
* 0.4.0.7
|
||||||
* Reduce flashing option added
|
* Reduce flashing option added
|
||||||
* Sprite author credit added
|
* Sprite author credit added
|
||||||
|
|||||||
2
Rom.py
2
Rom.py
@@ -1643,7 +1643,7 @@ def hud_format_text(text):
|
|||||||
def apply_rom_settings(rom, beep, color, quickswap, fastmenu, disable_music, sprite,
|
def apply_rom_settings(rom, beep, color, quickswap, fastmenu, disable_music, sprite,
|
||||||
ow_palettes, uw_palettes, reduce_flashing):
|
ow_palettes, uw_palettes, reduce_flashing):
|
||||||
|
|
||||||
if not os.path.exists("data/sprites/official/001.link.1.zspr"):
|
if not os.path.exists("data/sprites/official/001.link.1.zspr") and rom.orig_buffer:
|
||||||
dump_zspr(rom.orig_buffer[0x80000:0x87000], rom.orig_buffer[0xdd308:0xdd380],
|
dump_zspr(rom.orig_buffer[0x80000:0x87000], rom.orig_buffer[0xdd308:0xdd380],
|
||||||
rom.orig_buffer[0xdedf5:0xdedf9], "data/sprites/official/001.link.1.zspr", "Nintendo", "Link")
|
rom.orig_buffer[0xdedf5:0xdedf9], "data/sprites/official/001.link.1.zspr", "Nintendo", "Link")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user