2023-09-05 04:49:33 +00:00
|
|
|
#ifndef GUARD_MAKUHITA_DOJO1_H
|
|
|
|
#define GUARD_MAKUHITA_DOJO1_H
|
2023-08-04 04:37:49 +00:00
|
|
|
|
2023-08-04 04:48:59 +00:00
|
|
|
#include "file_system.h"
|
2023-09-21 02:52:40 +00:00
|
|
|
#include "structs/menu.h"
|
2023-09-21 02:26:35 +00:00
|
|
|
#include "structs/str_text.h"
|
2023-08-04 04:37:49 +00:00
|
|
|
|
2023-09-11 21:53:34 +00:00
|
|
|
enum MakuhitaDojoInitMode
|
2023-09-05 04:49:33 +00:00
|
|
|
{
|
2023-09-25 00:38:11 +00:00
|
|
|
MAKUHITA_DOJO_INIT_MODE_UNK0_AWAKE,
|
|
|
|
MAKUHITA_DOJO_INIT_MODE_UNK1_AWAKE,
|
|
|
|
MAKUHITA_DOJO_INIT_MODE_UNK2_AWAKE,
|
|
|
|
MAKUHITA_DOJO_INIT_MODE_UNK3_AWAKE,
|
|
|
|
MAKUHITA_DOJO_INIT_MODE_UNK4_ASLEEP,
|
|
|
|
MAKUHITA_DOJO_INIT_MODE_UNK5_ASLEEP,
|
|
|
|
MAKUHITA_DOJO_INIT_MODE_UNK6_ASLEEP,
|
|
|
|
MAKUHITA_DOJO_INIT_MODE_UNK7_ASLEEP,
|
2023-09-05 04:49:33 +00:00
|
|
|
};
|
|
|
|
|
2023-07-25 05:41:05 +00:00
|
|
|
// size: 0xCC
|
2023-09-05 04:49:33 +00:00
|
|
|
typedef struct MakuhitaDojoWork1
|
2023-01-08 17:43:12 +00:00
|
|
|
{
|
2023-09-11 21:53:34 +00:00
|
|
|
/* 0x0 */ u32 mode; // Corresponds to the enum: MakuhitaDojoInitMode
|
2023-09-23 09:11:06 +00:00
|
|
|
/* 0x4 */ u32 dlgMode; // Corresponds to the enum: MakuhitaDojoMode
|
2023-07-25 05:41:05 +00:00
|
|
|
/* 0x8 */ s32 state;
|
|
|
|
/* 0xC */ s32 fallbackState;
|
2023-01-08 17:43:12 +00:00
|
|
|
s16 unk10;
|
2023-07-25 05:41:05 +00:00
|
|
|
/* 0x14 */ s32 menuAction;
|
2023-09-02 05:46:26 +00:00
|
|
|
MenuItem unk18[4];
|
2023-07-25 05:41:05 +00:00
|
|
|
u8 fill38[0x58 - 0x38];
|
2023-09-02 05:46:26 +00:00
|
|
|
/* 0x58 */ OpenedFile *faceFile;
|
2023-07-25 05:41:05 +00:00
|
|
|
/* 0x5C */ u8 *faceData;
|
2023-01-08 17:43:12 +00:00
|
|
|
u16 unk60;
|
|
|
|
u16 unk62;
|
|
|
|
u8 unk64;
|
|
|
|
u8 unk65;
|
|
|
|
u8 unk66;
|
|
|
|
u8 unk67;
|
2023-09-02 05:46:26 +00:00
|
|
|
OpenedFile** unk68;
|
|
|
|
UnkTextStruct2 unk6C[4];
|
2023-09-05 04:49:33 +00:00
|
|
|
} MakuhitaDojoWork1;
|
2023-01-08 17:43:12 +00:00
|
|
|
|
2023-08-04 05:08:38 +00:00
|
|
|
void MakuhitaDojo_Delete(void);
|
2023-09-09 23:53:10 +00:00
|
|
|
bool8 MakuhitaDojo_New(u32 mode);
|
2023-08-04 05:05:54 +00:00
|
|
|
|
|
|
|
u32 sub_802FE58(void);
|
|
|
|
s16 sub_802FED0(void);
|
2023-08-05 02:16:15 +00:00
|
|
|
|
2023-09-05 04:49:33 +00:00
|
|
|
#endif // GUARD_MAKUHITA_DOJO1_H
|