batcave,
может так?
var divLink = document.querySelector('.zelda');
var linkOffsetLeft = divLink.offsetLeft;
var movementRightArray = ['0% 70%', '35% 70%', '0% 70%', '100% 70%'];
var i = 0;
var timerId;
divLink.addEventListener('click', move);
function move() {
timerId = setInterval(function () {
if (linkOffsetLeft < 180) {
moveRight()
} else {
clearInterval(timerId)
}
}, 300);
}
function moveRight(){
linkOffsetLeft += 5;
divLink.style.left = linkOffsetLeft + 'px';
divLink.style.backgroundPosition = ''+movementRightArray[i]+'';
i++;
if (i > 3) { i = 0};
}