home *** CD-ROM | disk | FTP | other *** search
/ Car Screensaver - Toyota / TOYOTA.iso / mjparty / no1_demo / dnorp00.dxr / script_13.ls < prev    next >
Encoding:
Text File  |  1996-10-31  |  452 b   |  27 lines

  1. on exitFrame
  2.   repeat with n = 1 to 5
  3.     set the locV of sprite 1 to 55 + (n * 37)
  4.     set the locV of sprite 2 to 240 + (n * 37)
  5.     updateStage()
  6.     if the timer > 5 then
  7.       moveh5()
  8.     end if
  9.     if the mouseDown then
  10.       exith()
  11.     end if
  12.   end repeat
  13. end
  14.  
  15. on moveh5
  16.   global gtime1
  17.   if gtime1 = 24 then
  18.     set gtime1 to 1
  19.   else
  20.     set gtime1 to gtime1 + 1
  21.   end if
  22.   if (gtime1 mod 12) = 0 then
  23.     curh()
  24.   end if
  25.   startTimer()
  26. end
  27.