diff options
author | Johannes Schickel | 2008-05-07 21:12:26 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-05-07 21:12:26 +0000 |
commit | a7320fb4dca157270c9cae0f14601bcb77710d94 (patch) | |
tree | 67a6b0610345bcc95ad6847273154affcdcbd0cf /engines | |
parent | 37c04c28a8b9d3affc69db0161156f343fc8ab9f (diff) | |
download | scummvm-rg350-a7320fb4dca157270c9cae0f14601bcb77710d94.tar.gz scummvm-rg350-a7320fb4dca157270c9cae0f14601bcb77710d94.tar.bz2 scummvm-rg350-a7320fb4dca157270c9cae0f14601bcb77710d94.zip |
Implemented KyraEngine_MR::timerFleaDeath.
svn-id: r31934
Diffstat (limited to 'engines')
-rw-r--r-- | engines/kyra/timer_mr.cpp | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/engines/kyra/timer_mr.cpp b/engines/kyra/timer_mr.cpp index 53865ba0e3..37a910ccf2 100644 --- a/engines/kyra/timer_mr.cpp +++ b/engines/kyra/timer_mr.cpp @@ -64,7 +64,25 @@ void KyraEngine_MR::timerRunSceneScript7(int arg) { void KyraEngine_MR::timerFleaDeath(int arg) { debugC(9, kDebugLevelMain | kDebugLevelTimer, "KyraEngine_MR::timerFleaDeath(%d)", arg); - warning("STUB timerFleaDeath"); + _timer->setCountdown(4, 5400); + saveGame(getSavegameFilename(999), "SECOND CHANCE SAVE GAME"); + _screen->hideMouse(); + _timer->disable(4); + runAnimationScript("FLEADTH1.EMC", 0, 0, 1, 1); + runAnimationScript("FLEADTH2.EMC", 0, 0, 1, 0); + showBadConscience(); + delay(60, true); + const char *str1 = (const char *)getTableEntry(_cCodeFile, 130); + const char *str2 = (const char *)getTableEntry(_cCodeFile, 131); + if (str1 && str2) { + badConscienceChat(str1, 204, 130); + badConscienceChat(str2, 204, 131); + } + delay(60, true); + hideBadConscience(); + runAnimationScript("FLEADTH3.EMC", 0, 0, 0, 1); + _deathHandler = 9; + _screen->showMouse(); } void KyraEngine_MR::setWalkspeed(uint8 speed) { |