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

BEGIN ~SCROLL01~ 2 // non-zero flags may indicate non-pausing dialogue

IF ~!Global("stolenfrom","LOCALS",1)~ THEN BEGIN 0 // from:
  SAY #46479 /* ~Hello there.  I've been watching you since you entered... I suspect you may have need of my wares.~ */
  IF ~~ THEN REPLY #46481 /* ~What is it that you sell?~ */ DO ~SetGlobal("YuthTalk","AR0702",1)~ GOTO 2
  IF ~~ THEN REPLY #46519 /* ~I don't think so, maybe another time.~ */ GOTO 1
  IF ~Global("YuthTalk","AR0702",1)~ THEN REPLY #61053 /* ~Let me see what you have.~ */ DO ~StartStore("scrolls",LastTalkedToBy())~ EXIT
END

IF ~~ THEN BEGIN 1 // from: 8.1 0.1
  SAY #46517 /* ~Travel safely, then, and beware the Cowled Wizards.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 2 // from: 0.0
  SAY #46520 /* ~Magical scrolls.  Illegal of course, which is why I must charge so much for them.~ */
  IF ~~ THEN REPLY #46524 /* ~Have you no fear of the Cowled Wizards?~ */ GOTO 3
  IF ~~ THEN REPLY #46526 /* ~I'll take a look at what you're offering.~ */ GOTO 5
END

IF ~~ THEN BEGIN 3 // from: 2.0
  SAY #46527 /* ~Those pompous fools?  They are as corrupt as anyone else in this city, if you know who to talk to. Now, are you interested or not?~ */
  IF ~~ THEN REPLY #46528 /* ~Yes.~ */ GOTO 5
  IF ~Global("BribedCowled","GLOBAL",0)~ THEN REPLY #61110 /* ~Perhaps you could tell me who to talk to amongst the Cowled Wizards, then.  I'd be interested in that.~ */ GOTO 7
  IF ~~ THEN REPLY #61175 /* ~Get away from me, peddler of magic!~ */ GOTO 4
END

IF ~~ THEN BEGIN 4 // from: 3.2
  SAY #46530 /* ~Peddler?  Bah!  I have no need of fools like yourself.  Good day.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 5 // from: 8.0 3.0 2.1
  SAY #46531 /* ~Good.  Take your time, magic is not something that should be rushed.~ */
  IF ~~ THEN DO ~StartStore("scrolls",LastTalkedToBy())~ EXIT
END

IF ~Global("stolenfrom","LOCALS",1)~ THEN BEGIN 6 // from:
  SAY #58588 /* ~You stupid oaf!  I will not tolerate being stolen from.~ */
  IF ~~ THEN DO ~ReputationInc(-1)
Enemy()~ EXIT
END

IF ~~ THEN BEGIN 7 // from: 3.1
  SAY #61111 /* ~Aye, I'd imagine you would be.  One of the wizards by the name of Corneil decides who gets the license to use magic, here.  Bring plenty of coin if you go to see him.~ */
  IF ~~ THEN GOTO 8
END

IF ~~ THEN BEGIN 8 // from: 7.0
  SAY #61112 /* ~You can probably find him in the government building in the Government District.  Now... would you like to see what I have to offer or not?~ */
  IF ~~ THEN REPLY #61113 /* ~Sure, let me see what you have.~ */ GOTO 5
  IF ~~ THEN REPLY #61114 /* ~No, thanks.~ */ GOTO 1
END
