BEGIN ~dushai~

IF WEIGHT #1 ~Global("MetMendas","GLOBAL",1)
Global("DushTalk","GLOBAL",0)~ THEN BEGIN 0
  SAY @21351
  IF ~~ THEN REPLY @21365 GOTO 1
  IF ~~ THEN REPLY @21369 GOTO 3
  IF ~~ THEN REPLY @21373 GOTO 2
  IF ~~ THEN REPLY @21378 GOTO 4
END

IF ~~ THEN BEGIN 1
  SAY @21381
  IF ~~ THEN REPLY @21382 GOTO 2
  IF ~~ THEN REPLY @21383 GOTO 4
  IF ~~ THEN REPLY @21384 GOTO 5
END

IF ~~ THEN BEGIN 2
  SAY @21387
  IF ~~ THEN REPLY @21388 GOTO 6
  IF ~~ THEN REPLY @21389 GOTO 7
  IF ~~ THEN REPLY @21390 GOTO 8
END

IF ~~ THEN BEGIN 3
  SAY @21396
  IF ~~ THEN REPLY @21398 GOTO 5
  IF ~~ THEN REPLY @21401 GOTO 8
  IF ~~ THEN REPLY @21403 GOTO 4
END

IF WEIGHT #2 ~Global("DushTalk","GLOBAL",1)
Global("MetMendas","GLOBAL",1)~ THEN BEGIN 4
  SAY @21404
  IF ~~ THEN REPLY @21405 GOTO 13
  IF ~~ THEN REPLY @21406 GOTO 12
  IF ~PartyGoldGT(99)~ THEN REPLY @21407 GOTO 9
  IF ~PartyGoldLT(100)~ THEN REPLY @22136 GOTO 16
END

IF ~~ THEN BEGIN 5
  SAY @21409
  IF ~~ THEN DO ~SetGlobal("DushTalk","GLOBAL",1)~ UNSOLVED_JOURNAL @310663 EXIT
END

IF ~~ THEN BEGIN 6
  SAY @21411
  IF ~~ THEN DO ~ForceSpell(LastTalkedToBy,WIZARD_WEB)
EscapeArea()~ EXIT
END

IF ~~ THEN BEGIN 7
  SAY @21416
  IF ~~ THEN REPLY @21417 GOTO 13
  IF ~~ THEN REPLY @21420 GOTO 12
  IF ~PartyGoldGT(99)~ THEN REPLY @21421 GOTO 9
  IF ~PartyGoldLT(100)~ THEN REPLY @22134 GOTO 16
END

IF ~~ THEN BEGIN 8
  SAY @21422
  IF ~~ THEN DO ~ForceSpell(LastTalkedToBy,WIZARD_WEB)
EscapeArea()~ EXIT
END

IF ~~ THEN BEGIN 9
  SAY @21426
  IF ~~ THEN DO ~TakePartyGold(100)~ GOTO 10
END

IF ~~ THEN BEGIN 10
  SAY @21428
  IF ~~ THEN GOTO 11
END

IF ~~ THEN BEGIN 11
  SAY @21429
  IF ~~ THEN DO ~SetGlobal("Dushover","GLOBAL",1)~ UNSOLVED_JOURNAL @310664 EXIT
END

IF ~~ THEN BEGIN 12
  SAY @21431
  IF ~~ THEN DO ~SetGlobal("DushTalk","GLOBAL",1)~ EXIT
END

IF ~~ THEN BEGIN 13
  SAY @21433
  IF ~~ THEN REPLY @21464 GOTO 5
  IF ~~ THEN REPLY @21465 GOTO 8
  IF ~~ THEN REPLY @21466 GOTO 9
END

IF WEIGHT #3 ~Global("MetMendas","GLOBAL",0)~ THEN BEGIN 14
  SAY @21442
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~Global("DushOver","GLOBAL",1)~ THEN BEGIN 15
  SAY @21467
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 16
  SAY @22135
  IF ~~ THEN DO ~SetGlobal("DushTalk","GLOBAL",1)~ EXIT
END
