You've set left/right pressed > rolling=0 but you can't press left/right because you've disabled player input so it just continues to roll until it collides with something.
This just needs a lot of tidying up imo, in the way that there are a lot of events enabling and disabling this platform behaviour and sometimes disabling player movement and acceleration. Can you not put this into one line somewhere, when 'rolling', disable platform input?
You could also group the player movements even further and have separate groups for rolling, walk, run, and any future player stuff so you can easily determine where something breaks.