Frame 1
Stage.showMenu = false;
Frame 79
loadMovieNum ("gametune.swf", 1);
Frame 104
ifFrameLoaded (167) {
gotoAndPlay (106);
}
Frame 105
gotoAndPlay (103);
Frame 109
stop();
Instance of Symbol 84 MovieClip "m" in Frame 150
onClipEvent (enterFrame) {
chasecount = _level0.carArray.length;
do {
tempitem = _level0.carArray[chasecount] add ".moving";
status = eval (tempitem);
if (status == "crashed") {
_level0.carArray.splice(chasecount, 1);
}
chasecount = chasecount - 1;
} while (-1 < chasecount);
if (_level0.m.caught == 0) {
tempX = _level0._xmouse - this._x;
tempY = _level0._ymouse - this._y;
if (10 < this._Xmouse) {
this._rotation = this._rotation + 10;
} else if (this._Xmouse < -10) {
this._rotation = this._rotation - 10;
}
if (this._Ymouse < 0) {
move = move + 1;
if (15 < move) {
move = 15;
}
} else {
move = move - 1;
if (move < 0) {
move = 0;
}
}
Xtheta = "_level0.sin" add int(this._rotation + 181);
Ytheta = "_level0.cos" add int(this._rotation + 181);
_level0.Ymove = move * eval (Ytheta);
_level0.Xmove = (-move) * eval (Xtheta);
_level0.bg._y = _level0.bg._y - _level0.Ymove;
_level0.bg._x = _level0.bg._x - _level0.Xmove;
if (1000 < _level0.bg._y) {
_level0.bg._y = _level0.bg._y - 2000;
} else if (_level0.bg._y < -1000) {
_level0.bg._y = _level0.bg._y + 2000;
}
if (1000 < _level0.bg._x) {
_level0.bg._x = _level0.bg._x - 2000;
} else if (_level0.bg._x < -1000) {
_level0.bg._x = _level0.bg._x + 2000;
}
if (!_level0.bg.hitTest(this._x, this._y, true)) {
tellTarget (_LEVEL0) {
m.caught = 1;
};
}
}
}
Frame 165
number = 0;
name = "here";
feedback = 11;
pie = Math.PI;
newcar = 0;
score = 0;
chase0.moving = "crashed";
Ymove = 0;
Xmove = 0;
carcount = 0;
carArray = new Array();
lives = 4;
m.caught = 0;
m.time = 21;
duplicateMovieClip ("jose", "n", 100);
setProperty("n", _x , 267.65);
setProperty("n", _y , 185.8);
AngleValue = 0;
do {
AngleRad = (AngleValue * Math.PI) / 180;
Set("sin" add AngleValue, Math.sin(AngleRad));
Set("cos" add AngleValue, Math.cos(AngleRad));
AngleValue = AngleValue + 5;
} while (360 >= AngleValue);
Instance of Symbol 95 MovieClip "chase0" in Frame 165
onClipEvent (load) {
move = 15;
}
onClipEvent (enterFrame) {
if (_level0.m.caught == 0) {
if (moving != "crashed") {
point = new object();
point.x = _level0.m._x;
point.y = _level0.m._y;
globalToLocal(point);
tempX = point.x;
if (point.y < 10) {
move = move + 1;
if (20 < move) {
move = 20;
}
} else {
move = move - 1;
if (move < -10) {
move = -10;
}
}
if (10 < tempX) {
this._rotation = this._rotation + 5;
} else if (tempX < -10) {
this._rotation = this._rotation - 5;
}
chasecount = _level0.carArray.length;
myX = this._x;
myY = this._y;
inside = (((myX >= -30) && (580 >= myX)) && (myY >= -30)) && (450 >= myY);
if (!inside) {
moving = "crashed";
}
if (hitTest(267.65, 185.8, true)) {
tellTarget (_LEVEL0) {
if (1 >= _level0.m.scale) {
m.caught = 1;
} else {
_level0.m.time = 0;
_level0.m.play();
}
};
}
do {
tempitem = _level0.carArray[chasecount - 1];
tempitem2 = String(this);
tempcore = tempitem add ".core";
if (tempitem eq tempitem2) {
myNumber = chasecount;
} else {
tempitemX = tempitem add "._x";
tempitemY = tempitem add "._y";
point = new object();
point.x = eval (tempitemX);
point.y = eval (tempitemY);
if (this.core.hitTest(tempcore)) {
moving = "crashed";
removal = 0;
_level0.score = _level0.score + 100;
play();
tellTarget (tempitem) {
moving = "crashed";
removal = 0;
play();
};
}
globalToLocal(point);
avoid = (((100 >= point.x) && (point.x >= -100)) && (point.y >= -200)) && (20 >= point.y);
if (avoid) {
avoidANG = 5;
avoidY = (point.y >= -80) && (-20 >= point.y);
if (avoidY) {
move = move - 2;
avoidANG = 10;
}
if (point.x >= 0) {
this._rotation = this._rotation - avoidANG;
} else {
this._rotation = this._rotation + avoidANG;
}
}
}
chasecount = chasecount - 1;
} while (0 < chasecount);
if (_level0.bg.rocks.hitTest(_x, _y, true)) {
move = move - 5;
}
} else if (5 < removal) {
this.removeMovieClip();
} else {
_rotation = 0;
removal = removal + 1;
}
Xtheta = "_level0.sin" add int(this._rotation + 180);
Ytheta = "_level0.cos" add int(this._rotation + 180);
CarYMove = move * eval (Ytheta);
CarXMove = (-move) * eval (Xtheta);
this._y = (this._y + CarYMove) - _level0.Ymove;
this._x = (this._x + CarXMove) - _level0.Xmove;
}
}
Instance of Symbol 106 MovieClip "m" in Frame 165
onClipEvent (load) {
move = 15;
}
onClipEvent (enterFrame) {
chasecount = _level0.carArray.length;
do {
tempitem = _level0.carArray[chasecount] add ".moving";
status = eval (tempitem);
if (status == "crashed") {
_level0.carArray.splice(chasecount, 1);
}
chasecount = chasecount - 1;
} while (-1 < chasecount);
if (caught == 0) {
if (0 >= scale) {
if (10 < _level0.n._Xmouse) {
_level0.n._rotation = _level0.n._rotation + 10;
} else if (_level0.n._Xmouse < -10) {
_level0.n._rotation = _level0.n._rotation - 10;
}
if (_level0.n._Ymouse < 0) {
move = move + 1;
if (15 < move) {
move = 15;
}
} else {
move = move - 1;
if (move < 0) {
move = 0;
}
}
}
if (_level0.bg.rocks.hitTest(_level0.n._x, _level0.n._y, true)) {
time = 0;
this.play();
}
if (move >= time) {
time = time + 2;
scale = (move * time) - (time * time);
_level0.n._xscale = 100 + scale;
_level0.n._yscale = 100 + scale;
}
Xtheta = "_level0.sin" add int(_level0.n._rotation + 181);
Ytheta = "_level0.cos" add int(_level0.n._rotation + 181);
_level0.Ymove = move * eval (Ytheta);
_level0.Xmove = (-move) * eval (Xtheta);
_level0.bg._y = _level0.bg._y - _level0.Ymove;
_level0.bg._x = _level0.bg._x - _level0.Xmove;
if (500 < _level0.bg._y) {
_level0.bg._y = _level0.bg._y - 1000;
} else if (_level0.bg._y < -500) {
_level0.bg._y = _level0.bg._y + 1000;
}
if (500 < _level0.bg._x) {
_level0.bg._x = _level0.bg._x - 1000;
} else if (_level0.bg._x < -500) {
_level0.bg._x = _level0.bg._x + 1000;
}
}
}
Frame 166
if (m.caught == 1) {
stop();
n.gotoAndStop("caught");
lives = lives - 1;
if (lives == 0) {
todo = "read";
eof = "false";
loadVariables ("http://www.transience.com.au/cgi-bin/el.cgi", "", "POST");
gotoAndPlay (169);
n.removeMovieClip();
count = number;
do {
car = "chase" add count;
eval (car).removeMovieClip();
count = count - 1;
} while (0 < count);
count = 0;
carArray = [];
bg._x = 225;
bg._y = 200;
} else {
tellTarget ("life" add lives) {
play();
};
}
} else {
score = score + 1;
rand = random(11);
if (9 < rand) {
if (carArray.length < (2.6 + (score / 400))) {
randY = random(400);
randX = random(550);
if (carArray.length == 0) {
number = 0;
}
number = number + 1;
duplicateMovieClip ("chase0", "chase" add number, number);
tempname = "_level0.chase" add number;
carArray[carArray.length] = tempname;
rand = random(3);
if (rand < 1) {
setProperty(tempname, _x , 0);
setProperty(tempname, _y , random(400));
setProperty(tempname, _rotation , 90);
} else if (rand < 2) {
setProperty(tempname, _x , 550);
setProperty(tempname, _y , random(400));
setProperty(tempname, _rotation , -90);
} else if (rand < 2) {
setProperty(tempname, _x , random(550));
setProperty(tempname, _y , 0);
setProperty(tempname, _rotation , 180);
} else {
setProperty(tempname, _x , random(550));
setProperty(tempname, _y , 400);
setProperty(tempname, _rotation , 0);
}
}
}
}
Frame 167
gotoAndPlay (166);
Frame 173
stop();
Frame 174
stop();
Instance of Symbol 147 MovieClip in Frame 174
onClipEvent (load) {
Selection.setFocus("_level0.name");
Selection.setSelection(0, 4);
}
onClipEvent (enterFrame) {
if (_level0.name != "here") {
stop();
_level0.enter.play();
}
}
Frame 177
if (eof == "false") {
gotoAndPlay (176);
}
Frame 180
tellTarget ("mark") {
gotoAndStop(_level0.feedback);
};
stop();
Symbol 3 MovieClip Frame 1
if (this.sessionstarted != 1) {
this.arcade = new LoadVars();
this.sessionvars = new LoadVars();
this.arcade.gamename = "elemigrante";
this.arcade.sessdo = "sessionstart";
this.arcade.sendAndLoad("arcade.php", sessionvars, "POST");
this.sessionstarted = 1;
}
if (_root.gameover == 1) {
if ((this.askpermission != 1) && (this.sessionvars.connStatus == 1)) {
this.prequestvars = new LoadVars();
this.pranswer = new LoadVars();
this.prequestvars.gametime = this.sessionvars.gametime;
this.prequestvars.fakekey = this.sessionvars.initbar;
if (_root.score != 0) {
this.prequestvars.score = _root.score;
} else {
this.prequestvars.score = -1;
}
this.prequestvars.id = this.sessionvars.lastid;
this.prequestvars.sessdo = "permrequest";
this.prequestvars.note = (this.prequestvars.id * this.prequestvars.score) * this.prequestvars.fakekey;
this.prequestvars.sendAndLoad("./arcade.php", this.pranswer, "POST");
this.askpermission = 1;
}
if ((this.pranswer.validate == 1) && (this.finalsent != 1)) {
this.burnscore = new LoadVars();
this.burnscore.microone = this.pranswer.microone;
this.burnscore.gametime = this.prequestvars.gametime;
this.burnscore.id = this.prequestvars.id;
if (_root.score == 0) {
this.burnscore.noscore = 1;
}
this.burnscore.sessdo = "burn";
this.burnscore.send("./arcade.php", "_self", "POST");
this.finalsent = 1;
}
}
Symbol 21 Button
on (release) {
mask.duplicateMovieClip(newmask, 101);
play();
}
Symbol 25 Button
on (release) {
mask.duplicateMovieClip(newmask, 101);
play();
}
Symbol 26 Button
on (release) {
mask.duplicateMovieClip(newmask, 101);
play();
}
Symbol 27 Button
on (release) {
mask.duplicateMovieClip(newmask, 101);
play();
}
Symbol 28 Button
on (release) {
mask.duplicateMovieClip(newmask, 101);
play();
}
Symbol 29 Button
on (release) {
mask.duplicateMovieClip(newmask, 101);
play();
}
Symbol 30 Button
on (release) {
mask.duplicateMovieClip(newmask, 101);
play();
}
Symbol 31 Button
on (release) {
mask.duplicateMovieClip(newmask, 101);
play();
}
Symbol 33 Button
on (release) {
_level1.play();
play();
}
Symbol 42 Button
on (release) {
_level1.play();
play();
}
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 13
tellTarget ("_level0") {
n.gotoAndStop(1);
count = number;
do {
car = "chase" add count;
eval (car).removeMovieClip();
count = count - 1;
} while (0 < count);
count = 0;
carArray = [];
bg._x = 225;
bg._y = 200;
};
Symbol 75 MovieClip Frame 28
stop();
tellTarget ("_level0") {
m.caught = 0;
n.play();
play();
};
Symbol 84 MovieClip Frame 6
gotoAndPlay (1);
Symbol 84 MovieClip Frame 7
stop();
Symbol 95 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 7
stop();
Symbol 106 MovieClip Frame 1
stop();
Symbol 111 Button
on (release) {
tellTarget ("_level1") {
gotoAndStop (2);
};
gotoAndStop (2);
}
Symbol 114 Button
on (release) {
tellTarget ("_level1") {
gotoAndStop (2);
};
gotoAndStop (2);
}
Symbol 115 Button
on (release) {
tellTarget ("_level1") {
gotoAndStop (1);
};
gotoAndStop (1);
}
Symbol 110 MovieClip Frame 1
stop();
Symbol 137 Button
on (release) {
count = number;
do {
car = "chase" add count;
eval (car).removeMovieClip();
count = count - 1;
} while (0 < count);
count = 0;
carArray = [];
bg._x = 225;
bg._y = 200;
tellTarget (m) {
play();
};
gotoAndPlay (165);
life1.play();
life2.play();
life3.play();
}
Symbol 140 Button
on (release) {
_root.gameover = 1;
}
Symbol 145 Button
on (release) {
count = number;
do {
car = "chase" add count;
eval (car).removeMovieClip();
count = count - 1;
} while (0 < count);
count = 0;
carArray = [];
bg._x = 225;
bg._y = 200;
tellTarget (m) {
play();
};
gotoAndPlay (165);
life1.play();
life2.play();
life3.play();
}
Symbol 150 Button
on (release) {
_root.gameover = 1;
}
Symbol 156 Button
on (release) {
todo = "read";
eof = "false";
loadVariables ("http://www.transience.com.au/cgi-bin/elnew.cgi", "", "POST");
count = number;
do {
car = "chase" add count;
eval (car).removeMovieClip();
count = count - 1;
} while (0 < count);
count = 0;
carArray = [];
play();
}
Symbol 158 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 5
gotoAndPlay (2);
Symbol 162 Button
on (release) {
count = number;
do {
car = "chase" add count;
eval (car).removeMovieClip();
count = count - 1;
} while (0 < count);
count = 0;
carArray = [];
bg._x = 225;
bg._y = 200;
tellTarget (m) {
play();
};
gotoAndPlay (165);
life1.play();
life2.play();
life3.play();
}
Symbol 165 Button
on (release) {
todo = "read";
eof = "false";
loadVariables ("http://www.transience.com.au/cgi-bin/elnew.cgi", "", "POST");
count = number;
do {
car = "chase" add count;
eval (car).removeMovieClip();
count = count - 1;
} while (0 < count);
count = 0;
carArray = [];
play();
}