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

BEGIN ~LISSA~

IF ~NumTimesTalkedTo(0)
InParty("Jan")
!Dead("Jan")
!StateCheck("Jan",STATE_SLEEPING)
~ THEN BEGIN 0 // from:
  SAY #1960 /* ~Oh, Jan! I've missed you. I wish I'd known you were coming today. I would have prepared a meal for you and your companions. I'm an awful mess.~ */
  IF ~~ THEN EXTERN ~JANJ~ 33
END

IF ~~ THEN BEGIN 1 // from: JANJ:33.0
  SAY #1961 /* ~I missed you, Jan.  You disappeared for a long time after the wedding, and when you returned I hardly saw you at all. You should've come to visit me, Jan.~ */
  IF ~~ THEN EXTERN ~JANJ~ 34
END

IF ~~ THEN BEGIN 2 // from: JANJ:34.0
  SAY #1962 /* ~I'm sorry, Jan. I've been terrible to you. Everything has come crashing down on me. Please forgive me, Jan.~ */
  IF ~~ THEN EXTERN ~JANJ~ 35
END

IF ~~ THEN BEGIN 3 // from: JANJ:35.0
  SAY #1963 /* ~She's hurt, Jan. I don't know what's wrong with her. She just lies in bed staring at the wall. Won't even eat.  Please heal her Jan. She's just a little girl.~ */
  IF ~~ THEN EXTERN ~JANJ~ 36
END

IF ~~ THEN BEGIN 4 // from: JANJ:36.0
  SAY #1964 /* ~It started a few months ago, before it ended with Vaelag.  He was always a cruel father, and hard on Jaella. He beat her if she did anything he didn't like.~ */
  IF ~!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Korgan")
!IsValidForPartyDialog("Aerie")~ THEN EXTERN ~JANJ~ 37
  IF ~IsValidForPartyDialog("Minsc")~ THEN EXTERN ~MINSCJ~ 193
  IF ~!IsValidForPartyDialog("Minsc")
IsValidForPartyDialog("Korgan")~ THEN EXTERN ~KORGANJ~ 166
  IF ~!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Korgan")
IsValidForPartyDialog("Aerie")~ THEN EXTERN ~AERIEJ~ 177
END

IF ~~ THEN BEGIN 5 // from: JANJ:37.0
  SAY #1965 /* ~I don't know, Jan. Can you help her?~ */
  IF ~~ THEN EXTERN ~JANJ~ 38
END

IF ~~ THEN BEGIN 6 // from: JANJ:38.0
  SAY #1966 /* ~Yes, but he told me that you could help.~ */
  IF ~~ THEN EXTERN ~JANJ~ 39
END

IF ~~ THEN BEGIN 7 // from:
  SAY #2124 /* ~Leave him alone, Vaelag. He was only trying to help me.~ */
  IF ~~ THEN EXTERN ~VAELAG~ 1
END

IF ~~ THEN BEGIN 8 // from:
  SAY #2125 /* ~Both of you stop it! You're frightening the children. Vaelag, please wait outside. I'll thank these people for showing me hospitality while you were busy.~ */
  IF ~~ THEN EXTERN ~VAELAG~ 3
END

IF ~Global("JanLissaPlot","GLOBAL",13)
~ THEN BEGIN 9 // from: JANP:13.0
  SAY #2127 /* ~Don't fret, Jan. Vaelag wants me back.~ */
  IF ~~ THEN EXTERN ~JANP~ 14
END

IF ~~ THEN BEGIN 10 // from: JANP:14.0
  SAY #2128 /* ~He has apologized. He won't be cruel to us again.~ */
  IF ~~ THEN EXTERN ~JANP~ 15
END

IF ~~ THEN BEGIN 11 // from: JANP:15.0
  SAY #2129 /* ~You will stop this immediately! I am grateful for what you have done but you must not overstep your bounds. He is my husband and I love him.~ */
  IF ~~ THEN EXTERN ~JANP~ 16
END

IF ~~ THEN BEGIN 12 // from: JANP:16.0
  SAY #2130 /* ~He won't, Jan! He's different now. You're not being fair to him.~ */
  IF ~~ THEN EXTERN ~JANP~ 17
END

IF ~~ THEN BEGIN 13 // from: JANP:17.0
  SAY #2131 /* ~That was before and we have spoken about those things. He promised to change. I am leaving now, Jan.~ */
  IF ~~ THEN EXTERN ~JANP~ 18
END

IF ~~ THEN BEGIN 14 // from: JANP:24.0
  SAY #34492 /* ~Yes thank you! Jan, I have to go downstairs now. Perhaps you should wait up here.~ */
  IF ~~ THEN EXTERN ~JANP~ 25
END

IF ~~ THEN BEGIN 15 // from: JANP:25.0
  SAY #34494 /* ~You wouldn't understand, Jan. Vaelag is here to get Jaella and me.~ */
  IF ~~ THEN DO ~StartCutSceneMode()
SetGlobal("JanLissaPlot","GLOBAL",11)
ActionOverride("Jan",Wait(2))
ActionOverride("Jan",StartDialogueNoSet([PC]))
ActionOverride("Jaella",EscapeArea())
EscapeAreaMove("AR0402",204,322,0)
~ EXIT
END

IF ~GlobalLT("JanLissaPlot","GLOBAL",10)~ THEN BEGIN 16 // from:
  SAY #37488 /* ~Please help my daughter!~ */
  IF ~~ THEN EXIT
END
