diff options
Diffstat (limited to 'tools/pokemontools/gfx.py')
-rw-r--r-- | tools/pokemontools/gfx.py | 6 |
1 files changed, 3 insertions, 3 deletions
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 |