Frame 1
_root.cont = 1;
Instance of Symbol 11 MovieClip in Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
}
Frame 2
stop();
Instance of Symbol 79 MovieClip in Frame 2
onClipEvent (enterFrame) {
if ((_root.cont == 0) and (_root.done == 1)) {
_root.targetx = -80;
this._alpha = this._alpha - 10;
}
if (this.fade == 1) {
this._alpha = this._alpha - 5;
}
if (this._alpha < 0) {
_root.nextFrame();
}
}
onClipEvent (mouseDown) {
this.fade = 1;
}
Frame 3
play();
_root.targetx = 120;
Frame 5
function gox() {
play();
}
stop();
_root.invulnerable = 0;
_root.sticky = 0;
_root.dropSpeed = 5;
_root.glammax = 1;
_root.shittymax = 1;
_root.submax = 1;
_root.health = 12;
_root.maxHealth = 16;
_root.subgoal = 1;
_root.shittygoal = 1;
_root.glamgoal = 1;
_root.shittyend = 0;
_root.glamend = 0;
_root.goal = 1;
_root.amount = 5 + (_root.goal * 5);
_root.flee = 800;
_root.fri = 0.7;
Instance of Symbol 97 MovieClip in Frame 5
onClipEvent (load) {
this.gotoAndPlay(1);
}
Instance of Symbol 97 MovieClip in Frame 5
onClipEvent (load) {
this.gotoAndPlay(1);
}
Instance of Symbol 97 MovieClip in Frame 5
onClipEvent (load) {
this.gotoAndPlay(1);
}
Instance of Symbol 109 MovieClip in Frame 5
onClipEvent (load) {
this.fri = 0.5;
this.acc = 900 + random(200);
this.ox = this._x;
this.dirx = -1;
this._x = this.ox + (this.dirx * _root.flee);
}
onClipEvent (enterFrame) {
this._x = this._x + speedx;
difx = (this.ox - this._x) + (_root.fle * this.dirx);
if (difx > 0) {
xaccel = (difx * difx) / this.acc;
} else {
xaccel = (-(difx * difx)) / this.acc;
}
speedx = (speedx + xaccel) * this.fri;
}
Instance of Symbol 113 MovieClip in Frame 5
onClipEvent (load) {
this.fri = 0.5;
this.acc = 900 + random(200);
this.ox = this._x;
this.dirx = 1;
this._x = this.ox + (this.dirx * _root.flee);
}
onClipEvent (enterFrame) {
this._x = this._x + speedx;
difx = (this.ox - this._x) + (_root.fle * this.dirx);
if (difx > 0) {
xaccel = (difx * difx) / this.acc;
} else {
xaccel = (-(difx * difx)) / this.acc;
}
speedx = (speedx + xaccel) * this.fri;
}
Frame 6
_root.lev = 4;
_root.success = 0;
_root.scr = 0;
_root.span = 30;
_root.rnd = 0;
_root.win = 0;
_root.timeup = 0;
stop();
_root.coinsound = new Sound();
_root.coinsound.attachSound("coin");
_root.dingsound = new Sound();
_root.dingsound.attachSound("ding");
_root.successsound = new Sound();
_root.successsound.attachSound("success");
_root.nextsound = new Sound();
_root.nextsound.attachSound("next");
_root.endsound = new Sound();
_root.endsound.attachSound("end");
Instance of Symbol 113 MovieClip in Frame 6
onClipEvent (load) {
this.fri = 0.9;
this.acc = 900 + random(200);
this.ox = this.ox + (this.dirx * 1500);
this.dirx = 1;
this._x = this._x;
}
onClipEvent (enterFrame) {
if (_x < 1000) {
_x = (_x + ((1000 - _x) * 0.3));
}
if (_x > 970) {
unloadMovie (this);
}
}
Symbol 8 MovieClip Frame 1
stop();
Symbol 8 MovieClip Frame 2
stop();
Instance of Symbol 8 MovieClip in Symbol 10 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.rott > 50) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 8 MovieClip in Symbol 10 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = _root.rott * 3.6;
}
Instance of Symbol 8 MovieClip in Symbol 10 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (_root.rott > 50) {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 10 MovieClip "pie" in Symbol 11 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.rott);
}
onClipEvent (load) {
this._alpha = 0;
tkb = _root.getBytesTotal();
_root.totalsize = Math.round(_root.getBytesTotal() / 1000);
_root.totalloaded = Math.round(_root.getBytesLoaded() / 1000);
scale = (_root.getBytesLoaded() / tkb) * 100;
if (scale < 90) {
this._alpha = 100;
}
}
onClipEvent (enterFrame) {
if (_alpha < 0) {
_alpha = 0;
}
_root.totalloaded = Math.round(_root.getBytesLoaded() / 1000);
scale = (_root.getBytesLoaded() / tkb) * 100;
_root.sl = ((_root.totalloaded + " kb of ") + _root.totalsize) + " kb loaded";
_root.pl = Math.round(scale) + "% loaded";
_root.rott = Math.round(scale);
if (scale == 100) {
this._alpha = this._alpha - 5;
_root.done = 1;
}
}
Symbol 26 MovieClip Frame 85
_root.pngAnger = 100;
_parent._parent.pingo._x = _parent._parent.pingo._x - 30;
_root.pngTorso = 10;
Symbol 26 MovieClip Frame 152
stop();
Symbol 33 MovieClip Frame 30
stop();
Symbol 34 MovieClip Frame 30
stop();
Instance of Symbol 56 MovieClip in Symbol 57 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 57 MovieClip "lidBottom" in Symbol 60 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._y != _parent._parent._parent.eyeLidBottom) {
this._y = this._y + ((_parent._parent._parent.eyeLidBottom - this._y) * _parent._parent._parent.blinkSpeed);
}
if (_parent._parent._parent.eyeRight.asBlink == 1) {
this._y = 0;
_parent.lidTop._y = 0;
_parent._parent._parent.eyeRight.asBlink = 0;
}
}
Instance of Symbol 59 MovieClip "lidTop" in Symbol 60 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._y != _parent._parent._parent.eyeLidTop) {
this._y = this._y + ((_parent._parent._parent.eyeLidTop - this._y) * _parent._parent._parent.blinkSpeed);
}
}
Symbol 63 MovieClip Frame 1
stop();
Instance of Symbol 54 MovieClip in Symbol 63 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pngTerror != 1) {
this._xscale = 100 + (_root.pngJoy * 0.5);
this._yscale = this._xscale;
}
if (_root.pngTerror == 1) {
this._yscale = (this._xscale = 60);
}
}
onClipEvent (load) {
this.ox = this._x;
this.oy = this._y;
}
onClipEvent (enterFrame) {
this._y = (this.oy + (_parent._parent._parent.pingo.speedy * 0.2)) + (_root.targety * 0.1);
if (this._y > 5) {
this._y = 5;
}
if (this._y < -60) {
this._y = -60;
}
this._x = this.ox + (((-_root.vex) * 0.1) * _parent.dir);
if ((_root.toy == "ball") or (_root.pngVigilance > 30)) {
this._x = this.ox + ((_parent._parent._parent.toyBall._x * 0.01) * _parent.dir);
}
}
Instance of Symbol 60 MovieClip "lid" in Symbol 63 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._rotation != _root.pngLidRot) {
this._rotation = this._rotation + ((_root.pngLidRot - _this._rotation) * 0.1);
}
}
Instance of Symbol 62 MovieClip in Symbol 63 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._rotation != (_root.pngAnger * 0.8)) {
this._rotation = this._rotation + (((_root.pngAnger * 0.8) - this._rotation) * 0.1);
}
this._xscale = 50 + (_root.pngAnger * 1.3);
this._yscale = 50 + (_root.pngAnger * 1.5);
this._x = ox + (_root.pngAnger * 0.1);
this._y = oy + (_root.pngAnger * 0.2);
}
onClipEvent (load) {
this.ox = _x;
this.oy = _y;
}
Symbol 63 MovieClip Frame 2
stop();
Instance of Symbol 57 MovieClip "lidBottom" in Symbol 64 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._y != _parent._parent._parent.eyeLidBottom) {
this._y = this._y + ((_parent._parent._parent.eyeLidBottom - this._y) * _parent._parent._parent.blinkSpeed);
}
if (_parent._parent._parent.eyeLeft.asBlink == 1) {
this._y = 0;
_parent.lidTop._y = 0;
_parent._parent._parent.eyeLeft.asBlink = 0;
}
}
Instance of Symbol 59 MovieClip "lidTop" in Symbol 64 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._y != _parent._parent._parent.eyeLidTop) {
this._y = this._y + ((_parent._parent._parent.eyeLidTop - this._y) * _parent._parent._parent.blinkSpeed);
}
}
Symbol 65 MovieClip Frame 1
stop();
Instance of Symbol 54 MovieClip in Symbol 65 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pngTerror != 1) {
this._xscale = 100 + (_root.pngJoy * 0.5);
this._yscale = this._xscale;
}
if (_root.pngTerror == 1) {
this._yscale = (this._xscale = 60);
}
}
onClipEvent (load) {
this.ox = this._x;
this.oy = this._y;
}
onClipEvent (enterFrame) {
this._y = (this.oy + (_parent._parent._parent.pingo.speedy * 0.2)) + (_root.targety * 0.1);
if (this._y > 5) {
this._y = 5;
}
if (this._y < -60) {
this._y = -60;
}
this._x = this.ox + (((-_root.vex) * 0.1) * _parent.dir);
if ((_root.toy == "ball") or (_root.pngVigilance > 30)) {
this._x = this.ox + ((_parent._parent._parent.toyBall._x * 0.01) * _parent.dir);
}
}
Instance of Symbol 64 MovieClip "lid" in Symbol 65 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._rotation != _root.pngLidRot) {
this._rotation = this._rotation + ((_root.pngLidRot - _this._rotation) * 0.1);
}
}
Instance of Symbol 62 MovieClip in Symbol 65 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._rotation != (_root.pngAnger * 0.8)) {
this._rotation = this._rotation + (((_root.pngAnger * 0.8) - this._rotation) * 0.1);
}
this._xscale = 50 + (_root.pngAnger * 1.3);
this._yscale = 50 + (_root.pngAnger * 1.5);
this._x = ox + (_root.pngAnger * 0.1);
this._y = oy + (_root.pngAnger * 0.2);
}
onClipEvent (load) {
this.ox = _x;
this.oy = _y;
}
Symbol 65 MovieClip Frame 2
stop();
Symbol 68 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 2
stop();
Symbol 75 MovieClip Frame 1
function poop() {
body10._yscale = 200;
_root.pngPoop = _root.pngPoop + 1;
drops = _root.pngPoop;
duplicateMovieClip (_parent.poop, "poop" + drops, drops);
_parent["poop" + drops]._x = _parent.pingo._x;
}
function piss() {
_root.pngPoop = _root.pngPoop + 1;
drop = _root.pngPoop;
duplicateMovieClip (_parent.piss, "piss" + drop, drop);
_parent["piss" + drop]._x = _parent.pingo._x;
}
function jump(ht) {
_parent.pingo.speedy = -ht;
}
function blink(bsp) {
_parent.pingo.eyeLeft.asBlink = 1;
_parent.pingo.eyeRight.asBlink = 1;
}
nbClip = 6;
i = 0;
while (i < nbClip) {
duplicateMovieClip (foot, "foot" + i, i);
this["foot" + i].x = -30;
this["foot" + i].y = 0;
this["foot" + i].z = -10;
this["foot" + i].dir = -1;
i++;
}
i = 5;
while (i < 6) {
duplicateMovieClip (foot, "foot" + i, i);
this["foot" + i].x = 30;
this["foot" + i].y = 0;
this["foot" + i].z = -10;
this["foot" + i].dir = 1;
i++;
}
i = 10;
while (i < 11) {
duplicateMovieClip (body, "body" + i, i);
this["body" + i].x = 0;
this["body" + i].y = 0;
this["body" + i].z = 15;
i++;
}
i = 12;
while (i < 13) {
duplicateMovieClip (mouth, "mouth" + i, i);
this["mouth" + i].x = 0;
this["mouth" + i].y = -20;
this["mouth" + i].z = -2;
i++;
}
i = 35;
while (i < 36) {
duplicateMovieClip (hand, "hand" + i, i);
this["hand" + i].x = 60;
this["hand" + i].y = -20;
this["hand" + i].z = 0;
this["hand" + i].dir = 1;
i++;
}
i = 37;
while (i < 38) {
duplicateMovieClip (hand, "hand" + i, i);
this["hand" + i].x = -60;
this["hand" + i].y = -20;
this["hand" + i].z = 0;
this["hand" + i].dir = -1;
i++;
}
Instance of Symbol 36 MovieClip "body" in Symbol 75 MovieClip Frame 1
onClipEvent (load) {
if (this._name == "body") {
this._visible = 0;
}
origin_x = 0;
origin_y = 0;
regular_size = 100;
d = 350;
_root.topd = 350;
trans = (Math.PI/180);
}
onClipEvent (enterFrame) {
y = (-_parent.foot0.yxc) - (_parent.foot0._yscale * 0.2);
if (this._name != "body") {
_root.vex = Math.floor(rotated_x * 6);
rotation_angle = rotation_angle + (_root.rotation_angle - rotation_angle);
sin_angle = Math.sin(Number(rotation_angle) * trans);
cos_angle = Math.cos(Number(rotation_angle) * trans);
if (z < -300) {
_visible = false;
} else {
_visible = true;
}
z = z + _root.inc_z;
rotated_x = (x * cos_angle) - (z * sin_angle);
rotated_z = (z * cos_angle) + (x * sin_angle);
d = _root.topd;
perspective_ratio = d / (d + z);
x = rotated_x;
z = rotated_z;
perspective_x = x * perspective_ratio;
perspective_y = y * perspective_ratio;
this._x = origin_x + perspective_x;
this._y = origin_y + perspective_y;
this._xscale = (regular_size * perspective_ratio) + _root.pngAss;
this.stretch = _parent.speedy;
if (this.stretch > 0) {
this.stretch = 0;
}
this._yscale = ((regular_size * perspective_ratio) - (this.stretch * 2)) + (_root.pngTorso * 2);
_root.vector = Math.floor(this._x + 16);
this.swapDepths(-z);
}
}
Instance of Symbol 39 MovieClip "foot" in Symbol 75 MovieClip Frame 1
onClipEvent (load) {
if (this._name == "foot") {
this._visible = 0;
}
origin_x = 0;
origin_y = 0;
oy = 0;
regular_size = 100;
d = 350;
_root.topd = 350;
trans = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (this._name == "foot5") {
padx = _parent.foot0._y;
}
if (this._name != "foot") {
rotation_angle = _root.rotation_angle;
sin_angle = Math.sin(Number(rotation_angle) * trans);
cos_angle = Math.cos(Number(rotation_angle) * trans);
if (z < -300) {
_visible = false;
} else {
_visible = true;
}
z = z + _root.inc_z;
rotated_x = (x * cos_angle) - (z * sin_angle);
rotated_z = (z * cos_angle) + (x * sin_angle);
d = _root.topd;
perspective_ratio = d / (d + z);
x = rotated_x;
z = rotated_z;
perspective_x = x * perspective_ratio;
perspective_y = y * perspective_ratio;
this._visible = _parent.foot;
this._x = (origin_x + perspective_x) - (padx * 1);
this._y = (origin_y + perspective_y) - 10;
this._xscale = (this._yscale = (regular_size * perspective_ratio) + _root.pngFoot);
_alpha = (100 * perspective_ratio);
this.swapDepths(-z);
}
}
Instance of Symbol 41 MovieClip in Symbol 75 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pngShock < 0) {
_root.pngShock = 0;
}
if (_root.energy < 0) {
_root.energy = 0;
}
if (_root.joy < 0) {
_root.joy = 0;
}
if (_root.joy > 200) {
_root.joy = 200;
}
if (_root.love > 200) {
_root.love = 200;
}
if (_root.fear < 0) {
_root.fear = 0;
}
if (_root.fear > 200) {
_root.fear = 200;
}
_root.anger = _root.anger - 0.1;
if (_root.anger < -20) {
_root.anger = -20;
}
_root.loneliness = _root.loneliness - 0.1;
if (_root.loneliness < -100) {
_root.loneliness = 0;
}
this._visible = 0;
if (_root.pngShock > 60) {
_root.rot = Math.floor(((-_xmouse) * 0.05) * 6);
}
if (_root.rot > 88) {
_root.rot = 88;
}
if (_root.rot < -88) {
_root.rot = -88;
}
_root.rotation_angle = (_root.vex - _root.rot) / 6;
_root.inc_z = 0;
}
Instance of Symbol 44 MovieClip "mouth" in Symbol 75 MovieClip Frame 1
onClipEvent (load) {
if (this._name == "mouth") {
this._visible = 0;
}
origin_x = 0;
origin_y = 0;
regular_size = 100;
d = 350;
_root.topd = 350;
trans = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (this._name != "mouth") {
this.gotoAndStop(_root.pngAnger);
y = (-_parent.body10.y) - (_parent.body10._yscale * 0.8);
rotation_angle = _root.rotation_angle;
sin_angle = Math.sin(Number(rotation_angle) * trans);
cos_angle = Math.cos(Number(rotation_angle) * trans);
if (z < -300) {
_visible = false;
} else {
_visible = true;
}
z = z + _root.inc_z;
rotated_x = (x * cos_angle) - (z * sin_angle);
rotated_z = (z * cos_angle) + (x * sin_angle);
d = _root.topd;
perspective_ratio = d / (d + z);
x = rotated_x;
z = rotated_z;
perspective_x = x * perspective_ratio;
perspective_y = y * perspective_ratio;
this._x = origin_x + perspective_x;
this._y = origin_y + perspective_y;
this._xscale = (regular_size * perspective_ratio) - Math.abs(x * 40);
this.stretch = _parent.speedy;
if (this.stretch > 0) {
this.stretch = 0;
}
this._yscale = (regular_size * perspective_ratio) - (this.stretch * 1);
_alpha = (100 * perspective_ratio);
this.swapDepths(-z);
}
}
Instance of Symbol 63 MovieClip "eyeRight" in Symbol 75 MovieClip Frame 1
onClipEvent (load) {
origin_x = 0;
origin_y = 0;
regular_size = 100;
d = _root.topd;
trans = (Math.PI/180);
x = 20;
y = -50;
z = -10;
dir = -1;
}
onClipEvent (enterFrame) {
if (this._name != "eye") {
y = _parent.body10.y - _parent.body10._height;
rotation_angle_x = 0;
rotation_angle_y = _root.rotation_angle;
rotation_angle_z = 0;
sin_a = Math.sin(Number(rotation_angle_x) * trans);
cos_a = Math.cos(Number(rotation_angle_x) * trans);
sin_b = Math.sin(Number(rotation_angle_y) * trans);
cos_b = Math.cos(Number(rotation_angle_y) * trans);
sin_c = Math.sin(Number(rotation_angle_z) * trans);
cos_c = Math.cos(Number(rotation_angle_z) * trans);
z = z + _root.inc_z;
rx1 = x;
ry1 = (y * cos_a) - (z * sin_a);
rz1 = (z * cos_a) + (y * sin_a);
rx2 = (rx1 * cos_b) - (rz1 * sin_b);
ry2 = ry1;
rz2 = (rz1 * cos_b) + (rx1 * sin_b);
rx3 = (rx2 * cos_c) - (ry2 * sin_c);
ry3 = (ry2 * cos_c) + (rx2 * sin_c);
rz3 = rz2;
perspective_ratio = d / (d + z);
perspective_x = x * perspective_ratio;
perspective_y = y * perspective_ratio;
x = rx3;
y = ry3;
z = rz3;
this._x = origin_x + perspective_x;
this._y = origin_y + perspective_y;
this._xscale = (((regular_size * perspective_ratio) + (-50 + _root.pngEyes)) + _root.eyeRound) * dir;
this._yscale = (regular_size * perspective_ratio) + (-50 + _root.pngEyes);
_root.pngEyes = 100;
this._rotation = x * 0.4;
this.swapDepths(-z);
if (z > (_parent.body10.z + 100)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
}
Instance of Symbol 65 MovieClip "eyeLeft" in Symbol 75 MovieClip Frame 1
onClipEvent (load) {
if (this._name == "eye") {
this._visible = 0;
}
origin_x = 0;
origin_y = 0;
regular_size = 100;
d = _root.topd;
trans = (Math.PI/180);
x = -20;
y = -50;
z = -10;
dir = 1;
}
onClipEvent (enterFrame) {
if (this._name != "eye") {
y = _parent.body10.y - _parent.body10._height;
rotation_angle_x = 0;
rotation_angle_y = _root.rotation_angle;
rotation_angle_z = 0;
sin_a = Math.sin(Number(rotation_angle_x) * trans);
cos_a = Math.cos(Number(rotation_angle_x) * trans);
sin_b = Math.sin(Number(rotation_angle_y) * trans);
cos_b = Math.cos(Number(rotation_angle_y) * trans);
sin_c = Math.sin(Number(rotation_angle_z) * trans);
cos_c = Math.cos(Number(rotation_angle_z) * trans);
z = z + _root.inc_z;
rx1 = x;
ry1 = (y * cos_a) - (z * sin_a);
rz1 = (z * cos_a) + (y * sin_a);
rx2 = (rx1 * cos_b) - (rz1 * sin_b);
ry2 = ry1;
rz2 = (rz1 * cos_b) + (rx1 * sin_b);
rx3 = (rx2 * cos_c) - (ry2 * sin_c);
ry3 = (ry2 * cos_c) + (rx2 * sin_c);
rz3 = rz2;
perspective_ratio = d / (d + z);
perspective_x = x * perspective_ratio;
perspective_y = y * perspective_ratio;
x = rx3;
y = ry3;
z = rz3;
this._x = origin_x + perspective_x;
this._y = origin_y + perspective_y;
this._xscale = (((regular_size * perspective_ratio) + (-50 + _root.pngEyes)) + _root.eyeRound) * dir;
this._yscale = (regular_size * perspective_ratio) + (-50 + _root.pngEyes);
this._rotation = x * 0.4;
this.swapDepths(-z);
if (z > (_parent.body10.z + 100)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
}
Instance of Symbol 68 MovieClip "hand" in Symbol 75 MovieClip Frame 1
onClipEvent (load) {
if (this._name == "hand") {
this._visible = 0;
}
origin_x = 0;
origin_y = 0;
regular_size = 100;
d = 350;
_root.topd = 350;
trans = (Math.PI/180);
}
onClipEvent (enterFrame) {
if (this._name != "hand") {
if (_root.defend == 11) {
this.gotoAndStop(2);
}
if (Math.abs(_root.targetx - _parent.pingo._x) > 200) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
y = (-_parent.body10._height) + 50;
rotation_angle = _root.rotation_angle;
sin_angle = Math.sin(Number(rotation_angle) * trans);
cos_angle = Math.cos(Number(rotation_angle) * trans);
z = z + _root.inc_z;
rotated_x = (x * cos_angle) - (z * sin_angle);
rotated_z = (z * cos_angle) + (x * sin_angle);
d = _root.topd;
perspective_ratio = d / (d + z);
x = rotated_x;
z = rotated_z;
perspective_x = x * perspective_ratio;
perspective_y = y * perspective_ratio;
this._visible = _parent.hand;
this.stretch = Math.abs(_parent.speedy);
this._x = (origin_x + perspective_x) + _root.exs;
this._y = (origin_y + perspective_y) - this.stretch;
this._xscale = ((regular_size * perspective_ratio) * dir) + (_root.pngHands * 2);
this._yscale = (regular_size * perspective_ratio) + (_root.pngHands * 2);
_alpha = (100 * perspective_ratio);
this._rotation = (-_parent._parent.speedy) * 2;
this.swapDepths(-z);
}
}
Symbol 79 MovieClip Frame 1
_root.pngTorso = 5;
Instance of Symbol 13 MovieClip "pin" in Symbol 79 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
this.fri = 0.3;
this.acc = 500;
this.ox = this._x;
this.dirx = 1;
this._x = this.ox;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
this._x = this._x + (speedx * 0.5);
difx = (this.ox - this._x) + (_root.fle * this.dirx);
if (difx > 0) {
xaccel = (difx * difx) / this.acc;
} else {
xaccel = (-(difx * difx)) / this.acc;
}
speedx = (speedx + xaccel) * this.fri;
}
Instance of Symbol 27 MovieClip "pop" in Symbol 79 MovieClip Frame 18
onClipEvent (load) {
_alpha = 100;
this.fri = 0.7;
this.acc = 500;
this.ox = this._x;
this.dirx = 1;
this._x = this.ox + (this.dirx * 400);
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
this._x = this._x + speedx;
if (this.hitTest(_parent.pin)) {
_parent.pin.speedx = speedx;
speedx = speedx * -1;
}
difx = (this.ox - this._x) + (_root.fle * this.dirx);
if (difx > 0) {
xaccel = (difx * difx) / this.acc;
} else {
xaccel = (-(difx * difx)) / this.acc;
}
speedx = (speedx + xaccel) * this.fri;
}
Instance of Symbol 75 MovieClip "pingo" in Symbol 79 MovieClip Frame 43
onClipEvent (load) {
eyeLidBottom = 30;
eyeLidTop = -30;
blinkSpeed = 0.2;
blinkFreq = 45;
ox = _x;
}
onClipEvent (enterFrame) {
if (_x != ox) {
ex = (ox - _x) * 0.3;
_root.exs = ex * -3;
_x = (_x + ex);
}
if (random(blinkFreq) < 3) {
blink();
}
_root.rot = -(_root.targetx - _parent.pingo._x);
}
Symbol 79 MovieClip Frame 48
_root.targetx = _parent.pingo._y - 20;
_root.pngJoy = 80;
Symbol 79 MovieClip Frame 74
_root.targetx = _parent.pingo._y - 150;
_root.pngJoy = 1;
Symbol 79 MovieClip Frame 114
_root.targetx = _parent.pingo._y + 10;
_root.targety = 200;
Symbol 79 MovieClip Frame 118
pingo.eyeLidBottom = 10;
pingo.eyeLidTop = -10;
Symbol 79 MovieClip Frame 131
_root.targetx = _parent.pingo._y - 20;
Symbol 79 MovieClip Frame 132
pingo.eyeLidBottom = 35;
pingo.eyeLidTop = -10;
Symbol 79 MovieClip Frame 143
pingo._x = pingo._x - 10;
_root.pngTorso = 20;
Symbol 79 MovieClip Frame 145
pingo._x = pingo._x + 20;
Symbol 79 MovieClip Frame 150
_root.pngAnger = 1;
pingo.eyeLidBottom = 31;
pingo.eyeLidTop = -31;
Instance of Symbol 78 MovieClip in Symbol 79 MovieClip Frame 150
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 5);
}
}
Symbol 79 MovieClip Frame 169
_root.pngTorso = 10;
_root.targetx = _parent.pingo._y - 70;
_root.pngJoy = 40;
_root.targety = 0;
Symbol 79 MovieClip Frame 178
_root.targetx = _parent.pingo._y - 50;
Symbol 79 MovieClip Frame 216
if (_root.cont == 1) {
_root.cont = 0;
}
play();
Symbol 79 MovieClip Frame 230
gotoAndPlay (150);
Symbol 102 Button
on (release) {
_root.gox();
}
Symbol 115 MovieClip Frame 1
theTime = new Date();
startTime = theTime.getTime();
targetTime = startTime + 1000;
Symbol 115 MovieClip Frame 3
updated = new Date();
currentTime = updated.getTime();
if (currentTime > targetTime) {
_root.te = _root.te + 1;
_root.remain = _root.remain - 1;
gotoAndPlay (1);
}
Symbol 115 MovieClip Frame 5
gotoAndPlay (3);
Symbol 118 MovieClip Frame 5
stop();
Symbol 118 MovieClip Frame 9
stop();
Symbol 118 MovieClip Frame 13
stop();
Symbol 118 MovieClip Frame 17
stop();
Symbol 118 MovieClip Frame 21
stop();
Symbol 118 MovieClip Frame 25
stop();
Symbol 120 MovieClip Frame 1
stop();
Instance of Symbol 118 MovieClip in Symbol 120 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(1);
}
Symbol 120 MovieClip Frame 2
stop();
Instance of Symbol 118 MovieClip in Symbol 120 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndPlay(6);
}
Symbol 120 MovieClip Frame 3
stop();
Instance of Symbol 118 MovieClip in Symbol 120 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndPlay(10);
}
Symbol 120 MovieClip Frame 4
stop();
Instance of Symbol 118 MovieClip in Symbol 120 MovieClip Frame 4
onClipEvent (load) {
this.gotoAndPlay(14);
}
Symbol 120 MovieClip Frame 5
stop();
Instance of Symbol 118 MovieClip in Symbol 120 MovieClip Frame 5
onClipEvent (load) {
this.gotoAndPlay(18);
}
Symbol 120 MovieClip Frame 6
stop();
Instance of Symbol 118 MovieClip in Symbol 120 MovieClip Frame 6
onClipEvent (load) {
this.gotoAndPlay(22);
}
Symbol 120 MovieClip Frame 7
gotoAndStop (1);
Symbol 122 MovieClip Frame 1
stop();
var i = 0;
while (i < 4) {
duplicateMovieClip ("shard", "shard" + i, i);
target = eval ("shard" + i);
target._x = target._x + (random(20) - 10);
target._y = target._y + (random(30) - 15);
i++;
}
Instance of Symbol 121 MovieClip "shard" in Symbol 122 MovieClip Frame 1
onClipEvent (load) {
xspeed = random(16) - 8;
yspeed = (-random(10)) - 5;
_xscale = (random(120) + 20);
_yscale = _xscale;
bv = 130;
}
onClipEvent (enterFrame) {
yspeed = yspeed + 1;
_rotation = ((Math.atan2(yspeed, xspeed) * 360) / Math.PI);
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_y > (bv + (_height / 2))) {
_y = (bv + (_height / 2));
yspeed = (-yspeed) * 0.3;
xspeed = xspeed * 0.3;
}
if ((_x > 180) or (_x < -180)) {
bv = 300;
}
}
Symbol 127 MovieClip Frame 26
_root.score = _root.score + 100;
Symbol 127 MovieClip Frame 59
stop();
Symbol 128 MovieClip Frame 1
stop();
_root.fr = 0;
Instance of Symbol 120 MovieClip "bolt" in Symbol 128 MovieClip Frame 1
onClipEvent (load) {
this.freeze = 0;
this.gotoAndPlay(random(this._totalframes - 1) + 1);
}
onClipEvent (mouseDown) {
if (((this.hitTest(_root._xmouse, _root._ymouse, true) == 1) and (this.freeze == 0)) and (_root.timeup == 0)) {
this.stop();
this.freeze = 1;
} else if ((this.hitTest(_root._xmouse, _root._ymouse, true) == 1) and (this.freeze == 1)) {
this.freeze = 0;
if (this._xscale > 99) {
this.play();
}
}
}
onClipEvent (enterFrame) {
if (freeze == 1) {
if (this._xscale > 75) {
this._xscale = this._xscale - 5;
}
} else if (this.freeze == 0) {
if (this._xscale < 100) {
this._xscale = this._xscale + 5;
}
}
this._yscale = this._xscale;
}
onClipEvent (enterFrame) {
if ((_root.rnd == 0) and (this.freeze == 0)) {
this.play();
}
}
Symbol 128 MovieClip Frame 2
stop();
if (_root.win == 1) {
_root.remain = 0;
_root.win = 0;
_root.fr = 1;
}
Instance of Symbol 127 MovieClip in Symbol 128 MovieClip Frame 2
onClipEvent (load) {
this.fri = 0.5;
this.acc = 600 + random(400);
this.ox = this._x;
this.dirx = -1;
this._x = this.ox + (this.dirx * _root.flee);
}
onClipEvent (enterFrame) {
this.fri = _root.fri;
this._x = this._x + speedx;
difx = (this.ox - this._x) + (_root.fle * this.dirx);
if (difx > 0) {
xaccel = (difx * difx) / this.acc;
} else {
xaccel = (-(difx * difx)) / this.acc;
}
speedx = (speedx + xaccel) * this.fri;
}
Symbol 129 MovieClip Frame 1
stop();
_root.invulnerable = 0;
_root.sticky = 0;
_root.dropSpeed = 5;
_root.glammax = 1;
_root.shittymax = 1;
_root.submax = 1;
_root.health = 12;
_root.maxHealth = 16;
_root.subgoal = 1;
_root.shittygoal = 1;
_root.glamgoal = 1;
_root.shittyend = 0;
_root.glamend = 0;
_root.goal = 1;
_root.amount = 5 + (_root.goal * 5);
_root.flee = 300;
_root.fri = 0.7;
_root.star = random(5) + 1;
i = 1;
while (i < _root.lev) {
pix.duplicateMovieClip("pix" + i, i);
this["pix" + i]._x = i * this["pix" + i]._width;
this["pix" + i].left = "pix" + (i - 1);
this["pix" + i].right = "pix" + (i + 1);
trace("pix" + i);
i++;
}
Instance of Symbol 128 MovieClip "pix" in Symbol 129 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_parent[left].bolt._currentframe == bolt._currentframe) and (_parent[left].bolt.freeze == 1)) and ((_parent[right].bolt._currentframe == bolt._currentframe) and (_parent[right].bolt.freeze == 1))) {
bolt.freeze = 1;
bolt.aa._alpha = 40;
if (this.halt == 0) {
_root.dingsound.start(0, 1);
this.halt = 1;
_root.click = _root.click + 1;
_root.score = _root.score + 50;
}
} else {
if (this.halt == 1) {
this.halt = 0;
_root.click = _root.click - 1;
}
bolt.aa._alpha = 100;
}
}
onClipEvent (load) {
this.halt = 0;
}
onClipEvent (enterFrame) {
if (_root.win == 1) {
this.gotoAndPlay(2);
}
}
onClipEvent (load) {
if (this._name == "pix") {
this._alpha = 0;
}
}
Symbol 134 MovieClip Frame 1
zoom = 100;
info.autosize = "left";
choices = SharedObject.getLocal("zymbols_ini");
if (choices == null) {
choices = "click here";
}
name = choices.data.name;
if (name < _root.score) {
choices.data.name = _root.score;
}
saveresult = choices.flush();
if (saveresult == true) {
trace("saved");
} else {
trace("save failed");
}
info.text = name;
trace(info.type);
trace(info.backgroundColor);
trace(info.textColor);
trace(info.length);
trace(info.textHeight);
trace(info.textWidth);
Symbol 149 MovieClip Frame 1
_root.click = 0;
_root._quality = "low";
_root.remain = 10 + _root.lev;
_root.shp = random(5) + 1;
if (_root.win == 1) {
_root.win = 0;
gotoAndPlay (3);
}
Instance of Symbol 115 MovieClip "timer" in Symbol 149 MovieClip Frame 1
onClipEvent (load) {
_root.te = 0;
}
Instance of Symbol 129 MovieClip in Symbol 149 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.fr == 0) {
this._x = -(this._width / 2);
}
if ((this._width > 700) and (_root.fr == 0)) {
this._xscale = this._xscale - (1 * (this._xscale / 10));
this._yscale = this._xscale;
}
}
onClipEvent (enterFrame) {
_root.rnd = _root.rnd + 1;
if (_root.rnd > _root.span) {
_root.rnd = 0;
}
}
Instance of Symbol 131 MovieClip in Symbol 149 MovieClip Frame 1
onClipEvent (load) {
_root.span = 35 - (_root.lev * 1);
if (_root.span < 25) {
_root.span = 25;
}
}
onClipEvent (enterFrame) {
_root.levx = _root.lev - 3;
if (_root.scr < _root.score) {
_root.coinsound.start(0, 1);
_root.scr = _root.scr + 25;
}
if (_root.click == (_root.lev - 3)) {
_root.win = 1;
if (_root.success == 0) {
_root.success = 1;
_root.successsound.start(0, 1);
}
}
if (_root.remain < -3) {
_parent.gotoAndPlay(3);
_root.lev = 3;
_root.remain = 1;
}
}
Instance of Symbol 134 MovieClip "mCinfo" in Symbol 149 MovieClip Frame 1
onClipEvent (enterFrame) {
_xscale = (_xscale + ((zoom - _xscale) * 0.5));
_yscale = _xscale;
}
Instance of Symbol 138 MovieClip in Symbol 149 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.remain < 0) {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 142 MovieClip in Symbol 149 MovieClip Frame 1
onClipEvent (enterFrame) {
this._visible = 1 - _root.win;
}
Instance of Symbol 144 MovieClip in Symbol 149 MovieClip Frame 1
onClipEvent (load) {
_root.timeup = 0;
this.fri = 0.8;
this.acc = 900 + random(200);
this.ox = this._x;
this.dirx = -1;
this._x = this.ox + (this.dirx * 800);
}
onClipEvent (enterFrame) {
if ((_root.remain < 0) and (_root.fr == 0)) {
_root.timeup = 1;
this._x = this._x + speedx;
if (_root.success == 0) {
_root.success = 1;
_root.endsound.start(0, 1);
}
}
difx = (this.ox - this._x) + (_root.fle * this.dirx);
if (difx > 0) {
xaccel = (difx * difx) / this.acc;
} else {
xaccel = (-(difx * difx)) / this.acc;
}
speedx = (speedx + xaccel) * this.fri;
}
Symbol 149 MovieClip Frame 2
stop();
prevFrame();
Symbol 149 MovieClip Frame 3
if (_root.timeup == 0) {
_root.lev = _root.lev + 1;
}
if (_root.timeup == 1) {
_root.lev = 4;
_root.timeup = 0;
}
_root.levx = _root.lev - 3;
_root._quality = "medium";
Instance of Symbol 148 MovieClip in Symbol 149 MovieClip Frame 4
onClipEvent (load) {
this.fri = 0.5;
this.acc = 900 + random(200);
this.ox = this._x;
this.dirx = -1;
this._x = this.ox + (this.dirx * _root.flee);
}
onClipEvent (enterFrame) {
this.fri = _root.fri;
this._x = this._x + speedx;
difx = (this.ox - this._x) + (_root.fle * this.dirx);
if (difx > 0) {
xaccel = (difx * difx) / this.acc;
} else {
xaccel = (-(difx * difx)) / this.acc;
}
speedx = (speedx + xaccel) * this.fri;
}
Symbol 149 MovieClip Frame 5
_root.success = 0;
_root.nextsound.start(0, 1);