// creator  : weidu.exe (version 23100)
// argument : _AJANTI.DLG
// game		 : .
// source	 : ./override/_AJANTI.DLG
// dialog	 : ./DIALOG.TLK
// dialogF  : (none)

BEGIN ~_AJANTI~

IF ~NumberOfTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #87335 /* ~Halt, be you friend or foe?~ */
  IF ~~ THEN REPLY #87336 /* ~We're friends, who are you?~ */ DO ~SetGlobal("NumberOfTalk","FW2900",1)
~ GOTO 1
  IF ~~ THEN REPLY #87337 /* ~Until you tell us who you are, how should we know?~ */ GOTO 2
  IF ~~ THEN REPLY #87338 /* ~When was the last time someone answered foe, tin-head?  Why don't you tell us who the hell you are?~ */ GOTO 3
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #87339 /* ~I am Ajantis, squire paladin of the Order of the Most Radiant Heart, servant to Helm, son of the noble family of Ilvastarr.  I am here to hunt down the vile brigands who assault those traveling these roads.  What of you?~ */
  IF ~~ THEN REPLY #87340 /* ~We share a similar goal, we too are after the bandits who have been raiding along the Coast way.  Why do you fight against these brigands, Ajantis?~ */ GOTO 6
  IF ~~ THEN REPLY #87341 /* ~We are just travelers.~ */ GOTO 4
END

IF ~~ THEN BEGIN 2 // from: _DYNAHJ:95.2 12.2 3.2 0.1
  SAY #87342 /* ~I am Ajantis, squire paladin to Lord Helm.  I have come down from the city of Waterdeep to fight against the brigands that make these roads unsafe to travel.  What of you?~ */
  IF ~~ THEN REPLY #87343 /* ~We too want to put an end to the bandit raids.~ */ GOTO 5
  IF ~~ THEN REPLY #87344 /* ~We're just travelers.~ */ GOTO 4
END

IF ~~ THEN BEGIN 3 // from: 0.2
  SAY #87345 /* ~I have not come across such rude travelers in a long time; off with you.~ */
  IF ~~ THEN REPLY #87346 /* ~Sorry we upset you, Mr. Garbage Can.  We just want to ask you: is that your natural stench we smell or did you make a mess in your armor because our weapons scared you?~ */ GOTO 7
  IF ~~ THEN REPLY #438 /* ~Too bad, good bye.~ */ DO ~EscapeArea()
~ EXIT
  IF ~~ THEN REPLY #439 /* ~We apologize for our hasty words, can we start over again?~ */ GOTO 2
  IF ~Global("X#DynaheirAjantis1","GLOBAL",0)
InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#DynaheirAjantis1","GLOBAL",1)~ EXTERN ~_DYNAHJ~ 95
END

IF ~~ THEN BEGIN 4 // from: _DYNAHJ:269.1 19.1 18.1 17.1 16.1 15.1 14.1 13.1 6.1 5.1 2.1 1.1
  SAY #87347 /* ~Well then, I wish you safety in your travels, for the roads are very dangerous.~ */
  IF ~~ THEN REPLY #85495 /* ~Good luck on your travels.~ */ EXIT
  IF ~~ THEN REPLY #87348 /* ~Wait!  Perhaps it would be better if we traveled together.~ */ GOTO 5
  IF ~Global("X#DynaheirAjantis2","GLOBAL",0)
InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#DynaheirAjantis2","GLOBAL",1)~ EXTERN ~_DYNAHJ~ 96
END

IF ~~ THEN BEGIN 5 // from: _DYNAHJ:96.1 4.1 2.0
  SAY #87349 /* ~In that case, why do we not join forces against these contemptible lawbreakers?~ */
  IF ~~ THEN REPLY #87350 /* ~Sounds good to us, we're always on the lookout for another sword arm.~ */ DO ~JoinParty()
~ EXIT
  IF ~~ THEN REPLY #87351 /* ~Sorry, we don't have the need for another companion.~ */ GOTO 4
  IF ~Global("X#SharAjantisJoin1","GLOBAL",0)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#SharAjantisJoin1","GLOBAL",1)~ EXTERN ~_SHARTJ~ 85
END

IF ~~ THEN BEGIN 6 // from: 1.0
  SAY #87352 /* ~When I introduced myself, you perhaps heard when I referred to myself as a Squire knight.  I am on a quest to earn my right to be a full fledged member of the Order of the Most Radiant Heart.  Perhaps we could join forces, for we both wish to see the end of this bandit threat.~ */
  IF ~~ THEN REPLY #87353 /* ~Why not, we could use another warrior.~ */ DO ~JoinParty()
~ EXIT
  IF ~~ THEN REPLY #87354 /* ~Sorry, but we're not interested.~ */ GOTO 4
  IF ~Global("X#AJANTI6","GLOBAL",0)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AJANTI6","GLOBAL",1)~ GOTO 14
  IF ~Global("X#AJANTI6","GLOBAL",0)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AJANTI6","GLOBAL",1)~ EXTERN ~_SHARTJ~ 171
  IF ~Global("X#AJANTI6","GLOBAL",0)
InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AJANTI6","GLOBAL",1)~ GOTO 16
  IF ~Global("X#AJANTI6","GLOBAL",0)
InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AJANTI6","GLOBAL",1)~ EXTERN ~_DYNAHJ~ 269
END

IF ~~ THEN BEGIN 7 // from: _DYNAHJ:95.0 12.0 3.0
  SAY #87355 /* ~I will not take these insults to my honor! Draw steel!~ */
  IF ~~ THEN REPLY #87356 /* ~If that's the way you want it, you armor-plated buffoon, then prepare to meet your god.~ */ DO ~Enemy()
~ EXIT
  IF ~~ THEN REPLY #87357 /* ~I thought great knights only attacked dangerous evil, not weary travelers such as us.~ */ GOTO 8
END

IF ~~ THEN BEGIN 8 // from: 7.1
  SAY #87358 /* ~You... are correct.  I apologize for my misbehavior, goodbye and good riddance.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~True()
~ THEN BEGIN 9 // from:
  SAY #87359 /* ~I cannot tarry about for idle conversation.  As a knight there are many tasks that must be looked after!  If you wish to join me in my tasks, then just say the word, otherwise leave me be.~ */
  IF ~~ THEN REPLY #87360 /* ~We haven't changed our minds.  We don't need another companion right now.~ */ EXIT
  IF ~~ THEN REPLY #87361 /* ~All right then, let's join forces.~ */ DO ~JoinParty()
~ EXIT
END

IF ~~ THEN BEGIN 10 // from:
  SAY #87099 /* ~Associating myself with you was beneath my honor. Now excuse me, as I must cleanse myself of this entire experience.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 11 // from:
  SAY #87098 /* ~But... but... we were a team, we were bound by... by honor! Sigh... Why is everything always so complicated?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 12 // from: _DYNAHJ:95.3
  SAY #99682 /* ~But it is done. Begone!~ */
  IF ~~ THEN REPLY #87346 /* ~Sorry we upset you, Mr. Garbage Can.  We just want to ask you: is that your natural stench we smell or did you make a mess in your armor because our weapons scared you?~ */ GOTO 7
  IF ~~ THEN REPLY #438 /* ~Too bad, good bye.~ */ DO ~EscapeArea()
~ EXIT
  IF ~~ THEN REPLY #439 /* ~We apologize for our hasty words, can we start over again?~ */ GOTO 2
END

IF ~~ THEN BEGIN 13 // from:
  SAY #99801 /* ~Fair lady, you wound me with such bitter words.~ */
  IF ~~ THEN REPLY #87350 /* ~Sounds good to us, we're always on the lookout for another sword arm.~ */ DO ~JoinParty()
~ EXIT
  IF ~~ THEN REPLY #87351 /* ~Sorry, we don't have the need for another companion.~ */ GOTO 4
END

IF ~~ THEN BEGIN 14 // from: 6.2
  SAY #99801 /* ~Fair lady, you wound me with such bitter words.~ */
  IF ~~ THEN REPLY #87353 /* ~Why not, we could use another warrior.~ */ DO ~JoinParty()
~ EXIT
  IF ~~ THEN REPLY #87354 /* ~Sorry, but we're not interested.~ */ GOTO 4
END

IF ~~ THEN BEGIN 15 // from:
  SAY #99801 /* ~Fair lady, you wound me with such bitter words.~ */
  IF ~~ THEN REPLY #87353 /* ~Why not, we could use another warrior.~ */ DO ~JoinParty()
~ EXIT
  IF ~~ THEN REPLY #87354 /* ~Sorry, but we're not interested.~ */ GOTO 4
END

IF ~~ THEN BEGIN 16 // from: 6.4
  SAY #99458 /* ~Thank you!~ */
  IF ~~ THEN REPLY #87353 /* ~Why not, we could use another warrior.~ */ DO ~JoinParty()
~ EXIT
  IF ~~ THEN REPLY #87354 /* ~Sorry, but we're not interested.~ */ GOTO 4
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN GOTO 17
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 172
END

IF ~~ THEN BEGIN 17 // from: 16.2
  SAY #99801 /* ~Fair lady, you wound me with such bitter words.~ */
  IF ~~ THEN REPLY #87353 /* ~Why not, we could use another warrior.~ */ DO ~JoinParty()
~ EXIT
  IF ~~ THEN REPLY #87354 /* ~Sorry, but we're not interested.~ */ GOTO 4
END

IF ~~ THEN BEGIN 18 // from: _DYNAHJ:269.4
  SAY #99458 /* ~Thank you!~ */
  IF ~~ THEN REPLY #87353 /* ~Why not, we could use another warrior.~ */ DO ~JoinParty()
~ EXIT
  IF ~~ THEN REPLY #87354 /* ~Sorry, but we're not interested.~ */ GOTO 4
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN GOTO 19
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 173
END

IF ~~ THEN BEGIN 19 // from: _DYNAHJ:269.2 18.2
  SAY #99801 /* ~Fair lady, you wound me with such bitter words.~ */
  IF ~~ THEN REPLY #87353 /* ~Why not, we could use another warrior.~ */ DO ~JoinParty()
~ EXIT
  IF ~~ THEN REPLY #87354 /* ~Sorry, but we're not interested.~ */ GOTO 4
END
