aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/scene/ug08.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/bladerunner/script/scene/ug08.cpp')
-rw-r--r--engines/bladerunner/script/scene/ug08.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/bladerunner/script/scene/ug08.cpp b/engines/bladerunner/script/scene/ug08.cpp
index 65e790b7c6..492b3d3998 100644
--- a/engines/bladerunner/script/scene/ug08.cpp
+++ b/engines/bladerunner/script/scene/ug08.cpp
@@ -58,14 +58,14 @@ void SceneScriptUG08::InitializeScene() {
Ambient_Sounds_Add_Sound(305, 5, 50, 17, 37, -100, 100, -101, -101, 0, 0);
if (!Game_Flag_Query(kFlagUG08Entered)) {
- Game_Flag_Set(kFlagUB08ElevatorUp);
+ Game_Flag_Set(kFlagUG08ElevatorUp);
Game_Flag_Set(kFlagUG08Entered);
}
if (Game_Flag_Query(kFlagUG13toUG08)) {
Scene_Loop_Start_Special(kSceneLoopModeLoseControl, kUG08LoopElevatorComingUp, false);
Scene_Loop_Set_Default(kUG08LoopMainLoopElevator);
- } else if (Game_Flag_Query(kFlagUB08ElevatorUp)) {
+ } else if (Game_Flag_Query(kFlagUG08ElevatorUp)) {
Scene_Loop_Set_Default(kUG08LoopMainLoopElevator);
} else {
Scene_Loop_Set_Default(kUG08LoopMainNoElevator);
@@ -115,7 +115,7 @@ bool SceneScriptUG08::ClickedOnExit(int exitId) {
Player_Loses_Control();
Actor_Set_Invisible(kActorMcCoy, true);
Game_Flag_Set(kFlagUG08toUG13);
- Game_Flag_Reset(kFlagUB08ElevatorUp);
+ Game_Flag_Reset(kFlagUG08ElevatorUp);
Set_Enter(kSetUG13, kSceneUG13);
Scene_Loop_Start_Special(kSceneLoopModeChangeSet, kUG08LoopElevatorGoingDown, false);
return false;
@@ -130,7 +130,7 @@ bool SceneScriptUG08::ClickedOn2DRegion(int region) {
void SceneScriptUG08::SceneFrameAdvanced(int frame) {
if (frame == 91) {
- Ambient_Sounds_Play_Sound(372, 90, 0, 0, 100);
+ Ambient_Sounds_Play_Sound(kSfxCARGELE2, 90, 0, 0, 100);
}
}