Holy shit! It's done! ExecuteScriptCommand matched

This commit is contained in:
Mateusz Naściszewski 2024-07-22 21:11:52 +02:00
parent fd2c4c42a8
commit 6a420ad62d
No known key found for this signature in database
GPG Key ID: 6A6067123E4CAF6E
7 changed files with 1884 additions and 4817 deletions

File diff suppressed because it is too large Load Diff

View File

@ -7,9 +7,9 @@ typedef struct DungeonInfo
/* 0x0 */ s16 unk0;
/* 0x2 */ s16 unk2;
/* 0x4 */ s16 unk4;
/* 0x6 */ u16 unk6;
/* 0x8 */ u16 unk8;
/* 0xA */ u16 unkA;
/* 0x6 */ s16 unk6;
/* 0x8 */ s16 unk8;
/* 0xA */ s16 unkA;
/* 0xC */ u8 dungeonIndex;
/* 0xD */ u8 unkD;
/* 0xE */ s16 unkE;
@ -40,4 +40,4 @@ bool8 sub_80A28F0(u8 index);
s32 sub_80A29B0(u8 *);
const u8 *sub_80A2B18(s16);
#endif // GUARD_CODE_80A26CC_H
#endif // GUARD_CODE_80A26CC_H

View File

@ -27,7 +27,7 @@ void PrintFuncFileLine(u8 *buf, DebugLocation *loc, const u8 *prefix);
void PrintMessageWithFuncFileLine(u8 *buffer, DebugLocation *debug, const u8 *text, ...);
void sub_8011B08(void);
void sub_8011B88(const u8 *text, ...);
u32 ScriptLoggingEnabled(bool8);
s8 ScriptLoggingEnabled(bool8);
u32 sub_8011BA8(void);
const u8 *sub_8011BAC(void);
void sub_8011B14(void);

View File

@ -19,7 +19,7 @@ typedef struct ScriptInfoSmall
/* 0x0 */ ScriptCommand *ptr;
/* 0x4 */ s16 state;
/* 0x6 */ s16 group;
/* 0x8 */ u8 sector;
/* 0x8 */ s8 sector;
} ScriptInfoSmall;
typedef struct ScriptInfo
@ -28,17 +28,17 @@ typedef struct ScriptInfo
/* 0x0 */ ScriptCommand *ptr;
/* 0x4 */ ScriptCommand *ptr2;
/* 0x8 */ s16 group;
/* 0xA */ u8 sector;
/* 0xA */ s8 sector;
} ScriptInfo;
typedef union ScriptUnion832 {
u32 raw;
u8 arr[4];
s32 raw;
s8 arr[4];
} ScriptUnion832;
typedef union ScriptUnion1632 {
u32 raw;
u16 arr[2];
s32 raw;
s16 arr[2];
} ScriptUnion1632;
typedef struct ScriptData

View File

@ -461,4 +461,4 @@ const u8 *sub_80A2B18(s16 param_1)
UNUSED static const u8 *sub_80A2B28(u16 r0)
{
return sub_80A2B18(sub_8001658(0, 17));
}
}

View File

@ -170,7 +170,7 @@ void nullsub_28(void)
{
}
u32 ScriptLoggingEnabled(bool8 unused)
s8 ScriptLoggingEnabled(bool8 unused)
{
return 0;
}

File diff suppressed because it is too large Load Diff