mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Forgot about backsprites.
This commit is contained in:
parent
8f74b553db
commit
c432709715
4
gfx.py
4
gfx.py
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user