Prev: 794A Up: Map Next: 79D1
79C0: Initialise Spider
Used by the routine at Handler_Spider.
Resets the spider to its starting position, height and direction.
Input
IX Pointer to the spider sprite data
Initialise_Spider 79C0 LD (IX+$01),$46 Write 46 to *IX+01 (initial height).
79C4 LD (IX+$00),$48 Write 48 to *IX+00 (X position).
79C8 LD (IX+$02),$00 Write 00 to clear *IX+02 (sprite active flag).
79CC XOR A Write 00 to *Spider_Direction_Flag to set the direction to ascending.
79CD LD ($79D1),A
79D0 RET Return.
Prev: 794A Up: Map Next: 79D1