home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Today - The Disc! 22 / cdrt22.iso / pc / bugbook / puzzle.dir / 00054_Script_54 < prev    next >
Text File  |  1995-06-26  |  722b  |  37 lines

  1. on mouseDown
  2.   global returnTo
  3.   set currH = the mouseh
  4.   if (currH < 45) then
  5.     -- help button
  6.     ansonOff()
  7.     questionDown()
  8.     set the timeoutScript to EMPTY
  9.     put the frame into returnTo
  10.     go "helpGame"
  11.   else
  12.     
  13.     if (currH < 138) and (currH>65) then
  14.       -- Anson button
  15.       global ansonTalking,soundList,helpPhrasesGame
  16.       
  17.       if (ansonTalking) then
  18.         ansonOff()
  19.         sound stop 1
  20.         sound stop 2
  21.         set ansonTalking = FALSE
  22.         
  23.         
  24.         
  25.       else
  26.         sound stop 1
  27.         sound stop 2
  28.         set soundList = helpPhrasesGame
  29.         set ansonTalking = TRUE
  30.         
  31.       end if
  32.       
  33.     end if
  34.     
  35.   end if
  36.   
  37. end