On occasions i.e. not every time I run a particular battle, it crashes at the very beginning of the whole process with this error message in the console
The process leading to this is as follows:
The particular battle is one where I allow the player to retry, rather than reload to a save.
The battle event only has one item before the Battle Processing command and that is to call a common event.
The line in rmmzobjects.js which the error message refers to is this:
As it is references hp, it seems to me that it must be referring to the first set of event commands in the common event. Those commands are these:
Actor 1 does not have MP, that's why it's not included in that line.
Those scriptcalls come from this tutorial. The concise version comes towards the end.
If the script calls were incorrect, then I assume it would crash every time. But it doesn't, only sometimes.
Can anyone work out what is going on?
Thank you
The process leading to this is as follows:
The particular battle is one where I allow the player to retry, rather than reload to a save.
The battle event only has one item before the Battle Processing command and that is to call a common event.
The line in rmmzobjects.js which the error message refers to is this:
As it is references hp, it seems to me that it must be referring to the first set of event commands in the common event. Those commands are these:
Actor 1 does not have MP, that's why it's not included in that line.
Those scriptcalls come from this tutorial. The concise version comes towards the end.
If the script calls were incorrect, then I assume it would crash every time. But it doesn't, only sometimes.
Can anyone work out what is going on?
Thank you