Something to add.
You should use 'state management' especially in regards to animations and/or special moves.
I.e, "idle", "attacking", states, specifically a text instance variable or global one. Set the state to "dive" when the move is executed and disallow any other animations or types of actions if that state is enabled. Afterwards, set it to idle once the animation is finished.