You almost certainly want to use an NSArray or NSMutableArray of items instead of 12 separate variables, and you probably want a custom class too. Your variable names are all too generic to tell what's going on, but you want to write something like this:
Code:
for ( (StageClass )*stage in stageArray){
stage.count++;
stage.stuff=0;
stage.otherStuff=0;
stage.animationImages = newStageImage
}
This is going to require writing your own class call StageClass, and setting up stuff and otherStuff as "properties." It's also possible to do it without your own class, with multiple arrays like stuffArray and otherStuffArray, but it's bad design and it will be difficult to maintain.
Better yet, you may be able to put the operation inside a method in StageClass, and just run that method on every object. This would cause every object in the array to call [self myMethod] .
Code:
[stageArray makeObjectsPerformSelector:@selector(myMethod)];
I know this sounds like a lot to learn, but it will really make this code simple and easier to debug.