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

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

IF WEIGHT #2 /* Triggers after states #: 4 5 even though they appear after this state */
~RandomNum(4,1)
~ THEN BEGIN 0 // from:
  SAY #30095 /* ~My father is on the Council.  Betcha didn't know that, huh?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 /* Triggers after states #: 4 5 even though they appear after this state */
~RandomNum(4,2)
~ THEN BEGIN 1 // from:
  SAY #30100 /* ~My father says everybody is a fool.  Are you a fool?  I bet you are.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 /* Triggers after states #: 4 5 even though they appear after this state */
~RandomNum(4,3)
~ THEN BEGIN 2 // from:
  SAY #30101 /* ~My family is the greatest in the world!  We can conquer anybody!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #5 /* Triggers after states #: 4 5 even though they appear after this state */
~RandomNum(4,4)
~ THEN BEGIN 3 // from:
  SAY #30102 /* ~I don't feel so good...~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~InParty("Mazzy")
See("Mazzy")
!StateCheck("Mazzy",STATE_SLEEPING)
RandomNum(2,1)
Global("gchild02Mazzy","GLOBAL",0)
~ THEN BEGIN 4 // from:
  SAY #30103 /* ~You're short but you're hairy.  Are you a little girl like me?~ */
  IF ~~ THEN DO ~SetGlobal("gchild02Mazzy","GLOBAL",1)
~ EXTERN ~MAZZYJ~ 87
END

IF WEIGHT #1 ~InParty("Minsc")
See("Minsc")
!StateCheck("Minsc",STATE_SLEEPING)
RandomNum(2,1)
Global("gchild02Minsc","GLOBAL",0)
~ THEN BEGIN 5 // from:
  SAY #30105 /* ~Oh, that little hamster is SOOOO cute!  Can I have him, sir?~ */
  IF ~~ THEN DO ~SetGlobal("gchild02Minsc","GLOBAL",1)
~ EXTERN ~MINSCJ~ 62
END
