Prev: B29F Up: Map Next: B2B0
B2A4: The update routine for the spikes (graphic 46)
Object template 7. As STILL_DEADLY with another drawing nudge. The entry at MAKE_DEADLY is the common part, used by many update routines: bits 7 and 5 of +D, so that the thing kills what it moves into and what touches it, whichever of them moved -- Knight Lore's set_both_deadly_flags.
Input
IX the object
SPIKES B2A4 CALL DRAW_AT_L12_D4 the drawing nudge
This entry point is used by the routines at LEAPER, FRAGILE, CEILING_DROP, STILL_DEADLY and DEADLY_AND_DRAW.
MAKE_DEADLY B2A7 LD A,(IX+$0D) +D OR $A0: deadly both ways
B2AA OR $A0
B2AC LD (IX+$0D),A
B2AF RET
Prev: B29F Up: Map Next: B2B0