home *** CD-ROM | disk | FTP | other *** search
/ Swift Multimedia Spanish / Spanish_Net.iso / COMP.DXR / 00006.ls < prev    next >
Encoding:
Text File  |  1996-06-07  |  1.2 KB  |  46 lines

  1. on enterFrame
  2.   set myCorrect to 0
  3.   set the puppet of sprite 14 to 1
  4.   set the moveableSprite of sprite 14 to 1
  5.   set the puppet of sprite 15 to 1
  6.   set the moveableSprite of sprite 15 to 1
  7.   set the puppet of sprite 16 to 1
  8.   set the moveableSprite of sprite 16 to 1
  9.   set the puppet of sprite 17 to 1
  10.   set the moveableSprite of sprite 17 to 1
  11.   set the puppet of sprite 18 to 1
  12.   set the moveableSprite of sprite 18 to 1
  13.   set the puppet of sprite 19 to 1
  14.   set the moveableSprite of sprite 19 to 1
  15.   if sprite 14 intersects 8 then
  16.     set myCorrect to myCorrect + 1
  17.   end if
  18.   if sprite 15 intersects 9 then
  19.     set myCorrect to myCorrect + 1
  20.   end if
  21.   if sprite 16 intersects 10 then
  22.     set myCorrect to myCorrect + 1
  23.   end if
  24.   if sprite 17 intersects 11 then
  25.     set myCorrect to myCorrect + 1
  26.   end if
  27.   if sprite 18 intersects 12 then
  28.     set myCorrect to myCorrect + 1
  29.   end if
  30.   if sprite 19 intersects 13 then
  31.     set myCorrect to myCorrect + 1
  32.   end if
  33.   if (myCorrect = 6) and (the stillDown = 0) then
  34.     repeat while soundBusy(2)
  35.     end repeat
  36.     repeat with i = 14 to 19
  37.       puppetSprite(i, 0)
  38.     end repeat
  39.     go("correct")
  40.   end if
  41. end
  42.  
  43. on exitFrame
  44.   go(the frame)
  45. end
  46.