BEGIN ~gateward~

IF WEIGHT #1 ~NumTimesTalkedTo(0)~ THEN BEGIN 0
  SAY @10773
  IF ~~ THEN REPLY @10774 GOTO 3
  IF ~~ THEN REPLY @10776 GOTO 1
END

IF ~~ THEN BEGIN 1
  SAY @10777
  IF ~~ THEN REPLY @10778 GOTO 3
  IF ~~ THEN REPLY @10779 GOTO 2
END

IF ~~ THEN BEGIN 2
  SAY @10780
  IF ~~ THEN DO ~EscapeArea()~ EXIT
END

IF ~~ THEN BEGIN 3
  SAY @10781
  IF ~~ THEN DO ~SetGlobal("OBE","GLOBAL",1)
TriggerActivation("Door6543",TRUE)
MoveToPoint([3127.2983])~ EXIT
END

IF WEIGHT #2 ~True()~ THEN BEGIN 4
  SAY @10782
  IF ~~ THEN DO ~EscapeArea()~ EXIT
END

IF WEIGHT #0 ~NumInPartyGT(1)~ THEN BEGIN 5
  SAY @10788
  IF ~~ THEN EXIT
END
