From de6fc0ad329ccaa56558d5f43d54cdd6db46e49b Mon Sep 17 00:00:00 2001 From: entrpntr Date: Mon, 25 May 2020 16:51:24 -0400 Subject: Fix pngs, prepare for png to bpp conversion. --- tools/pokemontools/gfx.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') diff --git a/tools/pokemontools/gfx.py b/tools/pokemontools/gfx.py index f3e3ed53..f4f2ae3e 100644 --- a/tools/pokemontools/gfx.py +++ b/tools/pokemontools/gfx.py @@ -394,9 +394,9 @@ def export_2bpp_to_png(filein, fileout=None, pal_file=None, height=0, width=0, t } arguments.update(read_filename_arguments(filein)) - if pal_file == None: - if os.path.exists(os.path.splitext(fileout)[0]+'.pal'): - arguments['pal_file'] = os.path.splitext(fileout)[0]+'.pal' + #if pal_file == None: + # if os.path.exists(os.path.splitext(fileout)[0]+'.pal'): + # arguments['pal_file'] = os.path.splitext(fileout)[0]+'.pal' result = convert_2bpp_to_png(image, **arguments) width, height, palette, greyscale, bitdepth, px_map = result -- cgit v1.2.3