diff options
author | Marcus Huderle <huderlem@gmail.com> | 2018-10-15 19:57:26 -0500 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2018-10-15 19:57:26 -0500 |
commit | c028df7ce77d8a2e4ba528012ef24e65a17aa5ca (patch) | |
tree | 61fa13a25f0dd1bd3f2d2f47931f99a4e6e8d4bf /src/main.c | |
parent | 5a87582cc10fe330b89733a58eef50c27b0a6877 (diff) |
Decompile a couple functions in titlescreen, and label gMain
Diffstat (limited to 'src/main.c')
-rwxr-xr-x | src/main.c | 16 |
1 files changed, 4 insertions, 12 deletions
@@ -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; } |