diff options
| author | entrpntr <entrpntr@gmail.com> | 2020-05-23 04:14:19 -0400 |
|---|---|---|
| committer | entrpntr <entrpntr@gmail.com> | 2020-05-23 04:23:18 -0400 |
| commit | b66b8557a6f796d7dcd5b3004592869f95e7cad7 (patch) | |
| tree | d865447c8fb51a4fdfe2cfba5b0da66231b0335a /tools | |
| parent | 7abda2aeff11e39ee29d875c2cf9c17fec191d97 (diff) | |
Rename some previously unidentified code/gfx.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/gfx.py | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/tools/gfx.py b/tools/gfx.py index 5abbb029..3e50d1ab 100644 --- a/tools/gfx.py +++ b/tools/gfx.py @@ -187,6 +187,11 @@ def filepath_rules(filepath): if name == 'mystery_gift': args['width'] = 128 args['rows'] = [(0, 15), (0, 15), (0, 2)] + elif name == 'mystery_gift_2': + args['width'] = 128 + # TODO: this is incomplete + elif name == 'border': + args['width'] = 16 elif 'gfx/sgb' in filedir: args['width'] = 128 @@ -210,9 +215,8 @@ def filepath_rules(filepath): else: args['width'] = 16 - elif 'gfx/tilesets' in filedir: - if filedir in ['gfx/tilesets/flower', 'gfx/tilesets/lava', 'gfx/tilesets/tower-pillar', 'gfx/tilesets/water', 'gfx/tilesets/whirlpool']: + if filedir != 'gfx/tilesets': args['width'] = 8 else: args['width'] = 128 @@ -241,12 +245,6 @@ def filepath_rules(filepath): elif name == 'game_boy': args['width'] = 56 - elif 'gfx/unknown' in filedir: - if name == 'gfx_170f1': - args['width'] = 128 - elif name == 'gfx_17079': - args['width'] = 16 - elif os.path.join(filedir, name) in pics: args['pic'] = True |
