diff options
author | Peter Kohaut | 2019-01-13 20:38:17 +0100 |
---|---|---|
committer | Peter Kohaut | 2019-01-13 21:06:58 +0100 |
commit | eb84113222562a3da2161ca7190cfd26a57f8080 (patch) | |
tree | cbd5e8ab78fe12126e83edb4b5fabf617fb402a4 /engines/bladerunner/script/scene/ps10.cpp | |
parent | efbcc757b62461914121e4e00891361994d90643 (diff) | |
download | scummvm-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/ps10.cpp')
-rw-r--r-- | engines/bladerunner/script/scene/ps10.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/bladerunner/script/scene/ps10.cpp b/engines/bladerunner/script/scene/ps10.cpp index 3957ee1c7d..c9da4892d0 100644 --- a/engines/bladerunner/script/scene/ps10.cpp +++ b/engines/bladerunner/script/scene/ps10.cpp @@ -319,7 +319,7 @@ static const int *getPoliceMazePS10TrackData9() { void SceneScriptPS10::InitializeScene() { Police_Maze_Set_Pause_State(true); - if (Game_Flag_Query(15)) { + if (Game_Flag_Query(kFlagPS11toPS10)) { float x = World_Waypoint_Query_X(4); float y = World_Waypoint_Query_Y(4); float z = World_Waypoint_Query_Z(4); @@ -469,7 +469,7 @@ bool SceneScriptPS10::ClickedOnItem(int itemId, bool a2) { bool SceneScriptPS10::ClickedOnExit(int exitId) { if (exitId == 1) { if (!Loop_Actor_Walk_To_Waypoint(kActorMcCoy, 6, 12, true, false)) { - Game_Flag_Set(14); + Game_Flag_Set(kFlagPS10toPS11); removeTargets(); Global_Variable_Decrement(kVariablePoliceMazeScore, kPoliceMazePS10TargetCount - Global_Variable_Query(kVariablePoliceMazePS10TargetCounter)); Global_Variable_Set(kVariablePoliceMazePS10TargetCounter, kPoliceMazePS10TargetCount); @@ -492,10 +492,10 @@ void SceneScriptPS10::ActorChangedGoal(int actorId, int newGoal, int oldGoal, bo } void SceneScriptPS10::PlayerWalkedIn() { - if (Game_Flag_Query(15)) { + if (Game_Flag_Query(kFlagPS11toPS10)) { Loop_Actor_Walk_To_XYZ(kActorMcCoy, -352.09f, -9.23f, 267.95f, 0, false, true, 0); Police_Maze_Set_Pause_State(false); - Game_Flag_Reset(15); + Game_Flag_Reset(kFlagPS11toPS10); //return true; return; } else { |