diff options
Diffstat (limited to 'engines/bladerunner/script/scene')
-rw-r--r-- | engines/bladerunner/script/scene/ps06.cpp | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/engines/bladerunner/script/scene/ps06.cpp b/engines/bladerunner/script/scene/ps06.cpp index d0624ef6a6..10797e350f 100644 --- a/engines/bladerunner/script/scene/ps06.cpp +++ b/engines/bladerunner/script/scene/ps06.cpp @@ -53,7 +53,7 @@ bool SceneScriptPS06::ClickedOn3DObject(const char *objectName, bool a2) { if (Object_Query_Click("E.SCREEN03", objectName) || Object_Query_Click("E.MONITOR3", objectName) ) { - Actor_Says(kActorAnsweringMachine, 330, 3); + Actor_Says(kActorAnsweringMachine, 330, kAnimationModeTalk); // uploading clues if (Actor_Clue_Query(kActorMcCoy, kClueCar) && !Actor_Clue_Query(kActorMcCoy, kClueCarRegistration1) && !Actor_Clue_Query(kActorMcCoy, kClueCarRegistration2) @@ -85,15 +85,27 @@ bool SceneScriptPS06::ClickedOn3DObject(const char *objectName, bool a2) { Actor_Clues_Transfer_New_From_Mainframe(kActorMcCoy); return true; } else { - Actor_Clues_Transfer_New_To_Mainframe(kActorMcCoy); - Ambient_Sounds_Play_Sound(kSfxDATALOAD, 50, 0, 0, 99); - Delay(2000); - Actor_Says(kActorAnsweringMachine, 340, kAnimationModeTalk); - Actor_Clues_Transfer_New_From_Mainframe(kActorMcCoy); - Ambient_Sounds_Play_Sound(kSfxDATALOAD, 50, 0, 0, 99); - Delay(2000); + bool tranferedClues = false; + tranferedClues = Actor_Clues_Transfer_New_To_Mainframe(kActorMcCoy); + if (_vm->_cutContent && !tranferedClues) { + Actor_Says(kActorAnsweringMachine, 370, kAnimationModeTalk); // no clues transfered + } else { + Ambient_Sounds_Play_Sound(kSfxDATALOAD, 50, 0, 0, 99); + Delay(2000); + } + Actor_Says(kActorAnsweringMachine, 340, kAnimationModeTalk); // downloading clues + tranferedClues = Actor_Clues_Transfer_New_From_Mainframe(kActorMcCoy); + if (_vm->_cutContent && !tranferedClues) { + Actor_Says(kActorAnsweringMachine, 370, kAnimationModeTalk); // no clues transfered + } else { + Ambient_Sounds_Play_Sound(kSfxDATALOAD, 50, 0, 0, 99); + Delay(2000); + } Ambient_Sounds_Play_Sound(kSfxBEEPNEAT, 80, 0, 0, 99); - Actor_Says(kActorAnsweringMachine, 350, kAnimationModeTalk); + Actor_Says(kActorAnsweringMachine, 350, kAnimationModeTalk); // db transfer complete + if (_vm->_cutContent && tranferedClues) { + Actor_Says(kActorAnsweringMachine, 360, kAnimationModeTalk); // new clues added + } return true; } } |