home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1997 September / WPCSEP97.ISO / DXRS / ARTWSEP.Dxr / 00026_ARTLiterature.ls < prev    next >
Encoding:
Text File  |  1997-07-09  |  6.4 KB  |  184 lines

  1. on ARTLiterature
  2.   global ARTLiteratureList, ARTAreSomewhereLit, tmpACROobj, ACROPATH, ARTLitNet
  3.   if (ARTLitNet = 1) or (ARTLitNet = 4) then
  4.     if rollOver(22) then
  5.       set ARTLitNet to 5
  6.       set the castNum of sprite 22 to the castNum of sprite 22 + 1
  7.     end if
  8.   end if
  9.   if ARTLitNet = 5 then
  10.     if rollOver(22) and the mouseDown then
  11.       if the machineType < 200 then
  12.         set the castNum of sprite 36 to 49
  13.         set the loc of sprite 36 to point(176, 200)
  14.         set ARTNETUP to 0
  15.         updateStage()
  16.         repeat while 1
  17.           if ARTNETUP = 1 then
  18.             if word the mouseWord of field 49 = "Quit" then
  19.               set ARTThisword to the mouseWord
  20.               set the foreColor of word ARTThisword of field 49 to 0
  21.               repeat while word the mouseWord of field 49 = "QUIT"
  22.                 if the mouseDown then
  23.                   set ARTYesOrCancel to 1
  24.                   exit repeat
  25.                 end if
  26.               end repeat
  27.               set the foreColor of word ARTThisword of field 49 to 255
  28.             end if
  29.             if word the mouseWord of field 49 = "CANCEL" then
  30.               set ARTThisword to the mouseWord
  31.               set the foreColor of word ARTThisword of field 49 to 0
  32.               repeat while word the mouseWord of field 49 = "CANCEL"
  33.                 if the mouseDown then
  34.                   set ARTYesOrCancel to 2
  35.                   exit repeat
  36.                   updateStage()
  37.                 end if
  38.               end repeat
  39.               set the foreColor of word ARTThisword of field 49 to 255
  40.             end if
  41.             if ARTYesOrCancel > 0 then
  42.               exit repeat
  43.             else
  44.               if (the mouseCast <> 49) and the mouseDown then
  45.                 beep()
  46.               end if
  47.             end if
  48.             next repeat
  49.           end if
  50.           if the mouseUp then
  51.             set ARTNETUP to 1
  52.           end if
  53.         end repeat
  54.         set ARTNETUP to 0
  55.         if ARTYesOrCancel = 2 then
  56.           set the locH of sprite 36 to 2000
  57.           updateStage()
  58.           repeat while the mouseDown
  59.           end repeat
  60.         else
  61.           quit()
  62.         end if
  63.       else
  64.         if (tmpACROobj = -43) or (ACROPATH = EMPTY) then
  65.           set the castNum of sprite 36 to 49
  66.           set the loc of sprite 36 to point(176, 200)
  67.           set ARTNETUP to 0
  68.           updateStage()
  69.           repeat while 1
  70.             if ARTNETUP = 1 then
  71.               if word the mouseWord of field 49 = "Quit" then
  72.                 set ARTThisword to the mouseWord
  73.                 set the foreColor of word ARTThisword of field 49 to 0
  74.                 repeat while word the mouseWord of field 49 = "QUIT"
  75.                   if the mouseDown then
  76.                     set ARTYesOrCancel to 1
  77.                     exit repeat
  78.                   end if
  79.                 end repeat
  80.                 set the foreColor of word ARTThisword of field 49 to 255
  81.               end if
  82.               if word the mouseWord of field 49 = "CANCEL" then
  83.                 set ARTThisword to the mouseWord
  84.                 set the foreColor of word ARTThisword of field 49 to 0
  85.                 repeat while word the mouseWord of field 49 = "CANCEL"
  86.                   if the mouseDown then
  87.                     set ARTYesOrCancel to 2
  88.                     exit repeat
  89.                     updateStage()
  90.                   end if
  91.                 end repeat
  92.                 set the foreColor of word ARTThisword of field 49 to 255
  93.               end if
  94.               if ARTYesOrCancel > 0 then
  95.                 exit repeat
  96.               else
  97.                 if (the mouseCast <> 49) and the mouseDown then
  98.                   beep()
  99.                 end if
  100.               end if
  101.               next repeat
  102.             end if
  103.             if the mouseUp then
  104.               set ARTNETUP to 1
  105.             end if
  106.           end repeat
  107.           set ARTNETUP to 0
  108.           if ARTYesOrCancel = 2 then
  109.             set the locH of sprite 36 to 2000
  110.             updateStage()
  111.             repeat while the mouseDown
  112.             end repeat
  113.           else
  114.             quit()
  115.           end if
  116.         else
  117.           set the castNum of sprite 36 to 48
  118.           set the locH of sprite 36 to 225
  119.           set the locV of sprite 36 to 181
  120.           set ARTNETUP to 0
  121.           updateStage()
  122.           repeat while 1
  123.             if ARTNETUP = 1 then
  124.               if word the mouseWord of field 48 = "YES" then
  125.                 set ARTThisword to the mouseWord
  126.                 set the foreColor of word ARTThisword of field 48 to 0
  127.                 repeat while word the mouseWord of field 48 = "YES"
  128.                   if the mouseDown then
  129.                     set ARTYesOrCancel to 1
  130.                     exit repeat
  131.                   end if
  132.                 end repeat
  133.                 set the foreColor of word ARTThisword of field 48 to 255
  134.               end if
  135.               if word the mouseWord of field 48 = "NO" then
  136.                 set ARTThisword to the mouseWord
  137.                 set the foreColor of word ARTThisword of field 48 to 0
  138.                 repeat while word the mouseWord of field 48 = "NO"
  139.                   if the mouseDown then
  140.                     set ARTYesOrCancel to 2
  141.                     exit repeat
  142.                     updateStage()
  143.                   end if
  144.                 end repeat
  145.                 set the foreColor of word ARTThisword of field 48 to 255
  146.               end if
  147.               if ARTYesOrCancel > 0 then
  148.                 exit repeat
  149.               else
  150.                 if (the mouseCast <> 48) and the mouseDown then
  151.                   beep()
  152.                 end if
  153.               end if
  154.               next repeat
  155.             end if
  156.             if the mouseUp then
  157.               set ARTNETUP to 1
  158.             end if
  159.           end repeat
  160.           set ARTNETUP to 0
  161.           if ARTYesOrCancel = 2 then
  162.             set the locH of sprite 36 to 2000
  163.             updateStage()
  164.             repeat while the mouseDown
  165.             end repeat
  166.           else
  167.             set the castNum of sprite 36 to 52
  168.             set the locH of sprite 36 to 225
  169.             set the locV of sprite 36 to 210
  170.             updateStage()
  171.             repeat while the mouseDown
  172.             end repeat
  173.             StartBrowserAcrobat("XENOS\" & "XENOS.pdf")
  174.           end if
  175.         end if
  176.       end if
  177.     end if
  178.     if not rollOver(22) then
  179.       set ARTLitNet to 4
  180.       set the castNum of sprite 22 to the castNum of sprite 22 - 1
  181.     end if
  182.   end if
  183. end
  184.