This is a bug in your events.
On the Enemies event sheet, events 4 and 5 are checking for a direction, changing it, and the very next event changes it back.
You should make this an Else, i.e.
enemysprite direction = "right" : enemysprite set direction to "left"
Else
enemysprite direction = "left" : enemysprite set direction to "right"
This should really have been posted in the 'How Do I' section.