Not a guarantee everytime but if you eat in the cafeteria with rahi and win when fighting avy I've found that she drops the pill. Tried fighting randomly generated NPCs for over 10 days and not one drop so yeah
RNG has been fixed with new 1.8.1Fix. There is now a guarenteed strange pill initially to avoid soft locking.