From 50062957f9c560f955d4556fb7ef12e4e7a3aa61 Mon Sep 17 00:00:00 2001 From: yenatch Date: Mon, 5 May 2014 16:27:48 -0400 Subject: [PATCH] Add an unused function in battle animation commands. --- battle/anim_commands.asm | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/battle/anim_commands.asm b/battle/anim_commands.asm index cfd40220d..9f26e8f94 100644 --- a/battle/anim_commands.asm +++ b/battle/anim_commands.asm @@ -233,7 +233,24 @@ ClearActorHud: ; cc207 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