aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/ai
diff options
context:
space:
mode:
authorThanasis Antoniou2019-05-01 08:57:15 +0300
committerThanasis Antoniou2019-05-01 08:57:43 +0300
commit4cd7c3d19fd2cdf043c4cade221683b24b0e2afd (patch)
tree7898a3c930dafeb0ad1529e746db2b6c0755d01b /engines/bladerunner/script/ai
parent6a231e4b6025b8dc0fb6ad7ff26388261ac7642f (diff)
downloadscummvm-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/bladerunner/script/ai')
-rw-r--r--engines/bladerunner/script/ai/transient.cpp3
1 files changed, 3 insertions, 0 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;