Third Party member becomes invisible?

Hello, I have just encountered an insanely specific yet endlessly infuriating glitch related to the Yanfly action sequences packs and common events.

Alright, so basically, I have a segment of the game where you use a character that can summon up to two disposable characters via an item. That part works fine, the problem is the disposable part. You see, these party members have a skill called "Dive Bomber", which is super strong but removes that party member from your squad. This attack has a super specific animation, so I need the Yanfly action sequences plugin to portray the animation, as well as a common event to remove the character. But for some reason, when the character removes themself, the character with the index after the removed character will become INVISIBLE for some ungodly reason for the remainder of the battle

After some testing, I found out that this only happens when using Yanfly action sequences. If a skill that doesn't use those plugins is used, nothing unusual will happen.

So I was thinking that maybe a script call would bypass this niche issue. So if anybody knows the script call for removing a specific character, that would be great! Also, since that might not work, if anybody knows anything about the action sequences that would be helpful, please let me know!

After more testing, the configuration of the action sequence in the skill's notetag has no bearing on the glitch, it will ALWAYS happen. And the common event I'm using is literally just the event command for removing a character. Also, this glitch is purely visual, it has no bearing on the gameplay, it just makes the game look unpolished.
huh. weird

But for some reason, when the character removes themself, the character with the index after the removed character will become INVISIBLE for some ungodly reason for the remainder of the battle
you could share the skill's notebox and common event just to make sure there isnt a logical error somewhere

So if anybody knows the script call for removing a specific character
$gameParty.removeActor(ACTOR ID)

Also, since that might not work, if anybody knows anything about the action sequences that would be helpful, please let me know!
if the issue still happens, maybe call the battler's sprite's refresh() function afterwards.
huh. weird


you could share the skill's notebox and common event just to make sure there isnt a logical error somewhere


$gameParty.removeActor(ACTOR ID)


if the issue still happens, maybe call the battler's sprite's refresh() function afterwards.
Thank you!
huh. weird


you could share the skill's notebox and common event just to make sure there isnt a logical error somewhere


$gameParty.removeActor(ACTOR ID)


if the issue still happens, maybe call the battler's sprite's refresh() function afterwards.
Actually, how do I use the sprite refresh script call? Like, what do I put in the parentheses to make it work?
Nothing, refresh() takes no arguments.
Nothing, refresh() takes no arguments.
How could I use refresh() to refresh the animations of ALL battlers?
I'm not positive what you mean...animations run on their own, they don't belong to battlers and don't need refreshing.

But you can refresh all battlers with:
Code:
$gameParty.members().forEach(battler => battler.refresh());
$gameTroop.aliveMembers().forEach(battler => battler.refresh());

I kinda doubt you need to do this, but that's how.
I'm not positive what you mean...animations run on their own, they don't belong to battlers and don't need refreshing.

But you can refresh all battlers with:
Code:
$gameParty.members().forEach(battler => battler.refresh());
$gameTroop.aliveMembers().forEach(battler => battler.refresh());

I kinda doubt you need to do this, but that's how.
Hmmm, yeah, nothing seems to work.
I should be more specific on what's happening. Party member two uses a move where they remove themselves from that battle, this causes party member three to move to party member two's position, as well as become invisible, I'm starting to think animation refreshing isn't causing this to happen.

This happens weather I use a script call in action sequences to remove the user, or a common event.

Original thread: https://forums.rpgmakerweb.com/threads/third-party-member-becomes-invisible.169463/