I'm trying to make an enemy who does the following:
- runs up a player
- attacks
- keeps going until they're off screen
- flees from battle once off screen