summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2015-10-24 18:05:47 -0700
committeryenatch <yenatch@gmail.com>2015-10-24 18:05:47 -0700
commit119245c5e9ef6f2df282ced6e5648099abcaa591 (patch)
tree4d88743a07d50f831581b271f55a14092ce421cf
parente6ebf8af071980ecf76b09fdd3d65d506390321e (diff)
Actually call the newly created condense_image_to_map.
-rw-r--r--pokemontools/gfx.py4
1 files 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