Slide the valves to flood water, you could use the pumps to slow the flooding.
Credits to CoolEeveekoffing for inspiration for this project. Everything else like art, coding and others is me. Scratch won't publish this for a bit because it thinks the bottom part is blood not part of the ship.