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

BEGIN ~PLGIRL01~
//////////////////////////////////////////////////
// WARNING: this file contains non-trivial WEIGHTs
//////////////////////////////////////////////////

IF WEIGHT #0 ~InPartySlot(LastTalkedToBy,0)
NumTimesTalkedTo(0)
Global("Tyrianna","GLOBAL",0)~ THEN BEGIN 0 // from:
  SAY #37877 /* ~Franco, what was that... oh, he has been relieved. Good, I found his manner insulting. Be a dear and fetch me some ale.~ */
  IF ~~ THEN REPLY #37885 /* ~I am not to leave this place, Tyrianna. To do so would mean your death.~ */ GOTO 1
  IF ~~ THEN REPLY #37886 /* ~'Tis better to keep our heads clear, I think. The future is uncertain.~ [FALDN30] */ GOTO 2
  IF ~~ THEN REPLY #37887 /* ~Remain in your room, if you please. I do not wish you to be endangered.~ */ GOTO 3
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #37884 /* ~I'll die of boredom before this night is through. Mother just couldn't leave well enough alone. Better things to spend our gold on than stupid slaves.~ */
  IF ~~ THEN GOTO 4
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #37888 /* ~You sound all soggy-headed just like mother. Future this, goodwill that, why can't I just spend our gold on normal things like good food and fine silks.~ */
  IF ~~ THEN GOTO 4
END

IF ~~ THEN BEGIN 3 // from: 0.2
  SAY #37889 /* ~Oh, little <SIRMAAM>-business. Fine, I shall remain upstairs paying for mother's stupid causes. Why can't we just spend our money on silks and wine?~ */
  IF ~~ THEN GOTO 4
END

IF ~~ THEN BEGIN 4 // from: 3.0 2.0 1.0
  SAY #37890 /* ~Stuffy old paladins are all alike. Same as father, and my uptight godparent, Hurgis. I am not looking forward to living with him. Stupid 'champions of morality.'~ */
  IF ~~ THEN REPLY #37892 /* ~You should be grateful that he would take you in. He can keep you safe.~ */ GOTO 5
  IF ~~ THEN REPLY #37893 /* ~That's just about enough. I've a job to do and I'd prefer you went back upstairs.~ */ GOTO 5
  IF ~~ THEN REPLY #37894 /* ~If you are through venting, get your spoiled butt back upstairs.~ */ GOTO 5
END

IF ~~ THEN BEGIN 5 // from: 4.2 4.1 4.0
  SAY #37891 /* ~All you people got my 'best interests' at heart, but I don't want to be a symbol... I just want to get on with my life!  Whatever. Stay doggie. Guard. Heel.~ */
  IF ~~ THEN DO ~SetGlobal("Tyrianna","GLOBAL",1)
MoveToPointNoInterrupt([285.271])
SetGlobal("PaladinGirlSpawn","GLOBAL",2)
StartCutSceneMode()
StartCutScene("cut26a")
~ UNSOLVED_JOURNAL #55566 /* ~Paladin Stronghold Duties: the girl is hardly a damsel.

Tyrianna is not too thrilled about her new status as moral leader. Still, I am bound by duty to protect her, and I will not falter in this.~ */ EXIT
END

IF WEIGHT #8 /* Triggers after states #: 8 10 18 23 27 28 29 even though they appear after this state */
~InPartySlot(LastTalkedToBy,0)~ THEN BEGIN 6 // from:
  SAY #37895 /* ~Get back to your little post, paladin-<GIRLBOY>. I don't have to enjoy your company even if I am stuck here.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #9 /* Triggers after states #: 8 10 18 23 27 28 29 even though they appear after this state */
~!InPartySlot(LastTalkedToBy,0)~ THEN BEGIN 7 // from:
  SAY #37896 /* ~It's bad enough I have to suffer those paladins without their hired help bugging me too. Go back to guarding, doggie.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 /* Triggers after states #: 29 even though they appear after this state */
~Global("Tyrianna","GLOBAL",1)~ THEN BEGIN 8 // from:
  SAY #37897 /* ~You awake or what! I saw something go by outside! Do your job and kill it!~ */
  IF ~~ THEN REPLY #37898 /* ~So you do need help after all, hmm?~ */ GOTO 9
  IF ~~ THEN REPLY #37899 /* ~Get back upstairs and keep away from the windows!~ */ GOTO 9
  IF ~~ THEN REPLY #37900 /* ~I'll do my duty as I see fit! I'll not be ordered about by a spoiled little girl!~ */ GOTO 9
END

IF ~~ THEN BEGIN 9 // from: 8.2 8.1 8.0
  SAY #37901 /* ~Stow it, bucket-helm.~ */
  IF ~~ THEN DO ~SetGlobal("Tyrianna","GLOBAL",2)
StartCutSceneMode()
StartCutScene("cut26c")
EscapeAreaMove("AR0416",456,257,0)
~ EXIT
END

