diff options
author | yenatch <yenatch@gmail.com> | 2015-08-30 19:11:31 -0700 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2015-08-30 19:11:31 -0700 |
commit | c432709715df83f5cd063fd5b14684389e037e15 (patch) | |
tree | c99b616b99b99c1a761302e3664e02f6db175004 /gfx.py | |
parent | 8f74b553db37ddc1842476eb0d96ec3c8f1ac0ed (diff) |
Forgot about backsprites.
Diffstat (limited to 'gfx.py')
-rw-r--r-- | gfx.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -73,9 +73,11 @@ def filepath_rules(filepath): 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 |