aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAsh Ketchum <no-reply@sl0p.foo>2026-07-15 01:48:59 +0200
committerAsh Ketchum <no-reply@sl0p.foo>2026-07-15 01:48:59 +0200
commitefa05fa97d3880030915b52483bc747546b813a0 (patch)
treed3f26b7b65c58b3b15b9f28a01af54fcf92d6795 /Makefile
parentintro: brief POKeMON SL0P EDITION splash on the fastboot path (diff)
downloadpokeyellow-efa05fa97d3880030915b52483bc747546b813a0.tar.gz
pokeyellow-efa05fa97d3880030915b52483bc747546b813a0.tar.xz
pokeyellow-efa05fa97d3880030915b52483bc747546b813a0.zip
intro: real 2bpp graphic splash (POKeMON SL0P EDITION)
Replace the plain-text splash with an actual rendered graphic: gfx/slop/intro.png (bordered banner, big drop-shadowed SL0P logo) -> deduped tiles + tilemap via a custom rgbgfx Makefile rule (164 tiles). SlopSplash loads it into VRAM (BG map, 0x8000 tiles), holds ~2s, fades out, and restores LCDC_DEFAULT so the overworld BG addressing + OBJ sprites are intact. Reproducible from the PNG.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d05541b0..085b78f3 100644
--- a/Makefile
+++ b/Makefile
@@ -171,6 +171,14 @@ gfx/sgb/border.2bpp: tools/gfx += --trim-whitespace
gfx/surfing_pikachu/surfing_pikachu_1c.2bpp: tools/gfx += --trim-whitespace
+### Custom graphics rules
+
+# SL0P intro splash: dedup tiles (-u) and emit a tilemap (-t) alongside the
+# 2bpp, both INCBIN'd by engine/slop_intro.asm.
+gfx/slop/intro.2bpp: gfx/slop/intro.png
+ $(RGBGFX) $(RGBGFXFLAGS) -u -t gfx/slop/intro.tilemap -o $@ $<
+gfx/slop/intro.tilemap: gfx/slop/intro.2bpp ;
+
### Catch-all graphics rules
%.2bpp: %.png