diff options
author | entrpntr <entrpntr@gmail.com> | 2020-05-25 16:46:33 -0400 |
---|---|---|
committer | entrpntr <entrpntr@gmail.com> | 2020-05-25 16:46:33 -0400 |
commit | 9bd3a69955bf8bf7e45468ed6247aebc20d5889b (patch) | |
tree | a74a32cd86af93ef4b42be3081ab0bb573af2637 /tools/gfx.py | |
parent | b66b8557a6f796d7dcd5b3004592869f95e7cad7 (diff) |
Reformat and re-reidentify some gfx.
Diffstat (limited to 'tools/gfx.py')
-rw-r--r-- | tools/gfx.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/tools/gfx.py b/tools/gfx.py index 3e50d1ab..ba3e3d3d 100644 --- a/tools/gfx.py +++ b/tools/gfx.py @@ -93,12 +93,12 @@ def filepath_rules(filepath): # args['animate'] = True # startswith to handle back_gold / back_silver elif name.startswith('back'): - args['pal_file'] = os.path.join(filedir, 'shiny.pal') + args['pal_file'] = os.path.join(filedir, 'normal.pal') args['pic'] = True elif 'gfx/trainers' in filedir: trainer_name = filedir.split('/')[-1] - args['pal_file'] = os.path.join(filedir, trainer_name + '.pal') + args['pal_file'] = os.path.join(filedir, name + '.pal') args['pic'] = True elif 'gfx/battle' in filedir: @@ -152,7 +152,6 @@ def filepath_rules(filepath): elif 'gfx/overworld' in filedir: if name == 'heal_machine': args['width'] = 8 - args['pal_file'] = os.path.join(filedir, name + '.pal') elif name in overworld_px8: args['width'] = 8 elif name in overworld_px16: @@ -190,12 +189,15 @@ def filepath_rules(filepath): elif name == 'mystery_gift_2': args['width'] = 128 # TODO: this is incomplete + elif name == 'question_mark': + args['width'] = 40 + args['rows'] = [(1, 4), (0, 0), (0, 0), (2, 3), (2, 1)] elif name == 'border': - args['width'] = 16 + args['width'] = 56 elif 'gfx/sgb' in filedir: args['width'] = 128 - args['pal_file'] = os.path.join(filedir, name + '.pal') + #args['pal_file'] = os.path.join(filedir, name + '.pal') elif 'gfx/slots' in filedir: if name == 'slots_1': |