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

BEGIN ~PIRCOR02~ 2 // non-zero flags may indicate non-pausing dialogue

IF ~!Dead("pirpir05")
Global("TalkedToGinia","GLOBAL",0)~ THEN BEGIN 0 // from:
  SAY #48109 /* ~Please <SIRMAAM>, do you have any money to spare? I can't go back to the Guild until I have something.~ */
  IF ~~ THEN REPLY #48110 /* ~Why don't you find employment? Am I a charity to be hounded by the unwashed?~ */ GOTO 1
  IF ~PartyGoldGT(0)~ THEN REPLY #48111 /* ~Of course I can spare a coin. Why is it that you worry about returning home empty-handed?~ */ DO ~TakePartyGold(1)~ GOTO 2
  IF ~PartyGoldGT(0)~ THEN REPLY #48112 /* ~Here is a coin, girl. Dry your tears.~ */ DO ~TakePartyGold(1)~ GOTO 3
  IF ~~ THEN REPLY #48117 /* ~I'm afraid that I have no money to spare.~ */ GOTO 4
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #48113 /* ~I am... employed, <SIRMAAM>. (sob)  I can't bear to have another drunken pirate pawing me in a dark room! But I need at least a coin... he'll hurt Ason!~ */
  IF ~PartyGoldGT(0)~ THEN REPLY #48114 /* ~Very well. Here is a coin. Dry your tears, I must be off.~ */ DO ~TakePartyGold(1)~ GOTO 3
  IF ~~ THEN REPLY #48115 /* ~I'm afraid that I have no money to spare.~ */ GOTO 4
  IF ~~ THEN REPLY #48116 /* ~Why don't you tell me who's threatening you. Perhaps I could help.~ */ GOTO 2
END

IF ~~ THEN BEGIN 2 // from: 1.2 0.1
  SAY #48118 /* ~You seem like a good person, <SIRMAAM>. I will tell you if you promise not to tell Chremy.~ */
  IF ~~ THEN REPLY #48120 /* ~Of course. I wouldn't want to get you in trouble.~ */ GOTO 5
  IF ~~ THEN REPLY #48121 /* ~I don't even know this Chremy. Speak on, girl.~ */ GOTO 8
  IF ~~ THEN REPLY #48122 /* ~I can't make that promise if I haven't heard the tale.~ */ GOTO 4
  IF ~~ THEN REPLY #48123 /* ~Who is Chremy?~ */ GOTO 8
END

IF ~~ THEN BEGIN 3 // from: 1.0 0.2
  SAY #48119 /* ~Thank you my <LADYLORD>. It will, perhaps, stave off another beating.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 4 // from: 24.1 21.2 16.1 15.1 13.2 6.1 2.2 1.1 0.3
  SAY #48124 /* ~(sob) Very well. Excuse me.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 5 // from: 8.0 2.0
  SAY #48125 /* ~I should begin with my name... Ginia. I grew up here in Brynnlaw. My father was a tailor until he was killed, and my mother is long dead.~ */
  IF ~~ THEN GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 21.0 5.0
  SAY #48126 /* ~My <LADYLORD>, things have not always been like this. Brynnlaw was once a pleasant town, though my memories may be influenced by happier times in my own life.~ */
  IF ~~ THEN REPLY #48127 /* ~Go on.~ */ GOTO 7
  IF ~~ THEN REPLY #48128 /* ~I have no time to listen to the rest of this. Perhaps another time.~ */ GOTO 4
END

IF ~~ THEN BEGIN 7 // from: 6.0
  SAY #48129 /* ~Regardless, life was hard... but it had its pleasures. We lived on fish and our produce. The asylum offered employment to many of us.~ */
  IF ~~ THEN GOTO 9
END

IF ~~ THEN BEGIN 8 // from: 2.3 2.1
  SAY #48130 /* ~Chremy is the source of my troubles, <SIRMAAM>.  Count yourself all the luckier If you don't know him.  I wish I didn't.~ */
  IF ~~ THEN GOTO 5
END

IF ~~ THEN BEGIN 9 // from: 7.0
  SAY #48131 /* ~Then the pirates arrived, led by the despot Desharik.  Desharik had lost a war with another pirate king.  Forced to this island, his ships invaded the town.~ */
  IF ~~ THEN GOTO 10
END

IF ~~ THEN BEGIN 10 // from: 9.0
  SAY #48132 /* ~They took our homes. Desharik killed our mayor and dumped his body into the sea. We were forced out into the streets.~ */
  IF ~~ THEN GOTO 14
END

IF ~~ THEN BEGIN 11 // from: 14.0
  SAY #48133 /* ~He tried to get back into our house and was executed for breaking the law of the pirates. Once they've stolen something, the owner has no claim on it.~ */
  IF ~~ THEN GOTO 12
