Frame 1
function SetMouse() {
cheese._x = random(500) + 25;
cheese._y = random(350) + 25;
mx = mouse._x;
my = mouse._y;
cx = cheese._x;
cy = cheese._y;
dy = my - cy;
dx = mx - cx;
while ((Math.abs(dx) < 150) and (Math.abs(dy) < 150)) {
cheese._x = random(500) + 25;
cheese._y = random(350) + 25;
mx = mouse._x;
my = mouse._y;
cx = cheese._x;
cy = cheese._y;
dy = my - cy;
dx = mx - cx;
}
d = dy / dx;
angle = (Math.atan(d) / 3.14) * 180;
angle = angle + 90;
if (0 < dy) {
trace("dy<0");
trace("___________");
}
if (0 < dx) {
trace("dx<0");
angle = angle - 180;
trace("___________");
}
mouse._rotation = 0;
mouse._rotation = angle;
mousemovex = dx / 20;
mousemovey = dy / 20;
if ((Math.abs(mousemovex) < 5) and (Math.abs(mousemovey) < 5)) {
mousemovex = mousemovex * 2;
mousemovey = mousemovey * 2;
}
trace(mousemovex);
trace(mousemovey);
timecounter = 0;
}
function MoveMouse() {
timecounter++;
if (50 < timecounter) {
trace("CheeseRealocation");
SetMouse();
} else if (mouse.imhit == 0) {
mouse._x = mouse._x - mousemovex;
mouse._y = mouse._y - mousemovey;
if (mouse.hitTest(cheese)) {
MakeScore(100, mouse._x + 50, mouse._y + 50);
SetMouse();
}
}
}
function MoveHand() {
hand._x = _xmouse;
hand._y = _ymouse;
}
function CheckHit() {
if (hand.hit.hitTest(mouse.hit)) {
mouse.gotoAndPlay("hit");
return(1);
}
return(0);
}
function MakeScore(kind, thex, they) {
trace("scoring");
numcounter++;
if (numcounter == 1000) {
numcounter = 900;
}
if (kind == 100) {
score = score - 100;
duplicateMovieClip ("org100", ("score" + numcounter) + 1000, numcounter + 1000);
eval (("score" + numcounter) + 1000)._x = thex;
eval (("score" + numcounter) + 1000)._y = they;
eval (("score" + numcounter) + 1000).gotoAndPlay(2);
} else if (kind == 50) {
score = score + 50;
duplicateMovieClip ("org50", ("score" + numcounter) + 1000, numcounter + 1000);
eval (("score" + numcounter) + 1000)._x = thex;
eval (("score" + numcounter) + 1000)._y = they;
eval (("score" + numcounter) + 1000).gotoAndPlay(2);
} else if (kind == 0) {
duplicateMovieClip ("orgmark", "score" + numcounter, numcounter);
eval ("score" + numcounter)._x = thex;
eval ("score" + numcounter)._y = they;
eval ("score" + numcounter).gotoAndPlay(2);
}
}
loaded = 0;
score = 0;
numcounter = 900;
duplicateMovieClip ("orgmouse", "mouse", 1050);
mouse._x = 277;
mouse._y = 187;
duplicateMovieClip ("orghand", "hand", 1100);
hand._x = 270;
hand._y = 252;
play();
Instance of Symbol 23 MovieClip "orgmouse" in Frame 1
onClipEvent (enterFrame) {
_parent.MoveMouse();
}
Instance of Symbol 36 MovieClip "orghand" in Frame 1
onClipEvent (enterFrame) {
_parent.MoveHand();
}
onClipEvent (mouseDown) {
this.gotoAndPlay("hit");
}
Frame 2
Frame 3
ifFrameLoaded (20) {
loaded = 1;
}
play();
Frame 13
if (loaded == 0) {
gotoAndPlay (3);
} else {
play();
}
Frame 15
stop();
Frame 18
tryleft = 5;
hand.removeMovieClip();
mouse.removeMovieClip();
gotoAndPlay (19);
Frame 19
stop();
Frame 20
function Continue() {
gotoAndPlay (25);
}
function End() {
gotoAndPlay (37);
}
function Init2() {
gotoAndPlay (26);
}
function StopAll() {
tryleft--;
glove.stop();
pot.stop();
mouselight.stop();
mouseswitch.stop();
mouselemp.stop();
bath.stop();
spring.stop();
squash.stop();
}
function Init() {
x._visible = 0;
restart.gotoAndStop(1);
gameover = 0;
cat._xscale = 100;
cat._yscale = 100;
cat._x = 539.9;
cat._y = 255.7;
cat.myx = cat._x;
cat.scounter = 0;
cat.catattack = 0;
splash._visible = 0;
state = 0;
lemp.gotoAndStop(1);
pot.gotoAndStop(1);
glove.gotoAndStop(1);
bath.gotoAndStop(1);
spring.gotoAndStop(1);
mouselight.gotoAndStop(1);
mouseswitch.gotoAndStop(1);
firepot.gotoAndStop(1);
mouselemp.gotoAndStop(1);
cat.gotoAndPlay(1);
}
function DoSquash() {
if ((187 < cat._x) and (cat._x < 227)) {
mouseswitch.play();
} else {
cat.gotoAndPlay("attack");
}
}
function Electric() {
mouselemp.play();
}
function CheckBath() {
if ((430 < cat._x) and (cat._x < 470)) {
cat.gotoAndPlay("bath");
bath.gotoAndPlay("splash");
} else {
cat.gotoAndPlay("pissed");
}
}
function CheckGlove() {
trace(cat.scounter);
if ((5 < cat.scounter) and (cat.scounter < 11)) {
sfx.gotoAndPlay("punch");
cat._y = 70;
cat.gotoAndPlay("punch");
}
}
function MoveMe(byhowmuch) {
cat._x = cat._x + byhowmuch;
}
function MoveMeY(byhowmuch2) {
cat._y = cat._y + byhowmuch2;
}
function CheckSpring() {
if (level == 1) {
trace(cat._x);
if ((cat._x < 410) and (365 < cat._x)) {
cat.gotoAndPlay("spring");
} else {
cat.gotoAndPlay("attack");
}
}
}
cat.yspeed2 = 10;
cat.yspeed = 50;
level = 1;
Init();
stop();
Frame 25
function Continue() {
gotoAndPlay (28);
}
function Init2() {
gotoAndPlay (27);
}
function End() {
gotoAndPlay (37);
}
function StopAll() {
tryleft--;
hose.stop();
hive.stop();
stamfall.stop();
birdfood.stop();
axe.stop();
}
function Init() {
restart.gotoAndStop(1);
gameover = 0;
dostam = 0;
gohose = 0;
cat._xscale = 130;
cat._yscale = 130;
cat._x = 560.8;
cat._y = 152.6;
bone.gotoAndStop(1);
cat.catattack = 0;
splash._visible = 0;
state = 0;
thetrap.gotoAndStop(1);
birdfood.gotoAndStop(1);
dog.gotoAndStop(1);
dog._x = -78.8;
dog._y = 282.2;
dobird = 0;
axe.gotoAndStop(1);
hive.gotoAndStop(1);
hose.gotoAndStop(1);
if (swapdone == 1) {
cat.swapDepths(stamfall);
swapdoe = 0;
}
cat.gotoAndPlay(1);
}
function CheckTree() {
trace(cat._x);
if ((275 < cat._x) and (cat._x < 305)) {
trace("tree");
cat.gotoAndStop("thestem");
trace("ppp");
} else {
cat.gotoAndPlay("attack");
}
}
function CheckBirds() {
trace(cat._x);
if ((90 < cat._x) and (cat._x < 110)) {
dobird = 1;
birdfood.gotoAndPlay("active");
cat.gotoAndPlay("birds");
} else {
cat.gotoAndPlay("attack");
}
}
function CheckHose() {
trace(cat._x);
if ((cat._x < 387) and (367 < cat._x)) {
gohose = 1;
} else {
cat.gotoAndPlay("attack");
}
}
function CheckHive() {
trace(cat._x);
if ((cat._x < 180) and (140 < cat._x)) {
hive.gotoAndPlay("fall");
} else {
cat.gotoAndPlay("attack");
}
}
function MoveMe(byhowmuch) {
cat._x = cat._x + byhowmuch;
}
function MoveMeY(byhowmuch2) {
cat._y = cat._y + byhowmuch2;
}
level = 2;
swapdone = 0;
Init();
stop();
Frame 26
trace("beenhere");
gotoAndPlay (20);
Frame 27
trace("beenhere");
gotoAndPlay (25);
Frame 28
stop();
Frame 37
stop();
Symbol 23 MovieClip Frame 1
imhit = 0;
stop();
Symbol 23 MovieClip Frame 5
imhit = 1;
play();
Symbol 23 MovieClip Frame 15
gotoAndStop (1);
Symbol 36 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 5
ihit = _parent.CheckHit();
if (ihit == 0) {
_parent.sounds.gotoAndPlay("miss");
_parent.MakeScore(0, this._x + 33, this._y - 17);
} else {
_parent.sounds.gotoAndPlay("hit");
_parent.MakeScore(50, this._x + 50, this._y + 50);
}
play();
Symbol 36 MovieClip Frame 10
if (ihit == 0) {
gotoAndStop (1);
}
Symbol 38 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 2
this._alpha = this._alpha - 5;
this._y = this._y - 5;
play();
Symbol 38 MovieClip Frame 3
this._alpha = this._alpha - 5;
this._y = this._y - 5;
Symbol 38 MovieClip Frame 4
this._alpha = this._alpha - 5;
this._y = this._y - 5;
Symbol 38 MovieClip Frame 5
this._alpha = this._alpha - 5;
this._y = this._y - 5;
Symbol 38 MovieClip Frame 6
this._alpha = this._alpha - 5;
this._y = this._y - 5;
Symbol 38 MovieClip Frame 7
this._alpha = this._alpha - 5;
this._y = this._y - 5;
Symbol 38 MovieClip Frame 8
this._alpha = this._alpha - 5;
this._y = this._y - 5;
Symbol 38 MovieClip Frame 9
this._alpha = this._alpha - 5;
this._y = this._y - 5;
Symbol 38 MovieClip Frame 10
this._alpha = this._alpha - 5;
this._y = this._y - 5;
Symbol 38 MovieClip Frame 11
this._alpha = this._alpha - 5;
this._y = this._y - 5;
Symbol 38 MovieClip Frame 12
this.removeMovieClip();
Symbol 40 MovieClip Frame 1
stop();
Symbol 40 MovieClip Frame 2
this._alpha = this._alpha - 5;
this._y = this._y - 5;
play();
Symbol 40 MovieClip Frame 3
this._alpha = this._alpha - 5;
this._y = this._y - 5;
Symbol 40 MovieClip Frame 4
this._alpha = this._alpha - 5;
this._y = this._y - 5;
Symbol 40 MovieClip Frame 5
this._alpha = this._alpha - 5;
this._y = this._y - 5;
Symbol 40 MovieClip Frame 6
this._alpha = this._alpha - 5;
this._y = this._y - 5;
Symbol 40 MovieClip Frame 7
this._alpha = this._alpha - 5;
this._y = this._y - 5;
Symbol 40 MovieClip Frame 8
this._alpha = this._alpha - 5;
this._y = this._y - 5;
Symbol 40 MovieClip Frame 9
this._alpha = this._alpha - 5;
this._y = this._y - 5;
Symbol 40 MovieClip Frame 10
this._alpha = this._alpha - 5;
this._y = this._y - 5;
Symbol 40 MovieClip Frame 11
this._alpha = this._alpha - 5;
this._y = this._y - 5;
Symbol 40 MovieClip Frame 12
this.removeMovieClip();
Symbol 42 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 2
this._alpha = this._alpha - 3;
play();
Symbol 42 MovieClip Frame 3
this._alpha = this._alpha - 3;
Symbol 42 MovieClip Frame 4
this._alpha = this._alpha - 3;
Symbol 42 MovieClip Frame 5
this._alpha = this._alpha - 3;
Symbol 42 MovieClip Frame 6
this._alpha = this._alpha - 3;
Symbol 42 MovieClip Frame 7
this._alpha = this._alpha - 3;
Symbol 42 MovieClip Frame 8
this._alpha = this._alpha - 3;
Symbol 42 MovieClip Frame 9
this._alpha = this._alpha - 3;
Symbol 42 MovieClip Frame 10
this._alpha = this._alpha - 3;
Symbol 42 MovieClip Frame 11
this._alpha = this._alpha - 3;
Symbol 42 MovieClip Frame 12
this._alpha = this._alpha - 3;
Symbol 42 MovieClip Frame 13
this._alpha = this._alpha - 3;
Symbol 42 MovieClip Frame 14
this._alpha = this._alpha - 3;
Symbol 42 MovieClip Frame 15
this._alpha = this._alpha - 3;
Symbol 42 MovieClip Frame 16
this.removeMovieClip();
Symbol 44 Button
on (release, keyPress "f") {
SetMouse();
}
on (release, keyPress "s") {
play();
}
on (release, keyPress "1") {
tryleft = 5;
hand.removeMovieClip();
mouse.removeMovieClip();
gotoAndPlay (20);
}
on (release, keyPress "2") {
tryleft = 5;
hand.removeMovieClip();
mouse.removeMovieClip();
gotoAndPlay (25);
}
Symbol 60 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 6
gotoAndStop (1);
Symbol 60 MovieClip Frame 11
gotoAndStop (1);
Symbol 71 Button
on (release) {
play();
}
Symbol 87 Button
on (release) {
getURL ("http://www.sicamtec.co.il", "_blank");
}
Symbol 128 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 2
stop();
Symbol 138 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 4
_parent.lemp.play();
Symbol 138 MovieClip Frame 29
stop();
Symbol 148 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 5
_parent.cat.gotoAndStop("bath");
_parent.squash.play();
_parent.lightswitch.nextFrame();
Symbol 148 MovieClip Frame 6
stop();
Symbol 152 MovieClip Frame 1
stop();
Symbol 152 MovieClip Frame 9
if (_parent.cat.catattack == 0) {
_parent.sfx.gotoAndPlay("electric");
_parent.cat._x = 349.2;
_parent.cat._y = 136.4;
_parent.cat.gotoAndPlay("electric");
_parent.bath.gotoAndPlay("empty");
}
play();
Symbol 152 MovieClip Frame 13
stop();
Symbol 162 Button
on (release) {
if (state == 3) {
sfx.gotoAndPlay("falldown");
state++;
cat.gotoAndPlay("godown");
} else {
cat.gotoAndPlay("attack");
}
}
Symbol 165 Button
on (release) {
if (spring._currentFrame == 1) {
state++;
spring.gotoAndStop(2);
CheckSpring();
}
}
Symbol 167 Button
on (release) {
if (state == 2) {
state++;
glove.gotoAndPlay(2);
}
}
Symbol 170 Button
on (release) {
if (state == 1) {
state++;
mouselight.play();
} else {
cat.gotoAndPlay("attack");
}
}
Symbol 186 MovieClip Frame 1
sss = 15;
ss2 = -40;
stop();
Symbol 186 MovieClip Frame 2
_parent.sfx.gotoAndPlay("machine");
Instance of Symbol 180 MovieClip "cat" in Symbol 186 MovieClip Frame 2
onClipEvent (mouseDown) {
if (this.hitTest(_parent.aim)) {
_parent.soundclip.gotoAndPlay("ahh");
}
}
Symbol 186 MovieClip Frame 17
_parent.closer.play();
Symbol 186 MovieClip Frame 24
stop();
Symbol 187 Button
on (release) {
if (state == 5) {
x._visible = 0;
DoSquash();
} else {
cat.gotoAndPlay("attack");
}
}
Symbol 188 Button
on (release) {
if (state == 4) {
state++;
x._visible = 100;
Electric();
} else {
cat.gotoAndPlay("attack");
}
}
Symbol 191 MovieClip Frame 1
stop();
Symbol 191 MovieClip Frame 2
_parent.sfx.gotoAndPlay("spring");
stop();
Symbol 221 MovieClip Frame 1
bcounter = 0;
stop();
Symbol 221 MovieClip Frame 10
_parent.sfx.gotoAndPlay("splash");
play();
Symbol 221 MovieClip Frame 13
incounter = 0;
gotoAndPlay (20);
Symbol 221 MovieClip Frame 20
incounter++;
play();
Symbol 221 MovieClip Frame 21
if (incounter < 45) {
prevFrame();
} else {
_parent.cat.gotoAndPlay("attack");
gotoAndStop (36);
}
Symbol 221 MovieClip Frame 27
bcounter++;
play();
Symbol 221 MovieClip Frame 28
if (bcounter < 45) {
prevFrame();
} else {
_parent.cat.gotoAndPlay("boilout");
gotoAndStop (1);
}
Symbol 221 MovieClip Frame 36
stop();
Symbol 228 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 2
stop();
Symbol 233 MovieClip Frame 1
bcounter = 0;
stop();
Symbol 233 MovieClip Frame 10
_parent.sfx.gotoAndPlay("splash");
play();
Symbol 233 MovieClip Frame 13
incounter = 0;
gotoAndPlay (20);
Symbol 233 MovieClip Frame 20
incounter++;
play();
Symbol 233 MovieClip Frame 21
if (incounter < 45) {
prevFrame();
} else {
gotoAndStop (35);
_parent.cat.gotoAndPlay("attack");
}
Symbol 233 MovieClip Frame 27
bcounter++;
play();
Symbol 233 MovieClip Frame 28
if (bcounter < 45) {
prevFrame();
} else {
_parent.sfx.gotoAndPlay("scream");
_parent.cat.gotoAndPlay("boilout");
gotoAndStop (1);
}
Symbol 233 MovieClip Frame 35
stop();
Symbol 234 MovieClip Frame 1
stop();
Symbol 234 MovieClip Frame 2
play();
Symbol 234 MovieClip Frame 3
_parent.CheckGlove();
play();
Symbol 234 MovieClip Frame 5
gotoAndStop (1);
Symbol 275 MovieClip Frame 1
myx = myx - 3;
_parent.MoveMe(-3);
play();
Instance of Symbol 180 MovieClip "cat" in Symbol 275 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_parent.aim)) {
_parent.soundclip.gotoAndPlay("ahh");
}
}
Symbol 275 MovieClip Frame 2
if (_parent.level == 1) {
if (this._x < 360) {
gotoAndPlay (108);
} else {
prevFrame();
}
} else if ((_parent.level == 2) and (_parent.state == 0)) {
if (this._x < 360) {
gotoAndPlay (108);
} else {
prevFrame();
}
} else if ((_parent.level == 2) and (_parent.state == 1)) {
if (this._x < 145) {
gotoAndPlay (108);
} else {
prevFrame();
}
}
Symbol 275 MovieClip Frame 10
stop();
Symbol 275 MovieClip Frame 19
scounter++;
_parent.MoveMe(-24);
_parent.MoveMeY(-yspeed);
yspeed = yspeed - 7.5;
play();
Instance of Symbol 180 MovieClip "cat" in Symbol 275 MovieClip Frame 19
onClipEvent (mouseDown) {
if (this.hitTest(_parent.aim)) {
_parent.soundclip.gotoAndPlay("ahh");
}
}
Symbol 275 MovieClip Frame 20
if (scounter < 13) {
prevFrame();
} else {
_parent.pot.gotoAndPlay("splash");
gotoAndStop (24);
}
Symbol 275 MovieClip Frame 24
scounter = 0;
yspeed = 30;
stop();
Symbol 275 MovieClip Frame 29
scounter++;
_parent.MoveMeY(-yspeed);
yspeed = yspeed - 5;
play();
Symbol 275 MovieClip Frame 30
if (scounter < 13) {
prevFrame();
} else {
gotoAndPlay (108);
}
Symbol 275 MovieClip Frame 34
_parent.MoveMe(15);
play();
Symbol 275 MovieClip Frame 35
if (500 < cat._x) {
gotoAndPlay (108);
} else {
prevFrame();
}
Symbol 275 MovieClip Frame 44
_parent.MoveMeY(yspeed2);
yspeed2 = yspeed2 + 2;
play();
Symbol 275 MovieClip Frame 45
if (this._y < 210) {
prevFrame();
} else {
_parent.CheckBath();
stop();
}
Symbol 275 MovieClip Frame 54
play();
Symbol 275 MovieClip Frame 73
this._y = 255;
play();
Instance of Symbol 180 MovieClip "cat" in Symbol 275 MovieClip Frame 73
onClipEvent (mouseDown) {
if (this.hitTest(_parent.aim)) {
_parent.soundclip.gotoAndPlay("ahh");
}
}
Symbol 275 MovieClip Frame 74
_parent.MoveMe(-3);
play();
Symbol 275 MovieClip Frame 75
if (_parent.cat._x < 187) {
gotoAndPlay (108);
} else {
prevFrame();
}
Symbol 275 MovieClip Frame 87
stop();
Symbol 275 MovieClip Frame 97
play();
Instance of Symbol 180 MovieClip "cat" in Symbol 275 MovieClip Frame 97
onClipEvent (mouseDown) {
if (this.hitTest(_parent.aim)) {
_parent.soundclip.gotoAndPlay("ahh");
}
}
Symbol 275 MovieClip Frame 102
gotoAndPlay (108);
Symbol 275 MovieClip Frame 108
_parent.sfx.gotoAndPlay("attack");
_parent.StopAll();
catattack = 1;
xshift = (250 - _parent.cat._x) / 3;
yshift = (175 - _parent.cat._y) / 3;
acounter = 0;
play();
Symbol 275 MovieClip Frame 109
acounter++;
_parent.MoveMe(xshift);
_parent.MoveMe2(yshift);
this._xscale = this._xscale + 170;
this._yscale = this._yscale + 170;
play();
Symbol 275 MovieClip Frame 110
if (acounter < 3) {
prevFrame();
} else {
play();
}
Symbol 275 MovieClip Frame 111
_parent.restart.play();
stop();
Symbol 287 MovieClip Frame 1
stop();
Symbol 287 MovieClip Frame 6
if (_parent.cat.catattack == 0) {
_parent.sfx.gotoAndPlay("fire");
_parent.firepot.gotoAndStop(2);
_parent.pot.gotoAndPlay("boil");
}
Symbol 287 MovieClip Frame 31
stop();
Symbol 292 Button
on (release, keyPress "<Space>") {
_parent.Continue();
}
Symbol 293 MovieClip Frame 1
stop();
Symbol 293 MovieClip Frame 11
stop();
Symbol 296 Button
on (release, keyPress "<Space>") {
if (0 >= _parent.tryleft) {
_parent.End();
} else {
_parent.Init2();
}
}
Symbol 297 MovieClip Frame 1
stop();
Symbol 297 MovieClip Frame 2
stop();
Symbol 305 MovieClip Frame 1
stop();
Symbol 305 MovieClip Frame 12
gotoAndStop (1);
Symbol 305 MovieClip Frame 22
gotoAndStop (1);
Symbol 305 MovieClip Frame 32
gotoAndStop (1);
Symbol 305 MovieClip Frame 42
gotoAndStop (1);
Symbol 305 MovieClip Frame 52
gotoAndStop (1);
Symbol 305 MovieClip Frame 62
gotoAndStop (1);
Symbol 305 MovieClip Frame 72
gotoAndStop (1);
Symbol 305 MovieClip Frame 82
gotoAndStop (1);
Symbol 305 MovieClip Frame 92
gotoAndStop (1);
Symbol 307 Button
on (release) {
state++;
if (state == 3) {
stamfall.play();
axe.gotoAndPlay("cut");
} else {
cat.gotoAndPlay("attack");
}
}
Symbol 309 Button
on (release) {
state++;
CheckHive();
}
Symbol 313 Button
on (release) {
if (hose._currentFrame == 1) {
state++;
hose.gotoAndPlay(2);
CheckHose();
}
}
Symbol 315 Button
on (release) {
state++;
if (state == 4) {
CheckBirds();
} else {
cat.gotoAndPlay("attack");
}
}
Symbol 317 Button
on (release) {
state++;
if (state == 6) {
if ((365 < cat._x) and (cat._x < 410)) {
cat.gotoAndPlay("traped");
treetrap.nextFrame();
thetrap.nextFrame();
} else {
cat.gotoAndPlay("attack");
}
} else {
cat.gotoAndPlay("attack");
}
}
Symbol 319 Button
on (release) {
state++;
bone.nextFrame();
if ((state == 5) and (cat.birdcounter >= 85)) {
sfx.gotoAndPlay("dog");
cat.gotoAndPlay("run");
dog.gotoAndPlay("run");
bone.nextFrame();
} else {
cat.gotoAndPlay("attack");
}
}
Symbol 327 MovieClip Frame 1
stop();
Symbol 327 MovieClip Frame 2
stop();
Symbol 328 MovieClip Frame 1
stop();
Symbol 328 MovieClip Frame 2
stop();
Symbol 335 MovieClip Frame 1
stop();
Symbol 335 MovieClip Frame 5
_parent.sfx.gotoAndPlay("hose");
_parent.splash._visible = 100;
if (_parent.gohose == 1) {
_parent.cat.gotoAndPlay("hose");
}
Symbol 335 MovieClip Frame 19
_parent.splash._visible = 0;
_parent.cat._y = 165;
_parent.cat.gotoAndPlay("walk");
gotoAndStop (1);
Symbol 339 MovieClip Frame 1
stop();
Symbol 339 MovieClip Frame 4
_parent.sfx.gotoAndPlay("tree");
play();
Symbol 339 MovieClip Frame 15
stop();
Symbol 390 MovieClip Frame 1
myx = myx - 3;
_parent.MoveMe(-3);
play();
Instance of Symbol 180 MovieClip in Symbol 390 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_parent.aim)) {
_parent.soundclip.gotoAndPlay("ahh");
}
}
Symbol 390 MovieClip Frame 2
if (_parent.level == 1) {
if (this._x < 360) {
gotoAndPlay (162);
} else {
prevFrame();
}
} else if ((_parent.level == 2) and (_parent.state == 0)) {
if (this._x < 360) {
gotoAndPlay (162);
} else {
prevFrame();
}
} else if ((_parent.level == 2) and (_parent.state == 1)) {
if (this._x < 120) {
gotoAndPlay (162);
} else {
prevFrame();
}
} else if ((_parent.level == 2) and (_parent.state == 2)) {
if (this._x < 120) {
gotoAndPlay (162);
} else {
prevFrame();
}
} else if ((_parent.level == 2) and (_parent.state == 3)) {
if (this._x < 80) {
gotoAndPlay (162);
} else {
prevFrame();
}
} else if ((_parent.level == 2) and (_parent.state == 4)) {
if (this._x < 80) {
gotoAndPlay (162);
} else {
prevFrame();
}
} else {
prevFrame();
}
Symbol 390 MovieClip Frame 10
stamcounter = 0;
play();
Symbol 390 MovieClip Frame 11
stamcounter++;
play();
Symbol 390 MovieClip Frame 12
if (30 < stamcounter) {
this.swapDepths(_parent.stamfall);
_parent.swapdone = 1;
trace("swap");
gotoAndPlay (1);
} else {
prevFrame();
}
Symbol 390 MovieClip Frame 18
stop();
Symbol 390 MovieClip Frame 21
stop();
Symbol 390 MovieClip Frame 28
hivecounter = -1;
play();
Symbol 390 MovieClip Frame 29
hivecounter++;
play();
Symbol 390 MovieClip Frame 30
if (hivecounter < 90) {
if ((hivecounter % 20) == 0) {
_parent.MoveMeY(6);
prevFrame();
} else {
prevFrame();
}
} else {
_parent.cat._x = 150;
gotoAndPlay (46);
}
Symbol 390 MovieClip Frame 38
birdcounter = -1;
play();
Symbol 390 MovieClip Frame 39
birdcounter++;
play();
Symbol 390 MovieClip Frame 40
if (birdcounter < 85) {
_parent.MoveMeY(1);
_parent.MoveMe(2.5);
prevFrame();
} else {
birdone = 1;
gotoAndPlay (1);
}
Symbol 390 MovieClip Frame 46
_parent.MoveMe(3);
play();
Instance of Symbol 180 MovieClip in Symbol 390 MovieClip Frame 46
onClipEvent (mouseDown) {
if (this.hitTest(_parent.aim)) {
_parent.soundclip.gotoAndPlay("ahh");
}
}
Symbol 390 MovieClip Frame 47
if (_parent.dostam == 1) {
gotoAndPlay (10);
} else if ((_parent.level == 2) and (_parent.state == 3)) {
if (350 < this._x) {
gotoAndPlay (162);
} else {
prevFrame();
}
} else {
prevFrame();
}
Symbol 390 MovieClip Frame 53
_parent.MoveMe(7);
play();
Symbol 390 MovieClip Frame 54
if (_parent.trapon == 1) {
gotoAndPlay (1);
} else if ((_parent.level == 2) and (_parent.state == 5)) {
if (420 < this._x) {
gotoAndPlay (162);
} else {
prevFrame();
}
} else {
prevFrame();
}
Symbol 390 MovieClip Frame 65
scounter++;
_parent.MoveMe(-24);
_parent.MoveMeY(-yspeed);
yspeed = yspeed - 7.5;
play();
Instance of Symbol 180 MovieClip "cat" in Symbol 390 MovieClip Frame 65
onClipEvent (mouseDown) {
if (this.hitTest(_parent.aim)) {
_parent.soundclip.gotoAndPlay("ahh");
}
}
Symbol 390 MovieClip Frame 66
if (scounter < 13) {
prevFrame();
} else {
_parent.pot.gotoAndPlay("splash");
gotoAndStop (70);
}
Symbol 390 MovieClip Frame 70
scounter = 0;
yspeed = 30;
stop();
Symbol 390 MovieClip Frame 78
stop();
Symbol 390 MovieClip Frame 88
scounter++;
_parent.MoveMeY(-yspeed);
yspeed = yspeed - 5;
play();
Symbol 390 MovieClip Frame 89
if (scounter < 13) {
prevFrame();
} else {
gotoAndPlay (162);
}
Symbol 390 MovieClip Frame 93
_parent.MoveMe(15);
play();
Symbol 390 MovieClip Frame 94
if (500 < cat._x) {
gotoAndPlay (1);
} else {
prevFrame();
}
Symbol 390 MovieClip Frame 103
_parent.MoveMeY(yspeed2);
yspeed2 = yspeed2 + 2;
play();
Symbol 390 MovieClip Frame 104
if (this._y < 210) {
prevFrame();
} else {
_parent.CheckBath();
stop();
}
Symbol 390 MovieClip Frame 113
play();
Symbol 390 MovieClip Frame 127
this._y = 255;
play();
Instance of Symbol 180 MovieClip "cat" in Symbol 390 MovieClip Frame 127
onClipEvent (mouseDown) {
if (this.hitTest(_parent.aim)) {
_parent.soundclip.gotoAndPlay("ahh");
}
}
Symbol 390 MovieClip Frame 128
_parent.MoveMe(-3);
play();
Symbol 390 MovieClip Frame 129
if (_parent.cat._x < 187) {
gotoAndPlay (162);
} else {
prevFrame();
}
Symbol 390 MovieClip Frame 141
stop();
Symbol 390 MovieClip Frame 151
play();
Instance of Symbol 180 MovieClip "cat" in Symbol 390 MovieClip Frame 151
onClipEvent (mouseDown) {
if (this.hitTest(_parent.aim)) {
_parent.soundclip.gotoAndPlay("ahh");
}
}
Symbol 390 MovieClip Frame 156
gotoAndPlay (162);
Symbol 390 MovieClip Frame 162
_parent.sfx.gotoAndPlay("attack");
_parent.StopAll();
if (_parent.swapdone == 0) {
trace("swapping");
_parent.swapdone = 1;
this.swapDepths(_parent.stamfall);
}
catattack = 1;
xshift = (250 - _parent.cat._x) / 3;
yshift = (175 - _parent.cat._y) / 3;
acounter = 0;
play();
Symbol 390 MovieClip Frame 163
acounter++;
_parent.MoveMe(xshift);
_parent.MoveMe2(yshift);
this._xscale = this._xscale + 170;
this._yscale = this._yscale + 170;
play();
Symbol 390 MovieClip Frame 164
if (acounter < 3) {
prevFrame();
} else {
play();
}
Symbol 390 MovieClip Frame 165
_parent.restart.play();
stop();
Symbol 413 MovieClip Frame 4
_parent._parent.sfx.gotoAndPlay("pinyata");
Symbol 414 MovieClip Frame 1
stop();
Symbol 414 MovieClip Frame 2
play();
Symbol 414 MovieClip Frame 15
_parent.trans.play();
stop();
Symbol 418 MovieClip Frame 1
stop();
Symbol 418 MovieClip Frame 5
play();
Symbol 418 MovieClip Frame 11
if (_parent.cat.catattack == 0) {
_parent.sfx.gotoAndPlay("hive");
trace("hive");
_parent.cat.gotoAndPlay("hive2");
}
Symbol 418 MovieClip Frame 12
Symbol 418 MovieClip Frame 13
stop();
Symbol 418 MovieClip Frame 30
stop();
Symbol 428 MovieClip Frame 1
stop();
Symbol 428 MovieClip Frame 10
this._x = this._x + 10;
play();
Symbol 428 MovieClip Frame 11
if (650 < this._x) {
stop();
} else {
prevFrame();
}
Symbol 432 MovieClip Frame 1
stop();
Symbol 432 MovieClip Frame 15
trace("calling tree");
_parent.sfx.gotoAndPlay("pinyata");
if ((275 < _parent.cat._x) and (_parent.cat._x < 305)) {
_parent.dostam = 1;
trace("ppp");
} else {
hole._visible = 0;
_parent.cat.gotoAndPlay("attack");
}
play();
Symbol 432 MovieClip Frame 16
stop();
Symbol 432 MovieClip Frame 35
stop();
Symbol 434 Button
on (release) {
cat.gotoAndPlay("dostem");
}
Symbol 438 MovieClip Frame 1
stop();
Symbol 438 MovieClip Frame 10
_parent.sfx.gotoAndPlay("birds");
play();
Symbol 438 MovieClip Frame 23
stop();
Symbol 441 MovieClip Frame 1
stop();
Symbol 441 MovieClip Frame 11
stop();
Symbol 448 MovieClip Frame 1
stop();
Symbol 448 MovieClip Frame 12
gotoAndStop (1);
Symbol 448 MovieClip Frame 22
gotoAndStop (1);
Symbol 448 MovieClip Frame 32
gotoAndStop (1);
Symbol 448 MovieClip Frame 42
gotoAndStop (1);
Symbol 448 MovieClip Frame 52
gotoAndStop (1);
Symbol 448 MovieClip Frame 62
gotoAndStop (1);
Symbol 448 MovieClip Frame 72
gotoAndStop (1);
Symbol 448 MovieClip Frame 82
gotoAndStop (1);
Symbol 448 MovieClip Frame 92
gotoAndStop (1);
Symbol 466 Button
on (release) {
flashfromname = "Sicamtec Games";
flashfromaddress = "sicamtec@netvision.net.il";
flashrecpientname = "";
flashrecpientaddress = "";
flashmessage2 = "";
flashmessage3 = "";
flashgame = "Cat O' Mania";
f1 = flashgame;
flashfromaddress = "info@sicamtec.co.il";
flashrecpientname = yourname;
flashrecpientaddress = email;
f2 = flashfromname;
f3 = flashfromaddress;
f4 = flashrecpientname;
f5 = flashrecpientaddress;
flashmessage2 = score;
flashmessage3 = "www.sicamtec.co.il";
f7 = flashmessage2;
f8 = flashmessage3;
getURL (((((((((((((("http://www.sicamtec.co.il/sendmail8.asp?f1=" + f1) + "&f2=") + f2) + "&f3=") + f3) + "&f4=") + f4) + "&f5=") + f5) + "&f7=") + f7) + "&f8=") + f8) + "");
}
Symbol 467 Button
on (release) {
tryleft = 5;
gotoAndPlay (20);
}