Adapted the code to new sprite of ThorStairs, with 3 frames.