home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Guide / c-cplusplus-interactive-guide.iso / c_ref / clesson / c.dir / 00223.ls < prev    next >
Encoding:
Text File  |  1995-04-05  |  1.8 KB  |  58 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.   puppetSprite(18, 1)
  14.   set the immediate of sprite 6 to 1
  15.   set the immediate of sprite 7 to 1
  16.   set the immediate of sprite 8 to 1
  17.   set the immediate of sprite 9 to 1
  18.   set the immediate of sprite 10 to 1
  19.   set the immediate of sprite 11 to 1
  20.   set the immediate of sprite 13 to 1
  21.   set the immediate of sprite 14 to 1
  22.   set the immediate of sprite 15 to 1
  23.   set the immediate of sprite 16 to 1
  24.   set the immediate of sprite 17 to 1
  25.   set the immediate of sprite 18 to 1
  26.   if rollOver(6) = 1 then
  27.     set the castNum of sprite 13 to the number of cast "e1.pcx"
  28.   else
  29.     set the castNum of sprite 13 to the number of cast "blank1.pcx"
  30.   end if
  31.   if rollOver(7) = 1 then
  32.     set the castNum of sprite 14 to the number of cast "d10.pcx"
  33.   else
  34.     set the castNum of sprite 14 to the number of cast "blank2.pcx"
  35.   end if
  36.   if rollOver(8) = 1 then
  37.     set the castNum of sprite 15 to the number of cast "d11.pcx"
  38.   else
  39.     set the castNum of sprite 15 to the number of cast "blank3.pcx"
  40.   end if
  41.   if rollOver(9) = 1 then
  42.     set the castNum of sprite 16 to the number of cast "b2.pcx"
  43.   else
  44.     set the castNum of sprite 16 to the number of cast "blank4.pcx"
  45.   end if
  46.   if rollOver(10) = 1 then
  47.     set the castNum of sprite 17 to the number of cast "aa5.pcx"
  48.   else
  49.     set the castNum of sprite 17 to the number of cast "blank5.pcx"
  50.   end if
  51.   if rollOver(11) = 1 then
  52.     set the castNum of sprite 18 to the number of cast "aa6.pcx"
  53.   else
  54.     set the castNum of sprite 18 to the number of cast "blank6.pcx"
  55.   end if
  56.   go(the frame)
  57. end
  58.