diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2020-05-18 17:51:21 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2020-05-18 17:51:21 -0400 |
commit | 9ae03511bbfff8e18e923fe56a0fc789c792716a (patch) | |
tree | e14a111c2c494aa621600bb4151e225a9f307a33 /arm9/asm/error_handling.s | |
parent | f22e971cba14ef494a269cc57e058cf31c0b7c1c (diff) |
Splittage 5: The Empire Splits Back
Diffstat (limited to 'arm9/asm/error_handling.s')
-rw-r--r-- | arm9/asm/error_handling.s | 17 |
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} |