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

BEGIN ~_SEWERC~
//////////////////////////////////////////////////
// WARNING: this file contains non-trivial WEIGHTs
//////////////////////////////////////////////////

IF WEIGHT #1 /* Triggers after states #: 2 even though they appear after this state */
~NumberOfTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #79540 /* ~*sniff*  Do shouddn't be down here.  Not safe if youb don't know your wayb abound.  Probabby can't stanb the smelb, either.~ */
  IF ~~ THEN EXIT
  IF ~Global("X#GarSew","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#GarSew","GLOBAL",1)~ EXTERN ~_GARRIJ~ 111
END

IF WEIGHT #2 /* Triggers after states #: 2 even though they appear after this state */
~True()
~ THEN BEGIN 1 // from:
  SAY #79541 /* ~There are bany creaturbs down here, so be carebull.  They don't bug me buch because I guess I smelb the samb as everything elb.~ */
  IF ~~ THEN REPLY #79542 /* ~Who are you, and why are you wandering about the sewers?~ */ GOTO 3
  IF ~~ THEN REPLY #79543 /* ~Bugger off!~ */ GOTO 4
END

IF WEIGHT #0 ~StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 2 // from:
  SAY #79544 /* ~If you're realby my frienb, then you'll clearb up my nose run wit magic.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 3 // from: 1.0
  SAY #79545 /* ~I'm a sewerb cleaner.  My job is to clearb up any blocks in the flow.~ */
  IF ~~ THEN EXIT
  IF ~Global("X#CoranSewerClearner1","GLOBAL",0)
InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#CoranSewerClearner1","GLOBAL",1)~ EXTERN ~_CORANJ~ 138
END

IF ~~ THEN BEGIN 4 // from: 1.1
  SAY #79546 /* ~I hobe the monsterbs downd here get youb!~ */
  IF ~~ THEN EXIT
END