END

IF ~~ THEN BEGIN 12 // from: 11.0
  SAY #48134 /* ~Desharik said that we would have to pay for our father's 'crime'. He gave us to Chremy, his lieutenant, as a reward for service.~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToGinia","GLOBAL",1)~ GOTO 13
END

IF ~~ THEN BEGIN 13 // from: 12.0
  SAY #48135 /* ~He put me to work as a courtesan for the drunken pirates. It's horrible, <SIRMAAM>! He says that he'll kill my brother Ason if I don't do it.~ */
  IF ~~ THEN REPLY #48136 /* ~This is outrageous! Worry not, girl. Only point the way and Chremy shall worry you no more!~ */ GOTO 15
  IF ~~ THEN REPLY #48137 /* ~Why have you not gathered your brother and run away from this man?~ */ GOTO 16
  IF ~~ THEN REPLY #48138 /* ~I'm sorry to hear it but I can't get involved.~ */ UNSOLVED_JOURNAL #51885 /* ~Island Concerns: Ginia's Tale

Ginia told me of how Desharik came to the isle and took over, and how Chremy holds her brother captive in order to force her service as a courtesan. I said I couldn't help.~ */ GOTO 4
END

IF ~~ THEN BEGIN 14 // from: 10.0
  SAY #48139 /* ~We begged the Asylum to offer us shelter but the wizards within locked the doors against us. My father could take no more injustice.~ */
  IF ~~ THEN GOTO 11
END

IF ~~ THEN BEGIN 15 // from: 21.1 13.0
  SAY #48140 /* ~What's the point, <SIRMAAM>. If Chremy dies, you will only get in trouble and Desharik will just give us to someone else ... or kill us.~ */
  IF ~~ THEN REPLY #48141 /* ~I can handle the trouble, girl. Perhaps I could help you escape, as well. Do you have any exit at all?~ */ GOTO 16
  IF ~~ THEN REPLY #48142 /* ~Very well, I'm sorry that I cannot help you.~ */ UNSOLVED_JOURNAL #51885 /* ~Island Concerns: Ginia's Tale

Ginia told me of how Desharik came to the isle and took over, and how Chremy holds her brother captive in order to force her service as a courtesan. I said I couldn't help.~ */ GOTO 4
END

IF ~~ THEN BEGIN 16 // from: 15.0 13.1
  SAY #48143 /* ~There is no escape for Ason and I. There is a smuggler who will take us but we cannot afford to pay him. There is nowhere to run on this island.~ */
  IF ~~ THEN REPLY #48144 /* ~Where is this smuggler? I will pay for you and your brother's passage. I will also insure that Chremy never bothers you again.~ */ GOTO 17
  IF ~~ THEN REPLY #48145 /* ~I am at a loss. I'm sorry that I could not assist you.~ */ UNSOLVED_JOURNAL #51885 /* ~Island Concerns: Ginia's Tale

Ginia told me of how Desharik came to the isle and took over, and how Chremy holds her brother captive in order to force her service as a courtesan. I said I couldn't help.~ */ GOTO 4
END

IF ~~ THEN BEGIN 17 // from: 16.0
  SAY #48146 /* ~Chremy can be found near the inn. The smuggler's name is Calahan. He will be near the docks. Thank you for your offer but please be careful!~ */
  IF ~~ THEN DO ~SetGlobal("HelpGinia","GLOBAL",1)
EraseJournalEntry(51885)~ UNSOLVED_JOURNAL #51888 /* ~Island Concerns: Ginia's Tale

Ginia told me of how Desharik took control of the isle and how Chremy holds her brother captive in order to force her service as a courtesan. I said I would help, possibly by paying Calahan the smuggler to take them both off the isle. He is near the docks. I will deal with Chremy too. He is near the inn.~ */ EXIT
END

IF ~!Dead("pirpir05")
Global("TalkedToCalahan","GLOBAL",0)
Global("HelpGinia","GLOBAL",1)~ THEN BEGIN 18 // from:
  SAY #48147 /* ~I hope that Calahan will take us with him when you kill Chremy. He said he could set us up with jobs in Ulgoth's Beard, near Baldur's Gate.~ */
  IF ~~ THEN EXIT
END

IF ~!Dead("pirpir05")
Global("TalkedToCalahan","GLOBAL",1)
Global("HelpGinia","GLOBAL",1)~ THEN BEGIN 19 // from:
  SAY #48148 /* ~Have you spoken to Calahan? Will he take us to safety when you kill Chremy?~ */
  IF ~~ THEN REPLY #48149 /* ~He will take you and your brother. It only cost 200 gold pieces.~ */ GOTO 20
