A natural apex predator, the shark makes for a dangerous underwater enemy! It will instantly detect the player when they enter water and give chase. You can customize it's behavior quite a bit using defines and the extra bit, so please read the comments at the top of the .asm file!
Requested for the Strongest Sprite Workshop 2020 by Gary.
Using the default defines and json, the shark tends to get stuck in walls. It also processes off screen despite the cfg editor not having it checked. As such if it gets stuck in a wall off screen, you'll just hear constant noise of it bonking. I would also appreciate it if the Shark could have a set range of activity, so that it only chases you in a particular area, then it goes back to patrolling where it spawned. The define for ground interaction is pretty irrelevant since the CFG editor already removes ground interaction.
Works as intended, so, accepted. During moderation I added graphic icons and descriptions to the .json, added an extra bit set version to the .json list, and fixed the name (the default name was "Bopping Toady").
One thing I noticed which I couldn't tell if it was a bug or intentional, is that the vertical swimming does not activate when !patrol = 0, even when the extra bit is set. Not too significant, just something to keep in mind.
Also, in case it wasn't obvious, sprite buoyancy needs to be enabled for this sprite to work properly.