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

BEGIN ~AMMGRD05~

IF ~Global("MarloweJob","GLOBAL",0)~ THEN BEGIN 0 // from:
  SAY #73275 /* ~This cavern is sealed by order of Balthazar.  I do not suggest you enter.~ */
  IF ~~ THEN REPLY #73276 /* ~Why?  What's wrong with it?~ */ GOTO 1
  IF ~~ THEN REPLY #73277 /* ~I'll go where I like.~ */ GOTO 3
  IF ~~ THEN REPLY #73278 /* ~Thanks for the advice.~ */ GOTO 4
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #73279 /* ~This is where the town's dead are buried and lately there have been disturbing reports of... the dead having risen.  Powerful creatures have awoken inside, although we are not sure why.~ */
  IF ~~ THEN REPLY #73280 /* ~Why don't you do something about it, then?~ */ GOTO 2
  IF ~~ THEN REPLY #73281 /* ~Then I've definitely got to go inside!~ */ GOTO 3
  IF ~~ THEN REPLY #73282 /* ~Thanks for the info.~ */ GOTO 4
END

IF ~~ THEN BEGIN 2 // from: 1.0
  SAY #73283 /* ~I am not at liberty to discuss Balthazar's reasoning with you.  Ask him yourself, if you've the chance.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 3 // from: 1.1 0.1
  SAY #73284 /* ~I'm here to prevent innocent villagers, not strangers bristling with magic weapons, from going to their deaths.  I'd let you go in, but the cavern is magically sealed.  Sorry.~ */
  IF ~~ THEN REPLY #73572 /* ~Are you *sure* I can't convince you to let me in?~ */ GOTO 6
  IF ~~ THEN REPLY #73573 /* ~I see.  I'll be going.~ */ GOTO 4
END

IF ~~ THEN BEGIN 4 // from: 3.1 1.2 0.2
  SAY #73285 /* ~Yes, well, on your way then.~ */
  IF ~~ THEN EXIT
END

IF ~Global("MarloweJob","GLOBAL",1)~ THEN BEGIN 5 // from:
  SAY #73286 /* ~You're the one Marlowe wants me to let in?  Ilmater's patience!  (sigh)  I'll likely get in huge trouble for this, but a deal's a deal, I suppose.  Go on in the cavern... I'll be elsewhere.~ */
  IF ~~ THEN DO ~SetGlobal("OpenUpCavern","AR5500",1)
TriggerActivation("INFO5509",FALSE)
TriggerActivation("TRAN5509",TRUE)
EscapeAreaObject("Door08")~ EXIT
END

IF ~~ THEN BEGIN 6 // from: 3.0
  SAY #73574 /* ~What are you implying?  I, uh, don't take kindly to that sort of talk.  Especially from someone who is watched so closely, yes sir.  On your way, stranger.~ */
  IF ~~ THEN EXIT
END
