If you mean for sprites facing a different way, then use SPDEF in the smile tool. It should have all sprites facing all directions. Find the numbers you want for that sprite in the SPDEF tab, then do:
SPSET 0,(Whatever number you want)
Try inserting the following codes between line 42 and 43 of your attached program.
SPCHR 0 OUT U,V,W,H,A
SPCHR 0,U,V,W,H,1 OR #SPREVH
This is the example for horizontal flip. If you want to flip vertically, write #SPREVV instead of #SPREVH.
Before you combine sprite attribute with SPANIM, you should define sprite characters as follows.
SPDEF 0,0,144,16,16,8,16
SPDEF 1,16,144,16,16,8,16
SPDEF 2,0,144,16,16,8,16,1 OR #SPREVH
SPDEF 3,16,144,16,16,8,16,1 OR #SPREVH
If you animate your sprite without flip, do #1 of following, and if with flip, do #2.
#1: SPANIM 0,"I",25,0,25,1,0
#2: SPANIM 0,"I",25,2,25,3,0