The inner coil has a green wire(earth) a white wire(from the regulator)
The outer coil has 3 x Yellow wires (to the rectifier--conect anyway round)
It is not uncommon to find the connector block like that, it happens when a small amount of corrosion causes a high resistance contact which makes heat.
thats why we used to pull apart and clean the contactcs if we took the cover off