home *** CD-ROM | disk | FTP | other *** search
/ MacAddict 10 / MacAddict_010_1997_06.iso / media / contest.Dxr / 00041.ls < prev    next >
Encoding:
Text File  |  1997-03-25  |  967 b   |  57 lines

  1. on enterFrame
  2.   global count, score1, score2, score3
  3.   puppetSprite(47, 1)
  4.   puppetSprite(48, 1)
  5.   set count to count + 1
  6.   if count > 4 then
  7.     set count to 2
  8.   end if
  9.   repeat with i = 2 to 4
  10.     set the visible of sprite i to 0
  11.   end repeat
  12.   set the visible of sprite count to 1
  13.   updateStage()
  14.   case score1 of
  15.     1:
  16.       set the memberNum of sprite 2 to 50
  17.     2:
  18.       nothing()
  19.     3:
  20.       set the memberNum of sprite 2 to 59
  21.     4:
  22.       nothing()
  23.     5:
  24.       nothing()
  25.     6:
  26.       go("finish")
  27.   end case
  28.   case score2 of
  29.     1:
  30.       set the memberNum of sprite 3 to 51
  31.     2:
  32.       nothing()
  33.     3:
  34.       set the memberNum of sprite 3 to 60
  35.     4:
  36.       nothing()
  37.     5:
  38.       nothing()
  39.     6:
  40.       go("finish")
  41.   end case
  42.   case score3 of
  43.     1:
  44.       set the memberNum of sprite 4 to 52
  45.     2:
  46.       nothing()
  47.     3:
  48.       set the memberNum of sprite 4 to 61
  49.     4:
  50.       nothing()
  51.     5:
  52.       nothing()
  53.     6:
  54.       go("finish")
  55.   end case
  56. end
  57.