Split and Label gamework.c

This commit is contained in:
gamemasterplc 2023-11-30 16:44:13 -06:00
parent eb0cad89f0
commit d759d991f7
9 changed files with 65 additions and 59 deletions

View file

@ -88,7 +88,7 @@ typedef struct BoardStateSubStruct {
/* 0x08 */ s16 unk8;
} BoardStateSubStruct;
typedef struct BoardState {
typedef struct system_work {
/* 0x00 */ char unk00[0x04];
/* 0x04 */ s8 curTurnCount;
/* 0x05 */ s8 maxTurnCount;
@ -99,13 +99,13 @@ typedef struct BoardState {
/* 0x0C */ char unk0C[4];
/* 0x10 */ BoardStateSubStruct unk10;
/* 0x1A */ char unk1A[0xC6];
} BoardState; //8018fcf8, sizeof 0xE0
} SystemState; //8018fcf8, sizeof 0xE0
typedef struct {
u8 unk0 : 2;
} PlayerFlags;
typedef struct Player {
typedef struct player_state {
/* 0x00 */ u8 characterID;
/* 0x01 */ s8 unk01;
/* 0x02 */ s8 unk02;
@ -133,7 +133,7 @@ typedef struct Player {
/* 0x24 */ char unk_24[6];
/* 0x2A */ s16 stars;
/* 0x2C */ char unk_2C[4];
} Player; //size of 0x30
} PlayerState; //size of 0x30
typedef struct om_obj_data {
u16 stat;