UNDEF
return(UNDEF);
gtyp = UNDEF; /* no goal as yet */
if(otyp > gtyp || otyp == UNDEF) continue;
if(gtyp == UNDEF && dogroom >= 0 &&
if(gtyp == UNDEF ||
int result = UNDEF;
type = UNDEF;