diff options
| author | entrpntr <entrpntr@gmail.com> | 2020-05-25 16:51:24 -0400 |
|---|---|---|
| committer | entrpntr <entrpntr@gmail.com> | 2020-05-25 16:51:24 -0400 |
| commit | de6fc0ad329ccaa56558d5f43d54cdd6db46e49b (patch) | |
| tree | d827fef6f5e2d323d83db0d2fdb189250ffb0ad3 /tools | |
| parent | 9bd3a69955bf8bf7e45468ed6247aebc20d5889b (diff) | |
Fix pngs, prepare for png to bpp conversion.
Diffstat (limited to 'tools')
| -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 |
