"if" statement that checks character image for RMMZ

I'm creating a swim event involving a rideable mount (but it is NOT a vehicle) that checks if the actor has that specific image of them on said mount because it would be able to 'change' when entering the water's edge.

So basically I'd like to create a conditional branch that checks for the specific index of a character, and then changes their sprite to the index of another sheet

I saw two other forum posts but wasn't able to glean enough information about what the actual 'script' for the conditional would be?

Can anyone help?
You can't get the character spritesheet or index into editor values without scripting.
Since you are asking about how to do it without a plugin, I'd use XY variables to track the player while they are on the map.
  • If they got to the spot where they would swim,
    • I'd trigger a common event to switch, not them but all of the actors, into their swimming looks,
  • until player's X and Y variables were back on something meant to be land,
    • where I'd trigger another common event to change them back.

I formated the message in a way you can kind of see it like a conditional branch.
You didn't explain how do your characters swim, so I suppose "they don't", but they "look like they do".

Original thread: https://forums.rpgmakerweb.com/threads/if-statement-that-checks-character-image-for-rmmz.144695/