Prev: 46476 Up: Map Next: 46819
46803: Remove Thrown Weapon
Removes a weapon (or other object) that has been drawn, by emptying its record and erasing its sprite. If it has not been drawn there is nothing to erase.
Input
IX Object record
Remove_Thrown_Weapon 46803 LD (IX+0),0 Empty the record by setting the type to zero.
46807 LD (IX+7),0 Clear byte 7.
46811 BIT 0,(IX+15) Return if the object has not been drawn yet.
46815 RET NZ
46816 JP RemoveEntity Erase the sprite of the object.
Prev: 46476 Up: Map Next: 46819