How to determine whether or not your YM135 alternator has internal diodes (3-wire regulator "current limiter"), or has external diodes (4-wire regulator, or can be converted to 6-wire regulator):
Option 1: Inspect the back of the alternator. If you see two semi-circle plates full of connections and components ("soldered stuff"), your alternator has internal diodes.

If the back of your alternator is bare aluminum with just two wires protruding, your alternator has external diodes.
Option 2: Use a multimeter to test for the presence of diodes in your alternator.
* Grab a digital multimeter with a diode testing function (the $7 one at Harbor Freight can do this)
* Disconnect the alternator leads from your tractor's wiring harness
* Connect the red lead of the multimeter to one lead of the alternator - then, connect the other multimeter lead to the other alternator lead
* Does the multimeter read zero, or some non-zero number?
* Swap the leads (red to black, black to red)
* Does the multimeter read zero, or some non-zero number?
* If the multimeter reads zero in one direction, but non-zero in the other direction - your alternator has internal diodes
* If the multimeter reads non-zero in both directions, your alternator has external diodes
* If the multimeter reads zero in both directions, either your diodes are bad or your alternator winding is bad
If you have an internal diode alternator that you want to use with an external diode regulator (4-wire or 6-wire setup), you can perform surgery on your alternator. Unscrew the diode plates from the back of the alternator. There should be two wires coming out of the alternator housing to the diode plates. There should be two leads coming from the diode plates to connect to the tractor's wiring harness. Simply bypass the diode plates - cut the diode plates out, and connect the leads to the tractor directly to the wires from the alternator.