home *** CD-ROM | disk | FTP | other *** search
/ Asymetrix Demo / Asymetrix.iso / vbooks / dem_data / shared.dir / 00800.ls next >
Encoding:
Text File  |  1994-11-30  |  401 b   |  27 lines

  1. on pPlayMySound theSound
  2.   puppetSound(theSound)
  3.   updateStage()
  4.   repeat while soundBusy(1) = 1
  5.     nothing()
  6.   end repeat
  7.   puppetSound(0)
  8. end
  9.  
  10. on pStartMySound theSound
  11.   puppetSound(theSound)
  12.   updateStage()
  13. end
  14.  
  15. on pEndMySound
  16.   repeat while soundBusy(1) = 1
  17.     nothing()
  18.   end repeat
  19.   puppetSound(0)
  20. end
  21.  
  22. on pWait nticks
  23.   set the timer to 0
  24.   repeat while the timer < nticks
  25.   end repeat
  26. end
  27.