home *** CD-ROM | disk | FTP | other *** search
/ Comix Games / Comix Games.iso / jetsons / jetsons.exe / jetsons.dxr / 00029.ls < prev    next >
Encoding:
Text File  |  1996-11-19  |  397 b   |  8 lines

  1. on RestoreShipSpriteLocation
  2.   global theLastSpriteXs, theLastSpriteYs, theFirstShipChannel, theLastShipChannel
  3.   repeat with h = theFirstShipChannel to theLastShipChannel
  4.     set the locH of sprite h to getAt(theLastSpriteXs, h - theFirstShipChannel + 1)
  5.     set the locV of sprite h to the locV of sprite h - (getAt(theLastSpriteYs, 1) - the locV of sprite theFirstShipChannel)
  6.   end repeat
  7. end
  8.