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

  1. on exitFrame
  2.   global gstg, gmode
  3.   puppetSound(3, 75)
  4.   puppetSprite(19, 1)
  5.   set the locV of sprite 19 to 120
  6.   if (gmode = 23) and (gstg = 5) then
  7.     set the castNum of sprite 19 to 250
  8.   else
  9.     set the castNum of sprite 19 to gmode + 226
  10.   end if
  11.   repeat with n = 20 to 21
  12.     puppetSprite(n, 1)
  13.     if gmode = 20 then
  14.       set the locV of sprite n to 120
  15.       next repeat
  16.     end if
  17.     set the locV of sprite n to 129
  18.   end repeat
  19.   if gstg > 99 then
  20.     set stg to 99
  21.   else
  22.     set stg to gstg
  23.   end if
  24.   set two to stg / 10
  25.   set one to stg - (two * 10)
  26.   if two <> 0 then
  27.     set the castNum of sprite 20 to 261 + two
  28.   end if
  29.   set the castNum of sprite 21 to 261 + one
  30.   puppetTransition(5, 1, 1, 1)
  31.   updateStage()
  32.   if two = 0 then
  33.     set the castNum of sprite 6 to 272
  34.   else
  35.     set the castNum of sprite 6 to 261 + two
  36.   end if
  37.   set the castNum of sprite 7 to 261 + one
  38.   updateStage()
  39. end
  40.