diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gfx.py | 13 | ||||
-rwxr-xr-x | tools/unused_sources.sh | 3 |
2 files changed, 13 insertions, 3 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: diff --git a/tools/unused_sources.sh b/tools/unused_sources.sh index 68ae5a96..b0b9e368 100755 --- a/tools/unused_sources.sh +++ b/tools/unused_sources.sh @@ -5,7 +5,8 @@ toplevel='audio.asm data/text/common.asm data/pokemon/dex_entries.asm wram.asm main.asm home.asm gfx/sprites.asm gfx/pics_gold.asm gfx/pics_silver.asm data/maps/map_data.asm engine/overworld/events.asm rgbdscheck.asm -data/pokemon/egg_moves.asm data/pokemon/evos_attacks.asm gfx/tilesets.asm' +data/pokemon/egg_moves.asm data/pokemon/evos_attacks.asm gfx/tilesets.asm +engine/movie/credits.asm' for asm in $toplevel; do echo "$asm" |