Section 1
//Backgroundsquarecopy_6 (DoCfinal_fla.Backgroundsquarecopy_6)
package DoCfinal_fla {
import flash.events.*;
import flash.display.*;
public dynamic class Backgroundsquarecopy_6 extends MovieClip {
public var goNext:SimpleButton;
public var Vash:MovieClip;
public var goBack:SimpleButton;
public function Backgroundsquarecopy_6(){
addFrameScript(0, frame1, 1, frame2);
}
public function goB(_arg1:MouseEvent):void{
gotoAndStop("first");
}
function frame1(){
stop();
goNext.addEventListener(MouseEvent.CLICK, goF);
}
public function goF(_arg1:MouseEvent):void{
gotoAndStop("2nd");
}
function frame2(){
stop();
goBack.addEventListener(MouseEvent.CLICK, goB);
}
}
}//package DoCfinal_fla
Section 2
//MainTimeline (DoCfinal_fla.MainTimeline)
package DoCfinal_fla {
import flash.events.*;
import flash.media.*;
import flash.display.*;
import flash.text.*;
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.ui.*;
import flash.xml.*;
public dynamic class MainTimeline extends MovieClip {
public var winLeft:SimpleButton;
public var credRR;
public var credSUK;
public var doutap;
public var loader_txt:TextField;
public var Mute:SimpleButton;
public var revrol;
public var rl;
public var rs;
public var health;
public var rr;
public var rollOverMe:MovieClip;
public var credDT;
public var t;
public var credATW;
public var menuBtn:SimpleButton;
public var credFJ;
public var us;
public var credWO;
public var Credits:MovieClip;
public var wipout;
public var eyelid:MovieClip;
public var frejum;
public var winSUK:SimpleButton;
public var time:TextField;
public var StUK;
public var points;
public var dmgnmotion:TextField;
public var healthMe:TextField;
public var winRR:SimpleButton;
public var cover_mc:MovieClip;
public var my1_btn:MovieClip;
public var winATW:SimpleButton;
public var sound;
public var bar_mc:MovieClip;
public var timer:Timer;
public var rolledMenu:MovieClip;
public var hider:SimpleButton;
public var winDT:SimpleButton;
public var arotw;
public var ls;
public var lu;
public var creditButton:SimpleButton;
public var lr;
public var winUp:SimpleButton;
public var winFJ:SimpleButton;
public var winRight:SimpleButton;
public var winWO:SimpleButton;
public var pleased:MovieClip;
public var testMe:TextField;
public function MainTimeline(){
addFrameScript(0, frame1, 1, frame2, 2, frame3, 4, frame5, 13, frame14, 19, frame20, 21, frame22, 33, frame34, 39, frame40, 54, frame55, 56, frame57, 68, frame69, 77, frame78, 79, frame80, 91, frame92, 112, frame113, 114, frame115, 126, frame127, 135, frame136, 137, frame138, 149, frame150, 170, frame171, 172, frame173, 178, frame179, 187, frame188, 189, frame190, 200, frame201, 213, frame214, 225, frame226, 227, frame228, 237, frame238, 247, frame248, 249, frame250, 261, frame262, 263, frame264, 278, frame279, 287, frame288, 289, frame290, 292, frame293, 295, frame296, 300, frame301, 307, frame308, 309, frame310, 314, frame315, 323, frame324, 329, frame330, 331, frame332, 342, frame343, 394, frame395, 396, frame397, 397, frame398, 399, frame400, 414, frame415, 416, frame417, 449, frame450, 451, frame452, 472, frame473, 486, frame487, 510, frame511, 0x0200, frame513, 532, frame533, 534, frame535, 546, frame547, 548, frame549, 572, frame573, 577, frame578, 592, frame593, 599, frame600, 614, frame615, 651, frame652);
}
function frame397(){
timer.stop();
stop();
menuBtn.addEventListener(MouseEvent.CLICK, returnMen);
pleased.visible = false;
eyelid.visible = false;
eyelid.play();
}
function frame398(){
Mute.addEventListener(MouseEvent.CLICK, quiets);
menuBtn.addEventListener(MouseEvent.CLICK, return2Men);
rolledMenu.visible = false;
winLeft.visible = false;
winRight.visible = false;
winUp.visible = false;
winDT.visible = false;
winSUK.visible = false;
winWO.visible = false;
winRR.visible = false;
winFJ.visible = false;
winATW.visible = false;
stop();
rollOverMe.addEventListener(MouseEvent.MOUSE_OVER, menuRoll);
stage.addEventListener(MouseEvent.CLICK, rollMenu);
}
function frame279(){
stage.addEventListener(KeyboardEvent.KEY_DOWN, ATW);
testMe.text = points;
healthMe.text = health;
}
public function checkSTR(_arg1:Event):void{
stage.removeEventListener(Event.ENTER_FRAME, checkSTR);
if (points < 0){
gotoAndPlay("gameover");
} else {
if (points > 100){
pleased.visible = false;
eyelid.visible = true;
eyelid.play();
} else {
if (points < 100){
pleased.visible = true;
eyelid.visible = false;
pleased.play();
};
};
};
}
public function woSoundA(_arg1:Event):void{
var _local2:Sound;
stage.removeEventListener(Event.ENTER_FRAME, woSoundA);
if (sound == 1){
_local2 = new punchStomach();
_local2.play();
};
}
public function WOSoundB(_arg1:Event):void{
var _local2:Sound;
stage.removeEventListener(Event.ENTER_FRAME, WOSoundB);
if (sound == 1){
_local2 = new upDown();
_local2.play();
};
}
public function hideIt(_arg1:MouseEvent):void{
Credits.visible = false;
hider.visible = false;
hider.removeEventListener(MouseEvent.CLICK, hideIt);
}
function frame395(){
stop();
gotoAndPlay("reward");
eyelid.visible = true();
pleased.visible = false();
eyelid.play();
}
public function comboSound(_arg1:Event):void{
var _local2:Sound;
stage.removeEventListener(Event.ENTER_FRAME, comboSound);
if (sound == 1){
_local2 = new Stomachpunch();
_local2.play();
};
}
public function playdagame(_arg1:MouseEvent):void{
play();
my1_btn.removeEventListener(MouseEvent.MOUSE_OVER, orangeBlue);
cover_mc.removeEventListener(MouseEvent.MOUSE_OUT, blueOrange);
}
function frame288(){
stop();
stage.addEventListener(KeyboardEvent.KEY_DOWN, ArThWo);
testMe.text = points;
healthMe.text = health;
}
public function SUK(_arg1:KeyboardEvent):void{
if (points <= 0){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, SUK);
gotoAndPlay("gameover");
} else {
if (_arg1.keyCode == Keyboard.LEFT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, SUK);
gotoAndPlay("Left");
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, SUK);
gotoAndPlay("Right");
} else {
if (_arg1.keyCode == Keyboard.UP){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, SUK);
gotoAndPlay("Up");
};
};
};
};
}
function frame600(){
stage.addEventListener(Event.ENTER_FRAME, stuSoundWin);
}
public function cRightRight(_arg1:KeyboardEvent):void{
if (points <= 0){
gotoAndPlay("gameover");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, cRightRight);
} else {
if (_arg1.keyCode == Keyboard.LEFT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, cRightRight);
gotoAndPlay("doubleTap");
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, cRightRight);
gotoAndPlay("Right");
} else {
if (_arg1.keyCode == Keyboard.UP){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, cRightRight);
gotoAndPlay("frenzyJump");
};
};
};
};
}
public function quiet(_arg1:MouseEvent):void{
sound.stop();
if (sound == 1){
sound = (sound - 1);
} else {
if (sound == 0){
sound = (sound + 1);
};
};
}
function frame171(){
stop();
stage.addEventListener(KeyboardEvent.KEY_DOWN, comRR);
testMe.text = points;
healthMe.text = health;
}
function frame293(){
stage.addEventListener(Event.ENTER_FRAME, woSoundA);
}
function frame290(){
wipout = (Math.ceil((Math.random() * 8)) + 12);
credWO = 1;
points = (points - wipout);
dmgnmotion.text = wipout;
stage.addEventListener(Event.ENTER_FRAME, checkWIP);
testMe.text = points;
healthMe.text = health;
}
public function checkARO(_arg1:Event):void{
stage.removeEventListener(Event.ENTER_FRAME, checkARO);
if (points < 0){
gotoAndPlay("gameover");
} else {
if (points > 100){
pleased.visible = false;
eyelid.visible = true;
eyelid.play();
} else {
if (points < 100){
pleased.visible = true;
eyelid.visible = false;
pleased.play();
};
};
};
}
function frame179(){
stage.addEventListener(KeyboardEvent.KEY_DOWN, cRightLeft);
testMe.text = points;
healthMe.text = health;
}
public function leftBon(_arg1:KeyboardEvent):void{
if (points < 0){
gotoAndPlay("gameover");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, leftBon);
} else {
if (_arg1.keyCode == Keyboard.LEFT){
gotoAndPlay("Left");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, leftBon);
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
gotoAndPlay("comboLR");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, leftBon);
} else {
if (_arg1.keyCode == Keyboard.UP){
gotoAndPlay("comboLU");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, leftBon);
};
};
};
};
}
function frame14(){
stage.addEventListener(KeyboardEvent.KEY_DOWN, leftBon);
testMe.text = points;
healthMe.text = health;
}
public function comSou(_arg1:Event):void{
var _local2:Sound;
stage.removeEventListener(Event.ENTER_FRAME, comSou);
if (sound == 1){
_local2 = new Stomachpunch();
_local2.play();
};
}
public function ArThWo(_arg1:KeyboardEvent):void{
if (points <= 0){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, ArThWo);
gotoAndPlay("gameover");
} else {
if (_arg1.keyCode == Keyboard.LEFT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, ArThWo);
gotoAndPlay("Left");
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, ArThWo);
gotoAndPlay("Right");
} else {
if (_arg1.keyCode == Keyboard.UP){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, ArThWo);
gotoAndPlay("Up");
};
};
};
};
}
public function chekSoun(_arg1:Event):void{
var _local2:Sound;
stage.removeEventListener(Event.ENTER_FRAME, chekSoun);
if (sound == 1){
_local2 = new upDown();
_local2.play();
};
}
public function wSUK(_arg1:MouseEvent):void{
gotoAndPlay("wonStrongUpKick");
}
function frame5(){
stage.addEventListener(Event.ENTER_FRAME, chkSou);
ls = Math.ceil((Math.random() * 3));
points = (points - ls);
dmgnmotion.text = ls;
stage.addEventListener(Event.ENTER_FRAME, checkLeft);
testMe.text = points;
healthMe.text = health;
}
function frame1(){
stop();
this.addEventListener(Event.ENTER_FRAME, loading);
}
function frame296(){
stage.addEventListener(Event.ENTER_FRAME, WOSoundB);
}
function frame188(){
stop();
stage.addEventListener(KeyboardEvent.KEY_DOWN, comRL);
testMe.text = points;
healthMe.text = health;
}
public function stuSoundA(_arg1:Event):void{
var _local2:Sound;
stage.removeEventListener(Event.ENTER_FRAME, stuSoundA);
if (sound == 1){
_local2 = new bounce();
_local2.play();
};
}
public function testNumber(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == Keyboard.LEFT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, testNumber);
gotoAndPlay("Left");
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, testNumber);
gotoAndPlay("Right");
} else {
if (_arg1.keyCode == Keyboard.UP){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, testNumber);
gotoAndPlay("Up");
};
};
};
}
public function menuRoll(_arg1:MouseEvent):void{
rolledMenu.visible = true;
winLeft.addEventListener(MouseEvent.CLICK, wL);
winRight.addEventListener(MouseEvent.CLICK, wR);
winUp.addEventListener(MouseEvent.CLICK, wU);
winLeft.visible = true;
winRight.visible = true;
winUp.visible = true;
if (credDT == 1){
winDT.visible = true;
winDT.addEventListener(MouseEvent.CLICK, wDT);
};
if (credWO == 1){
winWO.visible = true;
winWO.addEventListener(MouseEvent.CLICK, wWO);
};
if (credSUK == 1){
winSUK.visible = true;
winSUK.addEventListener(MouseEvent.CLICK, wSUK);
};
if (credRR == 1){
winRR.visible = true;
winRR.addEventListener(MouseEvent.CLICK, wRR);
};
if (credFJ == 1){
winFJ.visible = true;
winFJ.addEventListener(MouseEvent.CLICK, wFJ);
};
if (credATW == 1){
winATW.visible = true;
winATW.addEventListener(MouseEvent.CLICK, wATW);
};
}
function frame3(){
Mute.addEventListener(MouseEvent.CLICK, quiet);
timer = new Timer(1000);
timer.addEventListener(TimerEvent.TIMER, blah);
timer.start();
t = 120;
sound = 1;
points = 500;
health = 500;
credDT = 0;
credATW = 0;
credFJ = 0;
credRR = 0;
credSUK = 0;
credWO = 0;
stage.addEventListener(KeyboardEvent.KEY_DOWN, testNumber);
stop();
pleased.visible = false;
eyelid.visible = true;
eyelid.play();
}
public function DoTa(_arg1:KeyboardEvent):void{
if (points <= 0){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, DoTa);
gotoAndPlay("gameover");
} else {
if (_arg1.keyCode == Keyboard.LEFT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, DoTa);
gotoAndPlay("Left");
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, DoTa);
gotoAndPlay("Right");
} else {
if (_arg1.keyCode == Keyboard.UP){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, DoTa);
gotoAndPlay("Up");
};
};
};
};
}
public function RR(_arg1:KeyboardEvent):void{
if (points <= 0){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, RR);
gotoAndPlay("gameover");
} else {
if (_arg1.keyCode == Keyboard.LEFT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, RR);
gotoAndPlay("Left");
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, RR);
gotoAndPlay("Right");
} else {
if (_arg1.keyCode == Keyboard.UP){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, RR);
gotoAndPlay("Up");
};
};
};
};
}
public function WiOu(_arg1:KeyboardEvent):void{
if (points <= 0){
gotoAndStop("gameover");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, WiOu);
} else {
if (_arg1.keyCode == Keyboard.LEFT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, WiOu);
gotoAndPlay("Left");
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, WiOu);
gotoAndPlay("Right");
} else {
if (_arg1.keyCode == Keyboard.UP){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, WiOu);
gotoAndPlay("Up");
};
};
};
};
}
function frame173(){
stage.addEventListener(Event.ENTER_FRAME, comboSound);
rl = Math.ceil((Math.random() * 3));
points = (points - rl);
dmgnmotion.text = rl;
stage.addEventListener(Event.ENTER_FRAME, checkRL);
testMe.text = points;
healthMe.text = health;
}
public function checkLR(_arg1:Event):void{
stage.removeEventListener(Event.ENTER_FRAME, checkLR);
if (points < 0){
gotoAndPlay("gameover");
} else {
if (points > 100){
pleased.visible = false;
eyelid.visible = true;
eyelid.play();
} else {
if (points < 100){
pleased.visible = true;
eyelid.visible = false;
pleased.play();
};
};
};
}
function frame511(){
gotoAndPlay("wonReverseRoll");
}
public function checkLU(_arg1:Event):void{
stage.removeEventListener(Event.ENTER_FRAME, checkLU);
if (points < 0){
gotoAndPlay("gameover");
} else {
if (points > 100){
pleased.visible = false;
eyelid.visible = true;
eyelid.play();
} else {
if (points < 100){
pleased.visible = true;
eyelid.visible = false;
pleased.play();
};
};
};
}
public function rightStan(_arg1:KeyboardEvent):void{
if (points <= 0){
gotoAndPlay("gameover");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, rightStan);
} else {
if (_arg1.keyCode == Keyboard.LEFT){
gotoAndPlay("Left");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, rightStan);
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
gotoAndPlay("Right");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, rightStan);
} else {
if (_arg1.keyCode == Keyboard.UP){
gotoAndPlay("Up");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, rightStan);
};
};
};
};
}
public function checkREV(_arg1:Event):void{
stage.removeEventListener(Event.ENTER_FRAME, checkREV);
if (points < 0){
gotoAndPlay("gameover");
} else {
if (points > 100){
pleased.visible = false;
eyelid.visible = true;
eyelid.play();
} else {
if (points < 100){
pleased.visible = true;
eyelid.visible = false;
pleased.play();
};
};
};
}
public function stuSoundWin(_arg1:Event):void{
var _local2:Sound;
stage.removeEventListener(Event.ENTER_FRAME, stuSoundWin);
if (sound == 1){
_local2 = new bounce();
_local2.play();
};
}
public function comboSoun(_arg1:Event):void{
var _local2:Sound;
stage.removeEventListener(Event.ENTER_FRAME, comboSoun);
if (sound == 1){
_local2 = new upDown();
_local2.play();
};
}
public function returnMen(_arg1:MouseEvent):void{
gotoAndStop("startMenu");
}
function frame40(){
stage.addEventListener(KeyboardEvent.KEY_DOWN, rightStan);
testMe.text = points;
healthMe.text = health;
}
function frame2(){
Credits.visible = false;
hider.visible = false;
creditButton.addEventListener(MouseEvent.CLICK, rollCredits);
cover_mc.visible = false;
stop();
cover_mc.addEventListener(MouseEvent.CLICK, playdagame);
my1_btn.addEventListener(MouseEvent.MOUSE_OVER, orangeBlue);
cover_mc.addEventListener(MouseEvent.MOUSE_OUT, blueOrange);
}
function frame513(){
stage.addEventListener(Event.ENTER_FRAME, fjSoundWin);
}
public function wATW(_arg1:MouseEvent):void{
gotoAndPlay("wonAroundTheWorld");
}
function frame400(){
stage.addEventListener(Event.ENTER_FRAME, soundmeleft);
}
public function returnMenu(_arg1:MouseEvent):void{
gotoAndStop("startMenu");
}
public function ATW(_arg1:KeyboardEvent):void{
if (points <= 0){
gotoAndPlay("gameover");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, ATW);
} else {
if (_arg1.keyCode == Keyboard.LEFT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, ATW);
gotoAndPlay("Left");
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, ATW);
gotoAndPlay("Right");
} else {
if (_arg1.keyCode == Keyboard.UP){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, ATW);
gotoAndPlay("Up");
};
};
};
};
}
function frame22(){
stage.addEventListener(Event.ENTER_FRAME, chekSou);
rs = Math.ceil((Math.random() * 3));
points = (points - rs);
dmgnmotion.text = rs;
stage.addEventListener(Event.ENTER_FRAME, checkRight);
testMe.text = points;
healthMe.text = health;
}
public function wL(_arg1:MouseEvent):void{
gotoAndPlay("wonLeft");
}
public function wR(_arg1:MouseEvent):void{
gotoAndPlay("wonRight");
}
public function wU(_arg1:MouseEvent):void{
gotoAndPlay("wonUp");
}
public function quiets(_arg1:MouseEvent):void{
if (sound == 1){
sound = (sound - 1);
} else {
if (sound == 0){
sound = (sound + 1);
};
};
}
function frame190(){
revrol = (Math.ceil((Math.random() * 23)) + 10);
credRR = 1;
points = (points - revrol);
dmgnmotion.text = revrol;
stage.addEventListener(Event.ENTER_FRAME, checkREV);
testMe.text = points;
healthMe.text = health;
}
public function FJ(_arg1:KeyboardEvent):void{
if (points <= 0){
gotoAndPlay("gameover");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, FJ);
} else {
if (_arg1.keyCode == Keyboard.LEFT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, FJ);
gotoAndPlay("Left");
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, FJ);
gotoAndPlay("Right");
} else {
if (_arg1.keyCode == Keyboard.UP){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, FJ);
gotoAndPlay("Up");
};
};
};
};
}
function frame652(){
gotoAndStop("birthRight");
}
public function comLR(_arg1:KeyboardEvent):void{
if (points <= 0){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, comLR);
gotoAndPlay("gameover");
} else {
if (_arg1.keyCode == Keyboard.LEFT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, comLR);
gotoAndPlay("Left");
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, comLR);
gotoAndPlay("Right");
} else {
if (_arg1.keyCode == Keyboard.UP){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, comLR);
gotoAndPlay("Up");
};
};
};
};
}
public function comLU(_arg1:KeyboardEvent):void{
if (points <= 0){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, comLU);
gotoAndPlay("gameover");
} else {
if (_arg1.keyCode == Keyboard.LEFT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, comLU);
gotoAndPlay("Left");
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, comLU);
gotoAndPlay("Right");
} else {
if (_arg1.keyCode == Keyboard.UP){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, comLU);
gotoAndPlay("Up");
};
};
};
};
}
function frame415(){
gotoAndPlay("wonLeft");
}
function frame20(){
stop();
stage.addEventListener(KeyboardEvent.KEY_DOWN, leftB);
testMe.text = points;
healthMe.text = health;
}
public function rrSoundWin(_arg1:Event):void{
var _local2:Sound;
stage.removeEventListener(Event.ENTER_FRAME, rrSoundWin);
if (sound == 1){
_local2 = new bounce();
_local2.play();
};
}
function frame535(){
stage.addEventListener(Event.ENTER_FRAME, dtSoundWin);
}
public function atwSoundA(_arg1:Event):void{
var _local2:Sound;
stage.removeEventListener(Event.ENTER_FRAME, atwSoundA);
if (sound == 1){
_local2 = new AroundTheWorldNoise();
_local2.play();
};
}
function frame57(){
stage.addEventListener(Event.ENTER_FRAME, chekSoun);
us = Math.ceil((Math.random() * 5));
points = (points - us);
dmgnmotion.text = us;
stage.addEventListener(Event.ENTER_FRAME, checkUp);
testMe.text = points;
healthMe.text = health;
}
function frame55(){
stop();
stage.addEventListener(KeyboardEvent.KEY_DOWN, rightB);
testMe.text = points;
healthMe.text = health;
}
function frame533(){
gotoAndPlay("wonFrenzyJump");
}
function frame549(){
stage.addEventListener(Event.ENTER_FRAME, atwSoundWin);
}
function frame301(){
stage.addEventListener(KeyboardEvent.KEY_DOWN, WO);
testMe.text = points;
healthMe.text = health;
}
function frame417(){
stage.addEventListener(Event.ENTER_FRAME, soundmeright);
}
public function checkFRE(_arg1:Event):void{
stage.removeEventListener(Event.ENTER_FRAME, checkFRE);
if (points < 0){
gotoAndPlay("gameover");
} else {
if (points > 100){
pleased.visible = false;
eyelid.visible = true;
eyelid.play();
} else {
if (points < 100){
pleased.visible = true;
eyelid.visible = false;
pleased.play();
};
};
};
}
function frame308(){
stop();
stage.addEventListener(KeyboardEvent.KEY_DOWN, WiOu);
testMe.text = points;
healthMe.text = health;
}
public function fjSoundA(_arg1:Event):void{
var _local2:Sound;
var _local3:Sound;
stage.removeEventListener(Event.ENTER_FRAME, fjSoundA);
if (sound == 1){
_local2 = new upDown();
_local2.play();
_local3 = new kickBack();
_local3.play();
};
}
public function wRR(_arg1:MouseEvent):void{
gotoAndPlay("wonReverseRoll");
}
public function dtSoundWin(_arg1:Event):void{
var _local2:Sound;
stage.removeEventListener(Event.ENTER_FRAME, dtSoundWin);
if (sound == 1){
_local2 = new bounce();
_local2.play();
};
}
function frame69(){
stage.addEventListener(KeyboardEvent.KEY_DOWN, upA);
testMe.text = points;
healthMe.text = health;
}
public function WO(_arg1:KeyboardEvent):void{
if (points <= 0){
gotoAndPlay("gameover");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, WO);
} else {
if (_arg1.keyCode == Keyboard.LEFT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, WO);
gotoAndPlay("Left");
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, WO);
gotoAndPlay("Right");
} else {
if (_arg1.keyCode == Keyboard.UP){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, WO);
gotoAndPlay("Up");
};
};
};
};
}
public function upA(_arg1:KeyboardEvent):void{
if (points <= 0){
gotoAndPlay("gameover");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, upA);
} else {
if (_arg1.keyCode == Keyboard.LEFT){
gotoAndPlay("Left");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, upA);
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
gotoAndPlay("Right");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, upA);
} else {
if (_arg1.keyCode == Keyboard.UP){
gotoAndPlay("Up");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, upA);
};
};
};
};
}
function frame547(){
gotoAndPlay("wonDoubleTap");
}
function frame78(){
stop();
stage.addEventListener(KeyboardEvent.KEY_DOWN, upB);
testMe.text = points;
healthMe.text = health;
}
function frame315(){
stage.addEventListener(Event.ENTER_FRAME, stuSoundA);
}
public function chkSou(_arg1:Event):void{
var _local2:Sound;
stage.removeEventListener(Event.ENTER_FRAME, chkSou);
if (sound == 1){
_local2 = new Stomachpunch();
_local2.play();
};
}
public function leftB(_arg1:KeyboardEvent):void{
if (points <= 0){
gotoAndPlay("gameover");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, leftB);
} else {
if (_arg1.keyCode == Keyboard.LEFT){
gotoAndPlay("Left");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, leftB);
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
gotoAndPlay("Right");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, leftB);
} else {
if (_arg1.keyCode == Keyboard.UP){
gotoAndPlay("Up");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, leftB);
};
};
};
};
}
public function cRightLeft(_arg1:KeyboardEvent):void{
if (points <= 0){
gotoAndPlay("gameover");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, cRightLeft);
} else {
if (_arg1.keyCode == Keyboard.LEFT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, cRightLeft);
gotoAndPlay("Left");
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, cRightLeft);
gotoAndPlay("reverseRoll");
} else {
if (_arg1.keyCode == Keyboard.UP){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, cRightLeft);
gotoAndPlay("strongUpKick");
};
};
};
};
}
function frame201(){
stage.addEventListener(Event.ENTER_FRAME, rrSoundA);
}
public function upB(_arg1:KeyboardEvent):void{
if (points <= 0){
gotoAndPlay("gameover");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, upB);
} else {
if (_arg1.keyCode == Keyboard.LEFT){
gotoAndPlay("Left");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, upB);
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
gotoAndPlay("Right");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, upB);
} else {
if (_arg1.keyCode == Keyboard.UP){
gotoAndPlay("Up");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, upB);
};
};
};
};
}
function frame80(){
stage.addEventListener(Event.ENTER_FRAME, comboSou);
lr = Math.ceil((Math.random() * 3));
points = (points - lr);
dmgnmotion.text = lr;
stage.addEventListener(Event.ENTER_FRAME, checkLR);
testMe.text = points;
healthMe.text = health;
}
public function comboSou(_arg1:Event):void{
var _local2:Sound;
stage.removeEventListener(Event.ENTER_FRAME, comboSou);
if (sound == 1){
_local2 = new Stomachpunch();
_local2.play();
};
}
public function atwSoundWin(_arg1:Event):void{
var _local2:Sound;
stage.removeEventListener(Event.ENTER_FRAME, atwSoundWin);
if (sound == 1){
_local2 = new AroundTheWorldNoise();
_local2.play();
};
}
function frame615(){
gotoAndPlay("wonStrongUpKick");
}
public function checkLeft(_arg1:Event):void{
stage.removeEventListener(Event.ENTER_FRAME, checkLeft);
if (points < 0){
gotoAndPlay("gameover");
} else {
if (points > 100){
pleased.visible = false;
eyelid.visible = true;
eyelid.play();
} else {
if (points < 100){
pleased.visible = true;
eyelid.visible = false;
pleased.play();
};
};
};
}
public function fjSoundWin(_arg1:Event):void{
var _local2:Sound;
var _local3:Sound;
stage.removeEventListener(Event.ENTER_FRAME, fjSoundWin);
if (sound == 1){
_local2 = new upDown();
_local2.play();
_local3 = new kickBack();
_local3.play();
};
}
public function checkDOU(_arg1:Event):void{
stage.removeEventListener(Event.ENTER_FRAME, checkDOU);
if (points < 0){
gotoAndPlay("gameover");
} else {
if (points > 100){
pleased.visible = false;
eyelid.visible = true;
eyelid.play();
} else {
if (points < 100){
pleased.visible = true;
eyelid.visible = false;
pleased.play();
};
};
};
}
public function loading(_arg1:Event):void{
var _local2:Number;
var _local3:Number;
_local2 = this.stage.loaderInfo.bytesTotal;
_local3 = this.stage.loaderInfo.bytesLoaded;
bar_mc.scaleX = (_local3 / _local2);
loader_txt.text = (Math.floor(((_local3 / _local2) * 100)) + "%");
if (_local2 == _local3){
play();
this.removeEventListener(Event.ENTER_FRAME, loading);
};
}
function frame310(){
StUK = (Math.ceil((Math.random() * 11)) + 12);
credSUK = 1;
points = (points - StUK);
dmgnmotion.text = StUK;
stage.addEventListener(Event.ENTER_FRAME, checkSTR);
testMe.text = points;
healthMe.text = health;
}
function frame452(){
stage.addEventListener(Event.ENTER_FRAME, soundmeup);
}
public function checkRR(_arg1:Event):void{
stage.removeEventListener(Event.ENTER_FRAME, checkRR);
if (points < 0){
gotoAndPlay("gameover");
} else {
if (points > 100){
pleased.visible = false;
eyelid.visible = true;
eyelid.play();
} else {
if (points < 100){
pleased.visible = true;
eyelid.visible = false;
pleased.play();
};
};
};
}
public function checkRL(_arg1:Event):void{
stage.removeEventListener(Event.ENTER_FRAME, checkRL);
if (points < 0){
gotoAndPlay("gameover");
} else {
if (points > 100){
pleased.visible = false;
eyelid.visible = true;
eyelid.play();
} else {
if (points < 100){
pleased.visible = true;
eyelid.visible = false;
pleased.play();
};
};
};
}
function frame92(){
stage.addEventListener(KeyboardEvent.KEY_DOWN, cLeftRight);
testMe.text = points;
healthMe.text = health;
}
public function wDT(_arg1:MouseEvent):void{
gotoAndPlay("wonDoubleTap");
}
function frame578(){
stage.addEventListener(Event.ENTER_FRAME, woSoundWin);
}
public function vicSoundB(_arg1:Event):void{
var _local2:Sound;
stage.removeEventListener(Event.ENTER_FRAME, vicSoundB);
if (sound == 1){
_local2 = new Bubbly();
_local2.play();
};
}
function frame573(){
gotoAndPlay("wonAroundTheWorld");
}
public function cLeftRight(_arg1:KeyboardEvent):void{
if (points <= 0){
gotoAndPlay("gameover");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, cLeftRight);
} else {
if (_arg1.keyCode == Keyboard.LEFT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, cLeftRight);
gotoAndPlay("reverseRoll");
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, cLeftRight);
gotoAndPlay("Right");
} else {
if (_arg1.keyCode == Keyboard.UP){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, cLeftRight);
gotoAndPlay("frenzyJump");
};
};
};
};
}
public function blueOrange(_arg1:MouseEvent):void{
cover_mc.visible = false;
}
public function FrJu(_arg1:KeyboardEvent):void{
if (points <= 0){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, FrJu);
gotoAndPlay("gameover");
} else {
if (_arg1.keyCode == Keyboard.LEFT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, FrJu);
gotoAndPlay("Left");
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, FrJu);
gotoAndPlay("Right");
} else {
if (_arg1.keyCode == Keyboard.UP){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, FrJu);
gotoAndPlay("Up");
};
};
};
};
}
public function vicSoundA(_arg1:Event):void{
var _local2:Sound;
stage.removeEventListener(Event.ENTER_FRAME, vicSoundA);
if (sound == 1){
_local2 = new churn();
_local2.play();
};
}
public function rollCredits(_arg1:MouseEvent):void{
Credits.visible = true;
hider.visible = true;
hider.addEventListener(MouseEvent.CLICK, hideIt);
}
function frame450(){
gotoAndPlay("wonRight");
}
function frame330(){
stop();
stage.addEventListener(KeyboardEvent.KEY_DOWN, StUpKi);
testMe.text = points;
healthMe.text = health;
}
function frame226(){
stop();
stage.addEventListener(KeyboardEvent.KEY_DOWN, ReRo);
testMe.text = points;
healthMe.text = health;
}
function frame214(){
stage.addEventListener(KeyboardEvent.KEY_DOWN, RR);
testMe.text = points;
healthMe.text = health;
}
function frame228(){
stage.addEventListener(Event.ENTER_FRAME, fjSoundA);
frejum = (Math.ceil((Math.random() * 9)) + 10);
credFJ = 1;
points = (points - frejum);
dmgnmotion.text = frejum;
stage.addEventListener(Event.ENTER_FRAME, checkFRE);
testMe.text = points;
healthMe.text = health;
}
public function soundmeleft(_arg1:Event):void{
var _local2:Sound;
stage.removeEventListener(Event.ENTER_FRAME, soundmeleft);
if (sound == 1){
_local2 = new Stomachpunch();
_local2.play();
};
}
public function cLeftUp(_arg1:KeyboardEvent):void{
if (points <= 0){
gotoAndPlay("gameover");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, cLeftUp);
} else {
if (_arg1.keyCode == Keyboard.LEFT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, cLeftUp);
gotoAndPlay("wipeOut");
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, cLeftUp);
gotoAndPlay("aroundTheWorld");
} else {
if (_arg1.keyCode == Keyboard.UP){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, cLeftUp);
gotoAndPlay("Up");
};
};
};
};
}
function frame34(){
stage.addEventListener(KeyboardEvent.KEY_DOWN, rightA);
testMe.text = points;
healthMe.text = health;
}
public function rrSoundA(_arg1:Event):void{
var _local2:Sound;
stage.removeEventListener(Event.ENTER_FRAME, rrSoundA);
if (sound == 1){
_local2 = new bounce();
_local2.play();
};
}
public function StUpKi(_arg1:KeyboardEvent):void{
if (points <= 0){
gotoAndPlay("gameover");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, StUpKi);
} else {
if (_arg1.keyCode == Keyboard.LEFT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, StUpKi);
gotoAndPlay("Left");
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, StUpKi);
gotoAndPlay("Right");
} else {
if (_arg1.keyCode == Keyboard.UP){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, StUpKi);
gotoAndPlay("Up");
};
};
};
};
}
public function rollMenu(_arg1:MouseEvent):void{
rolledMenu.visible = false;
winLeft.visible = false;
winRight.visible = false;
winUp.visible = false;
winDT.visible = false;
winSUK.visible = false;
winWO.visible = false;
winRR.visible = false;
winFJ.visible = false;
winATW.visible = false;
}
function frame343(){
stage.addEventListener(Event.ENTER_FRAME, vicSoundB);
}
public function comRR(_arg1:KeyboardEvent):void{
if (points <= 0){
gotoAndPlay("gameover");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, comRR);
} else {
if (_arg1.keyCode == Keyboard.LEFT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, comRR);
gotoAndPlay("Left");
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, comRR);
gotoAndPlay("Right");
} else {
if (_arg1.keyCode == Keyboard.UP){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, comRR);
gotoAndPlay("Up");
};
};
};
};
}
public function comRL(_arg1:KeyboardEvent):void{
if (points <= 0){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, comRL);
gotoAndPlay("gameover");
} else {
if (_arg1.keyCode == Keyboard.LEFT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, comRL);
gotoAndPlay("Left");
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, comRL);
gotoAndPlay("Right");
} else {
if (_arg1.keyCode == Keyboard.UP){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, comRL);
gotoAndPlay("Up");
};
};
};
};
}
public function wFJ(_arg1:MouseEvent):void{
gotoAndPlay("wonFrenzyJump");
}
public function wWO(_arg1:MouseEvent):void{
gotoAndPlay("wonWipeOut");
}
function frame238(){
stage.addEventListener(KeyboardEvent.KEY_DOWN, FJ);
testMe.text = points;
healthMe.text = health;
}
public function woSoundWin(_arg1:Event):void{
var _local2:Sound;
stage.removeEventListener(Event.ENTER_FRAME, woSoundWin);
if (sound == 1){
_local2 = new punchStomach();
_local2.play();
};
}
public function soundmeright(_arg1:Event):void{
var _local2:Sound;
stage.removeEventListener(Event.ENTER_FRAME, soundmeright);
if (sound == 1){
_local2 = new slowBlow();
_local2.play();
};
}
function frame113(){
stop();
stage.addEventListener(KeyboardEvent.KEY_DOWN, comLR);
testMe.text = points;
healthMe.text = health;
}
function frame593(){
gotoAndPlay("wonWipeOut");
}
public function rightB(_arg1:KeyboardEvent):void{
if (points <= 0){
gotoAndPlay("gameover");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, rightB);
} else {
if (_arg1.keyCode == Keyboard.LEFT){
gotoAndPlay("Left");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, rightB);
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
gotoAndPlay("Right");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, rightB);
} else {
if (_arg1.keyCode == Keyboard.UP){
gotoAndPlay("Up");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, rightB);
};
};
};
};
}
public function orangeBlue(_arg1:MouseEvent):void{
cover_mc.visible = true;
}
function frame127(){
stage.addEventListener(KeyboardEvent.KEY_DOWN, cLeftUp);
testMe.text = points;
healthMe.text = health;
}
function frame115(){
stage.addEventListener(Event.ENTER_FRAME, comboSoun);
lu = Math.ceil((Math.random() * 5));
points = (points - lu);
dmgnmotion.text = lu;
stage.addEventListener(Event.ENTER_FRAME, checkLU);
testMe.text = points;
healthMe.text = health;
}
public function rightA(_arg1:KeyboardEvent):void{
if (points <= 0){
gotoAndStop("gameover");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, rightA);
} else {
if (_arg1.keyCode == Keyboard.LEFT){
gotoAndPlay("comboRL");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, rightA);
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
gotoAndPlay("comboRR");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, rightA);
} else {
if (_arg1.keyCode == Keyboard.UP){
gotoAndPlay("Up");
stage.removeEventListener(KeyboardEvent.KEY_DOWN, rightA);
};
};
};
};
}
public function return2Men(_arg1:MouseEvent):void{
gotoAndStop("startMenu");
}
function frame248(){
stop();
stage.addEventListener(KeyboardEvent.KEY_DOWN, FrJu);
testMe.text = points;
healthMe.text = health;
}
public function checkWIP(_arg1:Event):void{
stage.removeEventListener(Event.ENTER_FRAME, checkWIP);
if (points < 0){
gotoAndPlay("gameover");
} else {
if (points > 100){
pleased.visible = false;
eyelid.visible = true;
eyelid.play();
} else {
if (points < 100){
pleased.visible = true;
eyelid.visible = false;
pleased.play();
};
};
};
}
function frame473(){
gotoAndPlay("wonUp");
}
function frame324(){
stage.addEventListener(KeyboardEvent.KEY_DOWN, SUK);
testMe.text = points;
healthMe.text = health;
}
function frame250(){
stage.addEventListener(Event.ENTER_FRAME, dtSoundA);
doutap = (Math.ceil((Math.random() * 9)) + 12);
credDT = 1;
points = (points - doutap);
dmgnmotion.text = doutap;
stage.addEventListener(Event.ENTER_FRAME, checkDOU);
testMe.text = points;
healthMe.text = health;
}
public function dtSoundA(_arg1:Event):void{
var _local2:Sound;
stage.removeEventListener(Event.ENTER_FRAME, dtSoundA);
if (sound == 1){
_local2 = new bounce();
_local2.play();
};
}
public function checkUp(_arg1:Event):void{
stage.removeEventListener(Event.ENTER_FRAME, checkUp);
if (points < 0){
gotoAndPlay("gameover");
} else {
if (points > 100){
pleased.visible = false;
eyelid.visible = true;
eyelid.play();
} else {
if (points < 100){
pleased.visible = true;
eyelid.visible = false;
pleased.play();
};
};
};
}
function frame487(){
stage.addEventListener(Event.ENTER_FRAME, rrSoundWin);
}
public function soundmeup(_arg1:Event):void{
var _local2:Sound;
stage.removeEventListener(Event.ENTER_FRAME, soundmeup);
if (sound == 1){
_local2 = new upDown();
_local2.play();
};
}
public function chekSou(_arg1:Event):void{
var _local2:Sound;
stage.removeEventListener(Event.ENTER_FRAME, chekSou);
if (sound == 1){
_local2 = new slowBlow();
_local2.play();
};
}
function frame138(){
stage.addEventListener(Event.ENTER_FRAME, comSou);
rr = Math.ceil((Math.random() * 3));
points = (points - rr);
dmgnmotion.text = rr;
stage.addEventListener(Event.ENTER_FRAME, checkRR);
testMe.text = points;
healthMe.text = health;
}
function frame136(){
stop();
stage.addEventListener(KeyboardEvent.KEY_DOWN, comLU);
testMe.text = points;
healthMe.text = health;
}
function frame332(){
timer.stop();
stage.addEventListener(Event.ENTER_FRAME, vicSoundA);
play();
menuBtn.addEventListener(MouseEvent.CLICK, returnMenu);
pleased.visible = true;
eyelid.visible = false;
pleased.play();
}
function frame262(){
stop();
stage.addEventListener(KeyboardEvent.KEY_DOWN, DoTa);
testMe.text = points;
healthMe.text = health;
}
function frame264(){
stage.addEventListener(Event.ENTER_FRAME, atwSoundA);
arotw = (Math.ceil((Math.random() * 12)) + 12);
credATW = 1;
points = (points - arotw);
dmgnmotion.text = arotw;
stage.addEventListener(Event.ENTER_FRAME, checkARO);
testMe.text = points;
healthMe.text = health;
}
public function ReRo(_arg1:KeyboardEvent):void{
if (points <= 0){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, ReRo);
gotoAndPlay("gameover");
} else {
if (_arg1.keyCode == Keyboard.LEFT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, ReRo);
gotoAndPlay("Left");
} else {
if (_arg1.keyCode == Keyboard.RIGHT){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, ReRo);
gotoAndPlay("Right");
} else {
if (_arg1.keyCode == Keyboard.UP){
stage.removeEventListener(KeyboardEvent.KEY_DOWN, ReRo);
gotoAndPlay("Up");
};
};
};
};
}
public function blah(_arg1:TimerEvent):void{
var _local2:*;
_local2 = (t - _arg1.currentTarget.currentCount);
time.text = (":" + _local2);
if (_arg1.currentTarget.currentCount == 120){
gotoAndStop("oops");
};
}
public function checkRight(_arg1:Event):void{
stage.removeEventListener(Event.ENTER_FRAME, checkRight);
if (points < 0){
gotoAndPlay("gameover");
} else {
if (points > 100){
pleased.visible = false;
eyelid.visible = true;
eyelid.play();
} else {
if (points < 100){
pleased.visible = true;
eyelid.visible = false;
pleased.play();
};
};
};
}
function frame150(){
stage.addEventListener(KeyboardEvent.KEY_DOWN, cRightRight);
testMe.text = points;
healthMe.text = health;
}
}
}//package DoCfinal_fla
Section 3
//Symbol6_10 (DoCfinal_fla.Symbol6_10)
package DoCfinal_fla {
import flash.display.*;
public dynamic class Symbol6_10 extends MovieClip {
public function Symbol6_10(){
addFrameScript(128, frame129);
}
function frame129(){
gotoAndPlay("regBlink");
}
}
}//package DoCfinal_fla
Section 4
//Symbol8_11 (DoCfinal_fla.Symbol8_11)
package DoCfinal_fla {
import flash.display.*;
public dynamic class Symbol8_11 extends MovieClip {
public function Symbol8_11(){
addFrameScript(134, frame135);
}
function frame135(){
gotoAndPlay("startHere");
}
}
}//package DoCfinal_fla
Section 5
//AroundTheWorldNoise (AroundTheWorldNoise)
package {
import flash.media.*;
public dynamic class AroundTheWorldNoise extends Sound {
}
}//package
Section 6
//bounce (bounce)
package {
import flash.media.*;
public dynamic class bounce extends Sound {
}
}//package
Section 7
//Bubbly (Bubbly)
package {
import flash.media.*;
public dynamic class Bubbly extends Sound {
}
}//package
Section 8
//churn (churn)
package {
import flash.media.*;
public dynamic class churn extends Sound {
}
}//package
Section 9
//kickBack (kickBack)
package {
import flash.media.*;
public dynamic class kickBack extends Sound {
}
}//package
Section 10
//punchStomach (punchStomach)
package {
import flash.media.*;
public dynamic class punchStomach extends Sound {
}
}//package
Section 11
//slowBlow (slowBlow)
package {
import flash.media.*;
public dynamic class slowBlow extends Sound {
}
}//package
Section 12
//Stomachpunch (Stomachpunch)
package {
import flash.media.*;
public dynamic class Stomachpunch extends Sound {
}
}//package
Section 13
//upDown (upDown)
package {
import flash.media.*;
public dynamic class upDown extends Sound {
}
}//package