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

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

IF ~!Global("HelpGinia","GLOBAL",3)~ THEN BEGIN 0 // from:
  SAY #48166 /* ~'Allo mate! W'as the good word, then? Calahan I be, scourge of the seven seas!~ */
  IF ~~ THEN REPLY #48167 /* ~Well met. What is it that you do here in Brynnlaw?~ */ GOTO 1
  IF ~~ THEN REPLY #48168 /* ~Don't I know you?~ */ GOTO 2
  IF ~Global("HelpGinia","GLOBAL",1)
Global("TalkedToCalahan","GLOBAL",0)~ THEN REPLY #48169 /* ~Hello, Calahan. I'm here to speak to you about Ginia and Ason.~ */ GOTO 3
  IF ~Global("TalkedToCalahan","GLOBAL",1)~ THEN REPLY #48170 /* ~I just wanted to see if our deal is still on. Will you take care of Ason and Ginia?~ */ GOTO 5
  IF ~~ THEN REPLY #48182 /* ~Excuse me. I haven't the time to speak with you.~ */ GOTO 4
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #48171 /* ~Smugglin' mostly. A bit o' petty theft when I be bored. Ye know. Th' usual.~ */
  IF ~~ THEN REPLY #48172 /* ~A criminal are you? You have admitted it!~ */ GOTO 7
  IF ~~ THEN REPLY #48173 /* ~Of course. The usual. What do you know about the Asylum?~ */ GOTO 6
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #48174 /* ~Calahan don't be owin' ye money, do he?~ */
  IF ~~ THEN REPLY #48175 /* ~Probably not. You just look familiar.~ */ GOTO 8
  IF ~~ THEN REPLY #48176 /* ~I do know you! Are you not Calahan the Sailor lately of Ulgoth's Beard? You warned me about Mendas.~ */ GOTO 9
  IF ~~ THEN REPLY #48177 /* ~Forget that I asked. Tell me, what do you know of the Asylum?~ */ GOTO 6
END

IF ~~ THEN BEGIN 3 // from: 0.2
  SAY #48178 /* ~Aye, good kids... sad tale. Ye be involved in this somehow? 'Tis the first that I be hearin' of it if ye are.~ */
  IF ~~ THEN REPLY #48179 /* ~I want to help them escape this island. Can you offer them passage?~ */ GOTO 10
  IF ~~ THEN REPLY #48180 /* ~Forget that I asked.~ */ GOTO 4
END

IF ~~ THEN BEGIN 4 // from: 16.1 14.2 11.0 10.3 7.0 6.1 3.1 0.4
  SAY #48181 /* ~As ye'd have it. Darnta get yer pantaloons in a knot.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 5 // from: 0.3
  SAY #48183 /* ~Aye, 'tis true. I'll take 'em to Ulgoth's Beard and set 'em up with a woman called Therella. Don't ye worry yerself none.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 6 // from: 14.1 8.1 2.2 1.1
  SAY #48186 /* ~Nothin' <SIRMAAM>. I don't be dealin' with such an' like. Calahan'll smuggle some olive oil for ye, if ye wish.~ */
  IF ~~ THEN REPLY #48190 /* ~Forget it. Is there anything of interest happening here in town?~ */ GOTO 11
  IF ~~ THEN REPLY #48193 /* ~I'll be on my way, in that case.~ */ GOTO 4
END

IF ~~ THEN BEGIN 7 // from: 1.0
  SAY #48194 /* ~Darnta be a fool. This here town is owned by pirates. Ye wouldn't be here unless yer foolish or a criminal in yer own right. When in Thesk, do as the Theskians do an' all dat.~ */
  IF ~~ THEN REPLY #48197 /* ~I refuse to deal with a criminal. Get back, man!~ */ GOTO 4
  IF ~~ THEN REPLY #48198 /* ~I apologize. I didn't realize what sort of town this was. Are there any interesting things happening in town?~ */ GOTO 11
END

IF ~~ THEN BEGIN 8 // from: 2.0
  SAY #48199 /* ~Aye, could be. I been all over, I have. Lately came out of Ulgoth's Beard. Mistress Malory certainly 'ad it out for me, she did. Nasty business, that.~ */
  IF ~~ THEN REPLY #48200 /* ~What happened? You were forced to leave?~ */ GOTO 12
  IF ~~ THEN REPLY #48201 /* ~Tell me, do you know anything about the Asylum?~ */ GOTO 6
END

