So in VX Ace, there was a function I used where it would automatically snap certain actors to the party leader position. In this example, it would scan if Actor 1 was in the party leader position - if he wasn't, these conditional branches would loop the common event that swapped characters until he was.
The middle branch is to check if he's in the battle party lineup. If he isn't part of the main five or not in the party at all, the loop will disengage.
However, in MV I can't seem to figure out the javascript version of these codes no matter how many times I look at the script call collection. Any help with this would be wonderful, since it was a very important cutscene tool.
