Start matching instdll

This commit is contained in:
gamemasterplc 2024-03-15 11:08:07 -05:00
parent 930f8b88b3
commit 2ecef59c15
21 changed files with 872 additions and 437 deletions

View file

@ -23,6 +23,8 @@
#include "math.h"
void HuSprGrpDrawNoSet(s16 group, s32 draw_no);
#define ABS(x) (((x) < 0) ? -(x) : (x))
typedef struct {

View file

@ -291,7 +291,7 @@ void BoardSaveInit(s32 board)
GWSystem.bowser_event = 0;
GWSystem.unk_32 = 1;
GWSystem.mg_next = 0;
GWSystem.mg_next_type = 0;
GWMGTypeSet(0);
GWSystem.unk_38 = 0;
GWSystem.block_pos = 0;
memset(GWSystem.board_data, 0, 32);

View file

@ -282,7 +282,7 @@ static void ExecMGSetup(void) {
BoardDataAsyncWait(var_r22);
var_r24 = mgNext + 0x191;
BoardMGSetupPlayPush(mgType, var_r24);
GWSystem.mg_next_type = -1;
GWMGTypeSet(-1);
GWMGAvailSet(var_r24);
GWSystem.mg_next = var_r24 - 0x191;
_SetFlag(0x10002U);