MV Wait for Target Collapse?

Hey guys,

I'm noticing that my screen comes up right after I defeat a boss (while it's collapsing), and I don't want that. I'm suspecting it has something to how I'm formatting my Action Sequences. Something like this, for example.

Code:
<Setup Action>
immortal: targets, true
</Setup Action>

<Whole Action>

</Whole Action>

<Target Action>
if user.attackMotion() !== 'missile'
 camera focus: target
 zoom: 120%, 30
 move user: targets, front, 30
else
 perform start
end

wait for movement
motion attack: user
attack animation: target
wait for animation
action effect: target
wait for animation
wait for movement
wait: 5
reset camera
</Target Action>

<Follow Action>

</Follow Action>

<Finish Action>
perform finish
immortal: targets, false
wait for movement
</Finish Action>

Is there any way to wait for the target to collapse if it's dead? Or do I need to do something else?
time the collapse duration, than maybe set wait for that when
the target it dead.

I do know SRD has WaitOptions, but unsure it works in battle
as you can set conditions on it (true plugin commands).

so if you check if the target is dead in the turn, you can use
it in there, but unsure how to use the call for the collapsing
based on the type.

otherwise it should be coded inside "wait for collapse" or something.

Original thread: https://forums.rpgmakerweb.com/threads/wait-for-target-collapse.177981/