23-10-2008, 08:36 PM
The mouse position isn't right...it's making you hover over that exact X and Y to work, and not the whole tile area...just open the map editor and watch the outline as you move the mouse. Also notice the X and Y with /loc when you go over your sprite and see that they aren't the same X and Y. Here's the fix:
Code:
CurX = Int(X / PIC_X)
CurY = Int(Y / PIC_Y)