public void method454(int arg0) {
		for (anInt1570 += arg0; anInt1570 > spotAnimation.sequence.getFrameLength(anInt1569);) {
			anInt1570 -= spotAnimation.sequence.getFrameLength(anInt1569) + 1;
			anInt1569++;
			if (anInt1569 >= spotAnimation.sequence.length && (anInt1569 < 0 || anInt1569 >= spotAnimation.sequence.length)) {
				anInt1569 = 0;
				aBoolean1567 = true;
			}
		}
	}