I do understand your concern for your friend's health. There are many causes that cause constricted small pupils, however the most probable cause (as mentioned that your friend is taking a blue pill) may be due to opioid drugs.
I would suggest that your friend see his/her health-care provider for further evaluation. Overdose or toxicity to opoids may lead to severe complication such as breathing difficulty, agitation, confusion, seizures. I hope the information helps.
These Q&A’s are for educational purposes and should not be relied upon as a substitute for medical advice you may receive from your physician. If you have a medical emergency, please call 911. These answers do not constitute or initiate a patient/doctor relationship.