aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/scene/ug10.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/bladerunner/script/scene/ug10.cpp')
-rw-r--r--engines/bladerunner/script/scene/ug10.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/bladerunner/script/scene/ug10.cpp b/engines/bladerunner/script/scene/ug10.cpp
index 9239881bb2..98629b194f 100644
--- a/engines/bladerunner/script/scene/ug10.cpp
+++ b/engines/bladerunner/script/scene/ug10.cpp
@@ -103,8 +103,8 @@ bool SceneScriptUG10::ClickedOnExit(int exitId) {
if (exitId == 0) {
if ((!Game_Flag_Query(474) && x > 125.0f) || Game_Flag_Query(474)) {
if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, 235.0f, 1.15f, 29.0f, 0, 1, false, 0)) {
- Game_Flag_Set(317);
- Set_Enter(74, kSceneUG01);
+ Game_Flag_Set(kFlagUG10toUG01);
+ Set_Enter(kSetUG01, kSceneUG01);
return true;
}
} else if (!Game_Flag_Query(474)) {
@@ -117,7 +117,7 @@ bool SceneScriptUG10::ClickedOnExit(int exitId) {
Loop_Actor_Travel_Stairs(kActorMcCoy, 9, 1, 0);
Loop_Actor_Walk_To_XYZ(kActorMcCoy, -92.0f, 81.83f, -652.0f, 0, 0, false, 0);
Game_Flag_Set(337);
- Set_Enter(76, kSceneUG03);
+ Set_Enter(kSetUG03, kSceneUG03);
return true;
}
} else if (!Game_Flag_Query(474)) {
@@ -129,7 +129,7 @@ bool SceneScriptUG10::ClickedOnExit(int exitId) {
Actor_Face_Heading(kActorMcCoy, 1001, false);
Loop_Actor_Travel_Ladder(kActorMcCoy, 1, 1, 0);
Game_Flag_Set(424);
- Set_Enter(80, kSceneUG07);
+ Set_Enter(kSetUG07, kSceneUG07);
return true;
}
} else if (!Game_Flag_Query(474)) {
@@ -139,7 +139,7 @@ bool SceneScriptUG10::ClickedOnExit(int exitId) {
if ((!Game_Flag_Query(474) && x < 120.0f) || Game_Flag_Query(474)) {
if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, 2.5f, 1.15f, 405.0f, 0, 1, false, 0)) {
Game_Flag_Set(347);
- Set_Enter(86, kSceneUG14);
+ Set_Enter(kSetUG14, kSceneUG14);
return true;
}
} else if (!Game_Flag_Query(474)) {
@@ -207,8 +207,8 @@ void SceneScriptUG10::PlayerWalkedIn() {
if (Game_Flag_Query(346)) {
Game_Flag_Reset(346);
Loop_Actor_Walk_To_XYZ(kActorMcCoy, 2.5f, 1.15f, 377.0f, 0, 0, false, 0);
- } else if (Game_Flag_Query(316)) {
- Game_Flag_Reset(316);
+ } else if (Game_Flag_Query(kFlagUG01toUG10)) {
+ Game_Flag_Reset(kFlagUG01toUG10);
Loop_Actor_Walk_To_XYZ(kActorMcCoy, 207.0f, 1.15f, 29.0f, 0, 0, false, 0);
} else if (Game_Flag_Query(336)) {
Game_Flag_Reset(336);