You have a lot of stuff here, and it seems you have systematic problems.
Yep, I'm sort of in the middle of reworking a lot of things that I hacked together before learning the "right" way to do them, so there are plenty of issues.
Ensure that the variable holding your boss object has been declared e.g. let objBoss;, and is in each and every single containing a boss.
Yep, every single has it declared in the header and initialized in @Initialize (using the value returned by the function I mentioned).
You should be doing the following in each Single:
And in each Plural:
That's pretty much what the function does, and I haven't actually removed the code to delete the boss at the end of each single, so I don't think it's causing additional problems. I'll strip out the common data stuff, though, since it sounds like that doesn't work.
Ensure you have no weird symbols, i.e. no ?ł stuff in your scripts.
No mojibake that I've found, although there were kanji in a few places. Removing the kanji didn't fix it.
Depends on you you handle these. Remember that objects are not deleted at the end of a script unless you use object auto deletion or manually delete. Remember to yield; your main loop as well.
I actually went through every single while loop in my code (with Notepad++'s Find All in All Opened Documents) and checked to make sure every single one had a yield (or terminated). I don't
think there are currently any tasks getting another copy called every frame due to extra yields - although that has happened at least once, it's definitely not the cause of the current issues.
I'm trying to use the default magic circle script, so I assumed it would clean up after itself, but I'll look through it again to make sure.
Ensure that you are calling everything in the proper block. You'll have to provide some code for this one.
Went ahead and
zipped up the folder. Spells and nonspells are named with fruits and numbers (I've mostly been working with the Peaches and Kiwi series), everything else is named something that makes sense. Plural is called Plural.dnh, functions are in Resources.txt.
Sorry to make you sift through this mess - if I had any idea where the problem was I'd narrow it down.
Get a feel for Danmakufu's script structure and how it expects you to work with Singles, Plurals, and Stages.
I'll admit, I basically have no idea what the difference between a plural and a stage is. I'll get to that when I get to it, though. Wait, that's exactly the sort of thing that led to me hacking things together not knowing that you're supposed to use a thing I hadn't read about yet...