summaryrefslogtreecommitdiff
path: root/tools/gfx.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx.py')
-rw-r--r--tools/gfx.py13
1 files changed, 11 insertions, 2 deletions
diff --git a/tools/gfx.py b/tools/gfx.py
index ba3e3d3d..05b18cae 100644
--- a/tools/gfx.py
+++ b/tools/gfx.py
@@ -106,6 +106,14 @@ def filepath_rules(filepath):
args['pic_dimensions'] = 6, 6
elif name == 'balls':
args['width'] = 32
+
+ elif 'gfx/credits' in filedir:
+ if name in ['bellossom', 'togepi', 'elekid', 'sentret']:
+ args['width'] = 32
+ elif name == 'theend':
+ args['width'] = 64
+ elif name == 'border':
+ args['width'] = 72
elif 'gfx/debug' in filedir:
if name == 'color_test':
@@ -218,10 +226,11 @@ def filepath_rules(filepath):
args['width'] = 16
elif 'gfx/tilesets' in filedir:
- if filedir != 'gfx/tilesets':
+ if filedir == 'gfx/tilesets/roofs':
+ args['width'] = 24
+ elif filedir != 'gfx/tilesets':
args['width'] = 8
else:
- args['width'] = 128
args['tileset'] = True
elif 'gfx/trainer_card' in filedir: