1 2 3 4 5 6 7 8
#include "global.h" #include "main.h" void SetMainGameState(u16 mainState) { gMain.mainState = mainState; gMain.subState = 0; }