The warp script is to actually get you to the next island. The animation is you know...the boat animation lol. It happens when you get on the ferry to go somewhere (not sure if it's in emerald).
I'm talking about this: