home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1996 February / PCWK0296.iso / autodesk / autodesk.exe / autodesk.DXR / 00082.ls < prev    next >
Encoding:
Text File  |  1994-12-17  |  629 b   |  26 lines

  1. on enterFrame
  2.   global gDemoRun, gHistoryRun, gSaveTheSoundEnabled
  3.   if gDemoRun then
  4.     set the soundEnabled to gSaveTheSoundEnabled
  5.     if the soundEnabled then
  6.       puppetSound("martin")
  7.     end if
  8.   end if
  9.   if gHistoryRun then
  10.     set gHistoryRun to 0
  11.     puppetSound("martin")
  12.   end if
  13.   set gDemoRun to 0
  14.   puppetSprite(30, 1)
  15.   if the soundEnabled then
  16.     if the castNum of sprite 30 <> 112 then
  17.       set the castNum of sprite 30 to 112
  18.     end if
  19.   else
  20.     if the castNum of sprite 30 <> 122 then
  21.       set the castNum of sprite 30 to 122
  22.     end if
  23.   end if
  24.   preLoad(label("MainMenu"), label("MainMenu") + 4)
  25. end
  26.