summaryrefslogtreecommitdiff
path: root/src/wonder_mail_main_menu.c
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2021-03-12 15:39:07 -0600
committerGitHub <noreply@github.com>2021-03-12 15:39:07 -0600
commit7b142311a7294c4c7a943870fa5f24f0fbea604a (patch)
treea1a9513c2f997cc8274af093803dd7d936e65ad0 /src/wonder_mail_main_menu.c
parentd72e17b5f5d795bebda2f6dc78dccb5e80c432b5 (diff)
Miscellaneous Work (Again) (#30)
* work on debug menu and document that and main menu * split, decomp, label more funcs * split exclusive pokemon data out into C * macro-ize exlusive pokemon data * decomp 2 more funcs * decomp a few more * finally match PromptNewQuestion * woot 7% aka more debug menu stuff
Diffstat (limited to 'src/wonder_mail_main_menu.c')
-rw-r--r--src/wonder_mail_main_menu.c44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/wonder_mail_main_menu.c b/src/wonder_mail_main_menu.c
new file mode 100644
index 0000000..d8207c4
--- /dev/null
+++ b/src/wonder_mail_main_menu.c
@@ -0,0 +1,44 @@
+#include "global.h"
+#include "input.h"
+
+extern u8 *gUnknown_203B3E8;
+extern void sub_800641C(void *, u32, u32);
+extern void nullsub_54();
+extern void sub_8039E18();
+
+void sub_803A1C0(u8 r0)
+{
+ *gUnknown_203B3E8 = r0;
+ nullsub_54();
+ sub_8039E18();
+}
+
+u32 sub_803A1D8(void)
+{
+ return 1;
+}
+
+u32 sub_803A1DC(void)
+{
+ return 0;
+}
+
+void nullsub_55()
+{
+}
+
+u32 sub_803A1E4(void)
+{
+ return 1;
+}
+
+u32 sub_803A1E8(void)
+{
+ return 2;
+}
+
+void sub_803A1EC(void)
+{
+ ResetUnusedInputStruct();
+ sub_800641C(NULL, 1, 1);
+}