Combined Code
frame 1 {
function itemHandler1(obj, item) {
getURL('http://www.addictinggames.com', '');
}
function itemHandler2(obj, item) {
getURL('http://www.addictinggames.com', '');
}
function itemHandler3(obj, item) {
getURL('http://www.psybot.newgrounds.com', '');
}
stop();
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
item1 = new ContextMenuItem('AddictingGames', itemHandler1);
item2 = new ContextMenuItem('Progamming & Graphics: Sandeep Saha', itemHandler2);
item3 = new ContextMenuItem('Music: Psybot', itemHandler3);
myMenu.customItems.push(item1);
myMenu.customItems.push(item2);
myMenu.customItems.push(item3);
_root.menu = myMenu;
}
movieClip 2 {
}
movieClip 4 {
}
movieClip 5 {
}
movieClip 7 {
}
movieClip 9 {
}
movieClip 12 {
}
movieClip 14 {
}
movieClip 16 {
}
// unknown tag 88 length 86
button 19 {
on (release) {
_root.play();
}
}
movieClip 20 {
frame 1 {
function timerHandler() {
if (!loadingComplete) {
var v2 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * v2;
if (v2 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
return undefined;
}
gotoAndStop('loaded');
return undefined;
}
}
}
function startMovie() {
_root.play();
}
_root.stop();
stop();
var AUTO_PLAY = true;
var loadingComplete = false;
timerHandler();
}
instance of movieClip 16 {
onClipEvent (enterFrame) {
_parent.timerHandler();
}
}
frame 2 {
stop();
}
}
// unknown tag 88 length 178
movieClip 41 {
}
button 43 {
on (press) {
getURL('http://www.addictinggames.com', blank);
}
}
button 52 {
on (press) {
_root.getURL('http://www.addictinggames.com');
}
}
movieClip 70 {
}
movieClip 72 {
}
movieClip 74 {
}
movieClip 76 {
}
movieClip 78 {
}
movieClip 80 {
}
movieClip 82 {
}
movieClip 84 {
}
movieClip 86 {
}
movieClip 88 {
}
movieClip 90 {
}
movieClip 92 {
}
movieClip 94 {
}
movieClip 95 {
}
movieClip 114 {
}
movieClip 129 {
}
movieClip 145 {
}
movieClip 161 {
}
movieClip 182 {
}
movieClip 199 {
}
movieClip 201 {
}
movieClip 203 {
frame 147 {
stop();
}
}
movieClip 204 {
frame 1 {
_root.stop();
}
frame 440 {
_root.play();
}
}
// unknown tag 88 length 144
frame 3 {
stop();
}
movieClip 208 {
}
instance of movieClip 208 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.nextFrame();
}
}
}
button 211 {
on (release) {
_root.music.play();
}
}
button 213 {
on (release) {
_root.music.stop();
}
}
movieClip 214 {
}
movieClip 216 {
}
frame 4 {
stop();
}
frame 4 {
_root.score = 0;
}
movieClip 218 {
}
movieClip 220 {
}
movieClip 222 {
}
movieClip 226 {
}
movieClip 227 {
}
movieClip 229 {
}
movieClip 232 {
}
movieClip 233 {
}
movieClip 234 {
}
movieClip 235 {
}
movieClip 239 {
}
movieClip 240 {
}
movieClip 242 {
}
movieClip 243 {
}
movieClip 244 {
}
movieClip 245 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
frame 11 {
stop();
}
frame 12 {
stop();
}
frame 13 {
stop();
}
frame 14 {
stop();
}
}
instance of movieClip 245 {
onClipEvent (load) {
this.gotoAndStop(random(15));
}
}
movieClip 259 {
}
movieClip 263 {
frame 4 {
stop();
}
}
movieClip 264 {
}
movieClip 266 {
}
movieClip 267 {
frame 1 {
stop();
}
}
instance char of movieClip 267 {
onClipEvent (load) {
var grav = 0;
var speed = 10;
var jumpHeight = 9.5;
var slow = 0.7;
var slowspd = speed / 1.5;
var setspeed = speed;
var scale = _xscale;
var ex = 50;
}
onClipEvent (enterFrame) {
++grav;
_y = _y + grav;
while (_root.ground.hitTest(_x, _y, true)) {
_y = _y - 1;
grav = 0;
}
_root.score += 10;
_root.ground._x -= speed;
if (speed < 22) {
speed += 0.015;
}
if (speed >= 22 && speed < 25) {
speed += 0.00315;
}
if (speed >= 25) {
speed = 25;
}
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
if ((Key.isDown(32) || Key.isDown(88)) && _root.ground.hitTest(_x, _y + 3, true)) {
grav = -jumpHeight * 1.25;
_y = _y - 10;
this.gotoAndStop(2);
}
if (_root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 2, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height / 6, true) || _root.ground.hitTest(_x + _width / 2 + ex, _y - _height, true)) {
_x = _x - speed;
}
if (_root.ground.hitTest(_x, _y - _height - 15, true)) {
grav = 1;
speed -= 0.55;
}
}
}
movieClip 269 {
}
movieClip 271 {
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
}
movieClip 273 {
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
}
movieClip 275 {
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
}
movieClip 277 {
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
}
movieClip 279 {
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
}
movieClip 281 {
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
}
movieClip 283 {
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
}
movieClip 285 {
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
}
movieClip 287 {
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
}
movieClip 289 {
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
instance of movieClip 269 {
onClipEvent (load) {
this._visible = false;
}
}
}
movieClip 290 {
}
movieClip 292 {
}
movieClip 293 {
frame 1 {
stop();
}
instance of movieClip 292 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.score += 2500;
_root.nextFrame();
}
}
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
frame 7 {
stop();
}
frame 8 {
stop();
}
frame 9 {
stop();
}
frame 10 {
stop();
}
}
instance ground of movieClip 293 {
onClipEvent (load) {
this.gotoAndStop(random(11));
}
}
movieClip 296 {
}
instance of movieClip 296 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.nextFrame();
}
}
}
instance of movieClip 296 {
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.nextFrame();
}
}
}
frame 5 {
stop();
}
movieClip 298 {
}
instance of movieClip 298 {
onClipEvent (enterFrame) {
if (Key.isDown(32)) {
_root.prevFrame();
}
}
}