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

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

IF ~True()
~ THEN BEGIN 0 // from:
  SAY #26190 /* ~Could you spare a coin for a poor little halfling?  I'd like to buy a loaf of bread to feed me starving family.  We're ever so hungry...~ */
  IF ~PartyGoldGT(0)
~ THEN REPLY #26191 /* ~Certainly, here's a gold piece for you.~ */ DO ~TakePartyGold(1)
~ GOTO 1
  IF ~~ THEN REPLY #26192 /* ~Sorry, I can afford nothing.~ */ GOTO 2
  IF ~PartyGoldLT(10)
~ THEN REPLY #26193 /* ~Off with you, beggar!  Begone!~ */ GOTO 3
  IF ~PartyGoldGT(9)
~ THEN REPLY #26195 /* ~Off with you, beggar!  Begone!~ */ GOTO 4
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #26196 /* ~Oh, thank you thank you thank you!  I can taste that loaf now... mmmMMMmmm...~ */
  IF ~!IsValidForPartyDialog("Viconia")
!IsValidForPartyDialog("Edwin")
!IsValidForPartyDialog("Keldorn")~ THEN EXIT
  IF ~IsValidForPartyDialog("Viconia")~ THEN EXTERN ~VICONIJ~ 44
  IF ~!IsValidForPartyDialog("Viconia")
IsValidForPartyDialog("Edwin")~ THEN EXTERN ~EDWINJ~ 53
  IF ~!IsValidForPartyDialog("Viconia")
!IsValidForPartyDialog("Edwin")
IsValidForPartyDialog("Keldorn")~ THEN EXTERN ~KELDORJ~ 88
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #26197 /* ~Oh.  That's sad.  You sure looked like you could afford at least a little.  Oh, well...~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 3 // from: 0.2
  SAY #26199 /* ~You're mean!  You're nothing but a big meanie!~ */
  IF ~!IsValidForPartyDialog("Nalia")~ THEN EXIT
  IF ~IsValidForPartyDialog("Nalia")~ THEN DO ~TakePartyGold(5)~ EXTERN ~NALIAJ~ 135
END

IF ~~ THEN BEGIN 4 // from: 0.3
  SAY #26201 /* ~Fine.  Be that way, ya big meanie!~ */
  IF ~!IsValidForPartyDialog("Yoshimo")
!IsValidForPartyDialog("Jan")
!IsValidForPartyDialog("Nalia")~ THEN DO ~TakePartyGold(10)
EscapeArea()
~ EXIT
  IF ~IsValidForPartyDialog("Yoshimo")~ THEN DO ~TakePartyGold(10)
EscapeArea()
~ EXTERN ~YOSHJ~ 48
  IF ~!IsValidForPartyDialog("Yoshimo")
IsValidForPartyDialog("Jan")~ THEN DO ~TakePartyGold(10)
EscapeArea()
~ EXTERN ~JANJ~ 103
  IF ~!IsValidForPartyDialog("Yoshimo")
!IsValidForPartyDialog("Jan")
IsValidForPartyDialog("Nalia")~ THEN DO ~TakePartyGold(10)
EscapeArea()
~ EXTERN ~NALIAJ~ 236
END
