summaryrefslogtreecommitdiff
path: root/include/structures.h
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2021-03-04 03:49:25 +0100
committeroctorock <79596758+octorock@users.noreply.github.com>2021-03-06 14:53:26 +0100
commit05b2edad405eb47a5f36ee09f705f0da04df0793 (patch)
tree99a419871bc2b0c57990ec9b66c79f0f47b26c97 /include/structures.h
parentcdb6f5a17e19abe270e2bf7cd35255a3801c068b (diff)
Add notes to script.c
Diffstat (limited to 'include/structures.h')
-rw-r--r--include/structures.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/structures.h b/include/structures.h
index 59811d6f..f6108ad6 100644
--- a/include/structures.h
+++ b/include/structures.h
@@ -119,11 +119,15 @@ typedef struct {
extern struct_02024490 gUnk_02024490;
+
+// Some kind of ScriptInterpreter state?
typedef struct {
u32 unk_00;
- u16 unk_04;
+ u16 operationId;
u8 unk_06;
- u8 unk_07;
+ // 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_08;
} struct_02033280;