Add compatibility hack for unused colors in indexed PNGs

This commit is contained in:
ISSOtm
2022-03-09 00:00:07 +01:00
committed by Eldred Habert
parent b95c26c886
commit 20442c8a43
5 changed files with 43 additions and 25 deletions

View File

@@ -1,16 +0,0 @@
diff --git a/Makefile b/Makefile
index ca08f23f..abd2e95c 100644
--- a/Makefile
+++ b/Makefile
@@ -170,9 +170,9 @@ gfx/pokemon/girafarig/front.animated.tilemap: gfx/pokemon/girafarig/front.2bpp g
### Misc file-specific graphics rules
-gfx/pokemon/%/back.2bpp: rgbgfx += -h
+gfx/pokemon/%/back.2bpp: rgbgfx += -h -c embedded
-gfx/trainers/%.2bpp: rgbgfx += -h
+gfx/trainers/%.2bpp: rgbgfx += -h -c embedded
gfx/pokemon/egg/unused_front.2bpp: rgbgfx += -h

View File

@@ -30,8 +30,7 @@ if [ ! -d pokecrystal ]; then
fi
pushd pokecrystal
git fetch
git checkout a3e31d6463e6313aed12ebc733b3f772f2fc78d7 -f
git apply ../pokecrystal.patch
git checkout a3e31d6463e6313aed12ebc733b3f772f2fc78d7
make clean
make -j4 compare RGBDS=../../
popd