The driver of any vehicle upon a highway within a business or residence district shall yield the right-of-way to a pedestrian crossing the highway within any clearly marked crosswalk or any regular pedestrian crossing included in the prolongation of the lateral boundary lines of the adjacent sidewalk at the end of a block, except at intersections where the movement of traffic is being regulated by traffic officers or traffic direction devices. However, no pedestrian may suddenly leave a curb or other place of safety and walk or run into the path of a vehicle which is so close as to constitute an immediate hazard. A violation of this section by a driver is a petty offense.
SDCL 32-27-1