From 1946dead77378bbf16cb1ed65c9937226c749a5e Mon Sep 17 00:00:00 2001 From: D G Turner Date: Sun, 14 Jul 2013 05:04:02 +0100 Subject: TUCKER: Fix for bug #3614697 - "Spanish version uncompletable..." This add support for the unhandled "mof" instruction present in the Spanish version. This effectively skips it as a NOP/invalid, which prevents it locking up the game at the end of the 2nd part. --- engines/tucker/tucker.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engines') diff --git a/engines/tucker/tucker.cpp b/engines/tucker/tucker.cpp index 6b538a6fde..e3fd928e6c 100644 --- a/engines/tucker/tucker.cpp +++ b/engines/tucker/tucker.cpp @@ -2991,6 +2991,7 @@ enum TableInstructionCode { kCode_gfg, kCode_gv, kCode_loc, + kCode_mof, kCode_opt, kCode_opf, kCode_ofg, @@ -3041,6 +3042,7 @@ static const struct { { "gfg", kCode_gfg }, { "gv", kCode_gv }, { "loc", kCode_loc }, + { "mof", kCode_mof }, { "opt", kCode_opt }, { "opf", kCode_opf }, { "ofg", kCode_ofg }, @@ -3232,6 +3234,9 @@ int TuckerEngine::executeTableInstruction() { case kCode_loc: _nextLocationNum = readTableInstructionParam(2); return 1; + case kCode_mof: + // TODO: Unknown opcode in Spanish version. Identify if this has any function. + return 2; case kCode_opt: _conversationOptionsCount = readTableInstructionParam(2); for (i = 0; i < _conversationOptionsCount; ++i) { -- cgit v1.2.3