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

BEGIN ~GCHILD01~ 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 #30084 /* ~All the important people come here, you know.~ */
  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 #30085 /* ~You're poor, aren't you?  Mother says poor people should be kept in the slums.~ */
  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 #30089 /* ~My father's around here somewhere.  He told me to wait until he was finished with his M-I-S-T-R-E-S-S.~ */
  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 #30090 /* ~My mother and father have a really big house.  Do you have a big house?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~InParty("Edwin")
See("Edwin")
!StateCheck("Edwin",STATE_SLEEPING)
RandomNum(2,1)
Global("gchild01Edwin","GLOBAL",0)
~ THEN BEGIN 4 // from:
  SAY #30091 /* ~You look like one of my father's retainers.  I demand that you take me home at once!~ */
  IF ~~ THEN DO ~SetGlobal("gchild01Edwin","GLOBAL",1)
~ EXTERN ~EDWINJ~ 32
END

IF WEIGHT #1 ~InParty("Nalia")
See("Nalia")
!StateCheck("Nalia",STATE_SLEEPING)
RandomNum(2,1)
Global("gchild01Nalia","GLOBAL",0)
~ THEN BEGIN 5 // from:
  SAY #30093 /* ~My mother and father leave me alone a lot.  They are really busy.~ */
  IF ~~ THEN DO ~SetGlobal("gchild01Nalia","GLOBAL",1)
~ EXTERN ~NALIAJ~ 134
END
