summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-10-15 19:57:26 -0500
committerMarcus Huderle <huderlem@gmail.com>2018-10-15 19:57:26 -0500
commitc028df7ce77d8a2e4ba528012ef24e65a17aa5ca (patch)
tree61fa13a25f0dd1bd3f2d2f47931f99a4e6e8d4bf /src/main.c
parent5a87582cc10fe330b89733a58eef50c27b0a6877 (diff)
Decompile a couple functions in titlescreen, and label gMain
Diffstat (limited to 'src/main.c')
-rwxr-xr-xsrc/main.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/main.c b/src/main.c
index 5855e35..1d02a13 100755
--- a/src/main.c
+++ b/src/main.c
@@ -1,16 +1,8 @@
#include "global.h"
+#include "main.h"
-struct UnkStruct_200B0C0
+void sub_23C(u8 mainState)
{
- u8 filler0[0x2];
- u8 unk2;
- u8 unk3;
-};
-
-extern struct UnkStruct_200B0C0 gUnknown_0200B0C0;
-
-void sub_23C(u8 arg0)
-{
- gUnknown_0200B0C0.unk2 = arg0;
- gUnknown_0200B0C0.unk3 = 0;
+ gMain.mainState = mainState;
+ gMain.subState = 0;
}