 Maddy made the pills much safer; instead of removing a part of the brain, it stimulated the brain to work around the lesions.The Smokies, in partnership with another city, Diego, mass distributed the pills across the world, causing the "Mind Rain", which marked the end of the prettytime.In the second book Tally cures herself by rewiring herself.