in the second case , the city of tupelo , in response to a schoolyard shooting that killed none but injured four , passed an ordinance banning the possession of a firearm within a hundred yards of any public school .