Looks like Asmodean already solved your problem but I just wanted to throw in that you can also do this:
Goodie > On collision with Baddie >
set angleOfCollision to angle(goodie.x, goodie.y, baddie.x, baddie.y)
This will get the angle of baddie compared to goodie. This is the way I do it and then I have a function that converts angles to directions like
if angle is between -45 and 45, return "Right"
if angle is between 45 and 135, return "Down"
etc