Sprite Bug when using an "All allies" Skill

So, this issue is on the game for a long time now, and I'm unsure on how to fix it.

Basically, this enemy has multiple parts on it, and when i use a skill that targets all of the allies (Example, a cure all skill), the sprites glitch and overlays at each others, and when the skill stops, the overlay also stops, but there's a chance of the overlay not being fixed, which appears the underpart which is not supposed to be appearing. The image i annexed explains what I'm trying to say.

Bug.png

Trying to be more exact here: The wires connected are part of the torso sprite, and are supposed to be under the other part, which one of the arms. When i use the skill, they start mixing and it happens the thing i mentioned before.

I'm using Yanfly's battle core, and it's probably something related to it, but i don't know what's the solution.
If you are using the standard battle system, you are unlikely to encounter a bug.
What must be happening is that you placed the monster sprites too close to each other.

The solution would be to create a larger transparent border.
  • The border should be increased at the bottom of the images that should be in front.
  • For graphics that will be behind or closer to the top of the screen, the border should be smaller.
1769600894098.png
Ok, I've discovered the issue, they were both on the same layer, making the glitch appear. So i just fixed it by making them in another layer, and editing their sprite.

But thanks anyways, if it wasn't for you i would still be trying to find the problem.
That's great that it's resolved, I'm very happy that you can continue with your project.

If you really don't need anything else, as explained in the instructions for opening a help thread, report it to let the moderator know that it has been resolved.

Until next time 😉

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/sprite-bug-when-using-an-all-allies-skill.182166/