Port of Galv's Actors Duel Mini Game

Hello there guys, my current project on VX Ace uses this awesome script. I would like to see this on MV as well so. 
To put it simple, this script allows you to set a "fighting game" inside RPG maker.

Bellow is the script in pastebin for easy acess, and further bellow is the link for Galv's scripts website. 

Script:

http://pastebin.com/pdK6WQV8

Galv's website:

http://galvs-scripts.com/2013/07/07/actor-duel-mini-game/

Thanks in advance!

Original thread: https://forums.rpgmakerweb.com/threads/port-of-galvs-actors-duel-mini-game.46863/