Add missing opcode needed for Spanish version (And maybe others?) of Full Throttle, patch #838309

svn-id: r11201
This commit is contained in:
Travis Howell 2003-11-08 03:33:21 +00:00
parent cec821630b
commit 27bb10900e

View File

@ -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]]);