Sourcelocation() is for enemies or players in the default battle system. So say your enemy had a cure move. The end of your cure program might look something like this:
sourceLocation(x!, y!)
animation("cure.anm", x! - 32, y! - 32)
Or if you're using a still image:
sourceLocation(x!, y!)
savescreen()
setimagetransparent("cure.gif",x! - 32 , y! - 32, 64, 64, 255, 255, 255)
wav("cure.wav")
delay(1)
restorescreen()