Codependency is pretty tricky and complex to be honest. There's so many variables to it.

There's some good stuff about it on Youtube. You should check it out.