From c028df7ce77d8a2e4ba528012ef24e65a17aa5ca Mon Sep 17 00:00:00 2001 From: Marcus Huderle Date: Mon, 15 Oct 2018 19:57:26 -0500 Subject: Decompile a couple functions in titlescreen, and label gMain --- src/main.c | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'src/main.c') 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; } -- cgit v1.2.3