summaryrefslogtreecommitdiff
path: root/tools/gfx.py
diff options
context:
space:
mode:
authorlibjet <libj3t@gmail.com>2020-05-28 19:52:46 +0100
committerlibjet <libj3t@gmail.com>2020-05-28 19:52:46 +0100
commitd87458740c806e4e0c04eec347e5eba3e1ae0dd9 (patch)
treeeb9f84aa45345e17df6c546119b11668e11526ee /tools/gfx.py
parent0cf765a4f521ecd3ef2f7e9e89f1fa3fddb006c4 (diff)
Fix gfx/tilesets/roofs png rules
Diffstat (limited to 'tools/gfx.py')
-rw-r--r--tools/gfx.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/gfx.py b/tools/gfx.py
index 461021ba..05b18cae 100644
--- a/tools/gfx.py
+++ b/tools/gfx.py
@@ -226,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: