<P>		}
<P>		break;
<P>	}
<P>}
<P>
<P>
<P>function bool CheckFlagRefs( ConFlagRef flagRef )
<P>{
<P>	local ConFlagRef currentRef;
<P>
<P>	// Loop through our list of FlagRef's, checking the value of each.
<P>	// If we hit a bad match, then we'll stop right away since there's
<P>	// no point of continuing.
<P>
<P>	currentRef = flagRef;
<P>
<P>	while( currentRef != None )
<P>	{
<P>		if ( currentRef.flagName == 'drunk')
<P>			return currentRef.value == (drugEffectTimer %GT% 0.0);
<P>		if ( flagBase.GetBool(currentRef.flagName) != currentRef.value )
<P>			return False;
<P>
<P>		currentRef = currentRef.nextFlagRef;
<P>	}
<P>	
