That will move jackhammer to jackhammer.X + (the offset eh)jackhammer.imagepointX and jackhammer.Y + ((the offset)jackhammer.imagepointY, see if it overlaps, true or false, and moves it back to jackhammer.X and jackhammer.Y.
What you really want is ...
Offset at (x) = jackhammer.X - jackhammer.imagepointX
Offset at (y) = jackhammer.Y - jackhammer.imagepointY
Offset = a distance with world zero's at sprite.X and sprite.Y.