Ok Zaga if the two yellow wires from the stator is phases the blue should be (-) or ground?
And if you look at the wiring diagram that Damo W posted you see that black/white wire is
(-) or ground and the red wire supply the battery and the lights.
Hi
Your stator, I like to divided it in two parts, and those parts are separated:
The BAD part is the one that powers the CDI (coil), there you have one common ground (-) that is the black, one green that is the trigger coil (it's that one alone) and the red that powers the coil of your CDI (those 3 coils).
This is what makes your bike run, and the ones that usually gives you problems
To check this part of the stator you must measure the resistances (+/- 10%)
Black / Red - 3000 Ohm
Black / Green - 165 Ohms
The GOOD part is the one that powers your battery and lights, that are all those coils that stay closer to the engine.
There you have a common ground, the blue, and 2 single phases, the yellows.
Usually this GOOD part doesn't give you problems.
To check this part, the values are
Blue / Yellow (each) - < 1,0 Ohm
Also between one of the yellows and the blue, and before the Reg/Rect, you should measure at least 14 VAC (never measured but this should be the value). After the rectifier you must measure in DC.
So my advise is to start by checking the stator, then if it's ok, trying to follow the problem.
Hope this helps
ZAGA