Section 1
//1_gameoverWhole_295 (1021_GGBP_hiscore_fla.1_gameoverWhole_295)
package 1021_GGBP_hiscore_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class 1_gameoverWhole_295 extends MovieClip {
public var try_btn:SimpleButton;
public function 1_gameoverWhole_295(){
addFrameScript(0, frame1, 1, frame2, 26, frame27);
}
function frame1(){
stop();
}
public function tryAgain(_arg1:MouseEvent){
SoundMixer.stopAll();
gotoAndStop(1);
Object(this.parent).gotoAndStop("MAIN");
}
function frame27(){
stop();
try_btn.addEventListener(MouseEvent.CLICK, tryAgain);
}
function frame2(){
SoundMixer.stopAll();
if (Object(this.parent).b_soundMode){
Object(this.parent).ch_soundChannel = Object(this.parent).sd_ending.play();
Object(this.parent).setVolumControl();
};
}
}
}//package 1021_GGBP_hiscore_fla
Section 2
//1_howtoPlay_whole_40 (1021_GGBP_hiscore_fla.1_howtoPlay_whole_40)
package 1021_GGBP_hiscore_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class 1_howtoPlay_whole_40 extends MovieClip {
public var play_btn:SimpleButton;
public function 1_howtoPlay_whole_40(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
play_btn.addEventListener(MouseEvent.CLICK, playBtn);
}
public function playBtn(_arg1:MouseEvent){
Object(this.parent).gotoAndStop("GAME_1");
}
}
}//package 1021_GGBP_hiscore_fla
Section 3
//1_next_stepWhole_302 (1021_GGBP_hiscore_fla.1_next_stepWhole_302)
package 1021_GGBP_hiscore_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class 1_next_stepWhole_302 extends MovieClip {
public var next_btn:SimpleButton;
public function 1_next_stepWhole_302(){
addFrameScript(0, frame1, 1, frame2);
}
function frame1(){
stop();
}
function frame2(){
stop();
Object(this.parent).teleTimer.reset();
SoundMixer.stopAll();
if (Object(this.parent).b_soundMode){
Object(this.parent).ch_soundChannel = Object(this.parent).sd_clear.play();
Object(this.parent).setVolumControl();
};
next_btn.addEventListener(MouseEvent.CLICK, nextbtn);
}
public function nextbtn(_arg1:MouseEvent){
SoundMixer.stopAll();
Object(this.parent).nextStageStart();
gotoAndStop(1);
}
}
}//package 1021_GGBP_hiscore_fla
Section 4
//1_sprite755_79 (1021_GGBP_hiscore_fla.1_sprite755_79)
package 1021_GGBP_hiscore_fla {
import flash.display.*;
public dynamic class 1_sprite755_79 extends MovieClip {
public function 1_sprite755_79(){
addFrameScript(7, frame8);
}
function frame8(){
stop();
}
}
}//package 1021_GGBP_hiscore_fla
Section 5
//1_Wholeloading_1 (1021_GGBP_hiscore_fla.1_Wholeloading_1)
package 1021_GGBP_hiscore_fla {
import flash.display.*;
public dynamic class 1_Wholeloading_1 extends MovieClip {
public var mcLoading:MovieClip;
}
}//package 1021_GGBP_hiscore_fla
Section 6
//15dddddd_324 (1021_GGBP_hiscore_fla.15dddddd_324)
package 1021_GGBP_hiscore_fla {
import flash.display.*;
public dynamic class 15dddddd_324 extends MovieClip {
public function 15dddddd_324(){
addFrameScript(19, frame20);
}
function frame20(){
stop();
}
}
}//package 1021_GGBP_hiscore_fla
Section 7
//20_225 (1021_GGBP_hiscore_fla.20_225)
package 1021_GGBP_hiscore_fla {
import flash.display.*;
public dynamic class 20_225 extends MovieClip {
public function 20_225(){
addFrameScript(6, frame7);
}
function frame7(){
stop();
}
}
}//package 1021_GGBP_hiscore_fla
Section 8
//4444_131 (1021_GGBP_hiscore_fla.4444_131)
package 1021_GGBP_hiscore_fla {
import flash.display.*;
public dynamic class 4444_131 extends MovieClip {
public function 4444_131(){
addFrameScript(22, frame23);
}
function frame23(){
stop();
stop();
}
}
}//package 1021_GGBP_hiscore_fla
Section 9
//a_84 (1021_GGBP_hiscore_fla.a_84)
package 1021_GGBP_hiscore_fla {
import flash.display.*;
public dynamic class a_84 extends MovieClip {
public function a_84(){
addFrameScript(23, frame24, 47, frame48);
}
function frame24(){
gotoAndPlay(1);
}
function frame48(){
stop();
}
}
}//package 1021_GGBP_hiscore_fla
Section 10
//b20_63 (1021_GGBP_hiscore_fla.b20_63)
package 1021_GGBP_hiscore_fla {
import flash.display.*;
public dynamic class b20_63 extends MovieClip {
public function b20_63(){
addFrameScript(23, frame24, 47, frame48);
}
function frame24(){
gotoAndPlay(1);
}
function frame48(){
stop();
}
}
}//package 1021_GGBP_hiscore_fla
Section 11
//batman_292 (1021_GGBP_hiscore_fla.batman_292)
package 1021_GGBP_hiscore_fla {
import flash.display.*;
public dynamic class batman_292 extends MovieClip {
public var bgon:MovieClip;
public var bg:MovieClip;
}
}//package 1021_GGBP_hiscore_fla
Section 12
//batmanmc_170 (1021_GGBP_hiscore_fla.batmanmc_170)
package 1021_GGBP_hiscore_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class batmanmc_170 extends MovieClip {
public var kickHit:MovieClip;
public var hit:MovieClip;
public var mcState:MovieClip;
public var up_mc:MovieClip;
public var keyhit_mc:MovieClip;
public function batmanmc_170(){
addFrameScript(0, frame1, 25, frame26, 33, frame34, 41, frame42, 58, frame59, 60, frame61, 67, frame68, 74, frame75, 75, frame76, 82, frame83, 84, frame85, 85, frame86, 92, frame93, 124, frame125, 130, frame131, 162, frame163, 195, frame196, 198, frame199, 201, frame202, 207, frame208, 209, frame210, 212, frame213, 218, frame219);
}
function frame75(){
if (Object(this.parent).b_soundMode){
Object(this.parent).ch_soundChannel = Object(this.parent).sd_smallMangchi.play();
Object(this.parent).setVolumControl();
};
}
function frame76(){
}
function frame86(){
}
function frame202(){
Object(this.parent).throwSpear("R");
}
function frame163(){
stop();
Object(this.parent).reStartScene();
}
function frame85(){
if (Object(this.parent).b_soundMode){
Object(this.parent).ch_soundChannel = Object(this.parent).sd_smallMangchi.play();
Object(this.parent).setVolumControl();
};
}
function frame208(){
gotoAndStop("right");
}
function frame210(){
if (Object(this.parent).b_soundMode){
Object(this.parent).ch_soundChannel = Object(this.parent).sd_bigMangchi.play();
Object(this.parent).setVolumControl();
};
}
function frame93(){
stop();
}
function frame213(){
Object(this.parent).throwSpear("L");
}
function frame1(){
stop();
}
function frame26(){
if (Object(this.parent).b_soundMode){
Object(this.parent).ch_soundChannel = Object(this.parent).sd_jump.play();
Object(this.parent).setVolumControl();
};
}
function frame83(){
stop();
}
function frame199(){
if (Object(this.parent).b_soundMode){
Object(this.parent).ch_soundChannel = Object(this.parent).sd_bigMangchi.play();
Object(this.parent).setVolumControl();
};
}
function frame196(){
stop();
Object(this.parent).reStartScene();
}
function frame34(){
if (Object(this.parent).b_soundMode){
Object(this.parent).ch_soundChannel = Object(this.parent).sd_jump.play();
Object(this.parent).setVolumControl();
};
}
function frame219(){
gotoAndStop("left");
}
function frame125(){
Object(this.parent).checkEnergy();
Object(this.parent).b_hurtMode = false;
}
function frame42(){
up_mc.stop();
}
function frame131(){
Object(this.parent).checkEnergy();
Object(this.parent).b_hurtMode = false;
}
function frame59(){
stop();
Object(this.parent).checkEnergyLadder();
}
function frame61(){
if (Object(this.parent).b_soundMode){
Object(this.parent).ch_soundChannel = Object(this.parent).sd_holeJump.play();
Object(this.parent).setVolumControl();
};
}
function frame68(){
if (Object(this.parent).b_soundMode){
Object(this.parent).ch_soundChannel = Object(this.parent).sd_holeJump.play();
Object(this.parent).setVolumControl();
};
}
}
}//package 1021_GGBP_hiscore_fla
Section 13
//Grodd_20 (1021_GGBP_hiscore_fla.Grodd_20)
package 1021_GGBP_hiscore_fla {
import flash.display.*;
public dynamic class Grodd_20 extends MovieClip {
public function Grodd_20(){
addFrameScript(14, frame15);
}
function frame15(){
stop();
}
}
}//package 1021_GGBP_hiscore_fla
Section 14
//groddmc_148 (1021_GGBP_hiscore_fla.groddmc_148)
package 1021_GGBP_hiscore_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class groddmc_148 extends MovieClip {
public var hit_mc:MovieClip;
public function groddmc_148(){
addFrameScript(0, frame1, 16, frame17, 32, frame33, 50, frame51, 59, frame60, 61, frame62, 70, frame71, 81, frame82, 92, frame93, 159, frame160);
}
function frame71(){
this.b_hurtMode = false;
gotoAndStop(1);
}
function frame160(){
stop();
}
function frame82(){
gotoAndStop(1);
}
function frame93(){
gotoAndStop(1);
}
function frame1(){
stop();
}
function frame17(){
Object(this.parent).throwDrum("L");
gotoAndStop(1);
}
function frame33(){
Object(this.parent).throwDrum("R");
gotoAndStop(1);
}
function frame51(){
if (Object(this.parent).b_soundMode){
Object(this.parent).ch_soundChannel = Object(this.parent).sd_sibeHurt.play();
Object(this.parent).setVolumControl();
};
}
function frame62(){
if (Object(this.parent).b_soundMode){
Object(this.parent).ch_soundChannel = Object(this.parent).sd_sibeHurt.play();
Object(this.parent).setVolumControl();
};
}
function frame60(){
this.b_hurtMode = false;
gotoAndStop(1);
}
}
}//package 1021_GGBP_hiscore_fla
Section 15
//l__326 (1021_GGBP_hiscore_fla.l__326)
package 1021_GGBP_hiscore_fla {
import flash.display.*;
public dynamic class l__326 extends MovieClip {
public function l__326(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1021_GGBP_hiscore_fla
Section 16
//loading0006_2 (1021_GGBP_hiscore_fla.loading0006_2)
package 1021_GGBP_hiscore_fla {
import flash.display.*;
public dynamic class loading0006_2 extends MovieClip {
public var loading2_mc:MovieClip;
}
}//package 1021_GGBP_hiscore_fla
Section 17
//loading8_14 (1021_GGBP_hiscore_fla.loading8_14)
package 1021_GGBP_hiscore_fla {
import flash.display.*;
public dynamic class loading8_14 extends MovieClip {
public var mcPercent:MovieClip;
public function loading8_14(){
addFrameScript(0, frame1);
}
public function progressFun(_arg1:uint){
mcPercent.scaleX = (_arg1 / 100);
}
function frame1(){
mcPercent.scaleX = 0;
}
}
}//package 1021_GGBP_hiscore_fla
Section 18
//MainTimeline (1021_GGBP_hiscore_fla.MainTimeline)
package 1021_GGBP_hiscore_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var bat_mc:MovieClip;
public var gameEnd_mc:MovieClip;
public var lad_4_1_R_L:MovieClip;
public var sd_back:Sound;
public var aa:Array;
public var n_iniX:Number;
public var n_iniY:Number;
public var b_jumpMode:Boolean;
public var sd_tongSuc:Sound;
public var b_telStart:Boolean;
public var b_kickMode:Boolean;
public var goal_mc:MovieClip;
public var key_2:MovieClip;
public var key_5:MovieClip;
public var key_7:MovieClip;
public var key_1:MovieClip;
public var key_4:MovieClip;
public var key_8:MovieClip;
public var ss:String;
public var a:Array;
public var key_3:MovieClip;
public var key_6:MovieClip;
public var i:int;
public var j:int;
public var k:int;
public var iron_mc:MovieClip;
public var n_throwTimer:Number;
public var hole_2:MovieClip;
public var hole_3:MovieClip;
public var hole_4:MovieClip;
public var hole_5:MovieClip;
public var hole_6:MovieClip;
public var stage_mc:MovieClip;
public var i_moveGame:int;
public var nextStage_mc:MovieClip;
public var sd_keyGain:Sound;
public var KeyDwon:Boolean;
public var hole_1:MovieClip;
public var lad_4_0_R_L:MovieClip;
public var ch_soundChannel:SoundChannel;
public var i_nowScore:int;
public var nowLadder_mc:MovieClip;
public var b_downMode:Boolean;
public var sd_bigMangchi:Sound;
public var KeyLEFT:Boolean;
public var s:String;
public var play_btn:SimpleButton;
public var lad_1_0_R_L:MovieClip;
public var sd_ending:Sound;
public var sThrowTimer:Timer;
public var sd_tongFail:Sound;
public var b_ladderMode:Boolean;
public var a_ladhole:Array;
public var sd_sibeHurt:Sound;
public var ty_1:MovieClip;
public var ty_3:MovieClip;
public var ty_2:MovieClip;
public var i_step:int;
public var lad_3_1_R:MovieClip;
public var gameTimer:Timer;
public var i_gameTime:int;
public var i_lifeNum:int;
public var sd_intro:Sound;
public var i_getCoin:int;
public var sd_clear:Sound;
public var KeyRIGHT:Boolean;
public var n_teleTimer:Number;
public var KeyUp:Boolean;
public var sd_holeJump:Sound;
public var sd_teleAttack:Sound;
public var lad_3_0_R_L:MovieClip;
public var ladder_2:MovieClip;
public var ladder_3:MovieClip;
public var ladder_4:MovieClip;
public var ladder_5:MovieClip;
public var ladder_1:MovieClip;
public var sd_smallMangchi:Sound;
public var grodd_mc:MovieClip;
public var sd_jump:Sound;
public var b_spearMode:Boolean;
public var lad_2_1_L:MovieClip;
public var a_drumList:Array;
public var load_mc:MovieClip;
public var n_volumNum:Number;
public var a_holeList:Array;
public var b_hurtMode:Boolean;
public var i_lastStep:int;
public var b_soundMode:Boolean;
public var a_ladder:Array;
public var uu4:int;
public var teleTimer:Timer;
public var a_dhole:Array;
public var a_keyList:Array;
public var b_holeMode:Boolean;
public var dhole_1:MovieClip;
public var dhole_2:MovieClip;
public var dhole_3:MovieClip;
public var dhole_4:MovieClip;
public var dhole_5:MovieClip;
public var dhole_6:MovieClip;
public var lad_5_0_R_L:MovieClip;
public var how_btn:SimpleButton;
public var b_clearMode:Boolean;
public var sd_iron:Sound;
public var throwTimer:Timer;
public function MainTimeline(){
addFrameScript(0, frame1, 9, frame10, 24, frame25, 33, frame34, 42, frame43, 51, frame52);
}
public function checkEnergyLadder(){
var _local1:Number;
_local1 = 0;
if (bat_mc.i_damage == 1){
_local1 = ((0.07 + ((5 * (i_step - 1)) / 200)) + 0.005);
} else {
_local1 = ((0.051 + ((2 * (i_step - 1)) / 100)) + 0.005);
};
stage_mc.gage_b.scaleX = (stage_mc.gage_b.scaleX - _local1);
if (stage_mc.gage_b.scaleX <= 0){
stage_mc.gage_b.scaleX = 0;
b_holeMode = true;
throwTimer.reset();
bat_mc.gotoAndPlay("failR");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownEvent);
stage.removeEventListener(KeyboardEvent.KEY_UP, keyUpEvent);
bat_mc.removeEventListener(Event.ENTER_FRAME, myMcEnterFrame);
} else {
b_hurtMode = false;
bat_mc.gotoAndStop("ladder");
};
}
public function randRange(_arg1:Number, _arg2:Number):Number{
var _local3:Number;
_local3 = (Math.floor((Math.random() * ((_arg2 - _arg1) + 1))) + _arg1);
return (_local3);
}
public function sThrowTimerHandler(_arg1:TimerEvent){
b_spearMode = false;
sThrowTimer.reset();
}
public function spearEnterFrame(_arg1:Event){
var _local2:MovieClip;
_local2 = MovieClip(_arg1.currentTarget);
if (_local2.s_d == "R"){
_local2.x = (_local2.x + 5);
} else {
_local2.x = (_local2.x - 5);
};
if ((((_local2.x < 0)) || ((_local2.x > 500)))){
_local2.removeEventListener(Event.ENTER_FRAME, spearEnterFrame);
removeChild(_local2);
};
if (((!(b_clearMode)) && (_local2.hitTestObject(grodd_mc.hit_mc)))){
_local2.removeEventListener(Event.ENTER_FRAME, spearEnterFrame);
removeChild(_local2);
grodd_mc.b_hurtMode = true;
grodd_mc.gotoAndPlay("hurtL");
stage_mc.gage_g.scaleX = (stage_mc.gage_g.scaleX - 0.31);
if (stage_mc.gage_g.scaleX <= 0){
teleTimer.stop();
gameTimer.reset();
stage_mc.gage_g.scaleX = 0;
b_clearMode = true;
grodd_mc.gotoAndPlay("die");
};
};
}
function frame10(){
play_btn.addEventListener(MouseEvent.CLICK, playBtn);
how_btn.addEventListener(MouseEvent.CLICK, howBtn);
a_keyList = [];
a_ladder = [];
a_holeList = [];
a_dhole = [];
a_ladhole = [];
KeyLEFT = false;
KeyRIGHT = false;
KeyUp = false;
KeyDwon = false;
b_jumpMode = false;
b_ladderMode = false;
b_holeMode = false;
b_kickMode = false;
b_hurtMode = false;
b_spearMode = false;
b_clearMode = false;
b_telStart = false;
b_downMode = false;
i_lastStep = 1000;
i_moveGame = 6;
i_step = 1;
i_lifeNum = 3;
i_nowScore = 0;
i_getCoin = 0;
i_gameTime = 0;
n_teleTimer = 2000;
n_throwTimer = 1500;
a_drumList = [];
sd_intro = new c_intro();
sd_back = new c_Back();
sd_keyGain = new c_keyGain();
sd_tongSuc = new c_tongSuc();
sd_tongFail = new c_tongFail();
sd_jump = new c_jump();
sd_ending = new c_ending();
sd_clear = new c_clear();
sd_bigMangchi = new c_bigMangchi();
sd_smallMangchi = new c_smallMangchi();
sd_sibeHurt = new c_sibeHurt();
sd_holeJump = new c_holeJump();
sd_iron = new c_iron();
sd_teleAttack = new c_teleAttack();
SoundMixer.stopAll();
if (b_soundMode){
ch_soundChannel = sd_intro.play();
setVolumControl();
};
}
function frame1(){
stop();
b_soundMode = true;
n_volumNum = 0.85;
gameTimer = new Timer(1000, 0);
gameTimer.addEventListener(TimerEvent.TIMER, gameTimerHandler);
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, mainMCLoadProgress);
}
public function playBtn(_arg1:MouseEvent){
gotoAndStop("GAME_1");
}
public function gameStartNext(){
var _local1:int;
trace("gameStartNext ======");
_local1 = (i_step % 4);
if (_local1 == 0){
_local1 = 4;
};
gotoAndStop(("GAME_" + _local1));
bat_mc.i_damage = 1;
n_teleTimer = (n_teleTimer - 100);
if (n_teleTimer <= 1000){
n_teleTimer = 1000;
};
teleTimer = new Timer(n_teleTimer, 0);
teleTimer.addEventListener(TimerEvent.TIMER, teleTimerHandler);
teleTimer.reset();
n_throwTimer = (n_throwTimer - 250);
if (n_throwTimer <= 800){
n_throwTimer = 800;
};
throwTimer = new Timer(n_throwTimer, 0);
throwTimer.addEventListener(TimerEvent.TIMER, throwTimerHandler);
throwTimer.start();
i_gameTime = 0;
gameTimer.start();
grodd_mc.gotoAndStop(1);
grodd_mc.b_hurtMode = false;
a_drumList = [];
i_getCoin = 0;
stage_mc.level_1.gotoAndStop(((i_step % 10) + 1));
stage_mc.level_2.gotoAndStop(((int((i_step / 10)) % 10) + 1));
stage_mc.gage_b.scaleX = 1;
stage_mc.gage_g.scaleX = 1;
b_jumpMode = false;
b_ladderMode = false;
b_kickMode = false;
b_holeMode = false;
b_hurtMode = false;
b_downMode = false;
b_spearMode = false;
b_clearMode = false;
b_telStart = false;
KeyLEFT = false;
KeyRIGHT = false;
KeyUp = false;
KeyDwon = false;
bat_mc.gotoAndStop(1);
bat_mc.x = 134;
bat_mc.y = 367;
i = 0;
while (i < a_keyList.length) {
a_keyList[i].gotoAndStop(1);
a_keyList[i].b_hit = false;
a_keyList[i].visible = true;
i++;
};
stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownEvent);
stage.addEventListener(KeyboardEvent.KEY_UP, keyUpEvent);
bat_mc.addEventListener(Event.ENTER_FRAME, myMcEnterFrame);
}
public function throwSpear(_arg1:String){
var _local2:MovieClip;
if (b_clearMode == false){
_local2 = new c_spear();
addChild(_local2);
_local2.y = (bat_mc.y - 40);
_local2.s_d = _arg1;
if (_arg1 == "R"){
_local2.x = (bat_mc.x + 30);
} else {
_local2.x = (bat_mc.x - 30);
};
_local2.addEventListener(Event.ENTER_FRAME, spearEnterFrame);
};
}
function frame34(){
SoundMixer.stopAll();
uu4 = (i_step % 6);
if (uu4 == 0){
uu4 = 6;
};
iron_mc.f_mc.gotoAndStop(("s_" + uu4));
iron_mc.gotoAndStop(1);
if (b_soundMode){
ch_soundChannel = sd_back.play(0, 1000);
setVolumControl();
};
a_keyList = [key_1, key_2, key_3, key_4, key_5, key_6];
a_ladder = [ladder_1, ladder_2, ladder_3, ladder_4];
a_ladhole = [lad_1_0_R_L, lad_2_1_L, lad_3_0_R_L, lad_4_1_R_L];
a_holeList = [hole_1, hole_2, hole_3, hole_4];
a_dhole = [dhole_1, dhole_2, dhole_3, dhole_4];
}
public function throwTimerHandler(_arg1:TimerEvent){
var _local2:Number;
_local2 = randRange(1, 2);
if (_local2 == 1){
grodd_mc.gotoAndPlay("throwL");
} else {
if (_local2 == 2){
grodd_mc.gotoAndPlay("throwR");
};
};
}
public function teleEnterFrame(_arg1:Event){
var _local2:MovieClip;
var _local3:String;
_local2 = MovieClip(_arg1.currentTarget);
if (_local2.s_d == "R"){
_local2.x = (_local2.x + 5);
} else {
_local2.x = (_local2.x - 5);
};
if ((((_local2.x < 0)) || ((_local2.x > 500)))){
_local2.removeEventListener(Event.ENTER_FRAME, teleEnterFrame);
removeChild(_local2);
};
if (((!(b_clearMode)) && (_local2.hit.hitTestObject(bat_mc)))){
_local2.removeEventListener(Event.ENTER_FRAME, teleEnterFrame);
removeChild(_local2);
b_hurtMode = true;
b_jumpMode = false;
b_kickMode = false;
bat_mc.i_damage = 2;
_local3 = bat_mc.currentLabel;
if ((((((((((_local3 == "right")) || ((_local3 == "runR")))) || ((_local3 == "jumpR")))) || ((_local3 == "spearR")))) || ((_local3 == "kickR")))){
bat_mc.gotoAndPlay("hurtR");
} else {
if ((((((((((_local3 == "left")) || ((_local3 == "runL")))) || ((_local3 == "jumpL")))) || ((_local3 == "spearL")))) || ((_local3 == "kickL")))){
bat_mc.gotoAndPlay("hurtL");
} else {
if (_local3 == "ladder"){
bat_mc.gotoAndPlay("hurtLadder");
};
};
};
KeyLEFT = false;
KeyRIGHT = false;
KeyUp = false;
KeyDwon = false;
};
}
function frame25(){
SoundMixer.stopAll();
uu4 = (i_step % 6);
if (uu4 == 0){
uu4 = 6;
};
iron_mc.f_mc.gotoAndStop(("s_" + uu4));
iron_mc.gotoAndStop(1);
if (b_soundMode){
ch_soundChannel = sd_back.play(0, 1000);
setVolumControl();
};
n_iniX = bat_mc.x;
n_iniY = bat_mc.y;
a_keyList = [key_1, key_2, key_3, key_4, key_5];
a_ladder = [ladder_1, ladder_2, ladder_3, ladder_4];
a_ladhole = [lad_1_0_R_L, lad_2_1_L, lad_3_1_R, lad_4_1_R_L];
a_holeList = [hole_1, hole_2, hole_3];
a_dhole = [dhole_1, dhole_2, dhole_3];
i = 0;
while (i < a_holeList.length) {
a_holeList[i].alpha = 0;
i++;
};
sThrowTimer = new Timer(1500, 1);
sThrowTimer.addEventListener(TimerEvent.TIMER, sThrowTimerHandler);
if (i_step == 1){
gameStart();
};
}
function frame43(){
SoundMixer.stopAll();
uu4 = (i_step % 6);
if (uu4 == 0){
uu4 = 6;
};
iron_mc.f_mc.gotoAndStop(("s_" + uu4));
iron_mc.gotoAndStop(1);
if (b_soundMode){
ch_soundChannel = sd_back.play(0, 1000);
setVolumControl();
};
a_keyList = [key_1, key_2, key_3, key_4, key_5, key_6, key_7];
a_ladder = [ladder_1, ladder_2, ladder_3, ladder_4, ladder_5];
a_ladhole = [lad_1_0_R_L, lad_2_1_L, lad_3_1_R, lad_4_0_R_L, lad_5_0_R_L];
a_holeList = [hole_1, hole_2, hole_3, hole_4, hole_5, hole_6];
a_dhole = [dhole_1, dhole_2, dhole_3, dhole_4, dhole_5, dhole_6];
}
function frame52(){
SoundMixer.stopAll();
uu4 = (i_step % 6);
if (uu4 == 0){
uu4 = 6;
};
iron_mc.f_mc.gotoAndStop(("s_" + uu4));
iron_mc.gotoAndStop(1);
if (b_soundMode){
ch_soundChannel = sd_back.play(0, 1000);
setVolumControl();
};
a_keyList = [key_1, key_2, key_3, key_4, key_5, key_6, key_7, key_8];
a_ladder = [ladder_1, ladder_2, ladder_3, ladder_4, ladder_5];
a_ladhole = [lad_1_0_R_L, lad_2_1_L, lad_3_1_R, lad_4_0_R_L, lad_5_0_R_L];
a_holeList = [hole_1, hole_2, hole_3, hole_4];
a_dhole = [dhole_1, dhole_2, dhole_3, dhole_4];
}
public function teleTimerHandler(_arg1:TimerEvent){
var _local2:MovieClip;
_local2 = new c_tele();
addChild(_local2);
_local2.y = (grodd_mc.y - 40);
if (grodd_mc.x < bat_mc.x){
grodd_mc.s_d = "R";
_local2.s_d = "R";
} else {
grodd_mc.s_d = "L";
_local2.s_d = "L";
};
if (b_soundMode){
ch_soundChannel = sd_teleAttack.play();
setVolumControl();
};
_local2.gotoAndStop(_local2.s_d);
if (grodd_mc.s_d == "R"){
grodd_mc.gotoAndPlay("attackR");
_local2.x = (grodd_mc.x + 10);
} else {
grodd_mc.gotoAndPlay("attackL");
_local2.x = (grodd_mc.x - 10);
};
_local2.addEventListener(Event.ENTER_FRAME, teleEnterFrame);
}
public function updateScore(){
trace(("i_nowScore = " + i_nowScore));
stage_mc[("s_" + 1)].gotoAndStop(((i_nowScore % 10) + 1));
stage_mc[("s_" + 2)].gotoAndStop(((int((i_nowScore / 10)) % 10) + 1));
stage_mc[("s_" + 3)].gotoAndStop(((int((i_nowScore / 100)) % 10) + 1));
stage_mc[("s_" + 4)].gotoAndStop(((int((i_nowScore / 1000)) % 10) + 1));
stage_mc[("s_" + 5)].gotoAndStop(((int((i_nowScore / 10000)) % 10) + 1));
stage_mc[("s_" + 6)].gotoAndStop(((int((i_nowScore / 100000)) % 10) + 1));
}
public function getRandomLst(_arg1:Array, _arg2:int, _arg3:int):Array{
var _local4:Array;
var _local5:Array;
var _local6:int;
var _local7:*;
_local4 = [];
_local5 = [];
i = 0;
while (i < _arg1.length) {
_local5.push(_arg1[i]);
i++;
};
i = 0;
while (i < _arg2) {
_local6 = (Math.random() * _local5.length);
_local7 = _local5[_local6];
_local4.push(_local7);
if (_arg3 == 1){
_local5.splice(_local6, 1);
};
i++;
};
return (_local4);
}
public function gameTimerHandler(_arg1:TimerEvent){
var _local2:String;
i_gameTime++;
stage_mc.gage_b.scaleX = (stage_mc.gage_b.scaleX - (0.008 + ((i_step - 1) / 700)));
if (stage_mc.gage_b.scaleX <= 0){
stage_mc.gage_b.scaleX = 0;
b_holeMode = true;
throwTimer.reset();
_local2 = bat_mc.currentLabel;
if ((((((((((((((((((_local2 == "right")) || ((_local2 == "runR")))) || ((_local2 == "jumpR")))) || ((_local2 == "spearR")))) || ((_local2 == "kickR")))) || ((_local2 == "hurtR")))) || ((_local2 == "holeR")))) || ((_local2 == "hurtLadder")))) || ((_local2 == "ladder")))){
bat_mc.gotoAndPlay("failR");
} else {
if ((((((((((((((((((_local2 == "left")) || ((_local2 == "runL")))) || ((_local2 == "jumpL")))) || ((_local2 == "spearL")))) || ((_local2 == "kickL")))) || ((_local2 == "hurtL")))) || ((_local2 == "holeL")))) || ((_local2 == "hurtLadder")))) || ((_local2 == "ladder")))){
bat_mc.gotoAndPlay("failL");
};
};
stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownEvent);
stage.removeEventListener(KeyboardEvent.KEY_UP, keyUpEvent);
bat_mc.removeEventListener(Event.ENTER_FRAME, myMcEnterFrame);
};
}
public function keyUpEvent(_arg1:KeyboardEvent){
var _local2:String;
if (!b_downMode){
if (_arg1.keyCode == Keyboard.RIGHT){
if (((((!(b_kickMode)) && (!(b_jumpMode)))) && (!(b_ladderMode)))){
KeyRIGHT = false;
};
} else {
if (_arg1.keyCode == Keyboard.LEFT){
if (((!(b_jumpMode)) && (!(b_ladderMode)))){
KeyLEFT = false;
};
} else {
if (_arg1.keyCode == Keyboard.UP){
KeyUp = false;
} else {
if (_arg1.keyCode == Keyboard.DOWN){
KeyDwon = false;
} else {
if (_arg1.keyCode == 88){
};
};
};
};
};
if (((!(b_kickMode)) && (!(b_hurtMode)))){
if (_arg1.keyCode == Keyboard.RIGHT){
if (((!(b_jumpMode)) && (!(b_ladderMode)))){
bat_mc.gotoAndStop("right");
};
KeyRIGHT = false;
} else {
if (_arg1.keyCode == Keyboard.LEFT){
if (((!(b_jumpMode)) && (!(b_ladderMode)))){
bat_mc.gotoAndStop("left");
};
KeyLEFT = false;
} else {
if (_arg1.keyCode == Keyboard.UP){
if (b_ladderMode){
bat_mc.up_mc.stop();
};
KeyUp = false;
} else {
if (_arg1.keyCode == Keyboard.DOWN){
if (b_ladderMode){
bat_mc.up_mc.stop();
};
KeyDwon = false;
};
};
};
};
};
if (((b_kickMode) && (!(b_hurtMode)))){
if (_arg1.keyCode == 90){
b_kickMode = false;
if (((!(b_jumpMode)) && (!(b_ladderMode)))){
_local2 = bat_mc.currentLabel;
if ((((((((((((_local2 == "right")) || ((_local2 == "runR")))) || ((_local2 == "jumpR")))) || ((_local2 == "spearR")))) || ((_local2 == "kickR")))) || ((_local2 == "hurtR")))){
bat_mc.gotoAndStop("right");
} else {
if ((((((((((((_local2 == "left")) || ((_local2 == "runL")))) || ((_local2 == "jumpL")))) || ((_local2 == "spearL")))) || ((_local2 == "kickL")))) || ((_local2 == "hurtL")))){
bat_mc.gotoAndStop("left");
};
};
};
};
};
};
}
public function myMcEnterFrame(_arg1:Event){
if (!b_hurtMode){
if (KeyRIGHT){
if (((!(b_jumpMode)) && (!(b_ladderMode)))){
if (bat_mc.currentLabel != "runR"){
bat_mc.gotoAndStop("runR");
};
};
if (!b_ladderMode){
bat_mc.x = (bat_mc.x + i_moveGame);
};
};
if (KeyLEFT){
if (((!(b_jumpMode)) && (!(b_ladderMode)))){
if (bat_mc.currentLabel != "runL"){
bat_mc.gotoAndStop("runL");
};
};
if (!b_ladderMode){
bat_mc.x = (bat_mc.x - i_moveGame);
};
};
if (!b_jumpMode){
if (KeyUp){
if (((b_ladderMode) && (!((bat_mc.up_mc == null))))){
if (bat_mc.y > (nowLadder_mc.y - bat_mc.height)){
bat_mc.up_mc.play();
};
};
};
if (KeyDwon){
if (((b_ladderMode) && (!((bat_mc.up_mc == null))))){
if (bat_mc.y < ((nowLadder_mc.y + nowLadder_mc.height) - bat_mc.height)){
bat_mc.up_mc.play();
};
};
};
};
if (b_ladderMode){
if (KeyUp){
bat_mc.y = (bat_mc.y - (i_moveGame - 1));
if (bat_mc.y <= nowLadder_mc.y){
bat_mc.y = nowLadder_mc.y;
b_ladderMode = false;
bat_mc.up_mc.stop();
bat_mc.gotoAndStop("right");
};
};
if (KeyDwon){
bat_mc.y = (bat_mc.y + (i_moveGame - 1));
if (bat_mc.y >= (nowLadder_mc.y + nowLadder_mc.height)){
bat_mc.y = (nowLadder_mc.y + nowLadder_mc.height);
b_ladderMode = false;
bat_mc.up_mc.stop();
bat_mc.gotoAndStop("right");
};
};
};
};
if (bat_mc.x < 16){
bat_mc.x = 16;
};
if (bat_mc.x > 484){
bat_mc.x = 484;
};
if (b_telStart){
if (!b_clearMode){
if (142 > bat_mc.y){
if (bat_mc.x < (grodd_mc.x + 50)){
bat_mc.x = (grodd_mc.x + 50);
};
};
};
};
i = 0;
while (i < a_keyList.length) {
if (bat_mc.keyhit_mc.hitTestObject(a_keyList[i])){
if (!a_keyList[i].b_hit){
if (b_soundMode){
ch_soundChannel = sd_keyGain.play();
setVolumControl();
};
a_keyList[i].gotoAndPlay(2);
a_keyList[i].b_hit = true;
i_getCoin++;
break;
};
};
i++;
};
if (i_getCoin == a_keyList.length){
throwTimer.reset();
if (!b_telStart){
trace(("b_telStart = " + b_telStart));
teleTimer.start();
b_telStart = true;
};
};
if (((!(b_jumpMode)) && (!(b_downMode)))){
i = 0;
while (i < a_holeList.length) {
if (bat_mc.hit.hitTestObject(a_holeList[i])){
b_downMode = true;
bat_mc.i_damage = 1;
KeyLEFT = false;
KeyRIGHT = false;
if ((((((bat_mc.currentLabel == "right")) || ((bat_mc.currentLabel == "runR")))) || ((bat_mc.currentLabel == "jumpR")))){
bat_mc.gotoAndStop("holeR");
} else {
if ((((((bat_mc.currentLabel == "left")) || ((bat_mc.currentLabel == "runL")))) || ((bat_mc.currentLabel == "jumpL")))){
bat_mc.gotoAndStop("holeL");
};
};
bat_mc.t_y = (bat_mc.y + 90);
break;
};
i++;
};
};
if (b_downMode){
bat_mc.y = (bat_mc.y + 5);
if (bat_mc.y >= bat_mc.t_y){
b_downMode = false;
bat_mc.i_damage = 1;
if (bat_mc.currentLabel == "holeR"){
bat_mc.gotoAndStop("right");
} else {
if (bat_mc.currentLabel == "holeL"){
bat_mc.gotoAndStop("left");
};
};
checkEnergy();
};
};
if (b_clearMode){
if (bat_mc.hitTestObject(goal_mc)){
bat_mc.gotoAndStop("right");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownEvent);
stage.removeEventListener(KeyboardEvent.KEY_UP, keyUpEvent);
bat_mc.removeEventListener(Event.ENTER_FRAME, myMcEnterFrame);
iron_mc.gotoAndPlay("END");
};
};
}
public function keyDownEvent(_arg1:KeyboardEvent){
var _local2:MovieClip;
var _local3:String;
if (!b_downMode){
if (((!(b_kickMode)) && (!(b_hurtMode)))){
if (_arg1.keyCode == Keyboard.RIGHT){
if (!b_ladderMode){
KeyLEFT = false;
KeyRIGHT = true;
} else {
if ((((bat_mc.y <= nowLadder_mc.y)) || ((bat_mc.y >= (nowLadder_mc.y + nowLadder_mc.height))))){
b_ladderMode = false;
KeyLEFT = false;
KeyRIGHT = true;
};
};
} else {
if (_arg1.keyCode == Keyboard.LEFT){
if (!b_ladderMode){
KeyRIGHT = false;
KeyLEFT = true;
} else {
if ((((bat_mc.y <= nowLadder_mc.y)) || ((bat_mc.y >= (nowLadder_mc.y + nowLadder_mc.height))))){
b_ladderMode = false;
KeyLEFT = true;
KeyRIGHT = false;
};
};
} else {
if (_arg1.keyCode == Keyboard.UP){
if (!b_jumpMode){
i = 0;
while (i < a_ladder.length) {
if (bat_mc.hitTestObject(a_ladder[i].hit_mc)){
_local2 = a_ladder[i];
if (((!(b_ladderMode)) && (!((bat_mc.y == _local2.y))))){
b_ladderMode = true;
KeyLEFT = false;
KeyRIGHT = false;
bat_mc.gotoAndStop("ladder");
bat_mc.x = a_ladder[i].x;
nowLadder_mc = a_ladder[i];
break;
};
};
i++;
};
KeyUp = true;
};
} else {
if (_arg1.keyCode == Keyboard.DOWN){
if (!b_jumpMode){
i = 0;
while (i < a_ladder.length) {
if (!b_ladderMode){
if (bat_mc.hitTestObject(a_ladder[i].hit_mc)){
b_ladderMode = true;
KeyLEFT = false;
KeyRIGHT = false;
bat_mc.gotoAndStop("ladder");
bat_mc.x = a_ladder[i].x;
nowLadder_mc = a_ladder[i];
break;
};
};
i++;
};
KeyDwon = true;
};
} else {
if (_arg1.keyCode == Keyboard.SPACE){
if (((!(b_jumpMode)) && (!(b_ladderMode)))){
if (KeyRIGHT){
bat_mc.gotoAndStop("jumpR");
};
if (KeyLEFT){
bat_mc.gotoAndStop("jumpL");
};
if (bat_mc.currentLabel == "right"){
bat_mc.gotoAndStop("jumpR");
} else {
if (bat_mc.currentLabel == "left"){
bat_mc.gotoAndStop("jumpL");
};
};
if (bat_mc.currentLabel != "ladder"){
b_jumpMode = true;
};
};
} else {
if (_arg1.keyCode == 90){
if (((!(b_ladderMode)) && (!(b_jumpMode)))){
b_kickMode = true;
_local3 = bat_mc.currentLabel;
if ((((((((((_local3 == "right")) || ((_local3 == "runR")))) || ((_local3 == "kickR")))) || ((_local3 == "ladder")))) || ((_local3 == "spearR")))){
bat_mc.gotoAndStop("kickR");
} else {
if ((((((((((_local3 == "left")) || ((_local3 == "runL")))) || ((_local3 == "kickL")))) || ((_local3 == "ladder")))) || ((_local3 == "spearL")))){
bat_mc.gotoAndStop("kickL");
};
};
KeyLEFT = false;
KeyRIGHT = false;
};
} else {
if (_arg1.keyCode == 88){
if (!b_ladderMode){
if ((((i_getCoin == a_keyList.length)) && (!(b_spearMode)))){
sThrowTimer.start();
b_spearMode = true;
b_kickMode = false;
b_jumpMode = false;
KeyLEFT = false;
KeyRIGHT = false;
if ((((((((bat_mc.currentLabel == "right")) || ((bat_mc.currentLabel == "runR")))) || ((bat_mc.currentLabel == "jumpR")))) || ((_local3 == "kickR")))){
bat_mc.gotoAndPlay("spearR");
} else {
if ((((((((bat_mc.currentLabel == "left")) || ((bat_mc.currentLabel == "runL")))) || ((bat_mc.currentLabel == "jumpL")))) || ((_local3 == "kickL")))){
bat_mc.gotoAndPlay("spearL");
};
};
};
};
};
};
};
};
};
};
};
};
};
}
public function gameClear(){
trace("gameClear");
}
public function nextStageStart(){
trace("nextStageStart");
gameStartNext();
}
public function gameEnd(){
var _local1:LocalConnection;
_local1 = new LocalConnection();
trace(("sending score: " + i_nowScore));
_local1.send("_user", "fnPostScore", i_nowScore);
trace("game end");
b_telStart = false;
teleTimer.reset();
gameTimer.reset();
b_clearMode = false;
SoundMixer.stopAll();
gotoAndStop("MAIN");
}
public function gameStart(){
var _local1:int;
trace("gameStart ======");
bat_mc.i_damage = 1;
i_gameTime = 0;
gameTimer.start();
n_teleTimer = 3000;
teleTimer = new Timer(n_teleTimer, 0);
teleTimer.addEventListener(TimerEvent.TIMER, teleTimerHandler);
n_throwTimer = 3000;
throwTimer = new Timer(n_throwTimer, 0);
throwTimer.addEventListener(TimerEvent.TIMER, throwTimerHandler);
throwTimer.start();
grodd_mc.gotoAndStop(1);
grodd_mc.b_hurtMode = false;
_local1 = (i_step % 6);
if (_local1 == 0){
_local1 = 6;
};
iron_mc.f_mc.gotoAndStop(("s_" + _local1));
iron_mc.gotoAndStop(1);
a_drumList = [];
i_lifeNum = 3;
i_nowScore = 0;
updateScore();
i_step = 1;
stage_mc.level_1.gotoAndStop(2);
stage_mc.level_2.gotoAndStop(1);
i_getCoin = 0;
stage_mc.gage_b.scaleX = 1;
stage_mc.gage_g.scaleX = 1;
b_jumpMode = false;
b_ladderMode = false;
b_kickMode = false;
b_holeMode = false;
b_hurtMode = false;
b_downMode = false;
b_spearMode = false;
b_clearMode = false;
b_telStart = false;
KeyLEFT = false;
KeyRIGHT = false;
KeyUp = false;
KeyDwon = false;
bat_mc.gotoAndStop(1);
bat_mc.x = 134;
bat_mc.y = 367;
i = 1;
while (i < i_lifeNum) {
stage_mc[("life_" + i)].visible = true;
i++;
};
i = 0;
while (i < a_keyList.length) {
a_keyList[i].gotoAndStop(1);
a_keyList[i].b_hit = false;
a_keyList[i].visible = true;
i++;
};
stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownEvent);
stage.addEventListener(KeyboardEvent.KEY_UP, keyUpEvent);
bat_mc.addEventListener(Event.ENTER_FRAME, myMcEnterFrame);
}
public function checkHitDrum(){
i = 0;
while (i < a_drumList.length) {
if (!a_drumList[i].explo){
if (bat_mc.kickHit.hitTestObject(a_drumList[i])){
a_drumList[i].explo = true;
if (b_soundMode){
ch_soundChannel = sd_tongSuc.play();
setVolumControl();
};
a_drumList[i].gotoAndPlay("suc");
a_drumList[i].removeEventListener(Event.ENTER_FRAME, drumEnterFrame);
a_drumList.splice(i, 1);
i_nowScore = (i_nowScore + 10);
updateScore();
break;
};
};
i++;
};
}
public function checkEnergy(){
var _local1:Number;
var _local2:String;
var _local3:String;
b_jumpMode = false;
b_kickMode = false;
_local1 = 0;
trace(("bat_mc.i_damage = " + bat_mc.i_damage));
if (bat_mc.i_damage == 1){
_local1 = ((0.07 + ((5 * (i_step - 1)) / 200)) + 0.005);
} else {
_local1 = ((0.051 + ((2 * (i_step - 1)) / 100)) + 0.005);
};
stage_mc.gage_b.scaleX = (stage_mc.gage_b.scaleX - _local1);
if (stage_mc.gage_b.scaleX <= 0){
stage_mc.gage_b.scaleX = 0;
b_holeMode = true;
throwTimer.reset();
_local2 = bat_mc.currentLabel;
if ((((((_local2 == "hurtR")) || ((_local2 == "holeR")))) || ((_local2 == "right")))){
bat_mc.gotoAndPlay("failR");
} else {
if ((((((_local2 == "hurtL")) || ((_local2 == "holeL")))) || ((_local2 == "left")))){
bat_mc.gotoAndPlay("failL");
};
};
stage.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownEvent);
stage.removeEventListener(KeyboardEvent.KEY_UP, keyUpEvent);
bat_mc.removeEventListener(Event.ENTER_FRAME, myMcEnterFrame);
} else {
b_hurtMode = false;
_local3 = bat_mc.currentLabel;
if (_local3 == "hurtR"){
bat_mc.gotoAndStop("right");
} else {
if (_local3 == "hurtL"){
bat_mc.gotoAndStop("left");
};
};
};
}
public function setVolumControl(){
var _local1:SoundTransform;
_local1 = new SoundTransform(n_volumNum, 0);
ch_soundChannel.soundTransform = _local1;
}
public function drumEnterFrame(_arg1:Event){
var _local2:MovieClip;
var _local3:String;
var _local4:Number;
var _local5:MovieClip;
var _local6:String;
var _local7:Boolean;
var _local8:Number;
var _local9:Array;
var _local10:Number;
var _local11:Array;
var _local12:Array;
_local2 = MovieClip(_arg1.currentTarget);
if (b_holeMode){
_local2.removeEventListener(Event.ENTER_FRAME, drumEnterFrame);
removeChild(_local2);
};
_local3 = _local2.s_d;
_local4 = 5;
if (_local3 == "L"){
_local2.x = (_local2.x - _local4);
} else {
if (_local3 == "R"){
_local2.x = (_local2.x + _local4);
} else {
if (_local3 == "D"){
_local2.y = (_local2.y + _local4);
if (_local2.y >= this[("ty_" + _local2.i_step)].y){
_local2.i_step++;
_local2.s_d = _local2.next_d;
_local2.gotoAndStop(_local2.s_d);
};
};
};
};
if ((((_local2.x <= -16)) || ((_local2.x >= 515)))){
i = 0;
while (i < a_drumList.length) {
if (a_drumList[i] == _local2){
a_drumList.splice(i, 1);
break;
};
i++;
};
_local2.removeEventListener(Event.ENTER_FRAME, drumEnterFrame);
removeChild(_local2);
};
if (((((!(_local2.jumpPoint)) && (b_jumpMode))) && ((((_local2.currentLabel == "R")) || ((_local2.currentLabel == "L")))))){
if (_local2.jumpHit_mc.hitTestObject(bat_mc.keyhit_mc)){
_local2.jumpPoint = true;
_local5 = new c_drumPoint();
addChild(_local5);
_local5.x = (_local2.x - 7);
_local5.y = (_local2.y - 44);
_local5.gotoAndPlay(2);
i_nowScore = (i_nowScore + 10);
updateScore();
};
};
if (((_local2.hit.hitTestObject(bat_mc.keyhit_mc)) && (!(_local2.explo)))){
i = 0;
while (i < a_drumList.length) {
if (a_drumList[i] == _local2){
a_drumList.splice(i, 1);
break;
};
i++;
};
if (b_soundMode){
ch_soundChannel = sd_tongFail.play();
setVolumControl();
};
b_kickMode = false;
b_hurtMode = true;
b_jumpMode = false;
bat_mc.i_damage = 1;
_local6 = bat_mc.currentLabel;
if ((((((((((_local6 == "right")) || ((_local6 == "runR")))) || ((_local6 == "jumpR")))) || ((_local6 == "kickR")))) || ((_local6 == "spearR")))){
bat_mc.gotoAndPlay("hurtR");
} else {
if ((((((((((_local6 == "left")) || ((_local6 == "runL")))) || ((_local6 == "jumpL")))) || ((_local6 == "kickL")))) || ((_local6 == "spearL")))){
bat_mc.gotoAndPlay("hurtL");
} else {
if (_local6 == "ladder"){
bat_mc.gotoAndPlay("hurtLadder");
};
};
};
_local2.gotoAndPlay("break");
_local2.removeEventListener(Event.ENTER_FRAME, drumEnterFrame);
};
if (_local2.s_d != "D"){
i = 0;
while (i < a_dhole.length) {
if (_local2.hitTestObject(a_dhole[i])){
_local2.s_d = "D";
_local2.x = a_dhole[i].x;
_local2.next_d = getRandomLst(["R", "L"], 1, 1)[0];
break;
};
i++;
};
i = 0;
while (i < a_ladhole.length) {
if (_local2.hitTestObject(a_ladhole[i])){
_local7 = true;
j = 0;
while (j < _local2.hitList.length) {
if (_local2.hitList[j] == a_ladhole[i]){
_local7 = false;
break;
};
j++;
};
if (!_local7){
break;
};
_local2.hitList.push(a_ladhole[i]);
_local8 = a_ladhole[i].x;
_local9 = a_ladhole[i].name.split("_");
if (_local9[2] == "0"){
_local10 = getRandomLst([1, 2, 3, 4], 1, 1)[0];
if (_local10 == 3){
_local2.s_d = "D";
_local2.x = _local8;
_local11 = [];
j = 3;
while (j < _local9.length) {
_local11.push(_local9[j]);
j++;
};
_local2.next_d = getRandomLst(_local11, 1, 1)[0];
};
} else {
_local2.s_d = "D";
_local2.x = a_ladhole[i].x;
_local12 = [];
j = 3;
while (j < _local9.length) {
_local12.push(_local9[j]);
j++;
};
_local2.next_d = getRandomLst(_local12, 1, 1)[0];
};
break;
};
i++;
};
};
}
public function nextStage(){
i_step++;
if (i_lastStep < i_step){
gameClear();
} else {
nextStage_mc.gotoAndPlay(2);
};
}
public function mainMCLoadProgress(_arg1:ProgressEvent){
var _local2:uint;
_local2 = Math.round((100 * (_arg1.bytesLoaded / _arg1.bytesTotal)));
load_mc.mcLoading.loading2_mc.progressFun(_local2);
if (_arg1.bytesLoaded == _arg1.bytesTotal){
trace(((("e.bytesLoaded : e.bytesTotal = " + _arg1.bytesLoaded) + " :: ") + _arg1.bytesTotal));
gotoAndStop("MAIN");
};
}
public function reStartScene(){
var _local1:int;
i_lifeNum--;
if (i_lifeNum == 0){
gameEnd();
} else {
stage_mc[("life_" + i_lifeNum)].visible = false;
stage_mc.gage_b.scaleX = 1;
bat_mc.x = n_iniX;
bat_mc.y = n_iniY;
bat_mc.gotoAndStop("right");
_local1 = (i_step % 6);
if (_local1 == 0){
_local1 = 6;
};
iron_mc.f_mc.gotoAndStop(("s_" + _local1));
iron_mc.gotoAndStop(1);
throwTimer.start();
a_drumList = [];
b_jumpMode = false;
b_ladderMode = false;
b_kickMode = false;
b_holeMode = false;
b_hurtMode = false;
KeyLEFT = false;
KeyRIGHT = false;
KeyUp = false;
KeyDwon = false;
stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownEvent);
stage.addEventListener(KeyboardEvent.KEY_UP, keyUpEvent);
bat_mc.addEventListener(Event.ENTER_FRAME, myMcEnterFrame);
};
}
public function throwDrum(_arg1:String){
var _local2:MovieClip;
_local2 = new c_drum();
addChild(_local2);
a_drumList.push(_local2);
_local2.gotoAndStop(_arg1);
if (_arg1 == "L"){
_local2.x = 160;
} else {
_local2.x = 270;
};
_local2.y = 97;
_local2.s_d = _arg1;
_local2.i_step = 1;
_local2.next_d = "";
_local2.hitList = [];
_local2.explo = false;
_local2.jumpPoint = false;
_local2.addEventListener(Event.ENTER_FRAME, drumEnterFrame);
}
public function howBtn(_arg1:MouseEvent){
gotoAndStop("HOW");
}
}
}//package 1021_GGBP_hiscore_fla
Section 19
//shape29_18 (1021_GGBP_hiscore_fla.shape29_18)
package 1021_GGBP_hiscore_fla {
import flash.display.*;
public dynamic class shape29_18 extends MovieClip {
public function shape29_18(){
addFrameScript(15, frame16);
}
function frame16(){
stop();
}
}
}//package 1021_GGBP_hiscore_fla
Section 20
//Sound_37 (1021_GGBP_hiscore_fla.Sound_37)
package 1021_GGBP_hiscore_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Sound_37 extends MovieClip {
public var on_btn:SimpleButton;
public var off_btn:SimpleButton;
public function Sound_37(){
addFrameScript(0, frame1, 1, frame2);
}
public function offBtnClicked(_arg1:MouseEvent){
Object(this.parent).b_soundMode = true;
if ((((((((Object(this.parent).currentLabel == "GAME_1")) || ((Object(this.parent).currentLabel == "GAME_2")))) || ((Object(this.parent).currentLabel == "GAME_3")))) || ((Object(this.parent).currentLabel == "GAME_4")))){
Object(this.parent).sd_back.play(0, 1000);
};
if (((!((Object(this.parent).currentLabel == "MAIN"))) && (!((Object(this.parent).currentLabel == "HOW"))))){
if (Object(this.parent).gameEnd_mc.currentFrame != 1){
SoundMixer.stopAll();
Object(this.parent).sd_ending.play();
};
if (Object(this.parent).nextStage_mc.currentFrame != 1){
SoundMixer.stopAll();
Object(this.parent).sd_clear.play();
};
};
gotoAndStop(1);
}
public function onBtnClicked(_arg1:MouseEvent){
SoundMixer.stopAll();
Object(this.parent).b_soundMode = false;
gotoAndStop(2);
}
function frame1(){
stop();
on_btn.addEventListener(MouseEvent.CLICK, onBtnClicked);
}
function frame2(){
stop();
off_btn.addEventListener(MouseEvent.CLICK, offBtnClicked);
}
}
}//package 1021_GGBP_hiscore_fla
Section 21
//sprite1072_102 (1021_GGBP_hiscore_fla.sprite1072_102)
package 1021_GGBP_hiscore_fla {
import flash.display.*;
public dynamic class sprite1072_102 extends MovieClip {
public function sprite1072_102(){
addFrameScript(23, frame24, 47, frame48);
}
function frame24(){
gotoAndPlay(1);
}
function frame48(){
stop();
}
}
}//package 1021_GGBP_hiscore_fla
Section 22
//sprite144_290 (1021_GGBP_hiscore_fla.sprite144_290)
package 1021_GGBP_hiscore_fla {
import flash.display.*;
public dynamic class sprite144_290 extends MovieClip {
public function sprite144_290(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1021_GGBP_hiscore_fla
Section 23
//sprite401_182 (1021_GGBP_hiscore_fla.sprite401_182)
package 1021_GGBP_hiscore_fla {
import flash.display.*;
public dynamic class sprite401_182 extends MovieClip {
public function sprite401_182(){
addFrameScript(11, frame12);
}
function frame12(){
gotoAndPlay(1);
}
}
}//package 1021_GGBP_hiscore_fla
Section 24
//sprite416_260 (1021_GGBP_hiscore_fla.sprite416_260)
package 1021_GGBP_hiscore_fla {
import flash.display.*;
public dynamic class sprite416_260 extends MovieClip {
public function sprite416_260(){
addFrameScript(28, frame29);
}
function frame29(){
stop();
}
}
}//package 1021_GGBP_hiscore_fla
Section 25
//sprite448_189 (1021_GGBP_hiscore_fla.sprite448_189)
package 1021_GGBP_hiscore_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class sprite448_189 extends MovieClip {
public function sprite448_189(){
addFrameScript(10, frame11);
}
function frame11(){
stop();
Object(this.parent.parent).b_jumpMode = false;
if (Object(this.parent).currentLabel == "jumpL"){
Object(this.parent).gotoAndStop("left");
} else {
Object(this.parent).gotoAndStop("right");
};
}
}
}//package 1021_GGBP_hiscore_fla
Section 26
//sprite487_266 (1021_GGBP_hiscore_fla.sprite487_266)
package 1021_GGBP_hiscore_fla {
import flash.display.*;
public dynamic class sprite487_266 extends MovieClip {
public function sprite487_266(){
addFrameScript(47, frame48);
}
function frame48(){
stop();
}
}
}//package 1021_GGBP_hiscore_fla
Section 27
//Symbol1_132 (1021_GGBP_hiscore_fla.Symbol1_132)
package 1021_GGBP_hiscore_fla {
import flash.display.*;
public dynamic class Symbol1_132 extends MovieClip {
public function Symbol1_132(){
addFrameScript(16, frame17);
}
function frame17(){
stop();
}
}
}//package 1021_GGBP_hiscore_fla
Section 28
//Symbol33dfsdf_307 (1021_GGBP_hiscore_fla.Symbol33dfsdf_307)
package 1021_GGBP_hiscore_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Symbol33dfsdf_307 extends MovieClip {
public var f_mc:MovieClip;
public var i;
public function Symbol33dfsdf_307(){
addFrameScript(0, frame1, 1, frame2, 16, frame17, 36, frame37);
}
function frame1(){
stop();
}
function frame17(){
i = 0;
while (i < f_mc.f_list.length) {
f_mc.f_list[i].gotoAndPlay("END");
i++;
};
}
function frame2(){
if (Object(this.parent).b_soundMode){
Object(this.parent).sd_iron.play();
};
}
function frame37(){
stop();
Object(this.parent).nextStage();
}
}
}//package 1021_GGBP_hiscore_fla
Section 29
//Symbol33dfsdf_61 (1021_GGBP_hiscore_fla.Symbol33dfsdf_61)
package 1021_GGBP_hiscore_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Symbol33dfsdf_61 extends MovieClip {
public var f_mc:MovieClip;
public var i;
public function Symbol33dfsdf_61(){
addFrameScript(0, frame1, 1, frame2, 16, frame17, 36, frame37);
}
function frame1(){
stop();
}
function frame17(){
i = 0;
while (i < f_mc.f_list.length) {
f_mc.f_list[i].gotoAndPlay("END");
i++;
};
}
function frame2(){
if (Object(this.parent).b_soundMode){
Object(this.parent).ch_soundChannel = Object(this.parent).sd_iron.play();
Object(this.parent).setVolumControl();
};
}
function frame37(){
stop();
Object(this.parent).nextStage();
}
}
}//package 1021_GGBP_hiscore_fla
Section 30
//Symbol9_28 (1021_GGBP_hiscore_fla.Symbol9_28)
package 1021_GGBP_hiscore_fla {
import flash.display.*;
public dynamic class Symbol9_28 extends MovieClip {
public function Symbol9_28(){
addFrameScript(43, frame44);
}
function frame44(){
stop();
}
}
}//package 1021_GGBP_hiscore_fla
Section 31
//Timeline_142 (1021_GGBP_hiscore_fla.Timeline_142)
package 1021_GGBP_hiscore_fla {
import flash.display.*;
public dynamic class Timeline_142 extends MovieClip {
public var hit_mc:MovieClip;
}
}//package 1021_GGBP_hiscore_fla
Section 32
//Timeline_146 (1021_GGBP_hiscore_fla.Timeline_146)
package 1021_GGBP_hiscore_fla {
import flash.display.*;
public dynamic class Timeline_146 extends MovieClip {
public function Timeline_146(){
addFrameScript(0, frame1, 9, frame10);
}
function frame10(){
stop();
}
function frame1(){
stop();
}
}
}//package 1021_GGBP_hiscore_fla
Section 33
//Timeline_168 (1021_GGBP_hiscore_fla.Timeline_168)
package 1021_GGBP_hiscore_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_168 extends MovieClip {
public var nTimer:Timer;
public var mc:MovieClip;
public function Timeline_168(){
addFrameScript(30, frame31, 60, frame61);
}
public function myMcEnterFrame(_arg1:Event){
if (Object(this.parent.parent).bat_mc.hitTestObject(Object(this.parent.parent).grodd_mc)){
Object(this.parent.parent).grodd_mc.y = (Object(this.parent.parent).grodd_mc.y - 50);
mc.stop();
nTimer.start();
this.removeEventListener(Event.ENTER_FRAME, myMcEnterFrame);
};
}
function frame31(){
nTimer = new Timer(400, 1);
nTimer.addEventListener(TimerEvent.TIMER, timerH);
this.addEventListener(Event.ENTER_FRAME, myMcEnterFrame);
}
public function timerH(_arg1:TimerEvent){
Object(this.parent.parent).grodd_mc.y = (Object(this.parent.parent).grodd_mc.y + 50);
mc.play();
nTimer.reset();
}
function frame61(){
stop();
}
}
}//package 1021_GGBP_hiscore_fla
Section 34
//Timeline_221 (1021_GGBP_hiscore_fla.Timeline_221)
package 1021_GGBP_hiscore_fla {
import flash.display.*;
public dynamic class Timeline_221 extends MovieClip {
public function Timeline_221(){
addFrameScript(0, frame1);
}
function frame1(){
trace("down start");
}
}
}//package 1021_GGBP_hiscore_fla
Section 35
//Timeline_285 (1021_GGBP_hiscore_fla.Timeline_285)
package 1021_GGBP_hiscore_fla {
import flash.display.*;
public dynamic class Timeline_285 extends MovieClip {
public var gage_b:MovieClip;
public var gage_g:MovieClip;
public var level_2:MovieClip;
public var level_1:MovieClip;
public var s_2:MovieClip;
public var s_5:MovieClip;
public var s_6:MovieClip;
public var s_3:MovieClip;
public var s_4:MovieClip;
public var s_1:MovieClip;
public var life_2:MovieClip;
public var life_1:MovieClip;
}
}//package 1021_GGBP_hiscore_fla
Section 36
//Timeline_291 (1021_GGBP_hiscore_fla.Timeline_291)
package 1021_GGBP_hiscore_fla {
import flash.display.*;
public dynamic class Timeline_291 extends MovieClip {
public var thumbnail0:MovieClip;
public function Timeline_291(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1021_GGBP_hiscore_fla
Section 37
//Timeline_300 (1021_GGBP_hiscore_fla.Timeline_300)
package 1021_GGBP_hiscore_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_300 extends MovieClip {
public var t_4:MovieClip;
public var t_6:MovieClip;
public var t_1:MovieClip;
public var t_2:MovieClip;
public var t_5:MovieClip;
public var t_3:MovieClip;
public var i_timeBonum:int;
public function Timeline_300(){
addFrameScript(0, frame1);
}
function frame1(){
i_timeBonum = int(((1 / Object(this.parent.parent).i_gameTime) * 100000));
Object(this.parent.parent).i_nowScore = (Object(this.parent.parent).i_nowScore + i_timeBonum);
Object(this.parent.parent).updateScore();
this[("t_" + 1)].gotoAndStop(((Object(this.parent.parent).i_nowScore % 10) + 1));
this[("t_" + 2)].gotoAndStop(((int((Object(this.parent.parent).i_nowScore / 10)) % 10) + 1));
this[("t_" + 3)].gotoAndStop(((int((Object(this.parent.parent).i_nowScore / 100)) % 10) + 1));
this[("t_" + 4)].gotoAndStop(((int((Object(this.parent.parent).i_nowScore / 1000)) % 10) + 1));
this[("t_" + 5)].gotoAndStop(((int((Object(this.parent.parent).i_nowScore / 10000)) % 10) + 1));
this[("t_" + 6)].gotoAndStop(((int((Object(this.parent.parent).i_nowScore / 100000)) % 10) + 1));
}
}
}//package 1021_GGBP_hiscore_fla
Section 38
//Timeline_301 (1021_GGBP_hiscore_fla.Timeline_301)
package 1021_GGBP_hiscore_fla {
import flash.display.*;
public dynamic class Timeline_301 extends MovieClip {
public function Timeline_301(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package 1021_GGBP_hiscore_fla
Section 39
//Timeline_305 (1021_GGBP_hiscore_fla.Timeline_305)
package 1021_GGBP_hiscore_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_305 extends MovieClip {
public var t_4:MovieClip;
public var t_6:MovieClip;
public var t_1:MovieClip;
public var t_2:MovieClip;
public var t_5:MovieClip;
public var t_3:MovieClip;
public var b_2:MovieClip;
public var b_4:MovieClip;
public var b_5:MovieClip;
public var b_6:MovieClip;
public var b_3:MovieClip;
public var b_1:MovieClip;
public var i_timeBonum:int;
public function Timeline_305(){
addFrameScript(0, frame1);
}
function frame1(){
i_timeBonum = int(((1 / Object(this.parent.parent).i_gameTime) * 100000));
this[("b_" + 1)].gotoAndStop(((i_timeBonum % 10) + 1));
this[("b_" + 2)].gotoAndStop(((int((i_timeBonum / 10)) % 10) + 1));
this[("b_" + 3)].gotoAndStop(((int((i_timeBonum / 100)) % 10) + 1));
this[("b_" + 4)].gotoAndStop(((int((i_timeBonum / 1000)) % 10) + 1));
this[("b_" + 5)].gotoAndStop(((int((i_timeBonum / 10000)) % 10) + 1));
this[("b_" + 6)].gotoAndStop(((int((i_timeBonum / 100000)) % 10) + 1));
Object(this.parent.parent).i_nowScore = (Object(this.parent.parent).i_nowScore + i_timeBonum);
Object(this.parent.parent).updateScore();
this[("t_" + 1)].gotoAndStop(((Object(this.parent.parent).i_nowScore % 10) + 1));
this[("t_" + 2)].gotoAndStop(((int((Object(this.parent.parent).i_nowScore / 10)) % 10) + 1));
this[("t_" + 3)].gotoAndStop(((int((Object(this.parent.parent).i_nowScore / 100)) % 10) + 1));
this[("t_" + 4)].gotoAndStop(((int((Object(this.parent.parent).i_nowScore / 1000)) % 10) + 1));
this[("t_" + 5)].gotoAndStop(((int((Object(this.parent.parent).i_nowScore / 10000)) % 10) + 1));
this[("t_" + 6)].gotoAndStop(((int((Object(this.parent.parent).i_nowScore / 100000)) % 10) + 1));
}
}
}//package 1021_GGBP_hiscore_fla
Section 40
//Timeline_329 (1021_GGBP_hiscore_fla.Timeline_329)
package 1021_GGBP_hiscore_fla {
import flash.display.*;
public dynamic class Timeline_329 extends MovieClip {
public function Timeline_329(){
addFrameScript(11, frame12);
}
function frame12(){
stop();
}
}
}//package 1021_GGBP_hiscore_fla
Section 41
//Timeline_62 (1021_GGBP_hiscore_fla.Timeline_62)
package 1021_GGBP_hiscore_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class Timeline_62 extends MovieClip {
public var c_2:MovieClip;
public var i:int;
public var c_1:MovieClip;
public function Timeline_62(){
addFrameScript(0, frame1, 1, frame2, 6, frame7, 11, frame12, 16, frame17, 21, frame22, 26, frame27);
}
function frame12(){
this.f_list = [c_1];
i = 0;
while (i < this.f_list.length) {
this.f_list[i].gotoAndStop(1);
i++;
};
}
function frame7(){
this.f_list = [c_1];
i = 0;
while (i < this.f_list.length) {
this.f_list[i].gotoAndStop(1);
i++;
};
}
function frame1(){
stop();
}
function frame17(){
this.f_list = [c_1, c_2];
i = 0;
while (i < this.f_list.length) {
this.f_list[i].gotoAndStop(1);
i++;
};
}
function frame22(){
this.f_list = [c_1, c_2];
i = 0;
while (i < this.f_list.length) {
this.f_list[i].gotoAndStop(1);
i++;
};
}
function frame2(){
this.f_list = [c_1];
i = 0;
while (i < this.f_list.length) {
this.f_list[i].gotoAndStop(1);
i++;
};
}
function frame27(){
this.f_list = [c_1, c_2];
i = 0;
while (i < this.f_list.length) {
this.f_list[i].gotoAndStop(1);
i++;
};
}
}
}//package 1021_GGBP_hiscore_fla
Section 42
//c_Back (c_Back)
package {
import flash.media.*;
public dynamic class c_Back extends Sound {
}
}//package
Section 43
//c_bigMangchi (c_bigMangchi)
package {
import flash.media.*;
public dynamic class c_bigMangchi extends Sound {
}
}//package
Section 44
//c_clear (c_clear)
package {
import flash.media.*;
public dynamic class c_clear extends Sound {
}
}//package
Section 45
//c_drum (c_drum)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class c_drum extends MovieClip {
public var jumpHit_mc:MovieClip;
public var hit:MovieClip;
public var p_mc:c_drumPoint;
public function c_drum(){
addFrameScript(0, frame1, 15, frame16, 37, frame38);
}
function frame16(){
stop();
this["root"].removeChild(this);
}
function frame1(){
stop();
}
function frame38(){
stop();
this["root"].removeChild(this);
}
}
}//package
Section 46
//c_drumPoint (c_drumPoint)
package {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.utils.*;
import adobe.utils.*;
import flash.accessibility.*;
import flash.errors.*;
import flash.external.*;
import flash.filters.*;
import flash.geom.*;
import flash.net.*;
import flash.printing.*;
import flash.system.*;
import flash.text.*;
import flash.ui.*;
import flash.xml.*;
public dynamic class c_drumPoint extends MovieClip {
public function c_drumPoint(){
addFrameScript(0, frame1, 14, frame15);
}
function frame15(){
stop();
Object(this.parent).removeChild(this);
}
function frame1(){
stop();
}
}
}//package
Section 47
//c_ending (c_ending)
package {
import flash.media.*;
public dynamic class c_ending extends Sound {
}
}//package
Section 48
//c_holeJump (c_holeJump)
package {
import flash.media.*;
public dynamic class c_holeJump extends Sound {
}
}//package
Section 49
//c_intro (c_intro)
package {
import flash.media.*;
public dynamic class c_intro extends Sound {
}
}//package
Section 50
//c_iron (c_iron)
package {
import flash.media.*;
public dynamic class c_iron extends Sound {
}
}//package
Section 51
//c_jump (c_jump)
package {
import flash.media.*;
public dynamic class c_jump extends Sound {
}
}//package
Section 52
//c_keyGain (c_keyGain)
package {
import flash.media.*;
public dynamic class c_keyGain extends Sound {
}
}//package
Section 53
//c_sibeHurt (c_sibeHurt)
package {
import flash.media.*;
public dynamic class c_sibeHurt extends Sound {
}
}//package
Section 54
//c_smallMangchi (c_smallMangchi)
package {
import flash.media.*;
public dynamic class c_smallMangchi extends Sound {
}
}//package
Section 55
//c_spear (c_spear)
package {
import flash.display.*;
public dynamic class c_spear extends MovieClip {
}
}//package
Section 56
//c_tele (c_tele)
package {
import flash.display.*;
public dynamic class c_tele extends MovieClip {
public var hit:MovieClip;
public function c_tele(){
addFrameScript(0, frame1);
}
function frame1(){
stop();
}
}
}//package
Section 57
//c_teleAttack (c_teleAttack)
package {
import flash.media.*;
public dynamic class c_teleAttack extends Sound {
}
}//package
Section 58
//c_tongFail (c_tongFail)
package {
import flash.media.*;
public dynamic class c_tongFail extends Sound {
}
}//package
Section 59
//c_tongSuc (c_tongSuc)
package {
import flash.media.*;
public dynamic class c_tongSuc extends Sound {
}
}//package