summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoroctorock <79596758+octorock@users.noreply.github.com>2021-12-26 23:44:43 +0100
committeroctorock <79596758+octorock@users.noreply.github.com>2021-12-27 00:11:56 +0100
commit57f00c0eae4cc00fa329df0d13752f7de096054f (patch)
treef8764779c623c1f7fc17f8a0d466c9a758a19a05 /include
parent2ccf89a1fb89e01f449e1d4ce734c57943fa093b (diff)
Name some script commands
Diffstat (limited to 'include')
-rw-r--r--include/script.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/script.h b/include/script.h
index 9dd1f116..b59d8916 100644
--- a/include/script.h
+++ b/include/script.h
@@ -20,13 +20,14 @@ typedef struct ScriptExecutionContext {
} ScriptExecutionContext;
typedef struct {
- u32 unk_00;
+ // Sync flags are used to synchronize scripts running on different entities
+ u32 syncFlags;
u16 commandIndex;
u8 commandSize;
u8 flags;
u8 unk_08;
-} struct_02033280;
-extern struct_02033280 gActiveScriptInfo;
+} ActiveScriptInfo;
+extern ActiveScriptInfo gActiveScriptInfo;
void ExecuteScript(Entity* entity, ScriptExecutionContext* context);