(A) Where a sidewalk is provided and its use is practicable, it shall be unlawful for any pedestrian to walk along and upon an adjacent roadway.
(B) Where a sidewalk is not available, any pedestrian walking along and upon a highway shall walk only on a shoulder, as far as practicable from the edge of the roadway.
(C) Where neither a sidewalk nor a shoulder is available, any pedestrian walking along and upon a highway shall walk as near as practicable to an outside edge of a roadway, and, if on a two-way roadway, shall walk only on the left side of the roadway.
(D) Except as otherwise provided in this chapter, any pedestrian upon a roadway shall yield the right-of-way to all vehicles upon the roadway.
(ILCS Ch. 625, Act 5, § 11-1007) Penalty, see § 70.999