Prev: AC29 Up: Map Next: AC60
AC34: Free an object record
Clears the record's movement and state fields and marks it free (+0 = $FF). Its position, colours and +$18/+$19 are left as they were.
Input
IX The record
free_object AC34 CALL clear_screen_fields
AC37 LD (IX+$07),A
AC3A LD (IX+$08),A
AC3D LD (IX+$09),A
AC40 LD (IX+$0A),A
AC43 LD (IX+$10),A
AC46 LD (IX+$11),A
AC49 LD (IX+$12),A
AC4C LD (IX+$13),A
AC4F LD (IX+$14),A
AC52 LD (IX+$15),A
AC55 LD (IX+$16),A
AC58 LD (IX+$17),A
AC5B LD (IX+$00),$FF
AC5F RET
Prev: AC29 Up: Map Next: AC60