mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-09-26 19:40:56 -05:00
Actually call the newly created condense_image_to_map.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user