Improve LayerStruct

This commit is contained in:
octorock
2022-03-05 11:43:58 +01:00
parent d18fed1fb9
commit d6bbbf2db6
67 changed files with 720 additions and 1213 deletions
+3 -2
View File
@@ -6,6 +6,7 @@
#include "save.h"
#include "message.h"
#include "interrupts.h"
#include "game.h"
extern u32 gRand;
@@ -121,8 +122,8 @@ static bool32 SoftResetKeysPressed(void) {
void SetTask(u32 task) {
gMain.task = task;
gMain.state = 0;
gMain.substate = 0;
gMain.state = GAMETASK_TRANSITION;
gMain.substate = GAMEMAIN_INITROOM;
}
void DisableInterruptsAndDMA(void) {