shithub: pokecrystal

Download patch

ref: cb32c895e479f4a470ca7fb113dc8db870302a5e
parent: d2053c12c231765b023f5736b3b65c813d1898da
author: Rangi <[email protected]>
date: Sun Aug 26 09:23:40 EDT 2018

Explain wCreditsBlankFrame2bpp

--- a/engine/movie/credits.asm
+++ b/engine/movie/credits.asm
@@ -22,7 +22,10 @@
 
 	ld hl, wCreditsBlankFrame2bpp
 	ld c, (wCreditsBlankFrame2bppEnd - wCreditsBlankFrame2bpp) / 2
-	ld de, `22222222 ; eight pixels, each with color #2
+	ld de, `22222222 ; eight pixels, each color #2 (dark)
+
+; Fill wCreditsBlankFrame2bpp with 4x4=16 tiles, all solid dark color
+; (the same color used for the four border frame mons' backgrounds)
 
 .load_loop
 	ld a, e
--- a/wram.asm
+++ b/wram.asm
@@ -1069,7 +1069,7 @@
 
 UNION ; ca00
 ; blank credits tile buffer
-wCreditsBlankFrame2bpp:: ds 16 tiles
+wCreditsBlankFrame2bpp:: ds 4 * 4 tiles
 wCreditsBlankFrame2bppEnd::
 
 NEXTU ; ca00