aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner
diff options
context:
space:
mode:
authorThanasis Antoniou2019-09-03 14:11:42 +0300
committerThanasis Antoniou2019-09-03 14:12:21 +0300
commitdde41f1432f236a5a09a16299cf2e84e47f2274b (patch)
tree1ce9669812635184de5960cf5121473c7458a10a /engines/bladerunner
parentcf823c0733a3a6c74545f912c4d0a438a35f785d (diff)
downloadscummvm-rg350-dde41f1432f236a5a09a16299cf2e84e47f2274b.tar.gz
scummvm-rg350-dde41f1432f236a5a09a16299cf2e84e47f2274b.tar.bz2
scummvm-rg350-dde41f1432f236a5a09a16299cf2e84e47f2274b.zip
BLADERUNNER: Restored content - Fix bracelet purchase regression
Diffstat (limited to 'engines/bladerunner')
-rw-r--r--engines/bladerunner/script/scene/ar01.cpp4
-rw-r--r--engines/bladerunner/script/scene/ar02.cpp13
2 files changed, 11 insertions, 6 deletions
diff --git a/engines/bladerunner/script/scene/ar01.cpp b/engines/bladerunner/script/scene/ar01.cpp
index edc18bb46c..d7ed9bc174 100644
--- a/engines/bladerunner/script/scene/ar01.cpp
+++ b/engines/bladerunner/script/scene/ar01.cpp
@@ -483,7 +483,7 @@ void SceneScriptAR01::dialogueWithFishDealerBuyGoldfish() {
Dialogue_Menu_Clear_Never_Repeat_Was_Selected_Flag(530);
Dialogue_Menu_Clear_Never_Repeat_Was_Selected_Flag(540);
- if (Global_Variable_Query(kVariableChinyen) >= 75
+ if (Global_Variable_Query(kVariableChinyen) >= 105
|| Query_Difficulty_Level() == kGameDifficultyEasy
) {
DM_Add_To_List_Never_Repeat_Once_Selected(530, 7, 5, 3); // BUY
@@ -497,7 +497,7 @@ void SceneScriptAR01::dialogueWithFishDealerBuyGoldfish() {
if (answerValue == 530) { // BUY
Actor_Says(kActorMcCoy, 7000, 12);
if (Query_Difficulty_Level() != kGameDifficultyEasy) {
- Global_Variable_Decrement(kVariableChinyen, 75);
+ Global_Variable_Decrement(kVariableChinyen, 105);
}
Actor_Clue_Acquire(kActorMcCoy, kClueGoldfish, true, kActorFishDealer);
Actor_Modify_Friendliness_To_Other(kActorFishDealer, kActorMcCoy, 5);
diff --git a/engines/bladerunner/script/scene/ar02.cpp b/engines/bladerunner/script/scene/ar02.cpp
index 81846a3be4..de462bb3c6 100644
--- a/engines/bladerunner/script/scene/ar02.cpp
+++ b/engines/bladerunner/script/scene/ar02.cpp
@@ -445,6 +445,11 @@ void SceneScriptAR02::dialogueWithInsectDealer1() {
void SceneScriptAR02::dialogueWithInsectDealerBuyBracelet() {
Dialogue_Menu_Clear_List();
+ if (_vm->_cutContent) {
+ Dialogue_Menu_Clear_Never_Repeat_Was_Selected_Flag(530);
+ Dialogue_Menu_Clear_Never_Repeat_Was_Selected_Flag(540);
+ }
+
if (Global_Variable_Query(kVariableChinyen) >= 15
|| Query_Difficulty_Level() == kGameDifficultyEasy
) {
@@ -483,7 +488,7 @@ void SceneScriptAR02::dialogueWithInsectDealerBuySlug() {
Dialogue_Menu_Clear_Never_Repeat_Was_Selected_Flag(530);
Dialogue_Menu_Clear_Never_Repeat_Was_Selected_Flag(540);
- if (Global_Variable_Query(kVariableChinyen) >= 85
+ if (Global_Variable_Query(kVariableChinyen) >= 125
|| Query_Difficulty_Level() == kGameDifficultyEasy
) {
DM_Add_To_List_Never_Repeat_Once_Selected(530, 7, 5, 3); // BUY
@@ -497,7 +502,7 @@ void SceneScriptAR02::dialogueWithInsectDealerBuySlug() {
if (answerValue == 530) { // BUY
Actor_Says(kActorMcCoy, 7000, 12);
if (Query_Difficulty_Level() != kGameDifficultyEasy) {
- Global_Variable_Decrement(kVariableChinyen, 85);
+ Global_Variable_Decrement(kVariableChinyen, 125);
}
Actor_Clue_Acquire(kActorMcCoy, kClueSlug, true, kActorInsectDealer);
Actor_Modify_Friendliness_To_Other(kActorInsectDealer, kActorMcCoy, 5);
@@ -584,7 +589,7 @@ void SceneScriptAR02::dialogueWithHassanBuySnake() {
Dialogue_Menu_Clear_Never_Repeat_Was_Selected_Flag(530);
Dialogue_Menu_Clear_Never_Repeat_Was_Selected_Flag(540);
- if (Global_Variable_Query(kVariableChinyen) >= 105
+ if (Global_Variable_Query(kVariableChinyen) >= 175
|| Query_Difficulty_Level() == kGameDifficultyEasy
) {
DM_Add_To_List_Never_Repeat_Once_Selected(530, 7, 5, 3); // BUY
@@ -598,7 +603,7 @@ void SceneScriptAR02::dialogueWithHassanBuySnake() {
if (answerValue == 530) { // BUY
Actor_Says(kActorMcCoy, 7000, 12);
if (Query_Difficulty_Level() != kGameDifficultyEasy) {
- Global_Variable_Decrement(kVariableChinyen, 105);
+ Global_Variable_Decrement(kVariableChinyen, 175);
}
Actor_Clue_Acquire(kActorMcCoy, kClueGarterSnake, true, kActorHasan);
Actor_Modify_Friendliness_To_Other(kActorHasan, kActorMcCoy, 5);