Frame 1
amountloaded = this.getBytesLoaded();
total = this.getBytesTotal();
loaded = int((amountloaded / total) * 100) add "%";
if (int((amountloaded / total) * 100) >= 100) {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
connection = "offline";
stop();
eggsneeded = "presents needed = 10";
level = "level 1";
stage = 1;
score = 0;
Instance of Symbol 205 MovieClip "sprite" in Frame 5
onClipEvent (keyUp) {
tellTarget ("/sprite") {
gotoAndStop (1);
};
Set("/:lockdown", 0);
}
onClipEvent (keyUp) {
call(/:checkegg);
if (/:right == 1) {
tellTarget ("/sprite") {
gotoAndStop (4);
};
}
if (1 < /:b) {
tellTarget ("_root.sprite.turnright.tray") {
gotoAndPlay(/:b);
};
}
}
onClipEvent (keyUp) {
if (/:left == 1) {
tellTarget ("/sprite") {
gotoAndStop (5);
};
}
}
Instance of Symbol 215 MovieClip "sprite" in Frame 5
onClipEvent (keyUp) {
if ((/:disablecontrols < 1) and (/:dazed == 0)) {
tellTarget ("/sprite") {
gotoAndStop (1);
};
Set("/:lockdown", 0);
}
if (1 < (/:d - 1)) {
tellTarget (_root.sprite.stand.tray) {
gotoAndPlay(/:d);
};
}
if (1 < (/:e - 1)) {
tellTarget (_root.sprite.stand.tray) {
gotoAndPlay(/:e);
};
}
}
onClipEvent (keyUp) {
if ((/:disablecontrols < 1) and (/:dazed == 0)) {
if ((/:right == 1) and (getProperty("/sprite", _currentframe) < 4)) {
Set("/:right", 0);
tellTarget ("/sprite") {
gotoAndStop (4);
};
if (1 < /:b) {
tellTarget (_root.sprite.turnright.tray) {
gotoAndPlay(/:b);
};
}
}
}
}
onClipEvent (keyUp) {
if ((/:disablecontrols < 1) and (/:dazed == 0)) {
if ((/:left == 1) and (getProperty("/sprite", _currentframe) < 4)) {
Set("/:left", 0);
tellTarget ("/sprite") {
gotoAndStop (5);
};
if (1 < /:a) {
tellTarget (_root.sprite.turnleft.tray) {
gotoAndPlay(/:a);
};
}
}
}
}
Frame 92
if (stage == 1) {
gotoAndPlay (97);
}
if (stage == 2) {
gotoAndPlay (273);
}
if (stage == 3) {
gotoAndPlay (449);
}
if (stage == 4) {
gotoAndPlay (625);
}
Frame 97
left = 0;
right = 0;
skid = 0;
lockdown = 0;
delay = 0;
eggdrop = 0;
safedrop = 0;
scrambled = 0;
poached = 0;
second = 1;
clock = 100;
clockdrop = 0;
disablecontrols = 0;
dazed = 0;
target = 10;
timeadd = 5;
pips = 0;
currentscore = 0;
a = 1;
b = 1;
c = 1;
d = 1;
e = 1;
Instance of Symbol 250 MovieClip "sprite" in Frame 97
onClipEvent (keyUp) {
if ((/:disablecontrols < 1) and (/:dazed == 0)) {
tellTarget ("/sprite") {
gotoAndStop (1);
};
Set("/:lockdown", 0);
}
if (1 < (/:d - 1)) {
tellTarget (_root.sprite.stand.tray) {
gotoAndPlay(/:d);
};
}
if (1 < (/:e - 1)) {
tellTarget (_root.sprite.stand.tray) {
gotoAndPlay(/:e);
};
}
}
onClipEvent (keyUp) {
if ((/:disablecontrols < 1) and (/:dazed == 0)) {
if ((/:right == 1) and (getProperty("/sprite", _currentframe) < 4)) {
Set("/:right", 0);
tellTarget ("/sprite") {
gotoAndStop (4);
};
if (1 < /:b) {
tellTarget (_root.sprite.turnright.tray) {
gotoAndPlay(/:b);
};
}
}
}
}
onClipEvent (keyUp) {
if ((/:disablecontrols < 1) and (/:dazed == 0)) {
if ((/:left == 1) and (getProperty("/sprite", _currentframe) < 4)) {
Set("/:left", 0);
tellTarget ("/sprite") {
gotoAndStop (5);
};
if (1 < /:a) {
tellTarget (_root.sprite.turnleft.tray) {
gotoAndPlay(/:a);
};
}
}
}
}
Frame 98
a = getProperty("/sprite/left/tray", _currentframe);
b = getProperty("/sprite/right/tray", _currentframe);
c = getProperty("/sprite/stand/tray", _currentframe);
d = getProperty("/sprite/turnleft/tray", _currentframe);
e = getProperty("/sprite/turnright/tray", _currentframe);
if (((((Key.isDown(Key.RIGHT) and (left == 0)) and (lockdown == 0)) and (getProperty("/sprite", _x) < 617.5)) and (getProperty("/sprite", _currentframe) < 4)) and (dazed == 0)) {
setProperty("/sprite", _x , getProperty("/sprite", _x) + 10);
right = 1;
left = 0;
if (getProperty("/sprite", _currentframe) != 2) {
tellTarget ("/sprite") {
gotoAndStop (2);
};
}
if (1 < (/:c - 1)) {
tellTarget ("/sprite/right/tray") {
gotoAndPlay(/:c);
};
}
if (1 < (/:d - 1)) {
tellTarget ("/sprite/right/tray") {
gotoAndPlay(/:d);
};
}
}
if (((((Key.isDown(Key.LEFT) and (right == 0)) and (lockdown == 0)) and (71.5 < getProperty("/sprite", _x))) and (getProperty("/sprite", _currentframe) < 4)) and (dazed == 0)) {
setProperty("/sprite", _x , getProperty("/sprite", _x) - 10);
left = 1;
right = 0;
if (getProperty("/sprite", _currentframe) != 3) {
tellTarget ("/sprite") {
gotoAndStop (3);
};
}
if (1 < (/:c - 1)) {
tellTarget ("/sprite/left/tray") {
gotoAndPlay(/:c);
};
}
if (1 < (/:e - 1)) {
tellTarget ("/sprite/left/tray") {
gotoAndPlay(/:e);
};
}
}
if (((Key.isDown(Key.LEFT) and (right == 1)) and (getProperty("/sprite", _currentframe) < 4)) and (dazed == 0)) {
tellTarget ("sprite") {
gotoAndStop (4);
};
right = 0;
if (1 < (/:b - 1)) {
tellTarget ("/sprite/turnright/tray") {
gotoAndPlay(/:b);
};
tellTarget ("/sprite/right/tray") {
gotoAndStop (1);
};
}
}
if (((Key.isDown(Key.RIGHT) and (left == 1)) and (getProperty("/sprite", _currentframe) < 4)) and (dazed == 0)) {
tellTarget ("sprite") {
gotoAndStop (5);
};
left = 0;
if (1 < (/:a - 1)) {
tellTarget ("/sprite/turnleft/tray") {
gotoAndPlay(/:a);
};
tellTarget ("/sprite/left/tray") {
gotoAndStop (1);
};
}
}
if (getProperty("/sprite/turnright", _currentframe) == 9) {
tellTarget ("/sprite/turnright") {
gotoAndStop (1);
};
tellTarget ("/sprite") {
gotoAndStop (1);
};
if (1 < (/:e - 1)) {
tellTarget ("/sprite/stand/tray") {
gotoAndPlay(/:e);
};
}
}
if (getProperty("/sprite/turnleft", _currentframe) == 9) {
tellTarget ("/sprite/turnleft") {
gotoAndStop (1);
};
tellTarget ("/sprite") {
gotoAndStop (1);
};
if (1 < (/:d - 1)) {
tellTarget ("/sprite/stand/tray") {
gotoAndPlay(/:d);
};
}
}
if ((Key.isDown(Key.LEFT) and Key.isDown(Key.RIGHT)) and (dazed == 0)) {
lockdown = 1;
tellTarget ("/sprite") {
gotoAndStop (1);
};
}
if ((delay == 24) or (delay == 0)) {
speed = int(random(10)) + 2;
direction = int(random(2)) + 1;
delay = 1;
}
delay = delay + 1;
if (direction == 1) {
setProperty("/spaceship", _x , getProperty("/spaceship", _x) + speed);
}
if (direction == 2) {
setProperty("/spaceship", _x , getProperty("/spaceship", _x) - speed);
}
if (getProperty("/spaceship", _x) < 80) {
direction = 1;
}
if (550 < getProperty("/spaceship", _x)) {
direction = 2;
}
if ((6 < speed) and (160 < getProperty("/spaceship", _y))) {
setProperty("/spaceship", _y , getProperty("/spaceship", _y) - (speed / 20));
}
if ((speed < 7) and (getProperty("/spaceship", _y) < 220)) {
setProperty("/spaceship", _y , getProperty("/spaceship", _y) + (speed / 15));
}
eggs = int(random(200));
if (((((eggs == 1) and (eggdrop == 0)) or ((eggs == 50) and (eggdrop == 0))) or ((eggs == 100) and (eggdrop == 0))) or ((eggs == 150) and (eggdrop == 0))) {
eggdrop = 1;
eggspeed = int(random(8)) + 5;
setProperty("egg", _x , getProperty("/spaceship", _x));
setProperty("egg", _y , getProperty("/spaceship", _y));
}
if (eggdrop == 1) {
setProperty("egg", _y , getProperty("/egg", _y) + eggspeed);
setProperty("egg", _rotation , getProperty("/egg", _rotation) + (eggspeed / 2));
}
if (((eggs == 2) and (safedrop == 0)) or ((eggs == 102) and (safedrop == 0))) {
safedrop = 1;
safespeed = 13;
setProperty("safe", _x , getProperty("/spaceship", _x));
setProperty("safe", _y , getProperty("/spaceship", _y));
}
if (safedrop == 1) {
setProperty("safe", _y , getProperty("safe", _y) + safespeed);
setProperty("safe", _rotation , getProperty("safe", _rotation) + (safespeed / 2));
}
if ((eggs == 3) and (clockdrop == 0)) {
clockdrop = 1;
clockspeed = 5;
setProperty("clock", _x , getProperty("/spaceship", _x));
setProperty("clock", _y , getProperty("/spaceship", _y));
}
if (clockdrop == 1) {
setProperty("clock", _y , getProperty("clock", _y) + clockspeed);
}
if (469 < getProperty("clock", _y)) {
setProperty("clock", _y , 50);
clockdrop = 0;
eggs = 4;
setProperty("clock", _x , -50);
}
if (_root.sprite.stand.hit.hitTest(getProperty("/clock", _x), getProperty("/clock", _y), true) and (clockdrop == 1)) {
clockdrop = 2;
tellTarget ("clock") {
gotoAndPlay (6);
};
}
if (_root.sprite.left.hit.hitTest(getProperty("/clock", _x), getProperty("/clock", _y), true) and (clockdrop == 1)) {
clockdrop = 2;
tellTarget ("clock") {
gotoAndPlay (6);
};
}
if (_root.sprite.right.hit.hitTest(getProperty("/clock", _x), getProperty("/clock", _y), true) and (clockdrop == 1)) {
clockdrop = 2;
tellTarget ("clock") {
gotoAndPlay (6);
};
}
if (_root.sprite.turnleft.hit.hitTest(getProperty("/clock", _x), getProperty("/clock", _y), true) and (clockdrop == 1)) {
clockdrop = 2;
tellTarget ("clock") {
gotoAndPlay (6);
};
}
if (_root.sprite.turnright.hit.hitTest(getProperty("/clock", _x), getProperty("/clock", _y), true) and (clockdrop == 1)) {
clockdrop = 2;
tellTarget ("clock") {
gotoAndPlay (6);
};
}
if (455 < getProperty("/egg", _y)) {
scrambled = scrambled + 1;
setProperty("egg", _y , 50);
eggdrop = 0;
eggs = 2;
setProperty("splat", _x , getProperty("/egg", _x));
tellTarget ("splat") {
gotoAndPlay (2);
};
setProperty("egg", _x , -50);
}
if (450 < getProperty("safe", _y)) {
setProperty("safe", _y , 50);
safedrop = 0;
eggs = 3;
setProperty("safesplat", _x , getProperty("/safe", _x));
tellTarget ("safesplat") {
gotoAndPlay (2);
};
setProperty("safe", _x , -50);
}
if (_root.sprite.right.tray.hitTest(getProperty("/egg", _x), getProperty("/egg", _y), true)) {
eggdrop = 0;
poached = poached + 1;
setProperty("egg", _x , -50);
setProperty("egg", _y , 50);
tellTarget ("/sprite/right/tray") {
gotoAndPlay (2);
};
}
if (_root.sprite.left.tray.hitTest(getProperty("/egg", _x), getProperty("/egg", _y), true)) {
eggdrop = 0;
poached = poached + 1;
setProperty("egg", _x , -50);
setProperty("egg", _y , 50);
tellTarget ("/sprite/left/tray") {
gotoAndPlay (2);
};
}
if (_root.sprite.stand.tray.hitTest(getProperty("/egg", _x), getProperty("/egg", _y), true)) {
eggdrop = 0;
poached = poached + 1;
setProperty("egg", _x , -50);
setProperty("egg", _y , 50);
tellTarget ("/sprite/stand/tray") {
gotoAndPlay (2);
};
}
if (_root.sprite.turnleft.tray.hitTest(getProperty("/egg", _x), getProperty("/egg", _y), true)) {
eggdrop = 0;
poached = poached + 1;
setProperty("egg", _x , -50);
setProperty("egg", _y , 50);
tellTarget (_root.sprite.turnleft.tray) {
gotoAndPlay (2);
};
}
if (_root.sprite.turnright.tray.hitTest(getProperty("/egg", _x), getProperty("/egg", _y), true)) {
eggdrop = 0;
poached = poached + 1;
setProperty("egg", _x , -50);
setProperty("egg", _y , 50);
tellTarget (_root.sprite.turnright.tray) {
gotoAndPlay (2);
};
}
second = second + 1;
if (second == 24) {
clock = clock - 1;
second = 1;
if (pips == 1) {
tellTarget ("/pips") {
play();
};
}
}
if (0 >= clock) {
gotoAndPlay (134);
}
if (poached >= target) {
tellTarget ("/sprite") {
gotoAndStop (6);
};
setProperty("safe", _x , -50);
setProperty("egg", _x , -50);
setProperty("clock", _x , -50);
gotoAndPlay (182);
disablecontrols = 1;
}
if (_root.sprite.stand.hit.hitTest(getProperty("/safe", _x), getProperty("/safe", _y), true)) {
dazed = 1;
disablecontrols = 1;
tellTarget (_root.sprite) {
gotoAndStop (7);
};
}
if (_root.sprite.left.hit.hitTest(getProperty("/safe", _x), getProperty("/safe", _y), true)) {
dazed = 1;
disablecontrols = 1;
tellTarget (_root.sprite) {
gotoAndStop (7);
};
}
if (_root.sprite.right.hit.hitTest(getProperty("/safe", _x), getProperty("/safe", _y), true)) {
dazed = 1;
disablecontrols = 1;
tellTarget (_root.sprite) {
gotoAndStop (7);
};
}
if (_root.sprite.turnleft.hit.hitTest(getProperty("/safe", _x), getProperty("/safe", _y), true)) {
dazed = 1;
disablecontrols = 1;
tellTarget (_root.sprite) {
gotoAndStop (7);
};
}
if (_root.sprite.turnright.hit.hitTest(getProperty("/safe", _x), getProperty("/safe", _y), true)) {
dazed = 1;
disablecontrols = 1;
tellTarget (_root.sprite) {
gotoAndStop (7);
};
}
if (clock < 10) {
pips = 1;
}
score = currentscore + (poached - scrambled);
Frame 99
gotoAndPlay (98);
Frame 134
setProperty("safe", _visible , false);
setProperty("egg", _visible , false);
setProperty("clock", _visible , false);
setProperty("safesplat", _visible , false);
Frame 179
gotoAndStop (801);
Frame 228
timecountdown = clock;
timeclick = 0;
bonus = 50;
Frame 229
timeclick = timeclick + 1;
if (timeclick >= 1) {
timeclick = 0;
timecountdown = timecountdown - 1;
score = score + 1;
}
if (0 >= timecountdown) {
timeclick = 0;
gotoAndPlay (231);
}
Frame 230
gotoAndPlay (229);
Frame 253
if (scrambled == 0) {
play();
} else {
gotoAndPlay (263);
}
Frame 254
timeclick = timeclick + 1;
if (timeclick >= 2) {
timeclick = 0;
bonus = bonus - 1;
score = score + 1;
}
if (0 >= bonus) {
gotoAndPlay (256);
}
Frame 255
gotoAndPlay (254);
Frame 272
poached = 0;
scrambled = 0;
eggsneeded = "presents needed = 12";
level = "level 2";
stage = 2;
currentscore = score;
stopAllSounds();
gotoAndPlay (5);
Frame 273
left = 0;
right = 0;
skid = 0;
lockdown = 0;
delay = 0;
eggdrop = 0;
safedrop = 0;
scrambled = 0;
poached = 0;
second = 1;
clock = 80;
clockdrop = 0;
disablecontrols = 0;
dazed = 0;
target = 12;
timeadd = 5;
pips = 0;
a = 1;
b = 1;
c = 1;
d = 1;
e = 1;
Instance of Symbol 268 MovieClip "sprite" in Frame 273
onClipEvent (keyUp) {
if ((/:disablecontrols < 1) and (/:dazed == 0)) {
tellTarget ("/sprite") {
gotoAndStop (1);
};
Set("/:lockdown", 0);
}
if (1 < (/:d - 1)) {
tellTarget (_root.sprite.stand.tray) {
gotoAndPlay(/:d);
};
}
if (1 < (/:e - 1)) {
tellTarget (_root.sprite.stand.tray) {
gotoAndPlay(/:e);
};
}
}
onClipEvent (keyUp) {
if ((/:disablecontrols < 1) and (/:dazed == 0)) {
if ((/:right == 1) and (getProperty("/sprite", _currentframe) < 4)) {
Set("/:right", 0);
tellTarget ("/sprite") {
gotoAndStop (4);
};
if (1 < /:b) {
tellTarget (_root.sprite.turnright.tray) {
gotoAndPlay(/:b);
};
}
}
}
}
onClipEvent (keyUp) {
if ((/:disablecontrols < 1) and (/:dazed == 0)) {
if ((/:left == 1) and (getProperty("/sprite", _currentframe) < 4)) {
Set("/:left", 0);
tellTarget ("/sprite") {
gotoAndStop (5);
};
if (1 < /:a) {
tellTarget (_root.sprite.turnleft.tray) {
gotoAndPlay(/:a);
};
}
}
}
}
Frame 274
a = getProperty("/sprite/left/tray", _currentframe);
b = getProperty("/sprite/right/tray", _currentframe);
c = getProperty("/sprite/stand/tray", _currentframe);
d = getProperty("/sprite/turnleft/tray", _currentframe);
e = getProperty("/sprite/turnright/tray", _currentframe);
if (((((Key.isDown(Key.RIGHT) and (left == 0)) and (lockdown == 0)) and (getProperty("/sprite", _x) < 617.5)) and (getProperty("/sprite", _currentframe) < 4)) and (dazed == 0)) {
setProperty("/sprite", _x , getProperty("/sprite", _x) + 10);
right = 1;
left = 0;
if (getProperty("/sprite", _currentframe) != 2) {
tellTarget ("/sprite") {
gotoAndStop (2);
};
}
if (1 < (/:c - 1)) {
tellTarget ("/sprite/right/tray") {
gotoAndPlay(/:c);
};
}
if (1 < (/:d - 1)) {
tellTarget ("/sprite/right/tray") {
gotoAndPlay(/:d);
};
}
}
if (((((Key.isDown(Key.LEFT) and (right == 0)) and (lockdown == 0)) and (71.5 < getProperty("/sprite", _x))) and (getProperty("/sprite", _currentframe) < 4)) and (dazed == 0)) {
setProperty("/sprite", _x , getProperty("/sprite", _x) - 10);
left = 1;
right = 0;
if (getProperty("/sprite", _currentframe) != 3) {
tellTarget ("/sprite") {
gotoAndStop (3);
};
}
if (1 < (/:c - 1)) {
tellTarget ("/sprite/left/tray") {
gotoAndPlay(/:c);
};
}
if (1 < (/:e - 1)) {
tellTarget ("/sprite/left/tray") {
gotoAndPlay(/:e);
};
}
}
if (((Key.isDown(Key.LEFT) and (right == 1)) and (getProperty("/sprite", _currentframe) < 4)) and (dazed == 0)) {
tellTarget ("sprite") {
gotoAndStop (4);
};
right = 0;
if (1 < (/:b - 1)) {
tellTarget ("/sprite/turnright/tray") {
gotoAndPlay(/:b);
};
tellTarget ("/sprite/right/tray") {
gotoAndStop (1);
};
}
}
if (((Key.isDown(Key.RIGHT) and (left == 1)) and (getProperty("/sprite", _currentframe) < 4)) and (dazed == 0)) {
tellTarget ("sprite") {
gotoAndStop (5);
};
left = 0;
if (1 < (/:a - 1)) {
tellTarget ("/sprite/turnleft/tray") {
gotoAndPlay(/:a);
};
tellTarget ("/sprite/left/tray") {
gotoAndStop (1);
};
}
}
if (getProperty("/sprite/turnright", _currentframe) == 9) {
tellTarget ("/sprite/turnright") {
gotoAndStop (1);
};
tellTarget ("/sprite") {
gotoAndStop (1);
};
if (1 < (/:e - 1)) {
tellTarget ("/sprite/stand/tray") {
gotoAndPlay(/:e);
};
}
}
if (getProperty("/sprite/turnleft", _currentframe) == 9) {
tellTarget ("/sprite/turnleft") {
gotoAndStop (1);
};
tellTarget ("/sprite") {
gotoAndStop (1);
};
if (1 < (/:d - 1)) {
tellTarget ("/sprite/stand/tray") {
gotoAndPlay(/:d);
};
}
}
if ((Key.isDown(Key.LEFT) and Key.isDown(Key.RIGHT)) and (dazed == 0)) {
lockdown = 1;
tellTarget ("/sprite") {
gotoAndStop (1);
};
}
if ((delay == 20) or (delay == 0)) {
speed = int(random(10)) + 4;
direction = int(random(2)) + 1;
delay = 1;
}
delay = delay + 1;
if (direction == 1) {
setProperty("/spaceship", _x , getProperty("/spaceship", _x) + speed);
}
if (direction == 2) {
setProperty("/spaceship", _x , getProperty("/spaceship", _x) - speed);
}
if (getProperty("/spaceship", _x) < 80) {
direction = 1;
}
if (550 < getProperty("/spaceship", _x)) {
direction = 2;
}
if ((6 < speed) and (160 < getProperty("/spaceship", _y))) {
setProperty("/spaceship", _y , getProperty("/spaceship", _y) - (speed / 20));
}
if ((speed < 7) and (getProperty("/spaceship", _y) < 200)) {
setProperty("/spaceship", _y , getProperty("/spaceship", _y) + (speed / 15));
}
eggs = int(random(200));
if (((((eggs == 1) and (eggdrop == 0)) or ((eggs == 50) and (eggdrop == 0))) or ((eggs == 100) and (eggdrop == 0))) or ((eggs == 150) and (eggdrop == 0))) {
eggdrop = 1;
eggspeed = int(random(8)) + 6;
setProperty("egg", _x , getProperty("/spaceship", _x));
setProperty("egg", _y , getProperty("/spaceship", _y));
}
if (eggdrop == 1) {
setProperty("egg", _y , getProperty("/egg", _y) + eggspeed);
setProperty("egg", _rotation , getProperty("/egg", _rotation) + (eggspeed / 2));
}
if ((((eggs == 2) and (safedrop == 0)) or ((eggs == 102) and (safedrop == 0))) or ((eggs == 150) and (safedrop == 0))) {
safedrop = 1;
safespeed = 15;
setProperty("safe", _x , getProperty("/spaceship", _x));
setProperty("safe", _y , getProperty("/spaceship", _y));
}
if (safedrop == 1) {
setProperty("safe", _y , getProperty("safe", _y) + safespeed);
setProperty("safe", _rotation , getProperty("safe", _rotation) + (safespeed / 2));
}
if ((eggs == 3) and (clockdrop == 0)) {
clockdrop = 1;
clockspeed = 7;
setProperty("clock", _x , getProperty("/spaceship", _x));
setProperty("clock", _y , getProperty("/spaceship", _y));
}
if (clockdrop == 1) {
setProperty("clock", _y , getProperty("clock", _y) + clockspeed);
}
if (469 < getProperty("clock", _y)) {
setProperty("clock", _y , 50);
clockdrop = 0;
eggs = 4;
setProperty("clock", _x , -50);
}
if (_root.sprite.stand.hit.hitTest(getProperty("/clock", _x), getProperty("/clock", _y), true) and (clockdrop == 1)) {
clockdrop = 2;
tellTarget ("clock") {
gotoAndPlay (6);
};
}
if (_root.sprite.left.hit.hitTest(getProperty("/clock", _x), getProperty("/clock", _y), true) and (clockdrop == 1)) {
clockdrop = 2;
tellTarget ("clock") {
gotoAndPlay (6);
};
}
if (_root.sprite.right.hit.hitTest(getProperty("/clock", _x), getProperty("/clock", _y), true) and (clockdrop == 1)) {
clockdrop = 2;
tellTarget ("clock") {
gotoAndPlay (6);
};
}
if (_root.sprite.turnleft.hit.hitTest(getProperty("/clock", _x), getProperty("/clock", _y), true) and (clockdrop == 1)) {
clockdrop = 2;
tellTarget ("clock") {
gotoAndPlay (6);
};
}
if (_root.sprite.turnright.hit.hitTest(getProperty("/clock", _x), getProperty("/clock", _y), true) and (clockdrop == 1)) {
clockdrop = 2;
tellTarget ("clock") {
gotoAndPlay (6);
};
}
if (455 < getProperty("/egg", _y)) {
scrambled = scrambled + 1;
setProperty("egg", _y , 50);
eggdrop = 0;
eggs = 2;
setProperty("splat", _x , getProperty("/egg", _x));
tellTarget ("splat") {
gotoAndPlay (2);
};
setProperty("egg", _x , -50);
}
if (450 < getProperty("safe", _y)) {
setProperty("safe", _y , 50);
safedrop = 0;
eggs = 3;
setProperty("safesplat", _x , getProperty("/safe", _x));
tellTarget ("safesplat") {
gotoAndPlay (2);
};
setProperty("safe", _x , -50);
}
if (_root.sprite.right.tray.hitTest(getProperty("/egg", _x), getProperty("/egg", _y), true)) {
eggdrop = 0;
poached = poached + 1;
setProperty("egg", _x , -50);
setProperty("egg", _y , 50);
tellTarget ("/sprite/right/tray") {
gotoAndPlay (2);
};
}
if (_root.sprite.left.tray.hitTest(getProperty("/egg", _x), getProperty("/egg", _y), true)) {
eggdrop = 0;
poached = poached + 1;
setProperty("egg", _x , -50);
setProperty("egg", _y , 50);
tellTarget ("/sprite/left/tray") {
gotoAndPlay (2);
};
}
if (_root.sprite.stand.tray.hitTest(getProperty("/egg", _x), getProperty("/egg", _y), true)) {
eggdrop = 0;
poached = poached + 1;
setProperty("egg", _x , -50);
setProperty("egg", _y , 50);
tellTarget ("/sprite/stand/tray") {
gotoAndPlay (2);
};
}
if (_root.sprite.turnleft.tray.hitTest(getProperty("/egg", _x), getProperty("/egg", _y), true)) {
eggdrop = 0;
poached = poached + 1;
setProperty("egg", _x , -50);
setProperty("egg", _y , 50);
tellTarget (_root.sprite.turnleft.tray) {
gotoAndPlay (2);
};
}
if (_root.sprite.turnright.tray.hitTest(getProperty("/egg", _x), getProperty("/egg", _y), true)) {
eggdrop = 0;
poached = poached + 1;
setProperty("egg", _x , -50);
setProperty("egg", _y , 50);
tellTarget (_root.sprite.turnright.tray) {
gotoAndPlay (2);
};
}
second = second + 1;
if (second == 24) {
clock = clock - 1;
second = 1;
if (pips == 1) {
tellTarget ("/pips") {
play();
};
}
}
if (0 >= clock) {
gotoAndPlay (310);
}
if (poached >= target) {
tellTarget ("/sprite") {
gotoAndStop (6);
};
setProperty("safe", _x , -50);
setProperty("egg", _x , -50);
setProperty("clock", _x , -50);
gotoAndPlay (358);
disablecontrols = 1;
}
if (_root.sprite.stand.hit.hitTest(getProperty("/safe", _x), getProperty("/safe", _y), true)) {
dazed = 1;
disablecontrols = 1;
tellTarget (_root.sprite) {
gotoAndStop (7);
};
}
if (_root.sprite.left.hit.hitTest(getProperty("/safe", _x), getProperty("/safe", _y), true)) {
dazed = 1;
disablecontrols = 1;
tellTarget (_root.sprite) {
gotoAndStop (7);
};
}
if (_root.sprite.right.hit.hitTest(getProperty("/safe", _x), getProperty("/safe", _y), true)) {
dazed = 1;
disablecontrols = 1;
tellTarget (_root.sprite) {
gotoAndStop (7);
};
}
if (_root.sprite.turnleft.hit.hitTest(getProperty("/safe", _x), getProperty("/safe", _y), true)) {
dazed = 1;
disablecontrols = 1;
tellTarget (_root.sprite) {
gotoAndStop (7);
};
}
if (_root.sprite.turnright.hit.hitTest(getProperty("/safe", _x), getProperty("/safe", _y), true)) {
dazed = 1;
disablecontrols = 1;
tellTarget (_root.sprite) {
gotoAndStop (7);
};
}
if (clock < 10) {
pips = 1;
}
score = currentscore + (poached - scrambled);
Frame 275
gotoAndPlay (274);
Frame 310
setProperty("safe", _visible , false);
setProperty("egg", _visible , false);
setProperty("clock", _visible , false);
setProperty("safesplat", _visible , false);
Frame 355
gotoAndStop (801);
Frame 404
timecountdown = clock;
timeclick = 0;
bonus = 50;
Frame 405
timeclick = timeclick + 1;
if (timeclick >= 1) {
timeclick = 0;
timecountdown = timecountdown - 1;
score = score + 1;
}
if (0 >= timecountdown) {
timeclick = 0;
gotoAndPlay (407);
}
Frame 406
gotoAndPlay (405);
Frame 429
if (scrambled == 0) {
play();
} else {
gotoAndPlay (439);
}
Frame 430
timeclick = timeclick + 1;
if (timeclick >= 2) {
timeclick = 0;
bonus = bonus - 1;
score = score + 1;
}
if (0 >= bonus) {
gotoAndPlay (432);
}
Frame 431
gotoAndPlay (430);
Frame 448
poached = 0;
scrambled = 0;
eggsneeded = "presents needed = 15";
level = "level 3";
stage = 3;
currentscore = score;
stopAllSounds();
gotoAndPlay (5);
Frame 449
left = 0;
right = 0;
skid = 0;
lockdown = 0;
delay = 0;
eggdrop = 0;
safedrop = 0;
scrambled = 0;
poached = 0;
second = 1;
clock = 75;
clockdrop = 0;
disablecontrols = 0;
dazed = 0;
target = 15;
timeadd = 5;
pips = 0;
a = 1;
b = 1;
c = 1;
d = 1;
e = 1;
Instance of Symbol 274 MovieClip "sprite" in Frame 449
onClipEvent (keyUp) {
if ((/:disablecontrols < 1) and (/:dazed == 0)) {
tellTarget ("/sprite") {
gotoAndStop (1);
};
Set("/:lockdown", 0);
}
if (1 < (/:d - 1)) {
tellTarget (_root.sprite.stand.tray) {
gotoAndPlay(/:d);
};
}
if (1 < (/:e - 1)) {
tellTarget (_root.sprite.stand.tray) {
gotoAndPlay(/:e);
};
}
}
onClipEvent (keyUp) {
if ((/:disablecontrols < 1) and (/:dazed == 0)) {
if ((/:right == 1) and (getProperty("/sprite", _currentframe) < 4)) {
Set("/:right", 0);
tellTarget ("/sprite") {
gotoAndStop (4);
};
if (1 < /:b) {
tellTarget (_root.sprite.turnright.tray) {
gotoAndPlay(/:b);
};
}
}
}
}
onClipEvent (keyUp) {
if ((/:disablecontrols < 1) and (/:dazed == 0)) {
if ((/:left == 1) and (getProperty("/sprite", _currentframe) < 4)) {
Set("/:left", 0);
tellTarget ("/sprite") {
gotoAndStop (5);
};
if (1 < /:a) {
tellTarget (_root.sprite.turnleft.tray) {
gotoAndPlay(/:a);
};
}
}
}
}
Frame 450
a = getProperty("/sprite/left/tray", _currentframe);
b = getProperty("/sprite/right/tray", _currentframe);
c = getProperty("/sprite/stand/tray", _currentframe);
d = getProperty("/sprite/turnleft/tray", _currentframe);
e = getProperty("/sprite/turnright/tray", _currentframe);
if (((((Key.isDown(Key.RIGHT) and (left == 0)) and (lockdown == 0)) and (getProperty("/sprite", _x) < 617.5)) and (getProperty("/sprite", _currentframe) < 4)) and (dazed == 0)) {
setProperty("/sprite", _x , getProperty("/sprite", _x) + 10);
right = 1;
left = 0;
if (getProperty("/sprite", _currentframe) != 2) {
tellTarget ("/sprite") {
gotoAndStop (2);
};
}
if (1 < (/:c - 1)) {
tellTarget ("/sprite/right/tray") {
gotoAndPlay(/:c);
};
}
if (1 < (/:d - 1)) {
tellTarget ("/sprite/right/tray") {
gotoAndPlay(/:d);
};
}
}
if (((((Key.isDown(Key.LEFT) and (right == 0)) and (lockdown == 0)) and (71.5 < getProperty("/sprite", _x))) and (getProperty("/sprite", _currentframe) < 4)) and (dazed == 0)) {
setProperty("/sprite", _x , getProperty("/sprite", _x) - 10);
left = 1;
right = 0;
if (getProperty("/sprite", _currentframe) != 3) {
tellTarget ("/sprite") {
gotoAndStop (3);
};
}
if (1 < (/:c - 1)) {
tellTarget ("/sprite/left/tray") {
gotoAndPlay(/:c);
};
}
if (1 < (/:e - 1)) {
tellTarget ("/sprite/left/tray") {
gotoAndPlay(/:e);
};
}
}
if (((Key.isDown(Key.LEFT) and (right == 1)) and (getProperty("/sprite", _currentframe) < 4)) and (dazed == 0)) {
tellTarget ("sprite") {
gotoAndStop (4);
};
right = 0;
if (1 < (/:b - 1)) {
tellTarget ("/sprite/turnright/tray") {
gotoAndPlay(/:b);
};
tellTarget ("/sprite/right/tray") {
gotoAndStop (1);
};
}
}
if (((Key.isDown(Key.RIGHT) and (left == 1)) and (getProperty("/sprite", _currentframe) < 4)) and (dazed == 0)) {
tellTarget ("sprite") {
gotoAndStop (5);
};
left = 0;
if (1 < (/:a - 1)) {
tellTarget ("/sprite/turnleft/tray") {
gotoAndPlay(/:a);
};
tellTarget ("/sprite/left/tray") {
gotoAndStop (1);
};
}
}
if (getProperty("/sprite/turnright", _currentframe) == 9) {
tellTarget ("/sprite/turnright") {
gotoAndStop (1);
};
tellTarget ("/sprite") {
gotoAndStop (1);
};
if (1 < (/:e - 1)) {
tellTarget ("/sprite/stand/tray") {
gotoAndPlay(/:e);
};
}
}
if (getProperty("/sprite/turnleft", _currentframe) == 9) {
tellTarget ("/sprite/turnleft") {
gotoAndStop (1);
};
tellTarget ("/sprite") {
gotoAndStop (1);
};
if (1 < (/:d - 1)) {
tellTarget ("/sprite/stand/tray") {
gotoAndPlay(/:d);
};
}
}
if ((Key.isDown(Key.LEFT) and Key.isDown(Key.RIGHT)) and (dazed == 0)) {
lockdown = 1;
tellTarget ("/sprite") {
gotoAndStop (1);
};
}
if ((delay == 24) or (delay == 0)) {
speed = int(random(10)) + 5;
direction = int(random(2)) + 1;
delay = 1;
}
delay = delay + 1;
if (direction == 1) {
setProperty("/spaceship", _x , getProperty("/spaceship", _x) + speed);
}
if (direction == 2) {
setProperty("/spaceship", _x , getProperty("/spaceship", _x) - speed);
}
if (getProperty("/spaceship", _x) < 80) {
direction = 1;
}
if (550 < getProperty("/spaceship", _x)) {
direction = 2;
}
if ((6 < speed) and (160 < getProperty("/spaceship", _y))) {
setProperty("/spaceship", _y , getProperty("/spaceship", _y) - (speed / 20));
}
if ((speed < 7) and (getProperty("/spaceship", _y) < 180)) {
setProperty("/spaceship", _y , getProperty("/spaceship", _y) + (speed / 10));
}
eggs = int(random(200));
if (((((eggs == 1) and (eggdrop == 0)) or ((eggs == 50) and (eggdrop == 0))) or ((eggs == 100) and (eggdrop == 0))) or ((eggs == 150) and (eggdrop == 0))) {
eggdrop = 1;
eggspeed = int(random(8)) + 7;
setProperty("egg", _x , getProperty("/spaceship", _x));
setProperty("egg", _y , getProperty("/spaceship", _y));
}
if (eggdrop == 1) {
setProperty("egg", _y , getProperty("/egg", _y) + eggspeed);
setProperty("egg", _rotation , getProperty("/egg", _rotation) + (eggspeed / 2));
}
if (((((eggs == 2) and (safedrop == 0)) or ((eggs == 150) and (safedrop == 0))) or ((eggs == 102) and (safedrop == 0))) or ((eggs == 80) and (safedrop == 0))) {
safedrop = 1;
safespeed = 17;
setProperty("safe", _x , getProperty("/spaceship", _x));
setProperty("safe", _y , getProperty("/spaceship", _y));
}
if (safedrop == 1) {
setProperty("safe", _y , getProperty("safe", _y) + safespeed);
setProperty("safe", _rotation , getProperty("safe", _rotation) + (safespeed / 2));
}
if ((eggs == 3) and (clockdrop == 0)) {
clockdrop = 1;
clockspeed = 8;
setProperty("clock", _x , getProperty("/spaceship", _x));
setProperty("clock", _y , getProperty("/spaceship", _y));
}
if (clockdrop == 1) {
setProperty("clock", _y , getProperty("clock", _y) + clockspeed);
}
if (469 < getProperty("clock", _y)) {
setProperty("clock", _y , 50);
clockdrop = 0;
eggs = 4;
setProperty("clock", _x , -50);
}
if (_root.sprite.stand.hit.hitTest(getProperty("/clock", _x), getProperty("/clock", _y), true) and (clockdrop == 1)) {
clockdrop = 2;
tellTarget ("clock") {
gotoAndPlay (6);
};
}
if (_root.sprite.left.hit.hitTest(getProperty("/clock", _x), getProperty("/clock", _y), true) and (clockdrop == 1)) {
clockdrop = 2;
tellTarget ("clock") {
gotoAndPlay (6);
};
}
if (_root.sprite.right.hit.hitTest(getProperty("/clock", _x), getProperty("/clock", _y), true) and (clockdrop == 1)) {
clockdrop = 2;
tellTarget ("clock") {
gotoAndPlay (6);
};
}
if (_root.sprite.turnleft.hit.hitTest(getProperty("/clock", _x), getProperty("/clock", _y), true) and (clockdrop == 1)) {
clockdrop = 2;
tellTarget ("clock") {
gotoAndPlay (6);
};
}
if (_root.sprite.turnright.hit.hitTest(getProperty("/clock", _x), getProperty("/clock", _y), true) and (clockdrop == 1)) {
clockdrop = 2;
tellTarget ("clock") {
gotoAndPlay (6);
};
}
if (455 < getProperty("/egg", _y)) {
scrambled = scrambled + 1;
setProperty("egg", _y , 50);
eggdrop = 0;
eggs = 2;
setProperty("splat", _x , getProperty("/egg", _x));
tellTarget ("splat") {
gotoAndPlay (2);
};
setProperty("egg", _x , -50);
}
if (450 < getProperty("safe", _y)) {
setProperty("safe", _y , 50);
safedrop = 0;
eggs = 3;
setProperty("safesplat", _x , getProperty("/safe", _x));
tellTarget ("safesplat") {
gotoAndPlay (2);
};
setProperty("safe", _x , -50);
}
if (_root.sprite.right.tray.hitTest(getProperty("/egg", _x), getProperty("/egg", _y), true)) {
eggdrop = 0;
poached = poached + 1;
setProperty("egg", _x , -50);
setProperty("egg", _y , 50);
tellTarget ("/sprite/right/tray") {
gotoAndPlay (2);
};
}
if (_root.sprite.left.tray.hitTest(getProperty("/egg", _x), getProperty("/egg", _y), true)) {
eggdrop = 0;
poached = poached + 1;
setProperty("egg", _x , -50);
setProperty("egg", _y , 50);
tellTarget ("/sprite/left/tray") {
gotoAndPlay (2);
};
}
if (_root.sprite.stand.tray.hitTest(getProperty("/egg", _x), getProperty("/egg", _y), true)) {
eggdrop = 0;
poached = poached + 1;
setProperty("egg", _x , -50);
setProperty("egg", _y , 50);
tellTarget ("/sprite/stand/tray") {
gotoAndPlay (2);
};
}
if (_root.sprite.turnleft.tray.hitTest(getProperty("/egg", _x), getProperty("/egg", _y), true)) {
eggdrop = 0;
poached = poached + 1;
setProperty("egg", _x , -50);
setProperty("egg", _y , 50);
tellTarget (_root.sprite.turnleft.tray) {
gotoAndPlay (2);
};
}
if (_root.sprite.turnright.tray.hitTest(getProperty("/egg", _x), getProperty("/egg", _y), true)) {
eggdrop = 0;
poached = poached + 1;
setProperty("egg", _x , -50);
setProperty("egg", _y , 50);
tellTarget (_root.sprite.turnright.tray) {
gotoAndPlay (2);
};
}
second = second + 1;
if (second == 24) {
clock = clock - 1;
second = 1;
if (pips == 1) {
tellTarget ("/pips") {
play();
};
}
}
if (0 >= clock) {
gotoAndPlay (486);
}
if (poached >= target) {
tellTarget ("/sprite") {
gotoAndStop (6);
};
setProperty("safe", _x , -50);
setProperty("egg", _x , -50);
setProperty("clock", _x , -50);
gotoAndPlay (534);
disablecontrols = 1;
}
if (_root.sprite.stand.hit.hitTest(getProperty("/safe", _x), getProperty("/safe", _y), true)) {
dazed = 1;
disablecontrols = 1;
tellTarget (_root.sprite) {
gotoAndStop (7);
};
}
if (_root.sprite.left.hit.hitTest(getProperty("/safe", _x), getProperty("/safe", _y), true)) {
dazed = 1;
disablecontrols = 1;
tellTarget (_root.sprite) {
gotoAndStop (7);
};
}
if (_root.sprite.right.hit.hitTest(getProperty("/safe", _x), getProperty("/safe", _y), true)) {
dazed = 1;
disablecontrols = 1;
tellTarget (_root.sprite) {
gotoAndStop (7);
};
}
if (_root.sprite.turnleft.hit.hitTest(getProperty("/safe", _x), getProperty("/safe", _y), true)) {
dazed = 1;
disablecontrols = 1;
tellTarget (_root.sprite) {
gotoAndStop (7);
};
}
if (_root.sprite.turnright.hit.hitTest(getProperty("/safe", _x), getProperty("/safe", _y), true)) {
dazed = 1;
disablecontrols = 1;
tellTarget (_root.sprite) {
gotoAndStop (7);
};
}
if (clock < 10) {
pips = 1;
}
score = currentscore + (poached - scrambled);
Frame 451
gotoAndPlay (450);
Frame 486
setProperty("safe", _visible , false);
setProperty("egg", _visible , false);
setProperty("clock", _visible , false);
setProperty("safesplat", _visible , false);
Frame 531
gotoAndStop (801);
Frame 580
timecountdown = clock;
timeclick = 0;
bonus = 50;
Frame 581
timeclick = timeclick + 1;
if (timeclick >= 1) {
timeclick = 0;
timecountdown = timecountdown - 1;
score = score + 1;
}
if (0 >= timecountdown) {
timeclick = 0;
gotoAndPlay (583);
}
Frame 582
gotoAndPlay (581);
Frame 605
if (scrambled == 0) {
play();
} else {
gotoAndPlay (615);
}
Frame 606
timeclick = timeclick + 1;
if (timeclick >= 2) {
timeclick = 0;
bonus = bonus - 1;
score = score + 1;
}
if (0 >= bonus) {
gotoAndPlay (608);
}
Frame 607
gotoAndPlay (606);
Frame 624
poached = 0;
scrambled = 0;
eggsneeded = "presents needed = 20";
level = "Final Level";
stage = 4;
currentscore = score;
stopAllSounds();
gotoAndPlay (5);
Frame 625
left = 0;
right = 0;
skid = 0;
lockdown = 0;
delay = 0;
eggdrop = 0;
safedrop = 0;
scrambled = 0;
poached = 0;
second = 1;
clock = 60;
clockdrop = 0;
disablecontrols = 0;
dazed = 0;
target = 20;
timeadd = 5;
pips = 0;
a = 1;
b = 1;
c = 1;
d = 1;
e = 1;
Instance of Symbol 280 MovieClip "sprite" in Frame 625
onClipEvent (keyUp) {
if ((/:disablecontrols < 1) and (/:dazed == 0)) {
tellTarget ("/sprite") {
gotoAndStop (1);
};
Set("/:lockdown", 0);
}
if (1 < (/:d - 1)) {
tellTarget (_root.sprite.stand.tray) {
gotoAndPlay(/:d);
};
}
if (1 < (/:e - 1)) {
tellTarget (_root.sprite.stand.tray) {
gotoAndPlay(/:e);
};
}
}
onClipEvent (keyUp) {
if ((/:disablecontrols < 1) and (/:dazed == 0)) {
if ((/:right == 1) and (getProperty("/sprite", _currentframe) < 4)) {
Set("/:right", 0);
tellTarget ("/sprite") {
gotoAndStop (4);
};
if (1 < /:b) {
tellTarget (_root.sprite.turnright.tray) {
gotoAndPlay(/:b);
};
}
}
}
}
onClipEvent (keyUp) {
if ((/:disablecontrols < 1) and (/:dazed == 0)) {
if ((/:left == 1) and (getProperty("/sprite", _currentframe) < 4)) {
Set("/:left", 0);
tellTarget ("/sprite") {
gotoAndStop (5);
};
if (1 < /:a) {
tellTarget (_root.sprite.turnleft.tray) {
gotoAndPlay(/:a);
};
}
}
}
}
Frame 626
a = getProperty("/sprite/left/tray", _currentframe);
b = getProperty("/sprite/right/tray", _currentframe);
c = getProperty("/sprite/stand/tray", _currentframe);
d = getProperty("/sprite/turnleft/tray", _currentframe);
e = getProperty("/sprite/turnright/tray", _currentframe);
if (((((Key.isDown(Key.RIGHT) and (left == 0)) and (lockdown == 0)) and (getProperty("/sprite", _x) < 617.5)) and (getProperty("/sprite", _currentframe) < 4)) and (dazed == 0)) {
setProperty("/sprite", _x , getProperty("/sprite", _x) + 10);
right = 1;
left = 0;
if (getProperty("/sprite", _currentframe) != 2) {
tellTarget ("/sprite") {
gotoAndStop (2);
};
}
if (1 < (/:c - 1)) {
tellTarget ("/sprite/right/tray") {
gotoAndPlay(/:c);
};
}
if (1 < (/:d - 1)) {
tellTarget ("/sprite/right/tray") {
gotoAndPlay(/:d);
};
}
}
if (((((Key.isDown(Key.LEFT) and (right == 0)) and (lockdown == 0)) and (71.5 < getProperty("/sprite", _x))) and (getProperty("/sprite", _currentframe) < 4)) and (dazed == 0)) {
setProperty("/sprite", _x , getProperty("/sprite", _x) - 10);
left = 1;
right = 0;
if (getProperty("/sprite", _currentframe) != 3) {
tellTarget ("/sprite") {
gotoAndStop (3);
};
}
if (1 < (/:c - 1)) {
tellTarget ("/sprite/left/tray") {
gotoAndPlay(/:c);
};
}
if (1 < (/:e - 1)) {
tellTarget ("/sprite/left/tray") {
gotoAndPlay(/:e);
};
}
}
if (((Key.isDown(Key.LEFT) and (right == 1)) and (getProperty("/sprite", _currentframe) < 4)) and (dazed == 0)) {
tellTarget ("sprite") {
gotoAndStop (4);
};
right = 0;
if (1 < (/:b - 1)) {
tellTarget ("/sprite/turnright/tray") {
gotoAndPlay(/:b);
};
tellTarget ("/sprite/right/tray") {
gotoAndStop (1);
};
}
}
if (((Key.isDown(Key.RIGHT) and (left == 1)) and (getProperty("/sprite", _currentframe) < 4)) and (dazed == 0)) {
tellTarget ("sprite") {
gotoAndStop (5);
};
left = 0;
if (1 < (/:a - 1)) {
tellTarget ("/sprite/turnleft/tray") {
gotoAndPlay(/:a);
};
tellTarget ("/sprite/left/tray") {
gotoAndStop (1);
};
}
}
if (getProperty("/sprite/turnright", _currentframe) == 9) {
tellTarget ("/sprite/turnright") {
gotoAndStop (1);
};
tellTarget ("/sprite") {
gotoAndStop (1);
};
if (1 < (/:e - 1)) {
tellTarget ("/sprite/stand/tray") {
gotoAndPlay(/:e);
};
}
}
if (getProperty("/sprite/turnleft", _currentframe) == 9) {
tellTarget ("/sprite/turnleft") {
gotoAndStop (1);
};
tellTarget ("/sprite") {
gotoAndStop (1);
};
if (1 < (/:d - 1)) {
tellTarget ("/sprite/stand/tray") {
gotoAndPlay(/:d);
};
}
}
if ((Key.isDown(Key.LEFT) and Key.isDown(Key.RIGHT)) and (dazed == 0)) {
lockdown = 1;
tellTarget ("/sprite") {
gotoAndStop (1);
};
}
if ((delay == 20) or (delay == 0)) {
speed = int(random(10)) + 6;
direction = int(random(2)) + 1;
delay = 1;
}
delay = delay + 1;
if (direction == 1) {
setProperty("/spaceship", _x , getProperty("/spaceship", _x) + speed);
}
if (direction == 2) {
setProperty("/spaceship", _x , getProperty("/spaceship", _x) - speed);
}
if (getProperty("/spaceship", _x) < 80) {
direction = 1;
}
if (550 < getProperty("/spaceship", _x)) {
direction = 2;
}
if ((6 < speed) and (160 < getProperty("/spaceship", _y))) {
setProperty("/spaceship", _y , getProperty("/spaceship", _y) - (speed / 20));
}
if ((speed < 7) and (getProperty("/spaceship", _y) < 150)) {
setProperty("/spaceship", _y , getProperty("/spaceship", _y) + (speed / 8));
}
eggs = int(random(200));
if (((((eggs == 1) and (eggdrop == 0)) or ((eggs == 50) and (eggdrop == 0))) or ((eggs == 100) and (eggdrop == 0))) or ((eggs == 150) and (eggdrop == 0))) {
eggdrop = 1;
eggspeed = int(random(8)) + 8;
setProperty("egg", _x , getProperty("/spaceship", _x));
setProperty("egg", _y , getProperty("/spaceship", _y));
}
if (eggdrop == 1) {
setProperty("egg", _y , getProperty("/egg", _y) + eggspeed);
setProperty("egg", _rotation , getProperty("/egg", _rotation) + (eggspeed / 2));
}
if (((((eggs == 2) and (safedrop == 0)) or ((eggs == 102) and (safedrop == 0))) or ((eggs == 150) and (safedrop == 0))) or ((eggs == 180) and (safedrop == 0))) {
safedrop = 1;
safespeed = 13;
setProperty("safe", _x , getProperty("/spaceship", _x));
setProperty("safe", _y , getProperty("/spaceship", _y));
}
if (safedrop == 1) {
setProperty("safe", _y , getProperty("safe", _y) + safespeed);
setProperty("safe", _rotation , getProperty("safe", _rotation) + (safespeed / 2));
}
if ((eggs == 3) and (clockdrop == 0)) {
clockdrop = 1;
clockspeed = 10;
setProperty("clock", _x , getProperty("/spaceship", _x));
setProperty("clock", _y , getProperty("/spaceship", _y));
}
if (clockdrop == 1) {
setProperty("clock", _y , getProperty("clock", _y) + clockspeed);
}
if (469 < getProperty("clock", _y)) {
setProperty("clock", _y , 50);
clockdrop = 0;
eggs = 4;
setProperty("clock", _x , -50);
}
if (_root.sprite.stand.hit.hitTest(getProperty("/clock", _x), getProperty("/clock", _y), true) and (clockdrop == 1)) {
clockdrop = 2;
tellTarget ("clock") {
gotoAndPlay (6);
};
}
if (_root.sprite.left.hit.hitTest(getProperty("/clock", _x), getProperty("/clock", _y), true) and (clockdrop == 1)) {
clockdrop = 2;
tellTarget ("clock") {
gotoAndPlay (6);
};
}
if (_root.sprite.right.hit.hitTest(getProperty("/clock", _x), getProperty("/clock", _y), true) and (clockdrop == 1)) {
clockdrop = 2;
tellTarget ("clock") {
gotoAndPlay (6);
};
}
if (_root.sprite.turnleft.hit.hitTest(getProperty("/clock", _x), getProperty("/clock", _y), true) and (clockdrop == 1)) {
clockdrop = 2;
tellTarget ("clock") {
gotoAndPlay (6);
};
}
if (_root.sprite.turnright.hit.hitTest(getProperty("/clock", _x), getProperty("/clock", _y), true) and (clockdrop == 1)) {
clockdrop = 2;
tellTarget ("clock") {
gotoAndPlay (6);
};
}
if (455 < getProperty("/egg", _y)) {
scrambled = scrambled + 1;
setProperty("egg", _y , 50);
eggdrop = 0;
eggs = 2;
setProperty("splat", _x , getProperty("/egg", _x));
tellTarget ("splat") {
gotoAndPlay (2);
};
setProperty("egg", _x , -50);
}
if (450 < getProperty("safe", _y)) {
setProperty("safe", _y , 50);
safedrop = 0;
eggs = 3;
setProperty("safesplat", _x , getProperty("/safe", _x));
tellTarget ("safesplat") {
gotoAndPlay (2);
};
setProperty("safe", _x , -50);
}
if (_root.sprite.right.tray.hitTest(getProperty("/egg", _x), getProperty("/egg", _y), true)) {
eggdrop = 0;
poached = poached + 1;
setProperty("egg", _x , -50);
setProperty("egg", _y , 50);
tellTarget ("/sprite/right/tray") {
gotoAndPlay (2);
};
}
if (_root.sprite.left.tray.hitTest(getProperty("/egg", _x), getProperty("/egg", _y), true)) {
eggdrop = 0;
poached = poached + 1;
setProperty("egg", _x , -50);
setProperty("egg", _y , 50);
tellTarget ("/sprite/left/tray") {
gotoAndPlay (2);
};
}
if (_root.sprite.stand.tray.hitTest(getProperty("/egg", _x), getProperty("/egg", _y), true)) {
eggdrop = 0;
poached = poached + 1;
setProperty("egg", _x , -50);
setProperty("egg", _y , 50);
tellTarget ("/sprite/stand/tray") {
gotoAndPlay (2);
};
}
if (_root.sprite.turnleft.tray.hitTest(getProperty("/egg", _x), getProperty("/egg", _y), true)) {
eggdrop = 0;
poached = poached + 1;
setProperty("egg", _x , -50);
setProperty("egg", _y , 50);
tellTarget (_root.sprite.turnleft.tray) {
gotoAndPlay (2);
};
}
if (_root.sprite.turnright.tray.hitTest(getProperty("/egg", _x), getProperty("/egg", _y), true)) {
eggdrop = 0;
poached = poached + 1;
setProperty("egg", _x , -50);
setProperty("egg", _y , 50);
tellTarget (_root.sprite.turnright.tray) {
gotoAndPlay (2);
};
}
second = second + 1;
if (second == 24) {
clock = clock - 1;
second = 1;
if (pips == 1) {
tellTarget ("/pips") {
play();
};
}
}
if (0 >= clock) {
gotoAndPlay (662);
}
if (poached >= target) {
tellTarget ("/sprite") {
gotoAndStop (6);
};
setProperty("safe", _x , -50);
setProperty("egg", _x , -50);
setProperty("clock", _x , -50);
gotoAndPlay (710);
disablecontrols = 1;
}
if (_root.sprite.stand.hit.hitTest(getProperty("/safe", _x), getProperty("/safe", _y), true)) {
dazed = 1;
disablecontrols = 1;
tellTarget (_root.sprite) {
gotoAndStop (7);
};
}
if (_root.sprite.left.hit.hitTest(getProperty("/safe", _x), getProperty("/safe", _y), true)) {
dazed = 1;
disablecontrols = 1;
tellTarget (_root.sprite) {
gotoAndStop (7);
};
}
if (_root.sprite.right.hit.hitTest(getProperty("/safe", _x), getProperty("/safe", _y), true)) {
dazed = 1;
disablecontrols = 1;
tellTarget (_root.sprite) {
gotoAndStop (7);
};
}
if (_root.sprite.turnleft.hit.hitTest(getProperty("/safe", _x), getProperty("/safe", _y), true)) {
dazed = 1;
disablecontrols = 1;
tellTarget (_root.sprite) {
gotoAndStop (7);
};
}
if (_root.sprite.turnright.hit.hitTest(getProperty("/safe", _x), getProperty("/safe", _y), true)) {
dazed = 1;
disablecontrols = 1;
tellTarget (_root.sprite) {
gotoAndStop (7);
};
}
if (clock < 10) {
pips = 1;
}
score = currentscore + (poached - scrambled);
Frame 627
gotoAndPlay (626);
Frame 662
setProperty("safe", _visible , false);
setProperty("egg", _visible , false);
setProperty("clock", _visible , false);
setProperty("safesplat", _visible , false);
Frame 707
gotoAndStop (801);
Frame 756
timecountdown = clock;
timeclick = 0;
bonus = 50;
Frame 757
timeclick = timeclick + 1;
if (timeclick >= 1) {
timeclick = 0;
timecountdown = timecountdown - 1;
score = score + 1;
}
if (0 >= timecountdown) {
timeclick = 0;
gotoAndPlay (759);
}
Frame 758
gotoAndPlay (757);
Frame 781
if (scrambled == 0) {
play();
} else {
gotoAndPlay (791);
}
Frame 782
timeclick = timeclick + 1;
if (timeclick >= 2) {
timeclick = 0;
bonus = bonus - 1;
score = score + 1;
}
if (0 >= bonus) {
gotoAndPlay (784);
}
Frame 783
gotoAndPlay (782);
Frame 800
poached = 0;
scrambled = 0;
stopAllSounds();
gotoAndStop (801);
Frame 801
stop();
stopAllSounds();
Symbol 17 MovieClip Frame 1
stop();
Symbol 17 MovieClip Frame 2
play();
Symbol 17 MovieClip Frame 3
play();
Symbol 17 MovieClip Frame 4
play();
Symbol 17 MovieClip Frame 5
play();
Symbol 17 MovieClip Frame 6
play();
Symbol 17 MovieClip Frame 7
play();
Symbol 17 MovieClip Frame 8
play();
Symbol 17 MovieClip Frame 9
play();
Symbol 17 MovieClip Frame 10
play();
Symbol 17 MovieClip Frame 11
play();
Symbol 17 MovieClip Frame 12
play();
Symbol 17 MovieClip Frame 13
gotoAndStop (1);
Symbol 49 MovieClip Frame 5
gotoAndPlay (1);
Symbol 49 MovieClip Frame 6
play();
Symbol 49 MovieClip Frame 7
play();
Symbol 49 MovieClip Frame 8
play();
Symbol 49 MovieClip Frame 9
play();
Symbol 49 MovieClip Frame 10
play();
Symbol 49 MovieClip Frame 11
play();
Symbol 49 MovieClip Frame 12
play();
Symbol 49 MovieClip Frame 13
play();
Symbol 49 MovieClip Frame 14
play();
Symbol 49 MovieClip Frame 15
play();
Symbol 49 MovieClip Frame 16
play();
Symbol 49 MovieClip Frame 17
play();
Symbol 49 MovieClip Frame 18
play();
Symbol 49 MovieClip Frame 19
play();
Symbol 49 MovieClip Frame 20
play();
Symbol 49 MovieClip Frame 21
play();
Symbol 49 MovieClip Frame 22
setProperty("/clock", _y , 50);
setProperty("/clock", _x , -50);
Set("/:clock", /:clock + /:timeadd);
Set("/:clockdrop", 0);
gotoAndPlay (1);
Symbol 57 Button
on (release, keyPress "<Enter>") {
gotoAndPlay (5);
}
Symbol 91 Button
on (release) {
gotoAndPlay (3);
}
Symbol 101 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 2
play();
Symbol 101 MovieClip Frame 3
play();
Symbol 101 MovieClip Frame 4
play();
Symbol 101 MovieClip Frame 5
play();
Symbol 101 MovieClip Frame 6
play();
Symbol 101 MovieClip Frame 7
play();
Symbol 101 MovieClip Frame 8
play();
Symbol 101 MovieClip Frame 9
play();
Symbol 101 MovieClip Frame 10
play();
Symbol 101 MovieClip Frame 11
play();
Symbol 101 MovieClip Frame 12
play();
Symbol 101 MovieClip Frame 13
play();
Symbol 101 MovieClip Frame 14
play();
Symbol 101 MovieClip Frame 15
gotoAndStop (1);
Symbol 118 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 2
play();
Symbol 118 MovieClip Frame 3
play();
Symbol 118 MovieClip Frame 4
play();
Symbol 118 MovieClip Frame 5
play();
Symbol 118 MovieClip Frame 6
play();
Symbol 118 MovieClip Frame 7
play();
Symbol 118 MovieClip Frame 8
play();
Symbol 118 MovieClip Frame 9
play();
Symbol 118 MovieClip Frame 10
play();
Symbol 118 MovieClip Frame 11
play();
Symbol 118 MovieClip Frame 12
gotoAndStop (1);
Symbol 133 MovieClip Frame 1
stop();
Symbol 133 MovieClip Frame 2
play();
Symbol 133 MovieClip Frame 3
play();
Symbol 133 MovieClip Frame 4
play();
Symbol 133 MovieClip Frame 5
play();
Symbol 133 MovieClip Frame 6
play();
Symbol 133 MovieClip Frame 7
play();
Symbol 133 MovieClip Frame 8
play();
Symbol 133 MovieClip Frame 9
play();
Symbol 133 MovieClip Frame 10
play();
Symbol 133 MovieClip Frame 11
play();
Symbol 133 MovieClip Frame 12
play();
Symbol 133 MovieClip Frame 13
play();
Symbol 133 MovieClip Frame 14
gotoAndStop (1);
Symbol 152 MovieClip Frame 9
Set("/:right", 0);
stop();
Symbol 155 MovieClip Frame 1
stop();
Symbol 155 MovieClip Frame 2
play();
Symbol 155 MovieClip Frame 3
play();
Symbol 155 MovieClip Frame 4
play();
Symbol 155 MovieClip Frame 5
play();
Symbol 155 MovieClip Frame 6
play();
Symbol 155 MovieClip Frame 7
play();
Symbol 155 MovieClip Frame 8
play();
Symbol 155 MovieClip Frame 9
play();
Symbol 155 MovieClip Frame 10
play();
Symbol 155 MovieClip Frame 11
play();
Symbol 155 MovieClip Frame 12
play();
Symbol 155 MovieClip Frame 13
gotoAndStop (1);
Symbol 173 MovieClip Frame 9
Set("/:left", 0);
stop();
Symbol 204 MovieClip Frame 41
tellTarget (_root.sprite) {
gotoAndStop (1);
};
Set("/:dazed", 0);
Set("/:disablecontrols", 0);
Symbol 205 MovieClip Frame 1
stop();
Symbol 214 MovieClip Frame 1
stop();
Symbol 214 MovieClip Frame 15
gotoAndStop (1);
Symbol 215 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 17
gotoAndStop (1);
setProperty(this, _x , -50);
Symbol 244 MovieClip Frame 1
stop();
Symbol 244 MovieClip Frame 20
gotoAndStop (1);
setProperty(this, _x , "-50");
Symbol 245 MovieClip Frame 5
gotoAndPlay (1);
Symbol 245 MovieClip Frame 6
play();
Symbol 245 MovieClip Frame 7
play();
Symbol 245 MovieClip Frame 8
play();
Symbol 245 MovieClip Frame 9
play();
Symbol 245 MovieClip Frame 10
play();
Symbol 245 MovieClip Frame 11
play();
Symbol 245 MovieClip Frame 12
play();
Symbol 245 MovieClip Frame 13
play();
Symbol 245 MovieClip Frame 14
play();
Symbol 245 MovieClip Frame 15
play();
Symbol 245 MovieClip Frame 16
play();
Symbol 245 MovieClip Frame 17
play();
Symbol 245 MovieClip Frame 18
play();
Symbol 245 MovieClip Frame 19
play();
Symbol 245 MovieClip Frame 20
play();
Symbol 245 MovieClip Frame 21
play();
Symbol 245 MovieClip Frame 22
setProperty("/clock", _y , 50);
setProperty("/clock", _x , -50);
Set("/:clock", /:clock + /:timeadd);
Set("/:clockdrop", 0);
gotoAndPlay (1);
Symbol 250 MovieClip Frame 1
stop();
Symbol 268 MovieClip Frame 1
stop();
Symbol 274 MovieClip Frame 1
stop();
Symbol 280 MovieClip Frame 1
stop();
Symbol 288 Button
on (release) {
getURL ("http://www.crowngreetings.com/cgi-bin/updatehiya3.pl", "_blank");
}
Symbol 296 Button
on (release) {
getURL ("http://www.crowngreetings.com/cgi-bin/updatecrown.pl", "_blank");
}
Symbol 303 Button
on (release) {
gotoAndStop (3);
connection = "offline";
}