home *** CD-ROM | disk | FTP | other *** search
/ LAUNCH 3 / LAUNCH.BIN / pc / sony / mainmov.dir / 00022_Script_22 < prev    next >
Text File  |  1995-06-07  |  610b  |  28 lines

  1. --features loop, rollover
  2.  
  3. on exitFrame
  4.   CHECKMAPROLL
  5.   go the frame
  6. end
  7.  
  8. on CHECKMAPROLL
  9.   global gDesertRoll
  10.   
  11.   if rollover(10) then --rollover the rectangular sprite area
  12.     if the mouseCast = the castNum of sprite(10) then --rollover the matted sprite area
  13.       set gDesertRoll = 10
  14.       go "HighDesMap"
  15.       exit
  16.     end if
  17.   end if
  18.   
  19.   if rollover(11) then --rollover the rectangular sprite area
  20.     if the mouseCast = the castNum of sprite(11) then --rollover the matted sprite area
  21.       set gDesertRoll = 11
  22.       go "ShangMap"
  23.       exit
  24.     end if
  25.   end if
  26.   
  27. end
  28.