BEGIN ~NTKRESTI~

IF ~NumberOfTimesTalkedTo(0)
~ THEN BEGIN 0
  SAY @0
  IF ~~ THEN REPLY @1 GOTO 1
  IF ~~ THEN REPLY @2 GOTO 1
  IF ~~ THEN REPLY @3 GOTO 1
END

IF ~~ THEN BEGIN 1
  SAY @4
  IF ~~ THEN REPLY @5 GOTO 2
  IF ~~ THEN REPLY @6 GOTO 2
END

IF ~~ THEN BEGIN 2
  SAY @7
  IF ~~ THEN REPLY @8 GOTO 3
END

IF ~~ THEN BEGIN 3
  SAY @9
  IF ~~ THEN JOURNAL @10 EXIT
END

IF ~Gender(LastTalkedToBy,MALE)
~ THEN BEGIN 4
  SAY @11
  IF ~~ THEN EXIT
END

IF ~Gender(LastTalkedToBy,FEMALE)
~ THEN BEGIN 5
  SAY @12
  IF ~~ THEN REPLY @13 GOTO 6
  IF ~~ THEN REPLY @14 GOTO 7
END

IF ~~ THEN BEGIN 6
  SAY @15
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 7
  SAY @16
  IF ~~ THEN REPLY @17 GOTO 6
  IF ~~ THEN REPLY @18 DO ~ClearAllActions()
StartCutSceneMode()
StartCutScene("CUTREST")
~ EXIT
END
