home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / testsoft / muzea / exemusei / shared.cst / 00925_Script_RoANI < prev    next >
Text File  |  1987-04-12  |  660b  |  28 lines

  1. on RoAni R, A, B, C, cC
  2.   cursore
  3.   put 0 into FLAG
  4.   set the castNum of sprite C to the number of cast cC
  5.   put the locH of sprite A into hA
  6.   put the locH of sprite B into hB
  7.   repeat with k = 1 to 4
  8.     set the locH of sprite A = hA-K*10
  9.     set the locH of sprite B = hB+K*10
  10.     updatestage
  11.   end repeat  
  12.   repeat while rollover(R)
  13.     if the mousedown then
  14.       suonainterruttore
  15.       put 1 into FLAG
  16.       exit repeat
  17.     end if
  18.   end repeat
  19.   if flag <> 1 then
  20.     repeat with k = 2 down to 1
  21.       set the locH of sprite A = hA-k*20
  22.       set the locH of sprite B = hB+k*20
  23.       updatestage
  24.     end repeat
  25.   end if
  26. end
  27.  
  28.