IF WEIGHT #3 /* Triggers after states #: 29 even though they appear after this state */
~Dead("plass01")
Dead("plass02")
Dead("plass03")
Dead("plass04")
Global("Tyrianna","GLOBAL",2)
AreaCheck("AR0415")~ THEN BEGIN 10 // from:
  SAY #37902 /* ~Eww, there's blood on the carpet. Shoddy tapestry anyway. You couldn't clean this place up a bit, could you? Doesn't matter, I guess. I'll be leaving now anyway.~ */
  IF ~~ THEN REPLY #37903 /* ~You'll leave when I say it's safe and not before!~ */ GOTO 11
  IF ~~ THEN REPLY #37904 /* ~And where do you think you will be going? You've seen what is waiting for you.~ */ GOTO 11
END

IF ~~ THEN BEGIN 11 // from: 10.1 10.0
  SAY #37905 /* ~You are no longer required.  There's torches outside... my godparent is here. As bad as living with him will be, it's better than this!~ */
  IF ~RandomNum(2,1)~ THEN DO ~SetGlobal("Tyrianna","GLOBAL",3)~ GOTO 12
  IF ~RandomNum(2,2)~ THEN DO ~SetGlobal("Tyrianna","GLOBAL",3)~ GOTO 15
END

IF ~~ THEN BEGIN 12 // from: 11.0
  SAY #38003 /* ~Be a dear... ferry my belongings outside.  Then you can go back to polishing your helm, or whatever it is you paladins do when you're not saving the helpless girl.~ */
  IF ~~ THEN REPLY #38007 /* ~Get back upstairs, brat! I'll decide when it's safe for you to leave!~ */ GOTO 14
  IF ~~ THEN REPLY #38008 /* ~I would appreciate it if you would go back upstairs. It is for your own safety.~ */ GOTO 13
END

IF ~~ THEN BEGIN 13 // from: 12.1
  SAY #38010 /* ~Whatever. Got some real control issues to work out, I think. Sound like mother, you do. I'll probably get more from Hurgis too. Moralizing old coot.~ */
  IF ~~ THEN DO ~SetGlobal("HurgisReal","GLOBAL",1)
EscapeArea()~ EXIT
END

IF ~~ THEN BEGIN 14 // from: 12.0
  SAY #38014 /* ~Whatever. Got some real control issues to work out, I think. Sound like father, you do. I'll probably get more from Hurgis too. Moralizing old coot.~ */
  IF ~~ THEN DO ~SetGlobal("HurgisReal","GLOBAL",1)
EscapeArea()~ EXIT
END

IF ~~ THEN BEGIN 15 // from: 11.1
  SAY #38024 /* ~Be a dear... ferry my belongings outside.  Then you can go back to polishing your helm, or whatever it is you paladins do when you're not saving the helpless girl.~ */
  IF ~~ THEN REPLY #38025 /* ~Get back upstairs, brat! I'll decide when it's safe for you to leave!~ */ GOTO 17
  IF ~~ THEN REPLY #38027 /* ~I would appreciate it if you would go back upstairs. It is for your own safety.~ */ GOTO 16
END

IF ~~ THEN BEGIN 16 // from: 15.1
  SAY #38028 /* ~Whatever. Got some real control issues to work out, I think. Sound like mother, you do. I'll probably get more from Hurgis too. Moralizing old coot.~ */
  IF ~~ THEN DO ~SetGlobal("HurgisFake","GLOBAL",1)
EscapeArea()~ EXIT
END

IF ~~ THEN BEGIN 17 // from: 15.0
  SAY #38029 /* ~Whatever. Got some real control issues to work out, I think. Sound like father, you do. I'll probably get more from Hurgis too. Moralizing old coot.~ */
  IF ~~ THEN DO ~SetGlobal("HurgisFake","GLOBAL",1)
EscapeArea()~ EXIT
END

IF WEIGHT #5 /* Triggers after states #: 28 29 even though they appear after this state */
~Global("HurgisHere","GLOBAL",1)~ THEN BEGIN 18 // from:
  SAY #38094 /* ~What now? Is he finally here? Can I go?~ */
  IF ~!Dead("HurgisR")
!Dead("HurgisF")~ THEN REPLY #38095 /* ~Yes, he is here. Go downstairs and he shall take custody of you.~ */ GOTO 19
  IF ~!Dead("HurgisR")
!Dead("HurgisF")~ THEN REPLY #38097 /* ~He is, though I would appreciate it if you could positively identify him for me.~ */ GOTO 20
  IF ~!Dead("HurgisR")
!Dead("HurgisF")~ THEN REPLY #38127 /* ~Yes he is, but this is too convenient for my tastes. Something could be wrong.~ */ GOTO 21
  IF ~OR(2)
Dead("HurgisR")
Dead("HurgisF")~ THEN REPLY #38130 /* ~No, I killed the bastard. This was too easy, so I figured he was lying.~ */ GOTO 24
  IF ~OR(2)
Dead("HurgisR")
Dead("HurgisF")~ THEN REPLY #38136 /* ~I had to kill him. There was something about his manner that I did not trust.~ */ GOTO 24
END

