Further prep work for rolling - pulled the setting of run/walk/roll acceleration into a function called during on_process, so that we can dynamically vary the acceleration (rather than just having one static value).