diff options
Diffstat (limited to 'engines/cine/script_fw.cpp')
-rw-r--r-- | engines/cine/script_fw.cpp | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/engines/cine/script_fw.cpp b/engines/cine/script_fw.cpp index 86eb709d5a..9692c54b7b 100644 --- a/engines/cine/script_fw.cpp +++ b/engines/cine/script_fw.cpp @@ -707,7 +707,29 @@ int FWScript::execute() { if (_script._size) { while (!ret) { - _line = _pos; + + if (g_cine->getGameType() == Cine::GType_OS) { + if (_pos == 0x0f9a) { + if (!scumm_stricmp(currentPrcName, "AUTO00.PRC")) + g_cine->_globalVars[200] = g_cine->_objectTable[235].costume; + } + } else { + if (_pos == 0x2c) { + if (g_cine->_objectTable[1].x == 0x0131) { + if (!scumm_stricmp(currentPrcName, "TOTO.PRC")) + g_cine->_objectTable[2].x = 0x02; + } + } /*else if (!scumm_stricmp(currentPrcName, "CODE2.PRC")) { + if (_pos == 1) { + //globalVars[0] = objectTable[scriptElement->scriptPtr[6]].frame; + } else if (_pos == 504) { + //_currentScriptElement->localVars[1] = _currentScriptElement->localVars[2] = 0; + //globalVars[251] = 0; + g_cine->_globalVars[251] = g_cine->_globalVars[251]; + } + }*/ + } + byte opcode = getNextByte(); OpFunc handler = _info->opcodeHandler(opcode); |