[Scummvm-tracker] [ScummVM] #10827: QFG4 floppy: Second door sound when entering castle rooms
Vhati
trac at scummvm.org
Thu Dec 6 05:48:00 CET 2018
#10827: QFG4 floppy: Second door sound when entering castle rooms
--------------------------------+----------------------------
Reporter: Vhati | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: SCI
Resolution: | Keywords: SCI32 original
Game: Quest for Glory 4 |
--------------------------------+----------------------------
Comment (by Vhati):
script 622 - rm622::init()
script 623 - rm623::init()
{{{
# Last line.
((ScriptID 645 0) init:)
}}}
\\
\\
That runs rm640Code::init(), which schedules sEnter on the room.
\\
\\
script 645 - sEnter::changeState()
{{{
(0
(global1 handsOff:)
(= seconds 2)
)
(1
(doorSound play:)
(if local0
(pLeftDoor setCycle: End self)
else
(pRightDoor setCycle: End self)
)
)
(2
(pLeftDoor setPri: 68)
(doorSound dispose:)
(global0
setPri: 86
show:
setMotion: MoveTo local2 local3 self
)
)
(3
(doorCloseSound play:)
(global0 setPri: -1)
(if local0
(pLeftDoor setCycle: Beg self)
else
(pRightDoor setCycle: Beg self)
)
)
(4
# State 1 already played this.
(doorSound play:)
(global1 handsOn:)
(self dispose:)
)
}}}
\\
\\
The extra sound was removed in the CD edition.
--
Ticket URL: <https://bugs.scummvm.org/ticket/10827#comment:1>
ScummVM <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list