home *** CD-ROM | disk | FTP | other *** search
/ PC Action 1996 September / PCA0996.ISO / demos / blown / demo.dxr / 00041_CastRollOver.ls < prev    next >
Encoding:
Text File  |  1996-05-29  |  853 b   |  30 lines

  1. on exitFrame
  2.   puppetSprite(16, 1)
  3.   if rollOver(5) then
  4.     set the castNum of sprite 16 to the number of cast "Justus.PIC"
  5.   end if
  6.   if rollOver(6) then
  7.     set the castNum of sprite 16 to the number of cast "Robin.PIC"
  8.   end if
  9.   if rollOver(7) then
  10.     set the castNum of sprite 16 to the number of cast "Lizzy.PIC"
  11.   end if
  12.   if rollOver(8) then
  13.     set the castNum of sprite 16 to the number of cast "Sam.PIC"
  14.   end if
  15.   if rollOver(9) then
  16.     set the castNum of sprite 16 to the number of cast "Pat.PIC"
  17.   end if
  18.   if rollOver(10) then
  19.     set the castNum of sprite 16 to the number of cast "Penner.PIC"
  20.   end if
  21.   if rollOver(11) then
  22.     set the castNum of sprite 16 to the number of cast "Gilbert.PIC"
  23.   end if
  24.   if rollOver(12) then
  25.     set the castNum of sprite 16 to the number of cast "lady.PIC"
  26.   end if
  27.   updateStage()
  28.   go(#loop)
  29. end
  30.