Small Update!
Ok, to get the first thing out of the way. Those of you getting the following error:
Code:
Message: undefined method `x' for nil:NilClass
#2 Scene:831:in `pokeballThrow'
can only be getting this error if one of two things is happening. A) You're using v15 scripts in a v16 project B) You're soft-resetting your game. Now, you'll see a lot of people on social media or whatnot promote the idea of soft-resetting your game for shinies, or developers just soft-resetting when bugtesting games. I'd like to let you guys know that generally, soft-resetting in RMXP projects is a bad idea due to the way the RGSS interpreter works. Soft-resetting doesn't clear any cached code. Meaning that all existing global variables and aliased methods remain cached even after the game resets. This is bad! Especially in EBS.
TECHNICAL DETAILS: Since the complication of trying to keep the system compatible for both v15 and v16, certain workarounds had to be done. Some of the functions have a different amount of arguments/parameters they need to function. EBS aliases the old function, loads the new one with a variable number of arguments/parameters as its input, and then in a conditional statement checks the number of parameters for the aliased functions. Soft-resetting means that the new function (with variable parameters) is still cached, so when the game decides to alias the function again, the number of its input arguments/parameters will not be correct again, since the already aliased function will be aliased again.
Now that that is out of the way, the system now comes with a pre-activated soft resetting fix (you can find that among the script's config stuff). So there. If you don't have a fix for soft-resetting already in your game ... you have one now.
Another error that I've recently found out about (due to Rayquaza's release of Pkmn Chaos) is that checking for UI graphics gets messed up when compiling the game. Since the Graphics folder gets bundled with the .rgssad file, the actual folder paths do not exist anymore. This is a problem since with one of the more recent update, I moved the graphic files to be in their own folders, and to retain compatibility with people who had their graphical resources located in the previous location, the game was checking whether the directory existed or not, which turned out to be a big no-no for compressed games. This has been remedied.
The only other things I've changed in the scripts are the actual comments to the code. I've included more details in places that needed them, and that's pretty much it. The only noteworthy (functionality-wise) changes have been made to
Battle and
BitmapWrapper sections of the scripts. Get those when you feel like it. Or get the whole batch if you feel like having more comments in your scripts.