Change vehicle sprite when getting on and off vehicle

So i am looking for a way to change the vehicle sprite when boarding and getting off a vehicle.

I have a boat image as the standard boat vehicle. I also have another image of the character standing on the boat.

Using a common event i can change the boat image using

Switch: 0001 Vehicle Change
If: Boat is driven
Change vehicle Image : Boat, $! Boat With Player(0)
Control Switches: #0001 Vehicle Change = OFF

This changes the sprite to my character on the boat when riding, but i want to be able to revert back to the normal boat image when getting off the vehicle. I think this is a very roundabout way of doing it, when i'm sure there must be a simple solution out there using either a script or plugin?

Can this be done? Is there a script or anything i need to be able to achieve this?

Your help will be much appreciated 🙂

DaveyHuman
Here's a solution in 1 common event in parallel process, just turn on the switch when you're in a map where using the boat is possible so that otherwise it doesn't strain your CPU:

If: Boat is driven
| Change vehicle image
else
| Change vehicle image
end
Wait 15 frames

You can also set up this event as a regular one, in parallel process in every map where using the boat is possible.
That’s absolutely perfect, I knew there would be a much more simple way of doing it, I just couldn’t figure it out for the life of me!
I’ll give that a shot, much appreciated!!

Original thread: https://forums.rpgmakerweb.com/threads/change-vehicle-sprite-when-getting-on-and-off-vehicle.121592/