The purpose of whole spices are to add a subtle flavor and aroma to the curry. However, if you don't have all the whole spices you can just add the ones you have, and skip the rest. You can also add garam masala (powdered whole spice powder) as a substitute, but this needs to be added at the end of the cooking process just before serving.