So, I’ve been struggling with this error for a while now. It doesn’t seem to affect the gameplay too bad, but I’d like it to stop. I have enemies who are attracted towards the player that can have 1-3 enemies at random from one encounter. This one is kind of inconsistent. Sometimes it happens, then next time I test play it won’t give me that error on that same enemy, but might give it on a different enemy that hadn’t shown it previously. Though there is another instance.
To get a key to unlock a door, you are required to use a hammer tool to break crates. From them you can get items like bandages or potions, some not containing anything, but a single one that you must find has a slime that upon slaying it gives you the key needed. The battle script is in the same script as the crate breaking for that specific crate, and it shows that error each time without fail.
Help with both instances would be much appreciated, thank you.