aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v6.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp
index e61bc9c174..089ec7a1a0 100644
--- a/scumm/script_v6.cpp
+++ b/scumm/script_v6.cpp
@@ -2542,6 +2542,12 @@ void ScummEngine_v6::o6_kernelSetFunctions() {
case 124:
_saveSound = args[1];
break;
+ case 215:
+ if (args[1])
+ _noSubtitles = false;
+ else
+ _noSubtitles = true;
+ break;
default:
error("o6_kernelSetFunctions: default case %d (param count %d)", args[0], num);
break;
@@ -2661,6 +2667,7 @@ void ScummEngine_v6::o6_kernelSetFunctions() {
void ScummEngine_v6::o6_kernelGetFunctions() {
int args[30];
int i;
+ int slot;
Actor *a;
getStackList(args, ARRAYSIZE(args));
@@ -2745,6 +2752,14 @@ void ScummEngine_v6::o6_kernelGetFunctions() {
// This is used by walk scripts
push(a->frame);
break;
+ case 213:
+ slot = getVerbSlot(args[1], 0);
+ push(_verbs[slot].x);
+ break;
+ case 214:
+ slot = getVerbSlot(args[1], 0);
+ push(_verbs[slot].y);
+ break;
case 215:
if ((_extraBoxFlags[args[1]] & 0x00FF) == 0x00C0) {
push(_extraBoxFlags[args[1]]);