home *** CD-ROM | disk | FTP | other *** search
/ Battlefield Earth Promo / BECDROM.iso / macstart / macstart.dxr / 00024.ls next >
Encoding:
Text File  |  1996-10-27  |  906 b   |  33 lines

  1. on enterFrame
  2.   puppetSprite(3, 1)
  3.   if (the mouseCast >= 17) and (the mouseCast <= 23) then
  4.     set the castNum of sprite 3 to 5
  5.   else
  6.     if (the mouseCast >= 25) and (the mouseCast <= 27) then
  7.       set the castNum of sprite 3 to 9
  8.     else
  9.       if (the mouseCast >= 28) and (the mouseCast <= 29) then
  10.         set the castNum of sprite 3 to 3
  11.       else
  12.         if (the mouseCast >= 30) and (the mouseCast <= 37) then
  13.           set the castNum of sprite 3 to 7
  14.         else
  15.           if (the mouseCast >= 38) and (the mouseCast <= 50) then
  16.             set the castNum of sprite 3 to 8
  17.           else
  18.             if (the mouseCast >= 51) and (the mouseCast <= 52) then
  19.               set the castNum of sprite 3 to 4
  20.             else
  21.               set the castNum of sprite 3 to 1
  22.             end if
  23.           end if
  24.         end if
  25.       end if
  26.     end if
  27.   end if
  28. end
  29.  
  30. on exitFrame
  31.   go(the frame)
  32. end
  33.