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

BEGIN ~BPROST2~ 2 // non-zero flags may indicate non-pausing dialogue
//////////////////////////////////////////////////
// WARNING: this file contains non-trivial WEIGHTs
//////////////////////////////////////////////////

IF WEIGHT #4 /* Triggers after states #: 4 5 6 7 even though they appear after this state */
~RandomNum(4,1)
~ THEN BEGIN 0 // from:
  SAY #25834 /* ~How am I supposed to stand around all day with the ships and the smell of fish everywhere?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #5 /* Triggers after states #: 4 5 6 7 even though they appear after this state */
~RandomNum(4,2)
~ THEN BEGIN 1 // from:
  SAY #25835 /* ~This is almost worse than when I worked the Docks... here, 'tis nothing but poor sailors and poorer husbands.  Bleh!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #6 /* Triggers after states #: 4 5 6 7 even though they appear after this state */
~RandomNum(4,3)
~ THEN BEGIN 2 // from:
  SAY #25836 /* ~I had a child, once... but I was forced t' give her up right after she was born.  I think she's in an orphanage or the like, now.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #7 /* Triggers after states #: 4 5 6 7 even though they appear after this state */
~RandomNum(4,4)
~ THEN BEGIN 3 // from:
  SAY #25837 /* ~You have to be careful if ye're going t' work the streets, ye does.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~Global("BProst2Cernd","LOCALS",0)
IsValidForPartyDialog("Cernd")
RandomNum(2,1)
~ THEN BEGIN 4 // from:
  SAY #25838 /* ~How about it, old man?  I'll curl yer white hair and makes ye feel young again...~ */
  IF ~~ THEN DO ~SetGlobal("BProst2Cernd","LOCALS",1)
~ EXTERN ~CERNDJ~ 76
END

IF WEIGHT #1 ~Global("BProst2Edwin","LOCALS",0)
IsValidForPartyDialog("Edwin")
Gender("Edwin",FEMALE)
RandomNum(2,1)
~ THEN BEGIN 5 // from:
  SAY #25840 /* ~Hmmm... ever think about joining the life, my dear?  That dress looks simply stunning on ye...~ */
  IF ~~ THEN DO ~SetGlobal("BProst2Edwin","LOCALS",1)
~ EXTERN ~EDWINJ~ 187
END

IF WEIGHT #2 ~Global("BProst2Korgan","LOCALS",0)
IsValidForPartyDialog("Korgan")
RandomNum(2,1)~ THEN BEGIN 6 // from:
  SAY #48748 /* ~Ahhh, I must admit I've always thought fondly of dwarves... with just a little bit o' coin, short one, I'll have yer beard curled and yer toes quivering...~ */
  IF ~~ THEN DO ~SetGlobal("BProst2Korgan","LOCALS",1)~ EXTERN ~KORGANJ~ 78
END

IF WEIGHT #3 ~Global("BProst2Yoshimo","LOCALS",0)
IsValidForPartyDialog("Yoshimo")
RandomNum(2,1)~ THEN BEGIN 7 // from:
  SAY #48749 /* ~You there... you look like the kind of man who could appreciate a good time!  How about it?~ */
  IF ~~ THEN DO ~SetGlobal("BProst2Yoshimo","LOCALS",1)~ EXTERN ~YOSHJ~ 50
END
