From 2f0fb70a27726d2c4a233d394c1cb8ad375ad09d Mon Sep 17 00:00:00 2001 From: Peter Kohaut Date: Thu, 10 Jan 2019 23:00:55 +0100 Subject: BLADERUNNER: Fixed enabling combat mode in scripts Fixed Zuben chase. Added name of some flags used in the China town. --- engines/bladerunner/script/scene/ma01.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/bladerunner/script/scene/ma01.cpp') diff --git a/engines/bladerunner/script/scene/ma01.cpp b/engines/bladerunner/script/scene/ma01.cpp index c75b7c1225..b839886eff 100644 --- a/engines/bladerunner/script/scene/ma01.cpp +++ b/engines/bladerunner/script/scene/ma01.cpp @@ -97,13 +97,13 @@ bool SceneScriptMA01::ClickedOnItem(int itemId, bool a2) { } bool SceneScriptMA01::ClickedOnExit(int exitId) { - if (Actor_Query_Goal_Number(kActorZuben) == 21) { + if (Actor_Query_Goal_Number(kActorZuben) == kGoalZubenMA01AttackMcCoy) { return true; } if (exitId == kMA01ExitMA06) { - if (Actor_Query_Goal_Number(kActorZuben) == 20) { + if (Actor_Query_Goal_Number(kActorZuben) == kGoalZubenFled) { if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, 1446.0f, 0.0f, -725.0f, 72, 1, false, 0)) { - Actor_Set_Goal_Number(kActorZuben, 21); + Actor_Set_Goal_Number(kActorZuben, kGoalZubenMA01AttackMcCoy); Scene_Exits_Disable(); } } else if (!Loop_Actor_Walk_To_XYZ(kActorMcCoy, 1446.0f, 0.0f, -725.0f, 12, 1, false, 0)) { -- cgit v1.2.3