// creator  : weidu.exe (version 23100)
// argument : FFBIFF01.DLG
// game		 : .
// source	 : ./DATA/DIALOG.BIF
// dialog	 : ./DIALOG.TLK
// dialogF  : (none)

BEGIN ~FFBIFF01~

IF ~NumTimesTalkedTo(0)
!GlobalGT("HaerDalisFree","GLOBAL",0)
Allegiance(Myself,NEUTRAL)
!Dead("ffactor1")
!Dead("ffactor2")
!Dead("ffcrowd1")
!Dead("ffcrowd2")
!Dead("ffcrowd3")
!Dead("ffcrowd4")
!Dead("ffcrowd5")
!StateCheck("ffactor1",STATE_SLEEPING)
!StateCheck("ffactor2",STATE_SLEEPING)
!StateCheck("ffcrowd1",STATE_SLEEPING)
!StateCheck("ffcrowd2",STATE_SLEEPING)
!StateCheck("ffcrowd3",STATE_SLEEPING)
!StateCheck("ffcrowd4",STATE_SLEEPING)
!StateCheck("ffcrowd5",STATE_SLEEPING)
~ THEN BEGIN 0 // from:
  SAY #29901 /* ~Uh... here I am!  Here I am, my... uh... sweetums...~ [FFBIFF01] */
  IF ~~ THEN EXTERN ~FFACTOR2~ 1
END

IF ~~ THEN BEGIN 1 // from: FFACTOR2:1.0
  SAY #29904 /* ~I've been... uh... across the sea, my fair... um... my fair one.  Y-yes, that's it. Across the sea and, uh...~ [FFBIFF02] */
  IF ~~ THEN EXTERN ~FFCROWD1~ 0
END

IF ~~ THEN BEGIN 2 // from: FFACTOR2:2.0
  SAY #29906 /* ~Yes, that's it!  On the new lands.  Yes... um...~ [FFBIFF03] */
  IF ~~ THEN EXTERN ~FFCROWD2~ 0
END

IF ~~ THEN BEGIN 3 // from: FFACTOR1:1.0
  SAY #29910 /* ~Well you should be so... um... confused?  (It is confused, right?)~ [FFBIFF04] */
  IF ~~ THEN EXTERN ~FFACTOR2~ 3
END

IF ~~ THEN BEGIN 4 // from: FFACTOR2:3.0
  SAY #29912 /* ~Baffled!  Yes, well... you should look so baffled, my lord... um... Kirinaldo!  'Twas you who... who... who...~ [FFBIFF05] */
  IF ~~ THEN EXTERN ~FFCROWD4~ 0
END

IF ~~ THEN BEGIN 5 // from: FFCROWD4:0.0
  SAY #29914 /* ~... who... um... which that... uh... in a way...~ [FFBIFF06] */
  IF ~~ THEN EXTERN ~FFACTOR2~ 4
END

IF ~~ THEN BEGIN 6 // from: FFACTOR2:4.0
  SAY #29916 /* ~Eh?  What's that?~ [FFBIFF07] */
  IF ~~ THEN EXTERN ~FFACTOR1~ 2
END

IF ~~ THEN BEGIN 7 // from: FFACTOR1:2.0
  SAY #29918 /* ~Uh... I forget... I'm just the understudy...~ [FFBIFF08] */
  IF ~~ THEN EXTERN ~FFCROWD5~ 0
END

IF ~~ THEN BEGIN 8 // from: FFCROWD1:1.0
  SAY #29923 /* ~... Ooh... uh.. oh dear...~ [FFBIFF09] */
  IF ~~ THEN DO ~ActionOverride("Raelis",MoveToPoint([1031.797]))
ActionOverride("Raelis",StartDialogueNoSet([Player1]))
ActionOverride("FFactor1",SetHomeLocation([1408.217]))
ActionOverride("FFactor1",MoveToPoint([1408.217]))
ActionOverride("FFactor2",SetHomeLocation([1334.203]))
ActionOverride("FFactor2",MoveToPoint([1334.203]))
ActionOverride("FFactor1",Face(1))
ActionOverride("FFactor2",Face(0))
SetHomeLocation([1508.298])
MoveToPoint([1508.298])
Face(2)~ EXIT
END

IF ~!GlobalGT("HaerDalisFree","GLOBAL",0)
~ THEN BEGIN 9 // from:
  SAY #29928 /* ~(sob!)  I really, really tried...  (sob!)~ */
  IF ~~ THEN EXIT
END

IF ~GlobalGT("HaerDalisFree","GLOBAL",0)
!Dead("HaerDalis")
Global("RaelisHasGem","GLOBAL",0)~ THEN BEGIN 10 // from:
  SAY #37757 /* ~He... he's free, is he?  That's good... Raelis says I still have a long time before I am ready to be a full actor.  But I don't mind... it's my dream and I'll work hard!~ */
  IF ~~ THEN EXIT
END

IF ~GlobalGT("HaerDalisFree","GLOBAL",0)
!Dead("HaerDalis")
Global("RaelisHasGem","GLOBAL",1)~ THEN BEGIN 11 // from:
  SAY #37758 /* ~Raelis has asked me to come along and join the troupe!  Imagine that... me, a Prime, traveling the planes!  And acting!  Truly acting!!~ */
  IF ~~ THEN EXIT
END

IF ~Dead("HaerDalis")~ THEN BEGIN 12 // from:
  SAY #37759 /* ~Haer'Dalis is dead... that means... that means I have to continue acting.  Ooooh, I feel ill...~ */
  IF ~~ THEN EXIT
END
