The FLUDD, seen in A Strange Mission. It attaches to Mario's back and lets the player fly up as high as they wish. The supply of water, however, is limited and the FLUDD will not operate if it's empty. The current water level is displayed as a counter on the status bar (by default, it's next to the lives).
The water level can be refilled by going in water or by picking up the included Refill Shroom. By default, the FLUDD has a maximum of 25 units of water, which decrease by about 2 for every second of flight.
Check the ASM files for instructions and customization options.
I found an excellent workaround for anyone who wants to use the R button like in the original game. First, open the fludd.asm file and change every LDA $15 to a $17. Then change !Button to $10. Insert that sprite via pixi, then move your rom over to Asar.
Patch these two lines of code:
to your rom to disable L/R scrolling in levels to prevent any problems. Also just with a little tweaking you can make it so that you have to press R to refill in the water instead of auto.