[Scummvm-tracker] [ScummVM] #10844: QFG4: Ad Avis' death is interrupted, he returns and kills hero

Vhati trac at scummvm.org
Wed Dec 19 05:31:20 CET 2018


#10844: QFG4: Ad Avis' death is interrupted, he returns and kills hero
--------------------------------+----------------------------
  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):

 sTimeItOut is scheduled at the end of the cutscene battle between Ad Avis
 and Katrina.
 \\
 \\
 CD, script 731 - enterScr::changeState()
 {{{
 (53
         (g103_longSong number: 105 loop: -1 play:)
         (switch g439_mySkillSlider
                 (1 (PalVary pvINIT 0 600))
                 (2 (PalVary pvINIT 0 500))
                 (3 (PalVary pvINIT 0 400))
         )
         # (crystal setScript: sTimeItOut)
         ((ScriptID 730 9) setScript: (ScriptID 730 10))
         (g1_Glory handsOn:)
         (g69_mainIconBar disable: 0)
         (self dispose:)
 )
 }}}

 Interesting. Both editions have 600/500/400 there, like in the floppy's
 timer.
 Except these are in tick units.
 \\
 \\
 [http://scicompanion.com/Documentation/Kernels/PalVary.html#PalVary API]:
 SCI Companion - PalVary (kernel)
 > PalVary(pvINIT resourceNumber ticks [stepStop direction])
 >
 > Begins a transition to a new palette. This only needs to be called once.
 >
 > * resourceNumber (number) – The palette resource number.
 > * ticks (number) – The number of ticks between each step in the
 transition (60 ticks is one second).
 > * stepStop (number) – How far along the transition to go, ranging from
 0-64, where 64 is the complete transition. The default is 64.
 > * direction (number) – 1 for forward, -1 for reverse.
 \\
 \\
 Maybe that palette shift was supposed to provide a visual indication for
 the timer? Then they switched to seconds? Then they switched back to ticks
 and forgot about it? Or it's a coincidence.

--
Ticket URL: <https://bugs.scummvm.org/ticket/10844#comment:5>
ScummVM <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list