Improved enemy AI

Added a timer to the enemy AI check where the target is