SetAutoDeleteObject
Arguments:
1) Boolean
Determines whether to delete all existing objects that were created in the script at its termination.
The default value is false.
Not sure if it works since I haven't really looked into how you did your effects, but this is what I mostly play around with.
THANK. YOU. SO. MUCH! I feel
really stupid now, but thank you!
Now I'll be making a few tweaks and fixing the issue. It should all be done by the end of today.
EDIT: Sorry if this ends up becoming a "Help Me!" Post, but is there a function that works exactly like SetAutoDeleteObject but for a single object? Using SetAutoDeleteObject causes everything to vanish when one spellcard/nonspell is beaten.
YAY! I did it! All I needed to do was make sure that the loop only carried out while the boss was alive, similar to Ultima's idea. The problem was, I moved the loop checking if the boss was alive so it could fire after the loop, to after the loop, meaning that the whole loop would still carry out afterwards, even if the boss died, and would only stop once the loop had carried out. Don't worry though, the problem is being fixed and the link will be up hopefully today, latest tomorrow. Thank you everyone!!!!