[Scummvm-tracker] [ScummVM :: Bugs] #15784: DGDS: HoC: It's possible to select all available endings

ScummVM :: Bugs trac at scummvm.org
Sun Mar 9 05:59:57 UTC 2025


#15784: DGDS: HoC: It's possible to select all available endings
-------------------+-----------------------------
Reporter:  bluegr  |       Owner:  (none)
    Type:  defect  |      Status:  new
Priority:  normal  |   Component:  Engine: DGDS
 Version:          |  Resolution:
Keywords:          |        Game:  Heart of China
-------------------+-----------------------------
Comment (by mduggan):

 This dialog is showing if the stored "opcode 12" scene (global 0x61) is
 *not* 57.  The relevant item in the `enterSceneOps` of Scene 106 (Paris)
 {{{
 SceneOp<op: showdlg args: [119 48]
       conditionList=
         SceneCondition<flg 0x0e(global|equal-not(abs)) num 97 val 57>
     >
 }}}

 and then the dialog in dialog file 119:

 {{{
 Dialog<num 48 Rect<95,72 147,61> bgcol 0 fcol 15 selbgcol 0 selfontcol 14
 fntsz 4 flags 0x03 frame 2 delay 210 next 119:2 talkdata 0:0 state=null

   actions=
     DialogueAction<span: 15-40
       opList=
         SceneOp<op: global args: [2 346 10 1 367 10 1]>
         SceneOp<op: sceneOpSegmentStateOps args: [2 1 0 0]>
     >
     DialogueAction<span: 41-57
       opList=
         SceneOp<op: global args: [2 346 10 1 367 10 0]>
         SceneOp<op: sceneOpSegmentStateOps args: [2 1 0 0]>
     >
     DialogueAction<span: 58-76
       opList=
         SceneOp<op: global args: [2 346 10 0 367 10 1]>
         SceneOp<op: sceneOpSegmentStateOps args: [2 1 0 0]>
     >
     DialogueAction<span: 77-88
       opList=
         SceneOp<op: global args: [2 346 10 0 367 10 0]>
         SceneOp<op: sceneOpSegmentStateOps args: [2 1 0 0]>
     >
   str='PARIS ENDINGS:
 1.  Romance and Negotiate
 2.  Romance only
 3.  Negotiate only
 4.  Neither'>
 }}}

 Scene 57 is the travel map.  I need to step further back and work out when
 it gets set as the stored scene and where/why it gets overwritten.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/15784#comment:2>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list