[Scummvm-tracker] [ScummVM] #10835: QFG4: Mage stuck unable to cast spells in endgame crystal room

Vhati trac at scummvm.org
Thu Dec 13 20:07:57 CET 2018


#10835: QFG4: Mage stuck unable to cast spells in endgame crystal room
--------------------------------+----------------------------
  Reporter:  Vhati              |      Owner:  (none)
      Type:  defect             |     Status:  new
  Priority:  high               |  Component:  Engine: SCI
Resolution:                     |   Keywords:  SCI32 original
      Game:  Quest for Glory 4  |
--------------------------------+----------------------------

Comment (by Vhati):

 Another decompilation by hand.
 Raw disasm from ScummVM is attached.
 \\
 \\
 script 730 - avis::getHurt()
 {{{
 (if (and (not loc10) (not loc2))
         (cond
                 (
                         (and
                                 loc4
                                 (not (g0_hero script:))
                                 (!= loc1 0)
                         )
                         (if (not (> (g0_hero view:) 14) (< (g0_hero view:)
 21))
                                 (g2_myCurrentRoom setScript: sMessages)
                         )
                 )
                 ((and loc4 (not (g0_hero script:)))
                         (g0_hero view: 5 setLoop: 5 1)
                         (g0_hero setScript: sAdavisDies)
                 )
         )
 )
 }}}

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


More information about the Scummvm-tracker mailing list