Yes, new project, everything. Works fine.
Sorry, it is working now. I made the silly mistake of putting the script below "Main". Thanks for the script, this really helps.
I tested it out while placing other script in it, (one at a time), and finally figured it out, Yanfly's 'Yanfly Engine Ace - Passive States v1.02" is causing this compatibility error:
"Script 'Game_Actor' line 52: TypeError occurred
no implicit conversion from nil to integer"
The problem was fixed though:
http://rmrk.net/index.php/topic,46683.0.html