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

BEGIN ~PUMBERL~

IF ~True()
~ THEN BEGIN 0 // from:
  SAY #1398 /* ~She may yet be saved, so you ARE going to remove the curse because I am asking ever so nicely.~ */
  IF ~Global("JALAPPEAR","GLOBAL",0)
~ THEN REPLY #1409 /* ~There's no point in arguing, Haerry.  It's a true tale and if you have any doubt, you can ask my great-aunt Apo Pettiwick, who never married.  It all happened in her back yard when she ran the farmer's market that sold turnips up in Thundertree, just upstream of Neverwinter.~ */ GOTO 1
  IF ~~ THEN REPLY #1410 /* ~Not half as much as you are going to. You are too much of a bastard to live!~ */ GOTO 2
  IF ~~ THEN REPLY #1411 /* ~She is alive, and you ARE going to remove the curse because I am asking ever so nicely.~ */ GOTO 3
  IF ~!Dead("Tenya")
Global("TalkedToTenya","GLOBAL",1)
Global("TENAPPEAR","GLOBAL",0)
~ THEN REPLY #1412 /* ~Jaheira lives, but not for long. What do you want in exchange for removing your curse?~ */ GOTO 7
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #1399 /* ~I have come to bargain with you. What do you want in exchange for removing what you have inflicted?~ */
  IF ~~ THEN REPLY #1413 /* ~I am here to ask you to remove the curse. You have suffered and she has suffered. Lives need not be wasted.~ */ GOTO 5
  IF ~~ THEN REPLY #1414 /* ~Not half as much as you are going to. You are too much of a bastard to live!~ */ DO ~TakePartyGold(50)
~ GOTO 6
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #1400 /* ~She is incapacitated and your curse remains. I am here to ask you to remove what you have inflicted.~ */
  IF ~~ THEN DO ~Wait(10)
Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 3 // from: 0.2
  SAY #1401 /* ~What, if I may ask, is a moose?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 4 // from:
  SAY #1402 /* ~Too late, I'm already onto great trials and tribulations-- Think of it, Haerry, such broad and vital themes.  Anyhow, the moose catches a curious and ultimately fatal disease and Angus, as a final testament to their friendship, enshrines him within a wooden tomb in the middle of the lake, before throwing himself in the lake to drown.~ */
  IF ~~ THEN DO ~Wait(10)
Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 5 // from: 1.0
  SAY #1403 /* ~Oh, but I am not here alone!  From the shadows step my assassins!  They cost me everything, but they are well worth it!  Kill!  Destroy those that ruined me!~ */
  IF ~~ THEN REPLY #1416 /* ~She can be saved, so you ARE going to remove the curse because I am asking ever so nicely.~ */ EXIT
  IF ~~ THEN REPLY #1417 /* ~I have come to bargain with you. What do you want in exchange for removing what you have inflicted?~ */ DO ~TakePartyGold(100)
~ GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 5.1 1.1
  SAY #1404 /* ~Your threats are nothing.  You came expecting an old man in hiding, but I hoped Jaheira would come, because by the time she did she would be utterly crippled!~ */
  IF ~~ THEN DO ~SetGlobal("JALAPPEAR","GLOBAL",1)
CreateCreature("JALANT",[459.531])
ActionOverride("Jalantha",Dialogue([PC]))
~ EXIT
END

IF ~~ THEN BEGIN 7 // from: 0.3
  SAY #1405 /* ~I have what I want!  I have Jaheira at death's door while I gloat!  Will you bribe me?  No, your coins are less than nothing aside the sweet revenge I have!~ */
  IF ~~ THEN DO ~SetGlobal("TENAPPEAR","GLOBAL",1)
CreateCreature("TENYA2",[536.648])
ActionOverride("Tenya2",SetNumTimesTalkedTo(1))
ActionOverride("Tenya2",Dialogue([PC]))
~ EXIT
END

IF ~~ THEN BEGIN 8 // from:
  SAY #1406 /* ~Do you mean to touch my heart, to reform me?  Reform to what?  I was the wealthiest slaver on the coast!  I bought and sold better cattle than you will ever be!~ */
  IF ~~ THEN REPLY #1418 /* ~I am here to ask you to remove the curse. Lives need not be wasted.~ */ GOTO 9
  IF ~~ THEN REPLY #1419 /* ~Pray I never go there, Jan. Pray I never go there.~ */ GOTO 10
END

IF ~~ THEN BEGIN 9 // from: 8.0
  SAY #1407 /* ~Oh, but I am not here alone! From the shadows step my assassins! They cost me everything, but they are well worth it! Kill them! Destroy those that ruined me!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 10 // from: 8.1
  SAY #1408 /* ~Jan, beavers can't drown. They spend half of their life underwater.~ */
  IF ~~ THEN DO ~CreateCreature("JALANT",[216.677])
ActionOverride("Jalantha",Dialogue([PC]))
~ EXIT
END

IF ~StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 11 // from:
  SAY #6366 /* ~Well, you have surpassed the exceedingly low expectations I had of you. You now have the trust of Mae'Var securely in hand, and have proven your competence to me once more (though just barely.)~ [EDWIN78] */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 12 // from:
  SAY #9106 /* ~Yoshimo~ */
  IF ~~ THEN EXIT
END
