Frame 1
fscommand ("allowscale", 0);
duplicateMovieClip ("fr", "frame", 10000);
Frame 4
var loadAmount = _totalframes;
if (_framesloaded == loadAmount) {
gotoAndPlay (5);
} else {
loaded = Math.round(getBytesLoaded() / 1024);
total = Math.round(getBytesTotal() / 1024);
percent = Math.round((loaded / total) * 100);
loadBar._width = (loadBarHousing._width - 4) * (percent / 100);
prevFrame();
play();
}
Frame 5
gotoAndStop (7);
Frame 15
duplicateMovieClip ("g6", "6", 1000);
duplicateMovieClip ("g10", "10", 3000);
duplicateMovieClip ("g16", "16", 5000);
Frame 16
flowerdelay = 8;
t = 0;
espeed = -7;
jumpdelay = 1;
bonusdelay = 15;
invdelay = 400;
inv = 0;
headturndelay = 50;
ynormal = 425;
yfence = 260;
caty = ynormal;
catfall = 0;
setProperty("l", _y , ynormal);
setProperty("c", _y , ynormal);
lstopjump = 0;
grav = 160;
power = -250;
itemdelay = 50;
stonedelay = 250;
energymax = 5;
energy = 5;
point = 10;
score = 0;
ckena = 0;
lkena = 0;
chframe = 1;
lhframe = 1;
e = 50;
ca = 100;
zloop.gotoAndPlay(2);
stop();
Frame 17
stopAllSounds();
var i = 0;
while (i < 100) {
removeMovieClip("e" + (50 + i));
removeMovieClip("ca" + (100 + i));
removeMovieClip("t" + i);
i++;
}
removeMovieClip("6");
removeMovieClip("10");
removeMovieClip("16");
stop();
Symbol 35 Button
on (release) {
gotoAndStop (11);
}
Symbol 36 Button
on (release) {
gotoAndPlay (15);
}
Symbol 42 MovieClip Frame 31
stop();
Symbol 67 MovieClip Frame 1
wid = getProperty("pic", _width);
duplicateMovieClip ("pic", "pic2", 2);
setProperty("pic2", _x , Number(getProperty("pic", _x)) + Number(wid));
speed = _name;
xl = _x;
pos = _x;
Symbol 67 MovieClip Frame 2
pos = pos - speed;
if (Number(pos) < Number(xl - wid)) {
pos = Number(pos) + Number(wid);
}
if (Number(xl) < Number(pos)) {
pos = pos - wid;
}
_x = pos;
Symbol 67 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 68 MovieClip Frame 1
wid = getProperty("pic", _width);
duplicateMovieClip ("pic", "pic2", 2);
setProperty("pic2", _x , Number(getProperty("pic", _x)) + Number(wid));
speed = _name;
xl = _x;
pos = _x;
Symbol 68 MovieClip Frame 2
pos = pos - speed;
if (Number(pos) < Number(xl - wid)) {
pos = Number(pos) + Number(wid);
}
if (Number(xl) < Number(pos)) {
pos = pos - wid;
}
_x = pos;
Symbol 68 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 69 MovieClip Frame 1
wid = getProperty("pic", _width);
duplicateMovieClip ("pic", "pic2", 2);
setProperty("pic2", _x , Number(getProperty("pic", _x)) + Number(wid));
speed = _name;
xl = _x;
pos = _x;
Symbol 69 MovieClip Frame 2
pos = pos - speed;
if (Number(pos) < Number(xl - wid)) {
pos = Number(pos) + Number(wid);
}
if (Number(xl) < Number(pos)) {
pos = pos - wid;
}
_x = pos;
Symbol 69 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 70 MovieClip Frame 1
gotoAndStop(1 + random(_totalframes));
Symbol 71 MovieClip Frame 1
_x = random(700);
Symbol 71 MovieClip Frame 2
xs = 2 + (random(20) / 10);
Symbol 71 MovieClip Frame 3
_x = (_x - xs);
Symbol 71 MovieClip Frame 4
if (_x < -120) {
_x = 850;
_y = (40 + random(180));
} else {
prevFrame();
play();
}
Symbol 71 MovieClip Frame 6
gotoAndPlay (2);
Symbol 74 MovieClip Frame 1
_x = 720;
xs = /:espeed;
wid = 500;
Symbol 74 MovieClip Frame 2
_x = (_x + xs);
if ((_x < 350) and (/:caty != /:yfence)) {
if ((/:catfall and ((_x - 20) < getProperty("/l", _x))) and (getProperty("/l", _x) < (_x + wid))) {
Set("/:caty", /:yfence);
Set("/:lstopjump", 1);
}
}
if (/:caty == /:yfence) {
if ((_x + wid) < getProperty("/l", _x)) {
Set("/:jump2", 2);
Set("/:caty", /:ynormal);
}
}
Symbol 74 MovieClip Frame 3
if ((-_width) < _x) {
prevFrame();
play();
}
Symbol 74 MovieClip Frame 4
d = 100 + random(100);
Symbol 74 MovieClip Frame 5
d = d - 1;
Symbol 74 MovieClip Frame 6
if (d) {
prevFrame();
play();
} else {
gotoAndPlay (1);
}
Symbol 76 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 20
stop();
Symbol 89 MovieClip Frame 1
gotoAndStop(/:chframe);
Symbol 90 MovieClip Frame 11
gotoAndPlay (1);
Symbol 92 Button
on (rollOver) {
if (!cantjump) {
Set("/:jump1", 1);
}
}
Symbol 93 MovieClip Frame 27
stop();
Symbol 94 MovieClip Frame 1
if (0 < cantjump) {
cantjump = cantjump - 1;
}
_y = /:ynormal;
Symbol 94 MovieClip Frame 2
if (/:jump1) {
_root.zjump.gotoAndPlay(2);
vy = 0.75 * /:power;
gotoAndPlay (5);
} else if (/:ckena) {
vy = /:power;
gotoAndPlay (10);
} else {
prevFrame();
play();
}
Symbol 94 MovieClip Frame 5
vy = vy + (/:grav / 10);
y = _y + (vy / 10);
_y = y;
if (/:ckena) {
vy = /:power;
gotoAndPlay (10);
}
Symbol 94 MovieClip Frame 6
if (_y < /:ynormal) {
prevFrame();
play();
} else {
cantjump = /:jumpdelay;
Set("/:jump1", 0);
gotoAndPlay (1);
}
Symbol 94 MovieClip Frame 10
vy = vy + ((2 * /:grav) / 10);
y = _y + (vy / 10);
_y = y;
if (_visible) {
_visible = 0;
} else {
_visible = 1;
}
Symbol 94 MovieClip Frame 11
if (_y < /:ynormal) {
prevFrame();
play();
} else {
_visible = 1;
Set("/:ckena", 0);
cantjump = /:jumpdelay;
Set("/:jump1", 0);
gotoAndPlay (1);
}
Symbol 101 MovieClip Frame 12
gotoAndPlay (1);
Symbol 108 MovieClip Frame 1
gotoAndStop(/:lhframe);
Symbol 109 MovieClip Frame 12
gotoAndPlay (1);
Symbol 111 Button
on (rollOver) {
if (!cantjump) {
Set("/:jump2", 1);
}
}
Symbol 112 MovieClip Frame 34
stop();
Symbol 113 MovieClip Frame 1
if (0 < cantjump) {
cantjump = cantjump - 1;
}
_y = /:caty;
Symbol 113 MovieClip Frame 2
if (/:jump2 == 1) {
_root.zjump.gotoAndPlay(2);
vy = /:power;
gotoAndPlay (5);
} else if (/:jump2 == 2) {
vy = 0;
gotoAndPlay (5);
} else if (/:lkena) {
vy = /:power;
gotoAndPlay (10);
} else {
prevFrame();
play();
}
Symbol 113 MovieClip Frame 5
vy = vy + (/:grav / 10);
y = _y + (vy / 10);
if ((0 < vy) and (vy < 30)) {
Set("/:catfall", 1);
} else {
Set("/:catfall", 0);
}
_y = y;
if (/:lkena) {
vy = /:power;
gotoAndPlay (10);
}
Symbol 113 MovieClip Frame 6
if (_y < /:caty) {
prevFrame();
play();
} else {
cantjump = /:jumpdelay;
Set("/:lstopjump", 0);
Set("/:jump2", 0);
gotoAndPlay (1);
}
Symbol 113 MovieClip Frame 10
vy = vy + ((2 * /:grav) / 10);
y = _y + (vy / 10);
_y = y;
if (_visible) {
_visible = 0;
} else {
_visible = 1;
}
Symbol 113 MovieClip Frame 11
if (_y < /:caty) {
prevFrame();
play();
} else {
_visible = 1;
Set("/:lkena", 0);
cantjump = /:jumpdelay;
Set("/:lstopjump", 0);
Set("/:jump2", 0);
gotoAndPlay (1);
}
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 2
_root.l.shi.gotoAndPlay(2);
_root.c.shi.gotoAndPlay(2);
Symbol 114 MovieClip Frame 3
Set("/:inv", /:inv - 1);
if (/:inv < 50) {
if (_root.l.shi._visible) {
_root.l.shi._visible = 0;
_root.c.shi._visible = 0;
} else {
_root.l.shi._visible = 1;
_root.c.shi._visible = 1;
}
}
Symbol 114 MovieClip Frame 4
if (0 < /:inv) {
prevFrame();
play();
} else {
_root.l.shi._visible = 1;
_root.c.shi._visible = 1;
_root.l.shi.gotoAndStop(1);
_root.c.shi.gotoAndStop(1);
}
Symbol 115 MovieClip Frame 1
if (/:cturn) {
d = /:headturndelay;
} else {
d = (3 * /:headturndelay) + random(100);
}
Symbol 115 MovieClip Frame 2
d = d - 1;
_root.c.c.h.gotoAndStop(/:chframe);
Symbol 115 MovieClip Frame 3
if (d) {
prevFrame();
play();
} else {
d = 16;
if (/:cturn) {
Set("/:cturn", 0);
Set("/:chframe", 16);
} else {
Set("/:cturn", 1);
Set("/:chframe", 1);
}
}
Symbol 115 MovieClip Frame 4
Set("/:chframe", /:chframe + 1);
_root.c.c.h.gotoAndStop(/:chframe);
d = d - 1;
Symbol 115 MovieClip Frame 5
if (d) {
prevFrame();
play();
} else {
gotoAndPlay (1);
}
Symbol 116 MovieClip Frame 1
if (/:lturn) {
d = /:headturndelay;
} else {
d = (3 * /:headturndelay) + random(100);
}
Symbol 116 MovieClip Frame 2
d = d - 1;
_root.l.l.h.gotoAndStop(/:lhframe);
Symbol 116 MovieClip Frame 3
if (d) {
prevFrame();
play();
} else {
d = 16;
if (/:lturn) {
Set("/:lturn", 0);
Set("/:lhframe", 16);
} else {
Set("/:lturn", 1);
Set("/:lhframe", 1);
}
}
Symbol 116 MovieClip Frame 4
Set("/:lhframe", /:lhframe + 1);
_root.l.l.h.gotoAndStop(/:lhframe);
d = d - 1;
Symbol 116 MovieClip Frame 5
if (d) {
prevFrame();
play();
} else {
gotoAndPlay (1);
}
Symbol 117 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 60
gotoAndPlay (1);
Symbol 119 MovieClip Frame 1
if (type == 2) {
b.b.gotoAndStop(2);
xs = /:espeed * 1.5;
} else {
xs = /:espeed;
}
if (hittest(_root.fence.z)) {
_y = 100;
} else {
_y = 200;
}
if (_name eq "box") {
gotoAndPlay (4);
}
Symbol 119 MovieClip Frame 2
_x = (_x + xs);
if ((_x < 380) and (!kena)) {
if (b.b.z.hittest(_root.l.z1)) {
kena = 1;
}
if (b.b.z.hittest(_root.l.z2)) {
kena = 1;
}
if (kena) {
_root.zbox.gotoAndPlay(2);
duplicateMovieClip ("/ring", "ca" + /:ca, /:ca);
setProperty("/ca" + /:ca, _x , _x);
setProperty("/ca" + /:ca, _y , _y);
Set("/:ca", /:ca + 1);
duplicateMovieClip ("/cake", "ca" + /:ca, /:ca);
setProperty("/ca" + /:ca, _x , _x);
setProperty("/ca" + /:ca, _y , _y);
if (type == 2) {
Set(("/ca" + /:ca) + "/:type", 2);
}
Set("/:ca", /:ca + 1);
if (150 < /:ca) {
Set("/:ca", 100);
}
Set("/:score", /:score + /:point);
gotoAndPlay (4);
}
}
Symbol 119 MovieClip Frame 3
if (-30 < _x) {
prevFrame();
play();
}
Symbol 119 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 125 MovieClip Frame 1
if (../../../:type == 2) {
gotoAndStop (10);
} else {
gotoAndStop(1 + random(4));
}
Symbol 126 MovieClip Frame 8
stop();
Symbol 127 MovieClip Frame 40
gotoAndPlay (1);
Symbol 128 MovieClip Frame 1
homeX = _x;
homeY = _y;
y = 260;
x = _x - 50;
friction = 0.7;
ratio = 0.7;
speedX = 0;
speedY = 0;
xs = /:espeed;
if (_name eq "cake") {
gotoAndPlay (4);
}
Symbol 128 MovieClip Frame 2
speedX = (speedX * friction) + ((homeX - _x) * ratio);
speedY = (speedY * friction) + ((homeY - _y) * ratio);
_x = (_x + speedX);
_y = (_y + speedY);
homeX = x - ((x - _x) / 1.5);
homeY = y - ((y - _y) / 1.5);
x = x + xs;
if ((_x < 200) and (!kena)) {
if (hittest(_root.c.z1)) {
kena = 1;
}
if (hittest(_root.c.z2)) {
kena = 1;
}
if (kena) {
Set("/:score", /:score + (2 * /:point));
if (type == 2) {
_root.zbonus.gotoAndPlay(2);
Set("/:inv", /:invdelay);
_root.shield.gotoandplay(2);
} else {
_root.ztink.gotoAndPlay(2);
}
gotoAndPlay (4);
}
}
Symbol 128 MovieClip Frame 3
if (-30 < _x) {
prevFrame();
play();
}
Symbol 128 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 130 MovieClip Frame 7
gotoAndPlay (1);
Symbol 131 MovieClip Frame 15
stop();
Symbol 132 MovieClip Frame 5
stop();
Symbol 133 MovieClip Frame 1
d = 20;
xs = 0.5 * /:espeed;
if (_name eq "ring") {
gotoAndStop (4);
}
Symbol 133 MovieClip Frame 2
_x = (_x + xs);
d = d - 1;
Symbol 133 MovieClip Frame 3
if (d) {
prevFrame();
play();
}
Symbol 133 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 136 MovieClip Frame 1
gotoAndStop(1 + random(_totalframes));
Symbol 137 MovieClip Frame 1
_x = 770;
xs = 1.2 * /:espeed;
if (_name eq "stone") {
gotoAndStop (4);
}
Symbol 137 MovieClip Frame 2
_x = (_x + xs);
if (!/:inv) {
if (_x < 380) {
if ((!lk) and s.z.hittest(_root.l.z2)) {
Set("/:energy", /:energy - 1);
_root.zkena.gotoAndPlay(2);
_root.energybar.gotoAndPlay(1);
Set("/:lkena", 1);
lk = 1;
}
if ((!ck) and s.z.hittest(_root.c.z2)) {
Set("/:energy", /:energy - 1);
_root.zkena.gotoAndPlay(2);
_root.energybar.gotoAndPlay(1);
Set("/:ckena", 1);
ck = 1;
}
}
}
Symbol 137 MovieClip Frame 3
if (-70 < _x) {
prevFrame();
play();
}
Symbol 137 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 141 MovieClip Frame 1
if (_name eq "bee") {
gotoAndStop (4);
} else {
xs = 1.4 * /:espeed;
}
Symbol 141 MovieClip Frame 2
_x = (_x + xs);
if (!/:inv) {
if (_x < 380) {
if (!lk) {
if (b.b.b.hittest(_root.l.z2) or b.b.b.hittest(_root.l.z1)) {
Set("/:energy", /:energy - 1);
_root.zkena.gotoAndPlay(2);
_root.energybar.gotoAndPlay(1);
Set("/:lkena", 1);
lk = 1;
}
}
if ((!ck) and s.z.hittest(_root.c.z2)) {
Set("/:energy", /:energy - 1);
_root.zkena.gotoAndPlay(2);
_root.energybar.gotoAndPlay(1);
Set("/:ckena", 1);
ck = 1;
}
}
}
Symbol 141 MovieClip Frame 3
if (-20 < _x) {
prevFrame();
play();
}
Symbol 141 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 142 MovieClip Frame 1
d = /:stonedelay;
Symbol 142 MovieClip Frame 2
d = d - 1;
Symbol 142 MovieClip Frame 3
if (d) {
prevFrame();
play();
} else {
if (50 < random(100)) {
target = "stone";
} else {
target = "bee";
}
duplicateMovieClip ("/" + target, "e" + /:e, /:e);
Set("/:e", /:e + 1);
if (80 < /:e) {
Set("/:e", 50);
}
if (100 < /:stonedelay) {
Set("/:stonedelay", /:stonedelay - 2);
}
gotoAndPlay (1);
}
Symbol 143 MovieClip Frame 1
d = /:itemdelay;
Symbol 143 MovieClip Frame 2
d = d - 1;
Symbol 143 MovieClip Frame 3
if (d) {
prevFrame();
play();
} else {
target = "box";
duplicateMovieClip ("/" + target, "e" + /:e, /:e);
setProperty("/e" + /:e, _x , 740);
if (/:bonusdelay < bonu) {
bonu = -random(5);
Set(("/e" + /:e) + "/:type", 2);
}
Set("/:e", /:e + 1);
if (80 < /:e) {
Set("/:e", 50);
}
bonu = bonu + 1;
}
Symbol 144 MovieClip Frame 1
gotoAndStop(1 + random(_totalframes));
Symbol 145 MovieClip Frame 1
xs = 8;
setProperty("f", _y , random(10));
sc = getProperty("f", _xscale);
if (50 < random(100)) {
setProperty("f", _xscale , -sc);
}
_rotation = random(20);
if (4 < length(_name)) {
gotoAndPlay (4);
}
Symbol 145 MovieClip Frame 2
_x = (_x - xs);
Symbol 145 MovieClip Frame 3
if ((-_width) < _x) {
prevFrame();
play();
}
Symbol 145 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 146 MovieClip Frame 1
xs = 12;
setProperty("f", _y , random(15));
sc = getProperty("f", _xscale);
if (50 < random(100)) {
setProperty("f", _xscale , -sc);
}
_rotation = random(20);
if (4 < length(_name)) {
gotoAndPlay (4);
}
Symbol 146 MovieClip Frame 2
_x = (_x - xs);
Symbol 146 MovieClip Frame 3
if ((-_width) < _x) {
prevFrame();
play();
}
Symbol 146 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 147 MovieClip Frame 1
gotoAndStop(1 + random(_totalframes));
Symbol 148 MovieClip Frame 1
xs = 18;
setProperty("f", _y , random(20));
sc = getProperty("f", _xscale);
if (50 < random(100)) {
setProperty("f", _xscale , -sc);
}
_rotation = random(20);
if (4 < length(_name)) {
gotoAndPlay (4);
}
Symbol 148 MovieClip Frame 2
_x = (_x - xs);
Symbol 148 MovieClip Frame 3
if ((-_width) < _x) {
prevFrame();
play();
}
Symbol 148 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 149 MovieClip Frame 1
d = /:flowerdelay + random(4);
Symbol 149 MovieClip Frame 2
d = d - 1;
Symbol 149 MovieClip Frame 3
if (0 < d) {
prevFrame();
play();
} else {
ran = 1 + random(3);
duplicateMovieClip ("/flower" + ran, "t" + /:t, (ran * 2000) + /:t);
Set("/:t", /:t + 1);
if (80 < /:t) {
Set("/:t", 0);
}
gotoAndPlay (1);
}
Symbol 152 MovieClip Frame 1
if (0 < /:energy) {
gotoAndStop((/:energymax + 2) - /:energy);
} else {
gotoAndPlay(/:energymax + 2);
}
Symbol 152 MovieClip Frame 16
tellTarget ("/") {
gotoAndPlay ("end");
};
Symbol 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 5
stop();
Symbol 156 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 5
stop();
Symbol 158 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 5
stop();
Symbol 160 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 5
stop();
Symbol 162 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 5
stop();
Symbol 164 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 5
stop();