It's the very first thing that pops up in the game. I'd made some recent changes to it and now I see that error; Error running script: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index.
I've gone backwards, undoing just about everything I can think of that was recently changed, but that error still keeps coming up.
What usually causes this error, so that I can be more aware of what it is I'm doing with the scripting and avoid another one?
After taking MerchantToo's advice, I re-examined my scripting and found I put the wrong parameter in the call function at the very start of the game. I have already fixed it, but to help in making the error message a bit more understandable, I've recreated the error.
It involves a modified version of Pixie's Score library and functions, so i'll put that up as well. The initial error was that the parameter at the start script was set to 'false' when it should have been 'true' and was completely omitted in the actual InitScore function.