function enemymiddleFire()
for i = 1,10 do
if BulletInfo2[i].firing == true then
if BulletInfo2[i].direction == "right" then 
BulletInfo2[i].x = BulletInfo2[i].x + 7
end
if BulletInfo2[i].direction == "left" then 
BulletInfo2[i].x = BulletInfo2[i].x - 7 
end
if BulletInfo2[i].direction == "up"  then 
BulletInfo2[i].y = BulletInfo2[i].y - 5 
BulletInfo2[i].x = BulletInfo2[i].x + 7
end
if BulletInfo2[i].direction == "down" then 
BulletInfo2[i].y = BulletInfo2[i].y + 7 
end

screen:blit(BulletInfo2[i].x,BulletInfo2[i].y,BulletInfo2[i].pic)
end
end
end