mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-03-21 17:24:42 -05:00
Actually call the newly created condense_image_to_map.
This commit is contained in:
parent
e6ebf8af07
commit
119245c5e9
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user