more work on activeEnemies (something is still wrong though)