palette fixes

This commit is contained in:
Fabian Dill
2020-10-24 05:33:52 +02:00
parent 0c6943fc6a
commit 2d43cae88e
4 changed files with 358 additions and 245 deletions

View File

@@ -8,7 +8,7 @@ import shlex
import sys
from Main import main, get_seed
from Rom import get_sprite_from_name
from Rom import Sprite
from Utils import is_bundled, close_console
@@ -401,7 +401,7 @@ def start():
input(
'Could not find valid base rom for patching at expected path %s. Please run with -h to see help for further information. \nPress Enter to exit.' % args.rom)
sys.exit(1)
if any([sprite is not None and not os.path.isfile(sprite) and not get_sprite_from_name(sprite) for sprite in
if any([sprite is not None and not os.path.isfile(sprite) and not Sprite.get_sprite_from_name(sprite) for sprite in
args.sprite.values()]):
input('Could not find link sprite sheet at given location. \nPress Enter to exit.')
sys.exit(1)