Prev: 8FCA Up: Map Next: 9015
900B: Destroy Object
Used by the routine at ApplyCollisionEffects.
Marks an object as destroyed and plays a sound.
Input
IX Address of the object
DestroyObject 900B SET 4,(IX+$10) Set bit 4 of the flags of the object.
900F PUSH BC Stash BC on the stack.
9010 CALL PlayRemovalSound Play a sound.
9013 POP BC Bring BC back off the stack.
9014 RET Return.
Prev: 8FCA Up: Map Next: 9015