Every time Ridley regrabs the ledge without touching the ground or being hit, the intangibility is reduced. It is portrayed below from a fresh ledge grab.