shithub: pokered

Download patch

ref: 7e78c1171d1206ca2f31cc67c55cc715eeb44ee5
parent: 9523681b8c356cad3607a32893f095334a80fb6e
author: Rangi <[email protected]>
date: Fri Mar 4 13:21:12 EST 2022

Gen 1's Minimize graphic was not a complete 8x8 tile

--- a/engine/battle/animations.asm
+++ b/engine/battle/animations.asm
@@ -1694,7 +1694,7 @@
 	ld bc, 7 * 7 * $10
 	call FillMemory
 	pop hl
-	ld de, $194
+	ld de, 7 * 3 * $10 + 4 * $10 + 4
 	add hl, de
 	ld de, MinimizedMonSprite
 	ld c, MinimizedMonSpriteEnd - MinimizedMonSprite
@@ -1710,7 +1710,15 @@
 	jp AnimationShowMonPic
 
 MinimizedMonSprite:
-	INCBIN "gfx/battle/minimize.1bpp"
+; 8x5 partial tile graphic
+pusho
+opt b.X ; . = 0, X = 1
+	db %...XX...
+	db %..XXXX..
+	db %.XXXXXX.
+	db %..XXXX..
+	db %..X..X..
+popo
 MinimizedMonSpriteEnd:
 
 AnimationSlideMonDownAndHide:
binary files a/gfx/battle/minimize.png /dev/null differ