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

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

IF ~NumTimesTalkedTo(0)~ THEN BEGIN 0 // from:
  SAY #22453 /* ~You!  You there!  I know you!  You owe Ebrone money!  Pay me now!~ */
  IF ~~ THEN REPLY #22454 /* ~I don't owe you any money, friend.~ */ GOTO 1
  IF ~~ THEN REPLY #22455 /* ~I owe you money?  How much are we talking, here?~ */ GOTO 2
  IF ~~ THEN REPLY #22456 /* ~Begone, fool.~ */ GOTO 3
  IF ~~ THEN REPLY #22474 /* ~Pay you?  How about I let you deal with my sword?~ */ GOTO 6
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #22457 /* ~You don't?  Er... could you give me some, anyway?  I'm awfully short.~ */
  IF ~PartyGoldGT(0)~ THEN REPLY #22458 /* ~Very well, then.  Here's a gold piece to tide you over.~ */ DO ~TakePartyGold(1)~ GOTO 4
  IF ~~ THEN REPLY #22459 /* ~Why do you need money?~ */ GOTO 5
  IF ~~ THEN REPLY #22460 /* ~I'm sorry, I have nothing to offer you.~ */ GOTO 7
  IF ~~ THEN REPLY #22462 /* ~I knew it!  A beggar!  Begone!~ */ GOTO 3
  IF ~~ THEN REPLY #22476 /* ~Bah!  I'd rather kill you, fool!~ */ GOTO 7
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #22463 /* ~Er... as much as you want to pay me?  I'm open to anything.~ */
  IF ~PartyGoldGT(0)~ THEN REPLY #22464 /* ~Very well, then.  Here's a gold piece to tide you over.~ */ DO ~TakePartyGold(1)~ GOTO 4
  IF ~~ THEN REPLY #22465 /* ~I'm sorry, I have nothing to offer you.~ */ GOTO 7
  IF ~~ THEN REPLY #22466 /* ~I knew it!  A beggar!  Begone!~ */ GOTO 3
END

IF ~~ THEN BEGIN 3 // from: 5.2 2.2 1.3 0.2
  SAY #22467 /* ~I'll be back!  I always collect what is owed to me!  I didn't build that ship for nothing!~ */
  IF ~~ THEN DO ~EscapeArea()~ EXIT
END

IF ~~ THEN BEGIN 4 // from: 5.0 2.0 1.0
  SAY #22468 /* ~Hm.  Well, that'll pay off part of your debt.  I'll take this as a down payment.~ */
  IF ~~ THEN DO ~EscapeArea()~ EXIT
END

IF ~~ THEN BEGIN 5 // from: 1.1
  SAY #22469 /* ~A dragon attacked my ship!  Or was it a wyvern?  Or maybe it was a giant turtle?  Or a turtle dragon?  Yes, that's it!~ */
  IF ~PartyGoldGT(0)~ THEN REPLY #22470 /* ~Hah!  Fair enough, here is a gold piece for you.~ */ DO ~TakePartyGold(1)~ GOTO 4
  IF ~~ THEN REPLY #22471 /* ~I have nothing to give you, I'm afraid.~ */ GOTO 7
  IF ~~ THEN REPLY #22472 /* ~Back off, beggar!  I've had enough of your kind!~ */ GOTO 3
  IF ~~ THEN REPLY #22473 /* ~How about I kill you now and put you out of your misery?~ */ GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 5.3 0.3
  SAY #22475 /* ~Help!  Help!  Welcher!  Violent Welcher!~ */
  IF ~~ THEN DO ~RunAwayFrom(LastTalkedToBy,150)
~ EXIT
END

IF ~~ THEN BEGIN 7 // from: 5.1 2.1 1.4 1.2
  SAY #22477 /* ~I knew it!  You're a welcher!  You'll not live long in the docks if you don't repay your debts!  Welcher!  Welcher!!~ */
  IF ~~ THEN DO ~EscapeArea()~ EXIT
END

IF ~True()~ THEN BEGIN 8 // from:
  SAY #22478 /* ~Hmmm... you have the stench of a welcher.~ */
  IF ~~ THEN EXIT
END
