diff options
| author | notyourav <65437533+notyourav@users.noreply.github.com> | 2021-02-19 01:58:05 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-19 01:58:05 -0800 |
| commit | ab3e488126c735c3aefdedf15bcae3774202cc05 (patch) | |
| tree | a6f776f144c60f78da4f720505c29d6a9334382b /include/script.h | |
| parent | ba330e4875384f12e26b50c4bb9fe0d70e66f15d (diff) | |
| parent | faa6fddc10b6021d31c1a0e793d0d4fa380f9f0d (diff) | |
Merge pull request #119 from Henny022p/master
Decompiled code_0807CC3C
Diffstat (limited to 'include/script.h')
| -rw-r--r-- | include/script.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/script.h b/include/script.h index 73d860e1..93b7554c 100644 --- a/include/script.h +++ b/include/script.h @@ -4,17 +4,17 @@ #include "global.h" typedef struct { - u16 * unk_00; + u16* unk_00; u32 unk_04; u32 unk_08; - u8 unk_0C[0x4];//unused + u8 unk_0C[0x4]; // unused u16 unk_10; u16 unk_12; u32 unk_14; u8 unk_18; u8 unk_19; u8 unk_1A; - u8 unk_1B;//unused + u8 unk_1B; // unused union SplitWord unk_1C; union SplitWord unk_20; } ScriptExecutionContext; @@ -26,8 +26,11 @@ extern u32 GetNextScriptCommandWord(u16*); extern u32 GetNextScriptCommandWordAfterCommandMetadata(u16*); extern u32 GetNextScriptCommandHalfwordAfterCommandMetadata(u16*); -extern void StartPlayerScript(u32); +extern void StartPlayerScript(u16*); extern void sub_0807DEDC(Entity*, ScriptExecutionContext*, u32, u32); +extern ScriptExecutionContext* StartCutscene(Entity*, u16*); +extern void sub_0807DDAC(Entity*, void(*function)(Entity*, ScriptExecutionContext*)); +extern void sub_0807DD94(Entity*, void(*function)(Entity*, ScriptExecutionContext*)); #endif |
