It's Undertale. You cannot attack in your enemy's turn, and the enemy has a very looong attack pattern.