shithub: pokecrystal

Download patch

ref: 50062957f9c560f955d4556fb7ef12e4e7a3aa61
parent: ddc88bed4bab836b04ae11f0404baa03d001d3df
author: yenatch <[email protected]>
date: Mon May 5 12:27:48 EDT 2014

Add an unused function in battle animation commands.

--- a/battle/anim_commands.asm
+++ b/battle/anim_commands.asm
@@ -233,7 +233,24 @@
 	ret
 ; cc220
 
-INCBIN "baserom.gbc",$cc220,$cc23d - $cc220
+Functioncc220: ; cc220
+; Appears to be unused.
+	xor a
+	ld [hBGMapMode], a
+	ld a, $80
+	ld [hBGMapAddress], a
+	ld a, $9a
+	ld [$ffd7], a
+	call Function3200
+	ld a, $60
+	ld [hWY], a
+	xor a
+	ld [hBGMapAddress], a
+	ld a, $98
+	ld [$ffd7], a
+	call BattleAnimDelayFrame
+	ret
+; cc23d
 
 
 Functioncc23d: ; cc23d