I'm pretty sure this just hides the brick below and not set the water brick's shape effect to 1.
This is the function that the water bricks call that also applies the shape FX. I just removed the line that sets the shape FX. So if this code is executed after the water bricks, then it'll overwrite the function and the shape FX won't be set to water.