home *** CD-ROM | disk | FTP | other *** search
/ Car Screensaver - Toyota / TOYOTA.iso / mjparty / vivi_ex.exe / vivi_ex.DXR / 00022.ls < prev    next >
Encoding:
Text File  |  1996-05-13  |  845 b   |  36 lines

  1. on exitFrame
  2.   global gnum1, gcount1
  3.   set h to the locH of sprite gnum1 - 29
  4.   set n to 299
  5.   repeat while n < h
  6.     set n to n + 30
  7.     set the locH of sprite 39 to n
  8.     updateStage()
  9.   end repeat
  10.   set the locH of sprite 39 to h + 29
  11.   updateStage()
  12.   if gnum1 > 18 then
  13.     set v to the locV of sprite gnum1 - 45
  14.     set n to 53
  15.     repeat while n < v
  16.       set n to n + 46
  17.       set the locV of sprite 39 to n
  18.       updateStage()
  19.     end repeat
  20.     set the locV of sprite 39 to v + 45
  21.     updateStage()
  22.   end if
  23.   set the castNum of sprite gnum1 to the castNum of sprite 39
  24.   set the castNum of sprite 39 to 176
  25.   set the locH of sprite 39 to 299
  26.   set the locV of sprite 39 to 41
  27.   set the castNum of sprite 13 to 179
  28.   set the locH of sprite 13 to 672
  29.   if gcount1 <> 0 then
  30.     go(#loop)
  31.   else
  32.     endgame()
  33.     go(#next)
  34.   end if
  35. end
  36.