summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
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;
}