BEGIN ~ajanti~

IF ~NumTimesTalkedTo(0)
GlobalLT("ENDOFBG1","GLOBAL",2)
~ THEN BEGIN 0
  SAY @421
  IF ~~ THEN REPLY @430 DO ~SetGlobal("NumberOfTalk","AR9000",1)~ GOTO 1
  IF ~~ THEN REPLY @431 GOTO 2
  IF ~~ THEN REPLY @432 GOTO 3
END

IF ~~ THEN BEGIN 1
  SAY @422
  IF ~~ THEN REPLY @433 GOTO 6
  IF ~~ THEN REPLY @434 GOTO 4
END

IF ~~ THEN BEGIN 2
  SAY @423
  IF ~~ THEN REPLY @435 GOTO 5
  IF ~~ THEN REPLY @436 GOTO 4
END

IF ~~ THEN BEGIN 3
  SAY @424
  IF ~~ THEN REPLY @12133 GOTO 7
  IF ~~ THEN REPLY @12132 DO ~EscapeArea()~ EXIT
  IF ~~ THEN REPLY @12134 GOTO 2
END

IF ~~ THEN BEGIN 4
  SAY @425
  IF ~~ THEN REPLY @17793 EXIT
  IF ~~ THEN REPLY @17794 GOTO 5
END

IF ~~ THEN BEGIN 5
  SAY @426
  IF ~~ THEN REPLY @440 DO ~JoinParty()~ EXIT
  IF ~~ THEN REPLY @441 GOTO 4
END

IF ~~ THEN BEGIN 6
  SAY @427
  IF ~~ THEN REPLY @442 DO ~JoinParty()~ EXIT
  IF ~~ THEN REPLY @443 GOTO 4
END

IF ~~ THEN BEGIN 7
  SAY @428
  IF ~~ THEN REPLY @444 DO ~Enemy()~ EXIT
  IF ~~ THEN REPLY @445 GOTO 8
END

IF ~~ THEN BEGIN 8
  SAY @429
  IF ~~ THEN DO ~EscapeArea()~ EXIT
END

IF ~True()
GlobalLT("ENDOFBG1","GLOBAL",2)
~ THEN BEGIN 9
  SAY @5735
  IF ~~ THEN REPLY @10882 EXIT
  IF ~~ THEN REPLY @10883 DO ~JoinParty()~ EXIT
END

IF ~False()~ THEN BEGIN 10
  SAY @14724
  IF ~~ THEN EXIT
END

IF ~False()~ THEN BEGIN 11
  SAY @14730
  IF ~~ THEN EXIT
END