shithub: pokecrystal

Download patch

ref: 051d9e416d0ab267065f2e9e23daab43527e827c
parent: 4f1014976c380b9b2fcca2cbfa32ba77487279d3
parent: c432709715df83f5cd063fd5b14684389e037e15
author: JimB16 <f1@jimb.de>
date: Mon Aug 31 00:21:28 EDT 2015

merge 'fix for 'make pngs''

--- a/gfx.py
+++ b/gfx.py
@@ -73,9 +73,11 @@
 			w = min(w/8, h/8)
 			args['pic_dimensions'] = w, w
 		elif ext == '.2bpp':
-			if pokemon_name:
+			if pokemon_name and name == 'front':
 				w, h = get_pokemon_dimensions(pokemon_name)
 				args['pic_dimensions'] = w, w
+			elif pokemon_name and name == 'back':
+				args['pic_dimensions'] = 6, 6
 			else:
 				args['pic_dimensions'] = 7, 7
 	return args