home *** CD-ROM | disk | FTP | other *** search
/ LAUNCH 3 / LAUNCH.BIN / pc / sony / highdes.dir / 00028_Script_28 < prev    next >
Text File  |  1995-06-07  |  761b  |  32 lines

  1. --rollover alien main
  2.  
  3. on enterframe
  4.   ALIENROLL
  5. end
  6.  
  7. on exitframe
  8.   go the frame
  9. end
  10.  
  11. --------
  12.  
  13. on ALIENROLL
  14.   if rollover(13) then --rollover the rectangular sprite area
  15.     if the mouseCast = the castNum of sprite 13 then --rollover the matted sprite area
  16.        set the locH of sprite(13) to (the locH of sprite(13) + 5)
  17.       updatestage
  18.       set the locH of sprite(13) to (the locH of sprite(13) - 5)
  19.       updatestage
  20.       exit
  21.     end if
  22.   else if rollover(14) then
  23.     if the mouseCast = the castNum of sprite 14 then
  24.       set the locV of sprite(14) to (the locV of sprite(14) + 5)
  25.       updatestage
  26.       set the locV of sprite(14) to (the locV of sprite(14) - 5)
  27.       updatestage
  28.       exit
  29.     end if
  30.   end if
  31. end
  32.