mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-23 12:44:02 +00:00
TITANIC: Fix some Liftbot dialogue responses
This commit is contained in:
parent
13422c3151
commit
6a955be8ac
@ -506,7 +506,7 @@ int LiftbotScript::addResponse1(int index, bool flag, int id) {
|
|||||||
return 1;
|
return 1;
|
||||||
} else if (index == getCurrentFloor()) {
|
} else if (index == getCurrentFloor()) {
|
||||||
if (index == 1) {
|
if (index == 1) {
|
||||||
addResponse(30558 - getRandomBit() ? 290 : 0);
|
addResponse(30558 - (getRandomBit() ? 290 : 0));
|
||||||
addResponse(getDialogueId(210589));
|
addResponse(getDialogueId(210589));
|
||||||
} else {
|
} else {
|
||||||
if (index == 39)
|
if (index == 39)
|
||||||
@ -535,7 +535,7 @@ int LiftbotScript::addResponse1(int index, bool flag, int id) {
|
|||||||
|
|
||||||
if (flag) {
|
if (flag) {
|
||||||
if (index == 1) {
|
if (index == 1) {
|
||||||
selectResponse(30558 - getRandomBit() ? 290 : 0);
|
selectResponse(30558 - (getRandomBit() ? 290 : 0));
|
||||||
} else if (index == 39) {
|
} else if (index == 39) {
|
||||||
addResponse(30346);
|
addResponse(30346);
|
||||||
} else {
|
} else {
|
||||||
@ -619,7 +619,7 @@ int LiftbotScript::sentence1(const TTsentence *sentence) {
|
|||||||
} else if (sentence->localWord("titaniaroom")) {
|
} else if (sentence->localWord("titaniaroom")) {
|
||||||
newId = 210723;
|
newId = 210723;
|
||||||
} else if (sentence->localWord("restaurant")) {
|
} else if (sentence->localWord("restaurant")) {
|
||||||
if (classNum == 1) {
|
if (classNum == FIRST_CLASS) {
|
||||||
newId = 210719;
|
newId = 210719;
|
||||||
diff = 1;
|
diff = 1;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user