home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Acao / batman_cobble.swf / scripts / frame_20 / DoAction.as < prev   
Encoding:
Text File  |  2006-06-13  |  1.2 KB  |  48 lines

  1. _root.game.onEnterFrame = _global.cameraLogic;
  2. _root.game.player.onEnterFrame = _global.playerLogic;
  3. _root.game.level.pit.onEnterFrame = _global.pitLogic;
  4. for(n in _root.game)
  5. {
  6.    if(n.substring(0,7) == "item_br")
  7.    {
  8.       _root.game[n].onEnterFrame = _global.itemLogic;
  9.    }
  10. }
  11. stop();
  12. _root.gravity = 5;
  13. _root.globalGravity = 5;
  14. _root.FPS = 0;
  15. _root.fpsSet = false;
  16. _root.frameCount = 0;
  17. _root.gotoLast = "level1a";
  18. _root.camDelay = 0;
  19. _root.camHeight = 150;
  20. _root.camJump = 1.25;
  21. _root.camMin = -1350;
  22. _root.camMax = 7650;
  23. _root.camZoom = 100;
  24. _root.camOffset = 0;
  25. _root.playerDx = 0;
  26. _root.playerDy = 0;
  27. _root.playerDir = 1;
  28. _root.playerSpeed = 19;
  29. _root.playerWalkSpeed = 6;
  30. _root.playerState = "fall";
  31. _root.playerJumping = true;
  32. _root.playerAttacking = false;
  33. _root.playerShooting = false;
  34. _root.playerSwinging = false;
  35. _root.playerLives = 3;
  36. _root.playerHealth = 100;
  37. _root.playerInvincible = false;
  38. _root.playerStrength = 10;
  39. _root.playerHeight = 75;
  40. _root.playerWidth = 50;
  41. _root.weaponCount = 1000;
  42. _root.currentWeapon = "batarang";
  43. _root.comboMeter = false;
  44. _root.bgScroll = 6;
  45. _root.key_z = false;
  46. _root.key_x = false;
  47. _root.key_c = false;
  48.