The alignment (compass swing) of an HSI involves both rotating the remotely mounted fluxgate magnetometer, and adjusting the KA51B.
20 degrees is quite a lot. I wonder whether somebody has removed the magnetometer (KMT112, usually, on a King system) and put it back in a different orientation?
Or maybe a wire has come off somewhere....