mob/proc
delay_time(mob/TestDummy)
TestDummy.icon_state_check="punch"
TestDummy.framedelay[1]=3
TestDummy.framedelay[2]=2
TestDummy.framedelay[3]=4
spawn() Rewind(TestDummy)
return 1
framedelay[number] will be the variable to define the delay itself the [number] will obviously be the frame number. icon_state_check being the variable to define which state is being edited. Rewind() will be a proc that will automatically rewind the states animation.
All in all, I am a pretty bad programmer but I do love pixel art and this would be a great asset for attack speed and I personally thing it would make a nice addition to pixel movement.
Thank you, Trigger.