summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2021-03-04 23:37:57 +0100
committeroctorock <79596758+octorock@users.noreply.github.com>2021-03-06 14:53:33 +0100
commit1a8fad358a3d224bb035b8698162540a1372575b (patch)
treed158dd9b6161929542da43a070216334739553ef /include
parent461ab7759588c36a0dffd1ba91b3853bb402fc42 (diff)
Reset changes to script.c
Diffstat (limited to 'include')
-rw-r--r--include/script.h14
-rw-r--r--include/structures.h8
2 files changed, 4 insertions, 18 deletions
diff --git a/include/script.h b/include/script.h
index 416485b5..9abc5291 100644
--- a/include/script.h
+++ b/include/script.h
@@ -3,24 +3,14 @@
#include "global.h"
-typedef struct
-{
- u16 command;
- u16 metadata;
-} ScriptCommand;
-
-
typedef struct {
- union {
- u16* raw;
- ScriptCommand* commands; // list of commands to execute
- } unk_00;
+ u16* unk_00;
u32 unk_04;
u32 unk_08;
u8 unk_0C[0x4]; // unused
u16 unk_10;
u16 unk_12;
- u32 compareResult; // result of a compare script command
+ u32 unk_14;
u8 unk_18;
u8 unk_19;
u8 unk_1A;
diff --git a/include/structures.h b/include/structures.h
index f6108ad6..59811d6f 100644
--- a/include/structures.h
+++ b/include/structures.h
@@ -119,15 +119,11 @@ typedef struct {
extern struct_02024490 gUnk_02024490;
-
-// Some kind of ScriptInterpreter state?
typedef struct {
u32 unk_00;
- u16 operationId;
+ u16 unk_04;
u8 unk_06;
- // bit 0 is reset before each script execution
- // execution is continued if bit 0 or bit 1 are true, so bit 1 can be set to execute until someone unsets bit 1
- u8 continueScriptExecutionFlags;
+ u8 unk_07;
u8 unk_08;
} struct_02033280;