Combined Code
movieClip 4 {
}
movieClip 5 {
}
movieClip 8 life {
frame 1 {
stop();
}
frame 2 {
play();
}
frame 9 {
stop();
}
frame 18 {
this.removeMovieClip();
stop();
}
frame 28 {
this.removeMovieClip();
stop();
}
}
frame 1 {
_global.mixiGameName = 'maohelaoshu_youeryuanII';
_global.y1LogoCanGo = true;
_global.y1LogoCanPlay = true;
_global.shenmayouxiGZS = false;
stopAllSounds();
if (_global.Gameited) {
play();
} else {
stop();
}
_global.Gameited = true;
}
frame 1 {
stop();
}
button 10 {
on (release) {
_global.getMorePlay(1);
}
}
// unknown tag 88 length 64
movieClip 22 {
}
movieClip 25 {
}
movieClip 26 {
}
movieClip 27 {
frame 60 {
gotoAndPlay(40);
}
}
movieClip 29 {
}
movieClip 30 {
}
movieClip 31 {
frame 132 {
stop();
_global.mixiPlayLoading = true;
}
}
movieClip 34 {
}
// unknown tag 88 length 63
movieClip 38 {
frame 1 {
var _this = this;
_this._visible = false;
if (!_global.MinMixiPlayLoadingTimes) {
_global.MinMixiPlayLoadingTimes = 100;
}
if (!_global.MaxMixiPlayLoadingwWidth) {
_global.MaxMixiPlayLoadingwWidth = 227;
}
_this.PlayLoadingi = 0;
_this.onEnterFrame = function () {
if (!_global.mixiPlayLoading) {
return undefined;
}
if (_this.PlayLoadingi == 0) {
_this._visible = true;
}
++_this.PlayLoadingi;
var v5 = (PlayLoadingi / _global.MinMixiPlayLoadingTimes) * 100;
var v6 = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (v5 > v6) {
v5 = v6;
}
loadingw._width = 227 * v5 / 100;
loadingt.text = v5 + '%';
if (v5 >= 100) {
_parent.play();
delete this.onEnterFrame;
}
};
stop();
}
}
// unknown tag 88 length 78
button 43 {
on (release) {
_root.play();
}
}
movieClip 44 {
frame 1 {
stop();
_global.getMorePlay = function (a) {
var v2 = '?f=' + _global.mixiGameName;
if (a) {
v2 += '_a';
}
getURL('http://www.mixiplay.com/' + v2, '_blank');
};
}
frame 40 {
stop();
}
}
frame 2 {
function fsdPlayAgain() {
if (c.quiting) {
quitScreen.gotoAndStop();
}
doge.unloadMovie();
dogeCache.gotoAndPlay('close');
stopAllSounds();
gotoAndStop(19);
}
this.tabEnabled = false;
stop();
_global.fixedDigit = function (value, nbDigit) {
tempValue = String(value);
finalValue = tempValue;
fd = tempValue.length;
while (fd < nbDigit) {
finalValue = '0' + finalValue;
++fd;
}
return finalValue;
};
if (_global.b == null) {
_global.b = new Object();
AsBroadcaster.initialize(_global.b);
}
_global.APE = function (obj, frameEIN) {
obj.frameE = frameEIN;
if (c.gamePaused) {
obj.stop();
}
obj.pf = true;
b.addListener(obj);
obj.onPause = function () {
obj.stop();
};
obj.onPlay = function () {
if (obj._currentframe >= obj.frameE) {
obj.play();
}
};
obj.onUnload = function () {
b.removeListener(obj);
};
};
var dogeURL = '';
var eventID = '';
var subject = '';
var playerScore = 0;
_root.persoLife = 0;
_root.scoreGiveTime = 1;
_root.scoreGiveHealth = 1;
_root.scoreGiveLife = 1;
_root.score = 0;
_root.KimAge = 0;
_root.persoFullHealth = 30;
stopAllSounds();
gotoAndStop(7);
}
movieClip 48 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 50 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 52 {
}
movieClip 54 {
}
movieClip 55 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
gotoAndPlay(c.myRand(2, 30));
}
frame 56 {
stop();
b.removeListener(this);
}
}
movieClip 56 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
gotoAndPlay(c.myRand(2, 30));
}
frame 56 {
stop();
b.removeListener(this);
}
}
movieClip 57 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
gotoAndPlay(c.myRand(2, 30));
}
frame 56 {
stop();
b.removeListener(this);
}
}
movieClip 58 {
frame 1 {
gotoAndStop(_parent.cuddle);
stop();
}
}
movieClip 60 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
_visible = false;
}
frame 2 {
if (perso.persoBody.hitTest(this)) {
_parent._visible = true;
c.setDamage(_parent._name, 1);
_root.score += _parent.value;
trace('+++++');
_parent.gotoAndStop('out');
}
}
frame 3 {
call(2);
}
frame 6 {
gotoAndPlay(3);
}
}
movieClip 62 {
frame 1 {
if (pf == undefined) {
APE(this, 2);
}
_visible = false;
if (_parent.wait == 0) {
stop();
} else {
if (_parent.wait == undefined) {
_parent.wait = 0;
}
}
var numTot = 100 + _parent.wait + c.myRand(10, 200);
var numCur = numTot;
var invTot = 2;
var invCur = 0;
var invLast = numTot / 3;
}
frame 2 {
if (invCur > 0) {
--invCur;
if (invCur <= 0) {
_parent._visible = true;
}
} else {
if (numCur > 0) {
--numCur;
if (numCur == Math.floor(invLast / 2)) {
invLast = numCur;
_parent._visible = false;
invCur = invTot;
}
} else {
c.setDamage(_parent._name, 1);
_parent.swapDepths(10000);
_parent.removeMovieClip();
}
}
}
frame 3 {
call(2);
}
frame 4 {
gotoAndPlay(3);
}
}
movieClip 63 {
}
movieClip 64 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 7 {
stop();
}
}
// unknown tag 88 length 96
movieClip 67 {
}
movieClip 68 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
instance of movieClip 67 {
onClipEvent (load) {
_visible = false;
}
}
frame 27 {
stop();
}
}
movieClip 69 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 26 {
_parent.swapDepths(1001);
_parent.removeMovieClip();
stop();
}
}
movieClip 70 {
}
movieClip 71 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 7 {
stop();
}
}
movieClip 72 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 26 {
_parent.swapDepths(1001);
_parent.removeMovieClip();
stop();
}
}
movieClip 74 {
}
movieClip 76 {
}
movieClip 78 {
}
movieClip 80 {
}
movieClip 82 {
}
movieClip 84 {
}
movieClip 85 {
}
movieClip 86 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 7 {
stop();
}
}
movieClip 87 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 26 {
_parent.swapDepths(1001);
_parent.removeMovieClip();
stop();
}
}
movieClip 88 {
frame 1 {
gotoAndStop(_parent.cuddle);
stop();
}
}
movieClip 89 {
frame 1 {
stop();
if (value == undefined) {
switch (cuddle) {
case 1:
value = 250;
break;
case 2:
value = 500;
break;
case 3:
value = 750;
break;
default:
cuddle = 1;
value = 250;
}
}
if (c.getDamage(_name) >= 1) {
gotoAndStop(3);
}
}
frame 2 {
s1.gotoAndPlay('cuddle');
}
}
movieClip 91 {
frame 1 {
_visible = false;
}
}
movieClip 95 {
frame 1 {
_visible = false;
}
}
movieClip 97 {
}
movieClip 98 {
frame 2 {
if (pf == undefined) {
APE(this, 2);
}
_yscale = c.myRand(100, 180);
_xscale = c.myRand(100, 180);
gotoAndPlay(c.myRand(3, 30));
}
frame 58 {
gotoAndPlay(2);
}
}
movieClip 99 {
frame 1 {
if (_parent._parent._parent.dir == 1) {
_xscale = -_xscale;
}
}
}
movieClip 100 {
frame 1 {
stop();
if (pf == undefined) {
APE(this, 2);
}
}
frame 10 {
stop();
b.removeListener(this);
}
}
movieClip 101 {
frame 1 {
stop();
if (pf == undefined) {
APE(this, 2);
}
}
frame 10 {
stop();
b.removeListener(this);
}
}
movieClip 102 {
frame 1 {
stop();
if (pf == undefined) {
APE(this, 2);
}
}
frame 10 {
stop();
b.removeListener(this);
}
}
movieClip 103 {
frame 1 {
stop();
}
}
movieClip 104 {
frame 1 {
APE(this, 0);
sleeper.gotoAndStop(genSleep);
}
frame 2 {
if (perso.persoBody.hitTest(hitZone) && !c.persoIsDying) {
c.damage(_root.persoHealth);
c.persoXSpeed = 0;
c.persoYSpeed = -10;
c.persoIsDying = true;
c.persoIsInPain = true;
c.persoAnim('death');
sleeper.sleeper.gotoAndPlay('play');
stop();
}
}
frame 3 {
call(2);
}
frame 6 {
gotoAndPlay(3);
}
}
movieClip 105 BGHit_l1_1 {
instance cuddle_112 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
instance sleeper_1 of movieClip 104 {
onClipEvent (load) {
genSleep = 1;
}
}
instance sleeper_2 of movieClip 104 {
onClipEvent (load) {
genSleep = 3;
dir = 1;
}
}
instance cuddle_111 of movieClip 89 {
onClipEvent (load) {
cuddle = 2;
}
}
instance cuddle_113 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
}
movieClip 109 {
}
movieClip 111 {
frame 1 {
stop();
APE(this, 2);
}
frame 9 {
stop();
APE(this, 10);
}
}
movieClip 113 {
}
movieClip 114 {
frame 1 {
stop();
APE(this, 2);
}
frame 9 {
stop();
APE(this, 10);
}
}
movieClip 116 {
}
movieClip 118 {
}
movieClip 119 {
}
movieClip 121 {
}
movieClip 124 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
_visible = false;
}
frame 2 {
if (perso.hitTest(_parent.hitBallon) && !c.persoIsJumping && _parent.hitBallon._y + _parent._parent._y + 60 > perso._y) {
switch (pushDir) {
case 'left':
if (Key.isDown(37) && _parent.hitBallon._x < perso._x - _parent._parent._x) {
var goForIt = true;
} else {
var goForIt = false;
}
break;
case 'right':
if (Key.isDown(39) && _parent.hitBallon._x > perso._x - _parent._parent._x) {
var goForIt = true;
} else {
var goForIt = false;
}
break;
default:
var goForIt = true;
}
if (goForIt) {
c.persoXSpeed = 0;
if (c.persoIsFalling) {
c.persoYSpeed = 0;
c.persoAnim('land');
}
_parent.play();
}
}
}
frame 3 {
call(2);
}
frame 4 {
gotoAndPlay(3);
}
}
movieClip 126 {
frame 1 {
_visible = false;
_parent.hitBallon = this;
}
}
movieClip 129 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
_visible = false;
}
frame 2 {
if (perso.persoFeet.hitTest(this) && c.persoIsFalling) {
_parent.gotoAndPlay('play');
c.persoYSpeed = -_parent.maxJump;
c.persoAnim('jump');
c.persoIsJumping = true;
c.persoIsFalling = false;
}
}
frame 3 {
call(2);
}
frame 4 {
gotoAndPlay(3);
}
}
movieClip 130 {
frame 1 {
stop();
if (pf == undefined) {
APE(this, 2);
}
}
}
movieClip 131 {
frame 1 {
stop();
APE(this, 2);
}
instance of movieClip 124 {
onClipEvent (load) {
pushDir = 'right';
}
}
frame 13 {
stop();
APE(this, 14);
}
instance of movieClip 124 {
onClipEvent (load) {
pushDir = 'right';
}
}
frame 36 {
stop();
APE(this, 37);
}
instance of movieClip 124 {
onClipEvent (load) {
pushDir = 'right';
}
}
frame 50 {
stop();
b.removeListener(this);
}
instance of movieClip 130 {
onClipEvent (load) {
jumpFactor = 2.2;
maxJump = 24;
}
}
}
movieClip 133 {
}
movieClip 136 {
}
movieClip 138 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
_visible = false;
}
frame 2 {
if (perso.persoBody.hitTest(this)) {
speed = Math.abs(c.persoXSpeed);
if (Key.isDown(39) && _parent.curX <= _parent.maxX && perso._x + _parent._parent._parent._x < _parent._x) {
if (_parent.curX + speed > _parent.maxX) {
speed = _parent.curX + speed - _parent.maxX;
}
_parent.curX += speed;
c.persoXSpeed = Math.round(c.persoXSpeed * 0.7);
_parent._x += speed;
_parent._parent.hitZoneX[_parent._name]._x += speed;
_parent._parent.hitZoneY[_parent._name]._x += speed;
} else {
if (Key.isDown(37) && _parent.curX >= 0 && perso._x + _parent._parent._parent._x > _parent._x) {
if (_parent.curX - speed < 0) {
speed = _parent.curX;
}
_parent.curX -= speed;
c.persoXSpeed = Math.round(c.persoXSpeed * 0.7);
_parent._x -= speed;
_parent._parent.hitZoneX[_parent._name]._x -= speed;
_parent._parent.hitZoneY[_parent._name]._x -= speed;
}
}
}
}
frame 3 {
call(2);
}
frame 4 {
gotoAndPlay(3);
}
}
movieClip 139 {
frame 1 {
_parent.hitZoneX.attachMovie('block_x', _name, num);
_parent.hitZoneX[_name]._x = _x;
_parent.hitZoneX[_name]._y = _y + 30;
_parent.hitZoneX[_name]._xscale = _xscale - 20;
_parent.hitZoneX[_name]._yscale = _yscale;
_parent.hitZoneY.attachMovie('block_y', _name, num);
_parent.hitZoneY[_name]._x = _x;
_parent.hitZoneY[_name]._y = _y + 30;
_parent.hitZoneY[_name]._yscale = _xscale;
_parent.hitZoneY[_name]._xscale = _parent.hitZoneY[_name]._yscale;
}
}
movieClip 141 {
frame 1 {
if (!c.secretDiscovered) {
if (pf == undefined) {
APE(this, 0);
}
} else {
this.swapDepths(10000);
this.removeMovieClip();
}
_visible = false;
}
frame 2 {
if (perso.persoBody.hitTest(this)) {
s1.gotoAndPlay('secret');
c.secretInX = _x + _parent._x;
c.secretInY = _y + _parent._y;
stop();
b.removeListener(this);
c.persoIsBusy = true;
_parent.secretDoor.swapDepths(10000);
_parent.secretDoor.removeMovieClip();
_parent.portalIn.gotoAndPlay('in');
}
}
frame 4 {
call(2);
}
frame 5 {
gotoAndPlay(3);
}
}
movieClip 154 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 18 {
stop();
b.removeListener(this);
}
}
movieClip 161 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
}
movieClip 162 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 19 {
stop();
b.removeListener(this);
}
}
movieClip 164 {
frame 1 {
if (pf == undefined) {
APE(this, 2);
}
if (justPlay) {
gotoAndPlay(48);
} else {
stop();
}
}
frame 24 {
c.persoIsBusy = false;
c.secretIn();
gotoAndStop(1);
}
frame 47 {
c.persoIsBusy = false;
_parent.portalIn.gotoAndPlay('play');
c.secretOut();
gotoAndStop(1);
}
frame 70 {
justPlay = false;
gotoAndStop(1);
}
}
movieClip 166 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 169 {
frame 2 {
a = 0;
while (a < tabP.length) {
if (perso.persoFeet.hitTest(_parent[tabP[a] + '_hitZone']) && (_parent[tabP[a] + '_hitZone']._currentframe == 1 || _parent[tabP[a] + '_hitZone']._currentframe > frameDown) && !c.persoIsJumping) {
_parent._parent[tabP[a] + '_anim'].gotoAndPlay('play');
_parent[tabP[a] + '_hitZone'].gotoAndPlay('play');
} else {
if (_parent[tabP[a] + '_hitZone']._currentframe == frameDown && !perso.persoFeet.hitTest(_parent[tabP[a] + '_hitZone'])) {
_parent._parent[tabP[a] + '_anim'].gotoAndPlay('play2');
_parent[tabP[a] + '_hitZone'].gotoAndPlay('play2');
}
}
++a;
}
}
frame 3 {
call(2);
}
frame 4 {
gotoAndPlay(3);
}
}
movieClip 183 {
frame 1 {
stop();
APE(this, 2);
}
frame 9 {
stop();
APE(this, 10);
}
}
movieClip 195 {
frame 1 {
stop();
APE(this, 2);
}
frame 9 {
stop();
APE(this, 10);
}
}
movieClip 196 {
frame 1 {
_visible = false;
}
instance f1 of movieClip 169 {
onClipEvent (load) {
tabP = ['f1', 'f2'];
frameDown = 9;
}
}
}
movieClip 199 {
}
movieClip 200 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
_visible = false;
}
frame 2 {
if (perso.persoBody.hitTest(this)) {
stop();
b.removeListener(this);
c.persoIsBusy = true;
_parent.portal.gotoAndPlay('out');
}
}
frame 4 {
call(2);
}
frame 5 {
gotoAndPlay(3);
}
}
movieClip 202 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 204 {
frame 1 {
_visible = false;
}
}
movieClip 205 BGHit_l1_2 {
frame 1 {
stop();
}
instance cuddle_121 of movieClip 89 {
onClipEvent (load) {
cuddle = 3;
}
}
instance cuddle_122 of movieClip 89 {
onClipEvent (load) {
cuddle = 2;
}
}
instance block_241 of movieClip 139 {
onClipEvent (load) {
maxX = 60;
curX = 0;
num = 1;
if (!c.secretDiscovered) {
this.onEnterFrame = function () {
if (curX >= maxX - 1) {
_parent.entrance.play();
this.onEnterFrame = null;
}
};
}
}
}
instance entrance of movieClip 141 {
onClipEvent (load) {
stop();
}
}
instance cuddle_1S1 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
instance cuddle_1S2 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
instance cuddle_1S7 of movieClip 89 {
onClipEvent (load) {
cuddle = 3;
}
}
instance cuddle_1S6 of movieClip 89 {
onClipEvent (load) {
cuddle = 2;
}
}
instance cuddle_1S5 of movieClip 89 {
onClipEvent (load) {
cuddle = 2;
}
}
instance cuddle_1S3 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
instance cuddle_1S4 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
instance entrance of movieClip 199 {
onClipEvent (load) {
perso._x = _x + _parent._x;
perso._y = _y + _parent._y;
}
}
instance of movieClip 164 {
onClipEvent (load) {
justPlay = true;
}
}
}
movieClip 208 {
frame 1 {
stop();
APE(this, 2);
}
instance of movieClip 124 {
onClipEvent (load) {
pushDir = 'right';
}
}
frame 16 {
stop();
APE(this, 17);
}
instance of movieClip 124 {
onClipEvent (load) {
pushDir = 'right';
}
}
frame 27 {
stop();
b.removeListener(this);
}
instance ballBounce of movieClip 130 {
onClipEvent (load) {
jumpFactor = 2.2;
maxJump = 35;
}
}
}
movieClip 210 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 212 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 213 BGHit_l1_3 {
instance cuddle_133 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
instance cuddle_131 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
instance cuddle_132 of movieClip 89 {
onClipEvent (load) {
cuddle = 2;
}
}
instance cuddle_134 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
}
movieClip 217 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 219 {
frame 1 {
_visible = false;
stop();
}
instance f1 of movieClip 169 {
onClipEvent (load) {
tabP = ['f1', 'f2'];
frameDown = 9;
}
}
}
movieClip 220 BGHit_l1_4 {
instance cuddle_141 of movieClip 89 {
onClipEvent (load) {
cuddle = 2;
}
}
instance of movieClip 104 {
onClipEvent (load) {
genSleep = 2;
}
}
instance of movieClip 104 {
onClipEvent (load) {
genSleep = 3;
}
}
instance of movieClip 104 {
onClipEvent (load) {
genSleep = 1;
dir = 1;
}
}
instance cuddle_142 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
}
movieClip 224 {
}
movieClip 225 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
_visible = false;
}
frame 2 {
if (perso.persoBody.hitTest(this)) {
c.persoIsBusy = true;
c.persoIsInvisible = true;
c.persoAnim('invisible');
_parent.gotoAndPlay('contact');
}
}
frame 3 {
call(2);
}
frame 4 {
gotoAndPlay(3);
}
}
movieClip 233 {
frame 7 {
gotoAndPlay(1);
}
}
movieClip 237 {
}
movieClip 239 {
}
movieClip 241 {
frame 1 {
stop();
if (pf == undefined) {
APE(this, 2);
}
}
frame 11 {
call('code');
XSpeed = 15;
YSpeed = -17;
}
instance dot of movieClip 199 {
onClipEvent (load) {
XSpeed = 10;
YSpeed = -12;
}
}
frame 12 {
call('code');
XSpeed = -4;
YSpeed = -10;
}
frame 13 {
call('code');
}
instance dot of movieClip 199 {
onClipEvent (load) {
XSpeed = 0;
YSpeed = -12;
}
}
frame 14 {
call('code');
}
instance dot of movieClip 199 {
onClipEvent (load) {
XSpeed = -6;
YSpeed = -12;
}
}
frame 15 {
call('code');
XSpeed = -8;
YSpeed = -12;
}
instance dot of movieClip 199 {
onClipEvent (load) {
XSpeed = -12;
YSpeed = -14;
}
}
frame 16 {
call('code');
}
frame 17 {
call('code');
XSpeed = -12;
YSpeed = -15;
}
frame 18 {
call('code');
}
instance dot of movieClip 199 {
onClipEvent (load) {
}
}
frame 19 {
call('code');
}
instance dot of movieClip 199 {
onClipEvent (load) {
XSpeed = -12;
YSpeed = -15;
}
}
frame 20 {
call('code');
}
frame 21 {
call('code');
}
instance dot of movieClip 199 {
onClipEvent (load) {
XSpeed = -10;
YSpeed = -12;
}
}
frame 22 {
call('code');
}
frame 23 {
call('code');
}
frame 24 {
call('code');
}
frame 25 {
call('code');
XSpeed = -4;
YSpeed = -10;
}
frame 26 {
call('code');
}
frame 27 {
call('code');
}
instance dot of movieClip 199 {
onClipEvent (load) {
XSpeed = 10;
YSpeed = -15;
}
}
frame 28 {
call('code');
XSpeed = 15;
YSpeed = -17;
}
frame 29 {
call('code');
}
frame 30 {
call('code');
}
instance dot of movieClip 199 {
onClipEvent (load) {
XSpeed = 12;
YSpeed = -15;
}
}
frame 31 {
call('code');
}
instance dot of movieClip 199 {
onClipEvent (load) {
XSpeed = 14;
YSpeed = -15;
}
}
frame 32 {
call('code');
}
instance dot of movieClip 199 {
onClipEvent (load) {
XSpeed = 15;
YSpeed = -15;
}
}
frame 33 {
call('code');
}
frame 34 {
call('code');
}
frame 35 {
call('code');
}
instance dot of movieClip 199 {
onClipEvent (load) {
XSpeed = 14;
YSpeed = -15;
}
}
frame 36 {
call('code');
}
instance dot of movieClip 199 {
onClipEvent (load) {
XSpeed = 12;
YSpeed = -15;
}
}
frame 37 {
call('code');
}
frame 38 {
gotoAndPlay(11);
}
frame 67 {
gotoAndStop(1);
}
frame 68 {
if (Key.isDown(32)) {
c.persoIsInvisible = false;
c.persoIsBusy = false;
c.persoXSpeed = Xspeed;
c.persoYSpeed = Yspeed;
perso._x = dot._x + _x + _parent._x;
perso._y = dot._y + _y + _parent._y;
perso._xscale = Math.abs(perso._xscale);
c.persoAnim('jump');
gotoAndPlay(39);
}
}
}
movieClip 242 {
frame 1 {
stop();
APE(this, 2);
}
instance of movieClip 124 {
onClipEvent (load) {
pushDir = 'left';
}
}
frame 11 {
stop();
b.removeListener(this);
}
instance ballBounce of movieClip 130 {
onClipEvent (load) {
jumpFactor = 2.2;
maxJump = 24;
}
}
}
movieClip 244 {
}
movieClip 246 {
}
movieClip 248 {
}
movieClip 250 {
}
movieClip 252 {
}
movieClip 254 {
}
movieClip 256 {
}
movieClip 257 {
}
movieClip 259 {
frame 1 {
_visible = false;
if (pf == undefined) {
APE(this, 0);
}
}
frame 2 {
if (perso.persoBody.hitTest(this)) {
c.setDamage('draken01', 1);
_parent.gotoAndStop('hit');
}
}
frame 3 {
call(2);
}
frame 4 {
gotoAndPlay(3);
}
}
movieClip 260 {
frame 1 {
_visible = false;
if (pf == undefined) {
APE(this, 0);
}
}
frame 2 {
if (_parent._parent.goAttack) {
_parent.gotoAndPlay('fire');
}
}
frame 5 {
call(2);
}
frame 6 {
gotoAndPlay(3);
}
}
movieClip 261 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 28 {
stop();
_parent.gotoAndStop('gone');
}
}
movieClip 262 {
frame 2 {
if (pf == undefined) {
APE(this, 3);
}
stop();
}
frame 11 {
_parent.ballDrakken.gotoAndPlay('play');
}
frame 29 {
gotoAndStop(2);
}
frame 30 {
b.removeListener(this);
stop();
}
frame 31 {
stop();
}
}
movieClip 265 {
frame 1 {
if (_parent.danger) {
if (pf == undefined) {
APE(this, 2);
}
} else {
stop();
}
}
frame 2 {
if (perso.persoBody.hitTest(this) && !c.persoIsInPain) {
c.persoIsInPain = true;
c.persoAnim('hit');
c.persoXSpeed = -6;
c.persoYSpeed = 0;
c.damage(5);
_parent.gotoAndStop('idle');
}
}
frame 3 {
call(2);
}
frame 4 {
gotoAndPlay(3);
}
}
movieClip 266 {
frame 1 {
if (pf == undefined) {
APE(this, 2);
}
stop();
_parent.goAttack = true;
danger = true;
}
frame 2 {
_parent.goAttack = false;
}
}
movieClip 268 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 270 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 271 BGHit_l1_5 {
instance cuddle_151 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
instance cuddle_152 of movieClip 89 {
onClipEvent (load) {
cuddle = 3;
}
}
instance of movieClip 262 {
onClipEvent (load) {
if (c.getDamage('draken01') >= 1) {
gotoAndStop(1);
}
}
}
}
movieClip 274 {
frame 1 {
if (pf == undefined) {
APE(this, 2);
}
_visible = false;
}
frame 2 {
if (this.hitTest(perso.persoBody) && done == undefined) {
c.setDamage(_parent._name, 1);
++_root.persoLife;
_parent._parent._parent._parent.life.attachMovie('life', 'life_' + _root.persoLife, _root.persoLife);
_parent._parent._parent._parent.life['life_' + _root.persoLife]._x = _root.persoLife * 42;
_parent._parent._parent._parent.life['life_' + _root.persoLife].gotoAndPlay('open');
done = true;
_parent.life.gotoAndPlay('close2');
}
}
frame 3 {
call(2);
}
frame 4 {
gotoAndPlay(3);
}
}
movieClip 275 {
}
movieClip 277 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 278 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 279 BGHit_l1_6 {
instance of movieClip 104 {
onClipEvent (load) {
genSleep = 2;
}
}
instance of movieClip 104 {
onClipEvent (load) {
genSleep = 2;
dir = 1;
}
}
instance of movieClip 104 {
onClipEvent (load) {
genSleep = 1;
}
}
instance life_l1_6 of movieClip 275 {
onClipEvent (load) {
if (c.getDamage(_name) >= 1) {
this.swapDepths(60);
this.removeMovieClip();
}
}
}
}
// unknown tag 88 length 75
movieClip 285 {
}
movieClip 287 {
}
movieClip 288 {
}
movieClip 289 {
frame 1 {
_visible = false;
if (pf == undefined) {
APE(this, 0);
}
}
frame 2 {
if (perso.persoBody.hitTest(this) && !c.persoIsInPain) {
c.persoIsInPain = true;
c.persoAnim('hit');
c.persoXSpeed = -10;
c.persoYSpeed = 0;
c.damage(6);
}
}
frame 3 {
call(2);
}
frame 4 {
gotoAndPlay(3);
}
}
movieClip 291 {
frame 1 {
if (pf == undefined) {
APE(this, 2);
}
stop();
}
frame 2 {
gotoAndPlay('play_' + c.myRand(1, 3));
}
frame 35 {
stop();
b.removeListener(this);
}
}
movieClip 293 {
}
movieClip 295 {
}
movieClip 296 {
}
movieClip 297 {
frame 1 {
if (pf == undefined) {
APE(this, 2);
}
stop();
}
frame 2 {
gotoAndPlay('play_' + c.myRand(1, 3));
}
frame 33 {
stop();
b.removeListener(this);
}
}
movieClip 298 {
}
movieClip 299 {
}
movieClip 300 {
}
movieClip 301 {
}
movieClip 303 {
}
movieClip 304 {
}
movieClip 305 {
}
movieClip 306 {
}
movieClip 307 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
}
movieClip 308 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
_visible = false;
}
frame 2 {
if (_parent.tabPot.length > 0) {
if (perso.persoBody.hitTest(this) && !_parent.isAttacking) {
_parent.isAttacking = true;
_parent.gotoAndStop('fire');
} else {
if (_parent.isAttacking && !perso.persoBody.hitTest(this)) {
_parent.isAttacking = false;
_parent.gotoAndStop('idle');
}
}
}
}
frame 3 {
call(2);
}
frame 4 {
gotoAndPlay(3);
}
}
movieClip 311 {
}
movieClip 313 {
}
movieClip 315 {
}
movieClip 317 {
}
movieClip 319 {
}
movieClip 321 {
}
movieClip 323 {
}
movieClip 325 {
}
movieClip 327 {
}
movieClip 329 {
}
movieClip 331 {
}
movieClip 333 {
}
movieClip 335 {
}
movieClip 337 {
}
movieClip 338 {
}
movieClip 340 {
}
movieClip 342 {
}
movieClip 344 {
}
movieClip 346 {
}
movieClip 348 {
}
movieClip 350 {
}
movieClip 352 {
}
movieClip 354 {
}
movieClip 356 {
}
movieClip 358 {
}
movieClip 360 {
}
movieClip 362 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 21 {
drop = false;
a = 0;
while (a < _parent.tabPot.length) {
if (c.myRand(1, 100) < 80) {
_parent['pot_' + _parent.tabPot[a]].gotoAndPlay('play');
_parent.tabPot.splice(a, 1);
drop = true;
--a;
}
++a;
}
if (!drop) {
_parent['pot_' + _parent.tabPot[0]].gotoAndPlay('play');
_parent.tabPot.splice(0, 1);
}
}
frame 34 {
if (_parent.tabPot.length <= 0) {
stop();
c.setDamage('duff01', 1);
b.removeListener(this);
}
}
}
movieClip 363 {
frame 1 {
if (c.getDamage('duff01') >= 1) {
stop();
} else {
tabPot = [1, 2, 3, 4];
isAttacking = false;
}
}
frame 2 {
stop();
}
}
movieClip 365 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 366 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 367 BGHit_l1_7 {
instance cuddle_171 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
}
movieClip 370 {
frame 1 {
stop();
APE(this, 2);
}
instance of movieClip 124 {
onClipEvent (load) {
pushDir = 'right';
}
}
frame 33 {
stop();
b.removeListener(this);
}
instance of movieClip 130 {
onClipEvent (load) {
jumpFactor = 2.2;
maxJump = 26;
}
}
}
movieClip 373 {
}
movieClip 374 {
frame 1 {
stop();
}
}
movieClip 376 {
frame 1 {
if (c.getDamage('doorKinder') >= 1) {
stop();
} else {
if (pf == undefined) {
APE(this, 0);
}
}
_visible = false;
}
frame 2 {
if (perso.persoBody.hitTest(this)) {
stop();
b.removeListener(this);
_parent.switchDoor.gotoAndStop(2);
_parent.door.gotoAndPlay('play');
_parent.hitZoneY.door.gotoAndStop(2);
}
}
frame 3 {
call(2);
}
frame 4 {
gotoAndPlay(3);
}
}
movieClip 378 {
}
movieClip 381 {
}
movieClip 382 {
}
movieClip 384 {
}
movieClip 386 {
}
movieClip 389 {
}
movieClip 391 {
}
movieClip 392 {
frame 1 {
stop();
if (c.getDamage('doorKinder') >= 1) {
gotoAndStop(5);
} else {
if (pf == undefined) {
APE(this, 2);
}
}
}
frame 2 {
c.setDamage('doorKinder', 1);
}
frame 5 {
stop();
b.removeListener(this);
}
}
movieClip 394 {
}
movieClip 397 {
}
movieClip 398 {
frame 1 {
_parent.hitZoneX.attachMovie('block_x', _name, num);
_parent.hitZoneX[_name]._x = _x;
_parent.hitZoneX[_name]._y = _y;
_parent.hitZoneX[_name]._yscale = _xscale;
_parent.hitZoneX[_name]._xscale = _parent.hitZoneX[_name]._yscale;
_parent.hitZoneY.attachMovie('block_y', _name, num);
_parent.hitZoneY[_name]._x = _x;
_parent.hitZoneY[_name]._y = _y;
_parent.hitZoneY[_name]._yscale = _xscale;
_parent.hitZoneY[_name]._xscale = _parent.hitZoneY[_name]._yscale;
}
}
movieClip 401 {
frame 1 {
stop();
}
}
movieClip 402 {
frame 1 {
_visible = false;
stop();
}
instance door of movieClip 401 {
onClipEvent (load) {
if (c.getDamage('doorKinder') >= 1) {
gotoAndStop(2);
}
}
}
}
movieClip 404 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 405 BGHit_l1_8 {
instance switchDoor of movieClip 374 {
onClipEvent (load) {
if (c.getDamage('doorKinder') >= 1) {
gotoAndStop(2);
}
}
}
instance cuddle_181 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
instance cuddle_182 of movieClip 89 {
onClipEvent (load) {
cuddle = 3;
}
}
instance cuddle_183 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
instance block_181 of movieClip 398 {
onClipEvent (load) {
maxX = 120;
curX = 0;
num = 1;
}
}
}
movieClip 408 {
frame 1 {
_visible = false;
}
frame 2 {
if (this.hitTest(perso.persoBody)) {
c.persoIsBusy = true;
c.clockStop = true;
if (c.persoXSpeed > 4) {
c.persoXSpeed = 4;
}
gotoAndPlay(7);
}
}
frame 6 {
gotoAndPlay(2);
}
frame 76 {
_parent._parent._parent.gotoAndStop('l1_extro');
stop();
}
}
movieClip 410 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
}
movieClip 412 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 414 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 415 BGHit_l1_9 {
}
movieClip 416 overlay_l1_1 {
}
movieClip 417 overlay_l1_3 {
}
movieClip 418 overlay_l1_2 {
}
movieClip 419 overlay_l1_4 {
}
movieClip 420 overlay_l1_5 {
}
movieClip 421 overlay_l1_6 {
}
movieClip 422 {
frame 1 {
this.onRelease = function () {
_global.getMorePlay();
};
}
}
movieClip 426 {
}
movieClip 428 {
}
movieClip 431 {
frame 1 {
stop();
APE(this, 2);
}
frame 13 {
stop();
APE(this, 10);
}
}
movieClip 433 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 446 {
frame 1 {
stop();
APE(this, 2);
}
frame 13 {
stop();
APE(this, 10);
}
}
movieClip 447 {
frame 1 {
_visible = false;
stop();
}
instance f1 of movieClip 169 {
onClipEvent (load) {
tabP = ['f1'];
frameDown = 13;
}
}
}
movieClip 448 BGHit_l2_1 {
instance cuddle_211 of movieClip 89 {
onClipEvent (load) {
cuddle = 2;
}
}
instance block_211 of movieClip 398 {
onClipEvent (load) {
maxX = 150;
curX = 0;
num = 1;
}
}
}
movieClip 451 {
}
movieClip 453 {
}
movieClip 455 {
}
movieClip 457 {
}
movieClip 459 {
}
movieClip 461 {
}
movieClip 463 {
}
movieClip 465 {
}
movieClip 467 {
}
movieClip 469 {
}
movieClip 471 {
}
movieClip 472 {
frame 1 {
stop();
if (c.getDamage('doorJardin') >= 1) {
gotoAndStop(8);
} else {
if (pf == undefined) {
APE(this, 2);
}
}
}
frame 2 {
c.setDamage('doorJardin', 1);
}
frame 8 {
stop();
b.removeListener(this);
}
}
movieClip 473 {
frame 1 {
_visible = false;
if (pf == undefined) {
APE(this, 2);
}
}
frame 2 {
if (Key.isDown(32) && perso.persoBody.hitTest(this) && !c.persoIsInvisible && !c.persoIsBusy && !c.persoIsFalling && !c.persoIsJumping) {
c.persoIsInvisible = true;
c.persoIsBusy = true;
perso._x = _parent._x + _parent._parent._x;
perso._y = _parent._y + _parent._parent._y;
_parent.gotoAndPlay('play');
}
}
frame 3 {
call(2);
}
frame 4 {
gotoAndPlay(3);
}
}
movieClip 475 {
}
movieClip 477 {
}
movieClip 479 {
}
movieClip 481 {
}
movieClip 483 {
}
movieClip 485 {
}
movieClip 492 {
frame 19 {
gotoAndPlay(1);
}
}
movieClip 503 {
}
movieClip 505 {
}
movieClip 507 {
}
movieClip 508 {
frame 1 {
stop();
if (c.getDamage(_name) >= 1) {
gotoAndStop(32);
} else {
APE(this, 2);
}
}
frame 31 {
c.persoIsInvisible = false;
c.persoIsBusy = false;
c.persoAnim('idle');
_parent.door.gotoAndPlay('play');
_parent.hitZoneY.door.gotoAndStop(2);
_parent.hitZoneX.door.gotoAndStop(2);
c.setDamage(_name, 1);
b.removeListener(this);
}
frame 32 {
stop();
}
}
movieClip 510 {
frame 1 {
_visible = false;
stop();
}
instance door of movieClip 401 {
onClipEvent (load) {
if (c.getDamage('doorJardin') >= 1) {
gotoAndStop(2);
}
}
}
}
movieClip 512 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 513 BGHit_l2_2 {
instance cuddle_221 of movieClip 89 {
onClipEvent (load) {
cuddle = 2;
}
}
instance block_221 of movieClip 398 {
onClipEvent (load) {
maxX = 130;
curX = 130;
num = 1;
}
}
}
movieClip 517 {
}
movieClip 519 {
}
movieClip 521 {
}
movieClip 523 {
}
movieClip 524 {
}
movieClip 525 {
frame 1 {
_visible = false;
}
frame 2 {
if (perso.persoBody.hitTest(this) && Key.isDown(32) && !c.persoIsBusy && !c.persoIsJumping && !c.persoIsFalling) {
c.persoXSpeed = 0;
c.persoYSpeed = 0;
c.persoIsBusy = true;
_parent.gotoAndPlay('start');
}
}
frame 3 {
call(2);
}
frame 4 {
gotoAndPlay(3);
}
}
movieClip 526 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
}
movieClip 529 {
}
movieClip 531 {
}
movieClip 532 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
}
movieClip 534 {
frame 1 {
_visible = false;
}
frame 2 {
if (perso.persoBody.hitTest(this) && c.persoIsFalling) {
c.persoXSpeed = 0;
c.persoYSpeed = 0;
c.persoIsBusy = true;
_parent.gotoAndPlay('reaction');
}
}
frame 3 {
call(2);
}
frame 4 {
gotoAndPlay(3);
}
}
movieClip 535 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
}
movieClip 536 {
frame 1 {
stop();
if (pf == undefined) {
APE(this, 0);
}
}
frame 20 {
c.persoIsBusy = false;
c.persoIsJumping = true;
c.persoAnim('jump');
c.persoYSpeed = -c.persoJumpSpeed * 1.3;
lastJump = c.persoYSpeed;
_parent.hitZoneX.hitBascule.gotoAndStop(2);
}
frame 39 {
stop();
APE(this, 40);
}
frame 40 {
APE(this, 40);
}
frame 53 {
c.persoIsBusy = false;
c.persoIsJumping = true;
c.persoAnim('jump');
lastJump -= 3;
if (lastJump < -41) {
lastJump = -41;
}
c.persoYSpeed = lastJump;
}
frame 67 {
stop();
b.removeListener(this);
}
}
movieClip 538 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 541 {
frame 1 {
stop();
}
}
movieClip 542 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 543 BGHit_l2_5 {
instance cuddle_251 of movieClip 89 {
onClipEvent (load) {
cuddle = 2;
wait = 150;
}
}
instance cuddle_252 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
wait = 150;
}
}
instance cuddle_253 of movieClip 89 {
onClipEvent (load) {
cuddle = 3;
wait = 150;
}
}
}
movieClip 547 {
}
movieClip 548 {
}
movieClip 550 {
}
movieClip 551 {
}
movieClip 553 {
frame 1 {
danger = true;
}
frame 2 {
if (pf == undefined) {
APE(this, 2);
}
}
frame 11 {
if (perso._y > 200) {
b.removeListener(this);
stop();
} else {
if (_parent.goAttack) {
gotoAndPlay(12);
} else {
gotoAndPlay(2);
}
}
}
frame 19 {
_parent.ballDuff.gotoAndPlay('play');
}
frame 36 {
gotoAndPlay(2);
}
frame 37 {
stop();
b.removeListener(this);
}
}
// unknown tag 88 length 115
movieClip 556 {
frame 1 {
if (pf == undefined) {
APE(this, 2);
}
stop();
_parent.goAttack = true;
danger = true;
}
frame 2 {
_parent.goAttack = false;
}
}
movieClip 558 {
}
movieClip 559 {
frame 1 {
stop();
APE(this, 2);
}
frame 13 {
stop();
APE(this, 10);
}
}
movieClip 561 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 567 {
frame 1 {
stop();
APE(this, 2);
}
frame 13 {
stop();
APE(this, 10);
}
}
movieClip 568 {
frame 1 {
_visible = false;
stop();
}
instance f1 of movieClip 169 {
onClipEvent (load) {
tabP = ['f1'];
frameDown = 13;
}
}
}
movieClip 569 BGHit_l2_6 {
instance cuddle_261 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
instance cuddle_262 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
}
movieClip 573 {
frame 1 {
_visible = false;
if (pf == undefined) {
APE(this, 0);
}
}
frame 2 {
if (this.hitTest(perso.persoBody)) {
_parent.gotoAndPlay('fire');
}
}
frame 5 {
call(2);
}
frame 6 {
gotoAndPlay(3);
}
}
movieClip 575 {
}
movieClip 577 {
}
movieClip 579 {
}
movieClip 580 {
frame 1 {
if (a == undefined) {
var a = true;
b.addListener(this);
onPause = function () {
stop();
};
onPlay = function () {
play();
};
this.onUnload = function () {
b.removeListener(this);
};
}
}
}
movieClip 584 {
}
movieClip 586 {
}
movieClip 587 {
frame 1 {
_visible = false;
if (pf == undefined) {
APE(this, 0);
}
}
frame 2 {
if (perso.persoBody.hitTest(this) && !c.persoIsInPain) {
c.persoXSpeed = -8;
c.persoYSpeed = -5;
c.persoIsInPain = true;
c.persoAnim('hit');
c.damage(4);
gotoAndStop(1);
}
}
frame 3 {
call(2);
}
frame 4 {
gotoAndPlay(3);
}
}
movieClip 590 {
}
movieClip 591 {
frame 2 {
stop();
if (pf == undefined) {
APE(this, 3);
}
}
}
movieClip 595 {
}
movieClip 597 {
}
movieClip 599 {
}
movieClip 601 {
}
movieClip 603 {
}
movieClip 605 {
}
movieClip 607 {
}
movieClip 609 {
}
movieClip 611 {
}
movieClip 613 {
}
movieClip 615 {
}
movieClip 617 {
}
movieClip 619 {
}
movieClip 621 {
}
movieClip 623 {
}
movieClip 624 {
}
movieClip 626 {
}
movieClip 628 {
}
movieClip 630 {
}
movieClip 632 {
}
movieClip 634 {
}
movieClip 636 {
}
movieClip 638 {
}
movieClip 639 {
}
movieClip 641 {
}
movieClip 642 {
}
movieClip 644 {
}
movieClip 659 {
}
movieClip 666 {
}
movieClip 668 {
}
movieClip 669 {
}
movieClip 672 {
}
movieClip 674 {
}
movieClip 676 {
}
movieClip 678 {
}
movieClip 679 {
frame 1 {
_visible = false;
if (pf == undefined) {
APE(this, 0);
}
}
frame 2 {
if (perso.persoBody.hitTest(this) && !c.persoIsInPain) {
c.persoXSpeed = 8;
c.persoYSpeed = -5;
c.persoIsInPain = true;
c.persoAnim('hit');
c.damage(4);
gotoAndStop(1);
}
}
frame 3 {
call(2);
}
frame 4 {
gotoAndPlay(3);
}
}
movieClip 681 {
}
movieClip 682 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
}
movieClip 683 {
frame 2 {
stop();
if (pf == undefined) {
APE(this, 3);
}
}
}
movieClip 685 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 687 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 688 BGHit_l2_3 {
instance cuddle_231 of movieClip 89 {
onClipEvent (load) {
cuddle = 2;
}
}
instance cuddle_232 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
}
movieClip 692 {
}
movieClip 694 {
}
movieClip 695 {
}
movieClip 697 {
}
movieClip 700 {
}
movieClip 702 {
}
movieClip 703 {
frame 1 {
stop();
if (c.getDamage('glissade01') >= 1) {
gotoAndStop(8);
} else {
if (pf == undefined) {
APE(this, 2);
}
}
}
frame 2 {
c.setDamage('glissade01', 1);
_parent._parent.overlay_4.door.gotoAndPlay('play');
}
frame 8 {
stop();
b.removeListener(this);
}
}
movieClip 707 {
frame 1 {
stop();
}
}
movieClip 708 {
frame 1 {
_visible = false;
stop();
}
instance door of movieClip 707 {
onClipEvent (load) {
if (c.getDamage('glissade01') >= 1) {
gotoAndStop(2);
}
}
}
}
movieClip 710 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 714 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 716 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 717 BGHit_l2_4 {
frame 1 {
stop();
_parent.overlay_4._visible = true;
}
instance cuddle_241 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
instance block_241 of movieClip 398 {
onClipEvent (load) {
maxX = 80;
curX = 0;
num = 1;
if (!c.secretDiscovered) {
this.onEnterFrame = function () {
if (curX >= maxX - 1) {
_parent.entrance.play();
this.onEnterFrame = null;
}
};
}
}
}
instance entrance of movieClip 141 {
onClipEvent (load) {
stop();
}
}
frame 2 {
_parent.overlay_4._visible = false;
}
instance cuddle_2S1 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
instance cuddle_2S2 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
instance cuddle_2S3 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
instance cuddle_2S4 of movieClip 89 {
onClipEvent (load) {
cuddle = 3;
}
}
instance cuddle_2S5 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
instance cuddle_2S6 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
instance entrance of movieClip 199 {
onClipEvent (load) {
perso._x = _x + _parent._x;
perso._y = _y + _parent._y;
}
}
instance of movieClip 164 {
onClipEvent (load) {
justPlay = true;
}
}
}
movieClip 720 {
frame 1 {
stop();
APE(this, 2);
}
instance of movieClip 124 {
onClipEvent (load) {
pushDir = 'right';
}
}
frame 16 {
stop();
APE(this, 17);
}
instance of movieClip 124 {
onClipEvent (load) {
pushDir = 'right';
}
}
frame 27 {
stop();
b.removeListener(this);
}
instance ballBounce of movieClip 130 {
onClipEvent (load) {
jumpFactor = 2.2;
maxJump = 24;
}
}
}
// unknown tag 88 length 107
movieClip 725 {
}
movieClip 727 {
}
movieClip 729 {
}
movieClip 731 {
}
movieClip 733 {
}
movieClip 735 {
}
movieClip 737 {
}
movieClip 739 {
}
movieClip 741 {
}
movieClip 743 {
}
movieClip 745 {
}
movieClip 747 {
}
movieClip 749 {
}
movieClip 751 {
}
movieClip 753 {
}
movieClip 755 {
}
movieClip 757 {
}
movieClip 759 {
}
movieClip 761 {
}
movieClip 763 {
}
movieClip 765 {
}
movieClip 767 {
}
movieClip 769 {
}
movieClip 771 {
}
movieClip 773 {
}
movieClip 774 {
}
movieClip 775 {
}
movieClip 776 {
}
movieClip 778 {
}
movieClip 780 {
}
movieClip 782 {
}
movieClip 783 {
}
movieClip 784 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
}
movieClip 785 {
frame 1 {
_visible = false;
if (pf == undefined) {
APE(this, 0);
}
}
frame 2 {
if (perso.persoBody.hitTest(this)) {
c.setDamage('draken02', 1);
_parent.gotoAndStop('hit');
}
}
frame 3 {
call(2);
}
frame 4 {
gotoAndPlay(3);
}
}
movieClip 787 {
frame 1 {
_visible = false;
if (pf == undefined) {
APE(this, 0);
}
}
frame 2 {
if (perso._y < 115) {
_parent.gotoAndStop('fire_1');
} else {
if (perso._x < c.BGCur * c.BGWidth - 300) {
trace(perso._x);
_parent.gotoAndStop('fire_2');
} else {
if (perso._x < 450 && perso._x > 348) {
trace(333333333333.0);
_parent.gotoAndStop('fire_3');
} else {
_parent.gotoAndStop('fire_2');
}
}
}
}
frame 5 {
call(2);
}
frame 6 {
gotoAndPlay(3);
}
}
movieClip 789 {
}
movieClip 791 {
}
movieClip 793 {
}
movieClip 795 {
}
movieClip 797 {
}
movieClip 799 {
}
movieClip 800 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 38 {
_parent.gotoAndStop('idle');
}
}
movieClip 801 {
}
movieClip 802 {
frame 1 {
_visible = false;
if (pf == undefined) {
APE(this, 0);
}
}
frame 2 {
if (perso.persoBody.hitTest(this) && !c.persoIsInPain) {
c.persoXSpeed = -5;
c.persoYSpeed = -5;
c.persoIsInPain = true;
c.persoAnim('hit');
c.damage(4);
gotoAndStop(1);
}
}
frame 3 {
call(2);
}
frame 4 {
gotoAndPlay(3);
}
}
movieClip 803 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 43 {
_parent.gotoAndStop('idle');
}
}
movieClip 805 {
}
movieClip 807 {
}
movieClip 809 {
}
movieClip 811 {
}
movieClip 813 {
}
movieClip 815 {
}
movieClip 816 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 44 {
_parent.gotoAndStop('idle');
}
}
movieClip 818 {
}
movieClip 820 {
}
movieClip 821 {
}
movieClip 823 {
}
movieClip 825 {
}
movieClip 826 {
}
movieClip 828 {
}
movieClip 830 {
}
movieClip 832 {
}
movieClip 834 {
}
movieClip 836 {
}
movieClip 837 {
frame 13 {
stop();
}
}
movieClip 839 {
}
movieClip 841 {
}
movieClip 843 {
}
movieClip 845 {
}
movieClip 847 {
}
movieClip 849 {
}
movieClip 850 {
}
movieClip 852 {
}
movieClip 854 {
}
movieClip 856 {
}
movieClip 858 {
}
movieClip 859 {
frame 7 {
stop();
}
}
movieClip 861 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 19 {
stop();
_parent.gotoAndStop('gone');
}
}
movieClip 862 {
frame 2 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
}
movieClip 864 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 866 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 867 BGHit_l2_7 {
instance cuddle_271 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
instance cuddle_272 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
instance of movieClip 862 {
onClipEvent (load) {
if (c.getDamage('draken02') >= 1) {
gotoAndStop(1);
}
}
}
instance life_l2_7 of movieClip 275 {
onClipEvent (load) {
if (c.getDamage(_name) >= 1) {
this.swapDepths(60);
this.removeMovieClip();
}
}
}
}
movieClip 871 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 19 {
stop();
b.removeListener(this);
}
}
movieClip 875 {
}
movieClip 878 {
}
movieClip 880 {
}
movieClip 881 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 96 {
stop();
b.removeListener(this);
}
}
movieClip 882 {
frame 1 {
_visible = false;
}
frame 2 {
if (this.hitTest(perso.persoBody)) {
c.persoIsBusy = true;
c.clockStop = true;
if (c.persoXSpeed > 4) {
c.persoXSpeed = 4;
}
gotoAndPlay(5);
}
}
frame 4 {
gotoAndPlay(2);
}
frame 67 {
_parent._parent._parent.gotoAndStop('l2_extro');
stop();
}
}
movieClip 884 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 886 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 887 BGHit_l2_8 {
}
movieClip 889 block_y {
}
movieClip 891 block_x {
}
movieClip 892 overlay_l2_1 {
}
movieClip 893 overlay_l2_5 {
}
movieClip 896 overlay_l2_2 {
}
movieClip 897 overlay_l2_6 {
}
movieClip 899 {
}
movieClip 901 {
}
movieClip 903 {
}
movieClip 904 overlay_l2_3 {
}
movieClip 905 {
}
movieClip 906 {
frame 1 {
stop();
if (c.getDamage('glissade01') >= 1) {
gotoAndStop(8);
} else {
if (pf == undefined) {
APE(this, 2);
}
}
}
frame 2 {
c.setDamage('glissade01', 1);
}
frame 8 {
stop();
b.removeListener(this);
}
}
movieClip 907 overlay_l2_4 {
}
movieClip 908 overlay_l2_7 {
}
movieClip 909 overlay_l2_8 {
}
movieClip 915 {
}
movieClip 916 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 11 {
stop();
b.removeListener(this);
}
}
movieClip 918 {
frame 1 {
_visible = false;
if (pf == undefined) {
APE(this, 0);
}
}
frame 2 {
if (!c.persoIsActivating && perso.persoBody.hitTest(this) && Key.isDown(32) && !c.persoIsJumping && !c.persoIsFalling && !c.persoIsInPain && !c.persoIsBusy) {
c.persoIsBusy = true;
c.persoIsActivating = true;
c.persoAnim('activate');
_parent.nextFrame();
}
}
frame 3 {
call(2);
}
frame 4 {
gotoAndPlay(3);
}
}
movieClip 922 {
}
movieClip 923 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 11 {
stop();
b.removeListener(this);
}
}
movieClip 924 {
frame 1 {
if (c.getDamage(_name) >= 1) {
gotoAndStop(4);
}
stop();
_parent['laser_' + _name].gotoAndStop('open');
}
frame 2 {
_parent['laser_' + _name].gotoAndStop('close');
c.setDamage(_name, 1);
}
frame 3 {
gotoAndStop(1);
}
frame 4 {
_parent['laser_' + _name].gotoAndStop('closed');
}
}
movieClip 926 {
}
movieClip 928 {
}
movieClip 930 {
}
movieClip 931 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
}
movieClip 932 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 30 {
stop();
b.removeListener(this);
}
}
movieClip 934 {
}
movieClip 936 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 35 {
stop();
b.removeListener(this);
}
}
movieClip 937 {
frame 1 {
_visible = false;
}
frame 2 {
if (perso.persoBody.hitTest(this) && !c.persoIsInPain) {
c.persoIsInPain = true;
c.persoAnim('hit');
c.persoXSpeed = powerX;
c.persoYSpeed = powerY;
c.damage(8);
}
}
frame 4 {
call(2);
}
frame 5 {
gotoAndPlay(3);
}
}
movieClip 939 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 6 {
stop();
b.removeListener(this);
}
}
movieClip 940 {
frame 1 {
stop();
}
instance of movieClip 937 {
onClipEvent (load) {
powerX = 0;
powerY = -5;
}
}
}
movieClip 942 {
}
movieClip 943 {
frame 1 {
stop();
}
instance of movieClip 937 {
onClipEvent (load) {
powerX = -10;
powerY = -5;
}
}
}
movieClip 944 {
frame 1 {
gotoAndPlay(startPos);
if (pf == undefined) {
APE(this, 2);
}
}
instance of movieClip 937 {
onClipEvent (load) {
powerX = -10;
powerY = -10;
}
}
frame 113 {
gotoAndPlay(2);
}
}
movieClip 946 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 948 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 949 BGHit_l3_1 {
instance cuddle_311 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
instance of movieClip 944 {
onClipEvent (load) {
startPos = 55;
}
}
instance of movieClip 944 {
onClipEvent (load) {
startPos = 1;
}
}
}
movieClip 953 {
}
movieClip 955 {
}
movieClip 956 {
frame 1 {
stop();
}
frame 2 {
s1.gotoAndPlay('lift');
_parent.hitZoneX[_name].gotoAndPlay(2);
}
frame 3 {
s1.gotoAndPlay('lift');
_parent.hitZoneX[_name].gotoAndPlay(2);
gotoAndStop(1);
}
}
movieClip 958 {
}
movieClip 960 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 963 {
}
movieClip 964 {
frame 1 {
if (pf == undefined) {
APE(this, 2);
}
if (!loop) {
stop();
}
}
frame 2 {
curPos += speed;
if (curPos > maxMove) {
speed = -Math.abs(speed);
curPos = maxMove;
if (!loop) {
gotoAndStop(1);
}
} else {
if (curPos < 0) {
speed = Math.abs(speed);
curPos = 0;
if (!loop) {
gotoAndStop(1);
}
}
}
if (moveAxe == 'x') {
_x = _x + speed;
_parent._parent['anim_' + _name]._x += speed;
if (perso.persoFeet.hitTest(this)) {
perso._x += speed;
}
} else {
_y = _y + speed;
_parent._parent['anim_' + _name]._y += speed;
if (perso.persoFeet.hitTest(this)) {
perso._y += speed;
}
}
}
frame 3 {
call(2);
}
frame 4 {
gotoAndPlay(3);
}
}
movieClip 965 {
frame 1 {
_visible = false;
stop();
}
instance p1 of movieClip 964 {
onClipEvent (load) {
loop = true;
moveAxe = 'x';
speed = -2;
maxMove = 220;
curPos = 219;
}
}
instance p2 of movieClip 964 {
onClipEvent (load) {
loop = true;
moveAxe = 'x';
speed = 2;
maxMove = 220;
curPos = 1;
}
}
instance p3 of movieClip 964 {
onClipEvent (load) {
loop = false;
moveAxe = 'y';
speed = -3;
maxMove = 90;
curPos = 90;
}
}
}
movieClip 966 BGHit_l3_2 {
instance cuddle_311 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
}
movieClip 969 {
frame 1 {
stop();
}
instance of movieClip 937 {
onClipEvent (load) {
powerX = 13;
powerY = -16;
}
}
}
movieClip 971 {
}
movieClip 972 {
frame 1 {
gotoAndPlay(startPos);
if (pf == undefined) {
APE(this, 2);
}
}
instance of movieClip 937 {
onClipEvent (load) {
powerX = 10;
powerY = 10;
}
}
frame 108 {
gotoAndPlay(2);
}
}
movieClip 974 {
}
movieClip 976 {
}
movieClip 978 {
}
movieClip 979 {
frame 1 {
_parent.hitZoneX.attachMovie('block_x', _name, num);
_parent.hitZoneX[_name]._x = _x;
_parent.hitZoneX[_name]._y = _y;
_parent.hitZoneX[_name]._yscale = _xscale;
_parent.hitZoneX[_name]._xscale = _parent.hitZoneX[_name]._yscale;
_parent.hitZoneY.attachMovie('block_y', _name, num);
_parent.hitZoneY[_name]._x = _x;
_parent.hitZoneY[_name]._y = _y;
_parent.hitZoneY[_name]._yscale = _xscale;
_parent.hitZoneY[_name]._xscale = _parent.hitZoneY[_name]._yscale;
}
}
movieClip 981 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 983 {
frame 1 {
_visible = false;
stop();
}
instance p3 of movieClip 964 {
onClipEvent (load) {
loop = false;
moveAxe = 'y';
speed = 2;
maxMove = 100;
curPos = 0;
}
}
}
movieClip 987 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 989 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 990 BGHit_l3_3 {
frame 1 {
stop();
_parent.overlay_3._visible = true;
}
instance of movieClip 944 {
onClipEvent (load) {
startPos = 20;
}
}
instance of movieClip 944 {
onClipEvent (load) {
startPos = 1;
}
}
instance of movieClip 944 {
onClipEvent (load) {
startPos = 55;
}
}
instance of movieClip 972 {
onClipEvent (load) {
startPos = 1;
}
}
instance block_331 of movieClip 979 {
onClipEvent (load) {
maxX = 220;
curX = 220;
num = 1;
}
}
instance block_332 of movieClip 979 {
onClipEvent (load) {
maxX = 50;
curX = 0;
num = 2;
if (!c.secretDiscovered) {
this.onEnterFrame = function () {
if (curX >= maxX - 1) {
_parent.entrance.play();
this.onEnterFrame = null;
}
};
}
}
}
instance entrance of movieClip 141 {
onClipEvent (load) {
stop();
}
}
frame 2 {
_parent.overlay_3._visible = false;
}
instance entrance of movieClip 199 {
onClipEvent (load) {
perso._x = _x + _parent._x;
perso._y = _y + _parent._y;
}
}
instance life_l3_S of movieClip 275 {
onClipEvent (load) {
if (c.getDamage(_name) >= 1) {
this.swapDepths(60);
this.removeMovieClip();
}
}
}
instance cuddle_3S1 of movieClip 89 {
onClipEvent (load) {
cuddle = 3;
}
}
instance cuddle_3S2 of movieClip 89 {
onClipEvent (load) {
cuddle = 2;
}
}
instance cuddle_3S3 of movieClip 89 {
onClipEvent (load) {
cuddle = 2;
}
}
instance cuddle_3S4 of movieClip 89 {
onClipEvent (load) {
cuddle = 1;
}
}
instance cuddle_3S5 of movieClip 89 {
onClipEvent (load) {
cuddle = 3;
}
}
instance of movieClip 164 {
onClipEvent (load) {
justPlay = true;
}
}
}
movieClip 993 {
frame 1 {
stop();
}
instance of movieClip 937 {
onClipEvent (load) {
powerX = -18;
powerY = -16;
}
}
}
movieClip 994 {
frame 1 {
gotoAndPlay(startPos);
if (pf == undefined) {
APE(this, 2);
}
}
instance of movieClip 937 {
onClipEvent (load) {
powerX = -18;
powerY = -16;
}
}
frame 108 {
gotoAndPlay(2);
}
}
movieClip 996 {
}
movieClip 998 {
}
movieClip 1000 {
}
movieClip 1001 {
}
movieClip 1003 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 1005 {
frame 1 {
_visible = false;
stop();
}
instance p3 of movieClip 964 {
onClipEvent (load) {
loop = false;
moveAxe = 'y';
speed = -2;
maxMove = 140;
curPos = 140;
}
}
instance p1 of movieClip 964 {
onClipEvent (load) {
loop = true;
moveAxe = 'x';
speed = 3;
maxMove = 100;
curPos = 0;
}
}
}
movieClip 1006 BGHit_l3_4 {
instance cuddle_341 of movieClip 89 {
onClipEvent (load) {
cuddle = 2;
}
}
instance of movieClip 944 {
onClipEvent (load) {
startPos = 55;
}
}
instance of movieClip 944 {
onClipEvent (load) {
startPos = 55;
}
}
instance block_211 of movieClip 979 {
onClipEvent (load) {
maxX = 100;
curX = 100;
num = 1;
}
}
}
movieClip 1011 {
}
movieClip 1014 {
}
movieClip 1015 {
}
movieClip 1016 {
frame 1 {
stop();
if (pf == undefined) {
APE(this, 0);
}
}
}
movieClip 1019 {
}
movieClip 1021 {
}
movieClip 1022 {
frame 1 {
stop();
if (pf == undefined) {
APE(this, 0);
}
}
}
movieClip 1024 {
frame 1 {
stop();
if (pf == undefined) {
APE(this, 0);
}
}
}
movieClip 1025 {
frame 1 {
_visible = false;
if (pf == undefined) {
APE(this, 0);
}
}
frame 2 {
if (perso.persoBody.hitTest(this) && !c.persoIsJumping && !c.persoIsFalling) {
if (!c.persoIsInPain && !c.persoIsBusy) {
c.persoIsBusy = true;
c.persoIsActivating = true;
c.persoAnim('activate');
_parent._parent.laser1.gotoAndStop('open');
_parent._parent._parent.overlay_5.stoneMonkey.gotoAndStop('hit');
_parent.gotoAndStop(1);
}
}
}
frame 3 {
call(2);
}
frame 5 {
gotoAndPlay(3);
}
}
movieClip 1026 {
frame 1 {
stop();
}
}
movieClip 1027 {
frame 1 {
_visible = false;
if (pf == undefined) {
APE(this, 0);
}
}
frame 2 {
if (perso.persoBody.hitTest(this) && Key.isDown(32) && !c.persoIsJumping && !c.persoIsFalling && !c.persoIsInPain && !c.persoIsBusy) {
c.persoIsBusy = true;
c.persoIsActivating = true;
c.persoAnim('activate');
_parent._parent.switch2.gotoAndStop(2);
_parent._parent.laser1.gotoAndStop('close');
_parent._parent._parent.overlay_5.stoneMonkey.engine.play();
_parent.gotoAndStop(2);
}
}
frame 3 {
call(2);
}
frame 4 {
gotoAndPlay(3);
}
}
movieClip 1029 {
frame 1 {
stop();
}
frame 3 {
gotoAndStop(1);
}
}
movieClip 1030 {
frame 1 {
stop();
}
instance of movieClip 937 {
onClipEvent (load) {
powerX = -10;
powerY = -5;
}
}
}
movieClip 1032 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 1034 {
frame 1 {
_visible = false;
stop();
}
}
movieClip 1035 BGHit_l3_5 {
instance bmpTrou of movieClip 1011 {
onClipEvent (load) {
_visible = false;
}
}
}
movieClip 1036 overlay_l3_1 {
}
movieClip 1037 overlay_l3_3 {
}
movieClip 1038 overlay_l3_2 {
}
movieClip 1039 overlay_l3_4 {
}
movieClip 1041 {
frame 1 {
stop();
_visible = false;
if (pf == undefined) {
APE(this, 2);
}
counter = 50;
}
frame 2 {
--counter;
if (counter <= 0) {
_parent.gotoAndPlay('breakIn');
} else {
if (counter == 20) {
c.persoAnim('crouch');
c.startShake(5);
} else {
if (counter == 40) {
c.persoAnim('crouch');
c.startShake(3);
}
}
}
}
frame 3 {
call(2);
}
frame 5 {
gotoAndPlay(3);
}
}
movieClip 1045 {
}
movieClip 1051 {
frame 1 {
function getReport() {
if (frate < minForBest) {
if (frate < minForHigh) {
c.lowRes = true;
vQuality = 'MEDIUM';
} else {
c.lowRes = false;
vQuality = 'HIGH';
}
} else {
c.lowRes = false;
vQuality = 'BEST';
}
++nbReport;
trace('Report ' + nbReport + ' ; Quality has been set to : ' + vQuality + ' , fps was : ' + frate);
_parent.txtFrameRate.text = frate;
_parent.txtQuality.text = vQuality;
_parent.txtFrameRate.textColor = '000000';
_parent.txtQuality.textColor = '000000';
_quality = vQuality;
enableReport = false;
gotoAndStop(2);
}
fcount = 0;
offset = getTimer();
vQuality = 'HIGH';
_quality = 'HIGH';
_visible = false;
minForMedium = 0;
minForHigh = 22;
minForBest = 30;
nbReport = 0;
enableReport = true;
}
frame 2 {
fcount = 0;
offset = getTimer();
}
frame 3 {
++fcount;
}
frame 4 {
call(3);
}
frame 5 {
call(3);
}
frame 6 {
call(3);
}
frame 7 {
call(3);
}
frame 8 {
call(3);
}
frame 9 {
call(3);
}
frame 10 {
call(3);
}
frame 11 {
call(3);
}
frame 12 {
call(3);
}
frame 13 {
call(3);
}
frame 14 {
call(3);
}
frame 15 {
call(3);
}
frame 16 {
call(3);
}
frame 17 {
call(3);
}
frame 18 {
call(3);
}
frame 19 {
call(3);
}
frame 20 {
call(3);
}
frame 21 {
call(3);
}
frame 22 {
call(3);
}
frame 23 {
call(3);
}
frame 24 {
call(3);
}
frame 25 {
call(3);
}
frame 26 {
call(3);
}
frame 27 {
call(3);
}
frame 28 {
call(3);
}
frame 29 {
call(3);
}
frame 30 {
call(3);
}
frame 31 {
call(3);
}
frame 32 {
call(3);
}
frame 33 {
call(3);
}
frame 34 {
call(3);
}
frame 35 {
call(3);
}
frame 36 {
call(3);
}
frame 37 {
call(3);
}
frame 38 {
call(3);
}
frame 39 {
call(3);
}
frame 40 {
call(3);
}
frame 41 {
call(3);
}
frame 42 {
call(3);
}
frame 43 {
call(3);
}
frame 44 {
call(3);
}
frame 45 {
call(3);
}
frame 46 {
call(3);
}
frame 47 {
call(3);
}
frame 48 {
call(3);
}
frame 49 {
call(3);
}
frame 50 {
call(3);
}
frame 51 {
call(3);
}
frame 52 {
call(3);
}
frame 53 {
call(3);
}
frame 54 {
call(3);
}
frame 55 {
call(3);
}
frame 56 {
call(3);
}
frame 57 {
call(3);
}
frame 58 {
call(3);
}
frame 59 {
call(3);
}
frame 60 {
call(3);
}
frame 61 {
call(3);
curtime = (getTimer() - offset) / 1000;
frate = Math.ceil(fcount / curtime);
if (enableReport) {
getReport();
} else {
_parent.txtFrameRate.text = frate;
_parent.txtQuality.text = vQuality;
_parent.txtFrameRate.textColor = 'FFFFFF';
_parent.txtQuality.textColor = 'FFFFFF';
gotoAndPlay(2);
}
}
}
// unknown tag 88 length 68
movieClip 1056 {
}
movieClip 1063 {
}
movieClip 1066 {
}
movieClip 1068 {
}
movieClip 1070 {
}
movieClip 1071 {
}
movieClip 1073 {
}
movieClip 1075 {
}
movieClip 1077 {
}
movieClip 1079 {
}
movieClip 1081 {
}
movieClip 1083 {
}
movieClip 1085 {
}
movieClip 1087 {
}
movieClip 1089 {
}
movieClip 1090 {
}
movieClip 1092 {
}
movieClip 1093 {
}
movieClip 1095 {
}
movieClip 1097 {
}
movieClip 1098 {
}
movieClip 1100 {
}
movieClip 1102 {
}
movieClip 1103 {
}
movieClip 1104 {
}
movieClip 1106 {
}
movieClip 1108 {
}
movieClip 1110 {
}
movieClip 1112 {
}
movieClip 1122 {
}
movieClip 1124 {
}
movieClip 1129 {
}
movieClip 1130 {
}
movieClip 1132 {
}
movieClip 1133 {
}
movieClip 1135 {
}
movieClip 1136 {
}
movieClip 1139 {
}
movieClip 1142 {
}
movieClip 1143 {
}
movieClip 1153 {
}
movieClip 1154 {
}
movieClip 1156 {
}
movieClip 1157 {
}
movieClip 1159 {
}
movieClip 1161 {
}
movieClip 1162 {
}
movieClip 1163 {
}
movieClip 1164 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
}
movieClip 1166 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
}
movieClip 1167 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
}
movieClip 1168 {
frame 1 {
_visible = false;
if (pf == undefined) {
APE(this, 2);
}
}
frame 2 {
if (perso.persoBody.hitTest(this) && !c.persoIsInPain && !c.persoIsDying) {
c.persoIsInPain = true;
c.persoAnim('hit');
c.persoXSpeed = -15;
c.persoYSpeed = -15;
c.damage(4);
}
}
frame 4 {
call(2);
}
frame 5 {
gotoAndPlay(3);
}
}
movieClip 1169 {
frame 1 {
_visible = false;
if (pf == undefined) {
APE(this, 2);
}
}
frame 2 {
if (perso.persoBody.hitTest(this)) {
_parent.gotoAndStop(attack);
}
}
frame 6 {
call(2);
}
frame 7 {
gotoAndPlay(3);
}
}
movieClip 1172 {
}
movieClip 1173 {
}
movieClip 1175 {
}
movieClip 1176 {
}
movieClip 1178 {
}
movieClip 1181 {
}
movieClip 1183 {
}
movieClip 1184 {
}
movieClip 1187 {
}
movieClip 1188 {
}
movieClip 1190 {
}
movieClip 1191 {
}
movieClip 1197 {
}
movieClip 1198 {
}
movieClip 1200 {
}
movieClip 1201 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 10 {
stop();
b.removeListener(this);
}
}
movieClip 1202 {
frame 1 {
_visible = false;
if (pf == undefined) {
APE(this, 2);
}
}
frame 2 {
if (perso.persoBody.hitTest(this) && !c.persoIsInPain && !c.persoIsDying) {
c.persoIsInPain = true;
c.persoAnim('hit');
c.persoXSpeed = -15;
c.persoYSpeed = -15;
c.damage(8);
gotoAndStop(1);
}
}
frame 3 {
call(2);
}
frame 4 {
gotoAndPlay(3);
}
}
movieClip 1206 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 28 {
c.startShake(5);
_parent._parent._parent.BG_5.obj_1.gotoAndPlay('play');
}
frame 54 {
_parent.gotoAndStop('idle');
}
}
movieClip 1208 {
}
movieClip 1209 {
}
movieClip 1212 {
}
movieClip 1213 {
}
movieClip 1216 {
}
movieClip 1218 {
}
movieClip 1219 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 20 {
c.startShake(3);
_parent._parent._parent.BG_5.obj_2.gotoAndPlay('play');
}
frame 34 {
_parent.gotoAndStop('idle');
}
}
movieClip 1220 {
}
movieClip 1222 {
}
movieClip 1223 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 8 {
c.startShake(2);
_parent._parent._parent.BG_5.obj_3.gotoAndPlay('play');
}
frame 15 {
_parent.gotoAndStop('idle');
}
}
movieClip 1225 {
}
movieClip 1227 {
}
movieClip 1231 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 10 {
c.startShake(3);
}
frame 52 {
_parent.gotoAndStop('idle');
}
}
movieClip 1234 {
}
movieClip 1235 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 8 {
stop();
b.removeMovieClip(this);
}
}
movieClip 1236 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
}
movieClip 1238 {
}
movieClip 1239 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
}
movieClip 1242 {
}
movieClip 1243 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
}
movieClip 1244 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
}
movieClip 1246 {
}
movieClip 1248 {
}
movieClip 1250 {
}
movieClip 1252 {
}
movieClip 1253 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
_quality = 'HIGH';
c.lowRes = false;
}
frame 53 {
c.startShake(5);
}
frame 97 {
stop();
b.removeListener(this);
_parent._parent._parent._parent.gotoAndStop('l3_extro');
}
}
movieClip 1254 {
frame 1 {
stop();
}
frame 2 {
c.persoAnim('crouch');
c.startShake(2);
APE(this, 2);
}
frame 38 {
c.persoAnim('crouch');
c.startShake(3);
}
frame 70 {
c.persoAnim('crouch');
c.startShake(5);
c.persoIsBusy = false;
_parent._parent.BG_5.bmpTrou._visible = true;
}
frame 107 {
_parent.flyingText.play();
}
frame 108 {
stop();
b.removeListener(this);
}
instance of movieClip 1169 {
onClipEvent (load) {
attack = 'attack_1';
}
}
instance of movieClip 1169 {
onClipEvent (load) {
attack = 'attack_2';
}
}
instance of movieClip 1169 {
onClipEvent (load) {
attack = 'attack_3';
}
}
frame 109 {
call('code');
}
frame 110 {
call('code');
}
frame 111 {
call('code');
}
frame 114 {
++nbAttack;
if (nbAttack >= 8) {
if (c.myRand(1, 100) < 50) {
gotoAndStop(112);
}
}
}
}
movieClip 1256 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 28 {
stop();
b.removeListener(this);
}
}
movieClip 1257 {
}
movieClip 1258 {
frame 1 {
stop();
if (pf == undefined) {
APE(this, 2);
}
}
instance of movieClip 1257 {
onClipEvent (load) {
if (c.myRand(1, 100) > 50) {
_visible = false;
} else {
_yscale = c.myRand(60, 100);
_xscale = c.myRand(60, 100);
_x = c.myRand(30, 550);
_y = c.myRand(0, 120);
}
}
}
instance of movieClip 1257 {
onClipEvent (load) {
if (c.myRand(1, 100) > 50) {
_visible = false;
} else {
_yscale = c.myRand(60, 100);
_xscale = c.myRand(60, 100);
_x = c.myRand(30, 550);
_y = c.myRand(0, 120);
}
}
}
instance of movieClip 1257 {
onClipEvent (load) {
if (c.myRand(1, 100) > 50) {
_visible = false;
} else {
_yscale = c.myRand(60, 100);
_xscale = c.myRand(60, 100);
_x = c.myRand(30, 550);
_y = c.myRand(0, 120);
}
}
}
instance of movieClip 1257 {
onClipEvent (load) {
if (c.myRand(1, 100) > 50) {
_visible = false;
} else {
_yscale = c.myRand(60, 100);
_xscale = c.myRand(60, 100);
_x = c.myRand(30, 550);
_y = c.myRand(0, 120);
}
}
}
instance of movieClip 1257 {
onClipEvent (load) {
if (c.myRand(1, 100) > 50) {
_visible = false;
} else {
_yscale = c.myRand(60, 100);
_xscale = c.myRand(60, 100);
_x = c.myRand(30, 550);
_y = c.myRand(0, 120);
}
}
}
instance of movieClip 1257 {
onClipEvent (load) {
if (c.myRand(1, 100) > 50) {
_visible = false;
} else {
_yscale = c.myRand(60, 100);
_xscale = c.myRand(60, 100);
_x = c.myRand(30, 550);
_y = c.myRand(0, 120);
}
}
}
instance of movieClip 1257 {
onClipEvent (load) {
if (c.myRand(1, 100) > 50) {
_visible = false;
} else {
_yscale = c.myRand(60, 100);
_xscale = c.myRand(60, 100);
_x = c.myRand(30, 550);
_y = c.myRand(0, 120);
}
}
}
}
movieClip 1261 {
}
movieClip 1262 {
frame 1 {
if (pf == undefined) {
APE(this, 2);
}
stop();
}
frame 70 {
stop();
b.removeListener(this);
}
}
movieClip 1263 overlay_l3_5 {
instance stoneMonkey of movieClip 1254 {
onClipEvent (load) {
nbAttack = 0;
}
}
}
frame 7 {
_root.bgsound111 = new Sound(_root);
_root.bgsound111.attachSound('bgsound111');
_root.bgsound111.start(0, 9999);
}
frame 7 {
stop();
}
movieClip 1268 {
}
movieClip 1270 {
}
movieClip 1279 {
}
movieClip 1280 {
}
movieClip 1282 {
}
movieClip 1290 {
}
movieClip 1292 {
}
// unknown tag 88 length 75
movieClip 1299 {
frame 1 {
stop();
}
}
movieClip 1302 {
}
movieClip 1308 {
}
button 1312 {
on (release) {
_root.fsdPlayAgain();
}
}
movieClip 1313 {
frame 169 {
stop();
}
}
movieClip 1315 {
frame 1 {
stop();
}
frame 10 {
stop();
}
frame 20 {
stop();
}
}
movieClip 1316 {
}
movieClip 1322 {
}
movieClip 1324 {
frame 15 {
stop();
}
}
button 1327 {
on (release) {
gotoAndStop(25);
}
}
button 1330 {
on (release) {
_global.getMorePlay();
}
}
button 1335 {
on (release) {
_parent.gotoAndStop('instruct');
}
}
movieClip 1336 {
frame 24 {
stop();
}
}
frame 13 {
stop();
}
movieClip 1338 {
}
movieClip 1345 {
}
movieClip 1347 {
}
movieClip 1351 {
}
movieClip 1352 {
}
movieClip 1354 {
}
movieClip 1355 {
}
movieClip 1356 {
}
movieClip 1357 {
}
movieClip 1359 {
}
movieClip 1360 {
}
movieClip 1362 {
}
movieClip 1363 {
}
movieClip 1365 {
}
movieClip 1366 {
}
movieClip 1367 {
}
movieClip 1368 {
}
// unknown tag 88 length 92
// unknown tag 88 length 92
// unknown tag 88 length 75
movieClip 1384 {
}
movieClip 1386 {
}
movieClip 1387 {
frame 15 {
stop();
}
}
movieClip 1390 {
frame 1 {
stop();
}
}
movieClip 1393 {
}
movieClip 1395 {
}
movieClip 1396 {
}
movieClip 1397 {
}
movieClip 1405 {
frame 1 {
stop();
}
}
movieClip 1417 {
frame 1 {
stop();
}
}
movieClip 1418 {
frame 1 {
stop();
}
instance of movieClip 1390 {
onClipEvent (load) {
this.onRelease = function () {
gotoAndStop(2);
_parent.nextFrame();
};
this.onRollOver = function () {
gotoAndStop(2);
};
this.onRollOut = function () {
gotoAndStop(1);
};
this.onPress = function () {
gotoAndStop(3);
};
this.onReleaseOutside = function () {
gotoAndStop(1);
};
}
}
instance of movieClip 1417 {
onClipEvent (load) {
this.onRelease = function () {
gotoAndStop(2);
_parent.prevFrame();
};
this.onRollOver = function () {
gotoAndStop(2);
};
this.onRollOut = function () {
gotoAndStop(1);
};
this.onPress = function () {
gotoAndStop(3);
};
this.onReleaseOutside = function () {
gotoAndStop(1);
};
}
}
}
movieClip 1435 {
frame 1 {
stop();
}
frame 3 {
stop();
}
frame 5 {
stop();
}
frame 7 {
stop();
}
frame 9 {
stop();
}
frame 11 {
stop();
}
frame 13 {
stop();
}
frame 15 {
stop();
}
frame 17 {
stop();
}
frame 19 {
stop();
}
frame 21 {
stop();
}
frame 23 {
stop();
}
frame 25 {
stop();
}
frame 27 {
stop();
}
frame 29 {
stop();
}
frame 31 {
stop();
}
frame 33 {
stop();
}
frame 35 {
stop();
}
frame 37 {
stop();
}
}
instance s1 of movieClip 1435 {
onClipEvent (load) {
this._visible = false;
_global.s1 = this;
}
}
frame 19 {
_root.minLeftTxt = fixedDigit(_root.minLeft, 2);
_root.secLeftTxt = fixedDigit(_root.secLeft, 2);
_root.milLeftTxt = fixedDigit(Math.floor(_root.milLeft), 2);
_root.min_l1 = _root.minLeft;
_root.sec_l1 = _root.secLeft;
_root.mil_l1 = Math.floor(_root.milLeft);
_root.minTxt_l1 = fixedDigit(_root.min_l1, 2);
_root.secTxt_l1 = fixedDigit(_root.sec_l1, 2);
_root.milTxt_l1 = fixedDigit(_root.mil_l1, 2);
_root.minTotTxt = fixedDigit(_root.min_l1, 2);
_root.secTotTxt = fixedDigit(_root.sec_l1, 2);
_root.milTotTxt = fixedDigit(_root.mil_l1, 2);
_root.scoreTemp = _root.score;
_root.scoreTime = (_root.secLeft + _root.minLeft * 60) * _root.scoreGiveTime;
_root.scoreLife = _root.persoHealth * _root.scoreGiveHealth + _root.persoLife * _root.scoreGiveLife;
_root.score_l1 = _root.scoreTime + _root.scoreLife + _root.score;
_root.score = _root.score_l1;
}
movieClip 1439 {
}
movieClip 1441 {
}
movieClip 1444 {
}
movieClip 1445 {
}
movieClip 1447 {
}
movieClip 1449 {
}
movieClip 1451 {
}
movieClip 1452 {
}
movieClip 1454 {
}
movieClip 1456 {
}
movieClip 1458 {
}
movieClip 1459 {
}
movieClip 1460 {
}
movieClip 1461 {
}
movieClip 1463 {
}
movieClip 1464 {
}
movieClip 1466 {
}
movieClip 1468 {
}
movieClip 1470 {
}
movieClip 1472 {
}
movieClip 1475 {
}
movieClip 1476 {
}
movieClip 1480 {
}
movieClip 1484 {
}
movieClip 1486 {
}
movieClip 1488 {
}
movieClip 1490 {
}
movieClip 1491 {
}
movieClip 1494 {
}
movieClip 1496 {
}
movieClip 1497 {
}
button 1503 {
on (release, keyPress '<Enter>') {
gotoAndStop(25);
}
}
movieClip 1513 {
frame 18 {
stop();
}
}
movieClip 1515 {
frame 1 {
m1.play();
m2.stop();
m3.stop();
m4.stop();
m5.stop();
}
instance m1 of movieClip 1513 {
onClipEvent (load) {
txt = 'The Pre-K villains have followed Pre-K Kim';
}
}
instance m2 of movieClip 1513 {
onClipEvent (load) {
txt = 'onto the playground! Help her find her';
}
}
instance m3 of movieClip 1513 {
onClipEvent (load) {
txt = 'way to the other side of the playground';
}
}
instance m4 of movieClip 1513 {
onClipEvent (load) {
txt = 'so she can meet up with the real Kim Possible!';
}
}
instance m5 of movieClip 1513 {
onClipEvent (load) {
txt = 'Good luck!';
}
}
frame 18 {
m2.play();
}
frame 36 {
m3.play();
}
frame 54 {
m4.play();
}
frame 72 {
m5.play();
}
frame 90 {
_parent.kimcator.h1.stop();
_parent.kimcator.h2.stop();
stop();
}
}
movieClip 1518 {
}
movieClip 1521 {
frame 1 {
stop();
}
frame 10 {
stop();
}
frame 20 {
stop();
}
}
movieClip 1524 {
}
movieClip 1526 {
}
movieClip 1530 {
frame 1 {
stop();
}
}
movieClip 1533 {
frame 1 {
stop();
}
frame 28 {
stop();
}
instance of movieClip 1530 {
onClipEvent (load) {
this.onRelease = function () {
stopAllSounds();
_root.gotoAndStop(2);
};
}
}
frame 40 {
stop();
c.quiting = false;
c.gamePaused = false;
b.broadcastMessage('onPlay');
_parent.btnPause._visible = true;
_parent.btnQuit._visible = true;
_parent.btnHelp._visible = true;
}
}
movieClip 1535 {
}
movieClip 1536 {
}
movieClip 1537 {
}
movieClip 1539 {
}
movieClip 1540 {
}
movieClip 1541 {
}
movieClip 1542 {
}
movieClip 1543 {
}
movieClip 1544 {
}
movieClip 1545 {
}
movieClip 1546 {
}
movieClip 1547 {
}
movieClip 1548 {
}
movieClip 1550 {
}
movieClip 1551 {
}
movieClip 1552 {
}
movieClip 1553 {
}
movieClip 1561 {
frame 1 {
stop();
}
}
movieClip 1562 {
}
movieClip 1563 {
}
movieClip 1564 {
}
movieClip 1565 {
}
movieClip 1569 {
frame 1 {
stop();
}
}
movieClip 1574 {
frame 1 {
stop();
}
}
movieClip 1575 {
frame 1 {
stop();
}
instance of movieClip 1561 {
onClipEvent (load) {
this.onRelease = function () {
gotoAndStop(2);
_parent.nextFrame();
};
this.onRollOver = function () {
gotoAndStop(2);
};
this.onRollOut = function () {
gotoAndStop(1);
};
this.onPress = function () {
gotoAndStop(3);
};
this.onReleaseOutside = function () {
gotoAndStop(1);
};
}
}
instance of movieClip 1574 {
onClipEvent (load) {
this.onRelease = function () {
gotoAndStop(2);
_parent.prevFrame();
};
this.onRollOver = function () {
gotoAndStop(2);
};
this.onRollOut = function () {
gotoAndStop(1);
};
this.onPress = function () {
gotoAndStop(3);
};
this.onReleaseOutside = function () {
gotoAndStop(1);
};
}
}
}
button 1578 {
on (release) {
c.gamePaused = false;
b.broadcastMessage('onPlay');
_parent.btnPause._visible = true;
_parent.btnPlay._visible = false;
_parent.btnQuit._visible = true;
_parent.btnHelp._visible = true;
gotoAndStop(1);
}
}
movieClip 1579 {
frame 1 {
stop();
}
}
frame 25 {
btnPlay._visible = false;
stop();
}
movieClip 1581 {
frame 1 {
_visible = false;
}
}
movieClip 1583 {
frame 1 {
_parent.persoFeet = this;
_visible = false;
}
}
movieClip 1584 {
frame 7 {
stop();
}
}
movieClip 1585 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 48 {
stop();
b.removeListener(this);
}
}
movieClip 1591 {
frame 7 {
gotoAndPlay(1);
}
}
movieClip 1596 {
}
movieClip 1597 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 2 {
call('code');
}
frame 3 {
call('code');
}
frame 4 {
call('code');
}
frame 5 {
call('code');
}
frame 6 {
gotoAndPlay(5);
}
frame 8 {
call('code2');
}
frame 9 {
call('code2');
}
frame 10 {
call('code2');
}
frame 11 {
gotoAndPlay(10);
}
frame 12 {
if (!Key.isDown(39) && !Key.isDown(37) && !c.gamePaused) {
gotoAndPlay(7);
} else {
if (Math.abs(c.persoXSpeed) > c.persoMaxXSpeed / 2) {
gotoAndPlay(5);
}
}
}
frame 13 {
if (Key.isDown(39) || Key.isDown(37) && !c.gamePaused) {
gotoAndPlay(1);
}
}
}
movieClip 1599 {
frame 7 {
gotoAndPlay(1);
}
}
movieClip 1601 {
frame 15 {
stop();
}
}
movieClip 1602 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 2 {
s1.gotoAndPlay('swish_' + c.myRand(2, 4));
}
frame 4 {
stop();
b.removeListener(this);
}
}
movieClip 1603 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
c.persoFallStart = perso._y;
}
frame 3 {
stop();
b.removeListener(this);
}
}
movieClip 1604 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
c.persoFallStart = perso._y;
}
frame 5 {
c.persoIsLanding = false;
b.removeListener(this);
stop();
}
}
movieClip 1608 {
frame 19 {
gotoAndPlay(1);
}
}
movieClip 1612 {
}
movieClip 1614 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 9 {
c.persoIsInPain = false;
}
}
movieClip 1615 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 9 {
c.persoIsInPain = false;
}
}
movieClip 1616 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
}
frame 5 {
stop();
b.removeListener(this);
}
}
movieClip 1618 {
}
movieClip 1620 {
}
movieClip 1622 {
}
movieClip 1624 {
}
movieClip 1626 {
}
movieClip 1629 {
}
movieClip 1631 {
}
movieClip 1632 {
}
movieClip 1634 {
}
movieClip 1635 {
}
movieClip 1637 {
}
movieClip 1639 {
}
movieClip 1641 {
}
movieClip 1643 {
}
movieClip 1645 {
}
movieClip 1646 {
}
movieClip 1648 {
}
movieClip 1650 {
}
movieClip 1652 {
}
movieClip 1654 {
}
movieClip 1656 {
}
movieClip 1658 {
}
movieClip 1660 {
}
movieClip 1662 {
}
movieClip 1664 {
}
movieClip 1666 {
}
movieClip 1668 {
}
movieClip 1670 {
}
movieClip 1672 {
}
movieClip 1673 {
}
movieClip 1675 {
}
movieClip 1677 {
}
movieClip 1679 {
}
movieClip 1681 {
}
movieClip 1682 {
frame 19 {
stop();
}
}
movieClip 1683 {
frame 1 {
if (pf == undefined) {
APE(this, 0);
}
trace('start anim death');
}
frame 50 {
stop();
b.removeListener(this);
if (_root.persoLife <= 0) {
_root.KimAge = 1;
_parent._parent._parent.gotoAndStop('gameOver');
} else {
c.persoIsInPain = false;
c.resetPlay();
}
}
}
movieClip 1684 {
frame 1 {
stop();
}
instance persoBody of movieClip 1581 {
onClipEvent (load) {
}
}
}
movieClip 1685 {
instance of movieClip 1684 {
onClipEvent (load) {
this.swapDepths(100);
_global.perso = this;
}
}
}
instance of movieClip 1685 {
onClipEvent (load) {
_parent.moveZone = this;
}
}
movieClip 1690 {
frame 1 {
stop();
}
}
movieClip 1695 {
frame 1 {
_global.MMminLeftTxt = 0;
_global.MMsecLeftTxt = 0;
_global.MMmilLeftTxt = 0;
this.onEnterFrame = function () {
if (_global.MMminLeftTxt != _root.minLeftTxt) {
mcc_minLeftTxt.text = _root.minLeftTxt;
_global.MMminLeftTxt = _root.minLeftTxt;
}
if (_global.MMsecLeftTxt != _root.secLeftTxt) {
mcc_secLeftTxt.text = _root.secLeftTxt;
_global.MMsecLeftTxt = _root.secLeftTxt;
}
if (_global.MMmilLeftTxt != _root.milLeftTxt) {
mcc_milLeftTxt.text = _root.milLeftTxt;
_global.MMmilLeftTxt = _root.milLeftTxt;
}
};
}
}
movieClip 1697 {
}
// unknown tag 88 length 75
movieClip 1700 {
}
button 1702 {
on (release) {
if (!c.gamePaused) {
c.gamePaused = true;
b.broadcastMessage('onPause');
btnPlay._visible = false;
btnPause._visible = false;
btnQuit._visible = false;
btnHelp._visible = false;
helpScreen.gotoAndStop('open');
}
}
}
movieClip 1704 {
}
button 1705 {
on (release) {
if (!c.gamePaused) {
c.gamePaused = true;
b.broadcastMessage('onPause');
btnPlay._visible = true;
btnPause._visible = false;
btnQuit._visible = false;
btnHelp._visible = false;
cachePause.gotoAndPlay('open');
_root.bgsound111.stop();
}
}
}
movieClip 1707 {
}
button 1708 {
on (release) {
if (!c.quiting) {
if (!c.gamePaused) {
c.gamePaused = true;
b.broadcastMessage('onPause');
}
c.quiting = true;
quitScreen.gotoAndPlay('open');
btnPlay._visible = false;
btnPause._visible = false;
btnQuit._visible = false;
btnHelp._visible = false;
}
}
}
movieClip 1711 {
}
movieClip 1714 {
}
movieClip 1715 {
frame 1 {
if (pf == undefined) {
APE(this, 2);
}
}
frame 80 {
stop();
b.removeListener(this);
}
}
movieClip 1718 {
}
button 1719 {
on (release) {
if (c.gamePaused) {
c.gamePaused = false;
b.broadcastMessage('onPlay');
btnPause._visible = true;
btnPlay._visible = false;
cachePause.gotoAndPlay('close');
btnQuit._visible = true;
btnHelp._visible = true;
_root.bgsound111.start(0, 9999);
}
}
}
movieClip 1721 {
frame 1 {
function startShake(shakePower) {
_global.s1.gotoAndPlay('shake_' + myRand(1, 4));
if (!lowRes) {
if (idShake == 0) {
_parent.moveZone.overlay_5.debris.gotoAndPlay('play');
_parent.moveZone._y += shakePower;
idShake = setInterval(shakeIt, 30);
}
}
}
function shakeIt() {
var v2 = _parent.moveZone._y;
if (v2 < -0.4) {
v2 += myRand(0.1, 0.8);
} else {
if (v2 > 0.4) {
v2 -= myRand(0.1, 0.8);
} else {
v2 = 0;
clearInterval(idShake);
idShake = 0;
}
}
v2 = -v2;
_parent.moveZone._y = v2;
}
function secretIn() {
secretDiscovered = true;
_parent.moveZone['BG_' + BGCur].gotoAndStop(2);
persoXSpeed = 0;
persoYSpeed = 0;
}
function secretOut() {
_parent.moveZone['BG_' + BGCur].gotoAndStop(1);
perso._x = secretInX;
perso._y = secretInY;
}
function setDamage(instanceName, damageAmount) {
instTemp = -1;
j = 0;
while (j < tabEnemy.length) {
if (String(tabEnemy[j][0]) eq String(instanceName)) {
tabEnemy[j][1] += damageAmount;
instTemp = j;
break;
}
++j;
}
if (instTemp == -1) {
tabEnemy.push([String(instanceName), damageAmount]);
}
}
function getDamage(instanceName) {
j = 0;
while (j < tabEnemy.length) {
if (String(tabEnemy[j][0]) eq String(instanceName)) {
return tabEnemy[j][1];
}
++j;
}
return -1;
}
function death() {
persoIsDying = true;
_parent.life['life_' + _root.persoLife].gotoAndPlay('close');
--_root.persoLife;
persoAnim('death');
}
function damage(damageAmount) {
_root.persoHealth -= damageAmount;
frameLife = Math.round((100 / _root.persoFullHealth) * (_root.persoFullHealth - _root.persoHealth));
if (idLife != 0) {
clearInterval(idLife);
}
idLife = setInterval(animDamage, 33);
}
function animDamage() {
if (_parent.lifeBar._currentframe >= 100 && frameLife >= 100) {
clearInterval(idLife);
idLife = 0;
_parent.lifeBar.gotoAndStop(100);
death();
} else {
if (_parent.lifeBar._currentframe < frameLife) {
var v2 = Math.floor((_parent.lifeBar._currentframe - frameLife) / lifeBarSpeed);
_parent.lifeBar.gotoAndStop(_parent.lifeBar._currentframe - v2);
} else {
if (_parent.lifeBar._currentframe > frameLife) {
var v2 = Math.ceil((_parent.lifeBar._currentframe - frameLife) / lifeBarSpeed);
_parent.lifeBar.gotoAndStop(_parent.lifeBar._currentframe - v2);
} else {
clearInterval(idLife);
idLife = 0;
}
}
}
}
function persoAnim(action) {
if (persoIsDying) {
action = 'death';
} else {
if (persoIsInPain) {
action = 'hit';
} else {
if (persoIsInvisible) {
action = 'invisible';
}
}
}
switch (action) {
case 'idle':
if (persoIsActivating) {
action = 'activate';
} else {
if (persoIsAttacking) {
action = 'attack';
} else {
if (persoIsLanding) {
action = 'land';
}
}
}
break;
case 'run':
if (persoIsLanding) {
action = 'land';
} else {
if (persoIsAttacking) {
action = 'attack';
}
}
break;
case 'land':
persoIsLanding = true;
break;
case 'crouch':
if (persoIsAttacking) {
action = 'attack';
}
break;
case 'attack':
break;
case 'death':
persoXSpeed = 0;
}
if (!(persoCurAction eq action)) {
perso.gotoAndStop(action);
persoCurAction = action;
}
}
function transitTo(direction) {
_quality = 'MEDIUM';
inTransit = direction;
transitNewX = -BGWidth * (BGCur + direction - 1);
BGLast = BGCur;
BGCur += direction;
if (_root.level == 2 && BGCur + BGLast == 5) {
transitAccel = 1;
} else {
if (_root.level == 1 && BGCur == 9) {
transitAccel = 1;
} else {
transitAccel = 3.5;
}
}
_parent.moveZone.attachMovie('BGHit_l' + _root.level + '_' + BGCur, 'BG_' + BGCur, BGCur);
_parent.moveZone.attachMovie('overlay_l' + _root.level + '_' + BGCur, 'overlay_' + BGCur, 101 + BGCur);
with (eval('_parent.moveZone.BG_' + BGCur)) {
_x = BGWidth * (BGCur - 1);
_y = 0;
}
with (eval('_parent.moveZone.overlay_' + BGCur)) {
_x = BGWidth * (BGCur - 1);
_y = 0;
}
}
function myRand(valMin, valMax) {
x = Math.round(Math.random() * (valMax - valMin)) + valMin;
return x;
}
function myRandDec(valMin, valMax) {
return Math.random() * (valMax - valMin) + valMin;
}
enemyTab = new Array();
damagedEnemyTab = new Array();
damagedEnemyNum = 0;
inTransit = 0;
transitNewX = 0;
transitXSpeed = 0;
accroche = 8;
keyUpListener = new Object();
Key.addListener(keyUpListener);
stillPressingKeyUp = false;
keyAttListener = new Object();
Key.addListener(keyAttListener);
stillPressingKeyAtt = false;
}
frame 2 {
if (!clockStop) {
if (_root.minLeft < 0 && inTransit == 0) {
_parent.timeUp.play();
_root.minLeft = 0;
_root.secLeft = 0;
_root.milLeft = 0;
persoIsDying = true;
_parent.life['life_' + _root.persoLife].gotoAndPlay('close');
--_root.persoLife;
if (_root.persoLife <= 0) {
_parent.gotoAndStop('gameOver');
} else {
persoIsInPain = false;
resetPlay();
}
}
_root.milLeft -= 3.3;
if (_root.milLeft <= 0) {
_root.milLeft = 99;
--_root.secLeft;
if (_root.secLeft < 0) {
_root.secLeft = 59;
--_root.minLeft;
if (_root.minLeft < 0 && inTransit == 0) {
_parent.timeUp.play();
_root.minLeft = 0;
_root.secLeft = 0;
_root.milLeft = 0;
persoIsDying = true;
_parent.life['life_' + _root.persoLife].gotoAndPlay('close');
--_root.persoLife;
if (_root.persoLife <= 0) {
_parent.gotoAndStop('gameOver');
} else {
persoIsInPain = false;
resetPlay();
}
}
}
}
_root.minLeftTxt = fixedDigit(_root.minLeft, 2);
_root.secLeftTxt = fixedDigit(_root.secLeft, 2);
_root.milLeftTxt = fixedDigit(Math.floor(_root.milLeft), 2);
}
if (persoXSpeed != 0) {
persoIsRunning = true;
}
if (persoYSpeed < 0) {
persoIsJumping = true;
persoIsFalling = false;
} else {
if (persoYSpeed > 0) {
persoIsBouncing = false;
persoIsFalling = true;
persoIsJumping = false;
persoAnim('fall');
}
}
if (!persoIsInvisible) {
if (persoIsRunning) {
perso._x += persoXSpeed;
}
persoYSpeed += persoJumpDecel;
if (persoYSpeed > persoMaxYSpeed) {
persoYSpeed = persoMaxYSpeed;
}
perso._y += persoYSpeed;
}
if (inTransit == 0) {
if (perso._x + _parent.moveZone._x > BGWidth + 10) {
if (!persoIsDying) {
transitTo(1);
}
} else {
if (perso._x + _parent.moveZone._x < -20) {
if (!persoIsDying) {
transitTo(-1);
}
}
}
} else {
transitXSpeed = (_parent.moveZone._x - transitNewX) / transitAccel;
_parent.moveZone._x -= transitXSpeed;
if (_parent.moveZone._x >= transitNewX - 2 && _parent.moveZone._x <= transitNewX + 2) {
_parent.moveZone._x = transitNewX;
inTransit = 0;
_quality = 'HIGH';
(eval('_parent.moveZone.BG_' + BGLast)).removeMovieClip();
(eval('_parent.moveZone.overlay_' + BGLast)).removeMovieClip();
}
}
if (!persoIsJumping) {
if (persoIsFalling && persoYSpeed > accroche) {
j = persoMaxYSpeed;
} else {
j = accroche;
}
i = 0;
while (i <= j) {
if (_parent.moveZone['BG_' + BGCur].hitZoneX.hitTest(perso._x + _parent.moveZone._x, perso._y + _parent.moveZone._y - i, true)) {
perso._y -= i;
if (persoIsFalling) {
if (persoYSpeed > 0 && perso._y > Number(persoFallStart + persoLandTreshold)) {
persoAnim('land');
persoXSpeed = 0;
} else {
persoIsLanding = false;
persoXSpeed = Math.floor(persoXSpeed / 2);
}
persoIsAttacking = false;
persoIsFalling = false;
persoIsBouncing = false;
}
persoYSpeed = 0;
} else {
if (perso._y > deathY && !persoIsDying) {
trace('Death from above at Y = ' + perso._y);
death();
}
}
++i;
}
}
k = 1;
if (_parent.moveZone['BG_' + BGCur].hitZoneY.hitTest(perso._x + _parent.moveZone._x, perso._y + _parent.moveZone._y, true)) {
while (_parent.moveZone['BG_' + BGCur].hitZoneY.hitTest(perso._x + _parent.moveZone._x + k, perso._y + _parent.moveZone._y, true)) {
k = -k;
if (k < 0) {
--k;
}
}
perso._x += k;
if (wbEnabled && Key.isDown(38) && persoIsJumping) {
s1.gotoAndPlay('swish_13');
persoXSpeed = -persoXSpeed / 1.2;
if (persoXSpeed < 0) {
perso._xscale = -Math.abs(perso._xscale);
} else {
if (persoXSpeed > 0) {
perso._xscale = Math.abs(perso._xscale);
}
}
persoIsBouncing = true;
c.persoAnim('jump');
persoYSpeed = -persoJumpSpeed;
stillPressingKeyUp = true;
keyUpListener.onKeyUp = function () {
if (!Key.isDown(38)) {
stillPressingKeyUp = false;
keyUpListener.onKeyUp = null;
}
};
} else {
persoXSpeed = 0;
if (Key.isDown(37)) {
persoXSpeed = -2;
} else {
if (Key.isDown(39)) {
persoXSpeed = 2;
}
}
}
}
if (!persoIsDying && !persoIsInPain) {
if (Key.isDown(32) && attEnabled && !persoIsTeleporting && !stillPressingKeyAtt && !persoIsBusy) {
if (!persoIsJumping && !persoIsFalling) {
persoIsAttacking = true;
c.persoAnim('attack');
persoXSpeed = 0;
stillPressingKeyAtt = true;
keyAttListener.onKeyUp = function () {
if (!Key.isDown(32)) {
stillPressingKeyatt = false;
keyAttListener.onKeyUp = null;
}
};
}
} else {
if (Key.isDown(40) && !persoIsTeleporting && !persoIsJumping && !persoIsFalling && !persoIsAttacking && !persoIsBusy) {
persoIsAttacking = false;
persoIsCrouching = true;
persoXSpeed = 0;
c.persoAnim('crouch');
} else {
if (Key.isDown(39) && !Key.isDown(37) && !persoIsTeleporting && !persoIsAttacking && !persoIsBouncing && !persoIsBusy) {
if (!persoIsJumping && !persoIsFalling) {
persoIsAttacking = false;
c.persoAnim('run');
}
if (persoXSpeed < persoMaxXSpeed) {
if (persoXSpeed < 0) {
persoXSpeed = 0;
}
persoXSpeed += persoXAccel;
if (persoXSpeed > persoMaxXSpeed) {
persoXSpeed = persoMaxXSpeed;
}
}
perso._xscale = Math.abs(perso._xscale);
} else {
if (Key.isDown(37) && !Key.isDown(39) && !persoIsTeleporting && !persoIsAttacking && !persoIsBouncing && !persoIsBusy) {
if (!persoIsJumping && !persoIsFalling) {
persoIsAttacking = false;
c.persoAnim('run');
}
if (persoXSpeed > -persoMaxXSpeed) {
if (persoXSpeed > 0) {
persoXSpeed = 0;
}
persoXSpeed -= persoXAccel;
if (persoXSpeed < -persoMaxXSpeed) {
persoXSpeed = -persoMaxXSpeed;
}
}
perso._xscale = -Math.abs(perso._xscale);
} else {
if (!persoIsJumping && !persoIsFalling) {
if (persoXSpeed < 0) {
persoXSpeed += persoXDecel;
if (persoXSpeed > 0) {
persoXSpeed = 0;
}
c.persoAnim('run');
} else {
if (persoXSpeed != 0) {
persoXSpeed -= persoXDecel;
if (persoXSpeed < 0) {
persoXSpeed = 0;
}
c.persoAnim('run');
} else {
c.persoAnim('idle');
}
}
}
}
}
}
}
if (Key.isDown(38) && !stillPressingKeyUp && !persoIsTeleporting && !persoIsJumping && !persoIsFalling && !persoIsBusy) {
c.persoAnim('jump');
persoYSpeed = -(persoJumpSpeed + Math.abs(persoXSpeed) / 5);
stillPressingKeyUp = true;
keyUpListener.onKeyUp = function () {
if (!Key.isDown(38)) {
stillPressingKeyUp = false;
keyUpListener.onKeyUp = null;
}
};
}
} else {
if (!stillPressingKeyAtt) {
persoIsAttacking = false;
}
}
}
frame 3 {
call(2);
}
frame 4 {
gotoAndPlay(3);
}
}
instance c of movieClip 1721 {
onClipEvent (load) {
function resetPlay() {
transitTo(-BGCur + 1);
perso._x = 50;
perso._y = 300;
persoXSpeed = 0;
persoYSpeed = 0;
perso._xscale = Math.abs(perso._xscale);
_root.persoHealth = _root.persoFullHealth;
frameLife = 1;
idLife = setInterval(animDamage, 33);
persoIsDying = false;
_root.minLeft = 2;
_root.secLeft = 0;
_root.milLeft = 0;
_root.minLeftTxt = '02';
_root.secLeftTxt = '00';
_root.milLeftTxt = '00';
}
this._visible = false;
_global.c = this;
_global.b.addListener(this);
idShake = 0;
deathY = 500;
tabEnemy = new Array();
onPause = function () {
stop();
};
onPlay = function () {
play();
};
gamePaused = false;
quiting = false;
clockStop = false;
_root.persoHealth = 30;
a = 1;
while (a <= _root.persoLife) {
_parent.life.attachMovie('life', 'life_' + a, a);
_parent.life['life_' + a]._x = a * 42;
trace(_root.persoLife);
break;
++a;
}
_root.scoreTime = 0;
_root.scoreLife = 0;
_root.score_l2 = 0;
_root.minLeft = 2;
_root.secLeft = 0;
_root.milLeft = 0;
_root.minLeftTxt = '02';
_root.secLeftTxt = '00';
_root.milLeftTxt = '00';
transitAccel = 3.5;
BGLast = 1;
BGCur = 1;
BGMax = 9;
BGWidth = 580;
_root.level = 2;
_parent.moveZone.attachMovie('BGHit_l' + _root.level + '_1', 'BG_1', 1);
_parent.moveZone.attachMovie('overlay_l' + _root.level + '_1', 'overlay_1', 102);
_parent.moveZone.BG_1._x = 0;
_parent.moveZone.BG_1._y = 0;
attEnabled = false;
wbEnabled = false;
persoFallStart = 300;
persoLandTreshold = 20;
secretDiscovered = false;
lifeBarSpeed = 5;
persoIsInvisible = false;
persoIsBusy = false;
persoIsBouncing = false;
persoIsRunning = false;
persoIsJumping = false;
persoIsFalling = false;
persoIsCrouching = false;
persoIsLanding = false;
persoIsAttacking = false;
persoIsInPain = false;
persoIsDying = false;
persoCurAction = 'idle';
persoXSpeed = 0;
persoYSpeed = 0;
persoJumpSpeed = 19;
persoJumpDecel = 3;
persoXAccel = 1;
persoXDecel = 3;
persoMaxXSpeed = 10;
persoMaxYSpeed = 20;
}
onClipEvent (unload) {
_global.b.removeListener(this);
}
}
frame 32 {
_root.minLeftTxt = fixedDigit(_root.minLeft, 2);
_root.secLeftTxt = fixedDigit(_root.secLeft, 2);
_root.milLeftTxt = fixedDigit(Math.floor(_root.milLeft), 2);
_root.min_l2 = _root.minLeft;
_root.sec_l2 = _root.secLeft;
_root.mil_l2 = Math.floor(_root.milLeft);
_root.minTxt_l2 = fixedDigit(_root.min_l2, 2);
_root.secTxt_l2 = fixedDigit(_root.sec_l2, 2);
_root.milTxt_l2 = fixedDigit(_root.mil_l2, 2);
milTemp = _root.milTot + _root.mil_l2;
if (milTemp >= 100) {
milTemp -= 100;
secTemp = _root.secTot + _root.sec_l2 + 1;
} else {
secTemp = _root.secTot + _root.sec_l2;
}
if (secTemp >= 60) {
secTemp -= 60;
minTemp = _root.minTot + _root.min_l2 + 1;
} else {
minTemp = _root.minTot + _root.min_l2;
}
_root.minTotTxt = fixedDigit(minTemp, 2);
_root.secTotTxt = fixedDigit(secTemp, 2);
_root.milTotTxt = fixedDigit(milTemp, 2);
_root.scoreTemp = _root.score;
_root.scoreTime = (_root.secLeft + _root.minLeft * 60) * _root.scoreGiveTime;
_root.scoreLife = _root.persoHealth * _root.scoreGiveHealth + _root.persoLife * _root.scoreGiveLife;
trace(Number(_root.scoreTime + _root.scoreLife) + ' ' + Number(_root.scoreTemp));
trace(_root.scoreTime + ' ' + _root.scoreLife + ' ' + _root.scoreTemp);
_root.score_l2 = Number(_root.scoreTime + _root.scoreLife) + Number(_root.scoreTemp);
_root.score = _root.score_l2;
}
movieClip 1725 {
instance of movieClip 1690 {
onClipEvent (load) {
gotoAndStop(Math.round((100 / _root.persoFullHealth) * (_root.persoFullHealth - _root.persoHealth)));
}
}
instance of movieClip 1697 {
onClipEvent (load) {
a = 1;
while (a <= _root.persoLife) {
_parent.life.attachMovie('life', 'life_' + a, a);
_parent.life['life_' + a]._x = a * 42;
++a;
}
}
}
}
movieClip 1740 {
frame 1 {
stop();
}
}
movieClip 1741 {
frame 28 {
stop();
mcc_scoreTemp.text = _root.scoreTemp;
mcc_scoreTime.text = _root.scoreTime;
mcc_scoreLife.text = _root.scoreLife;
mcc_score_l2.text = _root.score_l2;
}
instance of movieClip 1740 {
onClipEvent (load) {
this.onRelease = function () {
stopAllSounds();
_root.gotoAndPlay(1);
};
}
}
}
frame 39 {
_quality = 'HIGH';
}
movieClip 1744 {
frame 1 {
stop();
}
}
instance of movieClip 1744 {
onClipEvent (load) {
trace('_root.KimAge=' + _root.KimAge);
gotoAndStop(_root.KimAge);
}
}
instance of movieClip 1322 {
onClipEvent (release) {
_root.gotoAndPlay(2);
}
}
movieClip 1748 {
frame 1 {
stop();
}
}
frame 47 {
_root.minLeftTxt = fixedDigit(_root.minLeft, 2);
_root.secLeftTxt = fixedDigit(_root.secLeft, 2);
_root.milLeftTxt = fixedDigit(Math.floor(_root.milLeft), 2);
_root.min_l3 = _root.minLeft;
_root.sec_l3 = _root.secLeft;
_root.mil_l3 = Math.floor(_root.milLeft);
_root.minTxt_l3 = fixedDigit(_root.min_l3, 2);
_root.secTxt_l3 = fixedDigit(_root.sec_l3, 2);
_root.milTxt_l3 = fixedDigit(_root.mil_l3, 2);
milTemp = _root.milTot + _root.mil_l3;
if (milTemp >= 100) {
milTemp -= 100;
secTemp = _root.secTot + _root.sec_l3 + 1;
} else {
secTemp = _root.secTot + _root.sec_l3;
}
if (secTemp >= 60) {
secTemp -= 60;
minTemp = _root.minTot + _root.min_l3 + 1;
} else {
minTemp = _root.minTot + _root.min_l3;
}
_root.minTotTxt = fixedDigit(minTemp, 2);
_root.secTotTxt = fixedDigit(secTemp, 2);
_root.milTotTxt = fixedDigit(milTemp, 2);
_root.scoreTemp = _root.score;
_root.scoreTime = (_root.secLeft + _root.minLeft * 60) * _root.scoreGiveTime;
_root.scoreLife = _root.persoHealth * _root.scoreGiveHealth + _root.persoLife * _root.scoreGiveLife;
_root.score_l3 = _root.scoreTime + _root.scoreLife + _root.score;
_root.score = _root.score_l3;
_root.minTot = _root.minTemp;
_root.secTot = _root.secTemp;
_root.milTot = _root.milTemp;
_root.scoreTotal = _root.score_l3;
}
movieClip 1752 {
frame 1 {
stop();
}
}
instance of movieClip 1752 {
onClipEvent (load) {
this.onRelease = function () {
_root.playerScore = _root.score;
_parent.doge.loadMovie(_root.dogeURL, 1);
_parent.dogeCache.gotoAndPlay('open');
gotoAndStop(2);
};
this.onRollOver = function () {
gotoAndStop(2);
};
this.onRollOut = function () {
gotoAndStop(1);
};
this.onPress = function () {
gotoAndStop(3);
};
this.onReleaseOutside = function () {
gotoAndStop(1);
};
}
}
movieClip 1753 {
frame 1 {
stop();
}
}
instance of movieClip 1753 {
onClipEvent (load) {
this.onRelease = function () {
gotoAndStop(2);
_parent.gotoAndStop('l1_play');
};
this.onRollOver = function () {
gotoAndStop(2);
};
this.onRollOut = function () {
gotoAndStop(1);
};
this.onPress = function () {
gotoAndStop(3);
};
this.onReleaseOutside = function () {
gotoAndStop(1);
};
}
}
frame 48 {
stop();
}