I decided a better way to solve my roommate thief problems. I'm just gonna take the powder out from the pills so they're just empty capsules. He'll be relying on his ability to stay up all night studying for something but instead he'll get tired.
Don't do this kind of petty shit. Confront him face to face. Resorting to childish games is going to make things more difficult living with him.