[Scummvm-tracker] [ScummVM] #10832: QFG4: Castle rooms silence all doors when one is oiled
Vhati
trac at scummvm.org
Sat Dec 8 21:56:31 CET 2018
#10832: QFG4: Castle rooms silence all doors when one is oiled
--------------------------------+----------------------------
Reporter: Vhati | Owner: (none)
Type: defect | Status: new
Priority: low | Component: Engine: SCI
Resolution: | Keywords: SCI32 original
Game: Quest for Glory 4 |
--------------------------------+----------------------------
Comment (by Vhati):
These rooms got it right.
Test the flag AND the nearest door.
Otherwise it must be the other door; test its flag.
\\
\\
script 662 - sPickLock::changeState(1)
{{{
(cond
((and (proc0_4 208) (< (g0_hero x?) 160)) (self cue:))
((proc0_4 209) (self cue:))
(else
(squeakSound play:)
(g91_gloryMessager say: 1 4 3 1 0 640)
(self cue:)
)
)
}}}
\\
\\
script 645 (for room 622, 623) - sPickLock::changeState(1)
{{{
(if (< (global0 x?) 160) (= local0 1))
(switch g11_myCurrentRoomNum
(622
(cond
((and (proc0_4 217) local0) (self cue:))
((proc0_4 219) (self cue:))
(else
(g91_gloryMessager say: 1 4 3 1 0 640)
(squeakSound play:)
(self cue:)
)
)
)
(623
(cond
((and (proc0_4 213) local0) (self cue:))
((proc0_4 225) (self cue:))
(else
(g91_gloryMessager say: 1 4 3 1 0 640)
(squeakSound play:)
(self cue:)
)
)
)
(else
(g91_gloryMessager say: 1 4 3 1 0 640)
(squeakSound play:)
(self cue:)
)
)
}}}
--
Ticket URL: <https://bugs.scummvm.org/ticket/10832#comment:2>
ScummVM <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list