From d3ee3a84c1d1311eb8f6bbb5f6bb43fd9afa164f Mon Sep 17 00:00:00 2001 From: CaitSith2 Date: Wed, 28 Oct 2020 18:31:07 -0700 Subject: [PATCH] Fix Random sprite on event bug where a sprite that was not in user pool was added. --- Rom.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Rom.py b/Rom.py index 7ac7fb78..fb1d00d7 100644 --- a/Rom.py +++ b/Rom.py @@ -1620,11 +1620,6 @@ def apply_rom_settings(rom, beep, color, quickswap, fastmenu, disable_music, spr rom.write_byte(0x6FA30, {'red': 0x24, 'blue': 0x2C, 'green': 0x3C, 'yellow': 0x28}[color]) rom.write_byte(0x65561, {'red': 0x05, 'blue': 0x0D, 'green': 0x19, 'yellow': 0x09}[color]) - # write link sprite if required - if sprite: - sprite = Sprite(sprite) if os.path.isfile(sprite) else Sprite.get_sprite_from_name(sprite, local_random) - sprite.write_to_rom(rom) - if z3pr: def buildAndRandomize(option_name, mode): options = {