aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/scene
diff options
context:
space:
mode:
authorPeter Kohaut2019-01-27 12:28:22 +0100
committerPeter Kohaut2019-01-27 20:27:45 +0100
commit702d8a4d370f7290389a8afb500f9aeeeb5608c8 (patch)
tree618f008888bd17217fec74bbafe3fde384439909 /engines/bladerunner/script/scene
parentccb2dab9d0a0a1b35fb8465e5e6ced8b1c17f8be (diff)
downloadscummvm-rg350-702d8a4d370f7290389a8afb500f9aeeeb5608c8.tar.gz
scummvm-rg350-702d8a4d370f7290389a8afb500f9aeeeb5608c8.tar.bz2
scummvm-rg350-702d8a4d370f7290389a8afb500f9aeeeb5608c8.zip
BLADERUNNER: Holloway script cleanup
Diffstat (limited to 'engines/bladerunner/script/scene')
-rw-r--r--engines/bladerunner/script/scene/nr01.cpp4
-rw-r--r--engines/bladerunner/script/scene/nr07.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/bladerunner/script/scene/nr01.cpp b/engines/bladerunner/script/scene/nr01.cpp
index 496d277577..611a18a930 100644
--- a/engines/bladerunner/script/scene/nr01.cpp
+++ b/engines/bladerunner/script/scene/nr01.cpp
@@ -71,7 +71,7 @@ void SceneScriptNR01::InitializeScene() {
Ambient_Sounds_Add_Sound(377, 10, 80, 33, 33, 0, 0, -101, -101, 0, 0);
if (Game_Flag_Query(643)
- && Actor_Query_Goal_Number(kActorSteele) == 230
+ && Actor_Query_Goal_Number(kActorSteele) == kGoalSteeleNR01WaitForMcCoy
) {
Game_Flag_Reset(kFlagSpinnerAtNR01);
Game_Flag_Reset(kFlagSpinnerAtHF01);
@@ -326,7 +326,7 @@ void SceneScriptNR01::PlayerWalkedIn() {
if (Game_Flag_Query(kFlagUG06toNR01)) {
Loop_Actor_Travel_Stairs(kActorMcCoy, 3, true, kAnimationModeIdle);
Game_Flag_Reset(kFlagUG06toNR01);
- if (Actor_Query_Goal_Number(kActorSteele) == 230) {
+ if (Actor_Query_Goal_Number(kActorSteele) == kGoalSteeleNR01WaitForMcCoy) {
Actor_Face_Actor(kActorSteele, kActorMcCoy, true);
Actor_Says(kActorSteele, 1440, 13);
Loop_Actor_Walk_To_Actor(kActorMcCoy, kActorSteele, 48, false, true);
diff --git a/engines/bladerunner/script/scene/nr07.cpp b/engines/bladerunner/script/scene/nr07.cpp
index aa70aa3f3a..1f081313d5 100644
--- a/engines/bladerunner/script/scene/nr07.cpp
+++ b/engines/bladerunner/script/scene/nr07.cpp
@@ -209,7 +209,7 @@ void SceneScriptNR07::sub_401A10() {
Actor_Voice_Over(1710, kActorVoiceOver);
Actor_Voice_Over(1720, kActorVoiceOver);
Actor_Voice_Over(1730, kActorVoiceOver);
- Actor_Set_Goal_Number(kActorHolloway, 240);
+ Actor_Set_Goal_Number(kActorHolloway, kGoalHollowayGoToNR07);
}
void SceneScriptNR07::sub_401C60() {