You could use regions instead of events - draw on the water tiles with one region, and around the edge with another, like you're doing with your events. Then have a single event set to parallel process (if this is only on one map, or a small number of maps, use a map event, otherwise use a common event with parallel process trigger and turn on a switch at the start of the game).
The event should do the following (we'll assume you use region 5 for the water outline, and region 6 for the land outline surrounding it):
Code:
Wait 5 Frames
Control Variables: [Player Current Region] = Script: $gamePlayer.regionId()
If Variable [Player Current Region] = 5
change speed to slower
Else
If Variable [Player Current Region] = 6
change speed to faster
End
End
Now, there are a few ways you could do this. The example above checks every 5 frames, and changes the speed even if you're already at that speed. I've done it that way because there are a few other things that could cause the speed to adjust, like dashing or using vehicles, and when you do those things, or stop doing them, it would set the player speed, ignoring the tiles.
If you don't have vehicles and don't allow dashing on those maps, you could make it more efficient by checking to see if the region has changed, and only doing the above steps when that happens. In that case you'll need 2 variables - the second one will be set to 0 initially, but which will trigger the commands straight away:
Code:
Wait 5 Frames
Control Variables: [Player Current Region] = Script: $gamePlayer.regionId()
If Variable [Player Current Region] <> Variable [Player Previous Region]
Control Variables: [Player Previous Region] = Variable [Player Current Region]
If Variable [Player Current Region] = 5
change speed to slower
Else
If Variable [Player Current Region] = 6
change speed to faster
End
End
End
The wait should be there in both cases, to reduce lag. Otherwise it'd check 60 times a second, and there's no way the player can move to 60 different tiles in a second. A wait of 5 frames caters for up to 12 tiles a second, which is probably still higher than needed, but it allows plenty of breathing room for other events to have their turns.
And of course, if you want to be even more efficient, you could request a plugin to be written to do it for you.