Add notes to script.c

This commit is contained in:
octorock
2021-03-04 03:49:25 +01:00
parent cdb6f5a17e
commit 05b2edad40
7 changed files with 424 additions and 238 deletions
+12 -2
View File
@@ -3,14 +3,24 @@
#include "global.h"
typedef struct
{
u16 command;
u16 metadata;
} ScriptCommand;
typedef struct {
u16* unk_00;
union {
u16* raw;
ScriptCommand* commands; // list of commands to execute
} unk_00;
u32 unk_04;
u32 unk_08;
u8 unk_0C[0x4]; // unused
u16 unk_10;
u16 unk_12;
u32 unk_14;
u32 compareResult; // result of a compare script command
u8 unk_18;
u8 unk_19;
u8 unk_1A;