Your suggested solution doesn't work, because the walking and running speed of the player is not going to sync up with the wait command.
See the attached GIF, where I am mixing walking and running speed to highlight the difference.
Your suggested solution doesn't work, because the walking and running speed of the player is not going to sync up with the wait command.
That's not going to work, because checking for whether the shift key is pressed is not the same as checking for whether the player is running. It's not going to work for mobile games, and I'm assuming not for gamepads either.
Original thread: https://forums.rpgmakerweb.com/threads/solution-for-vehicle-image-change-when-getting-on-off.124895/