Distance between Sprinkler head and Air condition system
Air conditioning units can get water on them - save any internal electronics which almost always have guard/protection/enclosure.  I can't foresee any local code that would care.