Frame 1
function wegaDetails() {
getURL ("http://www.sony.co.uk/PageView.do?site=odw_en_GB&page=ProductHome§ion=en_GB_Products&productmodel=%2FTV+Projector%2FTVP+Flat+Panel+TV%2FKDE-P37XS1&productcategory=%2FTV+Projector%2FTVP+Flat+Panel+TV", "_blank");
}
function wegaInfo() {
getURL ("http://www2.sony.co.uk/wegaengine/", "_blank");
}
function gotoMain() {
trgFrame = "main";
gotoAndPlay (59);
}
function finishGame(p) {
if ((p.missed == 1) || (this[p.pc + "jstat"] == "over")) {
trace("yes");
p._parent.finishMsg.displayMe("sorry");
} else if (wRecord < p.distMrts) {
p._parent.wrMsg.play();
} else {
p._parent.wdMsg.play();
}
}
function runCalc(t, p) {
jumpVar = p.pc + "jstat";
if (this[jumpVar] != 1) {
p.dist = p.dist - p.speed;
}
if (((p.dist - t.sofaOffset) < 0) && (this[jumpVar] != 1)) {
if ((p.dist < 0) && (this[jumpVar] < 1)) {
t.sStart.gotoAndStop(2);
p._visible = 0;
this[jumpvar] = "over";
t.overMsg.play();
}
if (!t.sofaMoving) {
setSofaPos(t);
}
if (world.left < (t.sStart._x + t.sStart._width)) {
moveObj(t.sStart, p);
}
i = 0;
while (i < t.arrPieces.length) {
if (((t.arrPieces[i]._x + t.arrPieces[i]._width) < world.left) && (t.endSofa != 1)) {
if (this[jumpVar] >= 9) {
t.endSofa = 1;
t.arrPieces[i] = t.sEnd;
}
if (i == 0) {
moveTrg = t.arrPieces.length - 1;
} else {
moveTrg = i - 1;
}
t.arrPieces[i]._x = (t.arrPieces[moveTrg]._x + t.arrPieces[moveTrg]._width) - t.sofaOverlap;
}
moveObj(t.arrPieces[i], p);
i++;
}
}
}
function setSofaPos(t) {
t.sofaOverlap = 10;
t.sofaMoving = 1;
t.sStartRPos = t.sStart._x + t.sStart._width;
t.arrPieces = new Array(t.sMiddle0);
t.arrPieces[0]._x = t.sStartRPos - t.sofaOverlap;
i = 1;
while (t["sMiddle" + i]) {
t["sMiddle" + i]._x = (t["sMiddle" + (i - 1)]._x + t["sMiddle" + (i - 1)]._width) - t.sofaOverlap;
t.arrPieces[i] = t["sMiddle" + i];
i++;
}
}
function pjump(p) {
tmpVar = p.pc + "jstat";
if ((3 < this[tmpVar]) && (this[tmpVar] < 9)) {
setTraj(p);
}
if (this[tmpVar] == 1) {
p.gotoAndStop("crouch");
} else if (this[tmpVar] == 2) {
setLaunchParams(p);
p.gotoAndPlay("jump");
this[tmpVar] = 3;
} else if (this[tmpVar] == 3) {
p.launchSpeed = p.speed;
this[tmpVar] = 4;
} else if (this[tmpVar] == 5) {
p.gotoAndPlay("glide");
this[tmpVar] = 6;
} else if (this[tmpVar] == 7) {
p.gotoAndPlay("down");
this[tmpVar] = 8;
} else if (this[tmpVar] == 9) {
p.gotoAndPlay("slide");
this[tmpVar] = 10;
} else if ((this[tmpVar] == 10) && (0 < p.speed)) {
slideToStop(p);
}
}
function slideToStop(p) {
if (p.sbounds == null) {
p.sbounds = p.getBounds(_root);
p.sbounds = p.getBounds(_root);
}
if ((0.1 < p.speed) && (p.sbounds.yMax < ((p._parent.sEnd._x + p._parent.sEnd._width) - 45))) {
p.speed = p.speed * p.slideFrict;
} else {
p.speed = 0;
finishGame(p);
}
}
function setLaunchParams(p) {
this[p.pc + "angle"] = (((this[p.pc + "angle"] / 90) * 0.9) + 0.05) * 90;
radians = (this[p.pc + "angle"] * Math.PI) / 180;
p.yVel = p.speed * ((Math.sin(radians) * 1) + 0);
p.xVel = p.speed * ((Math.cos(radians) * 1) + 0);
p.speed = p.xVel;
trace((((this[p.pc + "angle"] + ",") + Math.sin(radians)) + ",") + (1 - Math.sin(radians)));
p.newX = 0;
p.newY = 0;
p.yStartVel = p.yVel;
p.landTrg = world.couch;
}
function setTraj(p) {
p.newX = p.newX + (p.xVel * (1 / fps));
p.newY = p.newY + (p.yVel * (1 / fps));
p.yVel = p.yVel - (world.gravity * (1 / fps));
convertYPos(p);
checkStatus(p);
}
function convertYPos(p) {
p.convY = (world.bott - (p.newY * (1 / pixConv))) - p.Yorg;
if ((p.yVel < 0) && (p.landTrg < p.convY)) {
if ((p._x < p._parent.sStart._x) && (p.missed != 1)) {
p.landTrg = world.floor;
p.missed = 1;
p._parent.missMsg.play();
} else {
p.convY = p.landTrg;
this[p.pc + "jstat"] = 9;
}
}
p._y = p.convY;
}
function checkStatus(p) {
if (0 < p.yVel) {
p.currAngle = (p.yVel / p.yStartVel) * this[p.pc + "angle"];
p._rotation = -p.currAngle;
} else if (p._rotation != 0) {
p._rotation = 0;
}
if ((this[p.pc + "jstat"] < 7) && (p.currAngle < 5)) {
this[p.pc + "jstat"] = 7;
}
if ((this[p.pc + "jstat"] < 5) && (p.currAngle < 20)) {
this[p.pc + "jstat"] = 5;
}
}
function checkSpeed(p) {
currKey = _root[p.pc + "LeftK"] - _root[p.pc + "RightK"];
if ((currKey != 0) && (currKey != p.prevKey)) {
if ((p.speed + p.accel) < p.maxspeed) {
p.prevKey = currKey;
p.speed = p.speed + p.accel;
} else {
p.speed = p.maxSpeed;
}
} else if (0 < p.speed) {
p.speed = p.speed - p.friction;
if (p.speed < 0) {
p.speed = 0;
}
}
}
function pcAnim(p) {
if (0 < p.speed) {
p.aCount++;
p.aSpeed = Math.floor((fps - ((p.speed / p.maxSpeed) * fps)) * 0.25);
if (p.aCount >= p.aSpeed) {
p.aCount = 0;
p.play();
}
} else {
p.gotoAndPlay("stand");
}
}
function hudupdate(p, s) {
s.hudspeed.bar._xscale = (p.speed / p.maxSpeed) * 100;
}
function bgAnim(t, s) {
if (this[s.player.pc + "jstat"] != 1) {
if ((t._x + t._width) < world.left) {
if (t.freq == 0) {
t._visible = 0;
t.anim = 0;
} else {
t._x = (s.lastClip._x + s.lastclip._width) + s.objSpace;
s.lastClip = t;
}
} else if (world.right < t._x) {
t._visible = 0;
} else {
t._visible = 1;
}
moveObj(t, s.player);
}
}
function moveObj(t, p) {
t._x = t._x - (p.speed * t.depth);
}
function calcAngle(c, tf, trg) {
_root[trg.pc + "angle"] = c * (90 / tf);
}
domain = "http://www.thearmchairgames.tv";
folder = "/sofa/";
function b64arrays() {
_root.b64s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
_root.b64 = new Array();
_root.f64 = new Array();
i = 0;
while (i < b64s.length) {
b64[i] = b64s.charAt(i);
f64[b64s.charAt(i)] = i;
i++;
}
}
function utf8t2d(t) {
var d = new Array();
var test = String.fromCharCode(237);
if (test.charCodeAt(0) < 0) {
var n = 0;
while (n < t.length) {
var c = t.charCodeAt(n);
if (0 < c) {
d[d.length] = c;
} else {
d[d.length] = ((256 + c) >> 6) | 192;
d[d.length] = ((256 + c) & 63) | 128;
}
n++;
}
} else {
var n = 0;
while (n < t.length) {
var c = t.charCodeAt(n);
if (c < 128) {
d[d.length] = c;
} else if ((127 < c) && (c < 2048)) {
d[d.length] = (c >> 6) | 192;
d[d.length] = (c & 63) | 128;
} else {
d[d.length] = (c >> 12) | 224;
d[d.length] = ((c >> 6) & 63) | 128;
d[d.length] = (c & 63) | 128;
}
n++;
}
}
return(d);
}
function b64d2t(d) {
var r = new Array();
var i = 0;
var dl = d.length;
if ((dl % 3) == 1) {
d[d.length] = 0;
}
d[d.length] = 0;
if ((dl % 3) == 2) {
d[d.length] = 0;
}
while (i < d.length) {
r[r.length] = b64[d[i] >> 2];
r[r.length] = b64[((d[i] & 3) << 4) | (d[i + 1] >> 4)];
r[r.length] = b64[((d[i + 1] & 15) << 2) | (d[i + 2] >> 6)];
r[r.length] = b64[d[i + 2] & 63];
if ((i % 57) == 54) {
r[r.length] = newline;
}
i = i + 3;
}
if ((dl % 3) == 1) {
r[r.length - 1] = (r[r.length - 2] = "=");
}
if ((dl % 3) == 2) {
r[r.length - 1] = "=";
}
var t = r.join("");
return(t);
}
function base64_encode(str) {
b64arrays();
return(b64d2t(utf8t2d(str)));
}
Instance of Symbol 8 MovieClip in Frame 6
onClipEvent (enterFrame) {
loadPct = _root.getBytesLoaded() / _root.getBytesTotal();
gotoAndStop(int(_totalframes * loadPct));
if (loadPct == 1) {
_root.play();
} else {
_root.stop();
}
}
Instance of Symbol 33 MovieClip in Frame 12
onClipEvent (load) {
if (_root.soundOff == 1) {
this.gotoAndStop(4);
}
}
Instance of Symbol 38 MovieClip in Frame 12
onClipEvent (load) {
if (_root.lowQual == 1) {
this.gotoAndStop(4);
}
}
Frame 30
stop();
Frame 38
gotoAndPlay (51);
Frame 51
function fbListSet(m) {
i = 0;
while (i < m.myClips.length) {
n = 0;
while (n < ctrList.length) {
if ((m.pc + m.myClips[i]._name) == ctrList[n]) {
fbList[n] = m.myClips[i];
}
n++;
}
i++;
}
}
function checkKeys() {
i = 0;
while (i < ctrKeyList.length) {
if (Key.isDown(ctrKeyList[i])) {
if (_root[ctrList[i]] != 1) {
_root[ctrList[i]] = 1;
if (!fbList[i].inactive) {
fbList[i].dAction(ctrKeyList[i]);
}
}
} else {
_root[ctrList[i]] = 0;
}
i++;
}
}
ingame = 0;
p1jstat = null;
p1angle = null;
world = new object();
world.left = wLeft._x;
world.right = wRight._x;
world.top = wTop._y;
world.bott = wBott._y;
world.couch = wCouch._y;
world.floor = wFloor._y;
world.spawnpoint = spawnpoint._x;
world.gravity = 5.81;
maxJump = 700;
wRecord = 8.95;
runDist = 1000;
fps = 25;
fTime = 1000 / fps;
worldHeightMeters = 8;
pixConv = worldHeightMeters / (world.bott - world.top);
ctrList = new array("p1LeftK", "p1RightK", "p1JumpK");
ctrNameList = new array("Player 1 - Left", "Player 1 - Right", "Player 1 - Jump");
ctrKeyList = new array(37, 39, 32);
fbList = new array();
Frame 57
stop();
Frame 58
stop();
Instance of Symbol 157 MovieClip in Frame 58
onClipEvent (load) {
objSpace = 300;
}
Instance of Symbol 86 MovieClip in Frame 58
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
_root.checkKeys();
}
Instance of Symbol 164 MovieClip in Frame 58
onClipEvent (load) {
function turnOff() {
i = 0;
while (i < myClips.length) {
myClips[i].inactive = 1;
i++;
}
}
pc = "p1";
myClips = new array(LeftK, RightK, JumpK);
_root.fbListSet(this);
}
onClipEvent (load) {
if (_root[pc + "jstat"] == "over") {
turnOff();
}
}
Instance of Symbol 165 MovieClip in Frame 59
onClipEvent (load) {
function fadesound() {
currvolume = _root.globalsound.getVolume();
if (currvolume >= 10) {
_root.globalsound.setVolume(currvolume - 10);
} else {
_root.globalsound.setVolume(0);
}
}
_root.globalsound = new Sound();
}
onClipEvent (enterFrame) {
fadesound();
}
Frame 77
stopAllSounds();
_root.globalsound.setVolume(100);
if (trgFrame != "main") {
gotoAndPlay(trgFrame);
} else {
loadMovieNum (_root.domain + "/game.swf", 0);
stop();
}
Symbol 8 MovieClip Frame 1
stop();
Symbol 18 MovieClip Frame 1
this._visible = 0;
stop();
Symbol 24 Button
on (release) {
trgFrame = "instructions";
gotoAndPlay (59);
}
Symbol 27 Button
on (release) {
trgFrame = "restart";
gotoAndPlay (59);
}
Symbol 29 Button
on (release) {
stopAllSounds();
_root.soundOff = 1;
gotoAndStop (4);
}
Symbol 32 Button
on (release) {
_root.soundOff = 0;
play();
}
Symbol 33 MovieClip Frame 3
stop();
Symbol 33 MovieClip Frame 4
stop();
Symbol 35 Button
on (release) {
_root.lowQual = 1;
toggleHighQuality();
gotoAndStop (4);
}
Symbol 37 Button
on (release) {
_root.lowQual = 0;
toggleHighQuality();
play();
}
Symbol 38 MovieClip Frame 3
stop();
Symbol 38 MovieClip Frame 4
stop();
Symbol 56 Button
on (release) {
_root.play();
}
Symbol 60 Button
on (release) {
_root.gotoMain();
}
Symbol 64 Button
on (release) {
_root.wegaDetails();
}
Symbol 70 MovieClip Frame 46
_root.play();
Symbol 70 MovieClip Frame 54
stop();
Symbol 95 MovieClip Frame 1
stop();
Symbol 102 MovieClip Frame 1
stop();
Symbol 102 MovieClip Frame 2
stop();
Symbol 102 MovieClip Frame 3
stop();
Symbol 102 MovieClip Frame 4
stop();
Symbol 102 MovieClip Frame 5
gotoAndPlay (1);
Symbol 102 MovieClip Frame 10
stop();
Symbol 102 MovieClip Frame 22
stop();
Symbol 102 MovieClip Frame 33
stop();
Symbol 102 MovieClip Frame 36
stop();
Symbol 102 MovieClip Frame 53
stop();
Symbol 104 MovieClip Frame 1
stop();
Instance of Symbol 107 MovieClip "bar" in Symbol 109 MovieClip Frame 1
onClipEvent (load) {
_xscale = 0;
}
Symbol 119 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 2
stop();
Instance of Symbol 117 MovieClip "jumpScaleEnd" in Symbol 119 MovieClip Frame 2
onClipEvent (load) {
_visible = 0;
}
Symbol 122 MovieClip Frame 1
stop();
Instance of Symbol 121 MovieClip in Symbol 122 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Symbol 122 MovieClip Frame 45
stop();
Symbol 125 MovieClip Frame 1
stop();
Instance of Symbol 124 MovieClip in Symbol 125 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 86 MovieClip in Symbol 125 MovieClip Frame 2
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
if (0 < _parent._parent.player.speed) {
_root.slideToStop(_parent._parent.player);
}
}
Symbol 125 MovieClip Frame 45
stop();
Symbol 128 MovieClip Frame 1
stop();
Instance of Symbol 127 MovieClip in Symbol 128 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Symbol 128 MovieClip Frame 51
_parent.finishMsg.displayme("record");
stop();
Symbol 131 MovieClip Frame 1
stop();
Instance of Symbol 130 MovieClip in Symbol 131 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Symbol 131 MovieClip Frame 49
_parent.finishMsg.displayme("tryagain");
stop();
Symbol 134 Button
on (release) {
_root.gotoMain();
}
Symbol 136 Button
on (release) {
_root.trgFrame = "restart";
_root.gotoAndPlay("gameEnd");
}
Symbol 137 Button
on (release) {
_root.trgFrame = "instructions";
_root.gotoAndPlay("gameEnd");
}
Symbol 142 Button
on (release) {
_parent.challenge();
}
Symbol 145 Button
on (release) {
_root.wegaInfo();
}
Symbol 150 Button
on (release) {
_parent.enterComp();
}
Symbol 156 MovieClip Frame 1
stop();
Instance of Symbol 155 MovieClip in Symbol 156 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
}
Symbol 156 MovieClip Frame 8
stop();
Symbol 157 MovieClip Frame 15
lastClip = plant;
stop();
Instance of Symbol 81 MovieClip "clock" in Symbol 157 MovieClip Frame 15
onClipEvent (load) {
depth = 4;
freq = 3;
}
onClipEvent (enterFrame) {
_root.bgAnim(this, _parent);
}
Instance of Symbol 82 MovieClip "picture" in Symbol 157 MovieClip Frame 15
onClipEvent (load) {
depth = 4;
freq = 1;
}
onClipEvent (enterFrame) {
_root.bgAnim(this, _parent);
}
Instance of Symbol 71 MovieClip "bookcase" in Symbol 157 MovieClip Frame 15
onClipEvent (load) {
depth = 4;
freq = 2;
}
onClipEvent (enterFrame) {
_root.bgAnim(this, _parent);
}
Instance of Symbol 84 MovieClip "plant" in Symbol 157 MovieClip Frame 15
onClipEvent (load) {
depth = 4.3;
freq = 2;
}
onClipEvent (enterFrame) {
_root.bgAnim(this, _parent);
}
Instance of Symbol 86 MovieClip in Symbol 157 MovieClip Frame 15
onClipEvent (load) {
_visible = 0;
}
onClipEvent (enterFrame) {
_root.runCalc(_parent, _parent.player);
}
Instance of Symbol 87 MovieClip "wall" in Symbol 157 MovieClip Frame 15
onClipEvent (load) {
depth = 5;
freq = 0;
}
onClipEvent (enterFrame) {
if (anim != 0) {
_root.bgAnim(this, _parent);
}
}
Instance of Symbol 88 MovieClip "lamp" in Symbol 157 MovieClip Frame 15
onClipEvent (load) {
depth = 4.3;
freq = 1;
}
onClipEvent (enterFrame) {
_root.bgAnim(this, _parent);
}
Instance of Symbol 90 MovieClip "sMiddle2" in Symbol 157 MovieClip Frame 15
onClipEvent (load) {
depth = 4.5;
}
Instance of Symbol 90 MovieClip "sMiddle1" in Symbol 157 MovieClip Frame 15
onClipEvent (load) {
depth = 4.5;
}
Instance of Symbol 90 MovieClip "sMiddle0" in Symbol 157 MovieClip Frame 15
onClipEvent (load) {
depth = 4.5;
}
Instance of Symbol 92 MovieClip "sEnd" in Symbol 157 MovieClip Frame 15
onClipEvent (load) {
depth = 4.5;
}
Instance of Symbol 95 MovieClip "sStart" in Symbol 157 MovieClip Frame 15
onClipEvent (load) {
depth = 4.5;
_parent.sofaOffset = (_x - _parent.player._x) / depth;
}
Instance of Symbol 102 MovieClip "player" in Symbol 157 MovieClip Frame 15
onClipEvent (load) {
pc = "p1";
accel = 0.5;
maxSpeed = 10;
animMod = _root.fps / maxSpeed;
friction = 0.1;
slideFrict = 0.955;
Yorg = _root.world.bott - _y;
dist = _root.runDist;
}
onClipEvent (enterFrame) {
if (_root[pc + "jstat"] < 1) {
_root.checkSpeed(this);
_root.pcAnim(this);
} else {
_root.pjump(this);
}
if (fCount == 1) {
_root.hudupdate(this, _parent);
fcount = 0;
} else {
fcount = 1;
}
}
Instance of Symbol 104 MovieClip "door" in Symbol 157 MovieClip Frame 15
onClipEvent (load) {
depth = 5;
freq = 0;
}
onClipEvent (enterFrame) {
if (anim != 0) {
_root.bgAnim(this, _parent);
}
}
Instance of Symbol 119 MovieClip "dBar" in Symbol 157 MovieClip Frame 15
onClipEvent (load) {
function setVars() {
myWidth = jumpScaleEnd._x - jumpMarker._x;
myStart = jumpMarker._x;
masterDist = _root.maxJump;
convFact = myWidth / masterDist;
}
myClip = _parent.player;
myWidth = scaleEnd._x - marker._x;
myStart = marker._x;
masterDist = _root.runDist;
convFact = myWidth / masterDist;
}
onClipEvent (enterFrame) {
if (0 < myclip.dist) {
marker._x = scaleEnd._x - (myclip.dist * convFact);
}
if ((myclip.dist < 0) && (1 < _root.p1jStat)) {
if (jumpMarker._x < jumpScaleEnd._x) {
jumpMarker._x = myStart + ((-1 * myclip.dist) * convFact);
}
myclip.distMrts = int(((-1 * myclip.dist) * _root.pixConv) * 100) / 100;
if (doit == 1) {
dist = myclip.distMrts;
} else {
doit = 1;
}
}
if (_root.p1jstat == 1) {
gotoAndStop (2);
setVars();
}
}
Instance of Symbol 156 MovieClip "finishMsg" in Symbol 157 MovieClip Frame 15
onClipEvent (load) {
function displayMe(theMsg) {
finalScore = _parent.dBar.dist;
msg.gotoAndStop(theMsg);
play();
}
function challenge() {
buildURL();
getURL ((((("javascript:void window.open('" + _root.domain) + _root.folder) + "challenge.php") + sendVar) + "', 'challenge', 'scrollbars=yes,resizable=yes,width=500,height=500');");
}
function enterComp() {
buildURL();
getURL ((((("javascript:void window.open('" + _root.domain) + _root.folder) + "competition.php") + sendVar) + "', 'comp', 'scrollbars=yes,resizable=yes,width=480,height=500');");
}
function buildURL() {
sendVar = _root.base64_encode(("Don't" + this.finalScore) + "Con");
sendVar = (("?sessId=" + preVar) + sendVar) + endVar;
trace(sendVar);
}
}
Symbol 158 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 2
stop();
Instance of Symbol 158 MovieClip "LeftK" in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
function dAction() {
play();
}
}
Instance of Symbol 161 MovieClip "angle" in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
_parent.angleMax = null;
stop();
}
onClipEvent (enterFrame) {
if (_currentframe == _totalframes) {
_parent.angleMax = 1;
stop();
}
if (_root[_parent.pc + "jstat"] == 2) {
if (_root[_parent.pc + "angle"] == null) {
_root.calcAngle(_currentframe, _totalframes, _parent);
stop();
}
}
}
Instance of Symbol 162 MovieClip "RightK" in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
function dAction() {
play();
}
}
Instance of Symbol 163 MovieClip "JumpK" in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
function dAction(k) {
if (_root[_parent.pc + "jstat"] == "over") {
_parent.turnOff();
}
if (inactive != 1) {
play();
kDown = k;
_parent.turnOff();
_root[_parent.pc + "jstat"] = 1;
_parent.angle._visible = 1;
_parent.angle.play();
}
}
}
onClipEvent (enterFrame) {
if (kDown != null) {
if ((!Key.isDown(kDown)) || (_parent.angleMax == 1)) {
play();
kDown = null;
_root[_parent.pc + "jstat"] = 2;
}
}
}