summaryrefslogtreecommitdiff
path: root/tools/gfx.py
diff options
context:
space:
mode:
authorentrpntr <12521136+entrpntr@users.noreply.github.com>2020-05-28 23:05:00 -0400
committerGitHub <noreply@github.com>2020-05-28 23:05:00 -0400
commitc688dd59fba5ddc1275b098cff9662aeb2794043 (patch)
tree92f7215305b29d25a308163567cbbddbbf4cbf2d /tools/gfx.py
parent10d0d5d02babaace5c2af4a2e03bb0a4762c9c38 (diff)
parent3a9930b9d4348cf0a67861438d7af32fbb60d812 (diff)
Merge pull request #38 from libjet/bank21
Disassemble bank $21
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: