choices that affect the color of the other character's sprite

i've never worked in rpg maker, but i want to do my first game, and i'm wondering if a concept that i came up with is possible. to be more specific, i have a main character, and player chooses her to wear one of the three different colored scarfs she has, and it affects the other character color pattern! (player would see this character in the end of a game, and accordingly she have three different colored sprites too). please help :3 i have mz ver
Yes there is a script call you can put in a conditional where you can check what image the player character sprite is then have branches that set the other event's image to something else.

e.g.
If the player is using the "Actor3" spritesheet, index 0
If: $gamePlayer.characterName()=="Actor3" && $gamePlayer.characterIndex()==0
Yes there is a script call you can put in a conditional where you can check what image the player character sprite is then have branches that set the other event's image to something else.

e.g.
If the player is using the "Actor3" spritesheet, index 0
If: $gamePlayer.characterName()=="Actor3" && $gamePlayer.characterIndex()==0
thank you! ❤️

Original thread: https://forums.rpgmakerweb.com/threads/choices-that-affect-the-color-of-the-other-characters-sprite.175088/