home *** CD-ROM | disk | FTP | other *** search
/ FHM 100 Bombázó Ajándék CD / fhm_hu_1997.iso / fhm_scr.exe / fhm_scr.dxr / 00037.ls < prev    next >
Encoding:
Text File  |  2001-03-13  |  552 b   |  21 lines

  1. on anim_arrow
  2.   global arrow_x, arrow_pos
  3.   if (the frame > 1) and (the frame < 16) then
  4.     arrow_x = arrow_x - 40
  5.   end if
  6.   if (the frame > 15) and (the frame < 30) then
  7.     arrow_x = arrow_x + 20
  8.   end if
  9.   if (the frame > 29) and (the frame < 43) then
  10.     arrow_x = arrow_x - 10
  11.   end if
  12.   if (the frame > 42) and (the frame < 50) then
  13.     arrow_x = arrow_x + 5
  14.   end if
  15.   if (the frame > 49) and (the frame < 53) then
  16.     arrow_x = arrow_x - 2
  17.   end if
  18.   set the blend of sprite 4 to (the frame - 2) * 2
  19.   set the locH of sprite 4 to arrow_x
  20. end
  21.