home *** CD-ROM | disk | FTP | other *** search
/ Seeker / Seeker.iso / files_w / sound.dir / 00036.ls < prev    next >
Encoding:
Text File  |  1994-12-10  |  978 b   |  40 lines

  1. on mouseDown
  2.   global selectspnum
  3.   button()
  4.   set title to EMPTY
  5.   if selectspnum = 9 then
  6.     set title to "CIMEMA1.AIF"
  7.   else
  8.     if selectspnum = 10 then
  9.       set title to "CIMEMA2.AIF"
  10.     else
  11.       if selectspnum = 11 then
  12.         set title to "OPENING.AIF"
  13.       else
  14.         if selectspnum = 12 then
  15.           set title to "OPENING2.AIF"
  16.         else
  17.           if selectspnum = 13 then
  18.             set title to "ENDING.AIF"
  19.           else
  20.             if selectspnum = 14 then
  21.               set title to "MAP.AIF"
  22.             else
  23.               if selectspnum = 15 then
  24.                 set title to "PHOTO.AIF"
  25.               else
  26.                 if selectspnum = 16 then
  27.                   set title to "DUNGEON.AIF"
  28.                 end if
  29.               end if
  30.             end if
  31.           end if
  32.         end if
  33.       end if
  34.     end if
  35.   end if
  36.   sound playFile 1, pathName() & "AIFF\" & title
  37.   set the type of sprite 18 to 16
  38.   set the castNum of sprite 18 to 29
  39. end
  40.