summaryrefslogtreecommitdiff
path: root/asm/pokemon_special_anim.s
diff options
context:
space:
mode:
Diffstat (limited to 'asm/pokemon_special_anim.s')
-rw-r--r--asm/pokemon_special_anim.s161
1 files changed, 0 insertions, 161 deletions
diff --git a/asm/pokemon_special_anim.s b/asm/pokemon_special_anim.s
index 6eed303ea..620689927 100644
--- a/asm/pokemon_special_anim.s
+++ b/asm/pokemon_special_anim.s
@@ -5,167 +5,6 @@
.text
- thumb_func_start sub_811D184
-sub_811D184: @ 811D184
- push {r4,r5,lr}
- sub sp, 0x8
- adds r4, r0, 0
- lsls r5, r1, 16
- lsrs r5, 16
- bl FreeAllWindowBuffers
- bl ResetTempTileDataBuffers
- movs r0, 0
- movs r1, 0
- bl SetGpuReg
- movs r0, 0
- bl ResetBgsAndClearDma3BusyFlags
- ldr r1, _0811D270 @ =gUnknown_8459980
- movs r0, 0
- movs r2, 0x2
- bl InitBgsFromTemplates
- ldr r0, _0811D274 @ =gUnknown_8459988
- bl InitWindows
- movs r0, 0
- movs r1, 0
- movs r2, 0
- bl ChangeBgX
- movs r0, 0
- movs r1, 0
- movs r2, 0
- bl ChangeBgY
- movs r0, 0x3
- movs r1, 0
- movs r2, 0
- bl ChangeBgX
- movs r0, 0x3
- movs r1, 0
- movs r2, 0
- bl ChangeBgY
- ldr r0, _0811D278 @ =0x00000914
- adds r1, r4, r0
- movs r0, 0
- bl SetBgTilemapBuffer
- ldr r0, _0811D27C @ =0x00001914
- adds r4, r0
- movs r0, 0x3
- adds r1, r4, 0
- bl SetBgTilemapBuffer
- movs r1, 0xC0
- lsls r1, 19
- movs r0, 0
- movs r2, 0x20
- movs r3, 0x1
- bl RequestDma3Fill
- movs r0, 0x20
- str r0, [sp]
- str r0, [sp, 0x4]
- movs r0, 0
- movs r1, 0
- movs r2, 0
- movs r3, 0
- bl FillBgTilemapBufferRect_Palette0
- adds r0, r5, 0
- bl sub_811D7D4
- movs r0, 0
- movs r1, 0
- bl FillWindowPixelBuffer
- movs r0, 0
- movs r1, 0
- movs r2, 0xE0
- bl TextWindow_SetUserSelectedFrame
- movs r0, 0
- movs r1, 0x3
- bl CopyWindowToVram
- movs r0, 0
- bl ShowBg
- movs r0, 0x3
- bl ShowBg
- movs r0, 0x1
- bl HideBg
- movs r0, 0x2
- bl HideBg
- movs r0, 0
- bl CopyBgTilemapBufferToVram
- movs r0, 0x3
- bl CopyBgTilemapBufferToVram
- movs r1, 0x82
- lsls r1, 5
- movs r0, 0
- bl SetGpuRegBits
- movs r0, 0x50
- movs r1, 0
- bl SetGpuReg
- add sp, 0x8
- pop {r4,r5}
- pop {r0}
- bx r0
- .align 2, 0
-_0811D270: .4byte gUnknown_8459980
-_0811D274: .4byte gUnknown_8459988
-_0811D278: .4byte 0x00000914
-_0811D27C: .4byte 0x00001914
- thumb_func_end sub_811D184
-
- thumb_func_start sub_811D280
-sub_811D280: @ 811D280
- push {lr}
- bl FreeTempTileDataBuffersIfPossible
- lsls r0, 24
- cmp r0, 0
- beq _0811D290
- movs r0, 0x1
- b _0811D298
-_0811D290:
- bl IsDma3ManagerBusyWithBgCopy
- lsls r0, 24
- lsrs r0, 24
-_0811D298:
- pop {r1}
- bx r1
- thumb_func_end sub_811D280
-
- thumb_func_start sub_811D29C
-sub_811D29C: @ 811D29C
- push {lr}
- bl FreeAllWindowBuffers
- pop {r0}
- bx r0
- thumb_func_end sub_811D29C
-
- thumb_func_start sub_811D2A8
-sub_811D2A8: @ 811D2A8
- push {lr}
- movs r0, 0
- bl PutWindowTilemap
- movs r0, 0
- movs r1, 0x11
- bl FillWindowPixelBuffer
- movs r0, 0
- movs r1, 0x1
- movs r2, 0xE
- bl DrawTextBorderOuter
- movs r0, 0
- movs r1, 0x3
- bl CopyWindowToVram
- pop {r0}
- bx r0
- thumb_func_end sub_811D2A8
-
- thumb_func_start sub_811D2D0
-sub_811D2D0: @ 811D2D0
- push {lr}
- movs r0, 0
- bl ClearWindowTilemap
- movs r0, 0
- movs r1, 0
- bl ClearStdWindowAndFrameToTransparent
- movs r0, 0
- movs r1, 0x1
- bl CopyWindowToVram
- pop {r0}
- bx r0
- thumb_func_end sub_811D2D0
-
thumb_func_start sub_811D2EC
sub_811D2EC: @ 811D2EC
push {r4-r7,lr}