home *** CD-ROM | disk | FTP | other *** search
- _root.game.onEnterFrame = _global.cameraLogic;
- _root.game.player.onEnterFrame = _global.playerLogic;
- _root.game.level.pit.onEnterFrame = _global.pitLogic;
- for(n in _root.game)
- {
- if(n.substring(0,7) == "item_br")
- {
- _root.game[n].onEnterFrame = _global.itemLogic;
- }
- }
- stop();
- _root.gravity = 5;
- _root.globalGravity = 5;
- _root.FPS = 0;
- _root.fpsSet = false;
- _root.frameCount = 0;
- _root.gotoLast = "level1a";
- _root.camDelay = 0;
- _root.camHeight = 150;
- _root.camJump = 1.25;
- _root.camMin = -1350;
- _root.camMax = 7650;
- _root.camZoom = 100;
- _root.camOffset = 0;
- _root.playerDx = 0;
- _root.playerDy = 0;
- _root.playerDir = 1;
- _root.playerSpeed = 19;
- _root.playerWalkSpeed = 6;
- _root.playerState = "fall";
- _root.playerJumping = true;
- _root.playerAttacking = false;
- _root.playerShooting = false;
- _root.playerSwinging = false;
- _root.playerLives = 3;
- _root.playerHealth = 100;
- _root.playerInvincible = false;
- _root.playerStrength = 10;
- _root.playerHeight = 75;
- _root.playerWidth = 50;
- _root.weaponCount = 1000;
- _root.currentWeapon = "batarang";
- _root.comboMeter = false;
- _root.bgScroll = 6;
- _root.key_z = false;
- _root.key_x = false;
- _root.key_c = false;
-