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 / 00041.ls < prev    next >
Encoding:
Text File  |  2001-03-13  |  682 b   |  29 lines

  1. on anim_szlogen
  2.   global isanim, current_y, which_szlogen
  3.   current_x = the locH of sprite 27
  4.   current_blend = the blend of sprite 27
  5.   if soundBusy(1) then
  6.   else
  7.     if current_x = 500 then
  8.       puppetSound("szlogen_" & which_szlogen)
  9.     end if
  10.   end if
  11.   if current_x < 800 then
  12.     if current_blend < 100 then
  13.       set the blend of sprite 27 to current_blend + 2
  14.     end if
  15.   end if
  16.   if current_x < 100 then
  17.     if current_blend > 0 then
  18.       set the blend of sprite 27 to current_blend - 2
  19.     end if
  20.   end if
  21.   tmp = current_x - 5
  22.   if tmp < -100 then
  23.     tmp = 800
  24.     isanim = 0
  25.   end if
  26.   set the locH of sprite 27 to tmp
  27.   set the locV of sprite 27 to current_y
  28. end
  29.