since it's a parallel process, it could be that the effect happens so fast you're not seeing it.
it needs to be redesigned, from "spinning the wheel" to "single-shot trigger"
there's three things you need to solve: the taking one actor out and replacing for a new one, the going in and out of that process without the variables messing up, and the listening for the button push.
(I might have solved this years ago in my end... let me dig up the routine)
EDIT: here.
it can't be made with variables, it needs to be done by code because the "change party member" command only works by direct ID, not "whatever this variable says"
this needs to be tied to a button push... I run it as part of a sequence.
if you're only ever shifting the party around, removing/adding characters through the commands won't work, because with 2 characters, if 1 is not chosen, then 2 is the only option, but with 3 or more, if 1 is not chosen, then the next option could be either 2 or 3, and it's a mess of nested conditionals.
use this block instead... it'll always shift the party around, but lock the button press from looping.
Code:
pr=$game_party
ld=pr.members[0]
pr.remove_actor(ld.id)
pr.add_actor(ld.id)