summaryrefslogtreecommitdiff
path: root/battle/anim_commands.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-05-05 16:27:48 -0400
committeryenatch <yenatch@gmail.com>2014-05-05 16:27:48 -0400
commit50062957f9c560f955d4556fb7ef12e4e7a3aa61 (patch)
treecf858218b25fd0dd2639968f048b33465432e038 /battle/anim_commands.asm
parentddc88bed4bab836b04ae11f0404baa03d001d3df (diff)
Add an unused function in battle animation commands.
Diffstat (limited to 'battle/anim_commands.asm')
-rw-r--r--battle/anim_commands.asm19
1 files changed, 18 insertions, 1 deletions
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