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

BEGIN ~MONTAP~

IF ~False()~ THEN BEGIN 0 // from:
  SAY #16063 /* ~Thank you, but I'll be on my way.~ */
  IF ~~ THEN DO ~~ EXIT
END

IF ~False()~ THEN BEGIN 1 // from:
  SAY #16064 /* ~I see.  Well, let me see what services you have.~ */
  IF ~~ THEN DO ~~ EXIT
END

IF ~False()~ THEN BEGIN 2 // from:
  SAY #16065 /* ~Perhaps you could tell me where I could find a suitable inn.~ */
  IF ~~ THEN DO ~~ EXIT
END

IF ~False()~ THEN BEGIN 3 // from:
  SAY #16066 /* ~Could you perhaps direct me to a temple or such where I might receive healing?~ */
  IF ~~ THEN DO ~~ EXIT
END

IF ~Dead("XZAR")
~ THEN BEGIN 4 // from:
  SAY #16067 /* ~Thank you.  I'll be on my way.~ */
  IF ~~ THEN REPLY #16072 /* ~Ah, good business to you once again, my friend!  You wish to peruse Hes' goods, do you?~ */ DO ~~ GOTO 6
  IF ~~ THEN REPLY #16074 /* ~Tavern Wench~ */ DO ~~ GOTO 7
END

IF ~!Dead("XZAR")
~ THEN BEGIN 5 // from:
  SAY #16068 /* ~I see.  Well, let me see what services you have.~ */
  IF ~~ THEN REPLY #16073 /* ~Yes, let's see what services you have.~ */ DO ~~ GOTO 8
  IF ~~ THEN REPLY #16075 /* ~Tavern Wench~ */ DO ~~ GOTO 7
END

IF ~~ THEN BEGIN 6 // from: 4.0
  SAY #16069 /* ~Perhaps you could tell me where I could find a suitable inn.~ */
  IF ~~ THEN DO ~JoinParty()
~ EXIT
END

IF ~~ THEN BEGIN 7 // from: 5.1 4.1
  SAY #16070 /* ~I'm looking for quality goods, perhaps magical items and such.~ */
  IF ~~ THEN DO ~ActionOverride("Xzar",ChangeAIScript("",DEFAULT))
ActionOverride("Xzar",LeaveParty())
ActionOverride("Xzar",SetDialog("XzarP"))
~ EXIT
END

IF ~~ THEN BEGIN 8 // from: 5.0
  SAY #16071 /* ~Thank you.  I'll be on my way.~ */
  IF ~~ THEN DO ~ActionOverride("Xzar",JoinParty())
JoinParty()
~ EXIT
END
