home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1997 December / WPCDEC97.ISO / DXRS / GTSWDEC.DXR / 00014_GTSGameStop.ls < prev    next >
Encoding:
Text File  |  1997-10-15  |  1.5 KB  |  35 lines

  1. on GTSGameStop
  2.   global GTSGraphicList, GTSBigImageSprite, GTSYellowArrowSprite, GTSCoverChosen, GTSSnapCover, GTSButtonsSprite, GTSFirstTouchList, GTSBigNoSprite, GTSVisitCoverSprite, GTSGamesMasterList, GTSChoosen, GTSPlaySprite, GTSInstallSprite, GTSExplainSprite
  3.   set s to GTSChoosen
  4.   set whichCover to getAt(GTSFirstTouchList, s)
  5.   set GTSVisitCoverSprite to 0
  6.   set the castNum of sprite getAt(whichCover, 2) to the castNum of sprite getAt(whichCover, 2) - 1
  7.   set ThisCover to getAt(GTSGraphicList, s)
  8.   set the locH of sprite GTSYellowArrowSprite to 2000
  9.   set the locH of sprite GTSBigImageSprite to 2000
  10.   repeat with t = 1 to count(GTSGraphicList)
  11.     set the ink of sprite getAt(getAt(GTSGraphicList, t), 1) to 0
  12.   end repeat
  13.   set GTSSnapCover to 0
  14.   set the locH of sprite getAt(getAt(GTSGraphicList, s), 1) to getAt(getAt(GTSGraphicList, s), 5)
  15.   set the locV of sprite getAt(getAt(GTSGraphicList, s), 1) to 409 - 15
  16.   tell window "TRYGAME"
  17.     set the locH of sprite getAt(getAt(GTSGraphicList, s), 6) to 2000
  18.   end tell
  19.   repeat with t = 20 to 23
  20.     set the locH of sprite t to 2000
  21.   end repeat
  22.   set the locH of sprite GTSButtonsSprite to 2000
  23.   set the locH of sprite GTSPlaySprite to 2000
  24.   set the locH of sprite GTSInstallSprite to 2000
  25.   set the castNum of sprite GTSExplainSprite to 52
  26.   set the locH of sprite GTSExplainSprite to 2000
  27.   set the locH of sprite 24 to 2000
  28.   setAt(GTSOneOutList, s, 0)
  29.   set the locH of sprite 38 to 53
  30.   tell window "TRYGAME"
  31.     updateStage()
  32.   end tell
  33.   updateStage()
  34. end
  35.