home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1996 July / WPCJUL96.ISO / file.exe / REFFINJ.DXR / 00047_REFCheckBrowser.ls < prev    next >
Encoding:
Text File  |  1996-05-15  |  1.4 KB  |  55 lines

  1. on REFCheckBrowser
  2.   global browserID, IFLBrowsercounter, IFLMistake, GTSWIN95, REFAcro
  3.   repeat while BrowserRunning()
  4.     if the mouseUp then
  5.       if IFLMistake = 0 then
  6.         if REFAcro = 1 then
  7.           set the castNum of sprite 36 to 87
  8.         else
  9.           set the castNum of sprite 36 to 900
  10.         end if
  11.         set the locH of sprite 36 to 204
  12.         set the locV of sprite 36 to 165
  13.         updateStage()
  14.       end if
  15.       if REFAcro = 1 then
  16.         win_StopRunning(browserID)
  17.       else
  18.         StopBrowser()
  19.       end if
  20.       exit repeat
  21.     end if
  22.   end repeat
  23.   if BrowserRunning() then
  24.     set IFLMistake to 1
  25.     if GTSWIN95 = 1 then
  26.       if REFAcro = 1 then
  27.         set the castNum of sprite 36 to 85
  28.       else
  29.         set the castNum of sprite 36 to 82
  30.         set the locH of sprite 36 to 224
  31.         set the locV of sprite 36 to 52
  32.       end if
  33.       updateStage()
  34.     else
  35.       if REFAcro = 1 then
  36.         set the castNum of sprite 36 to 84
  37.       else
  38.         set the castNum of sprite 36 to 81
  39.         set the locH of sprite 36 to 224
  40.         set the locV of sprite 36 to 52
  41.       end if
  42.       updateStage()
  43.     end if
  44.   end if
  45.   if not BrowserRunning() then
  46.     set the locH of sprite 36 to 2000
  47.     set the locV of sprite 36 to 2000
  48.     updateStage()
  49.     set IFLBrowsercounter to 0
  50.     set browserID to 0
  51.     set IFLMistake to 0
  52.     set REFAcro to 0
  53.   end if
  54. end
  55.