home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 1996 Counselor / COMPUSERVE.ISO / resource / software.dir / 00024.ls < prev    next >
Encoding:
Text File  |  1996-06-06  |  679 b   |  30 lines

  1. on checkWin
  2.   puppetSprite(4, 1)
  3.   if rollOver(6) then
  4.     set the castNum of sprite 4 to 50
  5.   else
  6.     if rollOver(7) then
  7.       set the castNum of sprite 4 to 51
  8.     else
  9.       if rollOver(8) then
  10.         set the castNum of sprite 4 to 52
  11.       else
  12.         if rollOver(9) then
  13.           set the castNum of sprite 4 to 53
  14.         else
  15.           if rollOver(10) then
  16.             set the castNum of sprite 4 to 54
  17.           else
  18.             if rollOver(11) then
  19.               set the castNum of sprite 4 to 55
  20.             else
  21.               set the castNum of sprite 4 to 15
  22.             end if
  23.           end if
  24.         end if
  25.       end if
  26.     end if
  27.   end if
  28.   updateStage()
  29. end
  30.