add this in your timeout sequence:
NPC Code:
x = this.xpos;
y = this.ypos;
and you for the setimg part try this: (based off your second post's image;
NPC Code:
setimgpart #f,91*16,0,45.5,52.5;
and when that dog gets moving, it's super fast...
NPC Code:
this.speed=.3 // or .4 which is graalian speed(about)
G'luck mate,
Gohan