diff options
author | Le Philousophe | 2019-04-06 12:06:37 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-06-01 22:43:48 +0200 |
commit | c427cd9dcab111dd7f11a5ae96d0e20fd94ddb13 (patch) | |
tree | e8a2c0ea91f7e613e49a0883e1055ae5c8fd5eca /engines/cryomni3d/versailles/dialogs.cpp | |
parent | 9496c796bccc0c71b08b5d48c38a5ac9090c6977 (diff) | |
download | scummvm-rg350-c427cd9dcab111dd7f11a5ae96d0e20fd94ddb13.tar.gz scummvm-rg350-c427cd9dcab111dd7f11a5ae96d0e20fd94ddb13.tar.bz2 scummvm-rg350-c427cd9dcab111dd7f11a5ae96d0e20fd94ddb13.zip |
CRYOMNI3D: Implement level 3
Diffstat (limited to 'engines/cryomni3d/versailles/dialogs.cpp')
-rw-r--r-- | engines/cryomni3d/versailles/dialogs.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/cryomni3d/versailles/dialogs.cpp b/engines/cryomni3d/versailles/dialogs.cpp index ed5921397b..580b56e89d 100644 --- a/engines/cryomni3d/versailles/dialogs.cpp +++ b/engines/cryomni3d/versailles/dialogs.cpp @@ -64,7 +64,7 @@ bool CryOmni3DEngine_Versailles::preprocessDialog(const Common::String &sequence _dialogsMan["CROISSY-ACCEPTE-TEXTE"] == 'Y' && (!_inventory.inInventoryByNameID(121) || !_inventory.inInventoryByNameID(119) || !_inventory.inInventoryByNameID(115) || - _gameVariables[GameVariables::kGotMedaillesSolution] == 0)) { + _gameVariables[GameVariables::kGotMedalsSolution] == 0)) { displayMessageBoxWarp(18); _gameVariables[GameVariables::kWarnedIncomplete] = 1; return 0; @@ -116,18 +116,18 @@ void CryOmni3DEngine_Versailles::postprocessDialog(const Common::String &sequenc if (currentGameTime() == 1 && _dialogsMan["LULLY-DONNE-MISSION1-JOUEUR"] == 'Y') { setGameTime(2, 3); } - if (!_gameVariables[GameVariables::kGotMedaillesSolution] && + if (!_gameVariables[GameVariables::kGotMedalsSolution] && _dialogsMan["MONSIEUR-DONNE-SOLUTION-MEDAILLES"] == 'Y') { playInGameVideo("32M_MR2"); - _gameVariables[GameVariables::kGotMedaillesSolution] = 1; + _gameVariables[GameVariables::kGotMedalsSolution] = 1; } - if (!_gameVariables[GameVariables::kCollectePartition] && + if (!_gameVariables[GameVariables::kDecipherScore] && _dialogsMan["LULLY-DIT-CHAT-PENDU-JOUEUR"] == 'Y') { - _gameVariables[GameVariables::kCollectePartition] = 1; + _gameVariables[GameVariables::kDecipherScore] = 1; collectObject(118); setGameTime(3, 3); } - if (currentGameTime() == 1 && _dialogsMan["CROISSY-ACCEPTE-TEXTE"] == 'Y') { + if (currentGameTime() == 3 && _dialogsMan["CROISSY-ACCEPTE-TEXTE"] == 'Y') { setGameTime(4, 3); } if (_dialogsMan["{LEVEL3_FINI}"] == 'Y') { |