diff --git a/README.md b/README.md index 5d1d0436..6bd0cbc6 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,7 @@ There are src-specific versions of these settings: - `CONFIG_DEX_`: Compression options for `dex/` only. - `CONFIG_MODELS_`: Compression options for `models/` only. - `CONFIG_SPRITESHEET_`: Compression options for spritesheets only. +- `CONFIG_MINISPRITE_`: Compression options for `minisprites/` only. For example, these settings reflect the compression settings for the files chaos uploaded in `src/`: ``` diff --git a/Tupfile.lua b/Tupfile.lua index e0ee4327..ee4a7202 100644 --- a/Tupfile.lua +++ b/Tupfile.lua @@ -5,7 +5,8 @@ foreach_rule( "newsrc/minisprites/pokemon/gen6/*.png", { display="pad g6 minisprite %f", - pad{w=40, h=30} + pad{w=40, h=30}, + compresspng{config="MINISPRITE"} }, "build/gen6-minisprites-padded/%b" ) @@ -14,7 +15,8 @@ foreach_rule( "newsrc/minisprites/items/*.png", { display="pad item minisprite %f", - pad{w=24, h=24} + pad{w=24, h=24}, + compresspng{config="MINISPRITE"} }, "build/item-minisprites-padded/%b" )