You might be seeing the default character sorting (
(I think
_compareChildOrder of Tilemap in rmmz_core.js). If so, you could try reducing the boat's screenZ value a little, e.g.
JavaScript:
void (alias => {
Game_Vehicle.prototype.screenZ = function() {
const offset = this.isBoat() ? 0.1 : 0;
return alias.apply(this, arguments) - offset;
};
})(Game_Vehicle.prototype.screenZ);
- offset is correct, but if not then try + instead.)