// creator  : weidu.exe (version 23600)
// argument : HAFIZ.DLG
// game     : .
// source   : ./override/HAFIZ.DLG
// dialog   : lang\en_us/dialog.tlk
// dialogF  : (none)

BEGIN ~HAFIZ~

IF ~  True()
~ THEN BEGIN 0 // from:
  SAY #18326 /* ~Please, wait a moment. I must talk with you. It is very important.~ */
  IF ~~ THEN REPLY #18328 /* ~Sure, what do you have to tell us, dwarf?~ */ GOTO 2
  IF ~~ THEN REPLY #18329 /* ~Sorry, but we don't have the time to chat with some geezer dwarf.~ */ GOTO 1
END

IF ~~ THEN BEGIN 1 // from: 2.1 0.1
  SAY #18330 /* ~Of all the rude... fine, good riddance.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 2 // from: 0.0
  SAY #18331 /* ~Thank you... just let an old man catch his breath... Now then, let me introduce myself, I am Hafiz bin Watat, astrologer, scientist, and mage. Please, tell me your name.~ */
  IF ~~ THEN REPLY #18332 /* ~Sure, my name's <CHARNAME>.~ */ GOTO 3
  IF ~~ THEN REPLY #18333 /* ~Are you nuts?! I'm not telling you my name. For all I know, you may be some crazy assassin. Gods know there's been enough of them. Get out of here old man.~ */ GOTO 1
END

IF ~~ THEN BEGIN 3 // from: 2.0
  SAY #18336 /* ~<CHARNAME>! Yes, that's the name I remember. I've seen your face in my dreams. Mmm. The dreams of you are always ones of blood and death, and there is another man who watches, an evil man. They always end with your death or mine. It is so strange that I should meet you, the focus of these dreams. You must be very special. Tell me about yourself; perhaps I can help you.~ */
  IF ~~ THEN REPLY #18340 /* ~I don't really have anything to tell, especially to one that I know so little about. I must take my leave of you, dwarf. Hopefully now that we have met your dreams will end.~ */ GOTO 4
  IF ~~ THEN REPLY #18342 /* ~Well, dwarf, if your dreams always ended with one of us dead, then perhaps we shouldn't be talking at all. It's not personal Hafiz, but I really want to be the one who comes out of the dream still breathing.~ */ GOTO 5
  IF ~~ THEN REPLY #18345 /* ~There's quite a bit to say, I don't really know if I have the time to go into all of the details. I used to live at Candlekeep with my father Gorion. A little while back we were forced to flee. Seems like there's someone out there who really wants me dead. In trying to kill me, he... killed my dad.~ */ GOTO 6
  IF ~Global("X#GarHaf","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#GarHaf","GLOBAL",1)~ EXTERN ~GARRIJ~ 67
END

IF ~~ THEN BEGIN 4 // from: GARRIJ:67.0 3.0
  SAY #18348 /* ~I, as well, hope that my dreams will end. Perhaps we shall meet again. Goodbye, <CHARNAME>.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 5 // from: GARRIJ:67.1 3.1
  SAY #18350 /* ~Perhaps what you say is true. It becomes obvious to me that you have a demeanor of evil. If it is combat that you desire, then that is what you will have.~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 6 // from: GARRIJ:67.2 3.2
  SAY #18351 /* ~I am sorry to bring back such painful memories. I wish to help you, and in doing so, end these dreams that plague me. Here, take this. When you do battle against the six who serve your father's killer, read this scroll and it will protect you from their wrath. Goodbye now, perhaps we shall meet again.~ */
  IF ~~ THEN DO ~GiveItem("SCRL07",LastTalkedToBy)
EscapeArea()
~ EXIT
  IF ~Global("X#DynaheirHafiz1","GLOBAL",0)
InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#DynaheirHafiz1","GLOBAL",1)~ EXTERN ~DYNAHJ~ 99
END

IF ~~ THEN BEGIN 7 // from:
  SAY #46336 /* ~Don't mention it. I serve myself as well as you.~ */
  IF ~~ THEN DO ~GiveItem("SCRL07",LastTalkedToBy)
EscapeArea()
~ EXIT
END
