Semi-Active Smart Rocks with Flipping Magnets