[RMMV] Applying Change Actor Image to nth Party Member?

I want to make a little system where I can freely change the appearance of the player character without affecting the stats, class, or changing the actor.
94477-7d309bbc7c6b1c6e4cd0544f8bb12e0e.jpg


For instance, here I have a simple party constructing area. First, the spirit event removes all party members and adds a single spirit actor. Then, each of the events to the sides removes the spirit actor (if it's still in the party) and adds an actor to the party. That's all fine.

The complicated part comes with the appearance changing.

94478-c1c95f51509377174eed4cd5013852c7.jpg


Here's the area for altering appearance.

94480-11ebe4b2f87cdd65cc0252576dead831.jpg


And here's the code I have so far. Now, am I able to do this? Yes, certainly. It might take a while, but I could do it.

But if I want to add more classes to choose from?

94481-037f8bda06e1cad7e1045db40f3f21f2.jpg


Or if I want to have a lot more variety in character appearances?

94482-a4f31c06c6307eb33a339b6ae69db751.jpg


(I'm not actually going to have this many classes or appearances, but my point still stands.)

So I'm trying to come up with another way to work this appearance change. The idea I came up with is to have the Change Actor Image command not always change one actor, but instead identify one of the actors currently in the party and then change the image of that actor.

94483-5a548080b80c1d0096d592425be603af.jpg


If it's possible, this would drastically cut down on the amount of coding necessary for each individual event.

MV does have the ability to recognize the name of the actor in the party, so I'm hoping that it's possible to do this somehow. My question is, is there some way to do this through script or commands, or should I look towards plugins to make this happen?

Original thread: https://forums.rpgmakerweb.com/threads/rmmv-applying-change-actor-image-to-nth-party-member.108903/