aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/scene/ps11.cpp
diff options
context:
space:
mode:
authorPeter Kohaut2019-01-13 20:38:17 +0100
committerPeter Kohaut2019-01-13 21:06:58 +0100
commiteb84113222562a3da2161ca7190cfd26a57f8080 (patch)
treecbd5e8ab78fe12126e83edb4b5fabf617fb402a4 /engines/bladerunner/script/scene/ps11.cpp
parentefbcc757b62461914121e4e00891361994d90643 (diff)
downloadscummvm-rg350-eb84113222562a3da2161ca7190cfd26a57f8080.tar.gz
scummvm-rg350-eb84113222562a3da2161ca7190cfd26a57f8080.tar.bz2
scummvm-rg350-eb84113222562a3da2161ca7190cfd26a57f8080.zip
BLADERUNNER: More variable names in the game scripts
Diffstat (limited to 'engines/bladerunner/script/scene/ps11.cpp')
-rw-r--r--engines/bladerunner/script/scene/ps11.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/bladerunner/script/scene/ps11.cpp b/engines/bladerunner/script/scene/ps11.cpp
index e6311b3ca1..01ed9874c3 100644
--- a/engines/bladerunner/script/scene/ps11.cpp
+++ b/engines/bladerunner/script/scene/ps11.cpp
@@ -25,10 +25,10 @@
namespace BladeRunner {
void SceneScriptPS11::InitializeScene() {
- if (Game_Flag_Query(14)) {
+ if (Game_Flag_Query(kFlagPS10toPS11)) {
Scene_Loop_Start_Special(0, 0, 0);
Scene_Loop_Set_Default(1);
- Game_Flag_Reset(14);
+ Game_Flag_Reset(kFlagPS10toPS11);
Setup_Scene_Information(World_Waypoint_Query_X(6), World_Waypoint_Query_Y(6), World_Waypoint_Query_Z(6), 840);
} else {
Scene_Loop_Set_Default(1);
@@ -224,19 +224,19 @@ bool SceneScriptPS11::ClickedOnItem(int itemId, bool a2) {
bool SceneScriptPS11::ClickedOnExit(int exitId) {
if (exitId == 0) {
if (!Loop_Actor_Walk_To_Waypoint(kActorMcCoy, 6, 12, 1, false)) {
- Game_Flag_Set(15);
+ Game_Flag_Set(kFlagPS11toPS10);
sub_402744();
- Set_Enter(14, kScenePS10);
+ Set_Enter(kSetPS10_PS11_PS12_PS13, kScenePS10);
}
return true;
}
if (exitId == 1) {
if (!Loop_Actor_Walk_To_Waypoint(kActorMcCoy, 8, 12, 1, false)) {
- Game_Flag_Set(16);
+ Game_Flag_Set(kFlagPS11toPS12);
sub_402744();
Global_Variable_Decrement(9, 20 - Global_Variable_Query(11));
Global_Variable_Set(11, 20);
- Set_Enter(14, kScenePS12);
+ Set_Enter(kSetPS10_PS11_PS12_PS13, kScenePS12);
}
return true;
}