Yanfly skill bug, Enemy "cannot move status" results in skill moving too forward.

So recently when I test play my game, the skills are fine, they move accordingly to the skill tag, until
the enemy is inflicted with "Cannot move status" from other skills. The skill became out of controlled and move way too forward than expected. Is there anyways to fix this? Thanks in advance!


Here's the skill tag if it helps

<setup action>

immortal target: true

display action

wait: 30

<\setup action>

<target action>

camera focus: user, 1

zoom: 160%, 20

wait: 20

hide battle hud

animation 52: user

opacity target: 0, 1

wait: 1

move target: forward, 400, 1

wait: 20

move user: target, front base, 30

move target: backward, 400, 1

face user: forward

wait: 1

face target: home

opacity target: 255, 1

wait: 30

zoom: 110%, 10

wait: 40

motion attack: user

wait: 10

action animation: target

wait: 40

action effect

death break

wait: 30

</target action>

<follow action>

show battle hud

zoom: 100%, 10

reset camera

wait: 10

perform finish

</follow action>

<Cooldown: 2>

I've moved this thread to Plugin Support. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-skill-bug-enemy-cannot-move-status-results-in-skill-moving-too-forward.118965/