aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/true_talk/barbot_script.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-06-02 19:14:59 -0400
committerPaul Gilbert2016-07-15 19:19:02 -0400
commit6075a8fe4900bb32216099b2f9fd34334dbc281b (patch)
tree141d8e34cf381f25a4969864724f62b7394bf6a1 /engines/titanic/true_talk/barbot_script.cpp
parent95dc0bc4ccf51de23ab30133d6d1f339936ad413 (diff)
downloadscummvm-rg350-6075a8fe4900bb32216099b2f9fd34334dbc281b.tar.gz
scummvm-rg350-6075a8fe4900bb32216099b2f9fd34334dbc281b.tar.bz2
scummvm-rg350-6075a8fe4900bb32216099b2f9fd34334dbc281b.zip
TITANIC: Implement TTnpcScript selectResponse
Diffstat (limited to 'engines/titanic/true_talk/barbot_script.cpp')
-rw-r--r--engines/titanic/true_talk/barbot_script.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/true_talk/barbot_script.cpp b/engines/titanic/true_talk/barbot_script.cpp
index 16bc2447b6..ddb06b156f 100644
--- a/engines/titanic/true_talk/barbot_script.cpp
+++ b/engines/titanic/true_talk/barbot_script.cpp
@@ -42,7 +42,7 @@ int BarbotScript::chooseResponse(TTroomScript *roomScript, TTsentence *sentence,
if (_state < 7) {
addResponse(STATE_ARRAY[_state++]);
} else {
- proc14(51896);
+ selectResponse(51896);
set34(1);
_state = 0;
}
@@ -61,7 +61,7 @@ int BarbotScript::chooseResponse(TTroomScript *roomScript, TTsentence *sentence,
}
} else if (tag == MKTAG('B', 'A', 'R', 'K') && getRandomNumber(100) > 50) {
- proc14(250025);
+ selectResponse(250025);
switch (proc23()) {
case 4:
case 6:
@@ -75,7 +75,7 @@ int BarbotScript::chooseResponse(TTroomScript *roomScript, TTsentence *sentence,
return 2;
} else if (tag == MKTAG('B', 'A', 'R', 'U') && getRandomNumber(100) > 50) {
- proc14(250025);
+ selectResponse(250025);
switch (proc23()) {
case 4:
case 6: