Frame 1
stop();
var loadstr = "0%";
Instance of Symbol 3 MovieClip in Frame 1
onClipEvent (enterFrame) {
_root.loadstr = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
_root.loadtext = _root.loadstr + "%";
this.bar._x = ((_root.getBytesLoaded() / _root.getBytesTotal()) * 550) - 550;
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
trace(_root.getBytesLoaded());
trace(_root.getBytesTotal());
_root.play();
}
}
Frame 2
stop();
_root.mm.cready = true;
var sfull = false;
var pausedgame = false;
Instance of Symbol 11 MovieClip "mm" in Frame 2
onClipEvent (load) {
var gstate = 0;
var cready = true;
}
on (keyPress "<Left>") {
if (cready) {
if (gstate == 1) {
cready = false;
gstate = 0;
_root.gotoAndPlay("42");
} else if (gstate == 2) {
cready = false;
gstate = 1;
_root.gotoAndPlay("29");
}
}
}
on (keyPress "<Right>") {
if (cready) {
if (gstate == 0) {
cready = false;
gstate = 1;
_root.gotoAndPlay("3");
} else if (gstate == 1) {
cready = false;
gstate = 2;
_root.gotoAndPlay("16");
}
}
}
on (keyPress "<Space>") {
trace(gstate);
if (gstate == 0) {
_root.gotoAndPlay("game");
} else if (gstate == 1) {
_root.gotoAndPlay("configf");
} else if (gstate == 2) {
_root.gotoAndPlay("helpf");
} else if (gstate == 3) {
_root.play();
} else if (gstate == 4) {
_root.play();
}
}
Frame 15
stop();
_root.mm.cready = true;
Frame 28
stop();
_root.mm.cready = true;
Frame 41
stop();
_root.mm.cready = true;
_root.gotoAndStop(15);
Frame 54
stop();
_root.mm.cready = true;
_root.gotoAndStop(2);
Frame 55
_root.mm.cready = true;
Frame 65
stop();
_root.mm.gstate = 3;
Frame 75
_root.mm.gstate = 2;
_root.mm.cready = true;
_root.gotoAndStop(28);
Frame 76
_root.mm.cready = true;
Frame 86
stop();
_root.mm.gstate = 4;
Frame 96
_root.mm.gstate = 1;
_root.mm.cready = true;
_root.gotoAndStop(15);
Frame 97
p.va = 0;
p.xa = 2;
p.xvel = 3;
p.yvel = 0;
p._x = 100;
p._y = 64;
b._y = -64;
b._x = 400;
b._xvel = 3;
b._yvel = 0;
stop();
var lvl = 1;
_root.lvltext = lvl;
Stage.scaleMode = "showAll";
_root.pausedgame = false;
gl.gotoAndStop(2);
gr.gotoAndStop(1);
stop();
var spikes = [];
var walls = [];
Instance of Symbol 25 MovieClip "p" in Frame 97
onClipEvent (enterFrame) {
if (!_root.pausedgame) {
this.yvel = this.yvel + 1;
if (Key.isDown(37)) {
this.xvel = this.xvel - xa;
} else if (Key.isDown(39)) {
this.xvel = this.xvel + xa;
}
this._y = this._y + yvel;
this._x = this._x + xvel;
if (this._y > 360) {
this._y = 360;
this.yvel = -Math.abs(yvel);
} else if (this._y < 0) {
this._y = 0;
this.yvel = Math.abs(yvel);
}
if (this._x < 0) {
this._x = 0;
this.xvel = Math.abs(xvel) / 1.2;
} else if (this._x > 510) {
this._x = 510;
this.xvel = -(Math.abs(xvel) / 1.2);
}
if (this.hitTest(_root.b)) {
_root.gotoAndPlay("gameover");
}
if (this.hitTest(_root.gh)) {
_root.lvl++;
_root.lvltext = _root.lvl;
_root.nextFrame();
}
i = 0;
while (i < _root.walls.length) {
if (this.hitTest(_root.walls[i].hit)) {
if ((_x + 20) > (_root.walls[i]._X + (_root.walls[i]._width / 2))) {
_x = (_root.walls[i]._x + _root.walls[i]._width);
xvel = Math.abs(xvel) / 1.5;
} else {
xvel = -(Math.abs(xvel) / 1.5);
_x = (_root.walls[i]._x - 40);
}
}
i++;
}
i = 0;
while (i < _root.spikes.length) {
if (this.hitTest(_root.spikes[i].hit)) {
_root.gotoAndPlay("gameover");
}
i++;
}
}
}
onClipEvent (load) {
va = 0;
xa = 2;
xvel = 3;
yvel = 0;
}
Instance of Symbol 27 MovieClip "b" in Frame 97
onClipEvent (enterFrame) {
if (!_root.pausedgame) {
this.yvel = this.yvel + 1;
this._y = this._y + yvel;
this._x = this._x + xvel;
if (this._y > 360) {
this._y = 360;
this.yvel = -Math.abs(yvel);
} else if (this._y < 0) {
this._y = 0;
this.yvel = Math.abs(yvel);
}
if (this._x < 0) {
this._x = 0;
this.xvel = Math.abs(xvel);
} else if (this._x > 510) {
this._x = 510;
this.xvel = -Math.abs(xvel);
}
}
}
onClipEvent (load) {
va = 1;
xa = 2;
xvel = 3;
yvel = 0;
}
Frame 98
gl.gotoAndStop(1);
gr.gotoAndStop(2);
stop();
var walls = [];
_root.walls.push(w1);
Frame 99
gl.gotoAndStop(2);
gr.gotoAndStop(1);
stop();
var walls = [];
_root.walls.push(w1);
_root.walls.push(w2);
Frame 100
gl.gotoAndStop(1);
gr.gotoAndStop(2);
stop();
var walls = [];
_root.walls.push(w1);
_root.walls.push(w2);
_root.walls.push(w3);
Frame 101
gl.gotoAndStop(2);
gr.gotoAndStop(1);
stop();
var walls = [];
_root.walls.push(w1);
_root.walls.push(w2);
_root.walls.push(w3);
Frame 102
gl.gotoAndStop(1);
gr.gotoAndStop(2);
stop();
var walls = [];
_root.walls.push(w1);
_root.walls.push(w2);
_root.walls.push(w3);
_root.walls.push(w4);
_root.walls.push(w5);
Frame 103
gl.gotoAndStop(2);
gr.gotoAndStop(1);
stop();
var walls = [];
_root.walls.push(w1);
_root.walls.push(w2);
_root.walls.push(w3);
_root.walls.push(w4);
_root.walls.push(w5);
Frame 104
gl.gotoAndStop(1);
gr.gotoAndStop(2);
stop();
var walls = [];
_root.walls.push(w1);
_root.walls.push(w2);
_root.walls.push(w3);
_root.walls.push(w4);
Frame 105
gl.gotoAndStop(2);
gr.gotoAndStop(1);
stop();
var walls = [];
_root.walls.push(w1);
_root.walls.push(w2);
_root.walls.push(w3);
_root.walls.push(w4);
_root.walls.push(w5);
Frame 106
gl.gotoAndStop(1);
gr.gotoAndStop(2);
stop();
var walls = [];
_root.walls.push(w1);
_root.walls.push(w2);
_root.walls.push(w3);
_root.walls.push(w4);
_root.walls.push(w5);
_root.walls.push(w6);
_root.walls.push(w7);
Frame 107
gl.gotoAndStop(2);
gr.gotoAndStop(1);
stop();
var walls = [];
_root.walls.push(w1);
_root.walls.push(w2);
_root.walls.push(w3);
_root.walls.push(w4);
_root.walls.push(w5);
_root.walls.push(w6);
_root.walls.push(w7);
Frame 108
gl.gotoAndStop(1);
gr.gotoAndStop(2);
stop();
var walls = [];
_root.walls.push(w1);
_root.walls.push(w2);
_root.walls.push(w3);
_root.walls.push(w4);
_root.walls.push(w6);
_root.walls.push(w7);
Frame 109
gl.gotoAndStop(2);
gr.gotoAndStop(1);
stop();
var spikes = [];
_root.spikes.push(s1);
_root.spikes.push(s2);
var walls = [];
_root.walls.push(w1);
_root.walls.push(w2);
Frame 110
gl.gotoAndStop(1);
gr.gotoAndStop(2);
stop();
var spikes = [];
_root.spikes.push(s1);
_root.spikes.push(s2);
var walls = [];
_root.walls.push(w1);
_root.walls.push(w2);
_root.walls.push(w3);
Frame 111
gl.gotoAndStop(2);
gr.gotoAndStop(1);
stop();
var spikes = [];
_root.spikes.push(s1);
_root.spikes.push(s2);
_root.spikes.push(s3);
var walls = [];
_root.walls.push(w1);
_root.walls.push(w2);
_root.walls.push(w3);
Frame 112
gl.gotoAndStop(1);
gr.gotoAndStop(2);
stop();
Frame 113
gl.gotoAndStop(2);
gr.gotoAndStop(1);
stop();
var spikes = [];
_root.spikes.push(s1);
_root.spikes.push(s2);
_root.spikes.push(s3);
_root.spikes.push(s4);
var walls = [];
_root.walls.push(w1);
_root.walls.push(w2);
Frame 114
gl.gotoAndStop(1);
gr.gotoAndStop(2);
stop();
var spikes = [];
_root.spikes.push(s1);
_root.spikes.push(s2);
_root.spikes.push(s3);
_root.spikes.push(s4);
var walls = [];
_root.walls.push(w1);
_root.walls.push(w2);
Frame 115
gl.gotoAndStop(2);
gr.gotoAndStop(1);
stop();
var spikes = [];
_root.spikes.push(s1);
_root.spikes.push(s2);
_root.spikes.push(s3);
_root.spikes.push(s4);
var walls = [];
_root.walls.push(w1);
_root.walls.push(w2);
Frame 116
gl.gotoAndStop(1);
gr.gotoAndStop(2);
stop();
var spikes = [];
_root.spikes.push(s1);
_root.spikes.push(s2);
var walls = [];
_root.walls.push(w1);
_root.walls.push(w2);
_root.walls.push(w3);
_root.walls.push(w4);
_root.walls.push(w6);
_root.walls.push(w7);
Frame 117
gl.gotoAndStop(2);
gr.gotoAndStop(1);
stop();
Frame 118
gl.gotoAndStop(1);
gr.gotoAndStop(2);
stop();
var spikes = [];
_root.spikes.push(s1);
_root.spikes.push(s2);
var walls = [];
_root.walls.push(w1);
_root.walls.push(w2);
_root.walls.push(w3);
_root.walls.push(w4);
_root.walls.push(w6);
_root.walls.push(w7);
Frame 119
gl.gotoAndStop(2);
gr.gotoAndStop(1);
stop();
var spikes = [];
_root.spikes.push(s1);
_root.spikes.push(s2);
var walls = [];
_root.walls.push(w1);
_root.walls.push(w2);
_root.walls.push(w3);
_root.walls.push(w4);
_root.walls.push(w5);
Frame 120
gl.gotoAndStop(1);
gr.gotoAndStop(2);
stop();
var spikes = [];
_root.spikes.push(s1);
_root.spikes.push(s2);
var walls = [];
_root.walls.push(w1);
_root.walls.push(w2);
_root.walls.push(w3);
_root.walls.push(w4);
_root.walls.push(w5);
Frame 121
gl.gotoAndStop(2);
gr.gotoAndStop(1);
stop();
var spikes = [];
_root.spikes.push(s1);
_root.spikes.push(s2);
_root.spikes.push(s3);
var walls = [];
_root.walls.push(w1);
_root.walls.push(w2);
_root.walls.push(w3);
_root.walls.push(w4);
_root.walls.push(w5);
Frame 122
gl.gotoAndStop(1);
gr.gotoAndStop(2);
stop();
Frame 123
gl.gotoAndStop(2);
gr.gotoAndStop(1);
stop();
Frame 124
gl.gotoAndStop(1);
gr.gotoAndStop(2);
stop();
Frame 125
gl.gotoAndStop(2);
gr.gotoAndStop(1);
stop();
_root.gotoAndStop("contingame");
_root.b.xvel = _root.b.xvel * 8;
Frame 131
stop();
Instance of Symbol 104 MovieClip in Frame 131
on (keyPress "<Space>") {
_root.play();
}
Frame 148
_root.gotoAndPlay("game");
Symbol 13 Button
on (release) {
if (_root.mm.cready) {
if (_root.mm.gstate == 1) {
_root.mm.cready = false;
_root.mm.gstate = 0;
_root.gotoAndPlay("42");
} else if (_root.mm.gstate == 2) {
_root.mm.cready = false;
_root.mm.gstate = 1;
_root.gotoAndPlay("29");
}
}
}
Symbol 14 Button
on (release) {
if (_root.mm.cready) {
if (_root.mm.gstate == 0) {
_root.mm.cready = false;
_root.mm.gstate = 1;
_root.gotoAndPlay("3");
} else if (_root.mm.gstate == 1) {
_root.mm.cready = false;
_root.mm.gstate = 2;
_root.gotoAndPlay("16");
}
}
}
Symbol 22 Button
on (release) {
_root.gotoAndPlay("game");
}
Instance of Symbol 25 MovieClip "sb" in Symbol 28 MovieClip Frame 1
onClipEvent (enterFrame) {
this.yvel = this.yvel + 1;
this.sy = this.sy + yvel;
this.sx = this.sx + xvel;
if (this.sy > 160) {
this.sy = 160;
this.yvel = -Math.abs(yvel);
} else if (this.sy < 0) {
this.sy = 0;
this.yvel = Math.abs(yvel);
}
if (this.sx < 0) {
this.sx = 0;
this.xvel = Math.abs(xvel);
} else if (this.sx > 210) {
this.sx = 210;
this.xvel = -Math.abs(xvel);
}
this._x = sx;
this._y = 200 - sy;
}
onClipEvent (load) {
this.sx = 15.3;
this.sy = 51.6;
xvel = 5;
yvel = 0;
}
Instance of Symbol 27 MovieClip "sr" in Symbol 28 MovieClip Frame 1
onClipEvent (enterFrame) {
this.yvel = this.yvel + 1;
this.sy = this.sy + yvel;
this.sx = this.sx + xvel;
if (this.sy > 160) {
this.sy = 160;
this.yvel = -Math.abs(yvel);
} else if (this.sy < 0) {
this.sy = 0;
this.yvel = Math.abs(yvel);
}
if (this.sx < 0) {
this.sx = 0;
this.xvel = Math.abs(xvel);
} else if (this.sx > 210) {
this.sx = 210;
this.xvel = -Math.abs(xvel);
}
this._x = sx;
this._y = 200 - sy;
}
onClipEvent (load) {
this.sx = 62;
this.sy = 10.6;
xvel = 3;
yvel = 0;
}
Instance of Symbol 25 MovieClip "sb" in Symbol 31 MovieClip Frame 1
onClipEvent (enterFrame) {
this.yvel = this.yvel + 1;
this._y = this._y + yvel;
this._x = this._x + xvel;
if (this._y > 160) {
this._y = 160;
this.yvel = -Math.abs(yvel);
} else if (this._y < 0) {
this._y = 0;
this.yvel = Math.abs(yvel);
}
if (this._x < 0) {
this._x = 0;
this.xvel = Math.abs(xvel);
} else if (this._x > 210) {
this._x = 210;
this.xvel = -Math.abs(xvel);
}
}
onClipEvent (load) {
xvel = 5;
yvel = 0;
}
Instance of Symbol 27 MovieClip "sr" in Symbol 31 MovieClip Frame 1
onClipEvent (enterFrame) {
this.yvel = this.yvel + 1;
this._y = this._y + yvel;
this._x = this._x + xvel;
if (this._y > 160) {
this._y = 160;
this.yvel = -Math.abs(yvel);
} else if (this._y < 0) {
this._y = 0;
this.yvel = Math.abs(yvel);
}
if (this._x < 0) {
this._x = 0;
this.xvel = Math.abs(xvel);
} else if (this._x > 210) {
this._x = 210;
this.xvel = -Math.abs(xvel);
}
}
onClipEvent (load) {
xvel = 3;
yvel = 0;
}
Symbol 34 Button
on (release) {
_root.gotoAndPlay("configf");
}
Symbol 36 Button
on (release) {
_root.gotoAndPlay("helpf");
}
Symbol 39 MovieClip Frame 85
gotoAndPlay (25);
Symbol 44 Button
on (release) {
_root.play();
}
Symbol 49 Button
on (release) {
getURL ("http://www.antscape.deviantart.com/", "_blank", "GET");
}
Symbol 57 Button
on (release) {
_quality = "LOW";
}
Symbol 59 Button
on (release) {
_quality = "MEDIUM";
}
Symbol 61 Button
on (release) {
_quality = "HIGH";
}
Symbol 63 Button
on (release) {
_quality = "BEST";
}
Symbol 69 MovieClip Frame 1
stop();
Symbol 69 MovieClip Frame 2
stop();
Symbol 78 Button
on (release) {
_parent.play();
}
Symbol 81 Button
on (release) {
if (_root.sfull) {
fscommand ("fullscreen", "false");
_root.sfull = false;
} else {
fscommand ("fullscreen", "true");
_root.sfull = true;
}
}
Symbol 82 Button
on (release) {
_root.gotoAndStop(2);
}
Symbol 85 Button
on (release) {
getURL ("http://www.antscape.deviantart.com/", "_blank", "GET");
}
Symbol 87 MovieClip Frame 1
_root.pausedgame = false;
stop();
Symbol 87 MovieClip Frame 11
_root.pausedgame = true;
stop();
Symbol 87 MovieClip Frame 22
gotoAndStop (1);