There is, I'm ashamed to admit, a bug that interferes with that wpn->UseSprite() function I added.
This code:
CREATELWEAPONV 31
SETV LWPNY,140
LWPNUSESPRITEV 13
...currently runs perfectly when used as an FFC script. However, that very same code will fail miserably when used as an item script. Other devs, could you help me figure out why this is the case? (Perhaps it is related to this and this...)