I think the problem is you pointer. I got same error in a couple of times trying to compare the result of a collision instruction.

try this:

Code:
if ( result )
{
   if ( you == ball )
   {
      ...
   }
}
else
{
   ...
}