if you want rotation, you can use the following, its not code, but you can turn it into code simply.
find the center of the sprite, and using find the x and y distance between this point and the mouse. use dbTANFULL(x distance, y distance) to get an angle, mulitply the x distance by dbCOS(angle), and the y distance by dbSIN(angle). this creates a point where the mouse would be if either the mouse was rotated along with the sprite. you then find the slope of the box of the sprite (i hope you know how to get slope). using these, you can check if the mouse would be inside the rotated box. if this doesnt make sense, tell me, and ill give you a more in-depth explanation.
-to the optimist, the glass is half full. to the pessimist, it is half empty, to the engineer, it is twice as big as it needs to be.
http://www.lionsbloodstudios.justinman.net/index.htm