// creator  : weidu.exe (version 23100)
// argument : IGOLEM2.DLG
// game		 : .
// source	 : ./DATA/DIALOG.BIF
// dialog	 : ./DIALOG.TLK
// dialogF  : (none)

BEGIN ~IGOLEM2~ 2 // non-zero flags may indicate non-pausing dialogue

IF ~OR(5)
Global("IMOENGOLEM","GLOBAL",1)
!InParty("Imoen")
Dead("Imoen")
!See("Imoen")
StateCheck("Imoen",STATE_SLEEPING)
~ THEN BEGIN 0 // from: IMOENJ:17.0
  SAY #10783 /* ~Prisoners... you must not escape... the master does not will it.~ [ZOMBI03] */
  IF ~~ THEN REPLY #10786 /* ~Who is this master that you speak of?~ */ GOTO 1
  IF ~~ THEN REPLY #10787 /* ~What your master wills matters not to me, golem. Where are we and why have we been brought here?~ */ GOTO 2
  IF ~~ THEN REPLY #10788 /* ~The master wants me to be free. He released me.~ */ GOTO 3
  IF ~~ THEN REPLY #10820 /* ~You are a mindless golem. I shall find no answers from you.~ */ GOTO 5
END

IF ~~ THEN BEGIN 1 // from: 4.2 3.0 2.2 0.0
  SAY #10789 /* ~I am not permitted to speak with prisoners. Return to your cells. It is the master's wish.~ */
  IF ~~ THEN REPLY #10795 /* ~Where are we and why have we been brought here?~ */ GOTO 2
  IF ~~ THEN REPLY #10796 /* ~The master wants me to be free. He released me.~ */ GOTO 3
  IF ~~ THEN REPLY #10797 /* ~I will not return to that cage. Do you think to stop me from leaving?~ */ GOTO 4
  IF ~~ THEN REPLY #10821 /* ~You are a mindless golem. I shall find no answers from you.~ */ GOTO 5
END

IF ~~ THEN BEGIN 2 // from: 4.3 3.2 1.0 0.1
  SAY #10798 /* ~You are his prisoners. He has brought you to his home because he owns you now. You must return to your cell. It is the master's will.~ */
  IF ~~ THEN REPLY #10799 /* ~I will not return to that cage! Do you think to stop me from leaving?~ */ GOTO 4
  IF ~~ THEN REPLY #10800 /* ~The master wants me to be free. He is the one who released me.~ */ GOTO 3
  IF ~~ THEN REPLY #10801 /* ~Who is this master that you speak of?~ */ GOTO 1
  IF ~~ THEN REPLY #10822 /* ~You are a mindless golem. I shall find no answers from you.~ */ GOTO 5
END

IF ~~ THEN BEGIN 3 // from: 2.1 1.1 0.2
  SAY #10804 /* ~Only I release the master's prisoners. You are his and must return to the cells. It is his wish.~ */
  IF ~~ THEN REPLY #10812 /* ~Who is this master that you speak of?~ */ GOTO 1
  IF ~~ THEN REPLY #10814 /* ~I will not return to that cage! Do you think to stop me from leaving?~ */ GOTO 4
  IF ~~ THEN REPLY #10815 /* ~Where are we and why have we been brought here?~ */ GOTO 2
  IF ~~ THEN REPLY #10823 /* ~You are a mindless golem. I shall find no answers from you.~ */ GOTO 5
END

IF ~~ THEN BEGIN 4 // from: 3.1 2.0 1.2
  SAY #10817 /* ~I am not bound to stop you. The guardian will stop you from leaving. Return to your cells. It is the master's wish.~ */
  IF ~~ THEN REPLY #10818 /* ~Who or what is the guardian?~ */ GOTO 6
  IF ~~ THEN REPLY #10824 /* ~You are a mindless golem. I shall find no answers from you.~ */ GOTO 5
  IF ~~ THEN REPLY #10825 /* ~Who is this master that you speak of?~ */ GOTO 1
  IF ~~ THEN REPLY #10826 /* ~Where are we and why have we been brought here?~ */ GOTO 2
END

IF ~~ THEN BEGIN 5 // from: 4.1 3.3 2.3 1.3 0.3
  SAY #10827 /* ~You must not disobey the master. Return to your cells.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 6 // from: 4.0
  SAY #10846 /* ~The guardian will keep you from the master's chambers. You must return to your cells. It is the master's will.~ */
  IF ~~ THEN EXIT
END

IF ~Global("IMOENGOLEM","GLOBAL",0)
InParty("Imoen")
See("Imoen")
!Dead("Imoen")
!StateCheck("Imoen",STATE_SLEEPING)
~ THEN BEGIN 7 // from:
  SAY #38607 /* ~Prisoners... you must not escape... the master does not will it.~ [ZOMBI03] */
  IF ~~ THEN DO ~SetGlobal("IMOENGOLEM","GLOBAL",1)~ EXTERN ~IMOENJ~ 16
END
