home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1997: Best New Mac Games / Image(3).iso / Games / Grossology / demo.dxr / Zits_32.ls < prev    next >
Encoding:
Text File  |  1997-07-31  |  386 b   |  23 lines

  1. on mouseUp
  2.   global nagyito, animsprite
  3.   set x to the mouseH
  4.   set y to the mouseV
  5.   set ax to the locH of sprite animsprite
  6.   set ay to the locV of sprite animsprite
  7.   if (abs(ax - x) < 100) and (abs(ay - y) < 100) then
  8.     nagyitorabok()
  9.   else
  10.     set nagyito to 0
  11.     sound stop 1
  12.   end if
  13. end
  14.  
  15. on enterFrame
  16.   NagyitoKezel()
  17. end
  18.  
  19. on exitFrame
  20.   HotspotKezel()
  21.   go(the frame)
  22. end
  23.