home *** CD-ROM | disk | FTP | other *** search
/ 321 GAMES / 321GAMES.iso / logic / runes / runes.exe / runes.DXR / 00064.ls < prev    next >
Encoding:
Text File  |  1996-07-01  |  754 b   |  29 lines

  1. on exitFrame
  2.   global UPG, SCOREBOARD, SCOREY, SCOREX, ALLSCORE
  3.   puppetSprite(34, 1)
  4.   if UPG = 1 then
  5.     set the castNum of sprite 34 to 75
  6.   end if
  7.   if UPG = 0 then
  8.     set the castNum of sprite 34 to 76
  9.   end if
  10.   repeat with n = 1 to 26
  11.     if (UPG = 0) and (n > 10) then
  12.       next repeat
  13.     end if
  14.     if char n of ALLSCORE = "1" then
  15.       set the castNum of sprite 36 to cast "YESBUT"
  16.     end if
  17.     if char n of ALLSCORE = "0" then
  18.       set the castNum of sprite 36 to cast "NOBUT"
  19.     end if
  20.     set the locH of sprite 36 to getAt(SCOREX, n)
  21.     set the locV of sprite 36 to getAt(SCOREY, n)
  22.     updateStage()
  23.   end repeat
  24.   set the locH of sprite 36 to -2000
  25.   set the locV of sprite 36 to -2000
  26.   updateStage()
  27.   puppetSprite(36, 0)
  28. end
  29.