aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/ai/steele.cpp
diff options
context:
space:
mode:
authorPeter Kohaut2019-01-31 00:19:38 +0100
committerPeter Kohaut2019-01-31 21:27:31 +0100
commit3fc1fbb8daae93e02985379aed4b8a6feab5cb24 (patch)
tree07e2247045ce2e34c8379b8fcc36d82e6bf51d3a /engines/bladerunner/script/ai/steele.cpp
parentb16b26ac722a381c4ab43e66886b3012962556ed (diff)
downloadscummvm-rg350-3fc1fbb8daae93e02985379aed4b8a6feab5cb24.tar.gz
scummvm-rg350-3fc1fbb8daae93e02985379aed4b8a6feab5cb24.tar.bz2
scummvm-rg350-3fc1fbb8daae93e02985379aed4b8a6feab5cb24.zip
BLADERUNNER: Clean up of Dektora script
Diffstat (limited to 'engines/bladerunner/script/ai/steele.cpp')
-rw-r--r--engines/bladerunner/script/ai/steele.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/bladerunner/script/ai/steele.cpp b/engines/bladerunner/script/ai/steele.cpp
index 302ba9371b..1bcede6dc9 100644
--- a/engines/bladerunner/script/ai/steele.cpp
+++ b/engines/bladerunner/script/ai/steele.cpp
@@ -903,7 +903,7 @@ bool AIScriptSteele::GoalChanged(int currentGoalNumber, int newGoalNumber) {
Actor_Says(kActorMcCoy, 3835, 18);
Actor_Says(kActorSteele, 1810, 16);
Game_Flag_Set(kFlagDektoraRanAway);
- Actor_Set_Goal_Number(kActorDektora, 599);
+ Actor_Set_Goal_Number(kActorDektora, kGoalDektoraDead);
Actor_Set_Goal_Number(kActorSteele, 275);
break;
case 274:
@@ -916,13 +916,13 @@ bool AIScriptSteele::GoalChanged(int currentGoalNumber, int newGoalNumber) {
Actor_Says(kActorSteele, 1780, 15);
Actor_Says(kActorMcCoy, 3825, 14);
Game_Flag_Set(kFlagDektoraRanAway);
- Actor_Set_Goal_Number(kActorDektora, 599);
+ Actor_Set_Goal_Number(kActorDektora, kGoalDektoraDead);
Actor_Set_Goal_Number(kActorSteele, 275);
}
return true;
case 215:
- Game_Flag_Set(635);
+ Game_Flag_Set(kFlagNR11SteeleShoot);
Actor_Change_Animation_Mode(kActorSteele, kAnimationModeCombatAttack);
Scene_Exits_Disable();
return true;
@@ -937,7 +937,7 @@ bool AIScriptSteele::GoalChanged(int currentGoalNumber, int newGoalNumber) {
AI_Movement_Track_Flush(kActorSteele);
Actor_Put_In_Set(kActorSteele, kSetNR05_NR08);
Actor_Set_At_XYZ(kActorSteele, -1034.09f, 0.32f, 224.77f, 440);
- Game_Flag_Set(722);
+ Game_Flag_Set(kFlagChapter4Starting);
Set_Enter(kSetNR05_NR08, kSceneNR08);
return true;
@@ -1298,7 +1298,7 @@ bool AIScriptSteele::GoalChanged(int currentGoalNumber, int newGoalNumber) {
return true;
case kGoalSteeleHF01StartChapter4:
- Game_Flag_Set(722);
+ Game_Flag_Set(kFlagChapter4Starting);
Global_Variable_Set(kVariableChapter, 4);
Scene_Exits_Enable();
Game_Flag_Set(523);