Remove curIndex from DanceScript.

Move curIndex duty from DanceScript to ScriptPlayer.