home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1997 December / WPCDEC97.ISO / DXRS / RESWDEC.DXR / 00001_StartMovie.ls next >
Encoding:
Text File  |  1997-10-13  |  3.8 KB  |  67 lines

  1. on startMovie
  2.   global IFLRolledOver, IFLSpriteDifference, IFLhasLineFlashedList, IFLCanChange, ADDAdCount, ADDADvertSprite, ADDADCOntTwo, IFLButtonList, IFLArtsNameSprite, IFLResourcesNameSprite, RESMasterList, MASRESFlag, RESESwitch, ESprite, RESButtonCount, IFLQuitsprite, RESQuittingList, RESQuitCounter, RESChooseQuit, WaitFactor, browserID, IFLBrowsercounter, IFLMistake, GTSWIN95, IFLGoNow, IFLMovieNameList, IFLWhichcursorList, IFLThisButton, addlist, addPallist, ADDMouse, ADDThisNum, ADDKindList, REFAddWatch, RESHiLightList, RESHEADList, REFINTER, IFLHeadInkList, GTSLASTRolledover, IFLUSERPRESSEDESCKEY, RESEscList, IFLSectionImageList, DriveLtr
  3.   repeat with t = 1 to 38
  4.     puppetSprite(t, 1)
  5.     set the stretch of sprite t to 0
  6.   end repeat
  7.   puppetSprite(48, 1)
  8.   repeat with t = 39 to 47
  9.     puppetSprite(t, 0)
  10.     set the stretch of sprite t to 0
  11.   end repeat
  12.   updateStage()
  13.   repeat with t = 39 to 47
  14.     puppetSprite(t, 1)
  15.     set the stretch of sprite t to 0
  16.   end repeat
  17.   updateStage()
  18.   if REFINTER = 1 then
  19.     set REFINTER to 0
  20.   else
  21.     set GTSLASTRolledover to 0
  22.     set IFLUSERPRESSEDESCKEY to 0
  23.     set IFLSectionImageList to list("ALLNAmesGTS", "ALLNAmesFAE", "ALLNAmesHAN", "ALLNAmesRES", "ALLNAmes", "ALLNAmes", "ALLNAmes", "ALLNAmes", "ALLNAmes")
  24.     set RESEscList to list(4, 30)
  25.     set REFAddWatch to 0
  26.     set IFLThisButton to 41
  27.     set IFLResourcesNameSprite to 41
  28.     set IFLSpriteDifference to 38
  29.     set IFLQuitsprite to 38
  30.     set RESQuitCounter to 0
  31.     set RESChooseQuit to 0
  32.     set IFLGoNow to 0
  33.     set browserID to 0
  34.     set IFLBrowsercounter to 0
  35.     set IFLMistake to 0
  36.     set ADDADvertSprite to 48
  37.     set IFLRolledOver to 0
  38.     if MASRESFlag = 0 then
  39.       set ADDADCOntTwo to 0
  40.       set ADDAdCount to 0
  41.       set IFLCanChange to 1
  42.       set RESESwitch to 0
  43.       set ESprite to 3
  44.       set RESButtonCount to 0
  45.     end if
  46.     set IFLHeadInkList to list([39, 36], [40, 36], [41, 36], [42, 36], [43, 36], [44, 36], [45, 36], [46, 36], [47, 36], [48, 0])
  47.     set IFLButtonList to list([39, 1012, 653, 150, 172, 170, 117, 327], [40, 1005, 404, 150, 46, 44, 117, 327], [41, 41, 653, 106, 46, 44, 117, 327], [42, 1003, 404, 105, 181, 179, 117, 327], [43, 1008, 164, 61, 184, 182, 117, 327], [44, 1017, 404, 61, 81, 79, 117, 327], [45, 1001, 164, 105, 190, 188, 117, 327], [46, 1015, 164, 150, 67, 65, 117, 327], [47, 1014, 653, 61, 196, 194, 117, 327])
  48.     set RESHEADList to list(["REFBUT", 239, 180, 0, 0, "REFAllNames", 30], ["HANBUT", 251, 180, 0, 0, "HANAllNames", 30], ["RESBUT", 239, 180, 0, 0, "RESAllNames", 30], ["GROBUT", 251, 180, 0, 0, "GROAllNames", 30], ["FAEBUT", 251, 180, 0, 0, "FAEAllNames", 30], ["GESBUT", 237, 180, 0, 0, "GESAllNames", 30], ["GTSBUT", 251, 180, 0, 0, "GTSAllNames", 30], ["ARTBUT", 251, 180, 0, 0, "ARTAllNames", 30], ["MGIBUT", 236, 180, 0, 0, "MGIAllNames", 30])
  49.     set IFLhasLineFlashedList to list(4, 5, 2, 1, 5, 0, 0, 2, 5)
  50.     set RESQuittingList to list([38, 81, 82, 36, 39])
  51.     if MASRESFlag = 0 then
  52.       set RESHiLightList to list([9, 0, 450, 400, 34], [10, 2, 123, 100, 33])
  53.       set RESMasterList to list([2, 54, 320, 240, 0], [3, 55, 320, 300, 0], [7, 61, 395, 401, 36], [5, 0], [6, 59, 395, 401, 36], [4, 0], [8, 88, 2000, 260, 36], [20, 0], [21, 0], [22, 0], [23, 0], [13, 0], [14, 0], [15, 0], [16, 0], [17, 0], [18, 0], [19, 0], [9, 89, 2000, 260, 0], [10, 94, 2000, 260, 0], [11, 91, 2000, 260, 0], [12, 92, 2000, 260, 0], [24, 0], [25, 0], [26, 0], [27, 0], [28, 0], [29, 0], [30, 109, 2000, 2000, 36], [31, 0], [32, 0], [33, 95, 2000, 200, 36], [34, 93, 2000, 200, 36], [35, 87, 2000, 200, 36], [36, 69, 225, 2000, 39], [37, 81, 2000, 432, 36], [38, 81, 161, 432, 36])
  54.     end if
  55.   end if
  56.   if the machineType > 200 then
  57.     win_initialise()
  58.   end if
  59.   IFLCursorSet()
  60. end
  61.  
  62. on stopMovie
  63.   if the machineType > 200 then
  64.     win_exit()
  65.   end if
  66. end
  67.