I made an update to the last JS file posted, adding a plugin command that allows changing the sprite or set of sprites and battle if a switch is activated. I believe this way I can set a condition related to the boat's material and correctly call it in battle. Please let me know if this modification works for you.
Viewing post in Kadajah's Battle On Map for RPG Maker MZ comments
Could you download the JS file again? I made the correction; it was just 3 lines of code that determined where and when the reset trigger would be called. I detailed the changes here: https://kadajah.itch.io/kadajahs-auto-self-switch-reset/devlog/1527403/update-v1...
Hi sorry for the late reply,I tried it out last night and it's working good in all of my projects. Thanks so much for putting this amazing work out so fast ! I am looking forward to seeing what new things you add someday.I'll try to get a demo vid of my projects using your plugins when they are ready eventually.