IF ~~ THEN BEGIN 9 // from: 2.1
  SAY #48203 /* ~The very same! Mistress Malory is a mean one, she is.~ */
  IF ~~ THEN REPLY #48206 /* ~What happened? Were you forced to leave?~ */ GOTO 12
  IF ~~ THEN REPLY #48207 /* ~It's nice to see you again. What can you tell me of this town? Anything interesting happening?~ */ GOTO 11
END

IF ~~ THEN BEGIN 10 // from: 3.0
  SAY #48211 /* ~That I can. For 100gp per head. If ye can pay, I'll take 'em to Ulgoth's Beard. Therella will take care o' 'em.~ */
  IF ~PartyGoldGT(199)~ THEN REPLY #48217 /* ~That sounds fair. I'll pay for their passage.~ */ DO ~TakePartyGold(200)
AddexperienceParty(2000)~ GOTO 15
  IF ~~ THEN REPLY #48218 /* ~Why don't you just take them out of the goodness of your heart?~ */ GOTO 16
  IF ~PartyGoldLT(200)~ THEN REPLY #48219 /* ~I'm a bit short.~ */ GOTO 16
  IF ~~ THEN REPLY #48220 /* ~That's ridiculous! I won't pay such an amount.~ */ GOTO 4
END

IF ~~ THEN BEGIN 11 // from: 14.0 9.1 7.1 6.0
  SAY #48221 /* ~Aye, 'tis a place of adventure, Brynnlaw is. If by adventure ye mean drinking an' other shore leaves activities. Why the crew of the Bleedin' Mary just got in. Drinkin' up a storm they is!~ */
  IF ~~ THEN REPLY #48223 /* ~That does sound exciting. I'll be leaving now.~ */ GOTO 4
END

IF ~~ THEN BEGIN 12 // from: 9.0 8.0
  SAY #48227 /* ~A sad, sad tale 'ti that ye're about to here. Mistress Malory got it into her 'ead that Calahan was spreading malicious rumors 'bout her.~ */
  IF ~~ THEN GOTO 13
END

IF ~~ THEN BEGIN 13 // from: 12.0
  SAY #48228 /* ~I admit that I may o' been a bit free with th' tongue-waggin' but 'tisn't like my stories be untrue. Malory has... connections on account o' her... activities.~ */
  IF ~~ THEN GOTO 14
END

IF ~~ THEN BEGIN 14 // from: 13.0
  SAY #48229 /* ~She had Scotty McAverstein give ol' Calahan a sound beating an' a ticket to Brynnlaw. Here I been ever since. I found me place in th' smuggling trade. Things could've been worse.~ */
  IF ~~ THEN REPLY #48230 /* ~I suppose. Is there anything of interest happening here in town?~ */ GOTO 11
  IF ~~ THEN REPLY #48231 /* ~Tell me, Calahan, what do you know of the Asylum?~ */ GOTO 6
  IF ~~ THEN REPLY #48232 /* ~I must be going, Calahan.~ */ GOTO 4
END

IF ~~ THEN BEGIN 15 // from: 16.0 10.0
  SAY #48233 /* ~Then we be agree'n. Their passage is assured if ye can get them away from that bastard Chremy. Send 'em to ol' Calahan when ye've got things arranged.~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToCalahan","GLOBAL",1)
EraseJournalEntry(54288)
EraseJournalEntry(54289)~ UNSOLVED_JOURNAL #53242 /* ~Island Concerns: Ginia's Tale

I paid the smuggler Calahan 200 gold to help Ginia and her brother. He'll take them off the isle as long as Chremy cannot interfere.~ */ EXIT
END

IF ~~ THEN BEGIN 16 // from: 10.2 10.1
  SAY #48234 /* ~I tell ye, <SIRMAAM>, I would like to offer 'em passage for free but I got neither money nor a ship. Someone'll have t' pay. How's about ye payin'?~ */
  IF ~PartyGoldGT(199)~ THEN REPLY #48235 /* ~Fine, I shall pay.~ */ DO ~TakePartyGold(200)
AddexperienceParty(2000)~ GOTO 15
  IF ~~ THEN REPLY #48236 /* ~I cannot pay that amount.~ */ GOTO 4
END

IF ~Global("HelpGinia","GLOBAL",3)~ THEN BEGIN 17 // from:
  SAY #48237 /* ~'Allo, <CHARNAME>! Darnta worry none. Ginia an' Ason are safely aboard a ship. I won't be tellin' anyone where they is!~ */
  IF ~~ THEN EXIT
END
