Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("7d939cae", this, 10301, true);
function newContextMenu() {
var _local2 = new ContextMenu();
_local2.hideBuiltInItems();
var _local4 = new ContextMenuItem("HYPEGAMES.COM", gotoSite1);
_local2.customItems.push(Fender);
var _local3 = new ContextMenuItem("ZuiGe's Flash Gallery", gotoSite2);
_local2.customItems.push(_local3);
_root.menu = _local2;
}
function gotoSite1() {
getURL ("http://servut.us/ZuiGe/", "_blank");
}
function gotoSite2() {
getURL ("http://hypegames.com/", "_blank");
}
function nextTip() {
if (tipnum < (tips.length - 1)) {
tipnum++;
} else {
tipnum = 0;
}
tiptxt.text = (((("TIP " + (tipnum + 1)) + "/") + tips.length) + "\n ") + tips[tipnum];
}
stop();
var tips = new Array("Start off slow and try to stay on road at first. Once you get used to the car you can start pushing your car to the limits.", "Driving can be hard at first. But driving slowly and practicing can help you become one of the best out there.", "The fastest car might not always be the best one. Try different cars until you've found the car that suits your driving style.", "You can always make a new personal record by making a better turn in just one corner. Keep playing until you've reached the top!", "Some tracks are more slippery than others. Handling your car is always easier in asphalt tracks.", "Driving out of the track makes your car catch air for a while. It can be dangerous.", "Driving the same track multiple times makes it possible for you to learn the hardest corners.", "Once you have driven a track, the game system will save your performace as a ghost car. When you drive the track next time, you will see your best performance in the track.");
tipnum = Math.floor(Math.random() * tips.length);
tiptxt.text = (((("TIP " + (tipnum + 1)) + "/") + tips.length) + "\n ") + tips[tipnum];
logo.onRelease = function () {
gotoSite2();
};
newContextMenu();
onEnterFrame = function () {
perc = _root.getBytesLoaded() / _root.getBytesTotal();
loader._xscale = perc * 100;
if (perc == 1) {
_root.onEnterFrame = undefined;
urlStart = _url.indexOf("://") + 3;
urlEnd = _url.indexOf("/", urlStart);
domain = _url.substring(urlStart, urlEnd);
LastDot = domain.lastIndexOf(".") - 1;
domEnd = domain.lastIndexOf(".", LastDot) + 1;
domain = domain.substring(domEnd, domain.length);
gotoAndPlay (3);
}
};
onKeyDown = function () {
key = Key.getCode();
if (key == 37) {
if (tipnum > 0) {
tipnum--;
} else {
tipnum = tips.length - 1;
}
}
if (key == 39) {
if (tipnum < (tips.length - 1)) {
tipnum++;
} else {
tipnum = 0;
}
}
clearInterval(tipper);
tipper = setInterval(nextTip, 7000);
tiptxt.text = (((("TIP " + (tipnum + 1)) + "/") + tips.length) + "\n ") + tips[tipnum];
};
Key.addListener(this);
tipper = setInterval(nextTip, 9000);
Frame 50
hypegamesstar.onRelease = function () {
getURL ("http://hypegames.com/", "_BLANK");
};
Frame 72
hypegameslogo.onRelease = function () {
getURL ("http://hypegames.com/", "_BLANK");
};
psObj = SharedObject.getLocal("rallygame" + profile);
sObj = SharedObject.getLocal("rallygame");
if (sObj.data.efxvolume == undefined) {
sObj.data.efxvolume = 50;
}
if (sObj.data.musvolume == undefined) {
sObj.data.musvolume = 70;
}
if (sObj.data.music == undefined) {
sObj.data.music = true;
}
if (sObj.data.efx == undefined) {
sObj.data.efx = true;
}
if ((sObj.data.music == true) && (bgmusic == undefined)) {
var bgmusic = new Sound();
bgmusic.attachSound("gamesong1");
bgmusic.start(0, 99);
bgmusic.setVolume(sObj.data.musvolume);
player.txt.text = "Paul Oakenfold - Ready Steady Go";
player.onEnterFrame = function () {
if (this._y < -2.5) {
this._y = this._y + 2;
} else {
this.timer = 90;
this.onEnterFrame = function () {
if (this.timer > 0) {
this.timer--;
} else {
this.onEnterFrame = function () {
if (this._y > -40) {
this._y = this._y - 2;
} else {
this.onEnterFrame = undefined;
}
};
}
};
}
};
}
Frame 288
stop();
onKeyDown = function () {
gotoAndStop (289);
onKeyDown = undefined;
onMouseDown = undefined;
};
onMouseDown = function () {
onMouseUp = function () {
gotoAndStop (289);
onKeyDown = undefined;
onMouseDown = undefined;
onMouseUp = undefined;
};
};
Key.addListener(this);
Frame 289
function checkvalues() {
sObj.data.profiles = profiles;
sObj.flush();
i = 0;
while (i < 3) {
if (profiles[i] == undefined) {
_root["profileslot" + i].txt.text = "create profile";
} else {
_root["profileslot" + i].txt.text = profiles[i];
}
_root["deleteprofile" + i].v = i;
_root["deleteprofile" + i].onRelease = function () {
pressability = false;
deleteque._visible = true;
cover._visible = true;
deleteque.yes.v = this.v;
deleteque.yes.onRelease = function () {
profiles[this.v] = undefined;
psObj = SharedObject.getLocal("rallygame" + this.v);
psObj.data.besttimes = undefined;
psObj.data.cptimes = undefined;
psObj.data.carlock = undefined;
psObj.data.tracklock = undefined;
psObj.data.trackdatax = undefined;
psObj.data.trackdatay = undefined;
psObj.data.trackdataangle = undefined;
psObj.data.trackdatamodel = undefined;
psObj.data.controls = undefined;
psObj.flush();
psObj.clear();
checkvalues();
_root.deleteque._visible = false;
_root.cover._visible = false;
pressability = true;
};
deleteque.no.onRelease = function () {
checkvalues();
_root.deleteque._visible = false;
_root.cover._visible = false;
pressability = true;
};
};
_root["profileslot" + i].v = i;
_root["profileslot" + i].onRelease = function () {
if (pressability == true) {
pressability = false;
if (profiles[this.v] == undefined) {
namechange._visible = true;
cover._visible = true;
namechange.gotoAndStop(this.v + 1);
if (profiles[this.v] == undefined) {
namechange.txt.text = "enter name";
} else {
namechange.txt.text = profiles[this.v];
}
v = this.v;
_root.onKeyDown = function () {
key = Key.getCode();
if (key == 13) {
if (namechange.txt.text != "enter name") {
profiles[v] = namechange.txt.text;
}
namechange._visible = false;
cover._visible = false;
checkvalues();
pressability = true;
}
};
} else {
profile = this.v;
gotoAndStop (290);
}
}
};
i++;
}
}
stop();
sObj = SharedObject.getLocal("rallygame");
profiles = sObj.data.profiles;
namechange._visible = false;
cover._visible = false;
deleteque._visible = false;
var pressability = true;
if (profiles == undefined) {
var profiles = new Array(undefined, undefined, undefined);
sObj.data.profiles = profiles;
sObj.flush();
}
checkvalues();
Key.addListener(this);
Frame 290
stop();
_quality = "HIGH";
psObj = SharedObject.getLocal("rallygame" + profile);
sObj = SharedObject.getLocal("rallygame");
logo.onRelease = function () {
getURL ("http://hypegames.com/", "_BLANK");
};
racebtn.onRelease = function () {
gotoAndStop (294);
};
profilesbtn.onRelease = function () {
gotoAndStop (289);
};
highscoresbtn.onRelease = function () {
gotoAndStop (292);
};
settingsbtn.onRelease = function () {
gotoAndStop (291);
};
creditsbtn.onRelease = function () {
gotoAndStop (293);
};
if (fromIntro == true) {
player.txt.text = "Paul Oakenfold - Ready Steady Go";
player.onEnterFrame = function () {
if (this._y < -2.5) {
this._y = this._y + 2;
} else {
this.timer = 90;
this.onEnterFrame = function () {
if (this.timer > 0) {
this.timer--;
} else {
this.onEnterFrame = function () {
if (this._y > -40) {
this._y = this._y - 2;
} else {
this.onEnterFrame = undefined;
}
};
}
};
}
};
fromIntro = false;
}
if ((sObj.data.music == true) && (bgmusic == undefined)) {
var bgmusic = new Sound();
bgmusic.attachSound("gamesong1");
bgmusic.start(0, 99);
bgmusic.setVolume(sObj.data.musvolume);
player.txt.text = "Paul Oakenfold - Ready Steady Go";
player.onEnterFrame = function () {
if (this._y < -2.5) {
this._y = this._y + 2;
} else {
this.timer = 90;
this.onEnterFrame = function () {
if (this.timer > 0) {
this.timer--;
} else {
this.onEnterFrame = function () {
if (this._y > -40) {
this._y = this._y - 2;
} else {
this.onEnterFrame = undefined;
}
};
}
};
}
};
}
Frame 291
function upvalues() {
if (sObj.data.showtiretracks == false) {
ttyn.gotoAndStop(2);
} else {
ttyn.gotoAndStop(1);
}
if (sObj.data.showghostcar == false) {
gcyn.gotoAndStop(2);
} else {
gcyn.gotoAndStop(1);
}
if (sObj.data.bloodEffect != false) {
blyn.gotoAndStop(1);
} else {
blyn.gotoAndStop(2);
}
if (sObj.data.efx == false) {
seyn.gotoAndStop(2);
} else {
seyn.gotoAndStop(1);
}
if (sObj.data.music == false) {
muyn.gotoAndStop(2);
} else {
muyn.gotoAndStop(1);
}
if (sObj.data.miles == true) {
mpkp.gotoAndStop(2);
} else {
mpkp.gotoAndStop(1);
}
qualitybtn.gotoAndStop(sObj.data.qual);
efxvolslider.dragger._x = sObj.data.efxvolume;
musvolslider.dragger._x = sObj.data.musvolume;
musvolslider.dragger._yscale = sObj.data.musvolume + 40;
efxvolslider.dragger._yscale = sObj.data.efxvolume + 40;
}
stop();
sObj = SharedObject.getLocal("rallygame");
psObj = SharedObject.getLocal("rallygame" + profile);
images.gotoAndStop(Math.floor(Math.random() * images._totalframes) + 1);
if (sObj.data.qual == undefined) {
sObj.data.qual = "MEDIUM";
}
if (sObj.data.bloodEffect == undefined) {
sObj.data.bloodEffect = true;
}
if (muspos == undefined) {
var muspos = 0;
}
upvalues();
qualitybtn.onRelease = function () {
if (sObj.data.qual == "HIGH") {
sObj.data.qual = "LOW";
} else if (sObj.data.qual == "LOW") {
sObj.data.qual = "MEDIUM";
} else if (sObj.data.qual == "MEDIUM") {
sObj.data.qual = "HIGH";
}
sObj.flush();
upvalues();
};
ttyn.onRelease = function () {
if (sObj.data.showtiretracks == false) {
sObj.data.showtiretracks = true;
} else {
sObj.data.showtiretracks = false;
}
sObj.flush();
upvalues();
};
gcyn.onRelease = function () {
if (sObj.data.showghostcar == false) {
sObj.data.showghostcar = true;
} else {
sObj.data.showghostcar = false;
}
sObj.flush();
upvalues();
};
blyn.onRelease = function () {
if (sObj.data.bloodEffect == true) {
sObj.data.bloodEffect = false;
} else {
sObj.data.bloodEffect = true;
}
sObj.flush();
upvalues();
};
seyn.onRelease = function () {
if (sObj.data.efx == true) {
sObj.data.efx = false;
} else {
sObj.data.efx = true;
}
upvalues();
};
muyn.onRelease = function () {
if (sObj.data.music == true) {
sObj.data.music = false;
muspos = bgmusic.position;
_root.bgmusic.stop();
} else {
sObj.data.music = true;
_root.bgmusic = new Sound();
_root.bgmusic.attachSound("gamesong1");
_root.bgmusic.start(muspos / 1000, 99);
_root.bgmusic.setVolume(sObj.data.musvolume);
trace((muspos + ", ") + sObj.data.musvolume);
if (muspos == 0) {
_root.player.txt.text = "Paul Oakenfold - Ready Steady Go";
_root.player.onEnterFrame = function () {
if (this._y < -2.5) {
this._y = this._y + 2;
} else {
this.timer = 90;
this.onEnterFrame = function () {
if (this.timer > 0) {
this.timer--;
} else {
this.onEnterFrame = function () {
if (this._y > -40) {
this._y = this._y - 2;
} else {
this.onEnterFrame = undefined;
}
};
}
};
}
};
}
}
upvalues();
};
mpkp.onRelease = function () {
if (sObj.data.miles == true) {
sObj.data.miles = false;
} else {
sObj.data.miles = true;
}
sObj.flush();
upvalues();
};
efxvolslider.dragger.onPress = function () {
this.onEnterFrame = function () {
this._x = (_root._xmouse - efxvolslider._x) / 1.343;
if ((_root._xmouse - efxvolslider._x) < 0) {
this._x = 0;
}
if ((_root._xmouse - efxvolslider._x) > 134.3) {
this._x = 100;
}
this._yscale = this._x + 40;
sObj.data.efxvolume = this._x;
};
};
efxvolslider.dragger.onRelease = function () {
this.onEnterFrame = undefined;
};
efxvolslider.dragger.onReleaseOutside = function () {
this.onEnterFrame = undefined;
};
musvolslider.dragger.onPress = function () {
this.onEnterFrame = function () {
this._x = (_root._xmouse - musvolslider._x) / 1.343;
if ((_root._xmouse - musvolslider._x) < 0) {
this._x = 0;
}
if ((_root._xmouse - musvolslider._x) > 134.3) {
this._x = 100;
}
this._yscale = this._x + 40;
sObj.data.musvolume = this._x;
_root.bgmusic.setVolume(sObj.data.musvolume);
};
};
musvolslider.dragger.onRelease = function () {
this.onEnterFrame = undefined;
};
musvolslider.dragger.onReleaseOutside = function () {
this.onEnterFrame = undefined;
};
mainmenubtn.onRelease = function () {
gotoAndStop (290);
};
onEnterFrame = function () {
efxtext.text = Math.round(sObj.data.efxvolume);
mustext.text = Math.round(sObj.data.musvolume);
};
Frame 292
function refresher() {
i = 0;
while (i < 10) {
_root["name" + i].text = "";
_root["time" + i].text = "";
_root["car" + i].text = "";
i++;
}
carloader = undefined;
ranktxt.text = "";
nameLoader.onLoad = undefined;
timeloader.onLoad = undefined;
carloader.onLoad = undefined;
rankploader.onLoad = undefined;
nameLoader = undefined;
timeloader = undefined;
carloader = undefined;
rankploader = undefined;
nameLoader = new LoadVars();
nameLoader.load("http://www.hypegames.com/rallygame_top_user.php?track=" + t);
nameLoader.onLoad = function (nsuccess) {
if (nsuccess) {
i = 0;
while (i < 10) {
if (this["nameVar" + i] != undefined) {
_root["name" + i].text = this["nameVar" + i];
} else {
_root["name" + i].text = "";
}
i++;
}
}
};
timeLoader = new LoadVars();
timeLoader.load("http://www.hypegames.com/rallygame_top_score.php?track=" + t);
timeLoader.onLoad = function (tsuccess) {
if (tsuccess) {
i = 0;
while (i < 10) {
timevar = this["timeVar" + i];
if (timevar != undefined) {
if (Math.floor((timevar - (Math.floor(timevar / 600) * 600)) / 10) < 10) {
_root["time" + i].text = (((Math.floor(timevar / 600) + ":0") + Math.floor((timevar - (Math.floor(timevar / 600) * 600)) / 10)) + ".") + (Math.floor(timevar - (Math.floor(timevar / 600) * 600)) - (Math.floor((timevar - (Math.floor(timevar / 600) * 600)) / 10) * 10));
} else {
_root["time" + i].text = (((Math.floor(timevar / 600) + ":") + Math.floor((timevar - (Math.floor(timevar / 600) * 600)) / 10)) + ".") + (Math.floor(timevar - (Math.floor(timevar / 600) * 600)) - (Math.floor((timevar - (Math.floor(timevar / 600) * 600)) / 10) * 10));
}
} else {
_root["time" + i].text = "";
}
i++;
}
}
};
carLoader = new LoadVars();
carLoader.load("http://www.hypegames.com/rallygame_top_car.php?track=" + t);
carLoader.onLoad = function (csuccess) {
if (csuccess) {
i = 0;
while (i < 10) {
if (((this["carVar" + i] != undefined) && (this["carVar" + i] != "undefined")) && (this["carVar" + i] != "")) {
_root["car" + i].text = carname[this["carVar" + i]];
} else {
_root["car" + i].text = "";
}
i++;
}
}
};
rankpLoader = new LoadVars();
rankpLoader.load((("http://www.hypegames.com/rallygame_profile_rank.php?name=" + profiles[profile]) + "&track=") + t);
rankpLoader.onLoad = function (ysuccess) {
if (ysuccess) {
if (this.positionVar != undefined) {
ranktxt.text = "your rank: #" + this.positionVar;
} else {
cpwindow.rankingtxt.text = "your rank: (no rank)";
}
}
};
trackbox.text = trackname[t];
}
stop();
psObj = SharedObject.getLocal("rallygame" + profile);
sObj = SharedObject.getLocal("rallygame");
var trackname = new Array("Ontario Loop", "Ajaccio", "Saarenmaa", "Lightwater", "Obihiro");
var carname = new Array("Subaru Impreza\u2122", "Peugeot 206\u2122", "Toyota Corolla\u2122", "Mitsubishi Lancer\u2122", "Ford Focus\u2122", "Citroen Xsara\u2122");
if (t == undefined) {
var t = 0;
}
if ((sObj.data.music == true) && (bgmusic == undefined)) {
var bgmusic = new Sound();
bgmusic.attachSound("gamesong1");
bgmusic.start(0, 999);
bgmusic.setVolume(sObj.data.musvolume);
player.txt.text = "Paul Oakenfold - Ready Steady Go";
player.onEnterFrame = function () {
if (this._y < -2.5) {
this._y = this._y + 2;
} else {
this.timer = 90;
this.onEnterFrame = function () {
if (this.timer > 0) {
this.timer--;
} else {
this.onEnterFrame = function () {
if (this._y > -40) {
this._y = this._y - 2;
} else {
this.onEnterFrame = undefined;
}
};
}
};
}
};
}
viewall.onRelease = function () {
getURL ("http://hypegames.com/rallygame_scores.php?track=" + t, "_blank");
};
System.security.loadPolicyFile("http://www.hypegames.com/pf.xml");
_quality = "HIGH";
refresher();
refreshbtn.onRelease = function () {
refresher();
};
mainmenubtn.onRelease = function () {
gotoAndStop (290);
};
refresher();
rite.onRelease = function () {
t++;
if (t > (trackname.length - 1)) {
t = 0;
}
refresher();
};
left.onRelease = function () {
t--;
if (t < 0) {
t = trackname.length - 1;
}
refresher();
};
Frame 293
stop();
onEnterFrame = function () {
credits._y = credits._y - 2;
};
menubtn.onRelease = function () {
gotoAndStop (290);
};
Frame 294
function upvalues() {
selectmap.gotoAndStop(t + 1);
if (psObj.data.besttimes == undefined) {
var _local1 = new Array(undefined, undefined, undefined, undefined, undefined);
psObj.data.besttimes = _local1;
psObj.flush();
} else {
var _local1 = psObj.data.besttimes;
}
if (_local1[t] != undefined) {
if (Math.floor((_local1[t] - (Math.floor(_local1[t] / 600) * 600)) / 10) < 10) {
besttxt.text = (((("best time: " + Math.floor(_local1[t] / 600)) + ":0") + Math.floor((_local1[t] - (Math.floor(_local1[t] / 600) * 600)) / 10)) + ".") + (Math.floor(_local1[t] - (Math.floor(_local1[t] / 600) * 600)) - (Math.floor((_local1[t] - (Math.floor(_local1[t] / 600) * 600)) / 10) * 10));
} else {
besttxt.text = (((("best time: " + Math.floor(_local1[t] / 600)) + ":") + Math.floor((_local1[t] - (Math.floor(_local1[t] / 600) * 600)) / 10)) + ".") + (Math.floor(_local1[t] - (Math.floor(_local1[t] / 600) * 600)) - (Math.floor((_local1[t] - (Math.floor(_local1[t] / 600) * 600)) / 10) * 10));
}
} else {
besttxt.text = "best time: 9:99.9";
}
if (Math.floor((golds[t] - (Math.floor(golds[t] / 600) * 600)) / 10) < 10) {
goldtxt.text = (((("gold: " + Math.floor(golds[t] / 600)) + ":0") + Math.floor((golds[t] - (Math.floor(golds[t] / 600) * 600)) / 10)) + ".") + (Math.floor(golds[t] - (Math.floor(golds[t] / 600) * 600)) - (Math.floor((golds[t] - (Math.floor(golds[t] / 600) * 600)) / 10) * 10));
} else {
goldtxt.text = (((("gold: " + Math.floor(golds[t] / 600)) + ":") + Math.floor((golds[t] - (Math.floor(golds[t] / 600) * 600)) / 10)) + ".") + (Math.floor(golds[t] - (Math.floor(golds[t] / 600) * 600)) - (Math.floor((golds[t] - (Math.floor(golds[t] / 600) * 600)) / 10) * 10));
}
if (Math.floor((silvers[t] - (Math.floor(silvers[t] / 600) * 600)) / 10) < 10) {
silvertxt.text = (((("silver: " + Math.floor(silvers[t] / 600)) + ":0") + Math.floor((silvers[t] - (Math.floor(silvers[t] / 600) * 600)) / 10)) + ".") + (Math.floor(silvers[t] - (Math.floor(silvers[t] / 600) * 600)) - (Math.floor((silvers[t] - (Math.floor(silvers[t] / 600) * 600)) / 10) * 10));
} else {
silvertxt.text = (((("silver: " + Math.floor(silvers[t] / 600)) + ":") + Math.floor((silvers[t] - (Math.floor(silvers[t] / 600) * 600)) / 10)) + ".") + (Math.floor(silvers[t] - (Math.floor(silvers[t] / 600) * 600)) - (Math.floor((silvers[t] - (Math.floor(silvers[t] / 600) * 600)) / 10) * 10));
}
if (Math.floor((bronzes[t] - (Math.floor(bronzes[t] / 600) * 600)) / 10) < 10) {
bronzetxt.text = (((("bronze: " + Math.floor(bronzes[t] / 600)) + ":0") + Math.floor((bronzes[t] - (Math.floor(bronzes[t] / 600) * 600)) / 10)) + ".") + (Math.floor(bronzes[t] - (Math.floor(bronzes[t] / 600) * 600)) - (Math.floor((bronzes[t] - (Math.floor(bronzes[t] / 600) * 600)) / 10) * 10));
} else {
bronzetxt.text = (((("bronze: " + Math.floor(bronzes[t] / 600)) + ":") + Math.floor((bronzes[t] - (Math.floor(bronzes[t] / 600) * 600)) / 10)) + ".") + (Math.floor(bronzes[t] - (Math.floor(bronzes[t] / 600) * 600)) - (Math.floor((bronzes[t] - (Math.floor(bronzes[t] / 600) * 600)) / 10) * 10));
}
tracktypetxt.text = "road type: " + tracktype[t];
tracktxt.text = trackname[t];
if (tracklock[t] == false) {
goldtxt.text = "gold: 0:00.0";
silvertxt.text = "silver: 0:00.0";
bronzetxt.text = "bronze: 0:00.0";
besttxt.text = "best time: 0:00.0";
racetxt.text = "visit sponsor";
} else {
racetxt.text = "continue";
}
goldmedal._visible = false;
silvermedal._visible = false;
bronzemedal._visible = false;
if (_local1[t] < golds[t]) {
goldmedal._visible = true;
}
if (_local1[t] < silvers[t]) {
silvermedal._visible = true;
}
if (_local1[t] < bronzes[t]) {
bronzemedal._visible = true;
}
}
stop();
if (t == undefined) {
var t = 0;
}
var trackname = new Array("Ontario, US", "Ajaccio, France", "Saarenmaa, Finland", "Lightwater, UK", "Obihiro, Japan");
psObj = SharedObject.getLocal("rallygame" + profile);
var golds = new Array(1400, 1500, 1480, 1620, 1420, 0, 0, 0, 0);
var silvers = new Array(1550, 1700, 1610, 1750, 1580, 0, 0, 0, 0);
var bronzes = new Array(1700, 1850, 1720, 1890, 1710, 0, 0, 0, 0);
var tracklock = new Array(true, true, true, true, true, false, false, false, false);
var tracktype = new Array("dry gravel", "asphalt", "ice&snow", "wet gravel", "asphalt", "-", "-", "-", "-");
var showtracks = 5;
_quality = "HIGH";
upvalues();
rite.onRelease = function () {
t++;
if (t >= showtracks) {
t = 0;
}
upvalues();
};
left.onRelease = function () {
t--;
if (t < 0) {
t = showtracks - 1;
}
upvalues();
};
racebtn.onRelease = function () {
if (tracklock[t] == true) {
gotoAndStop (295);
} else {
getURL ("servut.us/ZuiGe/", "_blank");
}
};
backbtn.onRelease = function () {
gotoAndStop (290);
};
submitbtn.onRelease = function () {
sender.removeMovieClip();
sender = _root.createEmptyMovieClip("sender", _root.getNextHighestDepth());
sender.t = _root.t;
sender.profilename = _root.profiles[_root.profile];
sender.time = _root.psObj.data.besttimes[_root.t];
sender.carnum = _root.psObj.data.trackdatamodel[_root.t];
sender.loadVariables("http://www.hypegames.com/rallygame.php", "POST");
};
Frame 295
function upvalues() {
cartxt.text = carname[c];
if (psObj.data.miles != true) {
mspdtxt.text = ("max speed: " + Math.floor(carmaxspeed[c] * 8.1)) + "kph";
} else {
mspdtxt.text = ("max speed: " + Math.floor((carmaxspeed[c] * 8.1) * 0.621371192)) + "mph";
}
steertxt.text = ("handling: " + Math.round(carsteering[c] * 2.1)) + "/10";
acctxt.text = ("acceleration: " + Math.round(caracceleration[c] * 3)) + "/10";
brakestxt.text = ("braking: " + Math.round(carbrakes[c] * 2.5)) + "/10";
if (carlock[c] != false) {
racetxt.text = "continue";
} else {
racetxt.text = "visit hypegames.com";
}
if ((c == 6) && (carlock[c] == true)) {
warningtxt._visible = true;
} else {
warningtxt._visible = false;
}
}
stop();
_quality = "HIGH";
if (c == undefined) {
var c = 0;
}
var carname = new Array("Subaru Impreza\u2122", "Peugeot 206\u2122", "Toyota Corolla\u2122", "Mitsubishi Lancer\u2122", "Ford Focus\u2122", "Citroen Xsara\u2122", "Audi R8\u2122");
var carmaxspeed = new Array(28.39, 27.16, 25.93, 29.6, 28.64, 28.51, 40.74);
var carsteering = new Array(4, 4, 4.3, 3.5, 3.75, 4, 4.9);
var caracceleration = new Array(3, 3.2, 3.44, 2.9, 2.9, 2.8, 3.2);
var carbrakes = new Array(2.75, 4, 3.5, 3.2, 2.9, 3.25, 4);
var carlock = new Array(true, true, true, true, true, true, true);
urlStart = _url.indexOf("://") + 3;
urlEnd = _url.indexOf("/", urlStart);
domain = _url.substring(urlStart, urlEnd);
LastDot = domain.lastIndexOf(".") - 1;
domEnd = domain.lastIndexOf(".", LastDot) + 1;
domain = domain.substring(domEnd, domain.length);
domaint.text = domain;
car.carmd.gotoAndStop(c + 1);
if (domain != "hype.cc") {
var carlock = new Array(true, true, true, true, true, true, false);
} else {
var carlock = new Array(true, true, true, true, true, true, true);
}
upvalues();
rite.onRelease = function () {
c++;
if (c > (car.carmd._totalframes - 1)) {
c = 0;
}
car.carmd.gotoAndStop(c + 1);
upvalues();
};
left.onRelease = function () {
c--;
if (c < 0) {
c = car.carmd._totalframes - 1;
}
car.carmd.gotoAndStop(c + 1);
upvalues();
};
racebtn.onRelease = function () {
if (carlock[c] == true) {
gotoAndStop (296);
} else {
getURL ("http://www.hypegames.com/racing/4642/ultimate-rally-challenge.html", "_blank");
}
};
backbtn.onRelease = function () {
gotoAndStop (294);
};
Frame 296
function upvalues() {
if (controls[0] == 65) {
controls1.gotoAndStop(1);
controls0.gotoAndStop(2);
controls2.gotoAndStop(1);
} else if (controls[0] == 87) {
controls1.gotoAndStop(2);
controls0.gotoAndStop(1);
controls2.gotoAndStop(1);
} else {
controls1.gotoAndStop(1);
controls0.gotoAndStop(1);
controls2.gotoAndStop(2);
}
}
stop();
controls = psObj.data.controls;
if (controls == undefined) {
var controls = new Array(65, 90, 37, 39, 32, 80, 81);
}
controls0.onRelease = function () {
controls = new Array(65, 90, 37, 39, 32, 80, 81);
upvalues();
};
controls1.onRelease = function () {
controls = new Array(87, 83, 65, 68, 32, 80, 81);
upvalues();
};
controls2.onRelease = function () {
controls = new Array(38, 40, 37, 39, 32, 80, 81);
upvalues();
};
upvalues();
racebtn.onRelease = function () {
if (carlock[c] == true) {
fade.onEnterFrame = function () {
if (this._alpha < 200) {
this._alpha = this._alpha + 2;
if (_root.bgmusic.getVolume() > 0) {
_root.bgmusic.setVolume(_root.bgmusic.getVolume() - 2);
} else {
_root.bgmusic.setVolume(0);
_root.bgmusic = undefined;
stopAllSounds();
}
} else {
gotoAndStop (298);
_root.psObj.data.controls = controls;
_root.psObj.flush();
}
};
}
};
backbtn.onRelease = function () {
gotoAndStop (295);
psObj.data.controls = controls;
psObj.flush();
};
Frame 298
function oneSec() {
seccount.text = fcount;
fcount = 0;
}
function clearAll() {
map.removeMovieClip();
countdown.removeMovieClip();
checkingbox.removeMovieClip();
timewindow.removeMovieClip();
falsestart.removeMovieClip();
meter.removeMovieClip();
timediffw.removeMovieClip();
pausewindow.removeMovieClip();
drawin.removeMovieClip();
ghostcar.removeMovieClip();
pointer.removeMovieClip();
disttext.removeMovieClip();
track.removeMovieClip();
car.removeMovieClip();
meter.removeMovieClip();
startwindow.removeMovieClip();
cpwindow.removeMovieClip();
sender.removeMovieClip();
player2.removeMovieClip();
edges.removeMovieClip();
lights.removeMovieClip();
star.removeMovieClip();
hifi.removeMovieClip();
surf = undefined;
speed = undefined;
gear = undefined;
finished = undefined;
Paused = undefined;
onTrack = undefined;
depth = undefined;
psObj = undefined;
fcount = undefined;
msec = undefined;
cp = undefined;
sec = undefined;
min = undefined;
maxcp = undefined;
advnum = undefined;
clearInterval(fps);
i = 400;
while (i <= 430) {
_root["ttrack" + i]._visible = false;
i++;
}
i = 500;
while (i <= 530) {
_root["smokecloud" + i]._visible = false;
i++;
}
enginesound.stop();
enginesound = undefined;
gmusic.stop();
gmusic = undefined;
onEnterFrame = undefined;
onKeyDown = undefined;
stopAllSounds();
}
function checkCollision() {
drawin.clear();
prevonTrack = onTrack;
var _local3 = com.gskinner.sprites.CollisionDetection.checkForCollision(track.road, ht, 120);
if (_local3) {
onTrack = true;
} else {
onTrack = false;
}
var _local4 = com.gskinner.sprites.CollisionDetection.checkForCollision(track.water, ht, 120);
if (_local4) {
onWater = true;
} else {
onWater = false;
}
var _local1 = com.gskinner.sprites.CollisionDetection.checkForCollision(track.scenery, ht, 120);
if (_local1) {
onScenery = true;
} else {
onScenery = false;
}
var _local2 = com.gskinner.sprites.CollisionDetection.checkForCollision(track.spects, ht, 120);
if (_local2) {
onSpect = true;
} else {
onSpect = false;
}
}
function checkpoint(num) {
checkingbox._alpha = 100;
checkingbox.b = 1400;
timediff = Math.abs(cptimes[t][num] - psObj.data.cptimes[t][num]);
timediffw._alpha = 100;
timediffw.b = 1400;
timediffw.onEnterFrame = function () {
if (this.b <= 100) {
this._alpha = b;
if (this._alpha > 0) {
this._alpha = this._alpha - 10;
} else {
this.onEnterFrame = undefined;
}
} else {
this.b = this.b - 10;
}
};
if (psObj.data.cptimes[t][num] != undefined) {
if (psObj.data.cptimes[t][num] >= cptimes[t][num]) {
timediffw.gotoAndStop(1);
if (Math.floor((timediff - (Math.floor(timediff / 600) * 600)) / 10) < 10) {
timediffw.txt.text = (("-0" + Math.floor(timediff / 10)) + ".") + Math.floor(timediff - (Math.floor(timediff / 10) * 10));
} else {
timediffw.txt.text = (("-" + Math.floor(timediff / 10)) + ".") + Math.floor(timediff - (Math.floor(timediff / 10) * 10));
}
} else {
timediffw.gotoAndStop(2);
if (Math.floor((timediff - (Math.floor(timediff / 600) * 600)) / 10) < 10) {
timediffw.txt.text = (("+0" + Math.floor(timediff / 10)) + ".") + Math.floor(timediff - (Math.floor(timediff / 10) * 10));
} else {
timediffw.txt.text = (("+" + Math.floor(timediff / 10)) + ".") + Math.floor(timediff - (Math.floor(timediff / 10) * 10));
}
}
} else {
timediffw.gotoAndStop(3);
timediffw.txt.text = timewindow.timetxt.text;
}
if (Math.floor((cptimes[t][num] - (Math.floor(cptimes[t][num] / 600) * 600)) / 10) < 10) {
checkingbox.timetxt.text = (((Math.floor(cptimes[t][num] / 600) + ":0") + Math.floor((cptimes[t][num] - (Math.floor(cptimes[t][num] / 600) * 600)) / 10)) + ".") + (Math.floor(cptimes[t][num] - (Math.floor(cptimes[t][num] / 600) * 600)) - (Math.floor((cptimes[t][num] - (Math.floor(cptimes[t][num] / 600) * 600)) / 10) * 10));
} else {
checkingbox.timetxt.text = (((Math.floor(cptimes[t][num] / 600) + ":") + Math.floor((cptimes[t][num] - (Math.floor(cptimes[t][num] / 600) * 600)) / 10)) + ".") + (Math.floor(cptimes[t][num] - (Math.floor(cptimes[t][num] / 600) * 600)) - (Math.floor((cptimes[t][num] - (Math.floor(cptimes[t][num] / 600) * 600)) / 10) * 10));
}
}
stop();
psObj = SharedObject.getLocal("rallygame" + profile);
sObj = SharedObject.getLocal("rallygame");
System.security.loadPolicyFile("http://www.hypegames.com/pf.xml");
var tips = new Array("Start off slow and try to stay on road at first. Once you get used to the car you can start pushing your car to the limits.", "Driving can be hard at first. But driving slowly and practicing can help you become one of the best out there.", "The fastest car might not always be the best one. Try different cars until you've found the car that suits your driving style.", "You can always make a new personal record by making a better turn in just one corner. Keep playing until you've reached the top!", "Some tracks are more slippery than others. Handling your car is always easier in asphalt tracks.", "Driving out of the track makes your car catch air for a while. It can be dangerous.", "Driving the same track multiple times makes it possible for you to learn the hardest corners.", "Once you have driven a track, the game system will save your performace as a ghost car. When you drive the track next time, you will see your best performance in the track.");
var tracks = new Array("ontario", "ajaccio", "saarenmaa", "lightwater", "obihiro");
var trackangles = new Array(0, -90, -90, 180, 90);
var tracksurf = new Array(1, 1.75, 0.75, 0.85, 1.75);
if (sObj.data.qual != undefined) {
_root._quality = sObj.data.qual;
} else {
_root._quality = "MEDIUM";
}
if (sObj.data.showghostcar == undefined) {
var showghostcar = true;
sObj.data.showghostcar = showghostcar;
} else {
var showghostcar = sObj.data.showghostcar;
}
if (sObj.data.showtiretracks == undefined) {
var showtiretracks = true;
sObj.data.showtiretracks = showtiretracks;
} else {
var showtiretracks = sObj.data.showtiretracks;
}
if (psObj.data.besttimes == undefined) {
var besttimes = new Array(5);
psObj.data.besttimes = besttimes;
} else {
var besttimes = psObj.data.besttimes;
}
car._x = 320;
car._y = 240;
car.filters = [new flash.filters.DropShadowFilter(2, 45, 0, 1, 4, 4, 0.6, 3)];
lights.filters = [new flash.filters.DropShadowFilter(2, 45, 0, 1, 4, 4, 0.6, 3)];
surface.gotoAndStop(t + 1);
track = attachMovie(tracks[t], "track", 0);
track._x = 0;
track._y = 0;
track.cacheAsBitmap = true;
ghostcar._visible = false;
pointer._visible = false;
ghostcar.filters = [new flash.filters.DropShadowFilter(2, 45, 0, 1, 4, 4, 0.6, 3)];
if (trackdatax == undefined) {
var trackdatax = new Array(new Array(), new Array(), new Array(), new Array(), new Array());
var trackdatay = new Array(new Array(), new Array(), new Array(), new Array(), new Array());
var trackdataangle = new Array(new Array(), new Array(), new Array(), new Array(), new Array());
var trackdatamodel = new Array();
trackdatamodel[t] = c;
} else {
trackdatax[t] = new Array();
trackdatay[t] = new Array();
trackdataangle[t] = new Array();
trackdatamodel[t] = c;
}
ghostcar.carmd.gotoAndStop(psObj.data.trackdatamodel[t] + 1);
countdown.swapDepths(800);
lights.swapDepths(801);
checkingbox.swapDepths(802);
timewindow.swapDepths(803);
falsestart.swapDepths(804);
meter.swapDepths(805);
map.swapDepths(806);
timediffw.swapDepths(807);
cpwindow.swapDepths(808);
startwindow.swapDepths(809);
pausewindow.swapDepths(810);
player2.swapDepths(811);
edges.swapDepths(812);
createEmptyMovieClip("drawin", 100);
timediffw._alpha = 0;
var surf = tracksurf[t];
var carangle = trackangles[t];
var momangle = trackangles[t];
var speed = 0;
var gear = 1;
var maxspeed = ((carmaxspeed[c] * 1) - ((1 - surf) / 4));
var finished = false;
var Paused = false;
ht._visible = false;
pausewindow._visible = false;
var steering = carsteering[c];
var accelration = caracceleration[c];
var brakes = carbrakes[c];
var onTrack = true;
var depth = 400;
var airtime = 0;
var fcount = 0;
var msec = 0;
var cp = 1;
var sec = 0;
var air = false;
var hitSpec = false;
var min = 0;
var prevonTrack;
var right;
var maxcp = 0;
var advnum = 0;
var cont = 0;
var respawning = false;
checkingbox._alpha = 0;
car.carmd.gotoAndStop(c + 1);
ht._visible = false;
cpwindow._visible = false;
car.swapDepths(493);
ghostcar.swapDepths(491);
meter.swapDepths(492);
pointer.swapDepths(494);
disttext.swapDepths(495);
star.swapDepths(496);
createEmptyMovieClip("hifi", _root.getNextHighestDepth());
createEmptyMovieClip("hifi2", _root.getNextHighestDepth());
createEmptyMovieClip("hifi3", _root.getNextHighestDepth());
map._alpha = 0;
lights._visible = false;
Key.addListener(this);
star.onRelease = function () {
getURL ("http://hypegames.com", "_blank");
};
fps = setInterval(oneSec, 1000);
i = 0;
while (i < 12) {
if (track["cp" + i] == undefined) {
break;
}
maxcp++;
i++;
}
if (cptimes == undefined) {
var cptimes = new Array();
}
cptimes[t] = new Array(maxcp - 1);
i = 0;
while (i < 100) {
if (track["advice" + i] == undefined) {
break;
}
advnum++;
i++;
}
var enginesoundnum = 0;
var countdownmsec = 600;
var avgspds = new Array();
var mainsound = new Sound();
mainsound.setVolume(100);
mainsound.start(0, 0);
var enginesound = new Sound(_root.hifi);
enginesound.setVolume(sObj.data.efxvolume);
enginesound.attachSound("Freegear");
enginesound.start(0, 999);
pos = enginesound.position;
enginesound.stop();
onEnterFrame = function () {
car.gotoAndStop(1);
if (Paused == false) {
if ((finished == false) && (startwindow._visible == false)) {
if (countdownmsec <= 0) {
msec = msec + 0.294117647058824;
if (countdown._alpha > 0) {
countdown._alpha = countdown._alpha - 2;
} else {
countdown.swapDepths(_root.getNextHighestDepth());
countdown.removeMovieClip();
}
if (lights._alpha > 0) {
lights._alpha = lights._alpha - 2;
} else {
lights.swapDepths(_root.getNextHighestDepth());
lights.removeMovieClip();
}
} else {
if (countdownmsec > 0) {
countdownmsec = countdownmsec - 3.33333333333333;
}
if (countdownmsec > 400) {
countdown._alpha = (countdownmsec - 400) / 2;
lights.gotoAndStop(1);
} else if (countdownmsec > 200) {
countdown._alpha = (countdownmsec - 200) / 2;
lights.gotoAndStop(2);
} else if (countdownmsec > 0) {
countdown._alpha = countdownmsec / 2;
lights.gotoAndStop(3);
} else {
countdown._alpha = 100;
lights._alpha = 250;
lights.gotoAndStop(4);
}
if (Math.floor(((countdownmsec / 100) / 2) + 1) > 0) {
countdown.countdowntext.text = Math.floor(((countdownmsec / 100) / 2) + 1);
} else {
countdown.countdowntext.text = "GO!";
}
}
if (Key.isDown(controls[1]) && (air == false)) {
if (countdownmsec > 50) {
falsestart._alpha = 500;
countdown.swapDepths(_root.getNextHighestDepth());
countdown.removeMovieClip();
lights.removeMovieClip();
falsestart.onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
} else {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
};
msec = msec + 100;
countdownmsec = 0;
}
if (respawning != true) {
if (speed > 10) {
speed = speed - ((brakes * ((maxspeed - Math.abs(speed)) / 150)) * surf);
} else if (speed < 0) {
speed = speed - ((accelration / 2) * ((maxspeed - Math.abs(speed)) / 600));
} else {
speed = speed - (((accelration / 2) * ((maxspeed - Math.abs(speed)) / 200)) * surf);
}
if (speed > 6) {
screeching = true;
if ((showtiretracks == true) && (air == false)) {
_root["ttrack" + depth] = attachMovie("tiretrack", "", depth);
_root["ttrack" + depth]._x = car._x;
_root["ttrack" + depth]._y = car._y;
_root["ttrack" + depth]._visible = (truettrack._visible = true);
_root["ttrack" + depth].t._alpha = (Math.abs(speed) - 6) * 3;
_root["ttrack" + depth]._rotation = car._rotation;
}
if ((enginesoundnum != 2) && (onTrack == true)) {
enginesound.attachSound("screech");
enginesoundnum = 2;
enginesound.start(0, 0);
}
if (depth < 430) {
depth++;
} else {
depth = 400;
}
}
}
}
if (Key.isDown(controls[4]) && (air == false)) {
handbraking = true;
if (speed > 2) {
speed = speed - (((brakes / 3) * ((maxspeed - Math.abs(speed)) / 150)) * surf);
screeching = true;
if ((showtiretracks == true) && (air == false)) {
_root["ttrack" + depth] = attachMovie("tiretrack", "", depth);
_root["ttrack" + depth]._x = car._x;
_root["ttrack" + depth]._y = car._y;
_root["ttrack" + depth]._visible = (truettrack._visible = true);
_root["ttrack" + depth].t._alpha = (Math.abs(speed) - 2) * 3;
_root["ttrack" + depth]._rotation = car._rotation;
}
if ((enginesoundnum != 2) && (onTrack == true)) {
enginesound.attachSound("screech");
enginesoundnum = 2;
enginesound.start(0, 0);
}
if (depth < 430) {
depth++;
} else {
depth = 400;
}
}
} else {
handbraking = false;
}
if (Key.isDown(controls[0]) && (air == false)) {
if (countdownmsec > 50) {
falsestart._alpha = 500;
countdown.swapDepths(_root.getNextHighestDepth());
countdown.removeMovieClip();
falsestart.onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha = this._alpha - 5;
} else {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
};
msec = msec + 100;
countdownmsec = 0;
}
if (respawning != true) {
gear = 1;
if (speed > 4) {
if (speed > (speed / 1.8)) {
speed = speed + ((speed - (speed / 1.8)) / 250);
} else if (speed > (speed / 3)) {
speed = speed + ((speed - (speed / 3)) / 500);
}
speed = speed + ((accelration * (maxspeed - Math.abs(speed))) / 600);
gear = 2;
} else if (onTrack == true) {
speed = speed + ((accelration * (maxspeed - Math.abs(speed))) / 500);
} else {
speed = speed + ((accelration * (maxspeed - Math.abs(speed))) / 500);
}
meter.geartxt.text = gear;
if ((speed < 5) && (onTrack == true)) {
screeching = true;
if ((showtiretracks == true) && (air == false)) {
_root["ttrack" + depth] = attachMovie("tiretrack", "", depth);
_root["ttrack" + depth]._x = car._x;
_root["ttrack" + depth]._y = car._y;
_root["ttrack" + depth]._visible = (truettrack._visible = true);
_root["ttrack" + depth].t._alpha = (Math.abs(speed) + 6) * 2;
_root["ttrack" + depth]._rotation = car._rotation;
}
if ((enginesoundnum != 2) && (onTrack == true)) {
enginesound.attachSound("screech");
enginesoundnum = 2;
enginesound.start(0, 0);
}
if (depth < 430) {
depth++;
} else {
depth = 400;
}
}
}
if ((((enginesoundnum != 1) && (screeching != true)) && (onTrack == true)) && (respawning != true)) {
enginesound.stop();
if (respawning != true) {
enginesound.attachSound("enginesoundst");
enginesoundnum = 1;
enginesound.start(speed / 30, 5);
enginesound.onSoundComplete = function () {
enginesound.stop();
enginesound.attachSound("enginesoundfl");
enginesound.start(0, 999);
};
}
}
} else if (((enginesoundnum != 0) && (screeching != true)) && (onTrack == true)) {
enginesound.stop();
enginesound.attachSound("Freegear");
enginesoundnum = 0;
enginesound.start(0, 999);
}
if (air == false) {
if (Key.isDown(controls[2])) {
right = false;
car.gotoAndStop(2);
if (handbraking == true) {
steeringv = (steering + (Math.abs(carangle - momangle) / 100)) + 1;
} else {
steeringv = steering + (Math.abs(carangle - momangle) / 100);
}
if (Math.abs(speed) > 8) {
if (speed > 0) {
carangle = carangle - steeringv;
} else {
carangle = carangle + steeringv;
}
} else if (screeching == false) {
if (speed > 0) {
carangle = carangle - (Math.abs(speed) / 2);
} else {
carangle = carangle + (Math.abs(speed) / 2);
}
} else if (speed > 0) {
carangle = carangle - steeringv;
} else {
carangle = carangle + steeringv;
}
} else if (Key.isDown(controls[3])) {
right = true;
car.gotoAndStop(3);
if (handbraking == true) {
steeringv = (steering + (Math.abs(carangle - momangle) / 100)) + 1;
} else {
steeringv = steering + (Math.abs(carangle - momangle) / 100);
}
if (Math.abs(speed) > 8) {
if (speed > 0) {
carangle = carangle + steeringv;
} else {
carangle = carangle - steeringv;
}
} else if (screeching == false) {
if (speed > 0) {
carangle = carangle + (Math.abs(speed) / 2);
} else {
carangle = carangle - (Math.abs(speed) / 2);
}
} else if (speed > 0) {
carangle = carangle + (steeringv * 0.75);
} else {
carangle = carangle - (steeringv * 0.75);
}
} else {
steeringv = 0;
}
}
if (air == true) {
if (right == true) {
carangle = carangle + (steeringv * 0.9);
} else {
carangle = carangle - (steeringv * 0.9);
}
}
trackdatax[t][Math.round(msec / 0.294117647058824)] = track._x;
trackdatay[t][Math.round(msec / 0.294117647058824)] = track._y;
trackdataangle[t][Math.round(msec / 0.294117647058824)] = car._rotation;
if (((psObj.data.trackdatax[t][Math.round(msec / 0.294117647058824)] != undefined) && (showghostcar == true)) && (msec > 0)) {
ghostcar._visible = true;
ghostcar._x = 320 + (track._x - psObj.data.trackdatax[t][Math.round(msec / 0.294117647058824)]);
ghostcar._y = 240 + (track._y - psObj.data.trackdatay[t][Math.round(msec / 0.294117647058824)]);
ghostcar._rotation = psObj.data.trackdataangle[t][Math.round(msec / 0.294117647058824)];
gdist = Math.sqrt(((ghostcar._x - 320) * (ghostcar._x - 320)) + ((ghostcar._y - 240) * (ghostcar._y - 240)));
if ((((ghostcar._x > 640) || (ghostcar._x < 0)) || (ghostcar._y > 480)) || (ghostcar._y < 0)) {
pointer._visible = true;
disttext._visible = true;
pointer._x = 320 + (210 * Math.cos(Math.atan2(ghostcar._y - 240, ghostcar._x - 320)));
pointer._y = 240 + (210 * Math.sin(Math.atan2(ghostcar._y - 240, ghostcar._x - 320)));
disttext._x = 320 + (210 * Math.cos(Math.atan2(ghostcar._y - 240, ghostcar._x - 320)));
disttext._y = 225 + (210 * Math.sin(Math.atan2(ghostcar._y - 240, ghostcar._x - 320)));
if (psObj.data.miles != true) {
disttext.txt.text = Math.round(gdist * 0.066) + "m";
} else {
disttext.txt.text = Math.round((gdist * 0.066) * 3.2808399) + "ft";
}
pointer._rotation = 90 + ((Math.atan2(ghostcar._y - 240, ghostcar._x - 320) * 180) / Math.PI);
} else {
pointer._visible = false;
disttext._visible = false;
}
if (gdist < 200) {
ghostcar._alpha = gdist / 4;
} else {
ghostcar._alpha = 50;
}
} else {
ghostcar._visible = false;
pointer._visible = false;
disttext._visible = false;
}
if (car.hitTest(track.finish) && (cp == (maxcp + 1))) {
finished = true;
_root._quality = "HIGH";
if (Math.floor((Math.floor(msec) - (Math.floor(Math.floor(msec) / 600) * 600)) / 10) < 10) {
newtime = (((Math.floor(Math.floor(msec) / 600) + ":0") + Math.floor((Math.floor(msec) - (Math.floor(Math.floor(msec) / 600) * 600)) / 10)) + ".") + (Math.floor(Math.floor(msec) - (Math.floor(Math.floor(msec) / 600) * 600)) - (Math.floor((Math.floor(msec) - (Math.floor(Math.floor(msec) / 600) * 600)) / 10) * 10));
} else {
newtime = (((Math.floor(Math.floor(msec) / 600) + ":") + Math.floor((Math.floor(msec) - (Math.floor(Math.floor(msec) / 600) * 600)) / 10)) + ".") + (Math.floor(Math.floor(msec) - (Math.floor(Math.floor(msec) / 600) * 600)) - (Math.floor((Math.floor(msec) - (Math.floor(Math.floor(msec) / 600) * 600)) / 10) * 10));
}
if (Math.floor((besttimes[t] - (Math.floor(besttimes[t] / 600) * 600)) / 10) < 10) {
oldtime = (((Math.floor(besttimes[t] / 600) + ":0") + Math.floor((besttimes[t] - (Math.floor(besttimes[t] / 600) * 600)) / 10)) + ".") + (Math.floor(besttimes[t] - (Math.floor(besttimes[t] / 600) * 600)) - (Math.floor((besttimes[t] - (Math.floor(besttimes[t] / 600) * 600)) / 10) * 10));
} else {
oldtime = (((Math.floor(besttimes[t] / 600) + ":") + Math.floor((besttimes[t] - (Math.floor(besttimes[t] / 600) * 600)) / 10)) + ".") + (Math.floor(besttimes[t] - (Math.floor(besttimes[t] / 600) * 600)) - (Math.floor((besttimes[t] - (Math.floor(besttimes[t] / 600) * 600)) / 10) * 10));
}
cptimes[t][maxcp] = Math.floor(msec);
checkpoint(maxcp);
cpwindow._visible = true;
i = 0;
while (i <= 6) {
if (cptimes[t][i] != undefined) {
if (Math.floor((cptimes[t][i] - (Math.floor(cptimes[t][i] / 600) * 600)) / 10) < 10) {
timetxt = (((Math.floor(cptimes[t][i] / 600) + ":0") + Math.floor((cptimes[t][i] - (Math.floor(cptimes[t][i] / 600) * 600)) / 10)) + ".") + (Math.floor(cptimes[t][i] - (Math.floor(cptimes[t][i] / 600) * 600)) - (Math.floor((cptimes[t][i] - (Math.floor(cptimes[t][i] / 600) * 600)) / 10) * 10));
} else {
timetxt = (((Math.floor(cptimes[t][i] / 600) + ":") + Math.floor((cptimes[t][i] - (Math.floor(cptimes[t][i] / 600) * 600)) / 10)) + ".") + (Math.floor(cptimes[t][i] - (Math.floor(cptimes[t][i] / 600) * 600)) - (Math.floor((cptimes[t][i] - (Math.floor(cptimes[t][i] / 600) * 600)) / 10) * 10));
}
if (i == maxcp) {
cpwindow["cptxt" + i].text = "finish: " + timetxt;
} else {
cpwindow["cptxt" + i].text = (("checkpoint " + (i + 1)) + ": ") + timetxt;
}
} else {
cpwindow["cptxt" + i].text = "";
}
i++;
}
timediff = Math.abs(cptimes[t][maxcp] - psObj.data.cptimes[t][maxcp]);
if (psObj.data.cptimes[t][maxcp] != undefined) {
if (psObj.data.cptimes[t][maxcp] >= cptimes[t][maxcp]) {
cpwindow.timediff.gotoAndStop(1);
if (Math.floor((timediff - (Math.floor(timediff / 600) * 600)) / 10) < 10) {
cpwindow.timediff.txt.text = (("-0" + Math.floor(timediff / 10)) + ".") + Math.floor(timediff - (Math.floor(timediff / 10) * 10));
} else {
cpwindow.timediff.txt.text = (("-" + Math.floor(timediff / 10)) + ".") + Math.floor(timediff - (Math.floor(timediff / 10) * 10));
}
} else {
cpwindow.timediff.gotoAndStop(2);
if (Math.floor((timediff - (Math.floor(timediff / 600) * 600)) / 10) < 10) {
cpwindow.timediff.txt.text = (("+0" + Math.floor(timediff / 10)) + ".") + Math.floor(timediff - (Math.floor(timediff / 10) * 10));
} else {
cpwindow.timediff.txt.text = (("+" + Math.floor(timediff / 10)) + ".") + Math.floor(timediff - (Math.floor(timediff / 10) * 10));
}
}
} else {
cpwindow.timediff.gotoAndStop(1);
cpwindow.timediff.txt.text = "";
}
cpwindow.rankingtxt.text = " ";
rankLoader = new LoadVars();
rankLoader.load((("http://www.hypegames.com/rallygame_world_rank.php?score=" + Math.floor(msec)) + "&track=") + t);
rankLoader.onLoad = function (rsuccess) {
if (rsuccess) {
cpwindow.rankingtxt.text = "world rank: #" + this.rankVar;
}
};
cpwindow.mainmenubtn.onRelease = function () {
gotoAndStop (290);
clearAll();
};
cpwindow.restartbtn.onRelease = function () {
gotoAndPlay (297);
clearAll();
};
cpwindow.highscoresbtn.onRelease = function () {
gotoAndStop (292);
clearAll();
};
cpwindow.logo.onRelease = function () {
getURL ("http://hypegames.com/", "_blank");
};
if (((Math.floor(msec) < psObj.data.besttimes[t]) && (c != 6)) || ((psObj.data.besttimes[t] == undefined) && (c != 6))) {
if (psObj.data.trackdataangle != undefined) {
tempx = psObj.data.trackdatax;
tempy = psObj.data.trackdatay;
tempa = psObj.data.trackdataangle;
tempc = psObj.data.trackdatamodel;
tempx[t] = trackdatax[t];
tempy[t] = trackdatay[t];
tempa[t] = trackdataangle[t];
tempc[t] = trackdatamodel[t];
} else {
tempx = trackdatax;
tempy = trackdatay;
tempa = trackdataangle;
tempc = trackdatamodel;
}
besttimes[t] = Math.floor(msec);
psObj.data.besttimes = besttimes;
psObj.data.cptimes = cptimes;
psObj.data.trackdatax = tempx;
psObj.data.trackdatay = tempy;
psObj.data.trackdataangle = tempa;
psObj.data.trackdatamodel = tempc;
psObj.flush();
sender = _root.createEmptyMovieClip("sender", _root.getNextHighestDepth());
sender.t = _root.t;
sender.profilename = profiles[profile];
sender.time = Math.floor(msec);
sender.carnum = _root.c;
sender.loadVariables("http://www.hypegames.com/rallygame.php", "POST");
}
}
} else {
if (speed > 10) {
speed = speed - ((accelration * ((maxspeed - Math.abs(speed)) / 150)) * surf);
} else if (speed > 0) {
speed = speed - (((accelration / 2) * ((maxspeed - Math.abs(speed)) / 200)) * surf);
} else {
speed = 0;
}
ghostcar._visible = false;
disttext._visible = false;
pointer._visible = false;
if (speed > 6) {
screeching = true;
if ((showtiretracks == true) && (air == false)) {
_root["ttrack" + depth] = attachMovie("tiretrack", "", depth);
_root["ttrack" + depth]._x = car._x;
_root["ttrack" + depth]._y = car._y;
_root["ttrack" + depth]._visible = (truettrack._visible = true);
_root["ttrack" + depth].t._alpha = (Math.abs(speed) - 6) * 3;
_root["ttrack" + depth]._rotation = car._rotation;
}
if ((enginesoundnum != 2) && (onTrack == true)) {
enginesound.stop();
enginesound.attachSound("screech");
enginesoundnum = 2;
enginesound.start(0, 0);
}
if (depth < 430) {
depth++;
} else {
depth = 400;
}
} else if (enginesoundnum != 0) {
enginesound.stop();
enginesound.attachSound("Freegear");
enginesoundnum = 0;
enginesound.start(0, 999);
}
}
if ((Math.abs(carangle - momangle) > steering) && (air == false)) {
if (Math.abs(carangle - momangle) < 180) {
if (handbraking == false) {
steeringv = steering * 0.75;
} else {
steeringv = steering / 2;
}
} else {
steeringv = steering * 2;
}
if (carangle > momangle) {
momangle = momangle + (((steeringv - ((Math.abs(speed) / maxspeed) * steeringv)) + (Math.abs(carangle - momangle) / 100)) * (1 - ((1 - surf) / 2)));
}
if (carangle < momangle) {
momangle = momangle - (((steeringv - ((Math.abs(speed) / maxspeed) * steeringv)) + (Math.abs(carangle - momangle) / 100)) * (1 - ((1 - surf) / 2)));
}
}
if (((Math.abs(carangle - momangle) > 20) && (handbraking == false)) && (speed > 4)) {
screeching = true;
if (enginesoundnum != 2) {
enginesound.attachSound("screech");
enginesoundnum = 2;
enginesound.start(0, 0);
}
if ((showtiretracks == true) && (air == false)) {
_root["ttrack" + depth] = attachMovie("tiretrack", "", depth);
_root["ttrack" + depth]._x = car._x;
_root["ttrack" + depth]._y = car._y;
_root["ttrack" + depth]._visible = (truettrack._visible = true);
_root["ttrack" + depth].t._alpha = Math.abs(carangle - momangle) - 15;
_root["ttrack" + depth]._rotation = car._rotation;
}
if (depth < 430) {
depth++;
} else {
depth = 400;
}
} else {
screeching = false;
}
if (handbraking == false) {
if ((speed > 0) && (Math.abs(carangle - momangle) > steering)) {
speed = speed - ((Math.abs((carangle - momangle) - steering) / 250) * surf);
}
if ((speed < 0) && (Math.abs(carangle - momangle) > steering)) {
speed = speed + ((Math.abs((carangle - momangle) - steering) / 250) * surf);
}
} else {
if ((speed > 0) && (Math.abs(carangle - momangle) > steering)) {
speed = speed - ((Math.abs((carangle - momangle) - steering) / 500) * surf);
}
if ((speed < 0) && (Math.abs(carangle - momangle) > steering)) {
speed = speed + ((Math.abs((carangle - momangle) - steering) / 500) * surf);
}
}
checkCollision();
if (onWater == true) {
speed = speed - (speed / 16);
if ((showtiretracks == true) && (air == false)) {
_root["ttrack" + depth] = attachMovie("wave", "", depth);
_root["ttrack" + depth]._x = car._x;
_root["ttrack" + depth]._y = car._y;
_root["ttrack" + depth]._visible == true;
_root["ttrack" + depth]._alpha = Math.abs(speed) * 25;
_root["ttrack" + depth].onEnterFrame = function () {
if (this.img._alpha > 0) {
this.img._alpha--;
} else {
this._visible = false;
this.onEnterFrame = undefined;
}
if (_root.respawning == true) {
this._visible = false;
this.onEnterFrame = undefined;
}
this.img._xscale++;
this.img._yscale++;
};
_root["ttrack" + depth]._rotation = car._rotation;
if (depth < 430) {
depth++;
} else {
depth = 400;
}
}
}
if (onSpect == true) {
if ((sObj.data.bloodEffect != true) || (speed <= 2)) {
if ((trackdataangle[t][respawnspot - 20] != undefined) && (finished != true)) {
_root.respawning = true;
if (showtiretracks == true) {
i = 400;
while (i <= 430) {
_root["ttrack" + i]._x = _root["ttrack" + i]._x + (trackdatax[t][respawnspot - 20] - track._x);
_root["ttrack" + i]._y = _root["ttrack" + i]._y + (trackdatay[t][respawnspot - 20] - track._y);
i++;
}
}
track._x = trackdatax[t][respawnspot - 20];
track._y = trackdatay[t][respawnspot - 20];
momangle = (carangle = trackdataangle[t][respawnspot - 20]);
speed = 0;
airtime = 0;
enginesound.stop();
enginesound.attachSound("startup");
enginesoundnum = 0;
enginesound.start(0, 0);
enginesound.onSoundComplete = function () {
_root.respawning = false;
enginesound.stop();
enginesound.attachSound("Freegear");
enginesound.start(0, 999);
};
car.carmd._alpha = 0;
car.carmd.onEnterFrame = function () {
if (this._alpha < 100) {
this._alpha = this._alpha + 2;
} else {
this.onEnterFrame = undefined;
}
};
} else if (trackdataangle[t][respawnspot] != undefined) {
if (showtiretracks == true) {
i = 400;
while (i <= 430) {
_root["ttrack" + i]._x = _root["ttrack" + i]._x + (trackdatax[t][respawnspot] - track._x);
_root["ttrack" + i]._y = _root["ttrack" + i]._y + (trackdatay[t][respawnspot] - track._y);
i++;
}
}
track._x = trackdatax[t][respawnspot];
track._y = trackdatay[t][respawnspot];
momangle = (carangle = trackdataangle[t][respawnspot]);
speed = 0;
airtime = 0;
_root.respawning = true;
enginesound.stop();
enginesound.attachSound("startup");
enginesoundnum = 0;
enginesound.start(0, 0);
enginesound.onSoundComplete = function () {
_root.respawning = false;
enginesound.stop();
enginesound.attachSound("Freegear");
enginesound.start(0, 999);
};
car.carmd._alpha = 0;
car.carmd.onEnterFrame = function () {
if (this._alpha < 100) {
this._alpha = this._alpha + 2;
} else {
this.onEnterFrame = undefined;
}
};
}
}
}
if (onScenery == true) {
if ((trackdataangle[t][respawnspot - 20] != undefined) && (finished != true)) {
_root.respawning = true;
if (showtiretracks == true) {
i = 400;
while (i <= 430) {
_root["ttrack" + i]._x = _root["ttrack" + i]._x + (trackdatax[t][respawnspot - 20] - track._x);
_root["ttrack" + i]._y = _root["ttrack" + i]._y + (trackdatay[t][respawnspot - 20] - track._y);
i++;
}
}
track._x = trackdatax[t][respawnspot - 20];
track._y = trackdatay[t][respawnspot - 20];
momangle = (carangle = trackdataangle[t][respawnspot - 20]);
speed = 0;
enginesound.stop();
enginesound.attachSound("startup");
enginesoundnum = 0;
enginesound.start(0, 0);
enginesound.onSoundComplete = function () {
_root.respawning = false;
enginesound.stop();
enginesound.attachSound("Freegear");
enginesound.start(0, 999);
};
car.carmd._alpha = 0;
car.carmd.onEnterFrame = function () {
if (this._alpha < 100) {
this._alpha = this._alpha + 2;
} else {
this.onEnterFrame = undefined;
}
};
} else if (trackdataangle[t][respawnspot] != undefined) {
if (showtiretracks == true) {
i = 400;
while (i <= 430) {
_root["ttrack" + i]._x = _root["ttrack" + i]._x + (trackdatax[t][respawnspot] - track._x);
_root["ttrack" + i]._y = _root["ttrack" + i]._y + (trackdatay[t][respawnspot] - track._y);
i++;
}
}
track._x = trackdatax[t][respawnspot];
track._y = trackdatay[t][respawnspot];
momangle = (carangle = trackdataangle[t][respawnspot]);
speed = 0;
_root.respawning = true;
enginesound.stop();
enginesound.attachSound("startup");
enginesoundnum = 0;
enginesound.start(0, 0);
enginesound.onSoundComplete = function () {
_root.respawning = false;
enginesound.stop();
enginesound.attachSound("Freegear");
enginesound.start(0, 999);
};
car.carmd._alpha = 0;
car.carmd.onEnterFrame = function () {
if (this._alpha < 100) {
this._alpha = this._alpha + 2;
} else {
this.onEnterFrame = undefined;
}
};
}
}
if ((prevonTrack == true) && (onTrack == false)) {
airtime = speed * 0.6;
trace(airtime);
}
if (airtime > 0) {
airtime--;
air = true;
} else {
airtime = 0;
air = false;
}
if (onTrack == false) {
if (air == false) {
if (speed > 5) {
speed = speed - (speed / 16);
} else {
speed = speed - (speed / 20);
}
}
if ((enginesoundnum != 0) && (screeching != true)) {
enginesound.stop();
enginesound.attachSound("Freegear");
enginesound.start(0, 999);
enginesoundnum = 0;
}
if ((outoftracktime <= 0) && (finished != true)) {
if (trackdataangle[t][respawnspot - 20] != undefined) {
_root.respawning = true;
if (showtiretracks == true) {
i = 400;
while (i <= 430) {
_root["ttrack" + i]._x = _root["ttrack" + i]._x + (trackdatax[t][respawnspot - 20] - track._x);
_root["ttrack" + i]._y = _root["ttrack" + i]._y + (trackdatay[t][respawnspot - 20] - track._y);
i++;
}
}
track._x = trackdatax[t][respawnspot - 20];
track._y = trackdatay[t][respawnspot - 20];
momangle = (carangle = trackdataangle[t][respawnspot - 20]);
speed = 0;
enginesound.stop();
enginesound.attachSound("startup");
enginesoundnum = 0;
enginesound.start(0, 0);
enginesound.onSoundComplete = function () {
_root.respawning = false;
enginesound.stop();
enginesound.attachSound("Freegear");
enginesound.start(0, 999);
};
enginesound.start(0, 999);
car.carmd._alpha = 0;
car.carmd.onEnterFrame = function () {
if (this._alpha < 100) {
this._alpha = this._alpha + 2;
} else {
this.onEnterFrame = undefined;
}
};
} else if (trackdataangle[t][respawnspot] != undefined) {
_root.respawning = true;
if (showtiretracks == true) {
i = 400;
while (i <= 430) {
_root["ttrack" + i]._x = _root["ttrack" + i]._x + (trackdatax[t][respawnspot] - track._x);
_root["ttrack" + i]._y = _root["ttrack" + i]._y + (trackdatay[t][respawnspot] - track._y);
i++;
}
}
track._x = trackdatax[t][respawnspot];
track._y = trackdatay[t][respawnspot];
momangle = (carangle = trackdataangle[t][respawnspot]);
speed = 0;
enginesound.stop();
enginesound.attachSound("startup");
enginesoundnum = 0;
enginesound.start(0, 0);
enginesound.onSoundComplete = function () {
_root.respawning = false;
enginesound.stop();
enginesound.attachSound("Freegear");
enginesound.start(0, 999);
};
car.carmd._alpha = 0;
car.carmd.onEnterFrame = function () {
if (this._alpha < 100) {
this._alpha = this._alpha + 2;
} else {
this.onEnterFrame = undefined;
}
};
}
} else if (onWater == false) {
outoftracktime--;
} else {
outoftracktime = outoftracktime - 5;
}
} else {
outoftracktime = 160;
respawnspot = Math.round(msec / 0.294117647058824);
}
timewindow.cptxt.text = (("checkpoint: " + cp) + "/") + (maxcp + 1);
if (Math.floor((Math.floor(msec) - (Math.floor(Math.floor(msec) / 600) * 600)) / 10) < 10) {
timewindow.timetxt.text = (((Math.floor(Math.floor(msec) / 600) + ":0") + Math.floor((Math.floor(msec) - (Math.floor(Math.floor(msec) / 600) * 600)) / 10)) + ".") + (Math.floor(Math.floor(msec) - (Math.floor(Math.floor(msec) / 600) * 600)) - (Math.floor((Math.floor(msec) - (Math.floor(Math.floor(msec) / 600) * 600)) / 10) * 10));
} else {
timewindow.timetxt.text = (((Math.floor(Math.floor(msec) / 600) + ":") + Math.floor((Math.floor(msec) - (Math.floor(Math.floor(msec) / 600) * 600)) / 10)) + ".") + (Math.floor(Math.floor(msec) - (Math.floor(Math.floor(msec) / 600) * 600)) - (Math.floor((Math.floor(msec) - (Math.floor(Math.floor(msec) / 600) * 600)) / 10) * 10));
}
meter.pointer._rotation = (Math.abs(speed) / maxspeed) * 270;
if (psObj.data.miles != true) {
meter.km.text = "kph";
} else {
meter.km.text = "mph";
}
if (psObj.data.miles != true) {
if (Math.round(Math.abs(speed * 8.1)) < 10) {
meter.speedtxt.text = "00" + Math.round(Math.abs(speed * 8.1));
} else if (Math.round(Math.abs(speed * 8.1)) < 100) {
meter.speedtxt.text = "0" + Math.round(Math.abs(speed * 8.1));
} else {
meter.speedtxt.text = Math.round(Math.abs(speed * 8.1));
}
} else if (Math.round(Math.abs((speed * 8.1) * 0.621371192)) < 10) {
meter.speedtxt.text = "00" + Math.round(Math.abs(speed * 8.1));
} else if (Math.round(Math.abs((speed * 8.1) * 0.621371192)) < 100) {
meter.speedtxt.text = "0" + Math.round(Math.abs((speed * 8.1) * 0.621371192));
} else {
meter.speedtxt.text = Math.round(Math.abs((speed * 8.1) * 0.621371192));
}
fcount++;
xspeed = speed * Math.cos((momangle / 180) * Math.PI);
yspeed = speed * Math.sin((momangle / 180) * Math.PI);
car._rotation = carangle;
i = 0;
while (i < advnum) {
if (car.hitTest(track["advice" + i]) && (track["advice" + i].pressab != false)) {
map.gotoAndStop(track["advice" + i].frame);
track["advice" + i].pressab = false;
track["advice" + i].t = 70;
track["advice" + i].onEnterFrame = function () {
if (this.t > 0) {
this.t--;
} else {
this.pressab = true;
this.onEnterFrame = undefined;
}
};
map._alpha = 100;
map.b = 600;
map.a._rotation = car._rotation + 90;
map.onEnterFrame = function () {
if (this.b <= 100) {
this._alpha = b;
if (this._alpha > 0) {
this._alpha = this._alpha - 10;
} else {
this.onEnterFrame = undefined;
}
} else {
this.b = this.b - 10;
}
};
}
i++;
}
if (car.hitTest(track["cp" + (cp - 1)])) {
cptimes[t][cp - 1] = Math.floor(msec);
checkpoint(cp - 1);
cp++;
checkingbox.onEnterFrame = function () {
if (this.b <= 100) {
this._alpha = b;
if (this._alpha > 0) {
this._alpha = this._alpha - 10;
} else {
this.onEnterFrame = undefined;
}
} else {
this.b = this.b - 10;
}
};
}
speed = speed - (speed / 470);
if (showtiretracks == true) {
i = 400;
while (i <= 430) {
_root["ttrack" + i]._x = _root["ttrack" + i]._x - xspeed;
_root["ttrack" + i]._y = _root["ttrack" + i]._y - yspeed;
i++;
}
}
track._x = track._x - xspeed;
track._y = track._y - yspeed;
}
if (sObj.data.efx == false) {
enginesound.setVolume(0);
}
};
onKeyDown = function () {
key = Key.getCode();
if (key == controls[5]) {
if (Paused == false) {
Paused = true;
pausewindow._visible = true;
if (sObj.data.music == true) {
pausewindow.muyn.gotoAndStop(1);
} else {
pausewindow.muyn.gotoAndStop(2);
}
pos = enginesound.position;
muspos = gmusic.position;
trace(gmusic);
enginesound.stop();
gmusic.stop();
tipnum = Math.floor(Math.random() * tips.length);
pausewindow.tiptxt.text = (((("TIP " + (tipnum + 1)) + "/") + tips.length) + "\n ") + tips[tipnum];
} else {
Paused = false;
pausewindow._visible = false;
enginesound.start(pos / 1000, 0);
if (sObj.data.music == true) {
gmusic.start(muspos / 1000, 99);
}
}
}
if (key == 13) {
if (startwindow._visible == true) {
stopAllSounds();
startwindow._visible = false;
enginesound.start(pos / 1000, 0);
lights._visible = true;
}
if (sObj.data.music == true) {
song = Math.floor(Math.random() * 2);
var gmusic = new Sound(hifi2);
gmusic.attachSound("gamesong" + song);
gmusic.start(0, 99);
gmusic.setVolume(sObj.data.musvolume);
var _local3 = new Array("American Hi-Fi - Beautiful Disaster", "Paul Oakenfold - Ready Steady Go");
player2.txt.text = _local3[song];
player2.onEnterFrame = function () {
if (this._y < -2.5) {
this._y = this._y + 2;
} else {
this.timer = 90;
this.onEnterFrame = function () {
if (this.timer > 0) {
this.timer--;
} else {
this.onEnterFrame = function () {
if (this._y > -40) {
this._y = this._y - 2;
} else {
this.onEnterFrame = undefined;
}
};
}
};
}
};
}
}
if (key == controls[6]) {
if (_root._quality == "HIGH") {
_root._quality = "LOW";
} else if (_root._quality == "LOW") {
_root._quality = "MEDIUM";
} else if (_root._quality == "MEDIUM") {
_root._quality = "HIGH";
}
psObj.data.qual = _root._quality;
}
if ((key == 37) && (Paused == true)) {
if (tipnum > 0) {
tipnum--;
} else {
tipnum = tips.length - 1;
}
}
if ((key == 39) && (Paused == true)) {
if (tipnum < (tips.length - 1)) {
tipnum++;
} else {
tipnum = 0;
}
}
pausewindow.tiptxt.text = (((("TIP " + (tipnum + 1)) + "/") + tips.length) + "\n ") + tips[tipnum];
};
pausewindow.mainmenubtn.onRelease = function () {
gotoAndStop (290);
clearAll();
};
pausewindow.resumebtn.onRelease = function () {
Paused = false;
pausewindow._visible = false;
enginesound.start(pos / 1000, 0);
if (sObj.data.music == true) {
gmusic.start(muspos / 1000, 99);
}
};
pausewindow.muyn.onRelease = function () {
if (sObj.data.music == true) {
sObj.data.music = false;
muspos = gmusic.position;
_root.gmusic.stop();
stopAllSounds();
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
sObj.data.music = true;
_root.gmusic = new Sound();
_root.gmusic.attachSound("gamesong" + _root.song);
_root.gmusic.start(muspos / 1000, 99);
_root.gmusic.setVolume(sObj.data.musvolume);
trace((muspos + ", ") + sObj.data.musvolume);
if (muspos == 0) {
_root.player2.txt.text = _root.songs[_root.song];
_root.player2.onEnterFrame = function () {
if (this._y < -2.5) {
this._y = this._y + 2;
} else {
this.timer = 90;
this.onEnterFrame = function () {
if (this.timer > 0) {
this.timer--;
} else {
this.onEnterFrame = function () {
if (this._y > -40) {
this._y = this._y - 2;
} else {
this.onEnterFrame = undefined;
}
};
}
};
}
};
}
}
};
pausewindow.restartbtn.onRelease = function () {
gotoAndPlay (297);
clearAll();
};
pausewindow.qual.onRelease = function () {
if (_root._quality == "HIGH") {
_root._quality = "LOW";
} else if (_root._quality == "LOW") {
_root._quality = "MEDIUM";
} else if (_root._quality == "MEDIUM") {
_root._quality = "HIGH";
}
sObj.data.qual = _root._quality;
};
psObj.onStatus = function () {
trace("WTF");
};
Symbol 30 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
this.xpos = (_root.track._x + _root.track.spects._x) + this._x;
this.ypos = (_root.track._y + _root.track.spects._y) + this._y;
this._rotation = 90 + ((Math.atan2(240 - this.ypos, 320 - this.xpos) * 180) / Math.PI);
this.dist = Math.sqrt(((this.xpos - 320) * (this.xpos - 320)) + ((this.ypos - 240) * (this.ypos - 240)));
if (((this.dist < 40) && (_root.sObj.data.bloodEffect == true)) && (_root.speed > 2)) {
b = _root.track.attachMovie("bloodsplat", "blood" + _root.track.getNextHighestDepth(), _root.track.getNextHighestDepth());
b._x = _root.track.spects._x + this._x;
b._y = _root.track.spects._y + this._y;
b._rotation = this._rotation;
this.gotoAndStop(2);
this.onEnterFrame = undefined;
if (_root.splat == undefined) {
_root.splat = new Sound(_root.hifi3);
}
_root.splat.attachSound("Skull_Cr-nsupra27-1136.wav");
_root.splat.start(0, 0);
_root.splat.setVolume(_root.sObj.data.efxvolume);
}
};
Symbol 32 MovieClip Frame 1
stop();
this.onEnterFrame = function () {
this.xpos = (_root.track._x + _root.track.spects._x) + this._x;
this.ypos = (_root.track._y + _root.track.spects._y) + this._y;
this._rotation = 90 + ((Math.atan2(240 - this.ypos, 320 - this.xpos) * 180) / Math.PI);
this.dist = Math.sqrt(((this.xpos - 320) * (this.xpos - 320)) + ((this.ypos - 240) * (this.ypos - 240)));
if (((this.dist < 40) && (_root.sObj.data.bloodEffect == true)) && (_root.speed > 2)) {
b = _root.track.attachMovie("bloodsplat", "blood" + _root.track.getNextHighestDepth(), _root.track.getNextHighestDepth());
b._x = _root.track.spects._x + this._x;
b._y = _root.track.spects._y + this._y;
this.gotoAndStop(2);
this.onEnterFrame = undefined;
if (_root.splat == undefined) {
_root.splat = new Sound(_root.hifi3);
}
_root.splat.attachSound("Skull_Cr-nsupra27-1136.wav");
_root.splat.start(0, 0);
_root.splat.setVolume(_root.sObj.data.efxvolume);
}
};
Instance of Symbol 12 MovieClip "advice1" in Symbol 34 MovieClip [ontario] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice2" in Symbol 34 MovieClip [ontario] Frame 1
onClipEvent (load) {
this.frame = 9;
}
Instance of Symbol 12 MovieClip "advice3" in Symbol 34 MovieClip [ontario] Frame 1
onClipEvent (load) {
this.frame = 11;
}
Instance of Symbol 12 MovieClip "advice4" in Symbol 34 MovieClip [ontario] Frame 1
onClipEvent (load) {
this.frame = 12;
}
Instance of Symbol 12 MovieClip "advice5" in Symbol 34 MovieClip [ontario] Frame 1
onClipEvent (load) {
this.frame = 12;
}
Instance of Symbol 12 MovieClip "advice6" in Symbol 34 MovieClip [ontario] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice7" in Symbol 34 MovieClip [ontario] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice8" in Symbol 34 MovieClip [ontario] Frame 1
onClipEvent (load) {
this.frame = 4;
}
Instance of Symbol 12 MovieClip "advice9" in Symbol 34 MovieClip [ontario] Frame 1
onClipEvent (load) {
this.frame = 11;
}
Instance of Symbol 12 MovieClip "advice10" in Symbol 34 MovieClip [ontario] Frame 1
onClipEvent (load) {
this.frame = 15;
}
Instance of Symbol 12 MovieClip "advice11" in Symbol 34 MovieClip [ontario] Frame 1
onClipEvent (load) {
this.frame = 9;
}
Instance of Symbol 12 MovieClip "advice12" in Symbol 34 MovieClip [ontario] Frame 1
onClipEvent (load) {
this.frame = 15;
}
Instance of Symbol 12 MovieClip "advice13" in Symbol 34 MovieClip [ontario] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice14" in Symbol 34 MovieClip [ontario] Frame 1
onClipEvent (load) {
this.frame = 4;
}
Instance of Symbol 12 MovieClip "advice15" in Symbol 34 MovieClip [ontario] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice16" in Symbol 34 MovieClip [ontario] Frame 1
onClipEvent (load) {
this.frame = 11;
}
Instance of Symbol 12 MovieClip "advice17" in Symbol 34 MovieClip [ontario] Frame 1
onClipEvent (load) {
this.frame = 2;
}
Instance of Symbol 12 MovieClip "advice18" in Symbol 34 MovieClip [ontario] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice19" in Symbol 34 MovieClip [ontario] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice20" in Symbol 34 MovieClip [ontario] Frame 1
onClipEvent (load) {
this.frame = 10;
}
Instance of Symbol 12 MovieClip "advice21" in Symbol 34 MovieClip [ontario] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice23" in Symbol 34 MovieClip [ontario] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice22" in Symbol 34 MovieClip [ontario] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice24" in Symbol 34 MovieClip [ontario] Frame 1
onClipEvent (load) {
this.frame = 12;
}
Instance of Symbol 12 MovieClip "advice25" in Symbol 34 MovieClip [ontario] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice0" in Symbol 34 MovieClip [ontario] Frame 1
onClipEvent (load) {
this.frame = 2;
}
Symbol 36 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root._quality == "LOW") {
this._visible = false;
}
};
Symbol 38 MovieClip [toyota] Frame 1
stop();
Instance of Symbol 12 MovieClip "advice0" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice1" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 3;
}
Instance of Symbol 12 MovieClip "advice2" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice3" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 15;
}
Instance of Symbol 12 MovieClip "advice4" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 3;
}
Instance of Symbol 12 MovieClip "advice5" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 4;
}
Instance of Symbol 12 MovieClip "advice6" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 1;
}
Instance of Symbol 12 MovieClip "advice7" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 4;
}
Instance of Symbol 12 MovieClip "advice8" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice9" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice10" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 4;
}
Instance of Symbol 12 MovieClip "advice11" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 12;
}
Instance of Symbol 12 MovieClip "advice16" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice12" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice13" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice14" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 2;
}
Instance of Symbol 12 MovieClip "advice15" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 17;
}
Instance of Symbol 12 MovieClip "advice17" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 7;
}
Instance of Symbol 12 MovieClip "advice18" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice19" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice20" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice21" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 11;
}
Instance of Symbol 12 MovieClip "advice22" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice23" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 7;
}
Instance of Symbol 12 MovieClip "advice24" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice25" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice26" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 3;
}
Instance of Symbol 12 MovieClip "advice27" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 11;
}
Instance of Symbol 12 MovieClip "advice28" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice29" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice30" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 10;
}
Instance of Symbol 12 MovieClip "advice31" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 3;
}
Instance of Symbol 12 MovieClip "advice32" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 11;
}
Instance of Symbol 12 MovieClip "advice33" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 7;
}
Instance of Symbol 12 MovieClip "advice34" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 10;
}
Instance of Symbol 12 MovieClip "advice35" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 1;
}
Instance of Symbol 12 MovieClip "advice36" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 16;
}
Instance of Symbol 12 MovieClip "advice37" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice38" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice39" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 1;
}
Instance of Symbol 12 MovieClip "advice40" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice58" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 12;
}
Instance of Symbol 12 MovieClip "advice41" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 4;
}
Instance of Symbol 12 MovieClip "advice42" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice43" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice44" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice45" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice46" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 3;
}
Instance of Symbol 12 MovieClip "advice47" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 2;
}
Instance of Symbol 12 MovieClip "advice48" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 7;
}
Instance of Symbol 12 MovieClip "advice49" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 15;
}
Instance of Symbol 12 MovieClip "advice50" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice51" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 11;
}
Instance of Symbol 12 MovieClip "advice52" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 11;
}
Instance of Symbol 12 MovieClip "advice53" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 10;
}
Instance of Symbol 12 MovieClip "advice54" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice55" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice56" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice57" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 12;
}
Instance of Symbol 12 MovieClip "advice59" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice60" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 8;
}
Instance of Symbol 12 MovieClip "advice61" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 4;
}
Instance of Symbol 12 MovieClip "advice62" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 1;
}
Instance of Symbol 12 MovieClip "advice63" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice64" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice65" in Symbol 49 MovieClip [ajaccio] Frame 1
onClipEvent (load) {
this.frame = 12;
}
Instance of Symbol 12 MovieClip "advice0" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice1" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 16;
}
Instance of Symbol 12 MovieClip "advice2" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 15;
}
Instance of Symbol 12 MovieClip "advice3" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 2;
}
Instance of Symbol 12 MovieClip "advice4" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 3;
}
Instance of Symbol 12 MovieClip "advice5" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice6" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice7" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 9;
}
Instance of Symbol 12 MovieClip "advice8" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice9" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 16;
}
Instance of Symbol 12 MovieClip "advice10" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 10;
}
Instance of Symbol 12 MovieClip "advice11" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice12" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 9;
}
Instance of Symbol 12 MovieClip "advice13" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 3;
}
Instance of Symbol 12 MovieClip "advice14" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice15" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice16" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice17" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 1;
}
Instance of Symbol 12 MovieClip "advice18" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 9;
}
Instance of Symbol 12 MovieClip "advice19" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 1;
}
Instance of Symbol 12 MovieClip "advice20" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice21" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 15;
}
Instance of Symbol 12 MovieClip "advice22" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 15;
}
Instance of Symbol 12 MovieClip "advice23" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice24" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice25" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice26" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 4;
}
Instance of Symbol 12 MovieClip "advice27" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 11;
}
Instance of Symbol 12 MovieClip "advice28" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice29" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 11;
}
Instance of Symbol 12 MovieClip "advice30" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 12;
}
Instance of Symbol 12 MovieClip "advice31" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice32" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 3;
}
Instance of Symbol 12 MovieClip "advice33" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 9;
}
Instance of Symbol 12 MovieClip "advice34" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 17;
}
Instance of Symbol 12 MovieClip "advice35" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 1;
}
Instance of Symbol 12 MovieClip "advice36" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 11;
}
Instance of Symbol 12 MovieClip "advice37" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice38" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 16;
}
Instance of Symbol 12 MovieClip "advice39" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 4;
}
Instance of Symbol 12 MovieClip "advice40" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 17;
}
Instance of Symbol 12 MovieClip "advice41" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 16;
}
Instance of Symbol 12 MovieClip "advice42" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 12;
}
Instance of Symbol 12 MovieClip "advice43" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 4;
}
Instance of Symbol 12 MovieClip "advice44" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice45" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 12;
}
Instance of Symbol 12 MovieClip "advice46" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 11;
}
Instance of Symbol 12 MovieClip "advice47" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice48" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice49" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 1;
}
Instance of Symbol 12 MovieClip "advice50" in Symbol 68 MovieClip [saarenmaa] Frame 1
onClipEvent (load) {
this.frame = 3;
}
Instance of Symbol 12 MovieClip "advice0" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 3;
}
Instance of Symbol 12 MovieClip "advice1" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 4;
}
Instance of Symbol 12 MovieClip "advice2" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice3" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice4" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 16;
}
Instance of Symbol 12 MovieClip "advice5" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice6" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 7;
}
Instance of Symbol 12 MovieClip "advice7" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 15;
}
Instance of Symbol 12 MovieClip "advice8" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice9" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice10" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 12;
}
Instance of Symbol 12 MovieClip "advice11" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice12" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 12;
}
Instance of Symbol 12 MovieClip "advice13" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice14" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 4;
}
Instance of Symbol 12 MovieClip "advice15" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice16" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 4;
}
Instance of Symbol 12 MovieClip "advice17" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice18" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 4;
}
Instance of Symbol 12 MovieClip "advice19" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice20" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice21" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 4;
}
Instance of Symbol 12 MovieClip "advice22" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice23" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 4;
}
Instance of Symbol 12 MovieClip "advice73" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 8;
}
Instance of Symbol 12 MovieClip "advice24" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice25" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice26" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice27" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice28" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 1;
}
Instance of Symbol 12 MovieClip "advice29" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 17;
}
Instance of Symbol 12 MovieClip "advice30" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice31" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 4;
}
Instance of Symbol 12 MovieClip "advice32" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 3;
}
Instance of Symbol 12 MovieClip "advice33" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 4;
}
Instance of Symbol 12 MovieClip "advice34" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice35" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 3;
}
Instance of Symbol 12 MovieClip "advice36" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice37" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 3;
}
Instance of Symbol 12 MovieClip "advice38" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice39" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 11;
}
Instance of Symbol 12 MovieClip "advice40" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice41" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice42" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice43" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 2;
}
Instance of Symbol 12 MovieClip "advice44" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 4;
}
Instance of Symbol 12 MovieClip "advice45" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 10;
}
Instance of Symbol 12 MovieClip "advice46" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice47" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 3;
}
Instance of Symbol 12 MovieClip "advice48" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 2;
}
Instance of Symbol 12 MovieClip "advice49" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 3;
}
Instance of Symbol 12 MovieClip "advice50" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 7;
}
Instance of Symbol 12 MovieClip "advice51" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice52" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice53" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 12;
}
Instance of Symbol 12 MovieClip "advice54" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 16;
}
Instance of Symbol 12 MovieClip "advice55" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 8;
}
Instance of Symbol 12 MovieClip "advice56" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 16;
}
Instance of Symbol 12 MovieClip "advice57" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice58" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice59" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 16;
}
Instance of Symbol 12 MovieClip "advice60" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice61" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice62" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 3;
}
Instance of Symbol 12 MovieClip "advice63" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 11;
}
Instance of Symbol 12 MovieClip "advice64" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice65" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 15;
}
Instance of Symbol 12 MovieClip "advice66" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice67" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 15;
}
Instance of Symbol 12 MovieClip "advice68" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice69" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 11;
}
Instance of Symbol 12 MovieClip "advice70" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice71" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 9;
}
Instance of Symbol 12 MovieClip "advice72" in Symbol 77 MovieClip [lightwater] Frame 1
onClipEvent (load) {
this.frame = 12;
}
Symbol 82 MovieClip [smokecloud] Frame 50
this.removeMovieClip();
Instance of Symbol 12 MovieClip "advice0" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 3;
}
Instance of Symbol 12 MovieClip "advice1" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 2;
}
Instance of Symbol 12 MovieClip "advice2" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 16;
}
Instance of Symbol 12 MovieClip "advice3" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 4;
}
Instance of Symbol 12 MovieClip "advice4" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 10;
}
Instance of Symbol 12 MovieClip "advice5" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice6" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice7" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice8" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 1;
}
Instance of Symbol 12 MovieClip "advice9" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 2;
}
Instance of Symbol 12 MovieClip "advice10" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice11" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 2;
}
Instance of Symbol 12 MovieClip "advice12" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice13" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 1;
}
Instance of Symbol 12 MovieClip "advice14" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice15" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 2;
}
Instance of Symbol 12 MovieClip "advice16" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice17" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice18" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice25" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 14;
}
Instance of Symbol 12 MovieClip "advice26" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice27" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 4;
}
Instance of Symbol 12 MovieClip "advice28" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 15;
}
Instance of Symbol 12 MovieClip "advice29" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 10;
}
Instance of Symbol 12 MovieClip "advice20" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 7;
}
Instance of Symbol 12 MovieClip "advice21" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 5;
}
Instance of Symbol 12 MovieClip "advice22" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice23" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 10;
}
Instance of Symbol 12 MovieClip "advice30" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice31" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice19" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 1;
}
Instance of Symbol 12 MovieClip "advice24" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice25" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 8;
}
Instance of Symbol 12 MovieClip "advice32" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 11;
}
Instance of Symbol 12 MovieClip "advice33" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice34" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 10;
}
Instance of Symbol 12 MovieClip "advice35" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 3;
}
Instance of Symbol 12 MovieClip "advice36" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 3;
}
Instance of Symbol 12 MovieClip "advice37" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice38" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 1;
}
Instance of Symbol 12 MovieClip "advice39" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 8;
}
Instance of Symbol 12 MovieClip "advice40" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice41" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 1;
}
Instance of Symbol 12 MovieClip "advice42" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 10;
}
Instance of Symbol 12 MovieClip "advice43" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 15;
}
Instance of Symbol 12 MovieClip "advice44" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 11;
}
Instance of Symbol 12 MovieClip "advice45" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 7;
}
Instance of Symbol 12 MovieClip "advice46" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 11;
}
Instance of Symbol 12 MovieClip "advice47" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 11;
}
Instance of Symbol 12 MovieClip "advice48" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 14;
}
Instance of Symbol 12 MovieClip "advice49" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 13;
}
Instance of Symbol 12 MovieClip "advice50" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 4;
}
Instance of Symbol 12 MovieClip "advice51" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 16;
}
Instance of Symbol 12 MovieClip "advice52" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 10;
}
Instance of Symbol 12 MovieClip "advice53" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 10;
}
Instance of Symbol 12 MovieClip "advice54" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 6;
}
Instance of Symbol 12 MovieClip "advice55" in Symbol 98 MovieClip [obihiro] Frame 1
onClipEvent (load) {
this.frame = 3;
}
Symbol 128 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 1
stop();
Symbol 452 MovieClip [__Packages.com.gskinner.sprites.CollisionDetection] Frame 0
class com.gskinner.sprites.CollisionDetection
{
function CollisionDetection () {
}
static function checkForCollision(p_clip1, p_clip2, p_alphaTolerance) {
if (p_alphaTolerance == undefined) {
p_alphaTolerance = 255;
}
var _local4 = p_clip1.getBounds(_root);
var _local3 = p_clip2.getBounds(_root);
if (((_local4.xMax < _local3.xMin) || (_local3.xMax < _local4.xMin)) || ((_local4.yMax < _local3.yMin) || (_local3.yMax < _local4.yMin))) {
return(null);
}
var _local2 = {};
_local2.xMin = Math.max(_local4.xMin, _local3.xMin);
_local2.xMax = Math.min(_local4.xMax, _local3.xMax);
_local2.yMin = Math.max(_local4.yMin, _local3.yMin);
_local2.yMax = Math.min(_local4.yMax, _local3.yMax);
var _local7 = new flash.display.BitmapData(_local2.xMax - _local2.xMin, _local2.yMax - _local2.yMin, false);
var _local5 = p_clip1.transform.concatenatedMatrix;
_local5.tx = _local5.tx - _local2.xMin;
_local5.ty = _local5.ty - _local2.yMin;
_local7.draw(p_clip1, _local5, new flash.geom.ColorTransform(1, 1, 1, 1, 255, -255, -255, p_alphaTolerance));
_local5 = p_clip2.transform.concatenatedMatrix;
_local5.tx = _local5.tx - _local2.xMin;
_local5.ty = _local5.ty - _local2.yMin;
_local7.draw(p_clip2, _local5, new flash.geom.ColorTransform(1, 1, 1, 1, 255, 255, 255, p_alphaTolerance), "difference");
var _local6 = _local7.getColorBoundsRect(4294967295, 4278255615);
if (_local6.width == 0) {
return(null);
}
_local6.x = _local6.x + _local2.xMin;
_local6.y = _local6.y + _local2.yMin;
return(_local6);
}
}
Symbol 144 MovieClip Frame 130
stop();
Symbol 186 MovieClip Frame 1
stop();
this.onRollOver = function () {
this.gotoAndStop(2);
};
Symbol 186 MovieClip Frame 2
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onReleaseOutside = function () {
this.gotoAndStop(1);
};
Symbol 199 MovieClip Frame 1
stop();
Symbol 209 MovieClip Frame 1
stop();
Symbol 280 MovieClip Frame 1
stop();
Symbol 288 MovieClip Frame 1
stop();
this.onRollOver = function () {
this.gotoAndStop(2);
};
Symbol 288 MovieClip Frame 2
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onReleaseOutside = function () {
this.gotoAndStop(1);
};
Symbol 302 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 1
stop();
Symbol 311 MovieClip Frame 1
stop();
Symbol 314 MovieClip Frame 1
stop();
Symbol 318 MovieClip Frame 1
stop();
Symbol 319 MovieClip Frame 1
stop();
Symbol 332 MovieClip Frame 1
stop();
Symbol 354 MovieClip Frame 1
stop();
Symbol 364 MovieClip Frame 1
stop();
Symbol 412 MovieClip Frame 1
stop();
Symbol 437 MovieClip Frame 1
stop();