Moving out tick functions into a helper struct as well (which also gets rid of the max limit).
Authored by: gavare 2019-06-07
Parent: [r4920]
Child: [r4922]