Quote: "dbSpriteCollision
This command will return a one if the specified sprite is overlapping the target sprite specified. If a target sprite has not been specified and a value of zero has been used, this command will return the sprite number of any sprite overlapping it. "
Basically, this means that when you pass a 0 as the second parameter, the return result is the sprite id that is overlapping with the player. Therefore, perform a test like so:
int collides_with = dbSpriteCollision(player,0);
if ((collides_with > 0) && (collides_with != mouse_sprite_id)) {
// Collision with some other sprite besides the mouse...
}
Hope this helps,
JTK