Yeah, I'm kind of a noob at scripting, so that's bound to happen.
Also, this just hit me, could it be conflicting with other scripts? I'm using that one, Leon's Shopping System, Synthesis' Point Based Level Up, and Charlie Lee's Weapon Enhancement Scripts, three of which are called by buttons. My script is called with 'X', the Leveling System is called with 'Y', and the Enhancement script is called with 'Z', in RMXP terms. Sorry if I'm being annoying, its just it really should be fine...
EDIT: Actually, nevermind, that works perfectly. And I see what you changed. Maybe it was that somehow? Either way, thanks man!