Which would have happened, if not for the fact that Gastly had no target on which to use his own shadow ball. It's similar to the reffing from early on, where Weavile had the same issue. If you want, I can edit the reffing to reflect the reasoning behind it, but I don't really see any reason for Gastly to fire blindly.