diff options
-rw-r--r-- | engines/mohawk/riven.cpp | 18 | ||||
-rw-r--r-- | engines/mohawk/riven_external.cpp | 2 |
2 files changed, 16 insertions, 4 deletions
diff --git a/engines/mohawk/riven.cpp b/engines/mohawk/riven.cpp index e5d4480907..1d47d453a0 100644 --- a/engines/mohawk/riven.cpp +++ b/engines/mohawk/riven.cpp @@ -813,11 +813,23 @@ static void catherineIdleTimer(MohawkEngine_Riven *vm) { } void MohawkEngine_Riven::installCardTimer() { - // TODO: Handle sunners hardcoded videos - - if (getCurStack() == pspit && getCurCardRMAP() == 0x3a85) { + switch (getCurCardRMAP()) { + case 0x3a85: // Top of elevator on prison island // Handle Catherine hardcoded videos installTimer(&catherineIdleTimer, _rnd->getRandomNumberRng(1, 33) * 1000); + break; + case 0x77d6: // Sunners, top of stairs + // TODO: Background Sunner videos + break; + case 0x79bd: // Sunners, middle of stairs + // TODO: Background Sunner videos + break; + case 0x7beb: // Sunners, bottom of stairs + // TODO: Background Sunner videos + break; + case 0xb6ca: // Sunners, shoreline + // TODO: Background Sunner videos + break; } } diff --git a/engines/mohawk/riven_external.cpp b/engines/mohawk/riven_external.cpp index db4428d461..2fc0c4e17b 100644 --- a/engines/mohawk/riven_external.cpp +++ b/engines/mohawk/riven_external.cpp @@ -882,7 +882,7 @@ void RivenExternal::xbsettrap(uint16 argc, uint16 *argv) { // Set the Ytram trap // We can catch the Ytram between 10 seconds and 3 minutes from now - uint32 timeUntilCatch = _vm->_rnd->getRandomNumberRng(1000 * 10, 1000 * 60 * 3); + uint32 timeUntilCatch = _vm->_rnd->getRandomNumberRng(10, 60 * 3) * 1000; *_vm->getVar("bytramtime") = timeUntilCatch + _vm->getTotalPlayTime(); // And set the timer too |