summaryrefslogtreecommitdiff
path: root/arm9/asm/error_handling.s
diff options
context:
space:
mode:
authorCleverking2003 <30466983+Cleverking2003@users.noreply.github.com>2020-05-20 22:51:06 +0300
committerGitHub <noreply@github.com>2020-05-20 22:51:06 +0300
commitdace495d47de9479f031f34f948151595acbca13 (patch)
tree4f31107f4446b69106acb0673a383dfdaf88473e /arm9/asm/error_handling.s
parentde389305733545e2b6fac6c8dcb33d76a7446481 (diff)
parentd1d3fce4b6be10ed7186a6c36bc27fe575b593db (diff)
Merge pull request #97 from PikalaxALT/pikalax_work
Split code
Diffstat (limited to 'arm9/asm/error_handling.s')
-rw-r--r--arm9/asm/error_handling.s17
1 files changed, 17 insertions, 0 deletions
diff --git a/arm9/asm/error_handling.s b/arm9/asm/error_handling.s
new file mode 100644
index 00000000..04589e6c
--- /dev/null
+++ b/arm9/asm/error_handling.s
@@ -0,0 +1,17 @@
+ .include "asm/macros.inc"
+ .include "global.inc"
+
+ .text
+
+ thumb_func_start ErrorHandling
+ErrorHandling: ; 0x02020C2C
+ push {r3, lr}
+ bl FUN_02031810
+ cmp r0, #0x0
+ beq _02020C42
+ bl OS_GetProcMode
+ cmp r0, #0x12
+ beq _02020C42
+ bl FUN_0208A9B8
+_02020C42:
+ pop {r3, pc}