A pedestrian who is under the influence of alcohol or any drug to a degree which renders himself or herself a hazard shall not walk or be upon a highway, except on a sidewalk.
(ILCS Ch. 625, Act 5, § 11-1010) (1999 Code, § 74.11) Penalty, see § 74.99