summaryrefslogtreecommitdiff
path: root/tools/gfx.py
diff options
context:
space:
mode:
authorentrpntr <12521136+entrpntr@users.noreply.github.com>2020-06-06 15:09:50 -0400
committerGitHub <noreply@github.com>2020-06-06 15:09:50 -0400
commit2c9fbba109e8347fb4641d63d0f2817371644e6f (patch)
tree292e206b009b27f0def4280aebf90c890057ba7a /tools/gfx.py
parent41aed88e16a138293971d63e7facfceb8f612c60 (diff)
parentafcf8f19575164e4b0fa92319041f888e719f68d (diff)
Merge pull request #45 from libjet/bank3e
Disassemble bank $3e
Diffstat (limited to 'tools/gfx.py')
-rw-r--r--tools/gfx.py24
1 files changed, 21 insertions, 3 deletions
diff --git a/tools/gfx.py b/tools/gfx.py
index 2ad3784d..c53110a7 100644
--- a/tools/gfx.py
+++ b/tools/gfx.py
@@ -104,8 +104,12 @@ def filepath_rules(filepath):
elif 'gfx/battle' in filedir:
if name == 'dude':
args['pic_dimensions'] = 6, 6
- elif name == 'balls':
+ elif name in ['balls', 'enemy_hp_bar_border']:
args['width'] = 32
+ elif name == 'expbar':
+ args['width'] = 72
+ elif name == 'hp_exp_bar_border':
+ args['width'] = 48
elif 'gfx/card_flip' in filedir:
if name == 'card_flip_1':
@@ -138,8 +142,13 @@ def filepath_rules(filepath):
args['width'] = 16
elif 'gfx/font' in filedir:
- if name == 'font_inversed':
+ if name in ['font', 'font_inversed', 'font_battle_extra', 'font_extra']:
args['width'] = 128
+ elif name == 'unused_bold_font':
+ args['width'] = 256
+
+ elif 'gfx/frames' in filedir:
+ args['width'] = 24
elif 'gfx/icons' in filedir:
if name == 'mail_big':
@@ -175,6 +184,11 @@ def filepath_rules(filepath):
elif 'gfx/naming_screen' in filedir:
args['width'] = 8
+ elif 'gfx/new_game' in filedir:
+ if name in ['shrink1', 'shrink2']:
+ args['width'] = 56
+ args['pic_dimensions'] = 7, 7
+
elif 'gfx/overworld' in filedir:
if name == 'heal_machine':
args['width'] = 8
@@ -205,7 +219,7 @@ def filepath_rules(filepath):
if name == 'pokegear_sprites':
args['width'] = 16
- elif name == 'pokegear':
+ elif name in ['pokegear', 'town_map']:
args['width'] = 128
elif 'gfx/mystery_gift' in filedir:
@@ -243,6 +257,10 @@ def filepath_rules(filepath):
else:
args['width'] = 16
+ elif 'gfx/stats' in filedir:
+ if name == 'stats_tiles':
+ args['width'] = 136
+
elif 'gfx/tilesets' in filedir:
if filedir == 'gfx/tilesets/roofs':
args['width'] = 24