SWIM

How it's done in the Effervescent Fantasy™ series!

The tile you want the player character to be able to swim should be passable.



Make an event anywhere on the map away from where you want the player character to be able to swim.



Specify a switch for the conditions and allow the event to change the actor images to the image you want to use when the player character is not swimming with the parallel trigger and turn it on.



      ◆Change Actor Images:Rosé, Rosé (10)(0), Rosé (2)(0), Rosé (2)


Copy and paste the event page, specify a different switch for the conditions, and edit the contents to change the actor images to the image you want to use when the player character is swimming.



      ◆Change Actor Images:Rosé, Rosé (10)(0), Rosé (5)(0), Rosé (2)


Make an event a tile adjacent to where you want the player character to swim and specify the switch for when the player character is swimming for the conditions with the priority the same as characters.




Make an event adjacent to the prior one on a tile you want the player character to be able to swim, specify the switch for when the player character is not swimming for the conditions, and add the following contents if facing down with the priority the same as characters.¹




◆If:Player is facing Down

◆Script:Scene_Map.prototype.isFastForward = function() { return false; };
◆Wait:60 frames
◆Control Switches:#0009 = OFF
◆Set Movement Route:Player (Wait)
: :◇Jump:+0, +1
: :◇Speed:3
: :◇Stepping Animation ON
◆Control Switches:#0014 = ON
◆Change Transparency:ON
◆Play SE:Splash (10, 100, 0)
◆Wait:60 frames
◆Change Transparency:OFF
◆Wait:60 frames

:End


Make a new event page specify the switch for when the player character is swimming for the conditions and add the following contents if facing up with the priority below characters.¹



◆If:Player is facing Up

◆Script:Scene_Map.prototype.isFastForward = function() { return false; };
◆Control Switches:#0009 = ON
◆Control Switches:#0014 = OFF
◆Change Transparency:ON
◆Play SE:Splash (10, 100, 0)
◆Wait:60 frames
◆Change Transparency:OFF
◆Set Movement Route:Player (Wait)
: :◇Jump:+0, -1
: :◇Speed:4
: :◇Stepping Animation OFF
◆Wait:60 frames

:End






¹Edit the contents if facing in a different direction and add another conditional branch for more than one direction.