Change the sprite image to a new loaded image. If the new image has a different size or shape from the old image the sprite may look distorted as a result, you can fix this by resetting the sprite dimensions using SetSpriteSize. If the sprite is animated you may also need to call SetSpriteAnimation again.
By default the collision shape is not modified, you can pass an additional parameter to update the collision shape although this is an expensive process. Using this command will clear any animation frames you have set with any of the sprite animation commands.
SetSpriteImage ( iSpriteIndex, iImageIndex )
SetSpriteImage ( iSpriteIndex, iImageIndex, bUpdateShape )