Prev: 88BE Up: Map Next: 88F3
88D4: Enemy movement: Counter is >(=) $40
Used by the routines at L8878 and L88BE.
Input
A counter (IX+$03)
L88D4 88D4 CP $41 If $41
88D6 JR Z,L88F3 Then jump to next routine
88D8 DEC (IX+$01) Decrement polar y
88DB LD A,($7004) Get ship polar x
88DE CALL move_towards_x Move towards x
88E1 LD (IX+$00),$10 Set sprite type
88E5 INC (IX+$05) Mark for pattern reload
88E8 LD A,(IX+$01) Get polar y
88EB CP $08 Return if not 8
88ED RET NZ ...
88EE LD (IX+$03),$41 Set counter
88F2 RET Return to return_from_sprite_handler
Prev: 88BE Up: Map Next: 88F3