diff options
author | Thanasis Antoniou | 2019-05-01 08:57:15 +0300 |
---|---|---|
committer | Thanasis Antoniou | 2019-05-01 08:57:43 +0300 |
commit | 4cd7c3d19fd2cdf043c4cade221683b24b0e2afd (patch) | |
tree | 7898a3c930dafeb0ad1529e746db2b6c0755d01b /engines | |
parent | 6a231e4b6025b8dc0fb6ad7ff26388261ac7642f (diff) | |
download | scummvm-rg350-4cd7c3d19fd2cdf043c4cade221683b24b0e2afd.tar.gz scummvm-rg350-4cd7c3d19fd2cdf043c4cade221683b24b0e2afd.tar.bz2 scummvm-rg350-4cd7c3d19fd2cdf043c4cade221683b24b0e2afd.zip |
BLADERUNNER: Fix interaction with transient about locked door
Diffstat (limited to 'engines')
-rw-r--r-- | engines/bladerunner/script/ai/transient.cpp | 3 | ||||
-rw-r--r-- | engines/bladerunner/script/scene/ug13.cpp | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/engines/bladerunner/script/ai/transient.cpp b/engines/bladerunner/script/ai/transient.cpp index 8fefc8e973..0210781eab 100644 --- a/engines/bladerunner/script/ai/transient.cpp +++ b/engines/bladerunner/script/ai/transient.cpp @@ -199,6 +199,7 @@ bool AIScriptTransient::GoalChanged(int currentGoalNumber, int newGoalNumber) { Actor_Set_At_Waypoint(kActorTransient, 40, 0); return true; case 390: + // laying on the couch - not sleeping Actor_Put_In_Set(kActorTransient, kSetUG13); Actor_Set_At_XYZ(kActorTransient, -310.0, 55.0, -350.0, 400); Actor_Change_Animation_Mode(kActorTransient, 53); @@ -206,9 +207,11 @@ bool AIScriptTransient::GoalChanged(int currentGoalNumber, int newGoalNumber) { Game_Flag_Set(kFlagUG13HomelessLayingdown); return true; case 391: + // laying on the couch - sleeping - dialogue exhausted pre-flask - awaiting flask Actor_Change_Animation_Mode(kActorTransient, 53); return true; case 395: + // laying on the couch - sleeping - post flask Actor_Change_Animation_Mode(kActorTransient, 55); AI_Countdown_Timer_Start(kActorTransient, kActorTimerAIScriptCustomTask0, Random_Query(30, 40)); return true; diff --git a/engines/bladerunner/script/scene/ug13.cpp b/engines/bladerunner/script/scene/ug13.cpp index 15ab79ecee..f2e43c88e3 100644 --- a/engines/bladerunner/script/scene/ug13.cpp +++ b/engines/bladerunner/script/scene/ug13.cpp @@ -222,7 +222,10 @@ bool SceneScriptUG13::ClickedOnExit(int exitId) { if (!Game_Flag_Query(kFlagCallWithGuzza)) { // Passage to UG18 is locked // This two lines of dialogue is not in the code of the original game - if (Actor_Query_Goal_Number(kActorTransient) == 395) { + if (Actor_Query_Goal_Number(kActorTransient) == 391 + || Actor_Query_Goal_Number(kActorTransient) == 395 + || Actor_Query_Goal_Number(kActorTransient) == 599 + ) { Actor_Says(kActorMcCoy, 8522, 14); // Locked } else { Actor_Says(kActorMcCoy, 5555, 14); // How do I get this thing open? |