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

BEGIN ~ELMIN3~

IF ~  True()
~ THEN BEGIN 0 // from:
  SAY #19332 /* ~Well met, young one! I trust that thou art well? I have heard many things about thee in the past few tendays, and I am most impressed.~ */
  IF ~~ THEN REPLY #19334 /* ~Are you following me, old man?~ */ GOTO 1
  IF ~~ THEN REPLY #19415 /* ~And what have you heard? All good things, I hope.~ */ GOTO 2
  IF ~~ THEN REPLY #19448 /* ~I have no time to chat.~ */ GOTO 3
  IF ~Global("X#ELMIN30","GLOBAL",0)
InParty("xan")
InMyArea("xan")
!StateCheck("xan",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#ELMIN30","GLOBAL",1)~ EXTERN ~XANJ~ 235
  IF ~Global("X#ELMIN30","GLOBAL",0)
InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#ELMIN30","GLOBAL",1)~ EXTERN ~EDWINJ~ 182
  IF ~Global("X#ELMIN30","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Global("X#GarElm2","GLOBAL",1)
~ THEN DO ~SetGlobal("X#ELMIN30","GLOBAL",1)~ EXTERN ~GARRIJ~ 181
  IF ~Global("X#ELMIN30","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Global("X#GarElm2","GLOBAL",1)
~ THEN DO ~SetGlobal("X#ELMIN30","GLOBAL",1)~ GOTO 6
END

IF ~~ THEN BEGIN 1 // from: EDWINJ:184.0 EDWINJ:183.0 EDWINJ:182.0 6.0 0.0
  SAY #19450 /* ~Only through tales and stories, I assure thee. Thou art the subject around many tables lately, and I am quite sure that the majority of rumors are more or less true. Much is as I would have done, though the methods may have differed. No doubt the clues unearthed so far have pointed thee in the same direction I would have concluded as well. Thou dost possess a... gifted nature, and I am sure that thou wilt make good use of it.~ */
  IF ~~ THEN REPLY #19455 /* ~I am determined in my course and do not need your assistance.~ */ GOTO 4
  IF ~~ THEN REPLY #19460 /* ~Of course they have... but just out of curiosity, where would you go next?~ */ GOTO 5
END

IF ~~ THEN BEGIN 2 // from: EDWINJ:184.1 EDWINJ:183.1 EDWINJ:182.1 6.1 0.1
  SAY #19451 /* ~That would depend on whom thou would ask, now wouldn't it? For the most part it would appear that thine actions are well-intentioned, and are therefore received as such. Much is as I would have done, though perhaps not using the same method. Likely the clues also point thee in the same direction I would go.~ */
  IF ~~ THEN REPLY #19458 /* ~I know where I should go, and do not need your help.~ */ GOTO 4
  IF ~~ THEN REPLY #19464 /* ~I am certain of where I must go... But perhaps I should confer with you, just to be sure.~ */ GOTO 5
END

IF ~~ THEN BEGIN 3 // from: EDWINJ:184.2 EDWINJ:183.2 EDWINJ:182.2 6.2 0.2
  SAY #19452 /* ~Of course not, and I would not dream of detaining thee a second longer than necessary. I merely wished to state that I have heard much about thee. Many think thee a hero, though some would just as soon have thy head on a pike. Such is the way of things, I suppose. My only concern is whether or not the clues presented have pointed thee in a fruitful direction.~ */
  IF ~~ THEN REPLY #19459 /* ~I am well aware of where my next destination should be. I do not need your help.~ */ GOTO 4
  IF ~~ THEN REPLY #19465 /* ~My direction is clear... though confirming it would not hurt.~ */ GOTO 5
END

IF ~~ THEN BEGIN 4 // from: 3.0 2.0 1.0
  SAY #19457 /* ~Fear not. I was not presuming to tell thee where to go, for thou art more than capable. I will leave thee to thy travels. Luck be with thee, for thou've made some vengeful enemies: some that thou've yet to meet, and some as close as thine own heart.~ */
  IF ~~ THEN DO ~EscapeArea()
~ JOURNAL #27038 /* ~Another Encounter with Elminster
Once again I have run into Elminster, and once again he expressed an interest in my well-being that I find puzzling. He seemed to suggest that my most vengeful enemies would be as close as my own heart, though what he meant I do not know. Who knows the mind of Elminster?~ */ EXIT
END

IF ~~ THEN BEGIN 5 // from: 3.1 2.1 1.1
  SAY #19461 /* ~As thou hast no doubt determined, the clues seem to point towards the Cloakwood forest. 'Tis likely that the scoundrels behind the bandits have some sort of base within the wood. Of course, I am only telling thee things that thou dost already know. Good luck on thy travels, young one. Be wary as well, for thou art making powerful enemies, both here... and within thyself. I am sorry I cannot speak more plainly on this matter, but events must unfold as they will without any meddling from this old man.~ */
  IF ~~ THEN DO ~EscapeArea()
~ JOURNAL #27039 /* ~Another Encounter with Elminster
Once again I have run into Elminster, and once again he expressed an interest in my well-being that I find puzzling. He made a cryptic remark about making powerful enemies within myself. Like all wizards, he speaks in riddles. At least he confirmed that the masters of the bandits likely keep their base in the Cloakwood.~ */ EXIT
END

IF ~~ THEN BEGIN 6 // from: 0.6
  SAY #50092 /* ~And greetings again, Garrick.~ */
  IF ~~ THEN REPLY #19334 /* ~Are you following me, old man?~ */ GOTO 1
  IF ~~ THEN REPLY #19415 /* ~And what have you heard? All good things, I hope.~ */ GOTO 2
  IF ~~ THEN REPLY #19448 /* ~I have no time to chat.~ */ GOTO 3
  IF ~  InParty("xan")
InMyArea("xan")
!StateCheck("xan",CD_STATE_NOTVALID)
~ THEN EXTERN ~XANJ~ 238
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~EDWINJ~ 184
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Global("X#GarElm2","GLOBAL",1)
~ THEN EXTERN ~GARRIJ~ 182
END
