From 119245c5e9ef6f2df282ced6e5648099abcaa591 Mon Sep 17 00:00:00 2001 From: yenatch Date: Sat, 24 Oct 2015 18:05:47 -0700 Subject: Actually call the newly created condense_image_to_map. --- pokemontools/gfx.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pokemontools/gfx.py b/pokemontools/gfx.py index 6922b31..ea0ea19 100644 --- a/pokemontools/gfx.py +++ b/pokemontools/gfx.py @@ -1220,9 +1220,9 @@ def png_to_2bpp(filein, **kwargs): image = deinterleave_tiles(image, num_columns) if arguments['pic_dimensions']: - image, tmap = condense_tiles_to_map(image, w * h) + image, tmap = condense_image_to_map(image, w * h) elif arguments['norepeat']: - image, tmap = condense_tiles_to_map(image) + image, tmap = condense_image_to_map(image) if not arguments['tilemap']: tmap = None -- cgit v1.2.3