home *** CD-ROM | disk | FTP | other *** search
/ Human & Space in Asia / ARIF_ASCI.ISO / pc / arif.dir / 00450.ls < prev    next >
Encoding:
Text File  |  1996-09-25  |  3.7 KB  |  128 lines

  1. on exitFrame
  2.   global oldsp, sayac, Castsayac, CursorSpr, ItsPC, BayrakSpeed
  3.   set firstsp to 2
  4.   set Secondsp to 13
  5.   set rolled to 0
  6.   repeat with RollCnt = 0 to 4
  7.     if rollOver(firstsp + RollCnt) then
  8.       if oldsp <> (Secondsp + RollCnt) then
  9.         if oldsp <> 0 then
  10.           set the visible of sprite oldsp to 0
  11.         end if
  12.         set the visible of sprite (Secondsp + RollCnt) to 1
  13.         set oldsp to Secondsp + RollCnt
  14.         set rolled to 1
  15.         exit repeat
  16.         next repeat
  17.       end if
  18.       set rolled to 1
  19.     end if
  20.   end repeat
  21.   if not rolled then
  22.     set the visible of sprite oldsp to 0
  23.     set oldsp to 0
  24.   end if
  25.   repeat while 1 < 2
  26.     if rollOver(18) then
  27.       set the castNum of sprite CursorSpr to the number of cast "CinIlk" + Castsayac
  28.       set sayac to sayac + 1
  29.       if (sayac mod BayrakSpeed) = 0 then
  30.         set Castsayac to Castsayac + 1
  31.       end if
  32.       if sayac > 10000 then
  33.         set sayac to 0
  34.       end if
  35.       if Castsayac > 2 then
  36.         set Castsayac to 0
  37.       end if
  38.       set the locH of sprite CursorSpr to the mouseH
  39.       set the locV of sprite CursorSpr to the mouseV
  40.       exit repeat
  41.     end if
  42.     if rollOver(21) then
  43.       set the castNum of sprite CursorSpr to the number of cast "HintIlk" + Castsayac
  44.       set sayac to sayac + 1
  45.       if (sayac mod BayrakSpeed) = 0 then
  46.         set Castsayac to Castsayac + 1
  47.       end if
  48.       if sayac > 10000 then
  49.         set sayac to 0
  50.       end if
  51.       if Castsayac > 2 then
  52.         set Castsayac to 0
  53.       end if
  54.       set the locH of sprite CursorSpr to the mouseH
  55.       set the locV of sprite CursorSpr to the mouseV
  56.       exit repeat
  57.     end if
  58.     if rollOver(23) then
  59.       set the castNum of sprite CursorSpr to the number of cast "IranIlk" + Castsayac
  60.       set sayac to sayac + 1
  61.       if (sayac mod BayrakSpeed) = 0 then
  62.         set Castsayac to Castsayac + 1
  63.       end if
  64.       if sayac > 10000 then
  65.         set sayac to 0
  66.       end if
  67.       if Castsayac > 2 then
  68.         set Castsayac to 0
  69.       end if
  70.       set the locH of sprite CursorSpr to the mouseH
  71.       set the locV of sprite CursorSpr to the mouseV
  72.       exit repeat
  73.     end if
  74.     if rollOver(19) then
  75.       set the castNum of sprite CursorSpr to the number of cast "MongolyaIlk" + Castsayac
  76.       set sayac to sayac + 1
  77.       if (sayac mod BayrakSpeed) = 0 then
  78.         set Castsayac to Castsayac + 1
  79.       end if
  80.       if sayac > 10000 then
  81.         set sayac to 0
  82.       end if
  83.       if Castsayac > 2 then
  84.         set Castsayac to 0
  85.       end if
  86.       set the locH of sprite CursorSpr to the mouseH
  87.       set the locV of sprite CursorSpr to the mouseV
  88.       exit repeat
  89.     end if
  90.     if rollOver(20) then
  91.       set the castNum of sprite CursorSpr to the number of cast "NepalIlk" + Castsayac
  92.       set sayac to sayac + 1
  93.       if (sayac mod BayrakSpeed) = 0 then
  94.         set Castsayac to Castsayac + 1
  95.       end if
  96.       if sayac > 10000 then
  97.         set sayac to 0
  98.       end if
  99.       if Castsayac > 2 then
  100.         set Castsayac to 0
  101.       end if
  102.       set the locH of sprite CursorSpr to the mouseH
  103.       set the locV of sprite CursorSpr to the mouseV
  104.       exit repeat
  105.     end if
  106.     if rollOver(22) then
  107.       set the castNum of sprite CursorSpr to the number of cast "PakistanIlk" + Castsayac
  108.       set sayac to sayac + 1
  109.       if (sayac mod BayrakSpeed) = 0 then
  110.         set Castsayac to Castsayac + 1
  111.       end if
  112.       if sayac > 10000 then
  113.         set sayac to 0
  114.       end if
  115.       if Castsayac > 2 then
  116.         set Castsayac to 0
  117.       end if
  118.       set the locH of sprite CursorSpr to the mouseH
  119.       set the locV of sprite CursorSpr to the mouseV
  120.       exit repeat
  121.     end if
  122.     set the castNum of sprite CursorSpr to the number of cast "Bo┬ü Bayrak"
  123.     set sayac to 0
  124.     exit repeat
  125.   end repeat
  126.   go(the frame)
  127. end
  128.