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
+1 -1
View File
@@ -57,7 +57,7 @@ void sub_0805E18C(Manager39* this) {
if (this->manager.unk_0b) {
if (!--this->manager.unk_0f) {
this->manager.unk_0b = 0;
gPlayerState.controlMode = 1;
gPlayerState.controlMode = CONTROL_1;
ResetSystemPriority();
}
}
+1 -1
View File
@@ -135,7 +135,7 @@ static void sub_08058514(ManagerA* this) {
case 3:
/* wait for player to finish talking */
if (gPlayerEntity.action == PLAYER_NORMAL || gPlayerEntity.action == PLAYER_MINISH) {
gPlayerState.controlMode = 1;
gPlayerState.controlMode = CONTROL_1;
ResetPlayerEventPriority();
SetFlag(this->flag1);
DeleteThisEntity();