Strafing and shooting (for one map only)

So I just completed the first dungeon, and currently, I am trying to spice things up with a minigame. In this, you must destroy an enemy in an electric/shadowball duel. 


I want to make the main character have her movement restricted to only strafing and shooting as well as the event she is going against.


What I want coded is a projectile in real time from both the player and the enemy and as well as strafing left and right from both of them. If you are gonna say "Try it yourself", I did. At least the bullets. I didn't know what to do for the strafing part. Any ideas?
if the player is only going to be moving side to side, then do a move route, direction fix, you can even tie it to a button press with conditional events.
One thing that you could try to do is use my bullet events seen in this video:



Then you can create a custom player graphic with the character only facing the direction you want. This will allow the players feet to remain moving when he/she moves. Also be sure to remove the direction firing and set it to only fire in the direction you want it to shoot in. You can set up blank events with "when clicked" "Wait 1" this will force a payer to only be able to move in one direction. Now you have your strafing set up. When you get your strafing set up all the way be sure to make the "Bullet" above characters so it can fly over (You can also do under, but personal preference I say it looks weird.) the other sprites. I will release a video on my channel showing this method in use so you can decide if you want to use it or not.
you dont explain how the bullet event is set up, which makes the entire video a waste of time


Edit: nevermind, the video is just taking too long to get to the point. Starts at 6:46

Original thread: https://forums.rpgmakerweb.com/threads/strafing-and-shooting-for-one-map-only.57075/