Combine relative values and functions (one function for each formation/style).
Make sure, the sprite instances are clearly seperated by setting a instance variable.
By relative I mean to not work with absolute values for the sprite instances, but relatives to the concerned instances plus a general offset that is applied to all of them.
The functions then should pick only those matching the IV.