The first number you specify when calling SPSET is the sprites ID. You can call SPSET with different IDs to declare and display multiple sprites at once. You use this ID with pretty much every sprite related instruction.