home *** CD-ROM | disk | FTP | other *** search
/ תקליטור אוסף מעל 200 משחקים מרתקים / over-200-games-micro-a-media.iso / CONNECTD / 05DD.DXR / 00416.ls < prev    next >
Encoding:
Text File  |  1996-01-12  |  1.2 KB  |  43 lines

  1. on exitFrame
  2.   global ram, invOn, level, invCurs, invMask, plz1Door, plz2Door, cyd2Door, cyd4Door, cyd7Door
  3.   if (the mouseCast = the number of cast "exitL") or (the mouseCast = the number of cast "exitL.alt") then
  4.     cursor([2, 3])
  5.     updateStage()
  6.   else
  7.     if (the mouseCast = the number of cast "exitR") or (the mouseCast = the number of cast "exitR.alt") then
  8.       cursor([4, 5])
  9.       updateStage()
  10.     else
  11.       if (the mouseCast = the number of cast "forward") and (invOn = 0) then
  12.         cursor([6, 7])
  13.         updateStage()
  14.       else
  15.         if the mouseCast = the number of cast "back" then
  16.           cursor([8, 9])
  17.           updateStage()
  18.         else
  19.           if the mouseCast = the number of cast "do" then
  20.             if invOn = 1 then
  21.               cursor([invCurs, invMask])
  22.             else
  23.               cursor([10, 11])
  24.             end if
  25.             updateStage()
  26.           else
  27.             if invOn = 0 then
  28.               cursor(0)
  29.               updateStage()
  30.             else
  31.               if invOn = 1 then
  32.                 cursor([invCurs, invMask])
  33.                 updateStage()
  34.               end if
  35.             end if
  36.           end if
  37.         end if
  38.       end if
  39.     end if
  40.   end if
  41.   go(the frame)
  42. end
  43.