summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-11-30 18:38:02 -0500
committeryenatch <yenatch@gmail.com>2013-11-30 19:11:20 -0500
commit10d8edbc3b52dbb2dfad38917c7dc233ab5e1301 (patch)
tree4e6c14af88f933b75f4433de0eb063f33c14decc
parent4294fdc140677f98df38affe7955a97223b778e9 (diff)
map_editor: to_png got renamed
-rw-r--r--pokemontools/map_editor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemontools/map_editor.py b/pokemontools/map_editor.py
index 43042cb..192d06c 100644
--- a/pokemontools/map_editor.py
+++ b/pokemontools/map_editor.py
@@ -445,7 +445,7 @@ class Tileset:
def get_tiles(self):
filename = self.get_tileset_gfx_filename()
if not os.path.exists(filename):
- gfx.to_png(filename.replace('.png','.2bpp'), filename)
+ gfx.export_2bpp_to_png(filename.replace('.png','.2bpp'), filename)
self.img = Image.open(filename)
self.img.width, self.img.height = self.img.size
self.tiles = []