| move_animate_sprite_along_path |
8936 |
LD A,(HL) |
|
8937 |
LD HL,(wave_data_address) |
|
893A |
BIT 0,(IX+$03) |
|
893E |
JR Z,move_animate_sprite_along_path_0 |
|
8940 |
INC HL |
| move_animate_sprite_along_path_0 |
8941 |
BIT 7,(HL) |
|
8943 |
JR Z,move_animate_sprite_along_path_1 |
|
8945 |
AND $0F |
|
8947 |
CP $01 |
|
8949 |
JR Z,move_animate_sprite_along_path_1 |
|
894B |
CP $04 |
|
894D |
JR Z,move_animate_sprite_along_path_1 |
|
894F |
XOR $0A |
| move_animate_sprite_along_path_1 |
8951 |
LD E,(IX+$02) |
|
8954 |
LD D,(IX+$01) |
|
8957 |
LD B,(IX+$00) |
|
895A |
BIT 0,A |
|
895C |
JR Z,move_animate_sprite_along_path_2 |
|
895E |
INC D |
|
895F |
LD B,$0E |
| move_animate_sprite_along_path_2 |
8961 |
BIT 2,A |
|
8963 |
JR Z,move_animate_sprite_along_path_3 |
|
8965 |
DEC D |
|
8966 |
LD B,$10 |
| move_animate_sprite_along_path_3 |
8968 |
BIT 1,A |
|
896A |
JR Z,move_animate_sprite_along_path_4 |
|
896C |
DEC E |
|
896D |
LD B,$0F |
| move_animate_sprite_along_path_4 |
896F |
BIT 3,A |
|
8971 |
JR Z,move_animate_sprite_along_path_5 |
|
8973 |
INC E |
|
8974 |
LD B,$11 |
| move_animate_sprite_along_path_5 |
8976 |
LD (IX+$00),B |
|
8979 |
LD (IX+$01),D |
|
897C |
LD A,E |
|
897D |
AND $3F |
|
897F |
LD (IX+$02),A |
|
8982 |
INC (IX+$05) |
|
8985 |
RET |