Section 1
//bg2_far_super_195 (Game_fla.bg2_far_super_195)
package Game_fla {
import flash.display.*;
public dynamic class bg2_far_super_195 extends MovieClip {
public function bg2_far_super_195(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
try {
this.x = (-(parent.parent.x) / 3);
} catch(e) {
};
}
function frame2(){
try {
this.x = (-(parent.parent.x) / 3);
} catch(e) {
};
}
}
}//package Game_fla
Section 2
//bg3_far_super_199 (Game_fla.bg3_far_super_199)
package Game_fla {
import flash.display.*;
public dynamic class bg3_far_super_199 extends MovieClip {
public function bg3_far_super_199(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
try {
this.x = (-(parent.parent.x) / 3);
} catch(e) {
};
}
function frame2(){
try {
this.x = (-(parent.parent.x) / 3);
} catch(e) {
};
}
}
}//package Game_fla
Section 3
//Cube_Crouch_223 (Game_fla.Cube_Crouch_223)
package Game_fla {
import flash.display.*;
public dynamic class Cube_Crouch_223 extends MovieClip {
public function Cube_Crouch_223(){
addFrameScript(8, frame9);
}
function frame9(){
stop();
}
}
}//package Game_fla
Section 4
//Cube_Death_258 (Game_fla.Cube_Death_258)
package Game_fla {
import flash.display.*;
public dynamic class Cube_Death_258 extends MovieClip {
public function Cube_Death_258(){
addFrameScript(15, frame16);
}
function frame16(){
stop();
}
}
}//package Game_fla
Section 5
//Cube_DeathPixel_259 (Game_fla.Cube_DeathPixel_259)
package Game_fla {
import flash.display.*;
public dynamic class Cube_DeathPixel_259 extends MovieClip {
public function Cube_DeathPixel_259(){
addFrameScript(10, frame11);
}
function frame11(){
stop();
}
}
}//package Game_fla
Section 6
//Cube_Grapple_HammerGirl_243 (Game_fla.Cube_Grapple_HammerGirl_243)
package Game_fla {
import flash.display.*;
public dynamic class Cube_Grapple_HammerGirl_243 extends MovieClip {
public function Cube_Grapple_HammerGirl_243(){
addFrameScript(16, frame17, 49, frame50);
}
function frame17(){
var _local1 = parent.parent["master"];
_local1["playSound"]("SFX_SkullCrush");
}
function frame50(){
trace("END GRAPPLING");
parent.parent["grappling"] = false;
}
}
}//package Game_fla
Section 7
//Cube_Grapple_MetalHammer_248 (Game_fla.Cube_Grapple_MetalHammer_248)
package Game_fla {
import flash.display.*;
public dynamic class Cube_Grapple_MetalHammer_248 extends MovieClip {
public function Cube_Grapple_MetalHammer_248(){
addFrameScript(16, frame17, 49, frame50);
}
function frame17(){
var _local1 = parent.parent["master"];
_local1["playSound"]("SFX_SkullCrush");
}
function frame50(){
trace("END GRAPPLING");
parent.parent["grappling"] = false;
}
}
}//package Game_fla
Section 8
//Cube_GrappleMiss_242 (Game_fla.Cube_GrappleMiss_242)
package Game_fla {
import flash.display.*;
public dynamic class Cube_GrappleMiss_242 extends MovieClip {
public function Cube_GrappleMiss_242(){
addFrameScript(15, frame16);
}
function frame16(){
trace("END GRAPPLING");
parent.parent["grappling"] = false;
}
}
}//package Game_fla
Section 9
//Cube_Jump1_224 (Game_fla.Cube_Jump1_224)
package Game_fla {
import flash.display.*;
public dynamic class Cube_Jump1_224 extends MovieClip {
public function Cube_Jump1_224(){
addFrameScript(6, frame7);
}
function frame7(){
stop();
}
}
}//package Game_fla
Section 10
//Cube_Jump2_225 (Game_fla.Cube_Jump2_225)
package Game_fla {
import flash.display.*;
public dynamic class Cube_Jump2_225 extends MovieClip {
public function Cube_Jump2_225(){
addFrameScript(9, frame10);
}
function frame10(){
stop();
}
}
}//package Game_fla
Section 11
//Cube_LedgeClimb2_241 (Game_fla.Cube_LedgeClimb2_241)
package Game_fla {
import flash.display.*;
public dynamic class Cube_LedgeClimb2_241 extends MovieClip {
public function Cube_LedgeClimb2_241(){
addFrameScript(18, frame19);
}
function frame19(){
parent.parent["climbing"] = false;
parent.parent["endclimb"] = true;
stop();
}
}
}//package Game_fla
Section 12
//Cube_LowKick_EX_S_237 (Game_fla.Cube_LowKick_EX_S_237)
package Game_fla {
import flash.display.*;
public dynamic class Cube_LowKick_EX_S_237 extends MovieClip {
public function Cube_LowKick_EX_S_237(){
addFrameScript(7, frame8);
}
function frame8(){
trace("END KICK");
parent.parent["kicking"] = false;
}
}
}//package Game_fla
Section 13
//Cube_PU_CTF_Punch_229 (Game_fla.Cube_PU_CTF_Punch_229)
package Game_fla {
import flash.events.*;
import flash.filters.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class Cube_PU_CTF_Punch_229 extends MovieClip {
public function Cube_PU_CTF_Punch_229(){
addFrameScript(1, frame2, 11, frame12, 30, frame31);
}
function frame12(){
parent.parent["master"].unpauseWorld();
}
function frame2(){
parent.parent["master"].playSound("SFX_Falcon_punch", 1, 0.8);
parent.parent["master"].pauseWorld();
}
function frame31(){
trace("END PUNCH");
parent.parent["punching"] = false;
}
}
}//package Game_fla
Section 14
//Cube_Punch_EX_226 (Game_fla.Cube_Punch_EX_226)
package Game_fla {
import flash.display.*;
public dynamic class Cube_Punch_EX_226 extends MovieClip {
public function Cube_Punch_EX_226(){
addFrameScript(10, frame11);
}
function frame11(){
trace("END PUNCH");
parent.parent["punching"] = false;
}
}
}//package Game_fla
Section 15
//Cube_Stealth_215 (Game_fla.Cube_Stealth_215)
package Game_fla {
import flash.display.*;
public dynamic class Cube_Stealth_215 extends MovieClip {
public function Cube_Stealth_215(){
addFrameScript(13, frame14);
}
function frame14(){
stop();
}
}
}//package Game_fla
Section 16
//Cube_UpperCut_238 (Game_fla.Cube_UpperCut_238)
package Game_fla {
import flash.display.*;
public dynamic class Cube_UpperCut_238 extends MovieClip {
public function Cube_UpperCut_238(){
addFrameScript(14, frame15);
}
function frame15(){
trace("END UPPERCUT");
parent.parent["uppercutting"] = false;
}
}
}//package Game_fla
Section 17
//Enemy_DDLLEGS_Attack_139 (Game_fla.Enemy_DDLLEGS_Attack_139)
package Game_fla {
import flash.display.*;
public dynamic class Enemy_DDLLEGS_Attack_139 extends MovieClip {
public function Enemy_DDLLEGS_Attack_139(){
addFrameScript(0, frame1, 4, frame5, 9, frame10, 11, frame12, 14, frame15, 18, frame19, 19, frame20, 20, frame21, 24, frame25, 29, frame30, 34, frame35, 35, frame36, 39, frame40, 44, frame45, 47, frame48, 68, frame69, 71, frame72, 74, frame75, 79, frame80, 84, frame85);
}
function frame72(){
parent.parent["walkspeed"] = 0;
}
function frame75(){
var _local1 = parent.parent["master"];
_local1["doAttack"](parent.parent);
}
function frame80(){
var _local1 = parent.parent["master"];
_local1["doAttack"](parent.parent);
}
function frame85(){
var _local1 = parent.parent["master"];
_local1["doAttack"](parent.parent);
}
function frame10(){
var _local1 = parent.parent["master"];
_local1["doAttack"](parent.parent);
}
function frame12(){
parent.parent["walkspeed"] = 10;
}
function frame15(){
var _local1 = parent.parent["master"];
_local1["doAttack"](parent.parent);
}
function frame1(){
parent.parent["walkspeed"] = 0;
}
function frame19(){
parent.parent["walkspeed"] = 0;
}
function frame25(){
var _local1 = parent.parent["master"];
_local1["doAttack"](parent.parent);
}
function frame5(){
var _local1 = parent.parent["master"];
_local1["playEnemySound"](parent.parent, "SFX_HeavyFoot");
_local1 = parent.parent["master"];
_local1["doAttack"](parent.parent);
}
function frame21(){
var _local1 = parent.parent["master"];
_local1["playEnemySound"](parent.parent, "SFX_HeavyFoot");
}
function frame20(){
var _local1 = parent.parent["master"];
_local1["doAttack"](parent.parent);
}
function frame30(){
var _local1 = parent.parent["master"];
_local1["doAttack"](parent.parent);
}
function frame36(){
parent.parent["walkspeed"] = 5;
}
function frame35(){
var _local1 = parent.parent["master"];
_local1["playEnemySound"](parent.parent, "SFX_HeavyFoot");
_local1 = parent.parent["master"];
_local1["doAttack"](parent.parent);
}
function frame40(){
var _local1 = parent.parent["master"];
_local1["doAttack"](parent.parent);
}
function frame48(){
var _local1 = parent.parent["master"];
_local1["playEnemySound"](parent.parent, "SFX_HeavyFoot");
}
function frame45(){
var _local1 = parent.parent["master"];
_local1["doAttack"](parent.parent);
parent.parent["walkspeed"] = 0;
}
function frame69(){
var _local1 = parent.parent["master"];
_local1["playEnemySound"](parent.parent, "SFX_HeavyFoot");
_local1 = parent.parent["master"];
_local1["doAttack"](parent.parent);
parent.parent["walkspeed"] = 20;
}
}
}//package Game_fla
Section 18
//Enemy_DDLLEGS_Defeat_141 (Game_fla.Enemy_DDLLEGS_Defeat_141)
package Game_fla {
import flash.display.*;
public dynamic class Enemy_DDLLEGS_Defeat_141 extends MovieClip {
public function Enemy_DDLLEGS_Defeat_141(){
addFrameScript(1, frame2, 44, frame45);
}
function frame2(){
var _local1 = parent.parent["master"];
_local1["playEnemySound"](parent.parent, "SFX_Castrated");
}
function frame45(){
stop();
parent.parent["deathdone"] = true;
}
}
}//package Game_fla
Section 19
//Enemy_DDLLEGS_Hit_142 (Game_fla.Enemy_DDLLEGS_Hit_142)
package Game_fla {
import flash.display.*;
public dynamic class Enemy_DDLLEGS_Hit_142 extends MovieClip {
public function Enemy_DDLLEGS_Hit_142(){
addFrameScript(10, frame11);
}
function frame11(){
stop();
}
}
}//package Game_fla
Section 20
//Enemy_HammerBoy_Attack_126 (Game_fla.Enemy_HammerBoy_Attack_126)
package Game_fla {
import flash.display.*;
public dynamic class Enemy_HammerBoy_Attack_126 extends MovieClip {
public function Enemy_HammerBoy_Attack_126(){
addFrameScript(4, frame5);
}
function frame5(){
var _local1 = parent.parent["master"];
_local1["playEnemySound"](parent.parent, "SFX_Whoosh", 1, 0.2);
_local1 = parent.parent["master"];
_local1["doAttack"](parent.parent);
}
}
}//package Game_fla
Section 21
//Enemy_HammerBoy_Defeatcopy_127 (Game_fla.Enemy_HammerBoy_Defeatcopy_127)
package Game_fla {
import flash.display.*;
public dynamic class Enemy_HammerBoy_Defeatcopy_127 extends MovieClip {
public function Enemy_HammerBoy_Defeatcopy_127(){
addFrameScript(15, frame16);
}
function frame16(){
stop();
}
}
}//package Game_fla
Section 22
//Enemy_HammerGirl_Attack_147 (Game_fla.Enemy_HammerGirl_Attack_147)
package Game_fla {
import flash.display.*;
public dynamic class Enemy_HammerGirl_Attack_147 extends MovieClip {
public function Enemy_HammerGirl_Attack_147(){
addFrameScript(4, frame5);
}
function frame5(){
var _local1 = parent.parent["master"];
_local1["playEnemySound"](parent.parent, "SFX_Whoosh", 1, 0.2);
_local1 = parent.parent["master"];
_local1["doAttack"](parent.parent);
}
}
}//package Game_fla
Section 23
//Enemy_HammerGirl_Defeat_151 (Game_fla.Enemy_HammerGirl_Defeat_151)
package Game_fla {
import flash.display.*;
public dynamic class Enemy_HammerGirl_Defeat_151 extends MovieClip {
public function Enemy_HammerGirl_Defeat_151(){
addFrameScript(16, frame17);
}
function frame17(){
stop();
parent.parent["deathdone"] = true;
}
}
}//package Game_fla
Section 24
//Enemy_HammerGirl_LookAround_154 (Game_fla.Enemy_HammerGirl_LookAround_154)
package Game_fla {
import flash.display.*;
public dynamic class Enemy_HammerGirl_LookAround_154 extends MovieClip {
public function Enemy_HammerGirl_LookAround_154(){
addFrameScript(0, frame1);
}
function frame1(){
gotoAndPlay(Math.floor((Math.random() * 50)));
}
}
}//package Game_fla
Section 25
//Enemy_HammerGirl_Static_152 (Game_fla.Enemy_HammerGirl_Static_152)
package Game_fla {
import flash.display.*;
public dynamic class Enemy_HammerGirl_Static_152 extends MovieClip {
public function Enemy_HammerGirl_Static_152(){
addFrameScript(10, frame11);
}
function frame11(){
stop();
}
}
}//package Game_fla
Section 26
//ENEMY_HammerGirlGFX_146 (Game_fla.ENEMY_HammerGirlGFX_146)
package Game_fla {
import flash.display.*;
public dynamic class ENEMY_HammerGirlGFX_146 extends MovieClip {
public function ENEMY_HammerGirlGFX_146(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Game_fla
Section 27
//Enemy3_GFX_125 (Game_fla.Enemy3_GFX_125)
package Game_fla {
import flash.display.*;
public dynamic class Enemy3_GFX_125 extends MovieClip {
public function Enemy3_GFX_125(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Game_fla
Section 28
//Lever_Activate_265 (Game_fla.Lever_Activate_265)
package Game_fla {
import flash.display.*;
public dynamic class Lever_Activate_265 extends MovieClip {
public function Lever_Activate_265(){
addFrameScript(11, frame12);
}
function frame12(){
stop();
}
}
}//package Game_fla
Section 29
//LeverGFX_261 (Game_fla.LeverGFX_261)
package Game_fla {
import flash.display.*;
public dynamic class LeverGFX_261 extends MovieClip {
public var gfx:MovieClip;
public function LeverGFX_261(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Game_fla
Section 30
//MainTimeline (Game_fla.MainTimeline)
package Game_fla {
import flash.events.*;
import flash.filters.*;
import flash.media.*;
import flash.display.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.utils.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var bgmchannel:SoundChannel;
public var btnJam:SimpleButton;
public var lvlnum;
public var rainbow_blur:MovieClip;
public var cred:MovieClip;
public var rainbow_noblur:MovieClip;
public var btnSkip:MovieClip;
public var btnCredits:SimpleButton;
public var btnPlay:SimpleButton;
public var levelBGM;
public var maxlevel;
public var bgm;
public var settingMusicVol;
public var ge;
public function MainTimeline(){
addFrameScript(1, frame2, 5, frame6, 34, frame35, 776, frame777, 777, frame778, 778, frame779, 806, frame807, 2494, frame2495);
}
public function goJam(_arg1){
var url:String;
var request:URLRequest;
var e = _arg1;
url = "http://newgrounds.com/collection/nggamejam6";
request = new URLRequest(url);
try {
navigateToURL(request, "_blank");
} catch(e:Error) {
trace("Error occurred!");
};
}
public function setVolume(_arg1, _arg2:Number):void{
var _local3:SoundTransform;
_local3 = _arg1.soundTransform;
_local3.volume = _arg2;
_arg1.soundTransform = _local3;
}
public function setMusicVolume(_arg1){
setVolume(bgmchannel, _arg1);
}
public function overButton(_arg1){
playSound("SFX_Click");
}
public function goPlay(_arg1){
removeAllListeners();
play();
}
public function skipIntro(_arg1){
unlisten();
gotoAndPlay(1, "s1");
}
function frame6(){
stop();
btnJam.addEventListener(MouseEvent.CLICK, goJam);
btnPlay.addEventListener(MouseEvent.CLICK, goPlay);
btnCredits.addEventListener(MouseEvent.CLICK, showCredits);
cred.addEventListener(MouseEvent.CLICK, hideCredits);
btnPlay.addEventListener(MouseEvent.MOUSE_OVER, overButton);
btnCredits.addEventListener(MouseEvent.MOUSE_OVER, overButton);
}
public function removeAllListeners(){
btnJam.removeEventListener(MouseEvent.CLICK, goJam);
btnPlay.removeEventListener(MouseEvent.CLICK, goPlay);
btnCredits.removeEventListener(MouseEvent.CLICK, showCredits);
cred.removeEventListener(MouseEvent.CLICK, hideCredits);
btnPlay.removeEventListener(MouseEvent.MOUSE_OVER, overButton);
btnCredits.removeEventListener(MouseEvent.MOUSE_OVER, overButton);
}
function frame2(){
cred.visible = false;
}
public function playMusic(_arg1){
var bgmname = _arg1;
if (levelBGM == bgmname){
return (false);
};
try {
bgmchannel.stop();
} catch(e) {
};
levelBGM = bgmname;
bgm = new (getDefinitionByName(bgmname));
trace("IN STAGE PLAY MUSIC", bgm);
bgmchannel = bgm.play();
bgmchannel.addEventListener(Event.SOUND_COMPLETE, loopMusic);
setMusicVolume(settingMusicVol);
}
public function loadNextStage(){
if (ge != null){
removeChild(ge);
ge = null;
};
if (lvlnum > maxlevel){
bgmchannel.stop();
play();
return (false);
};
ge = new GameEngine();
addChild(ge);
ge.init(lvlnum);
lvlnum++;
}
public function unlisten(){
btnSkip.removeEventListener(MouseEvent.CLICK, skipIntro);
}
function frame35(){
btnSkip.addEventListener(MouseEvent.CLICK, skipIntro);
}
function frame807(){
stop();
}
function frame777(){
unlisten();
}
function frame779(){
loadNextStage();
}
public function playSound(_arg1, _arg2=1, _arg3=1){
var _local4:*;
var _local5:SoundChannel;
if (Math.random() < _arg2){
_local4 = new (getDefinitionByName(_arg1));
_local5 = _local4.play();
};
}
function frame778(){
rainbow_noblur.visible = false;
settingMusicVol = 0.3;
maxlevel = 7;
lvlnum = 1;
}
function frame2495(){
gotoAndPlay(1, "menu");
}
public function showCredits(_arg1){
cred.visible = true;
}
public function loopMusic(_arg1:Event):void{
if (bgmchannel != null){
bgmchannel.removeEventListener(Event.SOUND_COMPLETE, loopMusic);
playMusic(levelBGM);
};
}
public function hideCredits(_arg1){
cred.visible = false;
}
}
}//package Game_fla
Section 31
//PlayerGFX_203 (Game_fla.PlayerGFX_203)
package Game_fla {
import flash.display.*;
public dynamic class PlayerGFX_203 extends MovieClip {
public function PlayerGFX_203(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package Game_fla
Section 32
//SchoolWindows_192 (Game_fla.SchoolWindows_192)
package Game_fla {
import flash.display.*;
public dynamic class SchoolWindows_192 extends MovieClip {
public var clouds:MovieClip;
}
}//package Game_fla
Section 33
//Timeline_1 (Game_fla.Timeline_1)
package Game_fla {
import flash.events.*;
import flash.display.*;
import flash.net.*;
import flash.system.*;
public dynamic class Timeline_1 extends MovieClip {
public const FRAME_RATE_ADJUST:Boolean = true;
public const LOADER_FRAME_RATE:Number = 30;
public const AUTO_PLAY:Boolean = false;
public var bar:MovieClip;
public var ngButton:SimpleButton;
public var playButton:SimpleButton;
public var movieFrameRate:Number;
public var loadingComplete:Boolean;
public var initialized:Boolean;
public function Timeline_1(){
addFrameScript(0, frame1, 1, frame2);
}
public function init():void{
if (initialized){
return;
};
movieFrameRate = 0;
if (((FRAME_RATE_ADJUST) && (stage))){
movieFrameRate = stage.frameRate;
stage.frameRate = LOADER_FRAME_RATE;
};
initialized = true;
stop();
if (((root) && ((root is MovieClip)))){
MovieClip(root).stop();
};
loadingComplete = false;
ngButton.addEventListener(MouseEvent.CLICK, ngButtonClickHandler, false, 0, true);
addEventListener(Event.ENTER_FRAME, enterFrameHandler, false, 0, true);
if (meetsVersion([9, 0, 28, 0])){
addEventListener(Event.REMOVED_FROM_STAGE, cleanup, false, 0, true);
};
enterFrameHandler();
}
public function enterFrameHandler(_arg1:Event=null):void{
var _local2:Number;
if (((((!(movieFrameRate)) && (FRAME_RATE_ADJUST))) && (stage))){
movieFrameRate = stage.frameRate;
stage.frameRate = LOADER_FRAME_RATE;
};
if (!loadingComplete){
_local2 = 0;
if (loaderInfo){
_local2 = (loaderInfo.bytesLoaded / loaderInfo.bytesTotal);
};
if (bar){
bar.scaleX = _local2;
};
if (_local2 == 1){
loadingComplete = true;
if (AUTO_PLAY){
startMovie();
} else {
gotoAndPlay("loaded");
};
};
};
}
public function meetsVersion(_arg1:Array):Boolean{
var _local2:Array;
var _local3:uint;
_local2 = String(Capabilities.version.split(" ")[1]).split(",");
_local3 = 0;
while (_local3 < _arg1.length) {
if (uint(_local2[_local3]) > _arg1[_local3]){
return (true);
};
if (uint(_local2[_local3]) < _arg1[_local3]){
return (false);
};
_local3++;
};
return (true);
}
public function playButtonClickHandler(_arg1:Event=null):void{
startMovie();
}
function frame1(){
initialized = false;
init();
}
function frame2(){
stop();
if (((playButton) && (!(playButton.hasEventListener(MouseEvent.CLICK))))){
playButton.addEventListener(MouseEvent.CLICK, playButtonClickHandler, false, 0, true);
};
}
public function ngButtonClickHandler(_arg1:Event):void{
navigateToURL(new URLRequest("http://www.newgrounds.com"), "_blank");
}
public function cleanup(_arg1:Event=null){
if (initialized){
ngButton.removeEventListener(MouseEvent.CLICK, ngButtonClickHandler);
removeEventListener(Event.ENTER_FRAME, enterFrameHandler);
if (meetsVersion([9, 0, 28, 0])){
removeEventListener(Event.REMOVED_FROM_STAGE, cleanup);
};
if (movieFrameRate){
stage.frameRate = movieFrameRate;
movieFrameRate = 0;
};
};
initialized = false;
}
public function startMovie():void{
cleanup();
if (((root) && ((root is MovieClip)))){
MovieClip(root).play();
};
dispatchEvent(new Event(Event.COMPLETE));
}
}
}//package Game_fla
Section 34
//BABBLE1 (BABBLE1)
package {
import flash.media.*;
public dynamic class BABBLE1 extends Sound {
}
}//package
Section 35
//BABBLE2 (BABBLE2)
package {
import flash.media.*;
public dynamic class BABBLE2 extends Sound {
}
}//package
Section 36
//BABBLE3 (BABBLE3)
package {
import flash.media.*;
public dynamic class BABBLE3 extends Sound {
}
}//package
Section 37
//bg1 (bg1)
package {
import flash.display.*;
public dynamic class bg1 extends MovieClip {
}
}//package
Section 38
//bg1_far (bg1_far)
package {
import flash.display.*;
public dynamic class bg1_far extends MovieClip {
}
}//package
Section 39
//bg2 (bg2)
package {
import flash.display.*;
public dynamic class bg2 extends MovieClip {
}
}//package
Section 40
//bg2_far (bg2_far)
package {
import flash.display.*;
public dynamic class bg2_far extends MovieClip {
public var farsuper:MovieClip;
}
}//package
Section 41
//bg3 (bg3)
package {
import flash.display.*;
public dynamic class bg3 extends MovieClip {
}
}//package
Section 42
//bg3_far (bg3_far)
package {
import flash.display.*;
public dynamic class bg3_far extends MovieClip {
public var farsuper:MovieClip;
}
}//package
Section 43
//bg4 (bg4)
package {
import flash.display.*;
public dynamic class bg4 extends MovieClip {
}
}//package
Section 44
//bg5 (bg5)
package {
import flash.display.*;
public dynamic class bg5 extends MovieClip {
}
}//package
Section 45
//bg6 (bg6)
package {
import flash.display.*;
public dynamic class bg6 extends MovieClip {
}
}//package
Section 46
//bg7 (bg7)
package {
import flash.display.*;
public dynamic class bg7 extends MovieClip {
}
}//package
Section 47
//BGM_City (BGM_City)
package {
import flash.media.*;
public dynamic class BGM_City extends Sound {
}
}//package
Section 48
//BGM_Ending (BGM_Ending)
package {
import flash.media.*;
public dynamic class BGM_Ending extends Sound {
}
}//package
Section 49
//BGM_LastLevel (BGM_LastLevel)
package {
import flash.media.*;
public dynamic class BGM_LastLevel extends Sound {
}
}//package
Section 50
//BGM_MainTheme (BGM_MainTheme)
package {
import flash.media.*;
public dynamic class BGM_MainTheme extends Sound {
}
}//package
Section 51
//Bullet (Bullet)
package {
import flash.display.*;
public dynamic class Bullet extends MovieClip {
}
}//package
Section 52
//Door (Door)
package {
import flash.display.*;
public dynamic class Door extends MovieClip {
public function Door(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 53
//Enemy1 (Enemy1)
package {
import flash.display.*;
public dynamic class Enemy1 extends MovieClip {
public var gfx:MovieClip;
}
}//package
Section 54
//Enemy2 (Enemy2)
package {
import flash.display.*;
public dynamic class Enemy2 extends MovieClip {
public var gfx:MovieClip;
}
}//package
Section 55
//Enemy3 (Enemy3)
package {
import flash.display.*;
public dynamic class Enemy3 extends MovieClip {
public var gfx:MovieClip;
}
}//package
Section 56
//GameEngine (GameEngine)
package {
import flash.events.*;
import flash.filters.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
public class GameEngine extends MovieClip {
var bg_far;
var scr;
var enemies:Array;
var bg;
var gamestage:MovieClip;
var flickertimer:int;// = 0
var stageMinX;// = 50
var settingSFXVol;// = 1
var runspeed;// = 15
var levelBGM;// = "BGM_MainTheme"
var warpingout;// = false
var isdown:Array;
var fartype;// = 1
var player;
var opendoor;// = false
var togglequality;
var worldpaused:Boolean;// = false
var ledges:Array;
var isclear:Array;
var GROUND;// = 410
var lever;
var stageMaxX;// = 2770
var lifebar;
var playerHP;// = 3
var bullets:Array;
var actnum;// = 0
var door;
var drawledges:Boolean;// = false
static var HAMMER:uint = 1;
static var METAL:uint = 3;
static var DADDY:uint = 2;
public function GameEngine(){
playerHP = 3;
fartype = 1;
levelBGM = "BGM_MainTheme";
settingSFXVol = 1;
opendoor = false;
warpingout = false;
drawledges = false;
worldpaused = false;
actnum = 0;
runspeed = 15;
isdown = [];
isclear = [];
gamestage = new MovieClip();
stageMaxX = 2770;
stageMinX = 50;
GROUND = 410;
ledges = [];
enemies = [];
bullets = [];
flickertimer = 0;
super();
}
public function keyDownFunc(_arg1){
isdown[_arg1.keyCode] = true;
}
public function removeListeners(){
togglequality.removeEventListener(MouseEvent.CLICK, toggleQ);
removeEventListener(Event.ENTER_FRAME, frameFunc);
stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownFunc);
stage.removeEventListener(KeyboardEvent.KEY_UP, keyUpFunc);
}
private function setVolume(_arg1, _arg2:Number):void{
var _local3:SoundTransform;
_local3 = _arg1.soundTransform;
_local3.volume = _arg2;
_arg1.soundTransform = _local3;
}
public function initStage1(){
var _local1:*;
levelBGM = "BGM_MainTheme";
addDoor(1000, GROUND);
stageMaxX = 1200;
_local1 = 0;
enemies[_local1] = new Object();
enemies[_local1].type = HAMMER;
enemies[_local1].x = 1000;
enemies[_local1].y = (GROUND - 320);
_local1++;
}
public function initStage2(){
var _local1:*;
var _local2:*;
levelBGM = "BGM_MainTheme";
addDoor(1000, (GROUND - 300));
stageMaxX = 1200;
_local1 = 0;
enemies[_local1] = new Object();
enemies[_local1].type = HAMMER;
enemies[_local1].x = 100;
enemies[_local1].y = (GROUND - 310);
_local1++;
enemies[_local1] = new Object();
enemies[_local1].type = HAMMER;
enemies[_local1].x = 900;
enemies[_local1].y = (GROUND - 310);
_local1++;
_local2 = 0;
ledges[_local2] = new Object();
ledges[_local2].x = 0;
ledges[_local2].y = (GROUND - (150 * 2));
ledges[_local2].width = 400;
_local2++;
ledges[_local2] = new Object();
ledges[_local2].x = 600;
ledges[_local2].y = (GROUND - (150 * 1));
ledges[_local2].width = 200;
_local2++;
ledges[_local2] = new Object();
ledges[_local2].x = 800;
ledges[_local2].y = (GROUND - (150 * 2));
ledges[_local2].width = 400;
_local2++;
playSound("BABBLE1");
}
public function initStage3(){
var _local1:*;
var _local2:*;
levelBGM = "BGM_MainTheme";
addDoor(1700, (GROUND - 550));
stageMaxX = 1800;
_local1 = 0;
enemies[_local1] = new Object();
enemies[_local1].type = HAMMER;
enemies[_local1].x = 1150;
enemies[_local1].y = ((GROUND - (150 * 2)) - 10);
enemies[_local1].minX = (800 + 20);
enemies[_local1].maxX = ((800 - 20) + 500);
_local1++;
enemies[_local1] = new Object();
enemies[_local1].type = HAMMER;
enemies[_local1].x = 1500;
enemies[_local1].y = GROUND;
_local1++;
_local2 = 0;
ledges[_local2] = new Object();
ledges[_local2].x = 800;
ledges[_local2].y = (GROUND - (150 * 2));
ledges[_local2].width = 500;
_local2++;
ledges[_local2] = new Object();
ledges[_local2].x = 800;
ledges[_local2].y = ((GROUND - (150 * 3)) - 100);
ledges[_local2].width = 500;
_local2++;
ledges[_local2] = new Object();
ledges[_local2].x = 1600;
ledges[_local2].y = (GROUND - (150 * 1));
ledges[_local2].width = 400;
_local2++;
ledges[_local2] = new Object();
ledges[_local2].x = 1600;
ledges[_local2].y = (GROUND - (150 * 2));
ledges[_local2].width = 400;
_local2++;
ledges[_local2] = new Object();
ledges[_local2].x = 1600;
ledges[_local2].y = ((GROUND - (150 * 3)) - 100);
ledges[_local2].width = 400;
_local2++;
}
public function initStage5(){
var _local1:*;
levelBGM = "BGM_City";
addDoor(1200, GROUND);
stageMaxX = 1400;
_local1 = 0;
enemies[_local1] = new Object();
enemies[_local1].type = DADDY;
enemies[_local1].x = 1200;
enemies[_local1].y = GROUND;
_local1++;
}
public function initStage6(){
var _local1:*;
var _local2:*;
levelBGM = "BGM_City";
addDoor(2200, GROUND);
stageMaxX = 4400;
_local1 = 0;
enemies[_local1] = new Object();
enemies[_local1].type = DADDY;
enemies[_local1].x = 2200;
enemies[_local1].y = GROUND;
_local1++;
enemies[_local1] = new Object();
enemies[_local1].type = HAMMER;
enemies[_local1].x = 2200;
enemies[_local1].y = GROUND;
_local1++;
enemies[_local1] = new Object();
enemies[_local1].type = HAMMER;
enemies[_local1].x = 1700;
enemies[_local1].y = GROUND;
_local1++;
enemies[_local1] = new Object();
enemies[_local1].type = HAMMER;
enemies[_local1].x = 1200;
enemies[_local1].y = GROUND;
_local1++;
enemies[_local1] = new Object();
enemies[_local1].type = HAMMER;
enemies[_local1].x = 700;
enemies[_local1].y = GROUND;
_local1++;
enemies[_local1] = new Object();
enemies[_local1].type = DADDY;
enemies[_local1].x = (2200 + 2200);
enemies[_local1].y = GROUND;
_local1++;
enemies[_local1] = new Object();
enemies[_local1].type = HAMMER;
enemies[_local1].x = (2200 + 2200);
enemies[_local1].y = GROUND;
_local1++;
enemies[_local1] = new Object();
enemies[_local1].type = HAMMER;
enemies[_local1].x = (2200 + 1700);
enemies[_local1].y = GROUND;
_local1++;
enemies[_local1] = new Object();
enemies[_local1].type = HAMMER;
enemies[_local1].x = (2200 + 1200);
enemies[_local1].y = GROUND;
_local1++;
enemies[_local1] = new Object();
enemies[_local1].type = HAMMER;
enemies[_local1].x = (2200 + 700);
enemies[_local1].y = GROUND;
_local1++;
_local2 = 0;
ledges[_local2] = new Object();
ledges[_local2].x = 0;
ledges[_local2].y = (GROUND - 250);
ledges[_local2].width = 50;
_local2++;
ledges[_local2] = new Object();
ledges[_local2].x = 0;
ledges[_local2].y = (GROUND - (250 * 2));
ledges[_local2].width = 50;
_local2++;
ledges[_local2] = new Object();
ledges[_local2].x = 0;
ledges[_local2].y = (GROUND - (250 * 3));
ledges[_local2].width = 50;
_local2++;
ledges[_local2] = new Object();
ledges[_local2].x = 500;
ledges[_local2].y = ((GROUND - (150 * 2)) - 250);
ledges[_local2].width = 200;
_local2++;
ledges[_local2] = new Object();
ledges[_local2].x = 1000;
ledges[_local2].y = ((GROUND - (150 * 2)) - 250);
ledges[_local2].width = 200;
_local2++;
ledges[_local2] = new Object();
ledges[_local2].x = 1400;
ledges[_local2].y = ((GROUND - (150 * 2)) - 250);
ledges[_local2].width = 200;
_local2++;
ledges[_local2] = new Object();
ledges[_local2].x = 1400;
ledges[_local2].y = ((GROUND - 550) - 250);
ledges[_local2].width = 200;
_local2++;
ledges[_local2] = new Object();
ledges[_local2].x = 1800;
ledges[_local2].y = ((GROUND - 550) - 250);
ledges[_local2].width = 200;
_local2++;
lever = new Lever();
lever.x = 1900;
lever.y = ((GROUND - 550) - 250);
gamestage.addChild(lever);
playSound("BABBLE3");
}
public function initStage7(){
var _local1:*;
var _local2:*;
levelBGM = "BGM_LastLevel";
addDoor(700, (GROUND - 700));
stageMaxX = 1400;
door.visible = false;
_local1 = 0;
enemies[_local1] = new Object();
enemies[_local1].type = DADDY;
enemies[_local1].x = 1200;
enemies[_local1].y = (GROUND - (250 * 0));
_local1++;
enemies[_local1] = new Object();
enemies[_local1].type = METAL;
enemies[_local1].x = 200;
enemies[_local1].y = (GROUND - (250 * 1));
enemies[_local1].minX = (100 + 20);
enemies[_local1].maxX = ((1400 - 20) - 100);
_local1++;
enemies[_local1] = new Object();
enemies[_local1].type = METAL;
enemies[_local1].x = 1200;
enemies[_local1].y = (GROUND - (250 * 2));
enemies[_local1].minX = (100 + 20);
enemies[_local1].maxX = ((1400 - 20) - 100);
_local1++;
enemies[_local1] = new Object();
enemies[_local1].type = DADDY;
enemies[_local1].x = 600;
enemies[_local1].y = (GROUND - (250 * 2));
enemies[_local1].minX = 200;
enemies[_local1].maxX = 1200;
_local1++;
enemies[_local1] = new Object();
enemies[_local1].type = HAMMER;
enemies[_local1].x = 200;
enemies[_local1].y = (GROUND - (250 * 3));
enemies[_local1].minX = (100 + 20);
enemies[_local1].maxX = (400 - 20);
_local1++;
enemies[_local1] = new Object();
enemies[_local1].type = HAMMER;
enemies[_local1].x = 1200;
enemies[_local1].y = (GROUND - (250 * 3));
enemies[_local1].minX = (1000 + 20);
enemies[_local1].maxX = (1300 - 20);
_local1++;
_local2 = 0;
ledges[_local2] = new Object();
ledges[_local2].x = 100;
ledges[_local2].y = (GROUND - (250 * 1));
ledges[_local2].width = 1200;
_local2++;
ledges[_local2] = new Object();
ledges[_local2].x = 100;
ledges[_local2].y = (GROUND - (250 * 2));
ledges[_local2].width = 1200;
_local2++;
ledges[_local2] = new Object();
ledges[_local2].x = 100;
ledges[_local2].y = (GROUND - (250 * 3));
ledges[_local2].width = 300;
_local2++;
ledges[_local2] = new Object();
ledges[_local2].x = 100;
ledges[_local2].y = (GROUND - (250 * 4));
ledges[_local2].width = 300;
_local2++;
ledges[_local2] = new Object();
ledges[_local2].x = 1000;
ledges[_local2].y = (GROUND - (250 * 3));
ledges[_local2].width = 300;
_local2++;
ledges[_local2] = new Object();
ledges[_local2].x = 1000;
ledges[_local2].y = (GROUND - (250 * 4));
ledges[_local2].width = 300;
_local2++;
}
public function initStage4(){
var _local1:*;
var _local2:*;
levelBGM = "BGM_MainTheme";
addDoor(1100, GROUND);
stageMaxX = 1800;
_local1 = 0;
_local2 = 0;
enemies[_local2] = new Object();
enemies[_local2].type = HAMMER;
enemies[_local2].x = 600;
enemies[_local2].y = ((GROUND - 250) - 10);
enemies[_local2].minX = (600 + 20);
enemies[_local2].maxX = ((600 - 20) + 200);
_local2++;
ledges[_local1] = new Object();
ledges[_local1].x = 600;
ledges[_local1].y = (GROUND - 250);
ledges[_local1].width = 200;
_local1++;
enemies[_local2] = new Object();
enemies[_local2].type = HAMMER;
enemies[_local2].x = (1000 + 40);
enemies[_local2].y = ((GROUND - 350) - 10);
enemies[_local2].minX = (1000 + 20);
enemies[_local2].maxX = ((1000 - 20) + 200);
_local2++;
ledges[_local1] = new Object();
ledges[_local1].x = 1000;
ledges[_local1].y = (GROUND - 350);
ledges[_local1].width = 200;
_local1++;
enemies[_local2] = new Object();
enemies[_local2].type = HAMMER;
enemies[_local2].x = (1400 + 100);
enemies[_local2].y = ((GROUND - 250) - 10);
enemies[_local2].minX = (1400 + 20);
enemies[_local2].maxX = ((1400 - 20) + 200);
_local2++;
ledges[_local1] = new Object();
ledges[_local1].x = 1400;
ledges[_local1].y = (GROUND - 250);
ledges[_local1].width = 200;
_local1++;
playSound("BABBLE2");
}
public function tryPunch(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
_local1 = false;
_local2 = -1;
for (_local3 in enemies) {
_local4 = enemies[_local3];
if (_local4.type == DADDY){
} else {
if ((((((_local4.hp > 0)) && ((Math.abs((player.x - _local4.x)) < (100 + (_local4.charwidth / 2)))))) && ((((player.y >= _local4.y)) && ((player.y <= (_local4.y + 100))))))){
trace((getActNum() + " IN RANGE"));
if ((((((Math.abs((player.x - _local4.x)) < 50)) || ((((player.scaleX > 0)) && ((_local4.x > player.x)))))) || ((((player.scaleX < 0)) && ((_local4.x < player.x)))))){
trace((getActNum() + " IN DIRECTION"));
_local4.hp--;
_local4.flydir = player.scaleX;
_local4.walkdir = -(player.scaleX);
_local4.flyspeed = 20;
if (_local4.jumping){
trace("MIDAIR PUNCH!!");
setGFX(player, "falcon");
_local4.x = (player.x + (30 * player.scaleX));
_local4.y = (player.y - 30);
_local4.flyspeed = 70;
_local4.jumpspeed = 9;
};
if (_local4.hp > 0){
_local4.jumpspeed = 7;
_local4.jumping = true;
};
_local4.flydelay = 2;
_local4.walkenergy = -50;
trace("e.hp", _local4.hp);
if (_local4.type == METAL){
if (_local4.hp > 10){
playSound("SFX_Metal1");
} else {
playSound("SFX_Metal2");
};
} else {
playSound("SFX_Player_Punch");
};
_local1 = true;
};
};
};
};
if (!_local1){
playSound("SFX_Swing", 1, 0.4);
};
}
public function playSound(_arg1, _arg2=1, _arg3=0.6){
var _local4:*;
var _local5:SoundChannel;
if (Math.random() < _arg2){
_local4 = new (getDefinitionByName(_arg1));
_local5 = _local4.play();
setVolume(_local5, (_arg3 * settingSFXVol));
};
}
public function ledgeCheck(_arg1){
var _local2:*;
if (_arg1.jumping){
return (false);
};
if (_arg1.onledge < 0){
return (false);
};
_local2 = ledges[_arg1.onledge];
if ((((_arg1.x < _local2.x)) || ((_arg1.x > _local2.x2)))){
makeFall(_arg1);
};
}
public function addOutline(_arg1){
var _local2:BitmapFilter;
var _local3:Array;
_local2 = getBitmapFilter();
_local3 = new Array();
_local3.push(_local2);
_arg1.filters = _local3;
}
public function runMetalAI(_arg1){
if (_arg1.hp <= 10){
_arg1.walkspeed = 20;
};
if (_arg1.walkenergy > 0){
_arg1.walkenergy--;
_arg1.x = (_arg1.x + (_arg1.walkdir * _arg1.walkspeed));
_arg1.scaleX = _arg1.walkdir;
if ((((_arg1.x <= stageMinX)) || ((_arg1.x >= stageMaxX)))){
_arg1.walkdir = (_arg1.walkdir * -1);
} else {
if (_arg1.maxX > 0){
if (_arg1.x <= _arg1.minX){
_arg1.walkdir = 1;
trace("turn right");
} else {
if (_arg1.x >= _arg1.maxX){
_arg1.walkdir = -1;
trace("turn left");
};
};
};
};
setGFX(_arg1, "attack");
} else {
if (_arg1.walkenergy > (-2 * 30)){
if (_arg1.hp > 10){
_arg1.walkenergy = -60;
} else {
_arg1.walkenergy--;
setGFX(_arg1, "look");
};
} else {
if ((((_arg1.x < player.x)) && ((_arg1.walkdir < 0)))){
_arg1.walkdir = 1;
};
if ((((_arg1.x > player.x)) && ((_arg1.walkdir > 0)))){
_arg1.walkdir = -1;
};
_arg1.walkenergy = (4 * 30);
setGFX(_arg1, "attack");
};
};
}
public function makeBullet(_arg1, _arg2, _arg3, _arg4, _arg5){
var _local6:*;
_local6 = new Bullet();
bullets.push(_local6);
_local6.x = _arg1;
_local6.y = _arg2;
_local6.dx = _arg3;
_local6.dy = _arg4;
_local6.hp = _arg5;
gamestage.addChild(_local6);
}
public function runDaddyAI(_arg1){
if (_arg1.walkenergy > 0){
_arg1.walkenergy--;
_arg1.x = (_arg1.x + (_arg1.walkdir * _arg1.walkspeed));
_arg1.scaleX = _arg1.walkdir;
if ((((_arg1.x <= stageMinX)) || ((_arg1.x >= stageMaxX)))){
_arg1.walkdir = (_arg1.walkdir * -1);
} else {
if (_arg1.maxX > 0){
if (_arg1.x <= _arg1.minX){
_arg1.walkdir = 1;
trace("turn right");
} else {
if (_arg1.x >= _arg1.maxX){
_arg1.walkdir = -1;
trace("turn left");
};
};
};
};
setGFX(_arg1, "attack");
} else {
if (_arg1.walkenergy > (-2 * 30)){
if (Math.abs((player.x - _arg1.x)) > 120){
if ((((_arg1.x < player.x)) && ((_arg1.walkdir < 0)))){
_arg1.walkdir = 1;
};
if ((((_arg1.x > player.x)) && ((_arg1.walkdir > 0)))){
_arg1.walkdir = -1;
};
_arg1.walkenergy = (3 * 30);
setGFX(_arg1, "attack");
} else {
_arg1.walkenergy--;
setGFX(_arg1, "look");
};
} else {
if ((((_arg1.x < player.x)) && ((_arg1.walkdir < 0)))){
_arg1.walkdir = 1;
};
if ((((_arg1.x > player.x)) && ((_arg1.walkdir > 0)))){
_arg1.walkdir = -1;
};
_arg1.walkenergy = (3 * 30);
setGFX(_arg1, "attack");
};
};
}
public function unpauseWorld(){
worldpaused = false;
}
public function getActNum(){
actnum++;
return (actnum);
}
public function initStage22(){
var _local1:*;
levelBGM = "BGM_MainTheme";
addDoor(2500, GROUND);
ledges[0] = new Object();
ledges[0].x = (800 - 300);
ledges[0].y = (GROUND - 150);
ledges[0].width = (240 + 350);
ledges[1] = new Object();
ledges[1].x = (1200 - 800);
ledges[1].y = (GROUND - 300);
ledges[1].width = (240 + 950);
ledges[2] = new Object();
ledges[2].x = 1600;
ledges[2].y = (GROUND - 450);
ledges[2].width = 400;
_local1 = 0;
enemies[_local1] = new Object();
enemies[_local1].type = HAMMER;
enemies[_local1].x = (1000 + (_local1 * 300));
enemies[_local1].y = GROUND;
_local1++;
enemies[_local1] = new Object();
enemies[_local1].type = HAMMER;
enemies[_local1].x = (1000 + (_local1 * 300));
enemies[_local1].y = (GROUND - 320);
_local1++;
enemies[_local1] = new Object();
enemies[_local1].type = DADDY;
enemies[_local1].x = (1000 + (_local1 * 300));
enemies[_local1].y = GROUND;
_local1++;
enemies[_local1] = new Object();
enemies[_local1].type = HAMMER;
enemies[_local1].x = (1000 + (_local1 * 300));
enemies[_local1].y = GROUND;
_local1++;
enemies[_local1] = new Object();
enemies[_local1].type = HAMMER;
enemies[_local1].x = (1000 + (_local1 * 300));
enemies[_local1].y = GROUND;
_local1++;
}
public function tryKick(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
_local1 = false;
_local2 = -1;
for (_local3 in enemies) {
_local4 = enemies[_local3];
if (_local4.type == DADDY){
} else {
if ((((((_local4.hp > 0)) && ((Math.abs((player.x - _local4.x)) < (80 + (_local4.charwidth / 2)))))) && ((((player.y >= _local4.y)) && ((player.y <= (_local4.y + 100))))))){
if ((((((Math.abs((player.x - _local4.x)) < 50)) || ((((player.scaleX > 0)) && ((_local4.x > player.x)))))) || ((((player.scaleX < 0)) && ((_local4.x < player.x)))))){
_local4.hp--;
_local4.flydir = player.scaleX;
_local4.walkdir = -(player.scaleX);
_local4.flyspeed = 30;
_local4.flydelay = 2;
if (_local4.hp > 0){
_local4.jumpspeed = 13;
_local4.jumping = true;
};
_local4.walkenergy = -40;
if (_local4.type == METAL){
if (_local4.hp > 10){
playSound("SFX_Metal1");
} else {
playSound("SFX_Metal2");
};
} else {
playSound("SFX_Player_Kick");
};
_local1 = true;
};
};
};
};
if (!_local1){
playSound("SFX_Swing", 1, 0.4);
};
}
public function addListeners(){
togglequality.addEventListener(MouseEvent.CLICK, toggleQ);
addEventListener(Event.ENTER_FRAME, frameFunc);
stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownFunc);
stage.addEventListener(KeyboardEvent.KEY_UP, keyUpFunc);
}
public function addBG(_arg1, _arg2){
bg_far = new (getDefinitionByName((("bg" + _arg2) + "_far")));
gamestage.addChild(bg_far);
bg = new (getDefinitionByName(("bg" + _arg1)));
gamestage.addChild(bg);
bg.y = GROUND;
bg_far.y = GROUND;
}
public function hasLabel(_arg1, _arg2){
var _local3:*;
var _local4:*;
_local3 = _arg1.gfx.currentLabels;
for (_local4 in _local3) {
if (_local3[_local4].name == _arg2){
return (true);
};
};
return (false);
}
public function disposeEnemy(_arg1, _arg2){
_arg1.gfx.gotoAndStop("end");
_arg1.removeChild(_arg1.gfx);
gamestage.removeChild(enemies[_arg2]);
enemies.splice(_arg2, 1);
}
public function makeFall(_arg1){
_arg1.jumping = true;
_arg1.jumpspeed = -1;
_arg1.onledge = -1;
}
public function runBullets(){
var _local1:*;
var _local2:*;
var _local3:*;
_local1 = (bullets.length - 1);
while (_local1 >= 0) {
_local2 = bullets[_local1];
_local2.x = (_local2.x + _local2.dx);
_local2.y = (_local2.y + _local2.dy);
_local3 = 100;
if (player.crouching){
_local3 = 15;
};
if (flickertimer < 0){
checkHit(_local2, player, _local3);
};
_local2.hp--;
if (_local2.hp <= 0){
gamestage.removeChild(_local2);
bullets.splice(_local1, 1);
};
_local1--;
};
}
public function doAttack(_arg1){
if (_arg1.jumping){
return (false);
};
switch (_arg1.type){
case HAMMER:
case METAL:
makeBullet((_arg1.x + (_arg1.shotOffX * _arg1.walkdir)), (_arg1.y - _arg1.shotheight), (5 * _arg1.walkdir), 10, 5);
break;
case DADDY:
makeBullet((_arg1.x + (_arg1.shotOffX * _arg1.walkdir)), (_arg1.y - _arg1.shotheight), (5 * _arg1.walkdir), 10, 10);
makeBullet((_arg1.x - (_arg1.shotOffX * _arg1.walkdir)), (_arg1.y - _arg1.shotheight), (-5 * _arg1.walkdir), 10, 10);
makeBullet(_arg1.x, (_arg1.y - 130), (5 * _arg1.walkdir), -10, 10);
break;
};
}
public function addFade(){
var _local1:*;
_local1 = new SCR_BlackToNone();
addChild(_local1);
}
public function playEnemySound(_arg1, _arg2, _arg3=1, _arg4=0.6){
var _local5:*;
var _local6:SoundChannel;
if (Math.abs((player.x - _arg1.x)) > (800 + _arg1.charwidth)){
return (false);
};
if (Math.random() < _arg3){
_local5 = new (getDefinitionByName(_arg2));
_local6 = _local5.play();
setVolume(_local6, (_arg4 * settingSFXVol));
};
}
public function addWarp(){
if (scr != null){
try {
removeChild(scr);
} catch(e) {
};
scr = null;
};
scr = new SCR_Warp();
addChild(scr);
if (playerHP <= 0){
playSound("SFX_Slowlaugh", 0.8);
} else {
playSound("SFX_Warp", 0.8);
};
}
public function addAllLedges(){
var _local1:*;
var _local2:*;
var _local3:*;
_local1 = new Shape();
_local1.graphics.lineStyle(1, 0xFF0000);
gamestage.addChild(_local1);
for (_local2 in ledges) {
_local3 = ledges[_local2];
ledges[_local2].x2 = (_local3.x + _local3.width);
if (drawledges){
_local1.graphics.moveTo(_local3.x, _local3.y);
_local1.graphics.lineTo(_local3.x2, _local3.y);
};
};
}
public function addAllEnemies(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
for (_local1 in enemies) {
_local2 = enemies[_local1];
_local3 = _local2.x;
_local4 = _local2.y;
_local5 = _local2.type;
if (_local2.minX == null){
_local6 = 0;
} else {
_local6 = _local2.minX;
};
if (_local2.maxX == null){
_local7 = 0;
} else {
_local7 = _local2.maxX;
};
enemies[_local1] = new (getDefinitionByName(("Enemy" + _local5)));
_local2 = enemies[_local1];
_local2.x = _local3;
_local2.y = _local4;
_local2.type = _local5;
_local2.hp = 3;
_local2.master = this;
_local2.charwidth = 60;
_local2.walkdir = -1;
_local2.walkspeed = 5;
_local2.walkenergy = (3 * 30);
_local2.shotheight = 100;
_local2.shotOffX = 40;
_local2.flydir = 0;
_local2.flyspeed = -1;
_local2.flydelay = 0;
_local2.jumping = true;
_local2.jumpspeed = 1;
_local2.onledge = -1;
_local2.maxX = _local7;
_local2.minX = _local6;
_local2.deathdone = false;
switch (_local2.type){
case DADDY:
_local2.hp = 1;
_local2.shotOffX = 120;
break;
case METAL:
_local2.hp = 13;
break;
};
gamestage.addChild(_local2);
addOutline(_local2.gfx);
trace("added Enemy:", _local2);
};
}
public function addPlayer(){
player = new Player();
gamestage.addChild(player);
player.master = this;
player.x = 200;
player.y = GROUND;
player.jumping = false;
player.jumpspeed = 0;
player.crouching = false;
player.punching = false;
player.kicking = false;
player.onledge = -1;
player.hanging = false;
player.climbing = false;
player.endclimb = false;
player.uppercutting = false;
player.grappling = false;
addOutline(player.gfx);
}
public function runFlicker(){
if (flickertimer > 0){
if ((flickertimer % 3) == 0){
if (player.alpha == 1){
player.alpha = 0.5;
} else {
player.alpha = 1;
};
};
flickertimer--;
} else {
if (flickertimer == 0){
flickertimer = -1;
player.alpha = 1;
};
};
}
public function disposeAll(){
var i:*;
var j:*;
try {
trace("DISPOSE ALL");
i = bullets.length;
while (i >= 0) {
try {
gamestage.removeChild(bullets[i]);
} catch(e) {
};
i = (i - 1);
};
j = enemies.length;
while (j >= 0) {
try {
disposeEnemy(enemies[j], j);
} catch(e) {
};
j = (j - 1);
};
gamestage.removeChild(player);
gamestage.removeChild(bg);
gamestage.removeChild(bg_far);
removeChild(lifebar);
removeChild(gamestage);
removeListeners();
var _local2 = parent;
_local2["loadNextStage"]();
trace("SUCCESSFULLY REMOVED ALL");
} catch(e) {
trace("WARNING: some dispose unsuccessfull!!");
};
}
public function init(_arg1){
trace("GE INIT");
isclear[87] = true;
isclear[38] = true;
isclear[74] = true;
isclear[75] = true;
isclear[76] = true;
togglequality = new ToggleQuality();
togglequality.x = 800;
addListeners();
addChild(gamestage);
fartype = (1 + Math.floor(((_arg1 - 1) / 3)));
addBG(_arg1, fartype);
var _local2 = this;
_local2[("initStage" + _arg1)]();
addPlayer();
addAllLedges();
addAllEnemies();
addFade();
playMusic(levelBGM);
lifebar = new Lifebar();
addChild(lifebar);
addChild(togglequality);
}
public function runHammerAI(_arg1){
if (_arg1.walkenergy > 0){
_arg1.walkenergy--;
_arg1.x = (_arg1.x + (_arg1.walkdir * _arg1.walkspeed));
_arg1.scaleX = _arg1.walkdir;
if ((((_arg1.x <= stageMinX)) || ((_arg1.x >= stageMaxX)))){
_arg1.walkdir = (_arg1.walkdir * -1);
} else {
if (_arg1.maxX > 0){
if (_arg1.x <= _arg1.minX){
_arg1.walkdir = 1;
trace("turn right");
} else {
if (_arg1.x >= _arg1.maxX){
_arg1.walkdir = -1;
trace("turn left");
};
};
};
};
setGFX(_arg1, "attack");
} else {
if (_arg1.walkenergy > (-2 * 30)){
_arg1.walkenergy--;
setGFX(_arg1, "look");
} else {
if ((((_arg1.x < player.x)) && ((_arg1.walkdir < 0)))){
_arg1.walkdir = 1;
};
if ((((_arg1.x > player.x)) && ((_arg1.walkdir > 0)))){
_arg1.walkdir = -1;
};
_arg1.walkenergy = (3 * 30);
setGFX(_arg1, "attack");
};
};
}
public function tryGrapple(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
_local2 = -1;
for (_local3 in enemies) {
_local4 = enemies[_local3];
if ((((_local4.type == DADDY)) || ((_local4.walkenergy > 0)))){
} else {
if ((((((_local4.hp > 0)) && ((Math.abs((player.x - _local4.x)) < 80)))) && ((((player.y >= _local4.y)) && ((player.y <= (_local4.y + 100))))))){
_local1 = _local4;
_local2 = _local3;
break;
};
};
};
if (_local2 > -1){
setGFX(player, ("grapple" + enemies[_local2].type));
disposeEnemy(_local1, _local2);
playSound("SFX_Player_Punch");
return (true);
};
}
public function tryUppercut(){
var _local1:*;
var _local2:*;
var _local3:*;
var _local4:*;
_local1 = false;
_local2 = -1;
for (_local3 in enemies) {
_local4 = enemies[_local3];
if ((((((_local4.hp > 0)) && ((Math.abs((player.x - _local4.x)) < (40 + (_local4.charwidth / 2)))))) && ((((player.y >= _local4.y)) && ((player.y <= (_local4.y + 100))))))){
if ((((((player.scaleX > 0)) && ((_local4.x > player.x)))) || ((((player.scaleX < 0)) && ((_local4.x < player.x)))))){
_local4.hp--;
_local4.flydir = player.scaleX;
_local4.walkdir = -(player.scaleX);
_local4.flydelay = 2;
_local4.flyspeed = 25;
if ((((_local4.hp > 0)) && (!((_local4.type == DADDY))))){
_local4.jumpspeed = 25;
_local4.jumping = true;
};
_local4.walkenergy = -30;
trace("e.hp", _local4.hp);
if (_local4.type == METAL){
if (_local4.hp > 10){
playSound("SFX_Metal1");
} else {
playSound("SFX_Metal2");
};
} else {
playSound("SFX_Player_Punch");
};
_local1 = true;
};
};
};
if (!_local1){
playSound("SFX_Swing", 1, 0.4);
};
}
public function pauseWorld(){
worldpaused = true;
}
public function keyUpFunc(_arg1){
isdown[_arg1.keyCode] = false;
isclear[_arg1.keyCode] = true;
}
public function playMusic(_arg1){
var _local2 = parent;
_local2["playMusic"](_arg1);
}
public function checkLever(){
if (opendoor){
return (false);
};
if ((((Math.abs((lever.x - player.x)) <= 100)) && ((Math.abs((lever.y - player.y)) < 10)))){
opendoor = true;
lever.gfx.gotoAndStop(2);
door.gotoAndStop(2);
playSound("SFX_Choir");
};
}
public function doJump(_arg1){
var _local2:*;
var _local3:*;
if (_arg1.jumping){
if (_arg1.jumpspeed == 0){
_arg1.jumpspeed = 25;
setGFX(_arg1, "jump1");
} else {
_arg1.y = (_arg1.y - _arg1.jumpspeed);
_arg1.jumpspeed = Math.max(-25, (_arg1.jumpspeed - 2));
if (_arg1.jumpspeed < 0){
setGFX(_arg1, "jump2");
};
for (_local2 in ledges) {
_local3 = ledges[_local2];
if ((((_arg1.x >= _local3.x)) && ((_arg1.x <= _local3.x2)))){
if ((((((_arg1.y <= _local3.y)) && ((_arg1.jumpspeed < 0)))) && ((Math.abs((_local3.y - _arg1.y)) < 10)))){
_arg1.y = _local3.y;
_arg1.jumping = false;
_arg1.jumpspeed = 0;
_arg1.onledge = _local2;
return (true);
};
if ((((((((_arg1 == player)) && ((_local3.y < _arg1.y)))) && ((Math.abs((_local3.y - _arg1.y)) < 120)))) && ((((_arg1.jumpspeed <= 5)) && ((_arg1.jumpspeed >= 1)))))){
_arg1.y = (_local3.y + 120);
_arg1.jumping = false;
_arg1.jumpspeed = 0;
_arg1.onledge = _local2;
_arg1.hanging = true;
return (true);
};
};
};
if (_arg1.y >= GROUND){
_arg1.y = GROUND;
_arg1.jumping = false;
_arg1.jumpspeed = 0;
if (_arg1 != player){
setGFX(_arg1, "idle");
_arg1.walkenergy = -50;
} else {
playSound("SFX_Land", 1, 0.5);
};
};
};
};
}
public function checkHit(_arg1, _arg2, _arg3){
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
_local4 = (_arg1.x >= (_arg2.x - (55 / 2)));
_local5 = (_arg1.x <= (_arg2.x + (55 / 2)));
_local6 = (_arg1.y >= (_arg2.y - _arg3));
_local7 = (_arg1.y <= _arg2.y);
if (((((((_local4) && (_local5))) && (_local6))) && (_local7))){
trace("HIT!");
flickertimer = (3 * 30);
playSound("SFX_Pain");
playerHP--;
lifebar.gotoAndStop((4 - playerHP));
_arg1.visible = false;
_arg1.hp = 0;
if (playerHP <= 0){
trace("YOU DIED!!");
parent["lvlnum"] = (parent["lvlnum"] - 1);
addWarp();
warpingout = true;
return (false);
};
};
}
public function toggleQ(_arg1){
var e = _arg1;
trace(stage.quality);
if (stage.quality == "MEDIUM"){
trace("SET TO MEDIUM");
stage.quality = StageQuality.HIGH;
try {
parent["rainbow_blur"].visible = true;
parent["rainbow_noblur"].visible = false;
} catch(e) {
};
} else {
trace("SET TO HIGH");
stage.quality = StageQuality.MEDIUM;
try {
parent["rainbow_blur"].visible = false;
parent["rainbow_noblur"].visible = true;
} catch(e) {
};
};
}
public function checkWarp(){
if ((((Math.abs((door.x - player.x)) <= 100)) && ((Math.abs((door.y - player.y)) < 10)))){
addWarp();
warpingout = true;
};
}
public function setGFX(_arg1, _arg2){
if (hasLabel(_arg1, _arg2) == false){
return (false);
};
if (_arg1.jumping){
if (((!((_arg2 == "jump1"))) && (!((_arg2 == "jump2"))))){
return (false);
};
};
if (_arg1["gfx"].currentLabel != _arg2){
_arg1["gfx"].gotoAndStop(_arg2);
};
}
public function frameFunc(_arg1){
if (((!((scr == null))) || (worldpaused))){
return (false);
};
if (lever != null){
checkLever();
};
playerKeyCheck();
doJump(player);
centerCamera();
runAI();
runBullets();
runFlicker();
}
public function centerCamera(){
var _local1:*;
bg_far.x = (-(gamestage.x) / 2);
bg_far.y = (480 - (gamestage.y / 4));
gamestage.x = Math.min(0, Math.max((800 - stageMaxX), (400 - player.x)));
_local1 = (270 - (player.y * 0.7));
if (Math.abs((gamestage.y - _local1)) <= 2){
gamestage.y = _local1;
} else {
gamestage.y = (gamestage.y - ((gamestage.y - _local1) / 2));
};
}
public function addDoor(_arg1, _arg2){
door = new Door();
door.x = _arg1;
door.y = _arg2;
gamestage.addChild(door);
}
public function playerKeyCheck(){
if (player.grappling){
return (false);
};
if (((((player.punching) || (player.uppercutting))) || (player.kicking))){
if (((isdown[65]) || (isdown[37]))){
player.x = Math.max(stageMinX, (player.x - 2));
} else {
if (((isdown[68]) || (isdown[39]))){
player.x = Math.min(stageMaxX, (player.x + 2));
};
};
};
if (player.uppercutting){
return (false);
};
if (player.punching){
return (false);
};
if (player.kicking){
return (false);
};
if (player.climbing){
setGFX(player, "climb");
return (false);
};
if (player.endclimb){
setGFX(player, "idle");
player.y = ledges[player.onledge].y;
player.endclimb = false;
return (false);
};
if (player.hanging){
setGFX(player, "hang");
if (((isdown[83]) || (isdown[40]))){
player.hanging = false;
makeFall(player);
} else {
if (((isdown[87]) || (isdown[38]))){
player.hanging = false;
player.climbing = true;
};
};
return (false);
};
if (!player.jumping){
if (((isdown[74]) && (isclear[74]))){
if (!player.punching){
if (isdown[83]){
trace("START UPPERCUT");
player.uppercutting = true;
isclear[83] = false;
isclear[74] = false;
setGFX(player, "uppercut");
tryUppercut();
return (false);
};
trace("START PUNCH");
player.punching = true;
isclear[74] = false;
setGFX(player, "punch");
tryPunch();
};
return (false);
};
if (((isdown[75]) && (isclear[75]))){
if (!player.kicking){
trace("START KICK");
player.kicking = true;
isclear[75] = false;
setGFX(player, "kick");
tryKick();
};
return (false);
};
if (((isdown[76]) && (isclear[76]))){
if (!player.grappling){
trace("START GRAPPLE");
player.grappling = true;
isclear[76] = false;
setGFX(player, "grapple");
tryGrapple();
};
return (false);
};
};
if (((isdown[65]) || (isdown[37]))){
player.x = Math.max(stageMinX, (player.x - runspeed));
player.scaleX = -1;
setGFX(player, "run");
ledgeCheck(player);
player.crouching = false;
} else {
if (((isdown[68]) || (isdown[39]))){
player.x = Math.min(stageMaxX, (player.x + runspeed));
player.scaleX = 1;
setGFX(player, "run");
ledgeCheck(player);
player.crouching = false;
} else {
if (((isdown[83]) || (isdown[40]))){
player.crouching = true;
setGFX(player, "stealth");
} else {
player.crouching = false;
setGFX(player, "idle");
};
};
};
if (((((isdown[87]) && (isclear[87]))) || (((isdown[38]) && (isclear[38]))))){
playSound("SFX_HUP", 0.7);
player.jumping = true;
isclear[87] = false;
isclear[38] = false;
};
}
public function runAI(){
var _local1:*;
var _local2:*;
if (enemies.length <= 0){
if (!opendoor){
opendoor = true;
if (parent["lvlnum"] > 7){
trace("portal");
door.gotoAndStop(3);
door.visible = true;
} else {
door.gotoAndStop(2);
};
playSound("SFX_Choir");
};
};
if (((opendoor) && (!(warpingout)))){
checkWarp();
};
_local1 = (enemies.length - 1);
while (_local1 >= 0) {
_local2 = enemies[_local1];
ledgeCheck(_local2);
if (_local2.hp <= 0){
if (_local2.jumping){
doJump(_local2);
if (_local2.flyspeed > 0){
setGFX(_local2, "hit");
doJump(_local2);
_local2.x = Math.max(stageMinX, Math.min(stageMaxX, (_local2.x + (_local2.flydir * _local2.flyspeed))));
_local2.flyspeed = (_local2.flyspeed - 5);
};
} else {
setGFX(_local2, "death");
if (_local2.deathdone){
disposeEnemy(_local2, _local1);
};
};
} else {
if (_local2.flyspeed > 0){
setGFX(_local2, "hit");
if (_local2.flydelay > 0){
_local2.flydelay--;
} else {
doJump(_local2);
_local2.x = Math.max(stageMinX, Math.min(stageMaxX, (_local2.x + (_local2.flydir * _local2.flyspeed))));
_local2.flyspeed = (_local2.flyspeed - 5);
};
} else {
doJump(_local2);
switch (_local2.type){
case HAMMER:
runHammerAI(_local2);
break;
case DADDY:
runDaddyAI(_local2);
break;
case METAL:
runMetalAI(_local2);
break;
};
};
};
_local1--;
};
}
private function getBitmapFilter():BitmapFilter{
var _local1:Number;
var _local2:Number;
var _local3:Number;
var _local4:Number;
var _local5:Number;
var _local6:Boolean;
var _local7:Boolean;
var _local8:Number;
_local1 = 0;
_local2 = 1;
_local3 = 3;
_local4 = 3;
_local5 = 20;
_local6 = false;
_local7 = false;
_local8 = BitmapFilterQuality.MEDIUM;
return (new GlowFilter(_local1, _local2, _local3, _local4, _local5, _local8, _local6, _local7));
}
}
}//package
Section 57
//Lever (Lever)
package {
import flash.display.*;
public dynamic class Lever extends MovieClip {
public var gfx:MovieClip;
}
}//package
Section 58
//Lifebar (Lifebar)
package {
import flash.display.*;
public dynamic class Lifebar extends MovieClip {
public function Lifebar(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 59
//Player (Player)
package {
import flash.display.*;
public dynamic class Player extends MovieClip {
public var gfx:MovieClip;
}
}//package
Section 60
//SCR_BlackToNone (SCR_BlackToNone)
package {
import flash.display.*;
public dynamic class SCR_BlackToNone extends MovieClip {
public function SCR_BlackToNone(){
addFrameScript(9, frame10);
}
function frame10(){
stop();
this.parent.removeChild(this);
}
}
}//package
Section 61
//SCR_Warp (SCR_Warp)
package {
import flash.display.*;
public dynamic class SCR_Warp extends MovieClip {
public function SCR_Warp(){
addFrameScript(18, frame19);
}
function frame19(){
stop();
try {
var _local2 = this.parent;
_local2["disposeAll"]();
} catch(e) {
};
}
}
}//package
Section 62
//SFX_Castrated (SFX_Castrated)
package {
import flash.media.*;
public dynamic class SFX_Castrated extends Sound {
}
}//package
Section 63
//SFX_Choir (SFX_Choir)
package {
import flash.media.*;
public dynamic class SFX_Choir extends Sound {
}
}//package
Section 64
//SFX_Click (SFX_Click)
package {
import flash.media.*;
public dynamic class SFX_Click extends Sound {
}
}//package
Section 65
//SFX_Falcon_punch (SFX_Falcon_punch)
package {
import flash.media.*;
public dynamic class SFX_Falcon_punch extends Sound {
}
}//package
Section 66
//SFX_HeavyFoot (SFX_HeavyFoot)
package {
import flash.media.*;
public dynamic class SFX_HeavyFoot extends Sound {
}
}//package
Section 67
//SFX_HUP (SFX_HUP)
package {
import flash.media.*;
public dynamic class SFX_HUP extends Sound {
}
}//package
Section 68
//SFX_Land (SFX_Land)
package {
import flash.media.*;
public dynamic class SFX_Land extends Sound {
}
}//package
Section 69
//SFX_Metal1 (SFX_Metal1)
package {
import flash.media.*;
public dynamic class SFX_Metal1 extends Sound {
}
}//package
Section 70
//SFX_Metal2 (SFX_Metal2)
package {
import flash.media.*;
public dynamic class SFX_Metal2 extends Sound {
}
}//package
Section 71
//SFX_Pain (SFX_Pain)
package {
import flash.media.*;
public dynamic class SFX_Pain extends Sound {
}
}//package
Section 72
//SFX_Player_Kick (SFX_Player_Kick)
package {
import flash.media.*;
public dynamic class SFX_Player_Kick extends Sound {
}
}//package
Section 73
//SFX_Player_Punch (SFX_Player_Punch)
package {
import flash.media.*;
public dynamic class SFX_Player_Punch extends Sound {
}
}//package
Section 74
//SFX_SkullCrush (SFX_SkullCrush)
package {
import flash.media.*;
public dynamic class SFX_SkullCrush extends Sound {
}
}//package
Section 75
//SFX_Slowlaugh (SFX_Slowlaugh)
package {
import flash.media.*;
public dynamic class SFX_Slowlaugh extends Sound {
}
}//package
Section 76
//SFX_Swing (SFX_Swing)
package {
import flash.media.*;
public dynamic class SFX_Swing extends Sound {
}
}//package
Section 77
//SFX_Warp (SFX_Warp)
package {
import flash.media.*;
public dynamic class SFX_Warp extends Sound {
}
}//package
Section 78
//SFX_Whoosh (SFX_Whoosh)
package {
import flash.media.*;
public dynamic class SFX_Whoosh extends Sound {
}
}//package
Section 79
//ToggleQuality (ToggleQuality)
package {
import flash.display.*;
public dynamic class ToggleQuality extends SimpleButton {
}
}//package