The solution most obvious hinges upon you wishing personal change more than you actually do: create a pact with said friend(s) to support one another in an effort to break free of your current dependencies...use this incident as the reason why it must be done.
You certainly must realize that the alternative is to merely stand idly by while the three of you continue to deteriorate.
It will take only one incident for one of you to go too far...