summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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