Basically, the game would crash if you actually tossed a ball at it.
And I only had the time to fix it now...
But it's fixed, yay!
The script has been updated to work with v18, but only in Xv1 and Xv2 battles.
The v17 version can be found here, but will no longer be supported: