//Roka Animation

task BossImage_Roka(){

      	ObjPrim_SetTexture(Roka, CSD~"/img/character/boss3.png");

	ascent(x in 0..4){ObjAnim_AddFrameA1(Roka, ANIM_IDLE, 32*x, 0, 32*(x+1)-1, 73);}
	
	ascent(x in 0..4){ObjAnim_AddFrameA1(Roka, ANIM_MOVE, 32*x, 73, 32*(x+1)-1, 146);}
	descent(x in 0..4){ObjAnim_AddFrameA1(Roka, ANIM_MOVEEND, 32*x, 73, 32*(x+1)-1, 146);}
	
	ascent(x in 0..4){ObjAnim_AddFrameA1(Roka, ANIM_ATTACK, 32*x, 146, 32*(x+1)-1, 219);}
	descent(x in 0..4){ObjAnim_AddFrameA1(Roka, ANIM_ATTACKEND, 32*x, 146, 32*(x+1)-1, 219);}
	
	
	ObjAnim_SetLoopPointA1(Roka, ANIM_MOVE, 3);
	ObjAnim_SetLoopPointA1(Roka, ANIM_ATTACK, 2);
	ObjAnim_SetSpeedA1(Roka, ANIM_IDLE, 7);
	ObjAnim_SetSpeedA1(Roka, ANIM_MOVE, 6);
	ObjAnim_SetSpeedA1(Roka, ANIM_ATTACK, 9);
	ObjAnim_StartAnimationA1(Roka, 5, 1.75);
}