summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortheo3 <arisstephenson2@gmail.com>2020-08-16 18:18:55 -0700
committertheo3 <arisstephenson2@gmail.com>2020-08-16 18:18:55 -0700
commitfc71c983d06a7cb18e5de4dfd3f19b30d25c210d (patch)
treea987825e1757d4d47ee94bfbb5be94cc19a97472 /src
parent2d2f371f223ad444aa4b4ccbbd054ad525ba3000 (diff)
split unrelated code
Diffstat (limited to 'src')
-rw-r--r--src/code_080300AC.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/code_080300AC.c b/src/code_080300AC.c
new file mode 100644
index 00000000..785d0ca5
--- /dev/null
+++ b/src/code_080300AC.c
@@ -0,0 +1,25 @@
+#include "global.h"
+#include "entity.h"
+#include "functions.h"
+
+//extern void DmaZero(void*, u32);
+
+typedef struct {
+ u16 unk0;
+ u16 filler2[32];
+ u16 unk66;
+} struct_0300110C;
+
+extern struct_0300110C gUnk_0300110C;
+
+void sub_080300AC(void) {
+ _DmaZero(&gUnk_0300110C.unk0, 0x44);
+ gUnk_0300110C.unk66 = 0xff;
+}
+
+void sub_080300C4(void) {
+ if (gScreenTransition.field_0xae == 0xff) {
+ gScreenTransition.field_0xac = 0;
+ _DmaZero(&gScreenTransition.field_0x4c[32], 0x40);
+ }
+} \ No newline at end of file