diff options
| author | Henny022p <info@henny022.de> | 2021-02-16 01:34:52 +0100 |
|---|---|---|
| committer | Henny022p <info@henny022.de> | 2021-02-16 01:34:52 +0100 |
| commit | 2948cf8d07bf155ec4a6554e676e05d72df058fb (patch) | |
| tree | 72973544a12d4a24183b2e5f3ace362b19d9f5b2 /src | |
| parent | f2855ee21a198af373f5bc162ecd5c8d1b9ee2e6 (diff) | |
matched sub_0807DB88
Diffstat (limited to 'src')
| -rw-r--r-- | src/code_0807CC3C.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/code_0807CC3C.c b/src/code_0807CC3C.c index 5cef7e15..28cde049 100644 --- a/src/code_0807CC3C.c +++ b/src/code_0807CC3C.c @@ -11,11 +11,15 @@ extern void CreateSpeechBubbleExclamationMark(Entity*, u32, u32); extern void CreateSpeechBubbleQuestionMark(Entity*, u32, u32); extern void sub_0807DAC4(ScriptExecutionContext*); extern void DeleteThisEntity(void); -extern void sub_0807DB88(Entity*); extern void sub_0801C4A0(u32); extern void sub_0807DB98(Entity*, ScriptExecutionContext*); extern void _call_via_r6(Entity*, ScriptExecutionContext*); +void sub_0807DB88(ScriptExecutionContext* context, u32 unk1) { + _DmaZero(context, 0x24); + context->unk_00 = (u16*)unk1; +} + void sub_0807DB98(Entity* entity, ScriptExecutionContext* context) { u32 switchVar; @@ -105,8 +109,8 @@ void sub_0807DD64(Entity* entity) { entity->field_0x82.HWORD = 0; } -void sub_0807DD80(Entity* entity) { - sub_0807DB88(*(Entity**)&entity->cutsceneBeh); +void sub_0807DD80(Entity* entity, u32 unk1) { + sub_0807DB88(*(ScriptExecutionContext**)&entity->cutsceneBeh, unk1); sub_0807DD64(entity); } |
