summaryrefslogtreecommitdiff
path: root/src/code_0807CC3C.c
diff options
context:
space:
mode:
authorHenny022p <info@henny022.de>2021-02-19 06:33:34 +0100
committerHenny022p <info@henny022.de>2021-02-19 06:33:34 +0100
commit126feb121ff4409668f51a4a089fc87c25bb545c (patch)
tree69b5fe5ac9aca1a456928fef23c6b20554c8bb29 /src/code_0807CC3C.c
parentaaea9b89f6916be97e39920a57ad589e9a412a6b (diff)
improved signature of StartPlayerScript
Diffstat (limited to 'src/code_0807CC3C.c')
-rw-r--r--src/code_0807CC3C.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code_0807CC3C.c b/src/code_0807CC3C.c
index 2e56b920..068f3e8d 100644
--- a/src/code_0807CC3C.c
+++ b/src/code_0807CC3C.c
@@ -295,11 +295,11 @@ void UnloadCutsceneData(Entity* entity) {
}
}
-void StartPlayerScript(u32 unk1) {
+void StartPlayerScript(u16* unk1) {
Entity* player;
_DmaZero(&gPlayerScriptExecutionContext, sizeof(gPlayerScriptExecutionContext));
- gPlayerScriptExecutionContext.unk_00 = (u16*)unk1;
+ gPlayerScriptExecutionContext.unk_00 = unk1;
player = &gPlayerEntity;
*(ScriptExecutionContext**)&player->cutsceneBeh = &gPlayerScriptExecutionContext;
gPlayerState.playerAction = 0x1c;