summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhlosioneer <mattmdrr2@gmail.com>2019-02-12 03:51:48 -0500
committerPhlosioneer <mattmdrr2@gmail.com>2019-02-17 23:14:14 -0500
commit323df8ed407f22977053f9b672d661b00c9a63d3 (patch)
treef7dc2f15074880741c3c7d6bceee00deb02f4615
parent729e7116f2a71d72a7a3ab90d12159130a1d6a16 (diff)
Decompiled sub_81C7400
-rw-r--r--asm/pokenav.s13
-rw-r--r--src/pokenav_main.c7
2 files changed, 7 insertions, 13 deletions
diff --git a/asm/pokenav.s b/asm/pokenav.s
index 474efe935..c0fb9c48d 100644
--- a/asm/pokenav.s
+++ b/asm/pokenav.s
@@ -5,19 +5,6 @@
.text
-
-
- thumb_func_start sub_81C7400
-sub_81C7400: @ 81C7400
- push {lr}
- bl RunTasks
- bl AnimateSprites
- bl BuildOamBuffer
- bl UpdatePaletteFade
- pop {r0}
- bx r0
- thumb_func_end sub_81C7400
-
thumb_func_start sub_81C7418
sub_81C7418: @ 81C7418
push {lr}
diff --git a/src/pokenav_main.c b/src/pokenav_main.c
index 125ced646..b39ab7bb1 100644
--- a/src/pokenav_main.c
+++ b/src/pokenav_main.c
@@ -231,4 +231,11 @@ bool32 AnyMonHasRibbon() {
}
return FALSE;
+}
+
+void sub_81C7400() {
+ RunTasks();
+ AnimateSprites();
+ BuildOamBuffer();
+ UpdatePaletteFade();
} \ No newline at end of file