Quote From ywan459:
What do you mean about "Not in a good condition"? 1) he was not happy about your performance from a pure technical perspective, or 2) Two of you had some conflicts beyond the field of research.
If it is the first one, you should not worry about that too much. You can ask him to be your referee.
I think you should worry in both cases! There are other threads on here about people giving bad references. Try to use someone who will give you a good reference, and then you can explain in any interview you may get why you didn't use your MSc supervisor as your reference.