END

IF ~~ THEN BEGIN 20 // from: 19.0
  SAY #48150 /* ~Thank you,  <GABBER>. I am in your debt. Please get rid of Chremy so that we will be free to leave.~ */
  IF ~~ THEN DO ~SetGlobal("HelpGinia","GLOBAL",2)~ UNSOLVED_JOURNAL #54291 /* ~Island Concerns: Ginia's Tale

I told Ginia that I paid Calahan to take her and her brother off the isle. She was happy, but I still have to deal with Chremy to free them.~ */ EXIT
END

IF ~!Dead("pirpir05")
Global("TalkedToGinia","GLOBAL",1)
Global("HelpGinia","GLOBAL",0)
~ THEN BEGIN 21 // from:
  SAY #48151 /* ~Please, <SIRMAAM>, if you cannot help me leave me be.~ */
  IF ~~ THEN REPLY #48152 /* ~I have decided that I will help you. Could you tell me your story again?~ */ GOTO 6
  IF ~~ THEN REPLY #48153 /* ~I will help you. I will kill Chremy and free you and your brother.~ */ GOTO 15
  IF ~~ THEN REPLY #48154 /* ~I shall leave you be.~ */ GOTO 4
END

IF ~!Dead("pirpir05")
Global("HelpGinia","GLOBAL",2)~ THEN BEGIN 22 // from:
  SAY #48155 /* ~ Please get rid of Chremy, <GABBER> so that my brother and I will be free to leave.~ */
  IF ~~ THEN EXIT
END

IF ~Dead("pirpir05")
Global("HelpGinia","GLOBAL",1)~ THEN BEGIN 23 // from:
  SAY #48156 /* ~Is Chremy gone, <SIRMAAM>? Can he hurt us no longer?~ */
  IF ~~ THEN REPLY #48157 /* ~He is dead, Ginia. You and Ason are free of his clutches.~ */ GOTO 24
END

IF ~~ THEN BEGIN 24 // from: 23.0
  SAY #48158 /* ~Then he is dead but Desharik shall merely give us to someone else. You have done so much already, but could you arrange passage with Calahan for us?~ */
  IF ~Global("TalkedToCalahan","GLOBAL",0)~ THEN REPLY #48159 /* ~I shall arrange it. Where can Calahan be found?~ */ GOTO 25
  IF ~~ THEN REPLY #48160 /* ~I cannot afford to help you.~ */ UNSOLVED_JOURNAL #54289 /* ~Island Concerns: Ginia's Tale

I told Ginia that I killed Chremy, but I also said that I will not pay the smuggler Calahan to take her and her brother off the isle.~ */ GOTO 4
  IF ~Global("TalkedToCalahan","GLOBAL",1)~ THEN REPLY #48165 /* ~It has been done already. I suggest that you find your brother and go to see Calahan immediately.~ */ GOTO 27
END

IF ~~ THEN BEGIN 25 // from: 24.0
  SAY #48161 /* ~Ason and I owe you so much. Calahan can be found by the docks most days.~ */
  IF ~~ THEN UNSOLVED_JOURNAL #54288 /* ~Island Concerns: Ginia's Tale

I told Ginia that I killed Chremy. Now I have agreed to pay the smuggler Calahan to take Ginia and her brother off the isle.~ */ EXIT
END

IF ~Dead("pirpir05")
Global("HelpGinia","GLOBAL",2)~ THEN BEGIN 26 // from:
  SAY #48162 /* ~Is Chremy gone, <SIRMAAM>? Can he hurt us no longer?~ */
  IF ~~ THEN REPLY #48163 /* ~He is dead. You and Ason should go to see Calahan immediately. He will put you on the next ship to Ulgoth's Beard.~ */ GOTO 27
END

IF ~~ THEN BEGIN 27 // from: 26.0 24.2
  SAY #48164 /* ~I do not know how to express my gratitude, <GABBER>. You have saved us in every sense of the word. Thank you so much. I shall go to tell Ason. Farewell!~ */
  IF ~~ THEN DO ~SetGlobal("HelpGinia","GLOBAL",3)
ActionOverride("pirkid01",EscapeArea())
AddexperienceParty(9000)
EraseJournalEntry(51885)
EraseJournalEntry(51888)
EraseJournalEntry(53242)
EraseJournalEntry(54288)
EraseJournalEntry(54289)
EraseJournalEntry(54291)
EscapeArea()
~ SOLVED_JOURNAL #54290 /* ~Island Concerns: Ginia's Tale

I told Ginia that I killed Chremy and paid Calahan to take her and her brother off the isle. She was ecstatic, of course.~ */ EXIT
END
