summaryrefslogtreecommitdiff
path: root/arm9/asm/OS_timer.s
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-04-29 18:05:19 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2020-04-29 18:05:19 -0400
commit236264cbb16ec0daf533edebb86aa3637deec26d (patch)
treedd3df84b09ca71da65f1eb749ffdd9d96629948a /arm9/asm/OS_timer.s
parent25b007b222f5ebc8b503aa472cfc5938f046c863 (diff)
parent84f0713c691a24a69b780ce92ea906265f8dad98 (diff)
Merge branch 'master' of https://github.com/martmists/pokediamond into makelcf
Diffstat (limited to 'arm9/asm/OS_timer.s')
-rw-r--r--arm9/asm/OS_timer.s15
1 files changed, 15 insertions, 0 deletions
diff --git a/arm9/asm/OS_timer.s b/arm9/asm/OS_timer.s
new file mode 100644
index 00000000..1f4b8fdd
--- /dev/null
+++ b/arm9/asm/OS_timer.s
@@ -0,0 +1,15 @@
+ .include "asm/macros.inc"
+ .include "global.inc"
+
+ .text
+
+ arm_func_start OSi_SetTimerReserved
+OSi_SetTimerReserved: ; 0x020CCBF0
+ ldr r1, _020CCC08 ; =OSi_TimerReserved
+ mov r2, #0x1
+ ldrh r3, [r1, #0x0]
+ orr r0, r3, r2, lsl r0
+ strh r0, [r1, #0x0]
+ bx lr
+ .balign 4
+_020CCC08: .word OSi_TimerReserved