summaryrefslogtreecommitdiff
path: root/asm/sunlight.s
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2017-11-26 21:18:19 -0800
committerGitHub <noreply@github.com>2017-11-26 21:18:19 -0800
commite6500d12a21e9833e08ad25cc6a76b075cff42dd (patch)
treeebd886d19c3a3257b21590d558ec724ca7d6e849 /asm/sunlight.s
parent0793afb9e8eeb508375344ca683f97bbc797771a (diff)
parent85dc553b949b05ec4fdc0e223c29161465a132b7 (diff)
Merge pull request #473 from ProjectRevoTPP/split_80C
split battle_anim_80CA710
Diffstat (limited to 'asm/sunlight.s')
-rwxr-xr-xasm/sunlight.s34
1 files changed, 34 insertions, 0 deletions
diff --git a/asm/sunlight.s b/asm/sunlight.s
new file mode 100755
index 000000000..891997b07
--- /dev/null
+++ b/asm/sunlight.s
@@ -0,0 +1,34 @@
+ .include "constants/gba_constants.inc"
+ .include "constants/species_constants.inc"
+ .include "asm/macros.inc"
+
+ .syntax unified
+
+ .text
+
+ @ sunlight
+
+ thumb_func_start sub_80D517C
+sub_80D517C: @ 80D517C
+ push {lr}
+ movs r1, 0
+ strh r1, [r0, 0x20]
+ strh r1, [r0, 0x22]
+ movs r1, 0x3C
+ strh r1, [r0, 0x2E]
+ movs r1, 0x8C
+ strh r1, [r0, 0x32]
+ movs r1, 0x50
+ strh r1, [r0, 0x36]
+ ldr r1, _080D51A0 @ =sub_8078B34
+ str r1, [r0, 0x1C]
+ ldr r1, _080D51A4 @ =move_anim_8072740
+ bl StoreSpriteCallbackInData
+ pop {r0}
+ bx r0
+ .align 2, 0
+_080D51A0: .4byte sub_8078B34
+_080D51A4: .4byte move_anim_8072740
+ thumb_func_end sub_80D517C
+
+ .align 2, 0 @ Don't pad with nop.