Yes, and I also found a problem with your code, if this is your final game structure.
The SPHITSP needs to be called inside of the same loop that moves the sprites about, otherwise it will just check once and be done.
Because you're not giving another sprite ID to the SPHITSP function. Right now, you're asking if sprite id 2 is being hit, and SPHITSP is asking frantically for a specific sprite or sprite range to check collision with sprite 2 for.
SPCOL <sprite num>
make sure you do this for all the sprites that you want to detect are touching each other.
SPHITSP(<sprite num>,<sprite num>[,<to sprite num>])
this will return a boolean, so use it in an IF statement.
the optional third parameter makes it return true if the first sprite is hitting any of the sprites between the second param and the third param.
TGAMING MADE A CODE INDENTOR!
but he deleted it. BUT HERE I AM NOW WITH HIS AMAZING PROJECT!
It can fix syntax errors, comment automatically, and, of course, INDENT YOUR CODE AUTOMATICALLY!
So what are you waiting for?
[do not use this on big projects, it may stop in the middle of indenting]