Frame 1
function zadergka() {
perc2++;
if (perc2 >= 100) {
clearInterval(fSetInterval);
}
}
stop();
preloader.line._xscale = 0;
preloader.txt.text = "0%";
this.onEnterFrame = function () {
var _local6 = this.getBytesLoaded();
var _local5 = this.getBytesTotal();
var _local4 = int((_local6 / _local5) * 100);
var _local3;
_local3 = ((perc2 > _local4) ? (_local4) : (perc2));
preloader.line._xscale = _local3;
preloader.txt.text = _local3 + "%";
if ((_local5 == _local6) && (perc2 == 100)) {
this.onEnterFrame = undefined;
preloader._visible = false;
_root.gotoAndStop("init");
}
};
perc2 = 0;
fSetInterval = setInterval(zadergka, 90);
Instance of Symbol 542 MovieClip in Frame 1
on (press) {
nextFrame();
gotoAndPlay;
}
Frame 7
puncte = 0;
punctaj = 0;
stop();
Frame 16
function startGame() {
_global.gl_level = gl_user_info.levels["level_" + gl_user_info.curr_level];
gl_game_info.is_game_over = (gl_game_info.is_pause = false);
main_mc.back_mc.gotoAndStop("level_" + gl_user_info.curr_level);
main_mc.messages_mc.gotoAndStop("empty");
_root.onKeyDown = function () {
if (Key.getCode() == 80) {
gl_game_info.is_pause = !gl_game_info.is_pause;
if (gl_game_info.is_pause) {
main_mc.messages_mc.gotoAndPlay("pause");
_root.pauza = true;
} else {
main_mc.messages_mc.gotoAndPlay("un_pause");
_root.pauza = false;
}
}
if (_global.gl_user_info.curr_level > 15) {
_global.gl_user_info.curr_level = 1;
}
};
Key.addListener(_root);
if (!Pirrest.Common.PiVal.isEmpty(gl_level)) {
main_mc.main_cont_mc.attachMovie(gl_level.link, "level_mc", 1);
}
}
jb = new Pirrest.BigFoot.JeepBody();
Key.addListener(jb);
player = {link:"lib_jeep"};
level_1 = {link:"lib_level_1", damping:0.98, gravity:{x:0, y:0.38}, kfr:0.1, friction:0.8};
level_2 = {link:"lib_level_2", damping:0.98, gravity:{x:0, y:0.38}, kfr:0.1, friction:0.8};
level_3 = {link:"lib_level_3", damping:0.98, gravity:{x:0, y:0.38}, kfr:0.1, friction:0.8};
level_4 = {link:"lib_level_4", damping:0.98, gravity:{x:0, y:0.41}, kfr:0.1, friction:0.8};
level_5 = {link:"lib_level_5", damping:0.98, gravity:{x:0, y:0.38}, kfr:0.1, friction:0.8};
level_6 = {link:"lib_level_6", damping:0.98, gravity:{x:0, y:0.38}, kfr:0.1, friction:0.8};
level_7 = {link:"lib_level_7", damping:0.98, gravity:{x:0, y:0.38}, kfr:0.1, friction:0.8};
level_8 = {link:"lib_level_8", damping:0.98, gravity:{x:0, y:0.38}, kfr:0.1, friction:0.8};
level_9 = {link:"lib_level_9", damping:0.98, gravity:{x:0, y:0.38}, kfr:0.1, friction:0.8};
level_10 = {link:"lib_level_10", damping:0.98, gravity:{x:0, y:0.38}, kfr:0.1, friction:0.8};
level_11 = {link:"lib_level_11", damping:0.98, gravity:{x:0, y:0.38}, kfr:0.1, friction:0.8};
level_12 = {link:"lib_level_12", damping:0.98, gravity:{x:0, y:0.38}, kfr:0.1, friction:0.8};
level_13 = {link:"lib_level_13", damping:0.98, gravity:{x:0, y:0.38}, kfr:0.1, friction:0.8};
level_14 = {link:"lib_level_14", damping:0.98, gravity:{x:0, y:0.38}, kfr:0.1, friction:0.8};
level_15 = {link:"lib_level_15", damping:0.98, gravity:{x:0, y:0.35}, kfr:0.1, friction:0.8};
levels = {level_1:level_1, level_2:level_2, level_3:level_3, level_4:level_4, level_5:level_5, level_6:level_6, level_7:level_7, level_8:level_8, level_9:level_9, level_10:level_10, level_11:level_11, level_12:level_12, level_13:level_13, level_14:level_14, level_15:level_15};
_global.gl_user_info = {levels:levels, player:player, curr_level:1};
_global.gl_game_info = {is_game_over:false, is_pause:false};
delete player;
delete level_1;
delete level_2;
delete level_3;
delete level_4;
delete level_5;
delete level_6;
delete level_7;
delete level_8;
delete level_9;
delete level_10;
delete level_11;
delete level_12;
delete level_13;
delete level_14;
delete level_15;
delete levels;
main_mc.gotoAndStop("intro");
_root.acc1 = new Sound();
_root.acc1.attachSound("max");
_root.acc2 = new Sound();
_root.acc2.attachSound("revenire");
_root.xmotor = new Sound();
_root.xmotor.attachSound("xmotor");
_root.acc = new Sound();
_root.acc.attachSound("demaraje");
_root.sunet = true;
Frame 26
prevFrame();
Frame 27
removeMovieClip(_root.xxc1);
removeMovieClip(_root.xxc2);
removeMovieClip(_root.xxc3);
removeMovieClip(_root.xxc4);
Frame 28
_root.menu.removeMovieClip();
_root.gameid = "TrialBike2";
_root.best = _root.totalScor;
_root.totalScor = 0;
_root.updated = 0;
_root.done = 0;
done = 0;
i = 1;
while (i <= 100) {
_root["score" + i] = null;
_root["name" + i] = null;
_root["escore" + i] = null;
_root["ename" + i] = null;
i++;
}
Symbol 6 MovieClip [FUIComponentSymbol] Frame 1
#initclip 42
function FUIComponentClass() {
this.init();
}
FUIComponentClass.prototype = new MovieClip();
FUIComponentClass.prototype.init = function () {
this.enable = true;
this.focused = false;
this.useHandCursor = false;
this._accImpl = new Object();
this._accImpl.stub = true;
this.styleTable = new Array();
if (_global.globalStyleFormat == undefined) {
_global.globalStyleFormat = new FStyleFormat();
globalStyleFormat.isGlobal = true;
_global._focusControl = new Object();
_global._focusControl.onSetFocus = function (oldFocus, newFocus) {
oldFocus.myOnKillFocus();
newFocus.myOnSetFocus();
};
Selection.addListener(_global._focusControl);
}
if (this._name != undefined) {
this._focusrect = false;
this.tabEnabled = true;
this.focusEnabled = true;
this.tabChildren = false;
this.tabFocused = true;
if (this.hostStyle == undefined) {
globalStyleFormat.addListener(this);
} else {
this.styleTable = this.hostStyle;
}
this.deadPreview._visible = false;
this.deadPreview._width = (this.deadPreview._height = 1);
this.methodTable = new Object();
this.keyListener = new Object();
this.keyListener.controller = this;
this.keyListener.onKeyDown = function () {
this.controller.myOnKeyDown();
};
this.keyListener.onKeyUp = function () {
this.controller.myOnKeyUp();
};
for (var _local3 in this.styleFormat_prm) {
this.setStyleProperty(_local3, this.styleFormat_prm[_local3]);
}
}
};
FUIComponentClass.prototype.setEnabled = function (enabledFlag) {
this.enable = ((arguments.length > 0) ? (enabledFlag) : true);
this.tabEnabled = (this.focusEnabled = enabledFlag);
if ((!this.enable) && (this.focused)) {
Selection.setFocus(undefined);
}
};
FUIComponentClass.prototype.getEnabled = function () {
return(this.enable);
};
FUIComponentClass.prototype.setSize = function (w, h) {
this.width = w;
this.height = h;
this.focusRect.removeMovieClip();
};
FUIComponentClass.prototype.setChangeHandler = function (chng, obj) {
this.handlerObj = ((obj == undefined) ? (this._parent) : (obj));
this.changeHandler = chng;
};
FUIComponentClass.prototype.invalidate = function (methodName) {
this.methodTable[methodName] = true;
this.onEnterFrame = this.cleanUI;
};
FUIComponentClass.prototype.cleanUI = function () {
if (this.methodTable.setSize) {
this.setSize(this.width, this.height);
} else {
this.cleanUINotSize();
}
this.methodTable = new Object();
delete this.onEnterFrame;
};
FUIComponentClass.prototype.cleanUINotSize = function () {
for (var _local2 in this.methodTable) {
this[_local2]();
}
};
FUIComponentClass.prototype.drawRect = function (x, y, w, h) {
var _local4 = this.styleTable.focusRectInner.value;
var _local5 = this.styleTable.focusRectOuter.value;
if (_local4 == undefined) {
_local4 = 16777215 /* 0xFFFFFF */;
}
if (_local5 == undefined) {
_local5 = 0;
}
this.createEmptyMovieClip("focusRect", 1000);
this.focusRect.controller = this;
this.focusRect.lineStyle(1, _local5);
this.focusRect.moveTo(x, y);
this.focusRect.lineTo(x + w, y);
this.focusRect.lineTo(x + w, y + h);
this.focusRect.lineTo(x, y + h);
this.focusRect.lineTo(x, y);
this.focusRect.lineStyle(1, _local4);
this.focusRect.moveTo(x + 1, y + 1);
this.focusRect.lineTo((x + w) - 1, y + 1);
this.focusRect.lineTo((x + w) - 1, (y + h) - 1);
this.focusRect.lineTo(x + 1, (y + h) - 1);
this.focusRect.lineTo(x + 1, y + 1);
};
FUIComponentClass.prototype.pressFocus = function () {
this.tabFocused = false;
this.focusRect.removeMovieClip();
Selection.setFocus(this);
};
FUIComponentClass.prototype.drawFocusRect = function () {
this.drawRect(-2, -2, this.width + 4, this.height + 4);
};
FUIComponentClass.prototype.myOnSetFocus = function () {
this.focused = true;
Key.addListener(this.keyListener);
if (this.tabFocused) {
this.drawFocusRect();
}
};
FUIComponentClass.prototype.myOnKillFocus = function () {
this.tabFocused = true;
this.focused = false;
this.focusRect.removeMovieClip();
Key.removeListener(this.keyListener);
};
FUIComponentClass.prototype.executeCallBack = function () {
this.handlerObj[this.changeHandler](this);
};
FUIComponentClass.prototype.updateStyleProperty = function (styleFormat, propName) {
this.setStyleProperty(propName, styleFormat[propName], styleFormat.isGlobal);
};
FUIComponentClass.prototype.setStyleProperty = function (propName, value, isGlobal) {
if (value == "") {
return(undefined);
}
var _local17 = parseInt(value);
if (!isNaN(_local17)) {
value = _local17;
}
var _local16 = ((arguments.length > 2) ? (isGlobal) : false);
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].useGlobal || (!_local16)) {
this.styleTable[propName].value = value;
if (this.setCustomStyleProperty(propName, value)) {
} else if (propName == "embedFonts") {
this.invalidate("setSize");
} else if (propName.subString(0, 4) == "text") {
if (this.textStyle == undefined) {
this.textStyle = new TextFormat();
}
var _local18 = propName.subString(4, propName.length);
this.textStyle[_local18] = value;
this.invalidate("setSize");
} else {
for (var _local15 in this.styleTable[propName].coloredMCs) {
var _local4 = new Color(this.styleTable[propName].coloredMCs[_local15]);
if (this.styleTable[propName].value == undefined) {
var _local5 = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
_local4.setTransform(_local5);
continue;
}
_local4.setRGB(value);
}
}
this.styleTable[propName].useGlobal = _local16;
}
};
FUIComponentClass.prototype.registerSkinElement = function (skinMCRef, propName) {
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].coloredMCs == undefined) {
this.styleTable[propName].coloredMCs = new Object();
}
this.styleTable[propName].coloredMCs[skinMCRef] = skinMCRef;
if (this.styleTable[propName].value != undefined) {
var _local4 = new Color(skinMCRef);
_local4.setRGB(this.styleTable[propName].value);
}
};
_global.FStyleFormat = function () {
this.nonStyles = {listeners:true, isGlobal:true, isAStyle:true, addListener:true, removeListener:true, nonStyles:true, applyChanges:true};
this.listeners = new Object();
this.isGlobal = false;
if (arguments.length > 0) {
for (var _local3 in arguments[0]) {
this[_local3] = arguments[0][_local3];
}
}
};
_global.FStyleFormat.prototype = new Object();
FStyleFormat.prototype.addListener = function () {
var _local3 = 0;
while (_local3 < arguments.length) {
var _local4 = arguments[_local3];
this.listeners[arguments[_local3]] = _local4;
for (var _local5 in this) {
if (this.isAStyle(_local5)) {
_local4.updateStyleProperty(this, _local5.toString());
}
}
_local3++;
}
};
FStyleFormat.prototype.removeListener = function (component) {
this.listeners[component] = undefined;
for (var _local4 in this) {
if (this.isAStyle(_local4)) {
if (component.styleTable[_local4].useGlobal == this.isGlobal) {
component.styleTable[_local4].useGlobal = true;
var _local3 = (this.isGlobal ? undefined : (globalStyleFormat[_local4]));
component.setStyleProperty(_local4, _local3, true);
}
}
}
};
FStyleFormat.prototype.applyChanges = function () {
var _local6 = 0;
for (var _local5 in this.listeners) {
var _local3 = this.listeners[_local5];
if (arguments.length > 0) {
var _local4 = 0;
while (_local4 < arguments.length) {
if (this.isAStyle(arguments[_local4])) {
_local3.updateStyleProperty(this, arguments[_local4]);
}
_local4++;
}
continue;
}
for (var _local4 in this) {
if (this.isAStyle(_local4)) {
_local3.updateStyleProperty(this, _local4.toString());
}
}
}
};
FStyleFormat.prototype.isAStyle = function (name) {
return((this.nonStyles[name] ? false : true));
};
#endinitclip
Symbol 19 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 28 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 37 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 38 MovieClip [UpArrow] Frame 1
stop();
Symbol 38 MovieClip [UpArrow] Frame 2
stop();
Symbol 38 MovieClip [UpArrow] Frame 3
stop();
Symbol 44 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 53 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 58 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(highlight3D_mc, "highlight3D");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
Symbol 59 MovieClip [ScrollThumb] Frame 1
stop();
Symbol 67 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 75 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 83 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 84 MovieClip [DownArrow] Frame 1
stop();
Symbol 84 MovieClip [DownArrow] Frame 2
stop();
Symbol 84 MovieClip [DownArrow] Frame 3
stop();
Symbol 87 MovieClip [umbra] Frame 1
#initclip 19
Object.registerClass("umbra", Pirrest.BigFoot.JeepBody);
#endinitclip
Symbol 136 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 137 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(1);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 137 MovieClip Frame 35
stop();
Symbol 138 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 138 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(2);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 138 MovieClip Frame 35
stop();
Symbol 139 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 139 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(3);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 139 MovieClip Frame 35
stop();
Symbol 140 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 140 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(4);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 140 MovieClip Frame 35
stop();
Symbol 141 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(5);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 141 MovieClip Frame 35
stop();
Symbol 142 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 142 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(6);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 142 MovieClip Frame 35
stop();
Symbol 143 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 143 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(7);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 143 MovieClip Frame 35
stop();
Symbol 144 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 144 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(8);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 144 MovieClip Frame 35
stop();
Symbol 152 MovieClip Frame 1
stop();
Symbol 152 MovieClip Frame 20
stop();
Instance of Symbol 137 MovieClip in Symbol 161 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 137 MovieClip in Symbol 161 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 152 MovieClip in Symbol 161 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.jeep_cont_mc.hitTest(this)) {
gotoAndPlay (2);
}
}
Symbol 166 MovieClip [lib_point] Frame 1
#initclip 20
Object.registerClass("lib_point", Pirrest.PhisicsEngine.Point);
#endinitclip
Symbol 167 MovieClip [lib_surface] Frame 1
#initclip 21
Object.registerClass("lib_surface", Pirrest.PhisicsEngine.Surface);
#endinitclip
Symbol 169 MovieClip [lib_circle] Frame 1
#initclip 22
Object.registerClass("lib_circle", Pirrest.PhisicsEngine.CircleSurface);
#endinitclip
Symbol 178 MovieClip Frame 1
stop();
Instance of Symbol 177 MovieClip "wheel_2_dummy_mc" in Symbol 178 MovieClip Frame 1
onClipEvent (enterFrame) {
switch (_root.texsi) {
case 1 :
_x = 53.2;
break;
case 2 :
_x = 400;
}
}
Instance of Symbol 177 MovieClip "wheel_2_dummy_mc" in Symbol 178 MovieClip Frame 4
onClipEvent (enterFrame) {
switch (_root.texsi) {
case 1 :
_x = 53.2;
break;
case 2 :
_x = 400;
}
}
Symbol 179 MovieClip Frame 1
stop();
Instance of Symbol 178 MovieClip "jeep_dummy_mc" in Symbol 179 MovieClip Frame 1
/* no clip actions */
Symbol 181 MovieClip [lib_level_1] Frame 1
#initclip 23
Object.registerClass("lib_level_1", Pirrest.BigFoot.Level);
#endinitclip
Symbol 184 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 184 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(9);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 184 MovieClip Frame 35
stop();
Symbol 185 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 185 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(10);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 185 MovieClip Frame 35
stop();
Instance of Symbol 137 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 137 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 152 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.jeep_cont_mc.hitTest(this)) {
gotoAndPlay (2);
}
}
Symbol 191 MovieClip Frame 1
stop();
Instance of Symbol 178 MovieClip "jeep_dummy_mc" in Symbol 191 MovieClip Frame 1
/* no clip actions */
Symbol 192 MovieClip [lib_level_2] Frame 1
#initclip 24
Object.registerClass("lib_level_2", Pirrest.BigFoot.Level);
#endinitclip
Symbol 195 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 195 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(9);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 195 MovieClip Frame 35
stop();
Symbol 196 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 196 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(10);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 196 MovieClip Frame 35
stop();
Symbol 197 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 197 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(11);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 197 MovieClip Frame 35
stop();
Symbol 198 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 198 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(12);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 198 MovieClip Frame 35
stop();
Symbol 211 MovieClip Frame 31
stop();
Instance of Symbol 206 MovieClip "rspate" in Symbol 211 MovieClip Frame 31
onClipEvent (load) {
var i = 0;
}
onClipEvent (enterFrame) {
i = i + 5;
_parent.rspate._rotation = _parent.rspate._rotation + i;
_parent.rfatza._rotation = _parent.rfatza._rotation + i;
}
Symbol 214 MovieClip Frame 70
stop();
Symbol 215 MovieClip Frame 150
gotoAndPlay (80);
Symbol 216 MovieClip Frame 281
stop();
_global.gl_game_info.is_game_over = true;
_root.main_mc.messages_mc.gotoAndStop("game_over");
Instance of Symbol 137 MovieClip in Symbol 217 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 137 MovieClip in Symbol 217 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 152 MovieClip in Symbol 217 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.jeep_cont_mc.hitTest(this)) {
gotoAndPlay (2);
}
}
Symbol 220 MovieClip Frame 1
stop();
Instance of Symbol 178 MovieClip "jeep_dummy_mc" in Symbol 220 MovieClip Frame 1
/* no clip actions */
Symbol 221 MovieClip [lib_level_3] Frame 1
#initclip 25
Object.registerClass("lib_level_3", Pirrest.BigFoot.Level);
#endinitclip
Symbol 224 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 224 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(13);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 224 MovieClip Frame 35
stop();
Symbol 225 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 225 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(14);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 225 MovieClip Frame 35
stop();
Symbol 230 MovieClip Frame 1
Instance of Symbol 137 MovieClip in Symbol 230 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 137 MovieClip in Symbol 230 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 152 MovieClip in Symbol 230 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.jeep_cont_mc.hitTest(this)) {
gotoAndPlay (2);
}
}
Symbol 231 MovieClip Frame 1
stop();
Instance of Symbol 178 MovieClip "jeep_dummy_mc" in Symbol 231 MovieClip Frame 1
/* no clip actions */
Symbol 232 MovieClip [lib_level_4] Frame 1
#initclip 26
Object.registerClass("lib_level_4", Pirrest.BigFoot.Level);
#endinitclip
Symbol 234 MovieClip Frame 1
Instance of Symbol 137 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 137 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 152 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.jeep_cont_mc.hitTest(this)) {
gotoAndPlay (2);
}
}
Symbol 237 MovieClip Frame 1
stop();
Instance of Symbol 178 MovieClip "jeep_dummy_mc" in Symbol 237 MovieClip Frame 1
/* no clip actions */
Symbol 238 MovieClip [lib_level_5] Frame 1
#initclip 27
Object.registerClass("lib_level_5", Pirrest.BigFoot.Level);
#endinitclip
Symbol 243 MovieClip Frame 1
Instance of Symbol 137 MovieClip in Symbol 243 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 137 MovieClip in Symbol 243 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 152 MovieClip in Symbol 243 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.jeep_cont_mc.hitTest(this)) {
gotoAndPlay (2);
}
}
Symbol 246 MovieClip Frame 1
stop();
Instance of Symbol 178 MovieClip "jeep_dummy_mc" in Symbol 246 MovieClip Frame 1
/* no clip actions */
Symbol 247 MovieClip [lib_level_6] Frame 1
#initclip 28
Object.registerClass("lib_level_6", Pirrest.BigFoot.Level);
#endinitclip
Symbol 249 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 249 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(15);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 249 MovieClip Frame 35
stop();
Symbol 250 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(16);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 250 MovieClip Frame 35
stop();
Symbol 251 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 251 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(18);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 251 MovieClip Frame 35
stop();
Symbol 252 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 252 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(19);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 252 MovieClip Frame 35
stop();
Symbol 253 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 253 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(20);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 253 MovieClip Frame 35
stop();
Symbol 254 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(17);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 254 MovieClip Frame 35
stop();
Symbol 263 MovieClip Frame 1
Instance of Symbol 137 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 137 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 152 MovieClip in Symbol 263 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.jeep_cont_mc.hitTest(this)) {
gotoAndPlay (2);
}
}
Symbol 266 MovieClip Frame 1
stop();
Instance of Symbol 178 MovieClip "jeep_dummy_mc" in Symbol 266 MovieClip Frame 1
/* no clip actions */
Symbol 267 MovieClip [lib_level_7] Frame 1
#initclip 29
Object.registerClass("lib_level_7", Pirrest.BigFoot.Level);
#endinitclip
Instance of Symbol 279 MovieClip "rspate" in Symbol 286 MovieClip Frame 10
onClipEvent (load) {
i = 0;
}
onClipEvent (enterFrame) {
i = i + 2;
_parent.rspate._rotation = _parent.rspate._rotation + i;
}
Symbol 286 MovieClip Frame 35
stop();
Instance of Symbol 279 MovieClip "rspate" in Symbol 286 MovieClip Frame 35
onClipEvent (load) {
i = 0;
}
onClipEvent (enterFrame) {
i = i + 2;
_parent.rspate._rotation = _parent.rspate._rotation + i;
_parent.rfatza._rotation = _parent.rfatza._rotation + i;
}
Symbol 287 MovieClip Frame 143
gotoAndPlay (90);
Symbol 288 MovieClip Frame 70
stop();
Symbol 289 MovieClip Frame 425
stop();
_global.gl_game_info.is_game_over = true;
_root.main_mc.messages_mc.gotoAndStop("game_over");
Symbol 290 MovieClip Frame 1
Instance of Symbol 137 MovieClip in Symbol 290 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 137 MovieClip in Symbol 290 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 152 MovieClip in Symbol 290 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.jeep_cont_mc.hitTest(this)) {
gotoAndPlay (2);
}
}
Symbol 293 MovieClip Frame 1
stop();
Instance of Symbol 178 MovieClip "jeep_dummy_mc" in Symbol 293 MovieClip Frame 1
/* no clip actions */
Symbol 294 MovieClip [lib_level_8] Frame 1
#initclip 30
Object.registerClass("lib_level_8", Pirrest.BigFoot.Level);
#endinitclip
Symbol 299 MovieClip Frame 1
Instance of Symbol 137 MovieClip in Symbol 299 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 137 MovieClip in Symbol 299 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 152 MovieClip in Symbol 299 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.jeep_cont_mc.hitTest(this)) {
gotoAndPlay (2);
}
}
Symbol 302 MovieClip Frame 1
stop();
Instance of Symbol 178 MovieClip "jeep_dummy_mc" in Symbol 302 MovieClip Frame 1
/* no clip actions */
Symbol 303 MovieClip [lib_level_9] Frame 1
#initclip 31
Object.registerClass("lib_level_9", Pirrest.BigFoot.Level);
#endinitclip
Symbol 305 MovieClip Frame 1
Instance of Symbol 137 MovieClip in Symbol 305 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 137 MovieClip in Symbol 305 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 152 MovieClip in Symbol 305 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.jeep_cont_mc.hitTest(this)) {
gotoAndPlay (2);
}
}
Symbol 308 MovieClip Frame 1
stop();
Instance of Symbol 178 MovieClip "jeep_dummy_mc" in Symbol 308 MovieClip Frame 1
/* no clip actions */
Symbol 309 MovieClip [lib_level_10] Frame 1
#initclip 32
Object.registerClass("lib_level_10", Pirrest.BigFoot.Level);
#endinitclip
Symbol 313 MovieClip Frame 1
Instance of Symbol 137 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 137 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 152 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.jeep_cont_mc.hitTest(this)) {
gotoAndPlay (2);
}
}
Symbol 316 MovieClip Frame 1
stop();
Instance of Symbol 178 MovieClip "jeep_dummy_mc" in Symbol 316 MovieClip Frame 1
/* no clip actions */
Symbol 317 MovieClip [lib_level_11] Frame 1
#initclip 33
Object.registerClass("lib_level_11", Pirrest.BigFoot.Level);
#endinitclip
Symbol 320 MovieClip Frame 1
Instance of Symbol 137 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 137 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 152 MovieClip in Symbol 320 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.jeep_cont_mc.hitTest(this)) {
gotoAndPlay (2);
}
}
Symbol 323 MovieClip Frame 1
stop();
Instance of Symbol 178 MovieClip "jeep_dummy_mc" in Symbol 323 MovieClip Frame 1
/* no clip actions */
Symbol 324 MovieClip [lib_level_12] Frame 1
#initclip 34
Object.registerClass("lib_level_12", Pirrest.BigFoot.Level);
#endinitclip
Symbol 327 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 327 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(21);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 327 MovieClip Frame 35
stop();
Symbol 328 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 328 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(22);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 328 MovieClip Frame 35
stop();
Symbol 329 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 329 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(23);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 329 MovieClip Frame 35
stop();
Symbol 330 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 330 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(24);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 330 MovieClip Frame 35
stop();
Symbol 331 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 331 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(25);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 331 MovieClip Frame 35
stop();
Symbol 332 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 332 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(26);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 332 MovieClip Frame 35
stop();
Symbol 333 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(27);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 333 MovieClip Frame 35
stop();
Symbol 334 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 334 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(28);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 334 MovieClip Frame 35
stop();
Symbol 335 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(29);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 335 MovieClip Frame 35
stop();
Symbol 336 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 336 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(30);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 336 MovieClip Frame 35
stop();
Symbol 352 MovieClip Frame 1
Instance of Symbol 137 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 137 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 152 MovieClip in Symbol 352 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.jeep_cont_mc.hitTest(this)) {
gotoAndPlay (2);
}
}
Symbol 355 MovieClip Frame 1
stop();
Instance of Symbol 178 MovieClip "jeep_dummy_mc" in Symbol 355 MovieClip Frame 1
/* no clip actions */
Symbol 356 MovieClip [lib_level_13] Frame 1
#initclip 35
Object.registerClass("lib_level_13", Pirrest.BigFoot.Level);
#endinitclip
Symbol 359 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 359 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(31);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 359 MovieClip Frame 35
stop();
Symbol 360 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(32);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 360 MovieClip Frame 35
stop();
Symbol 361 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 361 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(33);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 361 MovieClip Frame 35
stop();
Symbol 362 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 362 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(34);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 362 MovieClip Frame 35
stop();
Symbol 363 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 363 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(35);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 363 MovieClip Frame 35
stop();
Symbol 364 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 364 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(36);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 364 MovieClip Frame 35
stop();
Symbol 377 MovieClip Frame 1
stop();
Symbol 377 MovieClip Frame 4
gotoAndStop (1);
Symbol 378 MovieClip Frame 425
this.mashina1.gotoAndStop(this.mashina1.nextFrame());
Symbol 379 MovieClip Frame 1
Instance of Symbol 137 MovieClip in Symbol 379 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 137 MovieClip in Symbol 379 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 152 MovieClip in Symbol 379 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.jeep_cont_mc.hitTest(this)) {
gotoAndPlay (2);
}
}
Symbol 382 MovieClip Frame 1
stop();
Instance of Symbol 178 MovieClip "jeep_dummy_mc" in Symbol 382 MovieClip Frame 1
/* no clip actions */
Symbol 383 MovieClip [lib_level_14] Frame 1
#initclip 36
Object.registerClass("lib_level_14", Pirrest.BigFoot.Level);
#endinitclip
Symbol 385 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 385 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(37);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 385 MovieClip Frame 35
stop();
Symbol 386 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 386 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(38);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 386 MovieClip Frame 35
stop();
Symbol 387 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 387 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(39);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 387 MovieClip Frame 35
stop();
Symbol 388 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 388 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.jeep_cont_mc.hitTest(this)) {
_parent.scrie.gotoAndStop(40);
_root.puncte = _root.puncte + 5;
_parent.gotoAndPlay(2);
}
}
Symbol 388 MovieClip Frame 35
stop();
Instance of Symbol 400 MovieClip "rspate" in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
i = 0;
}
onClipEvent (enterFrame) {
i = i + 2;
_parent.rspate._rotation = _parent.rspate._rotation + i;
_parent.rfatza._rotation = _parent.rfatza._rotation + i;
}
Symbol 406 MovieClip Frame 105
gotoAndPlay (55);
Symbol 407 MovieClip Frame 671
stop();
_global.gl_game_info.is_game_over = true;
_root.main_mc.messages_mc.gotoAndStop("game_over");
Symbol 408 MovieClip Frame 1
Instance of Symbol 137 MovieClip in Symbol 408 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 137 MovieClip in Symbol 408 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.jeep_cont_mc.hitTest(this)) {
if (_alpha == 100) {
_root.puncte = _root.puncte + 10;
}
_alpha = 0;
}
}
Instance of Symbol 152 MovieClip in Symbol 408 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.jeep_cont_mc.hitTest(this)) {
gotoAndPlay (2);
}
}
Symbol 409 MovieClip Frame 1
stop();
Instance of Symbol 178 MovieClip "jeep_dummy_mc" in Symbol 409 MovieClip Frame 1
/* no clip actions */
Symbol 410 MovieClip [lib_level_15] Frame 1
#initclip 37
Object.registerClass("lib_level_15", Pirrest.BigFoot.Level);
#endinitclip
Symbol 432 MovieClip [lib_jeep_wheel1] Frame 1
#initclip 38
Object.registerClass("lib_jeep_wheel1", Pirrest.PhisicsEngine.Wheel);
#endinitclip
this.onEnterFrame = function () {
switch (_root.texsi) {
case 1 :
gotoAndStop (1);
break;
case 2 :
gotoAndStop (2);
break;
case 3 :
gotoAndStop (3);
break;
case 4 :
gotoAndStop (4);
break;
case 5 :
gotoAndStop (5);
break;
case 6 :
gotoAndStop (6);
break;
case 7 :
gotoAndStop (7);
break;
case 8 :
gotoAndStop (8);
}
};
stop();
Symbol 432 MovieClip [lib_jeep_wheel1] Frame 2
stop();
Symbol 432 MovieClip [lib_jeep_wheel1] Frame 3
stop();
Symbol 451 MovieClip [lib_jeep_wheel2] Frame 1
#initclip 39
Object.registerClass("lib_jeep_wheel2", Pirrest.PhisicsEngine.Wheel);
#endinitclip
this.onEnterFrame = function () {
switch (_root.texsi) {
case 1 :
gotoAndStop (1);
break;
case 2 :
gotoAndStop (2);
break;
case 3 :
gotoAndStop (3);
break;
case 4 :
gotoAndStop (4);
break;
case 5 :
gotoAndStop (5);
break;
case 6 :
gotoAndStop (6);
break;
case 7 :
gotoAndStop (7);
break;
case 8 :
gotoAndStop (8);
}
};
stop();
Symbol 451 MovieClip [lib_jeep_wheel2] Frame 2
stop();
Symbol 469 MovieClip Frame 1
this.onEnterFrame = function () {
switch (_root.texsi) {
case 1 :
gotoAndStop (1);
break;
case 2 :
gotoAndStop (2);
break;
case 3 :
gotoAndStop (3);
break;
case 4 :
gotoAndStop (4);
break;
case 5 :
gotoAndStop (5);
break;
case 6 :
gotoAndStop (6);
break;
case 7 :
gotoAndStop (7);
break;
case 8 :
gotoAndStop (8);
}
};
stop();
Symbol 469 MovieClip Frame 2
stop();
Symbol 469 MovieClip Frame 3
stop();
Symbol 469 MovieClip Frame 4
stop();
Symbol 470 MovieClip [kknegru] Frame 1
#initclip 40
Object.registerClass("kknegru", Pirrest.BigFoot.JeepBody);
#endinitclip
Symbol 479 MovieClip Frame 1
function move(to) {
if (position == to) {
return(undefined);
}
if (!is_moving) {
movement = to;
if (position == "normal") {
gotoAndPlay("move_" + to);
} else {
gotoAndPlay(position + "_to_normal");
}
} else {
movement = to;
}
}
position = "normal";
is_moving = false;
stop();
Symbol 479 MovieClip Frame 2
is_moving = true;
Symbol 479 MovieClip Frame 10
position = "front";
if (movement == "front") {
movement = "";
is_moving = false;
stop();
}
Symbol 479 MovieClip Frame 11
is_moving = true;
Symbol 479 MovieClip Frame 21
position = "normal";
if (movement == "normal") {
is_moving = false;
stop();
} else {
gotoAndPlay("move_" + movement);
}
Symbol 479 MovieClip Frame 22
is_moving = true;
Symbol 479 MovieClip Frame 31
if (_root.sunet == true) {
_root.demaraj.start(0, 1);
}
position = "back";
if (movement == "back") {
movement = "";
is_moving = false;
stop();
}
Symbol 479 MovieClip Frame 32
is_moving = true;
Symbol 479 MovieClip Frame 42
position = "normal";
if (movement == "normal") {
is_moving = false;
stop();
} else {
gotoAndPlay("move_" + movement);
}
Symbol 480 MovieClip [lib_jeep_body] Frame 1
#initclip 41
Object.registerClass("lib_jeep_body", Pirrest.BigFoot.JeepBody);
#endinitclip
Symbol 534 MovieClip Frame 1
bull.onRelease = function () {
getURL ("http://sillybull.com");
};
Symbol 542 MovieClip Frame 141
var horn_sound = new Sound();
horn_sound.attachSound("musica");
horn_sound.start();
horn_sound.setVolume(50);
horn_sound.onSoundComplete = function () {
horn_sound.start();
};
stop();
Symbol 542 MovieClip Frame 142
stopAllSounds();
Symbol 542 MovieClip Frame 143
gotoAndPlay (139);
Symbol 765 MovieClip [__Packages.Pirrest.BigFoot.JeepBody] Frame 0
class Pirrest.BigFoot.JeepBody extends MovieClip
{
var damage, max_damage, createEmptyMovieClip, onEnterFrame, active, level, _parent, driver_mc, swapped, globalToLocal, stick_back_mc, stick_front_mc, stick_back_point_mc, stick_front_point_mc, _rotation, _y, _x, caros;
function JeepBody () {
super();
damage = 0;
max_damage = 20000;
init();
}
function init() {
createEmptyMovieClip("sync_mc", 5);
onEnterFrame = syncOnEnterFrame;
active = false;
level = _parent._parent;
}
function linstenKeys() {
var _local4 = 6.5;
var _local3 = 2.4;
if (Key.isDown(37)) {
driver_mc.move("back");
level.jeep_wheel_1_mc.wp.mass = _local3 / 2.5;
level.jeep_wheel_2_mc.wp.mass = (-_local3) / 2.5;
} else if (Key.isDown(39)) {
driver_mc.move("front");
level.jeep_wheel_1_mc.wp.mass = (-_local3) / 2.5;
level.jeep_wheel_2_mc.wp.mass = _local3 / 2.5;
} else {
driver_mc.move("normal");
level.jeep_wheel_1_mc.wp.mass = 0;
level.jeep_wheel_2_mc.wp.mass = 0;
}
if (Key.isDown(38)) {
if (_root.sunet == true) {
if (_root.odata == true) {
}
}
_root.odata = false;
level.jeep_wheel_1_mc.rp.vs = _local4 / 4;
level.jeep_wheel_2_mc.rp.vs = _local4 / 3;
} else if (Key.isDown(40)) {
level.jeep_wheel_1_mc.rp.vs = (-_local4) / 2;
level.jeep_wheel_2_mc.rp.vs = 0;
} else {
_root.odata = true;
level.jeep_wheel_1_mc.rp.vs = 0;
level.jeep_wheel_2_mc.rp.vs = 0;
}
}
function syncOnEnterFrame() {
if (_global.gl_game_info.is_game_over || (_global.gl_game_info.is_pause)) {
return(undefined);
}
var _local4 = (swapped ? ({x:level.jeep_wheel_2_mc._x, y:level.jeep_wheel_2_mc._y}) : ({x:level.jeep_wheel_1_mc._x, y:level.jeep_wheel_1_mc._y}));
var _local5 = (swapped ? ({x:level.jeep_wheel_1_mc._x, y:level.jeep_wheel_1_mc._y}) : ({x:level.jeep_wheel_2_mc._x, y:level.jeep_wheel_2_mc._y}));
level.jeep_cont_mc.localToGlobal(_local4);
globalToLocal(_local4);
level.jeep_cont_mc.localToGlobal(_local5);
globalToLocal(_local5);
stick_back_mc._x = _local4.x;
stick_back_mc._y = _local4.y;
stick_front_mc._x = _local5.x;
stick_front_mc._y = _local5.y;
var _local10 = -Pirrest.Common.PiGeo.angle(_local4.x, _local4.y, stick_back_point_mc._x, stick_back_point_mc._y);
stick_back_mc._rotation = 0;
var _local11 = -Pirrest.Common.PiGeo.angle(_local5.x, _local5.y, stick_front_point_mc._x, stick_front_point_mc._y);
stick_front_mc._rotation = 0;
level.moveCamera();
linstenKeys();
level.p_system.timeStep();
level.p_system.paintWheels();
var _local9 = (-Pirrest.Common.PiGeo.angle(level.jeep_wheel_1_mc._x, level.jeep_wheel_1_mc._y, level.jeep_wheel_2_mc._x, level.jeep_wheel_2_mc._y)) + 90;
_rotation = _local9;
_y = level.part.curr.y;
_x = level.part.curr.x;
var _local7 = {x:caros.tes._x, y:caros.tes._y};
caros.localToGlobal(_local7);
if (level.under_mc.ground_mc.hitTest(_local7.x, _local7.y, true)) {
_global.gl_game_info.is_game_over = true;
_root.main_mc.messages_mc.gotoAndStop("game_over");
}
var _local6 = {x:caros.tesa._x, y:caros.tesa._y};
caros.localToGlobal(_local6);
if (level.under_mc.ground_mc.hitTest(_local6.x, _local6.y, true)) {
_global.gl_game_info.is_game_over = true;
_root.main_mc.messages_mc.gotoAndStop("game_over");
}
var _local8 = {x:level.under_mc.star_mc._x, y:level.under_mc.star_mc._y};
level.under_mc.localToGlobal(_local8);
if (level.jeep_cont_mc.hitTest(_local8.x, _local8.y, true)) {
_global.gl_game_info.is_game_over = true;
_global.gl_user_info.curr_level++;
_global.gl_level = _global.gl_user_info.levels["level_" + _global.gl_user_info.curr_level];
if (Pirrest.Common.PiVal.isEmpty(_global.gl_level)) {
level.back1.porshe.gotoAndStop(10);
_root.main_mc.messages_mc.gotoAndStop("game_completed");
_global.gl_user_info.curr_level = 1;
} else {
level.back1.porshe.gotoAndStop(10);
_root.main_mc.messages_mc.gotoAndStop("level_completed");
}
}
}
}
Symbol 766 MovieClip [__Packages.Pirrest.Common.PiGeo] Frame 0
class Pirrest.Common.PiGeo
{
function PiGeo () {
}
static function distance($x1, $y1, $x2, $y2) {
var _local2 = $x1 - $x2;
var _local1 = $y1 - $y2;
return(Math.sqrt((_local2 * _local2) + (_local1 * _local1)));
}
static function angle($x1, $y1, $x2, $y2) {
return(Math.atan2($x2 - $x1, $y2 - $y1) * RADIAN);
}
static var RADIAN = 57.29578;
static var DEGREE = 0.01745329;
}
Symbol 767 MovieClip [__Packages.Pirrest.Common.PiVal] Frame 0
class Pirrest.Common.PiVal
{
function PiVal () {
}
static function isEmpty($obj) {
if (($obj == "") || ($obj == undefined)) {
return(true);
}
return(false);
}
}
Symbol 768 MovieClip [__Packages.Pirrest.PhisicsEngine.Point] Frame 0
class Pirrest.PhisicsEngine.Point extends MovieClip
{
var _y, _x, _parent, x, y, pn;
function Point () {
super();
}
function init($coord_space) {
var _local2 = {x:_x, y:_y};
if (!Pirrest.Common.PiVal.isEmpty($coord_space)) {
_parent.localToGlobal(_local2);
$coord_space.globalToLocal(_local2);
}
x = _local2.x;
y = _local2.y;
pn = new Pirrest.PhisicsEngine.Vector(0, 0);
}
function distance(that) {
return(Pirrest.Common.PiGeo.distance(x, y, that.x, that.y));
}
}
Symbol 769 MovieClip [__Packages.Pirrest.PhisicsEngine.Vector] Frame 0
class Pirrest.PhisicsEngine.Vector
{
var x, y;
function Vector ($x, $y) {
init($x, $y);
}
function init($x, $y) {
x = $x;
y = $y;
}
function dot($v) {
return((x * $v.x) + (y * $v.y));
}
function cross($v) {
return((x * $v.y) - (y * $v.x));
}
function plus($v) {
x = x + $v.x;
y = y + $v.y;
return(this);
}
function plusNew($v) {
return(new Pirrest.PhisicsEngine.Vector(x + $v.x, y + $v.y));
}
function minus($v) {
x = x - $v.x;
y = y - $v.y;
return(this);
}
function minusNew($v) {
return(new Pirrest.PhisicsEngine.Vector(x - $v.x, y - $v.y));
}
function mult($s) {
x = x * $s;
y = y * $s;
return(this);
}
function multNew($s) {
return(new Pirrest.PhisicsEngine.Vector(x * $s, y * $s));
}
function distance($p) {
var _local3 = x - $p.x;
var _local2 = y - $p.y;
return(Math.sqrt((_local3 * _local3) + (_local2 * _local2)));
}
function normalize() {
var _local2 = Math.sqrt((x * x) + (y * y));
x = x / _local2;
y = y / _local2;
return(this);
}
}
Symbol 770 MovieClip [__Packages.Pirrest.PhisicsEngine.Surface] Frame 0
class Pirrest.PhisicsEngine.Surface extends MovieClip
{
var coord_space, p1, p2, isOrientH, normal, rise, run, invRun, slope, invB;
function Surface () {
super();
}
function init($coord_space) {
coord_space = $coord_space;
p1.init($coord_space);
p2.init($coord_space);
isOrientH = true;
normal = new Pirrest.PhisicsEngine.Vector(0, 0);
calcNormal();
rise = p2.y - p1.y;
run = p2.x - p1.x;
invRun = 1 / run;
slope = rise / run;
invB = 1 / ((run * run) + (rise * rise));
coord_space.lineStyle(10, 2237064, 100);
}
function setIsOrientH($isOrientH) {
isOrientH = $isOrientH;
}
function calcNormal() {
var _local4 = p2.x - p1.x;
var _local3 = p2.y - p1.y;
normal.x = _local3;
normal.y = -_local4;
var _local2 = Math.sqrt((normal.x * normal.x) + (normal.y * normal.y));
normal.x = normal.x / _local2;
normal.y = normal.y / _local2;
}
function paint() {
Pirrest.PhisicsEngine.Graphics.prototype.paintLine(coord_space, p1.x, p1.y, p2.x, p2.y);
}
function resolveWheelCollision($w) {
if (bounds($w.wp.curr, $w.contactRadius)) {
getClosestPoint($w.wp.curr, $w.closestPoint);
var _local3 = $w.closestPoint.minusNew($w.wp.curr);
_local3.normalize();
if (inequality($w.wp.curr)) {
var _local5 = Math.abs(_local3.x);
_local3.x = ((normal.x < 0) ? (_local5) : (-_local5));
_local3.y = Math.abs(_local3.y);
}
var _local4 = $w.wp.curr.plusNew(_local3.mult($w.wr));
if (segmentInequality(_local4)) {
var _local7 = _local4.x - $w.closestPoint.x;
var _local6 = _local4.y - $w.closestPoint.y;
$w.wp.curr.x = $w.wp.curr.x - _local7;
$w.wp.curr.y = $w.wp.curr.y - _local6;
$w.resolve(normal);
}
}
}
function resolveParticleCollision($p, $sysObj) {
if (boundedSegmentInequality($p.curr)) {
var _local4 = $p.curr.minusNew($p.prev);
var _local3 = normal.dot(_local4);
if (_local3 < 0) {
var _local10 = _local4.minusNew(normal.multNew(_local3));
var _local5 = _local10.multNew($sysObj.coeffFric);
var _local7 = normal.multNew(_local3 * $sysObj.coeffRest);
var _local8 = _local7.plusNew(_local5);
var _local9 = _local4.minusNew(_local8);
var _local6 = normal.dot($p.curr.minusNew(p1)) * $sysObj.coeffRest;
$p.curr.minus(normal.multNew(_local6));
$p.prev = $p.curr.minusNew(_local9);
}
}
}
function segmentInequality($toPoint) {
var _local2 = findU($toPoint);
var _local3 = inequality($toPoint);
return(((_local2 >= 0) && (_local2 <= 1)) && (_local3));
}
function boundedSegmentInequality($toPoint) {
var _local3;
if (isOrientH) {
_local3 = ($toPoint.x >= p1.x) && ($toPoint.x <= p2.x);
} else if (p1.y < p2.y) {
_local3 = ($toPoint.y >= p1.y) && ($toPoint.y <= p2.y);
} else {
_local3 = ($toPoint.y <= p1.y) && ($toPoint.y >= p2.y);
}
if (_local3) {
return(inequality($toPoint));
}
return(false);
}
function inequality($toPoint) {
var _local2 = (slope * ($toPoint.x - p1.x)) + (p1.y - $toPoint.y);
return(_local2 <= 0);
}
function bounds($toPoint, $r) {
return(($toPoint.x >= (p1.x - $r)) && ($toPoint.x <= (p2.x + $r)));
}
function getClosestPoint($toPoint, $returnVect) {
var _local2 = findU($toPoint);
if (_local2 <= 0) {
return(p1);
}
if (_local2 >= 1) {
return(p2);
}
var _local4 = p1.x + (_local2 * (p2.x - p1.x));
var _local3 = p1.y + (_local2 * (p2.y - p1.y));
$returnVect.x = _local4;
$returnVect.y = _local3;
}
function findU($p) {
var _local2 = (($p.x - p1.x) * run) + (($p.y - p1.y) * rise);
return(_local2 * invB);
}
}
Symbol 771 MovieClip [__Packages.Pirrest.PhisicsEngine.Graphics] Frame 0
class Pirrest.PhisicsEngine.Graphics
{
function Graphics () {
}
function paintLine($target_mc, $x0, $y0, $x1, $y1) {
$target_mc.moveTo($x0, $y0);
$target_mc.lineTo($x1, $y1);
}
function paintCircle($target_mc, $x, $y, $r) {
var _local4 = 0.4142136 * $r;
var _local5 = 0.7071068 * $r;
$target_mc.moveTo($x + $r, $y);
$target_mc.curveTo($r + $x, _local4 + $y, _local5 + $x, _local5 + $y);
$target_mc.curveTo(_local4 + $x, $r + $y, $x, $r + $y);
$target_mc.curveTo((-_local4) + $x, $r + $y, (-_local5) + $x, _local5 + $y);
$target_mc.curveTo((-$r) + $x, _local4 + $y, (-$r) + $x, $y);
$target_mc.curveTo((-$r) + $x, (-_local4) + $y, (-_local5) + $x, (-_local5) + $y);
$target_mc.curveTo((-_local4) + $x, (-$r) + $y, $x, (-$r) + $y);
$target_mc.curveTo(_local4 + $x, (-$r) + $y, _local5 + $x, (-_local5) + $y);
$target_mc.curveTo($r + $x, (-_local4) + $y, $r + $x, $y);
}
}
Symbol 772 MovieClip [__Packages.Pirrest.PhisicsEngine.CircleSurface] Frame 0
class Pirrest.PhisicsEngine.CircleSurface extends MovieClip
{
var _y, _x, _parent, cx, cy, r, _width, lineStyle;
function CircleSurface () {
super();
}
function init($coord_space) {
var _local2 = {x:_x, y:_y};
if (!Pirrest.Common.PiVal.isEmpty($coord_space)) {
_parent.localToGlobal(_local2);
$coord_space.globalToLocal(_local2);
}
cx = _local2.x;
cy = _local2.y;
r = _width / 2;
lineStyle(0, 2237064, 100);
}
function paint() {
Pirrest.PhisicsEngine.Graphics.prototype.paintCircle(this, cx, cy, r);
}
function resolveWheelCollision($w) {
var _local4 = cx - $w.wp.curr.x;
var _local2 = cy - $w.wp.curr.y;
var _local5 = Math.sqrt((_local4 * _local4) + (_local2 * _local2));
var _local6 = ($w.wr + r) - _local5;
if (_local6 > 0) {
_local4 = _local4 / _local5;
_local2 = _local2 / _local5;
$w.wp.curr.x = $w.wp.curr.x - (_local4 * _local6);
$w.wp.curr.y = $w.wp.curr.y - (_local2 * _local6);
var _local7 = new Pirrest.PhisicsEngine.Vector(-_local4, -_local2);
$w.resolve(_local7);
}
}
function resolveParticleCollision($p) {
var _local2 = new Pirrest.PhisicsEngine.Vector(cx, cy);
var _local5 = _local2.distance($p.curr);
if (_local5 <= r) {
var _local4 = $p.curr.minusNew(_local2).normalize();
var _local6 = _local2.plusNew(_local4.multNew(r));
$p.curr = _local6;
}
}
}
Symbol 773 MovieClip [__Packages.Pirrest.BigFoot.Level] Frame 0
class Pirrest.BigFoot.Level extends MovieClip
{
var p_system, under_mc, globalToLocal, jeep_body_mc, jeep_cont_mc, jeep_wheel_1_mc, jeep_wheel_2_mc, part, over_mc, _x, _y;
function Level () {
super();
}
function init() {
p_system = new Pirrest.PhisicsEngine.ParticleSystem();
p_system.setDamping(_global.gl_level.damping);
p_system.setGravity(_global.gl_level.gravity.x, _global.gl_level.gravity.y);
p_system.setKfr(_global.gl_level.kfr);
p_system.setFriction(_global.gl_level.friction);
var _local6;
for (_local6 in under_mc) {
var _local4 = under_mc[_local6];
_local4._visible = false;
if (_local4 instanceof Pirrest.PhisicsEngine.Surface) {
_local4.init(under_mc);
p_system.addSurface(_local4);
}
if (_local4 instanceof Pirrest.PhisicsEngine.CircleSurface) {
_local4.init(under_mc);
p_system.addCircleSurface(_local4);
}
}
under_mc.ground_mc._visible = false;
under_mc.star_mc._visible = true;
switch (_root.texsi) {
case 1 :
under_mc.jeep_dummy_mc.gotoAndStop(1);
break;
case 2 :
under_mc.jeep_dummy_mc.gotoAndStop(2);
break;
case 3 :
under_mc.jeep_dummy_mc.gotoAndStop(3);
break;
case 4 :
under_mc.jeep_dummy_mc.gotoAndStop(4);
break;
case 5 :
under_mc.jeep_dummy_mc.gotoAndStop(5);
break;
case 6 :
under_mc.jeep_dummy_mc.gotoAndStop(6);
break;
case 7 :
under_mc.jeep_dummy_mc.gotoAndStop(7);
break;
case 8 :
under_mc.jeep_dummy_mc.gotoAndStop(8);
}
var _local9 = under_mc.jeep_dummy_mc.wheel_1_dummy_mc;
var _local10 = under_mc.jeep_dummy_mc.wheel_2_dummy_mc;
var _local8 = {x:_local9._x, y:_local9._y};
var _local7 = {x:_local10._x, y:_local10._y};
under_mc.jeep_dummy_mc.localToGlobal(_local8);
under_mc.jeep_dummy_mc.localToGlobal(_local7);
globalToLocal(_local8);
globalToLocal(_local7);
jeep_body_mc = jeep_cont_mc.attachMovie("kknegru", "jeep_body_mc", jeep_cont_mc.getNextHighestDepth());
jeep_wheel_1_mc = jeep_cont_mc.attachMovie("lib_jeep_wheel1", "wheel_1_mc", jeep_cont_mc.getNextHighestDepth());
jeep_wheel_1_mc._x = _local8.x;
jeep_wheel_1_mc._y = _local8.y;
jeep_wheel_1_mc.init(jeep_cont_mc, 5);
p_system.addWheel(jeep_wheel_1_mc);
jeep_wheel_2_mc = jeep_cont_mc.attachMovie("lib_jeep_wheel2", "wheel_2_mc", jeep_cont_mc.getNextHighestDepth());
jeep_body_mc = jeep_cont_mc.attachMovie("lib_jeep_body", "jeep_body_mc", jeep_cont_mc.getNextHighestDepth());
jeep_wheel_2_mc._x = _local7.x;
jeep_wheel_2_mc._y = _local7.y;
jeep_wheel_2_mc.init(jeep_cont_mc, 0);
p_system.addWheel(jeep_wheel_2_mc);
var _local5 = {};
_local5.left = jeep_wheel_1_mc._x;
_local5.right = jeep_wheel_2_mc._x;
_local5.top = jeep_wheel_1_mc._y;
_local5.width = _local5.right - _local5.left;
_local5.mid = _local5.left + (_local5.width / 2);
part = p_system.addParticle(_local5.mid, _local5.top - 40);
p_system.addConstraint(jeep_wheel_1_mc.wp, part);
p_system.addConstraint(jeep_wheel_2_mc.wp, part);
p_system.addConstraint(jeep_wheel_2_mc.wp, jeep_wheel_1_mc.wp);
over_mc.onEnterFrame = function () {
this._x = this._parent.under_mc._x;
this._y = this._parent.under_mc._y;
};
jeep_cont_mc.onEnterFrame = function () {
this._x = this._parent.under_mc._x;
this._y = this._parent.under_mc._y;
};
}
function start() {
}
function moveCamera() {
var _local4;
var _local8 = 190 - jeep_body_mc._x;
var _local7 = 250 - jeep_body_mc._y;
var _local10 = _local8 - _x;
var _local6 = _local7 - _y;
var _local9 = Pirrest.Common.PiGeo.distance(_local8, _local7, _x, _y);
var _local5 = _local9 * 0.35;
if (_local5 > 50) {
_local5 = 50;
}
_local4 = _local5 / _local9;
_x = _x + (_local10 * _local4);
_y = _y + (_local6 * _local4);
_root.main_mc.umbres._y = _y + (_local6 * _local4);
_global.pBar.update(_x, under_mc.star_mc._x - under_mc.jeep_dummy_mc._x, under_mc.jeep_dummy_mc._x - (under_mc.jeep_dummy_mc._width / 2));
}
}
Symbol 774 MovieClip [__Packages.Pirrest.PhisicsEngine.ParticleSystem] Frame 0
class Pirrest.PhisicsEngine.ParticleSystem
{
var _particles_ar, _surfaces_ar, _constraints_ar, _wheels_ar, gravity, coeffRest, coeffFric, coeffDamp, _p_count, _w_count, _s_count, _c_count;
function ParticleSystem () {
init();
}
function init() {
_particles_ar = [];
_surfaces_ar = [];
_constraints_ar = [];
_wheels_ar = [];
gravity = new Pirrest.PhisicsEngine.Vector(0, 1);
coeffRest = 1.5;
coeffFric = 0.01;
coeffDamp = 0.99;
}
function addParticle($px, $py, $mass) {
var _local2 = new Pirrest.PhisicsEngine.Particle($px, $py, $mass);
_particles_ar.push(_local2);
_p_count = _particles_ar.length;
return(_local2);
}
function addWheel($wheel) {
_wheels_ar.push($wheel);
_w_count = _wheels_ar.length;
}
function addSurface($s) {
_surfaces_ar.push($s);
_s_count = _surfaces_ar.length;
}
function addCircleSurface($s) {
_surfaces_ar.push($s);
_s_count = _surfaces_ar.length;
}
function addConstraint($p1, $p2) {
var _local2 = new Pirrest.PhisicsEngine.Constraint($p1, $p2);
_constraints_ar.push(_local2);
_c_count = _constraints_ar.length;
return(_local2);
}
function addRectangle($center, $rWidth, $rHeight) {
return(new Pirrest.PhisicsEngine.Rectangle(this, $center, $rWidth, $rHeight));
}
function addAngularConstraint($p1, $p2, $p3) {
var _local2 = new Pirrest.PhisicsEngine.AngularConstraint($p1, $p2, $p3);
_constraints_ar.push(_local2);
_c_count = _constraints_ar.length;
return(_local2);
}
function setKfr($kfr) {
coeffRest = 1 + $kfr;
}
function setFriction($f) {
coeffFric = $f;
}
function setDamping($d) {
coeffDamp = $d;
}
function setGravity($gx, $gy) {
gravity.x = $gx;
gravity.y = $gy;
}
function verlet() {
var _local2;
_local2 = 0;
while (_local2 < _p_count) {
_particles_ar[_local2].verlet(this);
_local2++;
}
_local2 = 0;
while (_local2 < _w_count) {
_wheels_ar[_local2].verlet(this);
_local2++;
}
}
function satisfy_constraints_ar() {
var _local2;
_local2 = 0;
while (_local2 < _c_count) {
_constraints_ar[_local2].resolve();
_local2++;
}
}
function checkCollisions() {
var _local4;
var _local3;
var _local2;
_local4 = 0;
while (_local4 < _s_count) {
_local3 = 0;
while (_local3 < _p_count) {
_particles_ar[_local3].checkCollision(_surfaces_ar[_local4], this);
_local3++;
}
_local2 = 0;
while (_local2 < _w_count) {
_wheels_ar[_local2].checkCollision(_surfaces_ar[_local4], this);
_local2++;
}
_local4++;
}
}
function paintSurfaces() {
var _local2 = 0;
while (_local2 < _surfaces_ar.length) {
_surfaces_ar[_local2].paint();
_local2++;
}
}
function paintParticles() {
var _local2 = 0;
while (_local2 < _particles_ar.length) {
_particles_ar[_local2].paint();
_local2++;
}
}
function paintConstraints() {
var _local2 = 0;
while (_local2 < _constraints_ar.length) {
_constraints_ar[_local2].paint();
_local2++;
}
}
function paintWheels() {
var _local2 = 0;
while (_local2 < _wheels_ar.length) {
_wheels_ar[_local2].paint();
_local2++;
}
}
function timeStep() {
verlet();
satisfy_constraints_ar();
checkCollisions();
}
}
Symbol 775 MovieClip [__Packages.Pirrest.PhisicsEngine.Particle] Frame 0
class Pirrest.PhisicsEngine.Particle
{
var curr, prev, temp, mass, dmc;
function Particle ($posX, $posY, $mass) {
init($posX, $posY, $mass);
}
function init($posX, $posY, $mass) {
curr = new Pirrest.PhisicsEngine.Vector($posX, $posY);
prev = new Pirrest.PhisicsEngine.Vector($posX, $posY);
temp = new Pirrest.PhisicsEngine.Vector(0, 0);
if (($mass == undefined) || ($mass < 0)) {
mass = 0;
} else {
mass = $mass;
}
var _local3 = _root.main_mc.main_cont_mc.level_mc.over_mc.getNextHighestDepth();
dmc = _root.main_mc.main_cont_mc.level_mc.over_mc.createEmptyMovieClip("p_" + _local3, _local3);
}
function verlet($sysObj) {
temp.x = curr.x;
temp.y = curr.y;
curr.x = curr.x + (($sysObj.coeffDamp * (curr.x - prev.x)) + $sysObj.gravity.x);
curr.y = curr.y + ((($sysObj.coeffDamp * (curr.y - prev.y)) + $sysObj.gravity.y) + mass);
prev.x = temp.x;
prev.y = temp.y;
}
function checkCollision($surface, $sysObj) {
$surface.resolveParticleCollision(this, $sysObj);
}
function paint() {
dmc.clear();
dmc.lineStyle(0, 16777215, 100);
Pirrest.PhisicsEngine.Graphics.prototype.paintCircle(dmc, curr.x, curr.y, 2);
}
function setPos($px, $py) {
curr.x = $px;
curr.y = $py;
prev.x = $px;
prev.y = $py;
}
}
Symbol 776 MovieClip [__Packages.Pirrest.PhisicsEngine.Constraint] Frame 0
class Pirrest.PhisicsEngine.Constraint
{
var p1, p2, restLength, dmc;
function Constraint ($p1, $p2) {
init($p1, $p2);
}
function init($p1, $p2) {
p1 = $p1;
p2 = $p2;
restLength = $p1.curr.distance($p2.curr);
var _local3 = _root.main_mc.main_cont_mc.level_mc.over_mc.getNextHighestDepth();
dmc = _root.main_mc.main_cont_mc.level_mc.over_mc.createEmptyMovieClip("p_" + _local3, _local3);
}
function resolve() {
var _local5 = p1.curr.minusNew(p2.curr);
var _local3 = p1.curr.distance(p2.curr);
var _local4 = (_local3 - restLength) / _local3;
var _local2 = _local5.mult(_local4 * 0.5);
p1.curr.minus(_local2);
p2.curr.plus(_local2);
}
function setRestLength($r) {
restLength = $r;
}
function paint() {
dmc.clear();
dmc.lineStyle(0, 10053171, 100);
Pirrest.PhisicsEngine.Graphics.prototype.paintLine(dmc, p1.curr.x, p1.curr.y, p2.curr.x, p2.curr.y);
}
}
Symbol 777 MovieClip [__Packages.Pirrest.PhisicsEngine.Rectangle] Frame 0
class Pirrest.PhisicsEngine.Rectangle
{
var p0, p1, p2, p3;
function Rectangle ($pSystem, $center, $rWidth, $rHeight) {
init($pSystem, $center, $rWidth, $rHeight);
}
function init($pSystem, $center, $rWidth, $rHeight) {
var _local7 = $pSystem.addParticle($center.x - ($rWidth / 2), $center.y - ($rHeight / 2), 0);
var _local6 = $pSystem.addParticle($center.x + ($rWidth / 2), $center.y - ($rHeight / 2), 0);
var _local5 = $pSystem.addParticle($center.x + ($rWidth / 2), $center.y + ($rHeight / 2), 0);
var _local4 = $pSystem.addParticle($center.x - ($rWidth / 2), $center.y + ($rHeight / 2), 0);
$pSystem.addConstraint(_local7, _local6);
$pSystem.addConstraint(_local6, _local5);
$pSystem.addConstraint(_local5, _local4);
$pSystem.addConstraint(_local4, _local7);
$pSystem.addConstraint(_local7, _local5);
$pSystem.addConstraint(_local6, _local4);
p0 = _local7;
p1 = _local6;
p2 = _local5;
p3 = _local4;
}
}
Symbol 778 MovieClip [__Packages.Pirrest.PhisicsEngine.AngularConstraint] Frame 0
class Pirrest.PhisicsEngine.AngularConstraint
{
var pA, pB, pC, lineA, lineB, pD, lineC, targetTheta, coeffStiff;
function AngularConstraint ($pA, $pB, $pC) {
init($pA, $pB, $pC);
}
function init($pA, $pB, $pC) {
pA = $pA.curr;
pB = $pB.curr;
pC = $pC.curr;
lineA = new Pirrest.PhisicsEngine.Line(pA, pB);
lineB = new Pirrest.PhisicsEngine.Line(pB, pC);
pD = new Pirrest.PhisicsEngine.Vector(pB.x + 0, pB.y - 1);
lineC = new Pirrest.PhisicsEngine.Line(pB, pD);
targetTheta = calcTheta(pA, pB, pC);
coeffStiff = 4;
}
function resolve() {
var _local4 = getCentroid();
lineC.p2.x = lineC.p1.x + 0;
lineC.p2.y = lineC.p1.y - 1;
var _local10 = pA.distance(pB);
var _local8 = pB.distance(pC);
var _local12 = calcTheta(pA, pB, pC);
var _local13 = calcTheta(pA, pB, pD);
var _local11 = calcTheta(pC, pB, pD);
var _local6 = (targetTheta - _local12) / 2;
var _local9 = _local13 + (_local6 * coeffStiff);
var _local5 = _local11 - (_local6 * coeffStiff);
pA.x = (_local10 * Math.sin(_local9)) + pB.x;
pA.y = (_local10 * Math.cos(_local9)) + pB.y;
pC.x = (_local8 * Math.sin(_local5)) + pB.x;
pC.y = (_local8 * Math.cos(_local5)) + pB.y;
var _local7 = getCentroid();
var _local3 = _local7.x - _local4.x;
var _local2 = _local7.y - _local4.y;
pA.x = pA.x - _local3;
pA.y = pA.y - _local2;
pB.x = pB.x - _local3;
pB.y = pB.y - _local2;
pC.x = pC.x - _local3;
pC.y = pC.y - _local2;
}
function calcTheta($pA, $pB, $pC) {
var _local2 = new Pirrest.PhisicsEngine.Vector($pB.x - $pA.x, $pB.y - $pA.y);
var _local3 = new Pirrest.PhisicsEngine.Vector($pC.x - $pB.x, $pC.y - $pB.y);
var _local4 = _local2.dot(_local3);
var _local5 = _local2.cross(_local3);
return(Math.atan2(_local5, _local4));
}
function set theta($t) {
targetTheta = $t;
//return(theta);
}
function get theta() {
return(targetTheta);
}
function paint() {
}
function getCentroid() {
var _local3 = ((pA.x + pB.x) + pC.x) / 3;
var _local2 = ((pA.y + pB.y) + pC.y) / 3;
return(new Pirrest.PhisicsEngine.Vector(_local3, _local2));
}
}
Symbol 779 MovieClip [__Packages.Pirrest.PhisicsEngine.Line] Frame 0
class Pirrest.PhisicsEngine.Line
{
var p1, p2;
function Line ($p1, $p2) {
p1 = $p1;
p2 = $p2;
}
}
Symbol 780 MovieClip [__Packages.Pirrest.PhisicsEngine.Wheel] Frame 0
class Pirrest.PhisicsEngine.Wheel extends MovieClip
{
var _coord_space, _parent, _y, _x, wr, _width, wp, rp, contactRadius, coeffSlip, closestPoint, _rotation;
function Wheel () {
super();
}
function init($coord_space, $mass) {
if (Pirrest.Common.PiVal.isEmpty($coord_space)) {
_coord_space = _parent;
} else {
_coord_space = $coord_space;
}
var _local2 = {x:_x, y:_y};
_parent.localToGlobal(_local2);
$coord_space.globalToLocal(_local2);
wr = _width / 2;
wp = new Pirrest.PhisicsEngine.Particle(_local2.x, _local2.y, $mass);
rp = new Pirrest.PhisicsEngine.RimParticle(wr, 2);
contactRadius = wr;
coeffSlip = 0;
closestPoint = new Pirrest.PhisicsEngine.Vector(0, 0);
}
function verlet($sysObj) {
rp.verlet($sysObj);
wp.verlet($sysObj);
}
function checkCollision($surface, $sysObj) {
$surface.resolveWheelCollision(this);
}
function paint() {
var _local7 = wp.curr.x;
var _local6 = wp.curr.y;
var _local4 = rp.curr.x;
var _local2 = rp.curr.y;
_x = _local7;
_y = _local6;
var _local3 = 57.29578;
var _local5 = (-Math.atan2(_local4, _local2)) * _local3;
_rotation = _local5;
}
function resolve($n) {
var _local3 = -rp.curr.y;
var _local2 = rp.curr.x;
var _local5 = Math.sqrt((_local3 * _local3) + (_local2 * _local2));
_local3 = _local3 / _local5;
_local2 = _local2 / _local5;
var _local13 = _local3 * rp.speed;
var _local11 = _local2 * rp.speed;
var _local12 = wp.curr.x - wp.prev.x;
var _local10 = wp.curr.y - wp.prev.y;
var _local9 = _local12 + _local13;
var _local8 = _local10 + _local11;
var _local6 = ((-$n.y) * _local9) + ($n.x * _local8);
rp.prev.x = rp.curr.x - (_local6 * _local3);
rp.prev.y = rp.curr.y - (_local6 * _local2);
var _local7 = 1 - coeffSlip;
wp.curr.x = wp.curr.x + ((_local7 * rp.speed) * (-$n.y));
wp.curr.y = wp.curr.y + ((_local7 * rp.speed) * $n.x);
rp.speed = rp.speed * coeffSlip;
}
}
Symbol 781 MovieClip [__Packages.Pirrest.PhisicsEngine.RimParticle] Frame 0
class Pirrest.PhisicsEngine.RimParticle
{
var curr, prev, vs, speed, maxTorque, wr;
function RimParticle ($r, $mt) {
init($r, $mt);
}
function init($r, $mt) {
curr = new Pirrest.PhisicsEngine.Vector($r, 0);
prev = new Pirrest.PhisicsEngine.Vector(0, 0);
vs = 0;
speed = 0;
maxTorque = $mt;
wr = $r;
}
function verlet($sysObj) {
speed = Math.max(-maxTorque, Math.min(maxTorque, speed + vs));
var _local3 = -curr.y;
var _local2 = curr.x;
var _local4 = Math.sqrt((_local3 * _local3) + (_local2 * _local2));
_local3 = _local3 / _local4;
_local2 = _local2 / _local4;
curr.x = curr.x + (speed * _local3);
curr.y = curr.y + (speed * _local2);
var _local10 = prev.x;
var _local9 = prev.y;
var _local7 = (prev.x = curr.x);
var _local8 = (prev.y = curr.y);
curr.x = curr.x + ($sysObj.coeffDamp * (_local7 - _local10));
curr.y = curr.y + ($sysObj.coeffDamp * (_local8 - _local9));
var _local6 = Math.sqrt((curr.x * curr.x) + (curr.y * curr.y));
var _local5 = (_local6 - wr) / _local6;
curr.x = curr.x - (curr.x * _local5);
curr.y = curr.y - (curr.y * _local5);
}
}
Symbol 782 MovieClip [__Packages.classes.Pirrest.BigFoot.Bar] Frame 0
class classes.Pirrest.BigFoot.Bar
{
var cursor, body;
function Bar () {
}
function update($x, $w, l) {
var _local2 = ((((Stage.width / 2) - $x) - l) / $w) * 100;
var _local3 = (body._width - cursor._width) / 100;
trace(Math.round(_local2));
cursor._x = _local3 * _local2;
}
}
Symbol 552 MovieClip Frame 15
stop();
Symbol 587 MovieClip Frame 1
stop();
Instance of Symbol 587 MovieClip in Symbol 588 MovieClip Frame 1
on (rollOver) {
gotoAndPlay (2);
}
on (press) {
_parent._parent._parent.gotoAndPlay(49);
}
Symbol 590 MovieClip Frame 15
stop();
Symbol 611 MovieClip Frame 1
stop();
Symbol 613 MovieClip Frame 10
stop();
Symbol 616 MovieClip Frame 1
if (_parent._parent.azz > 0) {
_parent._parent._parent.mashini.gotoAndPlay(11);
} else {
gotoAndPlay (2);
}
Symbol 616 MovieClip Frame 11
_parent._parent._parent.mashini.mash.gotoAndStop(1);
stop();
Symbol 619 MovieClip Frame 1
_parent._parent._parent.mashini.gotoAndPlay(11);
Symbol 619 MovieClip Frame 11
_parent._parent._parent.mashini.mash.gotoAndStop(2);
stop();
Symbol 622 MovieClip Frame 1
_parent._parent._parent.mashini.gotoAndPlay(11);
Symbol 622 MovieClip Frame 11
_parent._parent._parent.mashini.mash.gotoAndStop(3);
stop();
Symbol 625 MovieClip Frame 1
_parent._parent._parent.mashini.gotoAndPlay(11);
Symbol 625 MovieClip Frame 11
_parent._parent._parent.mashini.mash.gotoAndStop(4);
stop();
Symbol 628 MovieClip Frame 1
_parent._parent._parent.mashini.gotoAndPlay(11);
Symbol 628 MovieClip Frame 11
_parent._parent._parent.mashini.mash.gotoAndStop(5);
stop();
Symbol 631 MovieClip Frame 1
_parent._parent._parent.mashini.gotoAndPlay(11);
Symbol 631 MovieClip Frame 11
_parent._parent._parent.mashini.mash.gotoAndStop(6);
stop();
Symbol 634 MovieClip Frame 1
_parent._parent._parent.mashini.gotoAndPlay(11);
Symbol 634 MovieClip Frame 11
_parent._parent._parent.mashini.mash.gotoAndStop(7);
stop();
Symbol 637 MovieClip Frame 1
_parent._parent._parent.mashini.gotoAndPlay(11);
Symbol 637 MovieClip Frame 11
_parent._parent._parent.mashini.mash.gotoAndStop(8);
stop();
Symbol 638 MovieClip Frame 1
_root.texsi = 1;
stop();
Symbol 638 MovieClip Frame 2
_root.texsi = 3;
Symbol 638 MovieClip Frame 3
_root.texsi = 4;
Symbol 638 MovieClip Frame 4
_root.texsi = 5;
Symbol 638 MovieClip Frame 5
_root.texsi = 8;
Symbol 638 MovieClip Frame 6
_root.texsi = 7;
Symbol 638 MovieClip Frame 7
_root.texsi = 6;
Symbol 638 MovieClip Frame 8
_root.texsi = 2;
Symbol 642 MovieClip Frame 1
stop();
Symbol 643 MovieClip Frame 1
stop();
Symbol 646 MovieClip Frame 1
this.azz = 0;
Instance of Symbol 642 MovieClip "asaq" in Symbol 646 MovieClip Frame 1
on (rollOver) {
gotoAndPlay (2);
}
on (press) {
_parent.azz = 1;
_parent.numere.gotoAndStop(_parent.numere._currentframe + 1);
}
Instance of Symbol 643 MovieClip in Symbol 646 MovieClip Frame 1
onClipEvent (load) {
suma = 0;
}
on (rollOver) {
gotoAndPlay (2);
}
on (press) {
_parent.azz = 1;
_parent.numere.gotoAndStop(_parent.numere._currentframe - 1);
}
Symbol 659 MovieClip Frame 1
stop();
Symbol 659 MovieClip Frame 5
stop();
Symbol 663 MovieClip Frame 1
stop();
Symbol 663 MovieClip Frame 5
stop();
Symbol 667 MovieClip Frame 1
stop();
Symbol 667 MovieClip Frame 5
stop();
Symbol 671 MovieClip Frame 1
stop();
Instance of Symbol 670 MovieClip in Symbol 671 MovieClip Frame 1
on (rollOver) {
_parent.gotoAndPlay(2);
}
on (rollOut) {
_parent.gotoAndPlay(6);
}
on (press) {
_root.gotoAndStop(32);
}
Symbol 671 MovieClip Frame 5
stop();
Instance of Symbol 659 MovieClip in Symbol 672 MovieClip Frame 1
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (6);
}
on (press) {
_root.gotoAndStop(31);
}
Instance of Symbol 663 MovieClip in Symbol 672 MovieClip Frame 1
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (6);
}
on (press) {
_root.puncte = (_root.punctaj = 0);
_parent._parent._parent._parent._parent.gotoAndStop("game");
_root.xmotor.start(0, 99999);
}
Instance of Symbol 667 MovieClip in Symbol 672 MovieClip Frame 1
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (6);
}
on (press) {
getURL ("http://sillybull.com", "new");
}
Symbol 673 MovieClip Frame 20
stop();
Symbol 674 MovieClip Frame 48
stop();
Symbol 674 MovieClip Frame 82
stop();
Symbol 675 MovieClip Frame 75
stop();
Symbol 683 MovieClip Frame 1
this.az = 0;
stop();
Symbol 683 MovieClip Frame 10
this.az = 1;
stop();
Symbol 684 MovieClip Frame 1
Symbol 689 MovieClip Frame 31
if (_root.pauza == false) {
_root.secunde++;
if (_root.secunde < 10) {
_root.secunde = "0" + _root.secunde;
} else if (_root.secunde > 20) {
_root.secunde = "00";
_root.minute++;
if (_root.minute < 10) {
_root.minute = "0" + _root.minute;
}
}
}
Symbol 700 MovieClip Frame 1
var i = 0;
var contor = 0;
this.onEnterFrame = function () {
this.cub._rotation = this.cub._rotation + i;
contor = contor + i;
if (Key.isDown(38)) {
i = 0;
if ((contor < 280) || (contor > 280)) {
if (contor >= 280) {
this.cub._rotation = 280;
i = 0;
} else {
i = i + 2.5;
}
}
}
if (!Key.isDown(38)) {
i = 0;
if ((contor > 0) || (contor < 0)) {
if (contor <= 0) {
this.cub._rotation = 0;
i = 0;
} else {
i = i - 1.5;
}
}
}
};
Symbol 703 MovieClip Frame 1
stop();
Instance of Symbol 702 MovieClip in Symbol 703 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
_parent.gotoAndPlay(2);
}
}
Symbol 703 MovieClip Frame 70
stop();
Symbol 707 MovieClip Frame 1
var i = 0;
var contor = 0;
this.onEnterFrame = function () {
this.cub._rotation = this.cub._rotation + i;
contor = contor + i;
if (Key.isDown(38)) {
i = 0;
if ((contor < 260) || (contor > 260)) {
if (contor >= 260) {
this.cub._rotation = 260;
i = 0;
} else {
i = i + 19.5;
}
}
}
if (!Key.isDown(38)) {
i = 0;
if ((contor > 0) || (contor < 0)) {
if (contor <= 0) {
this.cub._rotation = 0;
i = 0;
} else {
i = i - 8.5;
}
}
}
};
Symbol 709 MovieClip Frame 1
stop();
var i = 0;
this.onEnterFrame = function () {
if (Key.isDown(38)) {
if (i == 0) {
gotoAndPlay (2);
i = 2;
}
}
};
Symbol 709 MovieClip Frame 136
stop();
var k = 0;
this.onEnterFrame = function () {
if (Key.isDown(38)) {
if (k == 0) {
gotoAndPlay (137);
k = 1;
}
}
};
Symbol 709 MovieClip Frame 195
var z = 0;
this.onEnterFrame = function () {
if (!Key.isDown(38)) {
if (z == 0) {
_root.acc2.start(0, 1);
gotoAndStop (136);
z = 1;
}
}
};
Symbol 709 MovieClip Frame 211
gotoAndPlay (137);
Symbol 716 MovieClip Frame 1
stop();
Symbol 722 MovieClip Frame 1
stop();
Symbol 731 MovieClip Frame 1
stop();
Symbol 733 MovieClip Frame 1
trace("empty");
if (_root.sunet == true) {
_root.xmotor.start(0, 99999);
}
_root.pauza = false;
Symbol 733 MovieClip Frame 8
_root.pauza = true;
_root.main_mc.messages_mc.theMeniu._x = _root.main_mc.messages_mc.theMeniu._x + 1000;
pause_mc.caption = "PAUSE";
next_btn.onRelease = function () {
_root.main_mc.gotoAndPlay("replay");
};
menu_btn.onRelease = function () {
_root.main_mc.gotoAndStop("intro");
};
Symbol 733 MovieClip Frame 13
stop();
Symbol 733 MovieClip Frame 14
_root.pauza = false;
Symbol 733 MovieClip Frame 21
gotoAndStop ("empty");
Symbol 733 MovieClip Frame 23
_root.pauza = true;
trace(1000 - ((Number(_root.minute) * 100) + Number(_root.secunde)));
_root.scorNivel = 1000 - ((Number(_root.minute) * 100) + Number(_root.secunde));
_root.totalScor = _root.totalScor + _root.scorNivel;
_root.scorNivel = 0;
_root.minute = "00";
_root.secunde = "00";
menu_btn.onRelease = function () {
_root.main_mc.gotoAndStop("intro");
};
title_mc.caption = "LEVEL COMPLETED!";
gotoAndPlay (24);
Instance of Symbol 716 MovieClip in Symbol 733 MovieClip Frame 23
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (6);
}
on (release) {
_root.main_mc.gotoAndStop("intro");
}
Symbol 733 MovieClip Frame 30
stop();
Instance of Symbol 718 MovieClip in Symbol 733 MovieClip Frame 30
on (press) {
_root.gotoAndStop(32);
}
Instance of Symbol 722 MovieClip in Symbol 733 MovieClip Frame 30
on (rollOver) {
gotoAndPlay (2);
}
on (release) {
_root.punctaj = _root.punctaj + _root.puncte;
_root.puncte = 0;
_root.main_mc.gotoAndPlay("replay");
}
Instance of Symbol 718 MovieClip in Symbol 733 MovieClip Frame 30
on (press) {
getURL ("http://sillybull.com", "new");
}
Symbol 733 MovieClip Frame 32
stop();
Symbol 733 MovieClip Frame 34
_root.pauza = true;
_root.scorNivel = 1000 - ((Number(_root.minute) * 100) + Number(_root.secunde));
_root.totalScor = _root.totalScor + _root.scorNivel;
_root.scorNivel = 0;
_root.minute = "00";
_root.secunde = "00";
menu_btn.onRelease = function () {
};
title_mc.caption = "GAME COMPLETED!";
Symbol 733 MovieClip Frame 43
stop();
Symbol 733 MovieClip Frame 45
_root.pauza = true;
_root.scorNivel = 0;
_root.minute = "00";
_root.secunde = "00";
next_btn.onRelease = function () {
};
menu_btn.onRelease = function () {
};
title_mc.caption = "GAME OVER";
gotoAndPlay (46);
Instance of Symbol 716 MovieClip in Symbol 733 MovieClip Frame 50
on (rollOver) {
gotoAndPlay (2);
}
on (release) {
_root.main_mc.gotoAndStop("intro");
}
Instance of Symbol 727 MovieClip in Symbol 733 MovieClip Frame 50
on (press) {
_root.gotoAndStop(31);
}
Instance of Symbol 718 MovieClip in Symbol 733 MovieClip Frame 50
on (press) {
getURL ("http://sillybull.com", "new");
}
Instance of Symbol 718 MovieClip in Symbol 733 MovieClip Frame 50
on (press) {
_root.gotoAndStop(32);
}
Instance of Symbol 731 MovieClip in Symbol 733 MovieClip Frame 50
on (rollOver) {
gotoAndPlay (2);
}
on (release) {
_root.puncte = 0;
_root.main_mc.gotoAndPlay("replay");
}
Symbol 733 MovieClip Frame 54
stop();
Symbol 737 MovieClip [ms_progressBar] Frame 1
#initclip 43
Object.registerClass("ms_progressBar", classes.Pirrest.BigFoot.Bar);
#endinitclip
Symbol 738 MovieClip Frame 1
_root.totalScor = 0;
Symbol 738 MovieClip Frame 9
stop();
Symbol 738 MovieClip Frame 10
_root.main_mc.instructions._visible = false;
start_btn.onRelease = function () {
};
_root.secunde = "00";
_root.minute = "00";
_root.totalScor = 0;
_global.gl_user_info.curr_level = 1;
_root.pauza = false;
_root.sunet = true;
Symbol 738 MovieClip Frame 14
stop();
Symbol 738 MovieClip Frame 17
_root.startGame();
nextFrame();
_global.pBar = this.pBar;
var i = 0;
var contor = 0;
this.onEnterFrame = function () {
this.umbres._x = this.umbres._x + i;
contor = contor + i;
if (Key.isDown(38)) {
i = 0;
if ((contor < 100) || (contor > 100)) {
if (contor >= 100) {
this.umbres._x = 260;
i = 0;
} else {
i = i + 2.5;
}
}
}
if (!Key.isDown(38)) {
i = 0;
if ((contor > 0) || (contor < 0)) {
if (contor <= 0) {
this.umbres._x = 175;
i = 0;
} else {
i = i - 1.55;
}
}
}
};
Instance of Symbol 684 MovieClip "umbres" in Symbol 738 MovieClip Frame 17
/* no clip actions */
Instance of Symbol 733 MovieClip "messages_mc" in Symbol 738 MovieClip Frame 17
onClipEvent (enterFrame) {
puncte.text = _root.puncte + _root.punctaj;
}
Symbol 738 MovieClip Frame 18
_root.main_mc.main_cont_mc.level_mc.init();
Symbol 738 MovieClip Frame 27
stop();
Instance of Symbol 747 MovieClip "rspate" in Symbol 750 MovieClip Frame 1
onClipEvent (load) {
i = 0;
}
onClipEvent (enterFrame) {
i = i + 2;
_parent.rspate._rotation = _parent.rspate._rotation + i;
_parent.rfatza._rotation = _parent.rfatza._rotation + i;
}
Symbol 752 MovieClip Frame 10
stop();
Symbol 756 MovieClip Frame 15
stop();
Symbol 757 MovieClip Frame 25
stop();
Instance of Symbol 756 MovieClip in Symbol 757 MovieClip Frame 25
on (press) {
_root.gotoAndStop(16);
}
Symbol 763 MovieClip Frame 1
ac11.useHandCursor = 0;
stop();
Instance of Symbol 761 MovieClip "ac11" in Symbol 763 MovieClip Frame 1
on (press) {
_parent.gotoAndStop(2);
}
Symbol 763 MovieClip Frame 2
stop();
Symbol 764 MovieClip Frame 25
stop();
Instance of Symbol 756 MovieClip in Symbol 764 MovieClip Frame 25
on (press) {
_root.gotoAndStop(16);
}