diff options
author | Paul Gilbert | 2017-09-27 21:24:42 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-09-27 21:24:42 -0400 |
commit | b98d44ca0ba913c11f03fd45c4fdd99261f294fb (patch) | |
tree | 538c5c9868dfab927438b4fa19748a278cac3f92 /engines | |
parent | 4a0a3c121f83980912c43223c9914c089bad2eef (diff) | |
download | scummvm-rg350-b98d44ca0ba913c11f03fd45c4fdd99261f294fb.tar.gz scummvm-rg350-b98d44ca0ba913c11f03fd45c4fdd99261f294fb.tar.bz2 scummvm-rg350-b98d44ca0ba913c11f03fd45c4fdd99261f294fb.zip |
TITANIC: DE: Changes for DoorbotScript::chooseResponse
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/true_talk/doorbot_script.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/titanic/true_talk/doorbot_script.cpp b/engines/titanic/true_talk/doorbot_script.cpp index 9493af6fe2..0e07f2ade8 100644 --- a/engines/titanic/true_talk/doorbot_script.cpp +++ b/engines/titanic/true_talk/doorbot_script.cpp @@ -142,9 +142,11 @@ int DoorbotScript::chooseResponse(const TTroomScript *roomScript, const TTsenten } else if (tag == MKTAG('N', 'A', 'U', 'T')) { return setResponse(getDialogueId(222259)); } else if (tag == MKTAG('T', 'R', 'A', '2')) { - return setResponse(getRandomBit() ? 11860 : 11859); + return setResponse(getRandomBit() ? TRANSLATE(11860, 11873) + : TRANSLATE(11858, 11871)); } else if (tag == MKTAG('T', 'R', 'A', '3')) { - return setResponse(getRandomBit() ? 11859 : 11858); + return setResponse(getRandomBit() ? TRANSLATE(11859, 11872) + : TRANSLATE(11857, 11870)); } else if (tag == MKTAG('B', 'R', 'N', 'D')) { switch (getRandomNumber(3)) { case 1: @@ -156,6 +158,8 @@ int DoorbotScript::chooseResponse(const TTroomScript *roomScript, const TTsenten default: break; } + } else if (g_language == Common::DE_DEU && tag == MKTAG('K', 'O', 'H', 'L')) { + return setResponse(getDialogueId(220976)); } return TTnpcScript::chooseResponse(roomScript, sentence, tag); |