Guys, if you continue doing this, it'll continue to be A MESS!

THis thing is complicated by itself, there's no need to make it even more complex by changing rerference frame depending on what you are looking at!
Let's just get a cartesian frame (is this the english name?!?), let's put a mass A in the origin and a mass B on the x+ axis ("+" is toward right); let's attribute "+" and "-" signs to the 2 masses in all 4 combinations.
Let's also suppose the mass in the origin can't move.
Ok, now, what happens to mass B in the 4 cases?
1)
A=+, B=+ (known case)
2) A=+, B=-
3) A=-, B=+
4) A=-, B=-
Just "by guess" I suppose in the last case we'll have a behaviour similar to case A: B moves toward A.
In cases 2 and 3, B "escapes".
But it's just intuition: what do formulas say instead?