IF ~~ THEN BEGIN 19 // from: 23.0 21.0 20.0 18.0
  SAY #38098 /* ~At last. His place will be little better, but at least I'll be away from the Order. What a bunch of stiffs.~ */
  IF ~~ THEN DO ~SetGlobal("HurgisHere","GLOBAL",3)
EscapeAreaMove("AR0415",463,326,9)~ EXIT
END

IF ~~ THEN BEGIN 20 // from: 18.1
  SAY #38139 /* ~How do I do that, hmm? I've haven't seen him since I was born. You're the protector here, so is it safe to go downstairs or not? Make up your mind.~ */
  IF ~~ THEN REPLY #38156 /* ~Yes, I am sure it is safe for you to go.~ */ GOTO 19
  IF ~~ THEN REPLY #38157 /* ~No, wait here a moment more.~ */ GOTO 22
END

IF ~~ THEN BEGIN 21 // from: 18.2
  SAY #38141 /* ~Look, I don't care about your 'feelings.' I just want to know if I can leave. I'm sick of this place. Now make up your mind; do I go downstairs or do I not?~ */
  IF ~~ THEN REPLY #38158 /* ~Yes, I am sure it is safe for you to go.~ */ GOTO 19
  IF ~~ THEN REPLY #38159 /* ~No, wait here a moment more.~ */ GOTO 22
END

IF ~~ THEN BEGIN 22 // from: 23.1 21.1 20.1
  SAY #38162 /* ~Fine! Just you be quick about it! I want to get out of here!~ */
  IF ~~ THEN DO ~SetGlobal("HurgisHere","GLOBAL",2)~ EXIT
END

IF WEIGHT #6 /* Triggers after states #: 28 29 even though they appear after this state */
~Global("HurgisHere","GLOBAL",2)~ THEN BEGIN 23 // from:
  SAY #38164 /* ~Well? What's the hold up?!~ */
  IF ~!Dead("HurgisR")
!Dead("HurgisF")~ THEN REPLY #38165 /* ~I am sorry for the delay. It is safe for you to go now.~ */ GOTO 19
  IF ~!Dead("HurgisR")
!Dead("HurgisF")~ THEN REPLY #38167 /* ~I cannot let you go while I am still unsure. I am sorry.~ */ GOTO 22
  IF ~OR(2)
Dead("HurgisR")
Dead("HurgisF")~ THEN REPLY #38170 /* ~I killed the bastard. There was something wrong about this, I just know it.~ */ GOTO 24
  IF ~OR(2)
Dead("HurgisR")
Dead("HurgisF")~ THEN REPLY #38172 /* ~I had to kill him. I am certain that the situation was still unsafe. I did not trust him.~ */ GOTO 24
END

IF ~~ THEN BEGIN 24 // from: 23.3 23.2 18.4 18.3
  SAY #38175 /* ~What? That was your solution? You had better hope you are right, because if you aren't, you are going to be in sooo much trouble.~ */
  IF ~~ THEN REPLY #38178 /* ~Be that as it may, you are still safest staying here. My relief will arrive soon.~ */ DO ~SetGlobal("HurgisRespawn","GLOBAL",1)~ GOTO 25
  IF ~~ THEN REPLY #38179 /* ~I did what was best. I know this in my heart. I am certain. Stay here while I report of this.~ */ DO ~SetGlobal("HurgisRespawn","GLOBAL",1)~ GOTO 26
END

IF ~~ THEN BEGIN 25 // from: 24.0
  SAY #38182 /* ~(sigh)  I wonder how long I'll have to live like this?  Well... all the assassins are dead, now, no matter what you've done.  I know how they work.  You should probably go back to the Order and report this... I'd rather be alone.~ */
  IF ~~ THEN DO ~AddExperienceParty(5000)
SetGlobal("HurgisHere","GLOBAL",5)~ EXIT
END

IF ~~ THEN BEGIN 26 // from: 24.1
  SAY #38194 /* ~Sure, sure.  My father was certain, too, that his enemies wouldn't stoop to this.  Well, whatever.  I know how these assassins work... they're not coming back.  Go back to the Order and report whatever you have to.  I will be fine.~ */
  IF ~~ THEN DO ~AddExperienceParty(5000)
SetGlobal("HurgisHere","GLOBAL",5)~ EXIT
END

IF WEIGHT #7 /* Triggers after states #: 28 29 even though they appear after this state */
~Global("HurgisHere","GLOBAL",5)~ THEN BEGIN 27 // from:
  SAY #38196 /* ~I'll be fine.  There won't be any more assassins tonight.  You've done your job and then some, so get lost.  Maybe you killed my real uncle and they'll hang you... that would be worth seeing.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 /* Triggers after states #: 29 even though they appear after this state */
~!See([ENEMY])
Global("Tyrianna","GLOBAL",2)
AreaCheck("AR0416")~ THEN BEGIN 28 // from:
  SAY #62164 /* ~Don't just stand there!  Go downstairs and see if there are any more!!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #1 ~See([ENEMY])~ THEN BEGIN 29 // from:
  SAY #62165 /* ~Stop them!  Kill them!  That's what you're here for!!~ */
  IF ~~ THEN EXIT
END
