home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1996 August / WPCAUG96.ISO / refwaug.dxr / 00047_REFCheckBrowser.ls < prev    next >
Encoding:
Text File  |  1996-06-14  |  823 b   |  33 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 206
  12.         set the locV of sprite 36 to 202
  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 not BrowserRunning() then
  24.     set the locH of sprite 36 to 2000
  25.     set the locV of sprite 36 to 2000
  26.     updateStage()
  27.     set IFLBrowsercounter to 0
  28.     set browserID to 0
  29.     set IFLMistake to 0
  30.     set REFAcro to 0
  31.   end if
  32. end
  33.