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

BEGIN ~PPCOWLED~ 1 // non-zero flags may indicate non-pausing dialogue

IF ~NumTimesTalkedTo(0)~ THEN BEGIN 0 // from:
  SAY #44105 /* ~Is it time once again for the experiments? I await your instruction, warden.~ */
  IF ~~ THEN REPLY #44106 /* ~You! Are you of the Cowled Wizards? I demand something from you!~ */ GOTO 4
  IF ~InPartySlot(LastTalkedToBy,0)~ THEN REPLY #44107 /* ~Hello there. I am <CHARNAME>, and I have some things to ask you.~ */ GOTO 1
  IF ~~ THEN REPLY #44108 /* ~I wonder if I might have a moment of your time? I seek information.~ */ GOTO 5
  IF ~!InPartySlot(LastTalkedToBy,0)~ THEN REPLY #44117 /* ~Hello. I am here with <CHARNAME>, and I have some things to ask you.~ */ GOTO 1
END

IF ~~ THEN BEGIN 1 // from: 6.0 0.3 0.1
  SAY #44109 /* ~...<CHARNAME>? <CHARNAME>?~ */
  IF ~IsValidForPartyDialog("Nalia")~ THEN EXTERN ~NALIAJ~ 203
  IF ~!IsValidForPartyDialog("Nalia")
IsValidForPartyDialog("Aerie")~ THEN EXTERN ~AERIEJ~ 49
  IF ~!IsValidForPartyDialog("Nalia")
!IsValidForPartyDialog("Aerie")
!IsValidForPartyDialog("Edwin")~ THEN GOTO 2
  IF ~!IsValidForPartyDialog("Nalia")
!IsValidForPartyDialog("Aerie")
IsValidForPartyDialog("Edwin")~ THEN EXTERN ~EDWINJ~ 38
END

IF ~~ THEN BEGIN 2 // from: 1.2
  SAY #44110 /* ~<CHARNAME>! If the subject is encountered do not hesitate to test <PRO_HISHER> limits! These are valuable parameters for study!~ */
  IF ~!IsValidForPartyDialogue("YOSHIMO")~ THEN REPLY #44115 /* ~Now settle down. Are you in control of yourself? Perhaps I can help you.~ */ GOTO 3
  IF ~!IsValidForPartyDialogue("YOSHIMO")~ THEN REPLY #44116 /* ~Quit speaking in riddles you Cowled bastard! Where is Imoen?!~ */ GOTO 3
  IF ~IsValidForPartyDialogue("YOSHIMO")~ THEN EXTERN ~YOSHJ~ 119
  IF ~!IsValidForPartyDialogue("YOSHIMO")~ THEN REPLY #58800 /* ~You'll take me to Irenicus and you'll do it now!~ */ GOTO 3
END

IF ~~ THEN BEGIN 3 // from: 8.2 8.1 8.0 2.3 2.1 2.0
  SAY #44111 /* ~Test of limits. Yes, test of limits!~ */
  IF ~~ THEN DO ~EraseJournalEntry(7235)
EraseJournalEntry(15783)
EraseJournalEntry(16541)
EraseJournalEntry(10106)
EraseJournalEntry(11661)
EraseJournalEntry(15794)
EraseJournalEntry(9982)
EraseJournalEntry(11681)
EraseJournalEntry(15715)
EraseJournalEntry(16677)
EraseJournalEntry(19364)
EraseJournalEntry(23512)
EraseJournalEntry(11884)
Enemy()~ UNSOLVED_JOURNAL #11686 /* ~Getting Inside the Asylum

It appears that Perth the Adept was under some kind of magical domination, and he attacked without provocation.  Hopefully this wardstone that is on his person will allow entry to the asylum.~ */ EXIT
END

IF ~~ THEN BEGIN 4 // from: 0.0
  SAY #44118 /* ~Demand? No, no one demands except the warden. Demands...~ */
  IF ~~ THEN GOTO 6
END

IF ~~ THEN BEGIN 5 // from: 0.2
  SAY #44119 /* ~A moment? No, all the moments are together. All together and with another. I have no moments.~ */
  IF ~~ THEN GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 5.0 4.0
  SAY #44120 /* ~You are... you are in the company... with <CHARNAME>. The likenesses of who to recognize... have been given to me... in my head.~ */
  IF ~~ THEN GOTO 1
END

IF ~~ THEN BEGIN 7 // from:
  SAY #58794 /* ~Yoshimo... inconsequential. Acceptable losses in exchange for the benefits of learning the limits of <CHARNAME>!~ */
  IF ~~ THEN EXTERN ~YOSHJ~ 120
END

IF ~~ THEN BEGIN 8 // from:
  SAY #58796 /* ~You do not matter. You will be dealt with as is convenient!~ */
  IF ~~ THEN REPLY #58797 /* ~Now settle down. Are you in control of yourself? Perhaps I can help you.~ */ GOTO 3
  IF ~~ THEN REPLY #58798 /* ~Quit speaking in riddles you Cowled bastard! Where is Imoen?!~ */ GOTO 3
  IF ~~ THEN REPLY #58799 /* ~You'll take me to Irenicus and you'll do it now!~ */ GOTO 3
END
