From d87458740c806e4e0c04eec347e5eba3e1ae0dd9 Mon Sep 17 00:00:00 2001 From: libjet Date: Thu, 28 May 2020 19:52:46 +0100 Subject: Fix gfx/tilesets/roofs png rules --- tools/gfx.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tools') 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: -- cgit v1.2.3