effect
layer = FLY_LAYER
New()
flick("effect",src)
sleep(5)
del src
The effect is created on src.loc (where the player is) everytime he uses a verb. The problem is, src.loc = locate() calculates the position in tiles, not in pixels... So sometimes the effect is created in the wrong position, because the player is not on the center of the tile, but a bit to the left/right.
How can I fix this? Does bounds have any use for this?
Also, [especially] for a simple object such as that, you can simply set loc to null to delete it. Avoid using del() where and whenever possible.