(CBS) — It is truly a miracle shot on the West Side.

Not because Tyquone Greer won the game for Orr Academy High School, but what led up to that shot.

READ MORE: Breast Cancer Survivor Urges Women To Talk To Doctors About Their Imaging, After Her Mammogram Didn't Go Far Enough

As CBS 2’s Mike Puccinelli reports, it gave reason for the school to rally.

Greer was among half a dozen people shot in an Austin house less than two weeks ago. Then, just days ago, with the wound still fresh, the 6-foot, 9-inch star buried a three-pointer with three seconds left, earning the Orr Spartans a trip to the Class AAA state semi-finals.

READ MORE: Supply Chain Issues: 'There Really Are Problems Everywhere,' Even For Small Companies

Thursday at a school pep rally — before the team boarded a bus to head to Peoria — Greer thanked his coaches, teachers and fellow students.

Orr takes on Morgan Park in the semi-finals.

MORE NEWS: Man Attacked, Robbed At Gunpoint Near Wicker Park

They’ll earn a shot at their first-ever state basketball championship.