Sounds like the harness was damaged in the crash and they put a new one on and swapped the pins when they did. I don't know the wire colors. But there are two wires of the three on the harness to the bulb that have to be swapped on the one that's wrong.
2005 ZX4: CAI, FRPP, eibach sportlines, hids
1983 kawasaki KZ550 cafe project
4 wheels move the body, 2 wheels move the SOUL