here, this is my programming for badnicks on sonic worlds engine
oh crap! ok the first set of ticks (left column) is the movement variables "m" symbol
and the other set of ticks (right column) is the badnik sprite itself,
hope this has any use to you?