Frame 1
function InitPreLoader() {
LoadTime = 230;
_root.attachMovie("Loading", "Loading", 2);
_root.Loading.gotoAndPlay(1);
_root.Loading._x = 405;
_root.Loading._y = 355;
_root.attachMovie("HamsterWorldButton", "HamsterWorld", 1);
_root.HamsterWorld.gotoAndStop(1);
_root.HamsterWorld._x = -500;
_root.HamsterWorld._y = 185;
_root.HamsterWorld.onPress = function () {
_root.createEmptyMovieClip("loader_mc", this.getNextHighestDepth());
loader_mc.getURL("Http://HamsterWorld.No-Ip.Info", "_blank");
};
Record = 0;
}
function UpdatePreLoader() {
LoadTime = LoadTime - 1;
if (_root.HamsterWorld._x < 50) {
_root.HamsterWorld._x = _root.HamsterWorld._x + 3;
if (_root.HamsterWorld._x >= 50) {
_root.HamsterWorld.gotoAndStop(2);
}
}
var _local3 = Math.round(getBytesLoaded());
var _local4 = Math.round(getBytesTotal());
if ((_local3 == _local4) and (LoadTime < 0)) {
_root.Loading._alpha = 0;
if (_root.HamsterWorld._alpha > 0) {
_root.HamsterWorld._alpha = _root.HamsterWorld._alpha - 5;
}
if (_root.HamsterWorld._alpha <= 0) {
removeMovieClip(_root.Loading);
removeMovieClip(_root.HamsterWorld);
AttackSwooshSound = new Sound(this);
AttackSwooshSound.attachSound("AttackSwoosh");
BonusSound = new Sound(this);
BonusSound.attachSound("BonusSound");
GameCompleteSound = new Sound(this);
GameCompleteSound.attachSound("GameComplete");
GameMusic = new Sound(this);
GameMusic.attachSound("GameMusic");
GameOverSound = new Sound(this);
GameOverSound.attachSound("GameOver");
JumpSound = new Sound(this);
JumpSound.attachSound("Jump");
LandSound = new Sound(this);
LandSound.attachSound("Land");
LevelCompleteSound = new Sound(this);
LevelCompleteSound.attachSound("LevelCompleteSound");
PunchSound = new Sound(this);
PunchSound.attachSound("Punch");
LevelMusic = new Sound(this);
LevelMusic.attachSound("LevelMusic");
GameMusic.start(0, 999);
gotoAndStop (2);
}
}
}
stop();
Instance of Symbol 62 MovieClip in Frame 1
onClipEvent (load) {
_root.InitPreLoader();
}
onClipEvent (enterFrame) {
_root.UpdatePreLoader();
}
Frame 2
function InitMenu() {
var _local3 = 0;
while (_local3 < 5) {
_root.attachMovie("Landscape", ("Landscape" + _local3) + "First", -100 - (_local3 * 2));
_root[("Landscape" + _local3) + "First"]._x = random(550);
_root[("Landscape" + _local3) + "First"]._y = 440 - (_local3 * 20);
_root.attachMovie("Landscape", ("Landscape" + _local3) + "Second", -101 - (_local3 * 2));
_root[("Landscape" + _local3) + "Second"]._x = _root[("Landscape" + _local3) + "First"]._x - 550;
_root[("Landscape" + _local3) + "Second"]._y = 440 - (_local3 * 20);
_local3++;
}
_local3 = 0;
while (_local3 < 3) {
var _local2 = 0;
while (_local2 < 2) {
attachMovie("Clouds", (("Cloud" + _local3) + "A") + _local2, (-200 - (_local3 * 2)) + _local2);
_root[(("Cloud" + _local3) + "A") + _local2].gotoAndStop(_local3 + 1);
_root[(("Cloud" + _local3) + "A") + _local2]._x = random(550);
_root[(("Cloud" + _local3) + "A") + _local2]._y = (70 + (_local3 * 30)) + (_local2 * 100);
_local2++;
}
_local3++;
}
_root.attachMovie("Menu", "Menu", 4);
_root.Menu._x = 0;
_root.Menu._y = 0;
_root.Menu._alpha = 0;
MenuShowTime = 90;
StartingGame = false;
_root.attachMovie("Black", "Black", 5);
_root.Black._x = 0;
_root.Black._y = 0;
_root.Black._alpha = 0;
_root.Menu.RecordText = "";
}
function UpdateMenu() {
if (MenuShowTime > 0) {
MenuShowTime = MenuShowTime - 1;
} else if (_root.Menu._alpha < 100) {
_root.Menu._alpha = _root.Menu._alpha + 5;
} else if (Record == 0) {
_root.Menu.RecordText = "Record - No record yet";
} else {
var _local5 = Record / 30;
var _local7 = Math.floor(_local5 / 60);
_local5 = Math.floor(_local5 - (Math.floor(_local5 / 60) * 60));
_root.Menu.RecordText = (("Record - " + _local7) + ":") + _local5;
}
var _local4 = 0;
while (_local4 < 3) {
var _local3 = 0;
while (_local3 < 2) {
_root[(("Cloud" + _local4) + "A") + _local3]._x = _root[(("Cloud" + _local4) + "A") + _local3]._x + (((1 + _local4) + (_local3 * 1)) * 0.5);
if (_root[(("Cloud" + _local4) + "A") + _local3]._x > 580) {
_root[(("Cloud" + _local4) + "A") + _local3]._x = -30;
}
_local3++;
}
_local4++;
}
_local4 = 0;
while (_local4 < 5) {
(_root[("Landscape" + _local4) + "First"]._x = (_root[("Landscape" + _local4) + "First"]._x - 1) - ((5 - _local4) * 0.2));
(_root[("Landscape" + _local4) + "Second"]._x = (_root[("Landscape" + _local4) + "Second"]._x - 1) - ((5 - _local4) * 0.2));
if (_root[("Landscape" + _local4) + "First"]._x < -550) {
_root[("Landscape" + _local4) + "First"]._x = _root[("Landscape" + _local4) + "First"]._x + 1100;
}
if (_root[("Landscape" + _local4) + "Second"]._x < -550) {
_root[("Landscape" + _local4) + "Second"]._x = _root[("Landscape" + _local4) + "Second"]._x + 1100;
}
_local4++;
}
if (StartingGame == true) {
if (_root.Black._alpha <= 100) {
_root.Black._alpha = _root.Black._alpha + 5;
} else {
for (var _local6 in this) {
if (typeof(this[_local6]) == "movieclip") {
this[_local6].swapDepths(0);
this[_local6].removeMovieClip();
}
}
GameMusic.stop();
LevelMusic.start(0, 999);
gotoAndPlay (3);
}
}
}
stop();
Instance of Symbol 62 MovieClip in Frame 2
onClipEvent (load) {
_root.InitMenu();
}
onClipEvent (enterFrame) {
_root.UpdateMenu();
}
Frame 3
function InitGame(Level, FirstLevel) {
CurrentLevel = Level;
LevelNameField._x = LevelNameField._x + 540;
LevelNameFieldShadow._x = LevelNameFieldShadow._x + 540;
HintAndLevelNameTimer = 300;
if (FirstLevel == true) {
var _local3 = 0;
while (_local3 < 5) {
_root.attachMovie("Landscape", ("Landscape" + _local3) + "First", -100 - (_local3 * 2));
_root[("Landscape" + _local3) + "First"]._x = random(550);
_root[("Landscape" + _local3) + "First"]._y = 440 - (_local3 * 20);
_root.attachMovie("Landscape", ("Landscape" + _local3) + "Second", -101 - (_local3 * 2));
_root[("Landscape" + _local3) + "Second"]._x = _root[("Landscape" + _local3) + "First"]._x - 550;
_root[("Landscape" + _local3) + "Second"]._y = 440 - (_local3 * 20);
_local3++;
}
_local3 = 0;
while (_local3 < 3) {
var _local2 = 0;
while (_local2 < 2) {
attachMovie("Clouds", (("Cloud" + _local3) + "A") + _local2, (-200 - (_local3 * 2)) + _local2);
_root[(("Cloud" + _local3) + "A") + _local2].gotoAndStop(_local3 + 1);
_root[(("Cloud" + _local3) + "A") + _local2]._x = random(550);
_root[(("Cloud" + _local3) + "A") + _local2]._y = (70 + (_local3 * 30)) + (_local2 * 100);
_local2++;
}
_local3++;
}
Time = 0;
ZPressed = false;
XPressed = false;
_root.attachMovie("Quality", "Quality", 32000);
_root.Quality._x = 524;
_root.Quality._y = 403;
_root.Quality._xscale = 80;
_root.Quality._yscale = 80;
_root.createEmptyMovieClip("Scene", 10);
_root.Scene._x = 0;
_root.Scene._y = 0;
SwitchScene = false;
CurrentScene = "Scene";
AltScene = true;
NextLevelIn = 0;
HighQuality = true;
Lives = 3;
PickedUpLifes = new Array();
_local3 = 0;
while (_local3 < 3) {
_root.attachMovie("Life", "Life" + _local3, 30001 + _local3);
_root["Life" + _local3]._x = 20 + (_local3 * 28);
_root["Life" + _local3]._y = 12;
_root["Life" + _local3]._xscale = 130;
_root["Life" + _local3]._yscale = 130;
_local3++;
}
_root.attachMovie("Health", "Health", 30005);
_root.Health._x = 95;
_root.Health._y = 5;
_root.attachMovie("Charge", "Charge", 30006);
_root.Charge._x = 95;
_root.Charge._y = 17;
Format = new TextFormat();
Format.font = "ScoreFont";
Format.size = 30;
Format.bullet = false;
Format.bold = true;
Format.align = "right";
_root.createTextField("FishScoreField", 30008, 400, 0, 100, 50);
FishScoreField.border = false;
FishScoreField.selectable = false;
FishScoreField.embedFonts = true;
_root.createTextField("FishScoreFieldShadow", 30009, 398, -2, 100, 50);
FishScoreFieldShadow.border = false;
FishScoreFieldShadow.selectable = false;
FishScoreFieldShadow.embedFonts = true;
_root.attachMovie("Fish", "Fish", 30007);
_root.Fish.gotoAndStop(77);
_root.Fish._x = 525;
_root.Fish._y = 17;
_root.Fish._xscale = 120;
_root.Fish._yscale = 120;
LevelNameFormat = new TextFormat();
LevelNameFormat.font = "LevelFont";
LevelNameFormat.size = 50;
LevelNameFormat.bullet = false;
LevelNameFormat.bold = true;
LevelNameFormat.align = "center";
_root.createTextField("LevelNameField", 30011, 125, 125, 300, 200);
LevelNameField.border = false;
LevelNameField.selectable = false;
LevelNameField.embedFonts = true;
_root.createTextField("LevelNameFieldShadow", 30010, 127, 127, 300, 200);
LevelNameFieldShadow.border = false;
LevelNameFieldShadow.selectable = false;
LevelNameFieldShadow.embedFonts = true;
HintFormat = new TextFormat();
HintFormat.font = "LevelFont";
HintFormat.size = 20;
HintFormat.bullet = false;
HintFormat.bold = true;
HintFormat.align = "left";
_root.createTextField("HintField", 30013, 10, 370, 535, 50);
HintField.border = false;
HintField.selectable = false;
HintField.embedFonts = true;
_root.createTextField("HintFieldShadow", 30012, 11, 371, 535, 50);
HintFieldShadow.border = false;
HintFieldShadow.selectable = false;
HintFieldShadow.embedFonts = true;
}
_root.Health.gotoAndStop(5);
_root.Charge.gotoAndStop(9);
if (AltScene == true) {
AltScene = false;
CurrentDepth = 0;
CurrentScene = "Scene";
} else {
AltScene = true;
CurrentDepth = 10000;
CurrentScene = "AlternativeScene";
}
var _local6 = new Array(6);
var _local5 = new Array(6);
if (CurrentLevel == 0) {
LevelName = "Startoff";
LevelHint = "*hint* Collect all fishbones to win";
LevelUp = false;
Respawn = false;
_local6[0] = " ";
_local6[1] = " ";
_local6[2] = " _ ";
_local6[3] = " __ ";
_local6[4] = " __ ";
_local6[5] = "_________";
_local5[0] = " ";
_local5[1] = " f ";
_local5[2] = " _f ";
_local5[3] = " f__ ";
_local5[4] = " __f ";
_local5[5] = "c________";
} else if (CurrentLevel == 1) {
LevelName = "Hidden";
LevelHint = "*hint* Attacking is first accessed on Lv10";
LevelUp = false;
Respawn = false;
_local6[0] = " ";
_local6[1] = " ";
_local6[2] = " __ __ ";
_local6[3] = " _ ";
_local6[4] = " _ _ ";
_local6[5] = "_________";
_local5[0] = " ";
_local5[1] = " f f ";
_local5[2] = " _h h_ ";
_local5[3] = " f_f ";
_local5[4] = " _ _ ";
_local5[5] = "ch_____h_";
} else if (CurrentLevel == 2) {
LevelName = "Freefall";
LevelHint = "*hint* Don't be afraid to jump down";
LevelUp = false;
Respawn = false;
_local6[0] = " _ ";
_local6[1] = " _ ";
_local6[2] = " _ ";
_local6[3] = " _ ";
_local6[4] = " _ ";
_local6[5] = " ";
_local5[0] = " c f ";
_local5[1] = " h h ";
_local5[2] = " h f ";
_local5[3] = " f f ";
_local5[4] = " h ";
_local5[5] = " ";
} else if (CurrentLevel == 3) {
LevelName = "Bunnerific";
LevelHint = "*hint* Pick up hearts to replenish health";
LevelUp = false;
Respawn = false;
_local6[0] = " ";
_local6[1] = " _ _____";
_local6[2] = "_____ _ ";
_local6[3] = " _ _____";
_local6[4] = "_____ _ ";
_local6[5] = " ";
_local5[0] = " ";
_local5[1] = " c h___f";
_local5[2] = "f___h p ";
_local5[3] = " p h__ef";
_local5[4] = "f___h p ";
_local5[5] = " ";
} else if (CurrentLevel == 4) {
LevelName = "Pillars";
LevelHint = "";
LevelUp = false;
Respawn = false;
_local6[0] = " _____ ";
_local6[1] = " _ _ ";
_local6[2] = " _ _ ";
_local6[3] = " _ _ ";
_local6[4] = " _ _ ";
_local6[5] = "___ ___";
_local5[0] = " _hch_ ";
_local5[1] = " p p ";
_local5[2] = " h h ";
_local5[3] = " p p ";
_local5[4] = " lh he ";
_local5[5] = " _f f_ ";
} else if (CurrentLevel == 5) {
LevelName = "Trapdoor";
LevelHint = "";
LevelUp = false;
Respawn = false;
_local6[0] = " _| |_";
_local6[1] = " __/__ ";
_local6[2] = " _/_ ";
_local6[3] = "__/_ _/__";
_local6[4] = "_|_ _|_";
_local6[5] = " _ _ ";
_local5[0] = " c| |_";
_local5[1] = " pf/fp ";
_local5[2] = " f/f ";
_local5[3] = "f_/p p/_f";
_local5[4] = "_|e e|_";
_local5[5] = " h hl";
} else if (CurrentLevel == 6) {
LevelName = "Drop";
LevelHint = "";
LevelUp = false;
Respawn = false;
_local6[0] = " // ";
_local6[1] = "_______|_";
_local6[2] = " || ";
_local6[3] = "_/_______";
_local6[4] = " // ";
_local6[5] = "_______|_";
_local5[0] = "c ch ";
_local5[1] = "ph_f___|p";
_local5[2] = " hf ";
_local5[3] = "_/lh_f__p";
_local5[4] = " fh ";
_local5[5] = "p_f__he|p";
} else if (CurrentLevel == 7) {
LevelName = "Colorblind";
LevelHint = "*hint* Blue bunnies are faster than purple ones";
LevelUp = false;
Respawn = false;
_local6[0] = " __";
_local6[1] = " /____";
_local6[2] = "____/__ ";
_local6[3] = "____/ _ ";
_local6[4] = "___ _";
_local6[5] = "___|||___";
_local5[0] = " hc";
_local5[1] = " /__b_";
_local5[2] = "fb__/_f ";
_local5[3] = "f___/ f ";
_local5[4] = "fbe f";
_local5[5] = "h________";
} else if (CurrentLevel == 8) {
LevelName = "Ascend";
LevelHint = "";
LevelUp = false;
Respawn = false;
_local6[0] = "|_ l _/";
_local6[1] = "/_ | / _|";
_local6[2] = "|_ _/";
_local6[3] = "/_ __|";
_local6[4] = "|__ ";
_local6[5] = "_________";
_local5[0] = "/f fp";
_local5[1] = "b_ f f _|";
_local5[2] = "|_ _p";
_local5[3] = "b_ f_|";
_local5[4] = "|__ ";
_local5[5] = "___fhf_c_";
} else if (CurrentLevel == 9) {
LevelName = "Battle Cat";
LevelHint = "*hint* Only attack single bunnies";
LevelUp = false;
Respawn = false;
_local6[0] = " _ ";
_local6[1] = " /// /// ";
_local6[2] = "/ /";
_local6[3] = " / _ / ";
_local6[4] = "__ __";
_local6[5] = "_________";
_local5[0] = " a ";
_local5[1] = " ///l/// ";
_local5[2] = "_ _";
_local5[3] = " _ c _ ";
_local5[4] = "epfh hfpe";
_local5[5] = "fpfphpfpf";
} else if (CurrentLevel == 10) {
LevelName = "Tunnels";
LevelHint = "";
LevelUp = false;
Respawn = false;
_local6[0] = "_ __/____";
_local6[1] = "____/___ ";
_local6[2] = "____ ____";
_local6[3] = " ___/__ ";
_local6[4] = "___ /____";
_local6[5] = "_______ ";
_local5[0] = " h___f__c";
_local5[1] = "f_h__bfp ";
_local5[2] = "fp_h b_fe";
_local5[3] = " _h___f ";
_local5[4] = "_h_ _f_p_";
_local5[5] = "heppa_fl ";
} else if (CurrentLevel == 11) {
LevelName = "Edgy";
LevelHint = "";
LevelUp = false;
Respawn = false;
_local6[0] = " __ ";
_local6[1] = " _/ ^|^";
_local6[2] = " _| ^ ^|^";
_local6[3] = "/_ ^ ^ ^";
_local6[4] = " ^|_ ";
_local6[5] = "^^^__^__^";
_local5[0] = " fh ";
_local5[1] = " _/ ^h ";
_local5[2] = " fh ^| ";
_local5[3] = "/_ l^f ";
_local5[4] = "h^f ";
_local5[5] = "^^^hf^_c^";
} else if (CurrentLevel == 12) {
LevelName = "Hurry";
LevelHint = "";
LevelUp = false;
Respawn = false;
_local6[0] = " __ ";
_local6[1] = "_ __ |";
_local6[2] = " __^^|^^^";
_local6[3] = " ///////_";
_local6[4] = "/ ";
_local6[5] = "^^ ^^^/^^";
_local5[0] = "a _b ";
_local5[1] = "_ f_ lh";
_local5[2] = " b_^php^^";
_local5[3] = "f///////f";
_local5[4] = "e p f ";
_local5[5] = "^^ ^^^c^^";
} else if (CurrentLevel == 13) {
LevelName = "Tracker";
LevelHint = "*hint* Red bunnies will always pursue you";
LevelUp = false;
Respawn = false;
_local6[0] = "/__^ ^__/";
_local6[1] = "|__ / __|";
_local6[2] = "/_ _|_ _/";
_local6[3] = "| ^_/_^ |";
_local6[4] = " ___|___ ";
_local6[5] = "^ _____ ^";
_local5[0] = "/hr^e^rh/";
_local5[1] = "|_f / f_|";
_local5[2] = "/h _|_ h/";
_local5[3] = "e __/__ |";
_local5[4] = " f__|__fl";
_local5[5] = "^ ch_h__^";
} else if (CurrentLevel == 14) {
LevelName = "Mixed";
LevelHint = "";
LevelUp = false;
Respawn = false;
_local6[0] = " |_/";
_local6[1] = "/___ _^ ";
_local6[2] = "^_ _^ ";
_local6[3] = " |_ _/ ";
_local6[4] = "_^ ^_ ";
_local6[5] = " _/_|_/^ ";
_local5[0] = " ef ";
_local5[1] = "f___ b^ h";
_local5[2] = "lr b^ h";
_local5[3] = "h| p/afh";
_local5[4] = "_^ p_ h";
_local5[5] = "ec/f|f/^h";
} else if (CurrentLevel == 15) {
LevelName = "Return";
LevelHint = "*hint* Bunnies will now respawn";
LevelUp = false;
Respawn = true;
_local6[0] = " ";
_local6[1] = "_ _";
_local6[2] = "__ __";
_local6[3] = "/__ __/";
_local6[4] = "|^__ __^|";
_local6[5] = "/_^___^_/";
_local5[0] = " ";
_local5[1] = "c a";
_local5[2] = "f_ _f";
_local5[3] = "/ep l pe/";
_local5[4] = "f^_b b_^f";
_local5[5] = "hf^f_f^fh";
} else if (CurrentLevel == 16) {
LevelName = "Catwalk";
LevelHint = "";
LevelUp = false;
Respawn = true;
_local6[0] = "_ / _ _ /";
_local6[1] = " _ | _ _ ";
_local6[2] = " ";
_local6[3] = " ";
_local6[4] = "/ _ _ / _";
_local6[5] = " _ _ | _ ";
_local5[0] = "f / c f e";
_local5[1] = " f | _ f ";
_local5[2] = "h h h h h";
_local5[3] = "b p b p b";
_local5[4] = "/ f _ / f";
_local5[5] = " f e l f ";
} else if (CurrentLevel == 17) {
LevelName = "Platforms";
LevelHint = "*hint* Think before you act";
LevelUp = false;
Respawn = true;
_local6[0] = " ___ ___ ";
_local6[1] = "/ ^_/_^ /";
_local6[2] = " / ^|^ / ";
_local6[3] = "/ /";
_local6[4] = " / |_| / ";
_local6[5] = "^^^^^^^^^";
_local5[0] = " f_c __f ";
_local5[1] = "/ ^_/_^ /";
_local5[2] = " / ^f^ / ";
_local5[3] = "/ /";
_local5[4] = " f hhh f ";
_local5[5] = "^^^^^^^^^";
} else if (CurrentLevel == 18) {
LevelName = "Level up";
LevelHint = "*hint* Bunnies gain levels when killed";
LevelUp = true;
Respawn = true;
_local6[0] = "_ ^^/^^ /";
_local6[1] = "_ ^ ^ _";
_local6[2] = " _ ^ ^ | ";
_local6[3] = "__ ^ ^ _";
_local6[4] = " __ | // ";
_local6[5] = "_________";
_local5[0] = "f l^c^^ f";
_local5[1] = "ef ^ ^fpp";
_local5[2] = "pp ^ ^ f ";
_local5[3] = "f_ ^a^ e";
_local5[4] = " f | f ";
_local5[5] = "h_p_p_p_h";
} else if (CurrentLevel == 19) {
LevelName = "Up";
LevelHint = "";
LevelUp = true;
Respawn = true;
_local6[0] = " __ __ ";
_local6[1] = " ||___ ";
_local6[2] = " // ";
_local6[3] = " // ^^ ";
_local6[4] = "// ^^ ";
_local6[5] = "^^_______";
_local5[0] = " _fbb_f ";
_local5[1] = " e|hh ";
_local5[2] = "h f// ";
_local5[3] = " f// ^^l";
_local5[4] = "// ^^a h";
_local5[5] = "^^_f_f_c_";
} else if (CurrentLevel == 20) {
LevelName = "Cube";
LevelHint = "";
LevelUp = true;
Respawn = true;
_local6[0] = "_ |/|/| ";
_local6[1] = " /|/|/ ";
_local6[2] = " |/|/| ";
_local6[3] = " /|/|/ ";
_local6[4] = " ";
_local6[5] = "^^^^^^^^^";
_local5[0] = "c f/h/f ";
_local5[1] = " h|h|h ";
_local5[2] = " h/h/h ";
_local5[3] = " f|h|f ";
_local5[4] = " ";
_local5[5] = "^^^^^^^^^";
} else if (CurrentLevel == 21) {
LevelName = "Final";
LevelHint = "";
LevelUp = true;
Respawn = true;
_local6[0] = " _ ";
_local6[1] = " /_/ ";
_local6[2] = " _^|^_ ";
_local6[3] = " _/_ _/_ ";
_local6[4] = " _^|_|^_ ";
_local6[5] = "^/_____/^";
_local5[0] = " f c f ";
_local5[1] = " h faf h ";
_local5[2] = " f^h^f ";
_local5[3] = " f/_ _/f ";
_local5[4] = "le^r|r^el";
_local5[5] = "^/fr_rf/^";
} else {
var _local14 = Time / 30;
var _local15 = Math.floor(_local14 / 60);
_local14 = Math.floor(_local14 - (Math.floor(_local14 / 60) * 60));
LevelName = "";
LevelHint = (("Finish time " + _local15) + ":") + _local14;
if ((Time < Record) or (Record == 0)) {
Record = Time;
}
LevelUp = true;
Respawn = true;
LevelMusic.stop();
GameCompleteSound.start(0, 1);
_local6[0] = "^^^_ _^^^";
_local6[1] = "^^_ _^^";
_local6[2] = "^_ _^";
_local6[3] = " _ ";
_local6[4] = " ^^^ ";
_local6[5] = " ";
_local5[0] = "^^^> <^^^";
_local5[1] = "^^> <^^";
_local5[2] = "^> <^";
_local5[3] = " c ";
_local5[4] = " ";
_local5[5] = " ";
_root.attachMovie("Black", "Black", 5);
_root.Black._x = 0;
_root.Black._y = 0;
_root.Black._alpha = 0;
}
var _local7 = new Array(6);
var _local4 = new Array(6);
var _local3 = 0;
while (_local3 < 6) {
_local7[_local3] = _local6[_local3].split("");
_local4[_local3] = _local5[_local3].split("");
_local3++;
}
Blocks = new Array(6);
_local3 = 0;
while (_local3 < 6) {
Blocks[_local3] = new Array(9);
var _local2 = 0;
while (_local2 < 9) {
if ((((_local7[_local3][_local2] == "_") or (_local7[_local3][_local2] == "/")) or (_local7[_local3][_local2] == "|")) or (_local7[_local3][_local2] == "^")) {
if (_local7[_local3][_local2] == "_") {
_root[CurrentScene].attachMovie("GroundBlock", (("GroundBlock" + _local3) + "A") + _local2, ((1000 - (_local3 * 10)) - _local2) + CurrentDepth);
_root[CurrentScene][(("GroundBlock" + _local3) + "A") + _local2].gotoAndStop(1);
_root[CurrentScene][(("GroundBlock" + _local3) + "A") + _local2]._x = 10 + (_local2 * 59);
_root[CurrentScene][(("GroundBlock" + _local3) + "A") + _local2]._y = 58 + (_local3 * 63);
Blocks[_local3][_local2] = 1;
} else if ((_local7[_local3][_local2] == "/") or (_local7[_local3][_local2] == "|")) {
_root[CurrentScene].attachMovie("TrapDoor", (("GroundBlock" + _local3) + "A") + _local2, ((1000 - (_local3 * 10)) - _local2) + CurrentDepth);
if (_local7[_local3][_local2] == "/") {
_root[CurrentScene][(("GroundBlock" + _local3) + "A") + _local2].gotoAndStop(1);
} else {
_root[CurrentScene][(("GroundBlock" + _local3) + "A") + _local2].gotoAndStop(10);
}
_root[CurrentScene][(("GroundBlock" + _local3) + "A") + _local2]._x = 10 + (_local2 * 59);
_root[CurrentScene][(("GroundBlock" + _local3) + "A") + _local2]._y = 58 + (_local3 * 63);
Blocks[_local3][_local2] = 2;
} else {
_root[CurrentScene].attachMovie("Spikes", (("GroundBlock" + _local3) + "A") + _local2, ((3500 - (_local3 * 10)) - _local2) + CurrentDepth);
_root[CurrentScene][(("GroundBlock" + _local3) + "A") + _local2].gotoAndStop(1);
_root[CurrentScene][(("GroundBlock" + _local3) + "A") + _local2]._x = 10 + (_local2 * 59);
_root[CurrentScene][(("GroundBlock" + _local3) + "A") + _local2]._y = 58 + (_local3 * 63);
Blocks[_local3][_local2] = 3;
}
} else {
Blocks[_local3][_local2] = 0;
}
_local2++;
}
_local3++;
}
var _local2 = 0;
while (_local2 < 9) {
var _local10 = false;
_local3 = 0;
while (_local3 < 6) {
if ((Blocks[_local3][_local2] > 0) and (((_local2 > 0) and (Blocks[_local3][_local2 - 1] == 0)) or ((_local2 < 8) and (Blocks[_local3][_local2 + 1] == 0)))) {
_root[CurrentScene].attachMovie("Girder", (("Girder" + _local3) + "A") + _local2, ((200 - (_local3 * 10)) - _local2) + CurrentDepth);
_root[CurrentScene][(("Girder" + _local3) + "A") + _local2].gotoAndStop(1);
_root[CurrentScene][(("Girder" + _local3) + "A") + _local2]._x = 17 + (_local2 * 59);
_root[CurrentScene][(("Girder" + _local3) + "A") + _local2]._y = 77 + (_local3 * 63);
_local10 = true;
} else {
if ((_local10 == true) and (Blocks[_local3][_local2] == 0)) {
_root[CurrentScene].attachMovie("Girder", (("Girder" + _local3) + "A") + _local2, ((200 - (_local3 * 10)) - _local2) + CurrentDepth);
_root[CurrentScene][(("Girder" + _local3) + "A") + _local2].gotoAndStop(2);
_root[CurrentScene][(("Girder" + _local3) + "A") + _local2]._x = 17 + (_local2 * 59);
_root[CurrentScene][(("Girder" + _local3) + "A") + _local2]._y = 77 + (_local3 * 63);
} else {
_local10 = false;
}
if (_local3 == 5) {
_local10 = false;
}
}
_local3++;
}
_local2++;
}
_local3 = 0;
while (_local3 < 8) {
_root[CurrentScene].attachMovie("WallBlock", "WallBlockLeft" + _local3, (1010 - _local3) + CurrentDepth);
_root[CurrentScene].attachMovie("WallBlock", "WallBlockRight" + _local3, (1020 - _local3) + CurrentDepth);
_root[CurrentScene]["WallBlockLeft" + _local3]._x = 0;
_root[CurrentScene]["WallBlockLeft" + _local3]._y = _local3 * 50;
_root[CurrentScene]["WallBlockRight" + _local3]._x = 538;
_root[CurrentScene]["WallBlockRight" + _local3]._y = _local3 * 50;
_local3++;
}
Path = new Array(6);
_local3 = 0;
while (_local3 < 6) {
Path[_local3] = new Array(3);
Path[_local3][0] = new Array();
Path[_local3][1] = new Array();
Path[_local3][2] = new Array();
_local2 = 0;
while (_local2 < 9) {
if (Blocks[_local3][_local2] == false) {
Path[_local3][0][Path[_local3][0].length] = _local2;
}
if ((((_local3 > 0) and (Blocks[_local3][_local2] > 0)) and (Blocks[_local3 - 1][_local2] == 0)) and (Blocks[_local3 - 1][_local2 - 1] > 0)) {
Path[_local3][1][Path[_local3][1].length] = _local2;
}
if ((((_local3 > 0) and (Blocks[_local3][_local2] > 0)) and (Blocks[_local3 - 1][_local2] == 0)) and (Blocks[_local3 - 1][_local2 + 1] > 0)) {
Path[_local3][2][Path[_local3][2].length] = _local2;
}
_local2++;
}
_local3++;
}
Shadows = new Array();
NextShadowNumber = 0;
Effects = new Array();
NextEffectNumber = 0;
Limbs = new Array();
NextLimbNumber = 0;
Cat = new Array(5);
Cat[0] = 100;
Cat[1] = 0;
Cat[2] = 0;
Cat[3] = 0;
Cat[4] = 0;
CatFloorLevel = -1;
_root[CurrentScene].attachMovie("Cat", "Cat", 2001 + CurrentDepth);
_root[CurrentScene].Cat.gotoAndStop(88);
_root[CurrentScene].Cat._x = 275;
_root[CurrentScene].Cat._y = 200;
_root[CurrentScene].Cat._alpha = 100;
FishScore = 0;
Bunnies = new Array();
NextBunnyNumber = 0;
NumberOfBunnies = 0;
Bonus = new Array();
NumberOfBonuses = 0;
TakenBonuses = new Array();
NumberOfFishes = 0;
VisibleFishes = 0;
_local3 = 0;
while (_local3 < 6) {
_local2 = 0;
while (_local2 < 9) {
if (((_local4[_local3][_local2] == "b") or (_local4[_local3][_local2] == "r")) or (_local4[_local3][_local2] == "p")) {
NumberOfBunnies = NumberOfBunnies + 1;
var _local13 = 40 + (_local2 * 59);
var _local12 = 50 + (_local3 * 63);
var _local9 = Bunnies.length;
Bunnies[_local9] = new Array();
Bunnies[_local9][0] = NextBunnyNumber;
Bunnies[_local9][2] = NextBunnyNumber;
Bunnies[_local9][3] = 0;
Bunnies[_local9][4] = 0;
Bunnies[_local9][5] = 0;
Bunnies[_local9][6] = -1;
if (_local4[_local3][_local2] == "p") {
Bunnies[_local9][1] = 25;
Bunnies[_local9][7] = 0;
_root[CurrentScene].attachMovie("PurpleBunny", "Bunny" + NextBunnyNumber, (2000 - NextBunnyNumber) + CurrentDepth);
} else if (_local4[_local3][_local2] == "b") {
Bunnies[_local9][1] = 50;
Bunnies[_local9][7] = 1;
_root[CurrentScene].attachMovie("BlueBunny", "Bunny" + NextBunnyNumber, (2000 - NextBunnyNumber) + CurrentDepth);
} else {
Bunnies[_local9][1] = 100;
Bunnies[_local9][7] = 2;
_root[CurrentScene].attachMovie("RedBunny", "Bunny" + NextBunnyNumber, (2000 - NextBunnyNumber) + CurrentDepth);
}
_root[CurrentScene]["Bunny" + NextBunnyNumber].gotoAndPlay(55);
_root[CurrentScene]["Bunny" + NextBunnyNumber]._x = _local13;
_root[CurrentScene]["Bunny" + NextBunnyNumber]._y = _local12;
NextBunnyNumber = NextBunnyNumber + 1;
} else if ((_local4[_local3][_local2] == "f") or (_local4[_local3][_local2] == "h")) {
NumberOfFishes = NumberOfFishes + 1;
NumberOfBonuses = NumberOfBonuses + 1;
var _local9 = Bonus.length;
Bonus[_local9] = new Array();
Bonus[_local9][0] = NumberOfBonuses;
Bonus[_local9][1] = 0;
var _local13 = 40 + (_local2 * 59);
var _local12 = 38 + (_local3 * 63);
_root[CurrentScene].attachMovie("Fish", "Bonus" + NumberOfBonuses, (3000 - NumberOfBonuses) + CurrentDepth);
_root[CurrentScene]["Bonus" + NumberOfBonuses]._x = _local13;
_root[CurrentScene]["Bonus" + NumberOfBonuses]._y = _local12;
if (_local4[_local3][_local2] == "h") {
_root[CurrentScene]["Bonus" + NumberOfBonuses]._alpha = 0;
_root[CurrentScene]["Bonus" + NumberOfBonuses].gotoAndStop(1);
} else {
VisibleFishes = VisibleFishes + 1;
_root[CurrentScene]["Bonus" + NumberOfBonuses].gotoAndPlay(1);
}
} else if (_local4[_local3][_local2] == "e") {
NumberOfBonuses = NumberOfBonuses + 1;
var _local9 = Bonus.length;
Bonus[_local9] = new Array();
Bonus[_local9][0] = NumberOfBonuses;
Bonus[_local9][1] = 1;
var _local13 = 40 + (_local2 * 59);
var _local12 = 38 + (_local3 * 63);
_root[CurrentScene].attachMovie("HealthBonus", "Bonus" + NumberOfBonuses, (3000 - NumberOfBonuses) + CurrentDepth);
_root[CurrentScene]["Bonus" + NumberOfBonuses]._x = _local13;
_root[CurrentScene]["Bonus" + NumberOfBonuses]._y = _local12;
_root[CurrentScene]["Bonus" + NumberOfBonuses].gotoAndPlay(1);
} else if (_local4[_local3][_local2] == "l") {
NumberOfBonuses = NumberOfBonuses + 1;
var _local11 = false;
if (PickedUpLifes.length > 0) {
var _local8 = 0;
while (_local8 < PickedUpLifes.length) {
if (PickedUpLifes[_local8] == NumberOfBonuses) {
_local11 = true;
}
_local8++;
}
}
if (_local11 == false) {
var _local9 = Bonus.length;
Bonus[_local9] = new Array();
Bonus[_local9][0] = NumberOfBonuses;
Bonus[_local9][1] = 2;
var _local13 = 40 + (_local2 * 59);
var _local12 = 38 + (_local3 * 63);
_root[CurrentScene].attachMovie("LifeBonus", "Bonus" + NumberOfBonuses, (3000 - NumberOfBonuses) + CurrentDepth);
_root[CurrentScene]["Bonus" + NumberOfBonuses]._x = _local13;
_root[CurrentScene]["Bonus" + NumberOfBonuses]._y = _local12;
_root[CurrentScene]["Bonus" + NumberOfBonuses].gotoAndPlay(1);
}
} else if (_local4[_local3][_local2] == "a") {
NumberOfBonuses = NumberOfBonuses + 1;
var _local9 = Bonus.length;
Bonus[_local9] = new Array();
Bonus[_local9][0] = NumberOfBonuses;
Bonus[_local9][1] = 3;
var _local13 = 40 + (_local2 * 59);
var _local12 = 38 + (_local3 * 63);
_root[CurrentScene].attachMovie("AttackBonus", "Bonus" + NumberOfBonuses, (3000 - NumberOfBonuses) + CurrentDepth);
_root[CurrentScene]["Bonus" + NumberOfBonuses]._x = _local13;
_root[CurrentScene]["Bonus" + NumberOfBonuses]._y = _local12;
_root[CurrentScene]["Bonus" + NumberOfBonuses].gotoAndPlay(1);
} else if (_local4[_local3][_local2] == "c") {
var _local13 = 40 + (_local2 * 59);
var _local12 = 48 + (_local3 * 63);
_root[CurrentScene].Cat._x = _local13;
_root[CurrentScene].Cat._y = _local12;
} else if (_local4[_local3][_local2] == ">") {
NumberOfBonuses = NumberOfBonuses + 1;
_root[CurrentScene].attachMovie("Cat", "Bonus" + NumberOfBonuses, (3000 - NumberOfBonuses) + CurrentDepth);
_root[CurrentScene]["Bonus" + NumberOfBonuses].gotoAndPlay(155);
var _local13 = 40 + (_local2 * 59);
var _local12 = 48 + (_local3 * 63);
_root[CurrentScene]["Bonus" + NumberOfBonuses]._x = _local13;
_root[CurrentScene]["Bonus" + NumberOfBonuses]._y = _local12;
} else if (_local4[_local3][_local2] == "<") {
NumberOfBonuses = NumberOfBonuses + 1;
_root[CurrentScene].attachMovie("Cat", "Bonus" + NumberOfBonuses, (3000 - NumberOfBonuses) + CurrentDepth);
_root[CurrentScene]["Bonus" + NumberOfBonuses].gotoAndPlay(155);
var _local13 = 40 + (_local2 * 59);
var _local12 = 48 + (_local3 * 63);
_root[CurrentScene]["Bonus" + NumberOfBonuses]._x = _local13;
_root[CurrentScene]["Bonus" + NumberOfBonuses]._y = _local12;
_root[CurrentScene]["Bonus" + NumberOfBonuses]._xscale = -100;
}
_local2++;
}
_local3++;
}
_root.Charge._alpha = 0;
TrapdoorTimer = 120;
Format.color = 0;
FishScoreField.text = (FishScore + "/") + NumberOfFishes;
FishScoreField.setTextFormat(Format);
Format.color = 16766976 /* 0xFFD800 */;
FishScoreFieldShadow.text = (FishScore + "/") + NumberOfFishes;
FishScoreFieldShadow.setTextFormat(Format);
LevelNameFormat.color = 16776192 /* 0xFFFC00 */;
LevelNameField.text = (("Level " + (CurrentLevel + 1)) + newline) + LevelName;
LevelNameField.setTextFormat(LevelNameFormat);
LevelNameField._alpha = 100;
LevelNameFormat.color = 5460819 /* 0x535353 */;
LevelNameFieldShadow.text = (("Level " + (CurrentLevel + 1)) + newline) + LevelName;
LevelNameFieldShadow.setTextFormat(LevelNameFormat);
LevelNameFieldShadow._alpha = 100;
HintField.text = "";
HintFieldShadow.text = "";
if (CurrentLevel == 22) {
LevelNameField.text = "VICTORY";
LevelNameFieldShadow.text = "VICTORY";
LevelNameFormat.color = 16776192 /* 0xFFFC00 */;
LevelNameField.setTextFormat(LevelNameFormat);
LevelNameFormat.color = 5460819 /* 0x535353 */;
LevelNameFieldShadow.setTextFormat(LevelNameFormat);
}
}
function UpdateGame() {
if (NextLevelIn == 0) {
Time = Time + 1;
if (TrapdoorTimer == 0) {
TrapdoorTimer = 120;
var _local6 = 0;
while (_local6 < 6) {
var _local4 = 0;
while (_local4 < 9) {
if (Blocks[_local6][_local4] == 2) {
if (_root[CurrentScene][(("GroundBlock" + _local6) + "A") + _local4]._currentframe == 1) {
_root[CurrentScene][(("GroundBlock" + _local6) + "A") + _local4].gotoAndPlay(2);
} else {
_root[CurrentScene][(("GroundBlock" + _local6) + "A") + _local4].gotoAndPlay(11);
}
}
_local4++;
}
_local6++;
}
} else {
TrapdoorTimer = TrapdoorTimer - 1;
}
if (Bunnies.length > 0) {
var _local6 = 0;
while (_local6 < Bunnies.length) {
if (Bunnies[_local6][6] == -1) {
if (Bunnies[_local6][2] > 0) {
Bunnies[_local6][2] = Bunnies[_local6][2] - 1;
} else {
Bunnies[_local6][2] = 0;
var _local5 = random(6);
var _local8 = Math.round((_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._y - 38) / 63);
if (Bunnies[_local6][7] == 2) {
if (CatFloorLevel < _local8) {
_local5 = 3 + random(3);
} else if (CatFloorLevel > _local8) {
_local5 = 2;
}
}
if (_local5 < 2) {
Bunnies[_local6][5] = 40 + random(470);
Bunnies[_local6][6] = 0;
} else if (_local5 == 2) {
if ((_local8 < 6) and (_local8 > -1)) {
if (Path[_local8][0].length > 0) {
Bunnies[_local6][5] = 40 + (Path[_local8][0][random(Path[_local8][0].length)] * 59);
Bunnies[_local6][6] = 0;
} else {
Bunnies[_local6][2] = 1;
}
}
} else if ((_local5 == 3) or (_local5 == 4)) {
if ((_local8 < 6) and (_local8 > -1)) {
if (Path[_local8][1].length > 0) {
Bunnies[_local6][5] = 40 + (Path[_local8][1][random(Path[_local8][1].length)] * 59);
Bunnies[_local6][6] = 1;
} else {
Bunnies[_local6][2] = 1;
}
}
} else if ((_local5 == 5) or (_local5 == 6)) {
_local8 = Math.round((_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._y - 38) / 63);
if ((_local8 < 6) and (_local8 > -1)) {
if (Path[_local8][2].length > 0) {
Bunnies[_local6][5] = 40 + (Path[_local8][2][random(Path[_local8][2].length)] * 59);
Bunnies[_local6][6] = 2;
} else {
Bunnies[_local6][2] = 1;
}
}
}
}
}
if (Bunnies[_local6][6] > -1) {
var _local7 = Math.abs(_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._x - Bunnies[_local6][5]);
if (_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._currentframe < 41) {
_root[CurrentScene]["Bunny" + Bunnies[_local6][0]].gotoAndPlay(41 + random(3));
} else if (_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._currentframe == 54) {
JumpSound.start(0, 1);
var _local9 = Math.round((_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._x + 17) / 59) - 1;
var _local8 = Math.round((_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._y - 38) / 63);
if (Bunnies[_local6][5] < _root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._x) {
_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._xscale = -100;
if (((((((_local8 < 6) and (_local8 > -1)) and (_local9 > 1)) and (_local7 > 70)) and (Blocks[_local8][_local9 - 1] == false)) and (Blocks[_local8][_local9 - 2] > 0)) and (!((Blocks[_local8][_local9 - 2] == 2) and (_root[CurrentScene][((("GroundBlock" + _local8) + "A") + _local9) - 2]._currentframe > 1)))) {
Bunnies[_local6][3] = -11;
Bunnies[_local6][4] = 6;
} else {
Bunnies[_local6][3] = -5;
Bunnies[_local6][4] = 5;
}
} else {
_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._xscale = 100;
if (((((((_local8 < 6) and (_local8 > -1)) and (_local9 < 7)) and (_local7 > 70)) and (Blocks[_local8][_local9 + 1] == false)) and (Blocks[_local8][_local9 + 2] > 0)) and (!((Blocks[_local8][_local9 + 2] == 2) and (_root[CurrentScene][((("GroundBlock" + _local8) + "A") + _local9) + 2]._currentframe > 1)))) {
Bunnies[_local6][3] = 11;
Bunnies[_local6][4] = 6;
} else {
Bunnies[_local6][3] = 5;
Bunnies[_local6][4] = 5;
}
}
if (Bunnies[_local6][7] > 0) {
Bunnies[_local6][3] = Bunnies[_local6][3] * 1.1;
}
if (_local7 < 30) {
Bunnies[_local6][3] = (Bunnies[_local6][3] * _local7) / 30;
if (_local7 < 8) {
if (Bunnies[_local6][6] == 0) {
Bunnies[_local6][6] = -1;
} else if (Bunnies[_local6][6] == 1) {
_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._xscale = -100;
Bunnies[_local6][6] = -1;
Bunnies[_local6][3] = -4;
Bunnies[_local6][4] = 12;
} else {
_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._xscale = 100;
Bunnies[_local6][6] = -1;
Bunnies[_local6][3] = 4;
Bunnies[_local6][4] = 12;
}
}
}
}
}
var _local12 = Math.round((_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._y - 38) / 63);
_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._x = _root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._x + Bunnies[_local6][3];
_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._y = _root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._y - Bunnies[_local6][4];
if (Bunnies[_local6][4] > -6) {
Bunnies[_local6][4] = Bunnies[_local6][4] - 1;
}
Bunnies[_local6][3] = Bunnies[_local6][3] * 0.95;
var _local8 = Math.round((_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._y - 38) / 63);
var _local14 = _local8 - 1;
var _local9 = Math.round((_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._x + 17) / 59) - 1;
if ((_local14 < 6) and (_local14 > -1)) {
var _local18 = Math.abs(_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._y - ((_local14 * 63) + 58));
} else {
var _local18 = 500;
}
if ((_local8 < 6) and (_local8 > -1)) {
var _local13 = Math.abs(((_local8 * 63) + 58) - _root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._y);
} else {
var _local13 = 500;
}
if (((_local18 < 35) and (Blocks[_local14][_local9] > 0)) and (!((Blocks[_local14][_local9] == 2) and (_root[CurrentScene][(("GroundBlock" + _local14) + "A") + _local9]._currentframe > 1)))) {
if (Bunnies[_local6][4] > 0) {
Bunnies[_local6][4] = -1;
}
}
if (((_local13 < 9) and (Blocks[_local8][_local9] > 0)) and (!((Blocks[_local8][_local9] == 2) and (_root[CurrentScene][(("GroundBlock" + _local8) + "A") + _local9]._currentframe > 1)))) {
Bunnies[_local6][4] = 0;
_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._y = 51 + (_local8 * 63);
if ((_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._currentframe > 54) and (_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._currentframe < 76)) {
if (Bunnies[_local6][7] == 0) {
_root[CurrentScene]["Bunny" + Bunnies[_local6][0]].gotoAndPlay(76);
} else if (Bunnies[_local6][7] == 1) {
_root[CurrentScene]["Bunny" + Bunnies[_local6][0]].gotoAndPlay(82);
} else {
_root[CurrentScene]["Bunny" + Bunnies[_local6][0]].gotoAndPlay(89);
}
Bunnies[_local6][3] = 0;
}
} else if (((_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._currentframe < 55) or (_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._currentframe > 75)) and (_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._currentframe < 92)) {
_root[CurrentScene]["Bunny" + Bunnies[_local6][0]].gotoAndPlay(55);
}
if (_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._y > 420) {
_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._y = -20;
}
if (_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._x < 23) {
_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._x = 23;
} else if (_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._x > 527) {
_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._x = 527;
}
if (_local12 != _local8) {
Bunnies[_local6][6] = -1;
Bunnies[_local6][2] = 0;
}
if (CatFloorLevel == _local8) {
if ((((_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._xscale == -100) and (_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._x > _root[CurrentScene].Cat._x)) or ((_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._xscale == 100) and (_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._x < _root[CurrentScene].Cat._x))) or (Math.abs(_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._x - _root[CurrentScene].Cat._x) < 50)) {
Bunnies[_local6][5] = _root[CurrentScene].Cat._x;
}
Bunnies[_local6][6] = 0;
if ((Math.abs(_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._x - _root[CurrentScene].Cat._x) < 15) and (Math.abs(_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._y - _root[CurrentScene].Cat._y) < 15)) {
if (((_root[CurrentScene].Cat._currentframe > 118) and (_root[CurrentScene].Cat._currentframe < 131)) and (((_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._x < _root[CurrentScene].Cat._x) and (_root[CurrentScene].Cat._xscale == -100)) or ((_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._x >= _root[CurrentScene].Cat._x) and (_root[CurrentScene].Cat._xscale == 100)))) {
PunchSound.start(0, 1);
if (_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._x < _root[CurrentScene].Cat._x) {
_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._xscale = 100;
Bunnies[_local6][3] = -10;
} else {
_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._xscale = -100;
Bunnies[_local6][3] = 10;
}
_root[CurrentScene]["Bunny" + Bunnies[_local6][0]].gotoAndPlay(92);
_root[CurrentScene].Cat.gotoAndPlay(131);
Bunnies[_local6][1] = Bunnies[_local6][1] - 25;
var _local15 = random(360);
var _local4 = 0;
while (_local4 < 2) {
_root[CurrentScene].attachMovie("Pang", "Effect" + NextEffectNumber, (2500 - NextEffectNumber) + CurrentDepth);
_root[CurrentScene]["Effect" + NextEffectNumber].gotoAndStop(2);
_root[CurrentScene]["Effect" + NextEffectNumber]._alpha = 100;
_root[CurrentScene]["Effect" + NextEffectNumber]._xscale = 10;
_root[CurrentScene]["Effect" + NextEffectNumber]._yscale = 10;
if (Bunnies[_local6][1] <= 0) {
_root[CurrentScene]["Effect" + NextEffectNumber]._xscale = 20;
_root[CurrentScene]["Effect" + NextEffectNumber]._yscale = 20;
}
_root[CurrentScene]["Effect" + NextEffectNumber]._rotation = _local15 + (_local4 * 180);
_root[CurrentScene]["Effect" + NextEffectNumber]._x = _root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._x;
_root[CurrentScene]["Effect" + NextEffectNumber]._y = _root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._y;
Effects[Effects.length] = NextEffectNumber;
if (NextEffectNumber > 50) {
NextEffectNumber = 0;
}
NextEffectNumber = NextEffectNumber + 1;
_local4++;
}
if (Bunnies[_local6][1] <= 0) {
if (HighQuality == true) {
_local4 = 0;
while (_local4 < 8) {
if (Bunnies[_local6][7] == 0) {
var _local3 = "Purple";
} else if (Bunnies[_local6][7] == 1) {
var _local3 = "Blue";
} else {
var _local3 = "Red";
}
if (_local4 == 0) {
_root[CurrentScene].attachMovie(_local3 + "BunnyPaw", "Limb" + NextLimbNumber, (400 - NextLimbNumber) + CurrentDepth);
_root[CurrentScene]["Limb" + NextLimbNumber]._y = _root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._y;
} else if (_local4 == 1) {
_root[CurrentScene].attachMovie(_local3 + "BunnyPaw", "Limb" + NextLimbNumber, (400 - NextLimbNumber) + CurrentDepth);
_root[CurrentScene]["Limb" + NextLimbNumber]._y = _root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._y;
} else if (_local4 == 2) {
_root[CurrentScene].attachMovie(_local3 + "BunnyFoot", "Limb" + NextLimbNumber, (400 - NextLimbNumber) + CurrentDepth);
_root[CurrentScene]["Limb" + NextLimbNumber]._y = _root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._y + 3;
} else if (_local4 == 3) {
_root[CurrentScene].attachMovie(_local3 + "BunnyFoot", "Limb" + NextLimbNumber, (400 - NextLimbNumber) + CurrentDepth);
_root[CurrentScene]["Limb" + NextLimbNumber]._y = _root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._y + 3;
} else if (_local4 == 4) {
_root[CurrentScene].attachMovie(_local3 + "BunnyBody", "Limb" + NextLimbNumber, (400 - NextLimbNumber) + CurrentDepth);
_root[CurrentScene]["Limb" + NextLimbNumber]._y = _root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._y;
} else if (_local4 == 5) {
_root[CurrentScene].attachMovie(_local3 + "BunnyHead", "Limb" + NextLimbNumber, (400 - NextLimbNumber) + CurrentDepth);
_root[CurrentScene]["Limb" + NextLimbNumber]._y = _root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._y - 3;
} else if (_local4 == 6) {
_root[CurrentScene].attachMovie(_local3 + "BunnyLeftEar", "Limb" + NextLimbNumber, (400 - NextLimbNumber) + CurrentDepth);
_root[CurrentScene]["Limb" + NextLimbNumber]._y = _root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._y - 4;
} else if (_local4 == 7) {
_root[CurrentScene].attachMovie(_local3 + "BunnyRightEar", "Limb" + NextLimbNumber, (400 - NextLimbNumber) + CurrentDepth);
_root[CurrentScene]["Limb" + NextLimbNumber]._y = _root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._y - 4;
}
_root[CurrentScene]["Limb" + NextLimbNumber]._x = _root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._x;
_root[CurrentScene]["Limb" + NextLimbNumber]._xscale = _root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._xscale;
Limbs[Limbs.length] = new Array();
Limbs[Limbs.length - 1][0] = NextLimbNumber;
Limbs[Limbs.length - 1][1] = (((-random(30)) + random(30)) * 0.1) + (Bunnies[_local6][2] * 0.2);
Limbs[Limbs.length - 1][2] = (-1 - (random(50) * 0.1)) + (Bunnies[_local6][3] * 0.2);
Limbs[Limbs.length - 1][3] = ((-random(50)) + random(50)) * 0.1;
NextLimbNumber = NextLimbNumber + 1;
if (NextLimbNumber > 500) {
NextLimbNumber = 0;
}
_local4++;
}
}
removeMovieClip(_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]);
if (Respawn == true) {
var _local11 = 40 + (random(9) * 59);
var _local10 = -200;
Bunnies[_local6][3] = 0;
Bunnies[_local6][4] = 0;
Bunnies[_local6][5] = 0;
Bunnies[_local6][6] = -1;
if (LevelUp == true) {
if (Bunnies[_local6][7] == 0) {
Bunnies[_local6][7] = 1;
} else if (Bunnies[_local6][7] == 1) {
Bunnies[_local6][7] = 2;
}
}
if (Bunnies[_local6][7] == 0) {
Bunnies[_local6][1] = 25;
_root[CurrentScene].attachMovie("PurpleBunny", "Bunny" + Bunnies[_local6][0], (2000 - Bunnies[_local6][0]) + CurrentDepth);
} else if (Bunnies[_local6][7] == 1) {
Bunnies[_local6][1] = 50;
_root[CurrentScene].attachMovie("BlueBunny", "Bunny" + Bunnies[_local6][0], (2000 - Bunnies[_local6][0]) + CurrentDepth);
} else if (Bunnies[_local6][7] > 0) {
Bunnies[_local6][1] = 100;
_root[CurrentScene].attachMovie("RedBunny", "Bunny" + Bunnies[_local6][0], (2000 - Bunnies[_local6][0]) + CurrentDepth);
}
_root[CurrentScene]["Bunny" + Bunnies[_local6][0]].gotoAndPlay(55);
_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._x = _local11;
_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._y = _local10;
} else {
Bunnies.splice(_local6, 1);
_local6 = _local6 - 1;
}
}
} else if (((_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._currentframe < 91) and (_root[CurrentScene].Cat._currentframe < 139)) and (Cat[4] == 0)) {
Cat[4] = Cat[4] + 40;
_root[CurrentScene].Cat._alpha = 40;
PunchSound.start(0, 1);
if (_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._x > _root[CurrentScene].Cat._x) {
_root[CurrentScene].Cat._xscale = 100;
Cat[1] = -10;
} else {
_root[CurrentScene].Cat._xscale = -100;
Cat[1] = 10;
}
_root[CurrentScene].Cat.gotoAndPlay(139);
Cat[0] = Cat[0] - 25;
_root.Health.gotoAndStop(_root.Health._currentframe - 1);
var _local15 = random(360);
var _local4 = 0;
while (_local4 < 2) {
_root[CurrentScene].attachMovie("Pang", "Effect" + NextEffectNumber, (2500 - NextEffectNumber) + CurrentDepth);
_root[CurrentScene]["Effect" + NextEffectNumber].gotoAndStop(1);
_root[CurrentScene]["Effect" + NextEffectNumber]._alpha = 100;
_root[CurrentScene]["Effect" + NextEffectNumber]._xscale = 10;
_root[CurrentScene]["Effect" + NextEffectNumber]._yscale = 10;
if (Cat[0] <= 0) {
_root[CurrentScene]["Effect" + NextEffectNumber]._xscale = 20;
_root[CurrentScene]["Effect" + NextEffectNumber]._yscale = 20;
}
_root[CurrentScene]["Effect" + NextEffectNumber]._rotation = _local15 + (_local4 * 180);
_root[CurrentScene]["Effect" + NextEffectNumber]._x = _root[CurrentScene].Cat._x;
_root[CurrentScene]["Effect" + NextEffectNumber]._y = _root[CurrentScene].Cat._y;
Effects[Effects.length] = NextEffectNumber;
if (NextEffectNumber > 50) {
NextEffectNumber = 0;
}
NextEffectNumber = NextEffectNumber + 1;
_local4++;
}
if (Cat[0] <= 0) {
if (HighQuality == true) {
_local4 = 0;
while (_local4 < 9) {
if (_local4 == 0) {
_root[CurrentScene].attachMovie("CatHead", "Limb" + NextLimbNumber, (400 - NextLimbNumber) + CurrentDepth);
_root[CurrentScene]["Limb" + NextLimbNumber]._y = _root[CurrentScene].Cat._y - 5;
} else if (_local4 == 1) {
_root[CurrentScene].attachMovie("CatFoot", "Limb" + NextLimbNumber, (400 - NextLimbNumber) + CurrentDepth);
_root[CurrentScene]["Limb" + NextLimbNumber]._y = _root[CurrentScene].Cat._y + 5;
} else if (_local4 == 2) {
_root[CurrentScene].attachMovie("CatFoot", "Limb" + NextLimbNumber, (400 - NextLimbNumber) + CurrentDepth);
_root[CurrentScene]["Limb" + NextLimbNumber]._y = _root[CurrentScene].Cat._y + 5;
} else if (_local4 == 3) {
_root[CurrentScene].attachMovie("CatLeftPaw", "Limb" + NextLimbNumber, (400 - NextLimbNumber) + CurrentDepth);
_root[CurrentScene]["Limb" + NextLimbNumber]._y = _root[CurrentScene].Cat._y - 2;
} else if (_local4 == 4) {
_root[CurrentScene].attachMovie("CatRightPaw", "Limb" + NextLimbNumber, (400 - NextLimbNumber) + CurrentDepth);
_root[CurrentScene]["Limb" + NextLimbNumber]._y = _root[CurrentScene].Cat._y - 2;
} else if (_local4 == 5) {
_root[CurrentScene].attachMovie("CatTail", "Limb" + NextLimbNumber, (400 - NextLimbNumber) + CurrentDepth);
_root[CurrentScene]["Limb" + NextLimbNumber]._y = _root[CurrentScene].Cat._y + 2;
} else if (_local4 == 6) {
_root[CurrentScene].attachMovie("CatTail", "Limb" + NextLimbNumber, (400 - NextLimbNumber) + CurrentDepth);
_root[CurrentScene]["Limb" + NextLimbNumber]._y = _root[CurrentScene].Cat._y + 2;
} else if (_local4 == 7) {
_root[CurrentScene].attachMovie("CatTail", "Limb" + NextLimbNumber, (400 - NextLimbNumber) + CurrentDepth);
_root[CurrentScene]["Limb" + NextLimbNumber]._y = _root[CurrentScene].Cat._y + 2;
} else if (_local4 == 8) {
_root[CurrentScene].attachMovie("CatBody", "Limb" + NextLimbNumber, (400 - NextLimbNumber) + CurrentDepth);
_root[CurrentScene]["Limb" + NextLimbNumber]._y = _root[CurrentScene].Cat._y;
}
_root[CurrentScene]["Limb" + NextLimbNumber]._x = _root[CurrentScene].Cat._x;
_root[CurrentScene]["Limb" + NextLimbNumber]._xscale = _root[CurrentScene].Cat._xscale;
Limbs[Limbs.length] = new Array();
Limbs[Limbs.length - 1][0] = NextLimbNumber;
Limbs[Limbs.length - 1][1] = (((-random(30)) + random(30)) * 0.1) + (Cat[1] * 0.2);
Limbs[Limbs.length - 1][2] = (-1 - (random(50) * 0.1)) + (Cat[2] * 0.2);
Limbs[Limbs.length - 1][3] = ((-random(50)) + random(50)) * 0.1;
NextLimbNumber = NextLimbNumber + 1;
if (NextLimbNumber > 500) {
NextLimbNumber = 0;
}
_local4++;
}
}
removeMovieClip(_root[CurrentScene].Cat);
if (Lives > 0) {
removeMovieClip(_root["Life" + (Lives - 1)]);
Lives = Lives - 1;
NextLevelIn = 80;
} else {
NextLevelIn = 80;
Lives = Lives - 1;
}
}
}
}
}
if (HighQuality == true) {
if ((_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._currentframe > 54) and (_root[CurrentScene]["Bunny" + Bunnies[_local6][0]]._currentframe < 76)) {
duplicateMovieClip (_root[CurrentScene]["Bunny" + Bunnies[_local6][0]], "Shadow" + NextShadowNumber, (800 - NextShadowNumber) + CurrentDepth);
_root[CurrentScene]["Shadow" + NextShadowNumber].stop();
_root[CurrentScene]["Shadow" + NextShadowNumber]._alpha = 30;
Shadows[Shadows.length] = NextShadowNumber;
if (NextShadowNumber > 500) {
NextShadowNumber = 0;
}
NextShadowNumber = NextShadowNumber + 1;
}
}
_local6++;
}
}
if (Cat[0] > 0) {
if (_root[CurrentScene].Cat._currentframe < 118) {
if ((ZPressed == true) and ((_root[CurrentScene].Cat._currentframe < 62) or (_root[CurrentScene].Cat._currentframe > 104))) {
_root[CurrentScene].Cat.gotoAndPlay(62);
Cat[2] = 11;
}
if (Key.isDown(37) == true) {
_root[CurrentScene].Cat._xscale = -100;
if ((_root[CurrentScene].Cat._currentframe < 62) or (_root[CurrentScene].Cat._currentframe > 105)) {
if ((_root[CurrentScene].Cat._currentframe < 41) or (_root[CurrentScene].Cat._currentframe > 61)) {
_root[CurrentScene].Cat.gotoAndPlay(41);
}
Cat[1] = (-18 + Cat[1]) / 4;
} else {
Cat[1] = (-10 + Cat[1]) / 3;
}
}
if (Key.isDown(39) == true) {
_root[CurrentScene].Cat._xscale = 100;
if ((_root[CurrentScene].Cat._currentframe < 62) or (_root[CurrentScene].Cat._currentframe > 105)) {
if ((_root[CurrentScene].Cat._currentframe < 41) or (_root[CurrentScene].Cat._currentframe > 61)) {
_root[CurrentScene].Cat.gotoAndPlay(41);
}
Cat[1] = (18 + Cat[1]) / 4;
} else {
Cat[1] = (10 + Cat[1]) / 3;
}
}
if ((((Cat[3] == 0) and (_root.Charge._alpha == 100)) and (XPressed == true)) and ((_root[CurrentScene].Cat._currentframe < 62) or (_root[CurrentScene].Cat._currentframe > 105))) {
_root[CurrentScene].Cat.gotoAndPlay(118);
Cat[3] = 60;
AttackSwooshSound.start(0, 1);
}
}
if (Cat[4] > 0) {
Cat[4] = Cat[4] - 1;
if (Cat[4] == 0) {
_root[CurrentScene].Cat._alpha = 100;
}
}
if ((_root[CurrentScene].Cat._currentframe > 118) and (_root[CurrentScene].Cat._currentframe < 125)) {
if (_root[CurrentScene].Cat._xscale == -100) {
Cat[1] = -10;
} else {
Cat[1] = 10;
}
}
if (Cat[3] > 0) {
Cat[3] = Cat[3] - 1;
_root.Charge.gotoAndStop(Math.round((60 - Cat[3]) * 0.15));
}
_root[CurrentScene].Cat._x = _root[CurrentScene].Cat._x + Cat[1];
_root[CurrentScene].Cat._y = _root[CurrentScene].Cat._y - Cat[2];
if (Cat[2] > -8) {
var _local17 = Cat[2];
Cat[2] = Cat[2] - 1;
if ((_local17 > 0) and (Cat[2] <= 0)) {
_root[CurrentScene].Cat.gotoAndPlay(82);
}
}
var _local17 = Cat[1];
Cat[1] = Cat[1] * 0.6;
if ((Math.abs(_local17) > 1) and (Math.abs(Cat[1]) < 1)) {
if ((_root[CurrentScene].Cat._currentframe > 40) and (_root[CurrentScene].Cat._currentframe < 62)) {
_root[CurrentScene].Cat.gotoAndPlay(1);
}
}
CatFloorLevel = Math.round((_root[CurrentScene].Cat._y - 38) / 63);
var _local14 = CatFloorLevel - 1;
var _local9 = Math.round((_root[CurrentScene].Cat._x + 17) / 59) - 1;
if ((_local14 < 6) and (_local14 > -1)) {
var _local18 = Math.abs(_root[CurrentScene].Cat._y - ((_local14 * 63) + 58));
} else {
var _local18 = 500;
}
if ((CatFloorLevel < 6) and (CatFloorLevel > -1)) {
var _local13 = Math.abs(((CatFloorLevel * 63) + 58) - _root[CurrentScene].Cat._y);
} else {
var _local13 = 500;
}
if (((_local18 < 40) and (Blocks[_local14][_local9] > 0)) and (!((Blocks[_local14][_local9] == 2) and (_root[CurrentScene][(("GroundBlock" + _local14) + "A") + _local9]._currentframe > 1)))) {
if (Cat[2] > 0) {
Cat[2] = -1;
}
}
if (_local13 < 18) {
if (((Blocks[CatFloorLevel][_local9] == 3) and (_root[CurrentScene].Cat._currentframe < 139)) and (Cat[4] == 0)) {
Cat[4] = Cat[4] + 40;
_root[CurrentScene].Cat._alpha = 40;
PunchSound.start(0, 1);
if (_root[CurrentScene].Cat._xscale == 100) {
Cat[1] = -10;
} else {
Cat[1] = 10;
}
Cat[2] = 5;
_root[CurrentScene].Cat.gotoAndPlay(139);
Cat[0] = Cat[0] - 25;
_root.Health.gotoAndStop(_root.Health._currentframe - 1);
var _local15 = random(360);
var _local4 = 0;
while (_local4 < 2) {
_root[CurrentScene].attachMovie("Pang", "Effect" + NextEffectNumber, (2500 - NextEffectNumber) + CurrentDepth);
_root[CurrentScene]["Effect" + NextEffectNumber].gotoAndStop(1);
_root[CurrentScene]["Effect" + NextEffectNumber]._alpha = 100;
_root[CurrentScene]["Effect" + NextEffectNumber]._xscale = 10;
_root[CurrentScene]["Effect" + NextEffectNumber]._yscale = 10;
if (Cat[0] <= 0) {
_root[CurrentScene]["Effect" + NextEffectNumber]._xscale = 20;
_root[CurrentScene]["Effect" + NextEffectNumber]._yscale = 20;
}
_root[CurrentScene]["Effect" + NextEffectNumber]._rotation = _local15 + (_local4 * 180);
_root[CurrentScene]["Effect" + NextEffectNumber]._x = _root[CurrentScene].Cat._x;
_root[CurrentScene]["Effect" + NextEffectNumber]._y = _root[CurrentScene].Cat._y;
Effects[Effects.length] = NextEffectNumber;
if (NextEffectNumber > 50) {
NextEffectNumber = 0;
}
NextEffectNumber = NextEffectNumber + 1;
_local4++;
}
if (Cat[0] <= 0) {
if (HighQuality == true) {
_local4 = 0;
while (_local4 < 9) {
if (_local4 == 0) {
_root[CurrentScene].attachMovie("CatHead", "Limb" + NextLimbNumber, (400 - NextLimbNumber) + CurrentDepth);
_root[CurrentScene]["Limb" + NextLimbNumber]._y = _root[CurrentScene].Cat._y - 5;
} else if (_local4 == 1) {
_root[CurrentScene].attachMovie("CatFoot", "Limb" + NextLimbNumber, (400 - NextLimbNumber) + CurrentDepth);
_root[CurrentScene]["Limb" + NextLimbNumber]._y = _root[CurrentScene].Cat._y + 5;
} else if (_local4 == 2) {
_root[CurrentScene].attachMovie("CatFoot", "Limb" + NextLimbNumber, (400 - NextLimbNumber) + CurrentDepth);
_root[CurrentScene]["Limb" + NextLimbNumber]._y = _root[CurrentScene].Cat._y + 5;
} else if (_local4 == 3) {
_root[CurrentScene].attachMovie("CatLeftPaw", "Limb" + NextLimbNumber, (400 - NextLimbNumber) + CurrentDepth);
_root[CurrentScene]["Limb" + NextLimbNumber]._y = _root[CurrentScene].Cat._y - 2;
} else if (_local4 == 4) {
_root[CurrentScene].attachMovie("CatRightPaw", "Limb" + NextLimbNumber, (400 - NextLimbNumber) + CurrentDepth);
_root[CurrentScene]["Limb" + NextLimbNumber]._y = _root[CurrentScene].Cat._y - 2;
} else if (_local4 == 5) {
_root[CurrentScene].attachMovie("CatTail", "Limb" + NextLimbNumber, (400 - NextLimbNumber) + CurrentDepth);
_root[CurrentScene]["Limb" + NextLimbNumber]._y = _root[CurrentScene].Cat._y + 2;
} else if (_local4 == 6) {
_root[CurrentScene].attachMovie("CatTail", "Limb" + NextLimbNumber, (400 - NextLimbNumber) + CurrentDepth);
_root[CurrentScene]["Limb" + NextLimbNumber]._y = _root[CurrentScene].Cat._y + 2;
} else if (_local4 == 7) {
_root[CurrentScene].attachMovie("CatTail", "Limb" + NextLimbNumber, (400 - NextLimbNumber) + CurrentDepth);
_root[CurrentScene]["Limb" + NextLimbNumber]._y = _root[CurrentScene].Cat._y + 2;
} else if (_local4 == 8) {
_root[CurrentScene].attachMovie("CatBody", "Limb" + NextLimbNumber, (400 - NextLimbNumber) + CurrentDepth);
_root[CurrentScene]["Limb" + NextLimbNumber]._y = _root[CurrentScene].Cat._y;
}
_root[CurrentScene]["Limb" + NextLimbNumber]._x = _root[CurrentScene].Cat._x;
_root[CurrentScene]["Limb" + NextLimbNumber]._xscale = _root[CurrentScene].Cat._xscale;
Limbs[Limbs.length] = new Array();
Limbs[Limbs.length - 1][0] = NextLimbNumber;
Limbs[Limbs.length - 1][1] = (((-random(30)) + random(30)) * 0.1) + (Cat[1] * 0.2);
Limbs[Limbs.length - 1][2] = (-1 - (random(50) * 0.1)) + (Cat[2] * 0.2);
Limbs[Limbs.length - 1][3] = ((-random(50)) + random(50)) * 0.1;
NextLimbNumber = NextLimbNumber + 1;
if (NextLimbNumber > 500) {
NextLimbNumber = 0;
}
_local4++;
}
}
removeMovieClip(_root[CurrentScene].Cat);
if (Lives > 0) {
removeMovieClip(_root["Life" + (Lives - 1)]);
Lives = Lives - 1;
NextLevelIn = 80;
} else {
NextLevelIn = 80;
Lives = Lives - 1;
}
}
}
if (((_local13 < 12) and (Blocks[CatFloorLevel][_local9] > 0)) and (!((Blocks[CatFloorLevel][_local9] == 2) and (_root[CurrentScene][(("GroundBlock" + CatFloorLevel) + "A") + _local9]._currentframe > 1)))) {
Cat[2] = 0;
_root[CurrentScene].Cat._y = 48 + (CatFloorLevel * 63);
if ((_root[CurrentScene].Cat._currentframe > 61) and (_root[CurrentScene].Cat._currentframe < 101)) {
_root[CurrentScene].Cat.gotoAndPlay(101);
Cat[1] = 0;
LandSound.start(0.2, 1);
}
} else if (_root[CurrentScene].Cat._currentframe < 62) {
_root[CurrentScene].Cat.gotoAndPlay(82);
}
}
if (_root[CurrentScene].Cat._y > 420) {
_root[CurrentScene].Cat._y = -20;
}
if (_root[CurrentScene].Cat._x < 23) {
_root[CurrentScene].Cat._x = 23;
} else if (_root[CurrentScene].Cat._x > 527) {
_root[CurrentScene].Cat._x = 527;
}
if (HighQuality == true) {
if (((_root[CurrentScene].Cat._currentframe > 40) and (_root[CurrentScene].Cat._currentframe < 105)) or ((_root[CurrentScene].Cat._currentframe > 118) and (_root[CurrentScene].Cat._currentframe < 131))) {
duplicateMovieClip (_root[CurrentScene].Cat, "Shadow" + NextShadowNumber, (800 - NextShadowNumber) + CurrentDepth);
if ((_root[CurrentScene].Cat._currentframe > 118) and (_root[CurrentScene].Cat._currentframe < 131)) {
_root[CurrentScene]["Shadow" + NextShadowNumber]._alpha = 60;
} else {
_root[CurrentScene]["Shadow" + NextShadowNumber]._alpha = 30;
}
_root[CurrentScene]["Shadow" + NextShadowNumber].stop();
Shadows[Shadows.length] = NextShadowNumber;
if (NextShadowNumber > 500) {
NextShadowNumber = 0;
}
NextShadowNumber = NextShadowNumber + 1;
}
}
}
if (Bonus.length > 0) {
var _local6 = 0;
while (_local6 < Bonus.length) {
if ((_root[CurrentScene]["Bonus" + Bonus[_local6][0]]._alpha < 100) and (_root[CurrentScene]["Bonus" + Bonus[_local6][0]]._alpha > 0)) {
_root[CurrentScene]["Bonus" + Bonus[_local6][0]]._alpha = _root[CurrentScene]["Bonus" + Bonus[_local6][0]]._alpha + 10;
}
if (((_root[CurrentScene]["Bonus" + Bonus[_local6][0]]._alpha > 0) and (Math.abs(_root[CurrentScene]["Bonus" + Bonus[_local6][0]]._x - _root[CurrentScene].Cat._x) < 20)) and (Math.abs(_root[CurrentScene]["Bonus" + Bonus[_local6][0]]._y - _root[CurrentScene].Cat._y) < 15)) {
if (Bonus[_local6][1] == 0) {
TakenBonuses[TakenBonuses.length] = Bonus[_local6][0];
FishScore = FishScore + 1;
Format.color = 0;
FishScoreField.text = (FishScore + "/") + NumberOfFishes;
FishScoreField.setTextFormat(Format);
Format.color = 16766976 /* 0xFFD800 */;
FishScoreFieldShadow.text = (FishScore + "/") + NumberOfFishes;
FishScoreFieldShadow.setTextFormat(Format);
if (FishScore == VisibleFishes) {
var _local4 = 0;
while (_local4 < Bonus.length) {
if (_root[CurrentScene]["Bonus" + Bonus[_local4][0]]._alpha == 0) {
_root[CurrentScene]["Bonus" + Bonus[_local4][0]]._alpha = 1;
_root[CurrentScene]["Bonus" + Bonus[_local4][0]].gotoAndPlay(1);
}
_local4++;
}
}
if (FishScore == NumberOfFishes) {
if (CurrentLevel < 21) {
LevelCompleteSound.start(0, 1);
}
NextLevelIn = 80;
CurrentLevel = CurrentLevel + 1;
_root.attachMovie("LevelComplete", "CompleteText", 31000);
_root.CompleteText._x = 26;
_root.CompleteText._y = 150;
_root.CompleteText._alpha = 0;
_root[CurrentScene].Cat.stop();
}
Bonus.splice(_local6, 1);
BonusSound.start(0, 1);
_local6 = _local6 - 1;
} else if (Bonus[_local6][1] == 1) {
if (Cat[0] < 100) {
Cat[0] = Cat[0] + 25;
_root.Health.gotoAndStop(_root.Health._currentframe + 1);
TakenBonuses[TakenBonuses.length] = Bonus[_local6][0];
Bonus.splice(_local6, 1);
BonusSound.start(0, 1);
_local6 = _local6 - 1;
}
} else if (Bonus[_local6][1] == 2) {
if (Lives < 3) {
var _local4 = 0;
while (_local4 < 3) {
if (Lives == _local4) {
_root.attachMovie("Life", "Life" + _local4, 30001 + _local4);
_root["Life" + _local4]._x = 20 + (_local4 * 28);
_root["Life" + _local4]._y = 12;
_root["Life" + _local4]._xscale = 130;
_root["Life" + _local4]._yscale = 130;
break;
}
_local4++;
}
PickedUpLifes[PickedUpLifes.length] = Bonus[_local6][0];
Lives = Lives + 1;
TakenBonuses[TakenBonuses.length] = Bonus[_local6][0];
Bonus.splice(_local6, 1);
BonusSound.start(0, 1);
_local6 = _local6 - 1;
}
} else {
_root.Charge._alpha = 100;
TakenBonuses[TakenBonuses.length] = Bonus[_local6][0];
Bonus.splice(_local6, 1);
BonusSound.start(0, 1);
_local6 = _local6 - 1;
}
}
_local6++;
}
}
}
if (TakenBonuses.length > 0) {
var _local6 = 0;
while (_local6 < TakenBonuses.length) {
_root[CurrentScene]["Bonus" + TakenBonuses[_local6]]._alpha = _root[CurrentScene]["Bonus" + TakenBonuses[_local6]]._alpha - 5;
_root[CurrentScene]["Bonus" + TakenBonuses[_local6]]._xscale = _root[CurrentScene]["Bonus" + TakenBonuses[_local6]]._xscale - 5;
_root[CurrentScene]["Bonus" + TakenBonuses[_local6]]._yscale = _root[CurrentScene]["Bonus" + TakenBonuses[_local6]]._yscale - 5;
_root[CurrentScene]["Bonus" + TakenBonuses[_local6]]._x = (_root[CurrentScene]["Bonus" + TakenBonuses[_local6]]._x + _root[CurrentScene].Cat._x) / 2;
_root[CurrentScene]["Bonus" + TakenBonuses[_local6]]._y = (_root[CurrentScene]["Bonus" + TakenBonuses[_local6]]._y + _root[CurrentScene].Cat._y) / 2;
if (_root[CurrentScene]["Bonus" + TakenBonuses[_local6]]._alpha < 0) {
removeMovieClip(_root[CurrentScene]["Bonus" + TakenBonuses[_local6]]);
TakenBonuses.splice(_local6, 1);
_local6 = _local6 - 1;
}
_local6++;
}
}
if (Effects.length > 0) {
var _local6 = 0;
while (_local6 < Effects.length) {
_root[CurrentScene]["Effect" + Effects[_local6]]._alpha = _root[CurrentScene]["Effect" + Effects[_local6]]._alpha - 6;
_root[CurrentScene]["Effect" + Effects[_local6]]._xscale = _root[CurrentScene]["Effect" + Effects[_local6]]._xscale + 10;
_root[CurrentScene]["Effect" + Effects[_local6]]._yscale = _root[CurrentScene]["Effect" + Effects[_local6]]._yscale + 10;
if (_root[CurrentScene]["Effect" + Effects[_local6]]._alpha < 0) {
removeMovieClip(_root[CurrentScene]["Effect" + Effects[_local6]]);
Effects.splice(_local6, 1);
_local6 = _local6 - 1;
}
_local6++;
}
}
if (Shadows.length > 0) {
var _local6 = 0;
while (_local6 < Shadows.length) {
_root[CurrentScene]["Shadow" + Shadows[_local6]]._alpha = _root[CurrentScene]["Shadow" + Shadows[_local6]]._alpha - 6;
if (_root[CurrentScene]["Shadow" + Shadows[_local6]]._alpha < 0) {
removeMovieClip(_root[CurrentScene]["Shadow" + Shadows[_local6]]);
Shadows.splice(_local6, 1);
_local6 = _local6 - 1;
}
_local6++;
}
}
if (Limbs.length > 0) {
var _local6 = 0;
while (_local6 < Limbs.length) {
_root[CurrentScene]["Limb" + Limbs[_local6][0]]._x = _root[CurrentScene]["Limb" + Limbs[_local6][0]]._x + Limbs[_local6][1];
_root[CurrentScene]["Limb" + Limbs[_local6][0]]._y = _root[CurrentScene]["Limb" + Limbs[_local6][0]]._y + Limbs[_local6][2];
_root[CurrentScene]["Limb" + Limbs[_local6][0]]._rotation = _root[CurrentScene]["Limb" + Limbs[_local6][0]]._rotation + Limbs[_local6][3];
var _local8 = Math.round((_root[CurrentScene]["Limb" + Limbs[_local6][0]]._y - 38) / 63);
var _local9 = Math.round((_root[CurrentScene]["Limb" + Limbs[_local6][0]]._x + 17) / 59) - 1;
var _local13 = Math.abs(((_local8 * 63) + 58) - _root[CurrentScene]["Limb" + Limbs[_local6][0]]._y);
if (((((_local13 < 4) and (Blocks[_local8][_local9] > 0)) and (!((Blocks[_local8][_local9] == 2) and (_root[CurrentScene][(("GroundBlock" + _local8) + "A") + _local9]._currentframe > 1)))) and (Limbs[_local6][2] > 0)) or (_root[CurrentScene]["Limb" + Limbs[_local6][0]]._y > 400)) {
Limbs[_local6][2] = Limbs[_local6][2] * -0.8;
Limbs[_local6][1] = Limbs[_local6][1] * 0.7;
_root[CurrentScene]["Limb" + Limbs[_local6][0]]._alpha = _root[CurrentScene]["Limb" + Limbs[_local6][0]]._alpha - 5;
}
Limbs[_local6][2] = Limbs[_local6][2] + 0.5;
if (_root[CurrentScene]["Limb" + Limbs[_local6][0]]._alpha < 0) {
removeMovieClip(_root[CurrentScene]["Limb" + Limbs[_local6][0]]);
Limbs.splice(_local6, 1);
_local6 = _local6 - 1;
}
_local6++;
}
}
var _local6 = 0;
while (_local6 < 3) {
var _local4 = 0;
while (_local4 < 2) {
_root[(("Cloud" + _local6) + "A") + _local4]._x = ((_root[(("Cloud" + _local6) + "A") + _local4]._x + 1) + _local6) + (_local4 * 2);
if (_root[(("Cloud" + _local6) + "A") + _local4]._x > 580) {
_root[(("Cloud" + _local6) + "A") + _local4]._x = -30;
}
_local4++;
}
_local6++;
}
if (NextLevelIn == 1) {
if (Lives == -1) {
FishScoreField.text = "";
FishScoreFieldShadow.text = "";
HintField.text = "";
HintFieldShadow.text = "";
LevelNameField.text = "";
LevelNameFieldShadow.text = "";
for (var _local16 in this) {
if (typeof(this[_local16]) == "movieclip") {
this[_local16].swapDepths(0);
this[_local16].removeMovieClip();
}
}
gotoAndStop (4);
} else {
NextLevelIn = -1;
if (AltScene == false) {
_root.createEmptyMovieClip("AlternativeScene", 10010);
_root.AlternativeScene._x = 539;
_root.AlternativeScene._y = 0;
} else {
_root.createEmptyMovieClip("Scene", 10);
_root.Scene._x = 539;
_root.Scene._y = 0;
}
InitGame(CurrentLevel, false);
SwitchScene = true;
}
} else if (NextLevelIn > 1) {
NextLevelIn = NextLevelIn - 1;
if (_root.CompleteText._alpha < 100) {
_root.CompleteText._alpha = _root.CompleteText._alpha + 10;
}
}
if (SwitchScene == true) {
LevelNameField._x = LevelNameField._x - 10;
LevelNameFieldShadow._x = LevelNameFieldShadow._x - 10;
_root.CompleteText._alpha = _root.CompleteText._alpha - 5;
_root.CompleteText._x = _root.CompleteText._x - 10;
_root.AlternativeScene._x = _root.AlternativeScene._x - 10;
_root.Scene._x = _root.Scene._x - 10;
_local6 = 0;
while (_local6 < 3) {
var _local4 = 0;
while (_local4 < 2) {
_root[(("Cloud" + _local6) + "A") + _local4]._x = _root[(("Cloud" + _local6) + "A") + _local4]._x - 10;
if (_root[(("Cloud" + _local6) + "A") + _local4]._x > 580) {
_root[(("Cloud" + _local6) + "A") + _local4]._x = -30;
}
_local4++;
}
_local6++;
}
_local6 = 0;
while (_local6 < 5) {
(_root[("Landscape" + _local6) + "First"]._x = (_root[("Landscape" + _local6) + "First"]._x - 2) - ((5 - _local6) * 1));
(_root[("Landscape" + _local6) + "Second"]._x = (_root[("Landscape" + _local6) + "Second"]._x - 2) - ((5 - _local6) * 1));
if (_root[("Landscape" + _local6) + "First"]._x < -550) {
_root[("Landscape" + _local6) + "First"]._x = _root[("Landscape" + _local6) + "First"]._x + 1100;
}
if (_root[("Landscape" + _local6) + "Second"]._x < -550) {
_root[("Landscape" + _local6) + "Second"]._x = _root[("Landscape" + _local6) + "Second"]._x + 1100;
}
_local6++;
}
if (_root[CurrentScene]._x < 0) {
removeMovieClip(_root.CompleteText);
_root[CurrentScene].Cat.play();
if (CurrentLevel < 22) {
NextLevelIn = 0;
} else {
NextLevelIn = -1;
}
SwitchScene = false;
LevelNameField._x = 125;
LevelNameFieldShadow._x = 127;
_root[CurrentScene]._x = 0;
if (AltScene == false) {
removeMovieClip(_root.AlternativeScene);
} else {
removeMovieClip(_root.Scene);
}
}
}
if (HintAndLevelNameTimer > 0) {
if (((HintAndLevelNameTimer < 200) and (HintAndLevelNameTimer >= 175)) and (CurrentLevel < 22)) {
LevelNameField._alpha = LevelNameField._alpha - 4;
LevelNameFieldShadow._alpha = LevelNameFieldShadow._alpha - 4;
} else if (HintAndLevelNameTimer == 140) {
HintFormat.color = 16777215 /* 0xFFFFFF */;
HintField.text = LevelHint;
HintField.setTextFormat(HintFormat);
HintFormat.color = 4473924 /* 0x444444 */;
HintFieldShadow.text = LevelHint;
HintFieldShadow.setTextFormat(HintFormat);
} else if ((HintAndLevelNameTimer == 1) and (CurrentLevel < 22)) {
HintField.text = "";
HintFieldShadow.text = "";
} else if ((HintAndLevelNameTimer == 1) and (CurrentLevel == 22)) {
if (_root[CurrentScene]._alpha > 0) {
_root[CurrentScene]._alpha = _root[CurrentScene]._alpha - 0.5;
_local6 = 0;
while (_local6 < 5) {
_root[("Landscape" + _local6) + "First"]._alpha = _root[("Landscape" + _local6) + "First"]._alpha - 0.5;
_root[("Landscape" + _local6) + "Second"]._alpha = _root[("Landscape" + _local6) + "First"]._alpha - 0.5;
_local6++;
}
_local6 = 0;
while (_local6 < 3) {
var _local4 = 0;
while (_local4 < 2) {
_root[(("Cloud" + _local6) + "A") + _local4]._alpha = _root[(("Cloud" + _local6) + "A") + _local4]._alpha - 0.5;
_local4++;
}
_local6++;
}
_root.Black._alpha = _root.Black._alpha + 1;
HintAndLevelNameTimer = 2;
} else {
FishScoreField.text = "";
FishScoreFieldShadow.text = "";
HintField.text = "";
HintFieldShadow.text = "";
LevelNameField.text = "";
LevelNameFieldShadow.text = "";
for (var _local16 in this) {
if (typeof(this[_local16]) == "movieclip") {
this[_local16].swapDepths(0);
this[_local16].removeMovieClip();
}
}
GameMusic.start(0, 1);
StartingGame = false;
gotoAndStop (2);
}
}
HintAndLevelNameTimer = HintAndLevelNameTimer - 1;
}
}
function HighQualityOn() {
HighQuality = true;
this._quality = "high";
}
function HighQualityOff() {
HighQuality = false;
this._quality = "low";
}
stop();
keyListener = new Object();
Key.addListener(keyListener);
keyListener.onKeyUp = function () {
if (Key.getAscii() == 120) {
XPressed = false;
}
if (Key.getAscii() == 122) {
ZPressed = false;
}
};
keyListener.onKeyDown = function () {
if (Key.getAscii() == 120) {
XPressed = true;
}
if (Key.getAscii() == 122) {
ZPressed = true;
}
};
Instance of Symbol 62 MovieClip in Frame 3
onClipEvent (load) {
_root.InitGame(0, true);
}
onClipEvent (enterFrame) {
_root.UpdateGame();
}
Frame 4
function InitGameOverCountDown() {
CountDown = 120;
LevelMusic.stop();
GameOverSound.start(0, 1);
}
function UpdateGameOverCountDown() {
if (CountDown > 0) {
CountDown = CountDown - 1;
} else {
GameOverSound.stop();
GameMusic.start(0, 999);
gotoAndPlay (2);
}
}
stop();
Instance of Symbol 62 MovieClip in Frame 4
onClipEvent (load) {
_root.InitGameOverCountDown();
}
onClipEvent (enterFrame) {
_root.UpdateGameOverCountDown();
}
Symbol 30 MovieClip Frame 4
gotoAndPlay (1);
Symbol 31 MovieClip [Cat] Frame 40
gotoAndPlay (1);
Symbol 31 MovieClip [Cat] Frame 61
gotoAndPlay (43);
Symbol 31 MovieClip [Cat] Frame 81
gotoAndPlay (69);
Symbol 31 MovieClip [Cat] Frame 100
gotoAndPlay (88);
Symbol 31 MovieClip [Cat] Frame 117
gotoAndPlay (1);
Symbol 31 MovieClip [Cat] Frame 138
gotoAndPlay (1);
Symbol 31 MovieClip [Cat] Frame 154
gotoAndPlay (1);
Symbol 31 MovieClip [Cat] Frame 171
gotoAndPlay (155);
Symbol 31 MovieClip [Cat] Frame 190
gotoAndPlay (172);
Symbol 31 MovieClip [Cat] Frame 205
gotoAndPlay (1);
Instance of Symbol 31 MovieClip [Cat] in Symbol 33 MovieClip [HamsterWorldButton] Frame 1
onClipEvent (load) {
gotoAndPlay (172);
}
Instance of Symbol 31 MovieClip [Cat] in Symbol 33 MovieClip [HamsterWorldButton] Frame 2
onClipEvent (load) {
gotoAndPlay (191);
}
Symbol 39 MovieClip [Loading] Frame 40
gotoAndPlay (1);
Symbol 44 MovieClip [Keys] Frame 1
gotoAndStop (90);
Instance of Symbol 31 MovieClip [Cat] in Symbol 44 MovieClip [Keys] Frame 1
onClipEvent (load) {
gotoAndStop (90);
}
Instance of Symbol 31 MovieClip [Cat] in Symbol 44 MovieClip [Keys] Frame 1
onClipEvent (load) {
gotoAndStop (127);
}
Instance of Symbol 31 MovieClip [Cat] in Symbol 44 MovieClip [Keys] Frame 1
onClipEvent (load) {
gotoAndStop (45);
}
Symbol 51 Button
on (release) {
_root.HighQualityOn();
}
Symbol 53 Button
on (release) {
_root.HighQualityOff();
}
Symbol 58 Button
on (release) {
if ((_root.StartingGame == false) and (this._alpha >= 100)) {
_root.StartingGame = true;
}
}
Symbol 85 MovieClip [PurpleBunny] Frame 40
gotoAndPlay (1);
Symbol 85 MovieClip [PurpleBunny] Frame 75
gotoAndPlay (55);
Symbol 85 MovieClip [PurpleBunny] Frame 90
gotoAndPlay (1);
Symbol 85 MovieClip [PurpleBunny] Frame 125
gotoAndPlay (1);
Symbol 101 MovieClip [BlueBunny] Frame 40
gotoAndPlay (1);
Symbol 101 MovieClip [BlueBunny] Frame 75
gotoAndPlay (55);
Symbol 101 MovieClip [BlueBunny] Frame 90
gotoAndPlay (1);
Symbol 101 MovieClip [BlueBunny] Frame 125
gotoAndPlay (1);
Symbol 114 MovieClip [Fish] Frame 100
gotoAndPlay (1);
Symbol 128 MovieClip [HealthBonus] Frame 40
gotoAndPlay (1);
Symbol 134 MovieClip [LifeBonus] Frame 60
gotoAndPlay (1);
Symbol 150 MovieClip [RedBunny] Frame 40
gotoAndPlay (1);
Symbol 150 MovieClip [RedBunny] Frame 75
gotoAndPlay (55);
Symbol 150 MovieClip [RedBunny] Frame 90
gotoAndPlay (1);
Symbol 150 MovieClip [RedBunny] Frame 125
gotoAndPlay (1);
Symbol 157 MovieClip [Trapdoor] Frame 10
stop();
Symbol 157 MovieClip [Trapdoor] Frame 20
gotoAndStop (1);