On-Map Enemy Encounter System(Finished!)

Hello! Loving your script but I'm having a problem I can't figure out. Ocassionally the battle doesn't initiate on the first try. The ! bubble will pop up 2-3 (maybe more) before the battle finally iniates. Do you know what could be causing this? Here's a screenshot of my event setup https://www.dropbox.com/s/1j4ckburpfa0i1h/onmapencounter1.jpg
I never mentioned my kudos to you for this brilliant system... I'm definitely using this in my final game (Main project, non-contest). Great stuff!
Major kudos on this! I'll be utilizing it in the future I am sure!
Thanks a bunch for this. I just have a question;

What's the license for this system? Am I allowed to use it in my to-be commercial project or is it solely for non-commercial ones?
I did it, but now when the game starts, my character won't move. I have no idea what's happening. Help!
The battle doesn't start. It shows the exclamation bubble, but the battle won't start, what's actually happening?
Is it possible to set it up so that however you encounter the enemies (i.e behind or form the side) that starts a preemptive strike or vice versa?
I've been trying to set up some simple flying encounters and have an issue. To allow the event to pass over terrain I checked its Through box, but this means it doesn't clip the player when it hits them so the battle only initiates when the player walks into the encounter. Anyone have any thoughts for a solution?
Well this work with MV?
this is a little complicated, is there a simpler way?
You can also try This less Complicated Tutorial
First make 2 Switches being
Enemy chase and Enemy die
Start with the Enemy Event,don't turn on 1 of 2 of the Switches
Make the Speed 3 and Frequency 3
Set the Movement Type to Random

Make an Event touch Event near the Enemy
Make a Movement route Where the Enemy Event will Jump Set the X and Y to 0
Turn off wait and make a Balloon Event and set it to Exclamation Then Turn on the Enemy chase Switch

On the Enemy Event, Create an Event Page with the Enemy chase Event on Set the Speed to 5 and The Frequency to 5 as Well and Then Set the Movement type to Approach
The Trigger should be set to an Event Touch or a Player Touch
Also set the Battle to a Allow Escape Event
In the If win Section put the Enemy die Event and Turn it On
In the If Escape Section turn Off the Enemy Chase Event
Make more than Two Switches so all The Enemies don't chase you at Once

Original thread: https://forums.rpgmakerweb.com/threads/on-map-enemy-encounter-system-finished.8763/