Use PlayerControlMode in a few places

This commit is contained in:
Tal Hayon
2022-01-29 15:54:09 +02:00
parent fd9049f598
commit 1f2a791e49
9 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -1059,7 +1059,7 @@ void ScriptCommand_SetPlayerIdle(Entity* entity, ScriptExecutionContext* context
}
void ScriptCommand_EnablePlayerControl(Entity* entity, ScriptExecutionContext* context) {
gPlayerState.controlMode = 1;
gPlayerState.controlMode = CONTROL_1;
}
void ScriptCommand_DisablePlayerControl(Entity* entity, ScriptExecutionContext* context) {
@@ -1169,7 +1169,7 @@ void ScriptCommand_0807E9F0(Entity* entity, ScriptExecutionContext* context) {
}
if (tmp) {
sub_0807919C();
gPlayerState.controlMode = 1;
gPlayerState.controlMode = CONTROL_1;
} else {
lbl:
gActiveScriptInfo.commandSize = 0;