Prev: C7AB Up: Map Next: C7C0
C7B7: Handle Body
Type 08: a body lying on the ground. It counts down byte 0C then makes the type 00. HandleDying makes it last for 20 frames.
Input
IX The address of the object
Count down the frames.
HandleBody C7B7 DEC (IX+$0C) Count down byte 0C and return if it is not zero.
C7BA RET NZ
Make the type 00.
HandleBody_Remove C7BB LD (IX+$00),$00 Make the type 00 and return.
C7BF RET
Prev: C7AB Up: Map Next: C7C0