Prev: 8936 Up: Map Next: 8994
8986: Enemy movement: Set sprite flags to $18 if ...
Used by the routine at update_sprite_path.
Input
IX Sprite data
HL Path address
set_sprite_flags_to_18_if_match 8986 INC HL Advance path address
8987 LD A,(IX+$03) Get counter
898A AND $0F Isolate sprite position in wave
898C CP (HL) Compare with path byte
898D JR NZ,update_sprite_path_1 If different, then jump back to update_sprite_path
898F LD (IX+$07),$18 Set flags
8993 RET Return to return_from_sprite_handler
Prev: 8936 Up: Map Next: 8994