So basically I am attempting to make an 'action' combat system, where you smack around your enemy and they smack around you. I have this down pretty well, but the problem is, it is very very very long. I was hoping someone would know of a solution to make this event shorter.

Basically I have it set up that if you hit 'A' you will attack and if the enemy is one space away and you are facing them, you hit. This works well, but like I said it is very long. In addition to that I have the same thing going for enemies, only instead of a button push it is random if they actually attack you or not.
Any help would be greatly appreciated it.
Edit: Well I managed to condense it a little by making the direct and the location conditional branches into one each, so four instead of 12. I am still open for other suggestions on this though.

Basically I have it set up that if you hit 'A' you will attack and if the enemy is one space away and you are facing them, you hit. This works well, but like I said it is very long. In addition to that I have the same thing going for enemies, only instead of a button push it is random if they actually attack you or not.
Any help would be greatly appreciated it.
Edit: Well I managed to condense it a little by making the direct and the location conditional branches into one each, so four instead of 12. I am still open for other suggestions on this though.