Had to fix problems like this before and feel for you, the headlamps on these are quite basic compared to newer generations, you best bet is to buy yourself a power probe, works like a voltmeter but indicates if you have probed a live or earth and what voltage, can check continuity and best of all supply a live or earth feed at touch of a button. take time and probe each wire on the car plug switching headlamps on and off to identify each wires function, typically only 1 earth for complete light, larger lives will be main and dipped lives, indicator live is easy as voltage switches quickly, drl is always live but voltage will drop when indicator is on or dipped beam. headlamp leveling is abit of a pain as looking for change in voltage when car starts as should do a level test but leave that to last and hopefully will only have 2 wires. Responding to old post but hopefully help someone