[Scummvm-tracker] [ScummVM] #4112: MANIAC V2: Power never returns
Robert Crossfield
trac at scummvm.org
Mon Feb 13 21:02:09 CET 2017
#4112: MANIAC V2: Power never returns
-----------------------------+---------------------------
Reporter: SF/vorph999 | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: SCUMM
Resolution: | Keywords: script
Game: Maniac Mansion |
-----------------------------+---------------------------
Comment (by segrax):
I think this can be closed,
If Dr. Fred hasn't turned the power off, its not possible to open the
inner door to the lab as you can't get the pin from the Meteor Mess game
(the attached savegame has the Inner Door open) - This is important
because The Inner Door is one of two ways which the power on/off script
can be stopped.
V0 Script Analysis:
script-137 (Cutscene: Dr. Fred / Nurse Edna #1) is the cutscene mentioned
above, at its completion, it starts script-138 (Cutscene: Dr. Fred Play
Meteor Mess Trigger)
script-138 delays for 4 minutes, then turns off the power, delaying again
for 5 minutes before turning it back on, and starting script-96 (Cutscene:
Dr Fred Play Meteor Mess)
while script-138 is sleeping, the following actions can stop it
1. Turning off the Circuit breaker will stop script-138
2. WALK-TO roomobj-4-130 (Lab Inner Door - basement side) while the door
is open, will stop script-138
However:
if script-138 is running and has turned the power off, its not possible to
Turn Off the power (the script will do nothing).
Its also not possible to open the inner door, if Dr. Fred hasn't played
the Meteor Mess game (as you don't have the pin)
From the circuit breaker script:
{{{
[0044] (EF) if (!getState08(activeObject)) { // If Power On
[0047] (62) stopScript(138); // stop Cutscene: Dr.
Fred Play Meteor Mess Trigger
[0049] (D7) setState08(); // Power Off
[004A] (1C) startSound(12); // sound Light Switch
[004C] (42) startScript(50); // start Room Lights:
Check for flashlight / room light status
[004E] (42) startScript(6); // start Game: Meltdown
Timer
[0050] (62) stopScript(138); // stop Cutscene: Dr.
Fred Play Meteor Mess Trigger
}}}
--
Ticket URL: <https://bugs.scummvm.org/ticket/4112#comment:7>
ScummVM <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list