home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Guide / c-cplusplus-interactive-guide.iso / c_ref / clesson / c.dir / 00278.ls < prev    next >
Encoding:
Text File  |  1995-04-05  |  1.7 KB  |  56 lines

  1. on exitFrame
  2.   puppetSprite(6, 1)
  3.   puppetSprite(7, 1)
  4.   puppetSprite(8, 1)
  5.   puppetSprite(9, 1)
  6.   puppetSprite(10, 1)
  7.   puppetSprite(11, 1)
  8.   puppetSprite(13, 1)
  9.   puppetSprite(14, 1)
  10.   puppetSprite(15, 1)
  11.   puppetSprite(16, 1)
  12.   puppetSprite(17, 1)
  13.   set the immediate of sprite 6 to 1
  14.   set the immediate of sprite 7 to 1
  15.   set the immediate of sprite 8 to 1
  16.   set the immediate of sprite 9 to 1
  17.   set the immediate of sprite 10 to 1
  18.   set the immediate of sprite 11 to 1
  19.   set the immediate of sprite 13 to 1
  20.   set the immediate of sprite 14 to 1
  21.   set the immediate of sprite 15 to 1
  22.   set the immediate of sprite 16 to 1
  23.   set the immediate of sprite 17 to 1
  24.   if rollOver(6) = 1 then
  25.     set the castNum of sprite 13 to the number of cast "g55.pcx"
  26.   else
  27.     set the castNum of sprite 13 to the number of cast "blank1.pcx"
  28.   end if
  29.   if rollOver(7) = 1 then
  30.     set the castNum of sprite 14 to the number of cast "ee3.pcx"
  31.   else
  32.     set the castNum of sprite 14 to the number of cast "blank2.pcx"
  33.   end if
  34.   if rollOver(8) = 1 then
  35.     set the castNum of sprite 15 to the number of cast "ee4.pcx"
  36.   else
  37.     set the castNum of sprite 15 to the number of cast "blank3.pcx"
  38.   end if
  39.   if rollOver(9) = 1 then
  40.     set the castNum of sprite 16 to the number of cast "ee5.pcx"
  41.   else
  42.     set the castNum of sprite 16 to the number of cast "blank4.pcx"
  43.   end if
  44.   if rollOver(10) = 1 then
  45.     set the castNum of sprite 17 to the number of cast "paper17.pcx"
  46.   else
  47.     set the castNum of sprite 17 to the number of cast "blank5.pcx"
  48.   end if
  49.   if rollOver(11) = 1 then
  50.     set the castNum of sprite 11 to the number of cast "Amptr.pct"
  51.   else
  52.     set the castNum of sprite 11 to the number of cast "amph.pct"
  53.   end if
  54.   go(the frame)
  55. end
  56.