home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Estrategia / scooby.swf / scripts / frame_1 / DoAction_2.as next >
Encoding:
Text File  |  2006-06-13  |  509 b   |  31 lines

  1. function getScore()
  2. {
  3.    return gameMC.gScore;
  4. }
  5. function showDebugWindow()
  6. {
  7.    gameMC.debug_clip.showDebug();
  8. }
  9. function hideDebugWindow()
  10. {
  11.    gameMC.debug_clip.hideDebug();
  12. }
  13. function pause()
  14. {
  15.    gameMC.gPaused = true;
  16. }
  17. function unPause()
  18. {
  19.    gameMC.gPaused = false;
  20. }
  21. function restart()
  22. {
  23.    containerMC.resetContainer();
  24.    containerMC.init();
  25.    gameMC.gScore = 0;
  26.    gameMC.gLevel = 1;
  27.    gameMC.gTotalMin = 0;
  28.    gameMC.gTotalSec = 0;
  29.    gameMC.gSkipState = false;
  30. }
  31.