YOU SAID:
I took a bath when i stopped at your friends house
INTO JAPANESE
風呂に入っていたお友達の家に寄ったとき
BACK INTO ENGLISH
When I dropped in on your friend in the bath
INTO JAPANESE
お風呂であなたの友人寄った時
BACK INTO ENGLISH
When we dropped in the bath with your friends
INTO JAPANESE
私たちはお友達とお風呂で落としたとき
BACK INTO ENGLISH
When we dropped in the bath with your friends
That didn't even make that much sense in English.