Refactored enemy spawn logic