Play sprite appears to be a bit dodgy in more ways than one. the from and to frames in play sprite command are 1 out. i.e yoy say you want frames 7-10 but it will play 8-11. If your anim has 20 frames and you specify frames 17 to 20 it will cycle from 18-20 and frame 1.
looks like play sprite goes from 'current' frame as set by set sprite frame, through to 'end' frame, then cycles back to 'start' frame. i.e. start frame is only looked at when anim reaches end.
Hope that makes sense.
So in your example, if you want frames 13 and 14, then set sprite frame to 12 and play sprite from 12 to 13
I am knocking up an official bug post now to make it clear to mods and lee.
The programmer formerly known as sonic