home *** CD-ROM | disk | FTP | other *** search
- on anim_arrow
- global arrow_x, arrow_pos
- if (the frame > 1) and (the frame < 16) then
- arrow_x = arrow_x - 40
- end if
- if (the frame > 15) and (the frame < 30) then
- arrow_x = arrow_x + 20
- end if
- if (the frame > 29) and (the frame < 43) then
- arrow_x = arrow_x - 10
- end if
- if (the frame > 42) and (the frame < 50) then
- arrow_x = arrow_x + 5
- end if
- if (the frame > 49) and (the frame < 53) then
- arrow_x = arrow_x - 2
- end if
- set the blend of sprite 4 to (the frame - 2) * 2
- set the locH of sprite 4 to arrow_x
- end
-