On both sprites, you must first use SPCOL on each one.
SPCOL {sprite management number},TRUE
Use that on each sprite, then use SPHITSP.
IF SPHITSP( {management number of first sprite},{management number if other sprite} )THEN BEEP{number}
That can also be used to set a variable.
1そうだね プレイ済み