diff options
| author | octorock <79596758+octorock@users.noreply.github.com> | 2021-03-04 07:21:24 +0100 |
|---|---|---|
| committer | octorock <79596758+octorock@users.noreply.github.com> | 2021-03-06 14:53:33 +0100 |
| commit | 40a3d866b12f6947ce23eb33d4b3ebd9bc27caca (patch) | |
| tree | e6069d8ad93876858ab116d27cc759b1bb244e66 /src/script.c | |
| parent | 654434c74baea77656738fbba7627dae150e5ca7 (diff) | |
Split off second script
Diffstat (limited to 'src/script.c')
| -rw-r--r-- | src/script.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/script.c b/src/script.c index 6d136b5a..bef65e05 100644 --- a/src/script.c +++ b/src/script.c @@ -647,6 +647,7 @@ void sub_0807E014(Entity* unk1, ScriptExecutionContext* unk2) { gUnk_02033280.continueScriptExecutionFlags &= ~2; } +// Jump by offset void sub_0807E024(Entity* unk1, ScriptExecutionContext* unk2) { s16 tmp; // get metadata -> tmp @@ -677,6 +678,7 @@ void sub_0807E078(Entity* unk1, ScriptExecutionContext* unk2) { } } +// repoint the execution somewhere else void sub_0807E0A0(Entity* unk1, ScriptExecutionContext* unk2) { unk2->unk_00.raw = (u16*)GetNextScriptCommandWordAfterCommandMetadata(unk2->unk_00.raw); gUnk_02033280.unk_06 = 0; @@ -1483,10 +1485,12 @@ void sub_0807EF3C(Entity* unk1, ScriptExecutionContext* unk2) { gUnk_02033280.unk_06 = 0; } +// set one bit in unk_08 void sub_0807EF80(Entity* unk1, ScriptExecutionContext* unk2) { unk2->unk_08 |= 1 << unk2->unk_00.raw[1]; } +// set one bit in unk_08 void sub_0807EF90(Entity* unk1, ScriptExecutionContext* unk2) { unk2->unk_08 |= 1 << unk2->unk_00.raw[1]; } |
