Prev: 36810 Up: Map Next: 36885
36875: Destroy Object
Used by the routine at ApplyCollisionEffects.
Marks an object as destroyed and plays a sound.
Input
IX Address of the object
DestroyObject 36875 SET 4,(IX+16) Set bit 4 of the flags of the object.
36879 PUSH BC Stash BC on the stack.
36880 CALL PlayRemovalSound Play a sound.
36883 POP BC Bring BC back off the stack.
36884 RET Return.
Prev: 36810 Up: Map Next: 36885