summaryrefslogtreecommitdiff
path: root/tools/gfx.py
diff options
context:
space:
mode:
authorentrpntr <entrpntr@gmail.com>2020-05-22 18:09:59 -0400
committerentrpntr <entrpntr@gmail.com>2020-05-22 18:21:37 -0400
commite9b07c81b0eb5d6c8456b7848e921d5ec4a4d297 (patch)
treee2f9c9322127e5cbd1b43fc50e4d1bcb5bea7818 /tools/gfx.py
parent871da041159c18dc3ca502461fef384e3965948f (diff)
Updates to add pngs.
Diffstat (limited to 'tools/gfx.py')
-rw-r--r--tools/gfx.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/gfx.py b/tools/gfx.py
index 520f55d0..c4996552 100644
--- a/tools/gfx.py
+++ b/tools/gfx.py
@@ -165,13 +165,20 @@ def filepath_rules(filepath):
args['pic_dimensions'] = 6, 6
elif 'gfx/pokedex' in filedir:
- if name in ['slowpoke', 'pokedex']:
+ if name in ['slowpoke', 'pokedex', 'pokedex_sgb']:
args['width'] = 128
+ elif name == 'question_mark':
+ args['width'] = 56
+ args['pic_dimensions'] = 7, 7
+
elif 'gfx/pokegear' in filedir:
if name == 'pokegear_sprites':
args['width'] = 16
+ elif name == 'pokegear':
+ args['width'] = 128
+
elif 'gfx/sgb' in filedir:
args['width'] = 128
args['pal_file'] = os.path.join(filedir, name + '.pal')