aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/scene/ct12.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/bladerunner/script/scene/ct12.cpp')
-rw-r--r--engines/bladerunner/script/scene/ct12.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/engines/bladerunner/script/scene/ct12.cpp b/engines/bladerunner/script/scene/ct12.cpp
index 88bbd4645a..0487de598b 100644
--- a/engines/bladerunner/script/scene/ct12.cpp
+++ b/engines/bladerunner/script/scene/ct12.cpp
@@ -140,8 +140,8 @@ bool SceneScriptCT12::ClickedOnExit(int exitId) {
if (exitId == 0) {
if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -419.15f, -6.5f, 696.94f, 0, 1, false, 0)) {
Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);
- Game_Flag_Set(88);
- Set_Enter(4, kSceneCT01);
+ Game_Flag_Set(kFlagCT12toCT01);
+ Set_Enter(kSetCT01_CT12, kSceneCT01);
}
return true;
}
@@ -149,8 +149,8 @@ bool SceneScriptCT12::ClickedOnExit(int exitId) {
if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -182.69f, -6.5f, 696.94f, 0, 1, false, 0)) {
Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);
Ambient_Sounds_Remove_All_Looping_Sounds(1);
- Game_Flag_Set(89);
- Set_Enter(5, kSceneCT03);
+ Game_Flag_Set(kFlagCT12toCT03);
+ Set_Enter(kSetCT03_CT04, kSceneCT03);
}
return true;
}
@@ -158,8 +158,8 @@ bool SceneScriptCT12::ClickedOnExit(int exitId) {
if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -386.13f, -6.5f, 1132.72f, 0, 1, false, 0)) {
Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);
Ambient_Sounds_Remove_All_Looping_Sounds(1);
- Game_Flag_Set(90);
- Set_Enter(28, kSceneCT05);
+ Game_Flag_Set(kFlagCT12toCT05);
+ Set_Enter(kSetCT05, kSceneCT05);
}
return true;
}
@@ -167,8 +167,8 @@ bool SceneScriptCT12::ClickedOnExit(int exitId) {
if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, -493.0f, -6.5f, 1174.0f, 0, 1, false, 0)) {
Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);
Ambient_Sounds_Remove_All_Looping_Sounds(1);
- Game_Flag_Set(91);
- Set_Enter(33, kSceneCT11);
+ Game_Flag_Set(kFlagCT12toCT11);
+ Set_Enter(kSetCT11, kSceneCT11);
}
return true;
}
@@ -179,8 +179,8 @@ bool SceneScriptCT12::ClickedOnExit(int exitId) {
}
Ambient_Sounds_Remove_All_Non_Looping_Sounds(1);
Ambient_Sounds_Remove_All_Looping_Sounds(1);
- Game_Flag_Set(433);
- Set_Enter(82, kSceneUG09);
+ Game_Flag_Set(kFlagCT12ToUG09);
+ Set_Enter(kSetUG09, kSceneUG09);
}
return true;
}