fair-weather friendshipped

adj.

Drunk in a way that turns every acquaintance into a temporary arrangement.

Denon became fair-weather friendshipped and invited Corey-james only when carrying was required.

Source: Wiktionary