Frame 1
Stage.showMenu = false;
Frame 4
skilllevel = 0;
suko = 0;
multiplios = 0;
multiplier = 1;
turkeysleft = 1;
hitturkey = 0;
misses = 0;
score = "";
effects = 21;
mykenak = [];
mystuff = [];
Frame 5
_root.gotoAndPlay("rungame");
Frame 43
stop();
Frame 55
stop();
Frame 67
stop();
Frame 79
stop();
Frame 80
indi.unloadMovie();
indi.removeMovieClip();
thegun.unloadMovie();
thegun.removeMovieClip();
theScene.unloadMovie();
theScene.removeMovieClip();
theGround.unloadMovie();
theGround.removeMovieClip();
crosshair.unloadMovie();
crosshair.removeMovieClip();
faderer.unloadMovie();
faderer.removeMovieClip();
_quality = "HIGH";
_root.skilllevel++;
if (_root.skilllevel == 9) {
_root.gotoAndPlay("youwin");
}
Instance of Symbol 354 MovieClip in Frame 125
onClipEvent (load) {
if (_root.skilllevel != 8) {
this.unloadMovie();
}
}
Frame 167
_quality = "LOW";
_root.gotoAndPlay("playlevel" + _root.skilllevel);
Frame 168
turkeysleft = 6;
Instance of Symbol 387 MovieClip "indi" in Frame 168
onClipEvent (load) {
this.swapDepths(200);
}
Instance of Symbol 391 MovieClip "faderer" in Frame 168
onClipEvent (load) {
this.swapDepths(1005);
}
Frame 169
function displayArch() {
if ((_root[this.mycp].showme == 1) || (this.objecttype == "plane")) {
this._visible = true;
var _local7 = this.x - cameraView.x;
var _local6 = this.y - cameraView.y;
var _local3 = this.z - cameraView.z;
var _local9 = _local7;
var _local20 = _local6;
var _local8 = _local3;
if (this.objecttype == "a_sprite") {
var _local5 = Math.atan2(_local8, _local9) + 30;
var _local13 = Math.sqrt((_local9 * _local9) + (_local8 * _local8));
sn = Math.cos(_local5 + cameraView.rotation);
var _local14 = frameFromAngle(_local5, this._totalframes);
_local14 = frameFromAngle((_local5 + sn) + ((_root[this.mycp]._rotation * Math.PI) / 180), this._totalframes);
if (this._currentframe != _local14) {
this.gotoAndStop(_local14);
}
_local9 = Math.cos(_local5 + cameraView.rotation) * _local13;
_local8 = Math.sin(_local5 + cameraView.rotation) * _local13;
}
var _local16;
var _local15;
var _local11;
var _local4 = cameraView.rotation;
_local16 = (Math.cos(_local4) * _local7) - (Math.sin(_local4) * _local3);
_local11 = (Math.sin(_local4) * _local7) + (Math.cos(_local4) * _local3);
_local7 = _local16;
_local3 = _local11;
_local4 = cameraView.upAngle;
_local15 = (Math.cos(_local4) * _local6) - (Math.sin(_local4) * _local3);
_local11 = (Math.sin(_local4) * _local6) + (Math.cos(_local4) * _local3);
_local6 = _local15;
_local3 = _local11;
if (this.objecttype == "plane") {
this.clear();
this.lineStyle(this.lw, this.lc, this.la);
this.beginFill(this.fc, this.fa);
if (this.mybosses[0].my3d._visible == false) {
this.clear();
} else {
this.moveTo(this.mybosses[0].my3d._x, this.mybosses[0].my3d._y);
}
i = 1;
while (i < this.mybosses.length) {
if (this.mybosses[i].my3d._visible == false) {
this.clear();
break;
}
this.lineTo(this.mybosses[i].my3d._x, this.mybosses[i].my3d._y);
i++;
}
if (this.mybosses[0].my3d._visible == false) {
this.clear();
} else {
this.lineTo(this.mybosses[0].my3d._x, this.mybosses[0].my3d._y);
}
this.endFill();
}
if (_local3 > -100) {
var _local12 = focalLength / (focalLength + _local3);
if (this.objecttype != "plane") {
this._x = _local7 * _local12;
this._y = _local6 * _local12;
this._xscale = (this._yscale = 100 * _local12);
}
this.swapDepths(Math.round(-_local3));
} else {
this._visible = false;
}
if (this.objecttype != "light") {
var _local10 = Math.min((-_local3) / 30, 255);
this.col.setTransform({rb:_local10, gb:_local10, bb:_local10});
}
this.x = (_root[this.mycp]._x - 150) * 10;
this.z = (-(_root[this.mycp]._y - 150)) * 10;
this.y = _root[this.mycp].o_z;
_root[this.mycp].my3d = this;
} else {
this._visible = false;
}
}
function generate_entity(u_name, mycp, objecttype, layer, xx, yy, zz) {
if (layer == 1) {
attachedObj = _root.theScene.attachMovie(u_name, "entity" + _root.entity_count, _root.entity_count);
} else {
attachedObj = _root.theGround.attachMovie(u_name, "entity" + _root.entity_count, _root.entity_count);
}
attachedObj.x = xx;
attachedObj.y = yy;
attachedObj.z = zz;
attachedObj.mycp = mycp;
attachedObj.objecttype = objecttype;
attachedObj.display = _root.displayArch;
attachedObj.col = new Color(attachedObj);
_root.objectsInScene.push(attachedObj);
_root.entity_count++;
}
function generate_plane(mycp, mybosses, linecolor, lineweight, linealpha, fillcolor, fillalpha, layer) {
if (layer == 1) {
attachedObj = _root.theScene.createEmptyMovieClip("entity" + _root.entity_count, _root.entity_count);
} else {
attachedObj = _root.theGround.createEmptyMovieClip("entity" + _root.entity_count, _root.entity_count);
}
attachedObj.mycp = mycp;
attachedObj.lc = linecolor;
attachedObj.lw = lineweight;
attachedObj.la = linealpha;
attachedObj.fc = fillcolor;
attachedObj.fa = fillalpha;
attachedObj.mycp = mycp;
attachedObj.mybosses = mybosses;
attachedObj.objecttype = "plane";
attachedObj.display = _root.displayArch;
attachedObj.col = new Color(attachedObj);
_root.objectsInScene.push(attachedObj);
_root.entity_count++;
}
pauser = 0;
this.createEmptyMovieClip("theScene", 10);
theScene._x = Stage.width / 2;
theScene._y = Stage.height / 2;
this.createEmptyMovieClip("theGround", 0);
theGround._x = Stage.width / 2;
theGround._y = Stage.height / 2;
objectsInScene = new Array();
cameraView = new Object();
cameraView.x = (_root.camera._x - 150) * _root.camera.multiplier_speed;
cameraView.y = -200;
cameraView.z = (-(_root.camera._y - 150)) * _root.camera.multiplier_speed;
cameraView.rotation = 0;
cameraView.upAngle = 0.5;
focalLength = 400;
entity_count = 1;
frameFromAngle = function (r, frames) {
r = r % (Math.PI*2);
if (r < 0) {
r = r + (Math.PI*2);
}
return(Math.floor(1 + ((frames * r) / (Math.PI*2))));
};
lookAround = function () {
if (!_root.pauser) {
cameraView.x = (_root.camera._x - 150) * _root.camera.multiplier_speed;
cameraView.y = (_root.camera_look._y - _root.camera_look.start_y) - 150;
cameraView.z = (-(_root.camera._y - 150)) * _root.camera.multiplier_speed;
cameraView.rotation = (_root.camera._rotation * Math.PI) / 180;
if (cameraView.upAngle > 0.8) {
cameraView.upAngle = 0.8;
}
if (cameraView.upAngle < -0.8) {
cameraView.upAngle = -0.8;
}
for (i in objectsInScene) {
objectsInScene[i].display();
}
var _local2 = cameraView.upAngle;
distance = 9999999 /* 0x98967F */;
y = (Math.cos(_local2) * cameraView.y) - (Math.sin(_local2) * distance);
z = (Math.sin(_local2) * cameraView.y) + (Math.cos(_local2) * distance);
var _local3 = focalLength / (focalLength + z);
ground._y = theScene._y + (y * _local3);
}
};
theScene.onEnterFrame = lookAround;
theGround.onEnterFrame = lookAround;
Instance of Symbol 211 MovieClip "detup" in Frame 169
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y++;
}
}
Instance of Symbol 211 MovieClip "detleft" in Frame 169
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._x++;
}
}
Instance of Symbol 211 MovieClip "detright" in Frame 169
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._x--;
}
}
Instance of Symbol 211 MovieClip "detdown" in Frame 169
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y--;
}
}
Instance of Symbol 396 MovieClip "theplayer" in Frame 169
onClipEvent (load) {
_visible = false;
un_name = "snowball";
o_z = 0;
jumpheight = 0;
layer = 1;
spd = 0;
maxspd = 8;
multiplier_speed = 10;
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if (Key.isDown(38) || (Key.isDown(87))) {
spd = 2;
} else if (Key.isDown(40) || (Key.isDown(83))) {
spd = -2;
} else {
spd = 0;
}
if (Key.isDown(65)) {
spds = -2;
_y = (_y + (spds * Math.cos((Math.PI/180) * (_rotation - 90))));
_x = (_x - (spds * Math.sin((Math.PI/180) * (_rotation - 90))));
} else if (Key.isDown(68)) {
spds = 2;
_y = (_y + (spds * Math.cos((Math.PI/180) * (_rotation - 90))));
_x = (_x - (spds * Math.sin((Math.PI/180) * (_rotation - 90))));
} else {
spds = 0;
}
_rotation = (_rotation + (int(Key.isDown(39) || (Key.isDown(69))) * 5));
_rotation = (_rotation - (int(Key.isDown(81) || (Key.isDown(37))) * 5));
}
Instance of Symbol 211 MovieClip in Frame 169
onClipEvent (load) {
_root.timer = 0;
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.timer < 90) {
_root.timer++;
}
if (!_root.pauser) {
mover = _root.sb_response;
if (mover > 0.5) {
mover = 0.5;
}
if ((_root.timer >= 90) && (_root.sb_weight > 100)) {
if (Key.isDown(37)) {
_root.sb_sidemovement = _root.sb_sidemovement + mover;
} else if (Key.isDown(39)) {
_root.sb_sidemovement = _root.sb_sidemovement - mover;
} else if (_root.sb_sidemovement < 0) {
_root.sb_sidemovement = _root.sb_sidemovement + mover;
} else if (_root.sb_sidemovement > 0) {
_root.sb_sidemovement = _root.sb_sidemovement - mover;
}
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 169
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 398 MovieClip "camera" in Frame 169
onClipEvent (enterFrame) {
_rotation = _parent.theplayer._rotation;
_y = ((camdistance * Math.cos((Math.PI/180) * (-(_parent.theplayer._rotation + rotation_adder)))) + _parent.theplayer._y);
_x = ((camdistance * Math.sin((Math.PI/180) * (-(_parent.theplayer._rotation + rotation_adder)))) + _parent.theplayer._x);
}
Instance of Symbol 400 MovieClip "camera_look" in Frame 169
onClipEvent (enterFrame) {
_root.cameraView.upAngle = _rotation / 100;
}
Frame 170
stop();
Frame 171
turkeysleft = 6;
Frame 172
function displayArch() {
if ((_root[this.mycp].showme == 1) || (this.objecttype == "plane")) {
this._visible = true;
var _local7 = this.x - cameraView.x;
var _local6 = this.y - cameraView.y;
var _local3 = this.z - cameraView.z;
var _local9 = _local7;
var _local20 = _local6;
var _local8 = _local3;
if (this.objecttype == "a_sprite") {
var _local5 = Math.atan2(_local8, _local9) + 30;
var _local13 = Math.sqrt((_local9 * _local9) + (_local8 * _local8));
sn = Math.cos(_local5 + cameraView.rotation);
var _local14 = frameFromAngle(_local5, this._totalframes);
_local14 = frameFromAngle((_local5 + sn) + ((_root[this.mycp]._rotation * Math.PI) / 180), this._totalframes);
if (this._currentframe != _local14) {
this.gotoAndStop(_local14);
}
_local9 = Math.cos(_local5 + cameraView.rotation) * _local13;
_local8 = Math.sin(_local5 + cameraView.rotation) * _local13;
}
var _local16;
var _local15;
var _local11;
var _local4 = cameraView.rotation;
_local16 = (Math.cos(_local4) * _local7) - (Math.sin(_local4) * _local3);
_local11 = (Math.sin(_local4) * _local7) + (Math.cos(_local4) * _local3);
_local7 = _local16;
_local3 = _local11;
_local4 = cameraView.upAngle;
_local15 = (Math.cos(_local4) * _local6) - (Math.sin(_local4) * _local3);
_local11 = (Math.sin(_local4) * _local6) + (Math.cos(_local4) * _local3);
_local6 = _local15;
_local3 = _local11;
if (this.objecttype == "plane") {
this.clear();
this.lineStyle(this.lw, this.lc, this.la);
this.beginFill(this.fc, this.fa);
if (this.mybosses[0].my3d._visible == false) {
this.clear();
} else {
this.moveTo(this.mybosses[0].my3d._x, this.mybosses[0].my3d._y);
}
i = 1;
while (i < this.mybosses.length) {
if (this.mybosses[i].my3d._visible == false) {
this.clear();
break;
}
this.lineTo(this.mybosses[i].my3d._x, this.mybosses[i].my3d._y);
i++;
}
if (this.mybosses[0].my3d._visible == false) {
this.clear();
} else {
this.lineTo(this.mybosses[0].my3d._x, this.mybosses[0].my3d._y);
}
this.endFill();
}
if (_local3 > -100) {
var _local12 = focalLength / (focalLength + _local3);
if (this.objecttype != "plane") {
this._x = _local7 * _local12;
this._y = _local6 * _local12;
this._xscale = (this._yscale = 100 * _local12);
}
this.swapDepths(Math.round(-_local3));
} else {
this._visible = false;
}
if (this.objecttype != "light") {
var _local10 = Math.min((-_local3) / 30, 255);
this.col.setTransform({rb:_local10, gb:_local10, bb:_local10});
}
this.x = (_root[this.mycp]._x - 150) * 10;
this.z = (-(_root[this.mycp]._y - 150)) * 10;
this.y = _root[this.mycp].o_z;
_root[this.mycp].my3d = this;
} else {
this._visible = false;
}
}
function generate_entity(u_name, mycp, objecttype, layer, xx, yy, zz) {
if (layer == 1) {
attachedObj = _root.theScene.attachMovie(u_name, "entity" + _root.entity_count, _root.entity_count);
} else {
attachedObj = _root.theGround.attachMovie(u_name, "entity" + _root.entity_count, _root.entity_count);
}
attachedObj.x = xx;
attachedObj.y = yy;
attachedObj.z = zz;
attachedObj.mycp = mycp;
attachedObj.objecttype = objecttype;
attachedObj.display = _root.displayArch;
attachedObj.col = new Color(attachedObj);
_root.objectsInScene.push(attachedObj);
_root.entity_count++;
}
function generate_plane(mycp, mybosses, linecolor, lineweight, linealpha, fillcolor, fillalpha, layer) {
if (layer == 1) {
attachedObj = _root.theScene.createEmptyMovieClip("entity" + _root.entity_count, _root.entity_count);
} else {
attachedObj = _root.theGround.createEmptyMovieClip("entity" + _root.entity_count, _root.entity_count);
}
attachedObj.mycp = mycp;
attachedObj.lc = linecolor;
attachedObj.lw = lineweight;
attachedObj.la = linealpha;
attachedObj.fc = fillcolor;
attachedObj.fa = fillalpha;
attachedObj.mycp = mycp;
attachedObj.mybosses = mybosses;
attachedObj.objecttype = "plane";
attachedObj.display = _root.displayArch;
attachedObj.col = new Color(attachedObj);
_root.objectsInScene.push(attachedObj);
_root.entity_count++;
}
pauser = 0;
this.createEmptyMovieClip("theScene", 10);
theScene._x = Stage.width / 2;
theScene._y = Stage.height / 2;
this.createEmptyMovieClip("theGround", 0);
theGround._x = Stage.width / 2;
theGround._y = Stage.height / 2;
objectsInScene = new Array();
cameraView = new Object();
cameraView.x = (_root.camera._x - 150) * _root.camera.multiplier_speed;
cameraView.y = -200;
cameraView.z = (-(_root.camera._y - 150)) * _root.camera.multiplier_speed;
cameraView.rotation = 0;
cameraView.upAngle = 0.5;
focalLength = 400;
entity_count = 1;
frameFromAngle = function (r, frames) {
r = r % (Math.PI*2);
if (r < 0) {
r = r + (Math.PI*2);
}
return(Math.floor(1 + ((frames * r) / (Math.PI*2))));
};
lookAround = function () {
if (!_root.pauser) {
cameraView.x = (_root.camera._x - 150) * _root.camera.multiplier_speed;
cameraView.y = (_root.camera_look._y - _root.camera_look.start_y) - 150;
cameraView.z = (-(_root.camera._y - 150)) * _root.camera.multiplier_speed;
cameraView.rotation = (_root.camera._rotation * Math.PI) / 180;
if (cameraView.upAngle > 0.8) {
cameraView.upAngle = 0.8;
}
if (cameraView.upAngle < -0.8) {
cameraView.upAngle = -0.8;
}
for (i in objectsInScene) {
objectsInScene[i].display();
}
var _local2 = cameraView.upAngle;
distance = 9999999 /* 0x98967F */;
y = (Math.cos(_local2) * cameraView.y) - (Math.sin(_local2) * distance);
z = (Math.sin(_local2) * cameraView.y) + (Math.cos(_local2) * distance);
var _local3 = focalLength / (focalLength + z);
ground._y = theScene._y + (y * _local3);
}
};
theScene.onEnterFrame = lookAround;
theGround.onEnterFrame = lookAround;
Instance of Symbol 211 MovieClip "detup" in Frame 172
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y++;
}
}
Instance of Symbol 211 MovieClip "detleft" in Frame 172
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._x++;
}
}
Instance of Symbol 211 MovieClip "detright" in Frame 172
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._x--;
}
}
Instance of Symbol 211 MovieClip "detdown" in Frame 172
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y--;
}
}
Instance of Symbol 396 MovieClip "theplayer" in Frame 172
onClipEvent (load) {
_visible = false;
un_name = "snowball";
o_z = 0;
jumpheight = 0;
layer = 1;
spd = 0;
maxspd = 8;
multiplier_speed = 10;
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if (Key.isDown(38) || (Key.isDown(87))) {
spd = 2;
} else if (Key.isDown(40) || (Key.isDown(83))) {
spd = -2;
} else {
spd = 0;
}
if (Key.isDown(65)) {
spds = -2;
_y = (_y + (spds * Math.cos((Math.PI/180) * (_rotation - 90))));
_x = (_x - (spds * Math.sin((Math.PI/180) * (_rotation - 90))));
} else if (Key.isDown(68)) {
spds = 2;
_y = (_y + (spds * Math.cos((Math.PI/180) * (_rotation - 90))));
_x = (_x - (spds * Math.sin((Math.PI/180) * (_rotation - 90))));
} else {
spds = 0;
}
_rotation = (_rotation + (int(Key.isDown(39) || (Key.isDown(69))) * 5));
_rotation = (_rotation - (int(Key.isDown(81) || (Key.isDown(37))) * 5));
}
Instance of Symbol 211 MovieClip in Frame 172
onClipEvent (load) {
_root.timer = 0;
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.timer < 90) {
_root.timer++;
}
if (!_root.pauser) {
mover = _root.sb_response;
if (mover > 0.5) {
mover = 0.5;
}
if ((_root.timer >= 90) && (_root.sb_weight > 100)) {
if (Key.isDown(37)) {
_root.sb_sidemovement = _root.sb_sidemovement + mover;
} else if (Key.isDown(39)) {
_root.sb_sidemovement = _root.sb_sidemovement - mover;
} else if (_root.sb_sidemovement < 0) {
_root.sb_sidemovement = _root.sb_sidemovement + mover;
} else if (_root.sb_sidemovement > 0) {
_root.sb_sidemovement = _root.sb_sidemovement - mover;
}
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 172
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 398 MovieClip "camera" in Frame 172
onClipEvent (enterFrame) {
_rotation = _parent.theplayer._rotation;
_y = ((camdistance * Math.cos((Math.PI/180) * (-(_parent.theplayer._rotation + rotation_adder)))) + _parent.theplayer._y);
_x = ((camdistance * Math.sin((Math.PI/180) * (-(_parent.theplayer._rotation + rotation_adder)))) + _parent.theplayer._x);
}
Instance of Symbol 400 MovieClip "camera_look" in Frame 172
onClipEvent (enterFrame) {
_root.cameraView.upAngle = _rotation / 100;
}
Frame 173
stop();
Frame 174
turkeysleft = 8;
Frame 175
function displayArch() {
if ((_root[this.mycp].showme == 1) || (this.objecttype == "plane")) {
this._visible = true;
var _local7 = this.x - cameraView.x;
var _local6 = this.y - cameraView.y;
var _local3 = this.z - cameraView.z;
var _local9 = _local7;
var _local20 = _local6;
var _local8 = _local3;
if (this.objecttype == "a_sprite") {
var _local5 = Math.atan2(_local8, _local9) + 30;
var _local13 = Math.sqrt((_local9 * _local9) + (_local8 * _local8));
sn = Math.cos(_local5 + cameraView.rotation);
var _local14 = frameFromAngle(_local5, this._totalframes);
_local14 = frameFromAngle((_local5 + sn) + ((_root[this.mycp]._rotation * Math.PI) / 180), this._totalframes);
if (this._currentframe != _local14) {
this.gotoAndStop(_local14);
}
_local9 = Math.cos(_local5 + cameraView.rotation) * _local13;
_local8 = Math.sin(_local5 + cameraView.rotation) * _local13;
}
var _local16;
var _local15;
var _local11;
var _local4 = cameraView.rotation;
_local16 = (Math.cos(_local4) * _local7) - (Math.sin(_local4) * _local3);
_local11 = (Math.sin(_local4) * _local7) + (Math.cos(_local4) * _local3);
_local7 = _local16;
_local3 = _local11;
_local4 = cameraView.upAngle;
_local15 = (Math.cos(_local4) * _local6) - (Math.sin(_local4) * _local3);
_local11 = (Math.sin(_local4) * _local6) + (Math.cos(_local4) * _local3);
_local6 = _local15;
_local3 = _local11;
if (this.objecttype == "plane") {
this.clear();
this.lineStyle(this.lw, this.lc, this.la);
this.beginFill(this.fc, this.fa);
if (this.mybosses[0].my3d._visible == false) {
this.clear();
} else {
this.moveTo(this.mybosses[0].my3d._x, this.mybosses[0].my3d._y);
}
i = 1;
while (i < this.mybosses.length) {
if (this.mybosses[i].my3d._visible == false) {
this.clear();
break;
}
this.lineTo(this.mybosses[i].my3d._x, this.mybosses[i].my3d._y);
i++;
}
if (this.mybosses[0].my3d._visible == false) {
this.clear();
} else {
this.lineTo(this.mybosses[0].my3d._x, this.mybosses[0].my3d._y);
}
this.endFill();
}
if (_local3 > -100) {
var _local12 = focalLength / (focalLength + _local3);
if (this.objecttype != "plane") {
this._x = _local7 * _local12;
this._y = _local6 * _local12;
this._xscale = (this._yscale = 100 * _local12);
}
this.swapDepths(Math.round(-_local3));
} else {
this._visible = false;
}
if (this.objecttype != "light") {
var _local10 = Math.min((-_local3) / 30, 255);
this.col.setTransform({rb:_local10, gb:_local10, bb:_local10});
}
this.x = (_root[this.mycp]._x - 150) * 10;
this.z = (-(_root[this.mycp]._y - 150)) * 10;
this.y = _root[this.mycp].o_z;
_root[this.mycp].my3d = this;
} else {
this._visible = false;
}
}
function generate_entity(u_name, mycp, objecttype, layer, xx, yy, zz) {
if (layer == 1) {
attachedObj = _root.theScene.attachMovie(u_name, "entity" + _root.entity_count, _root.entity_count);
} else {
attachedObj = _root.theGround.attachMovie(u_name, "entity" + _root.entity_count, _root.entity_count);
}
attachedObj.x = xx;
attachedObj.y = yy;
attachedObj.z = zz;
attachedObj.mycp = mycp;
attachedObj.objecttype = objecttype;
attachedObj.display = _root.displayArch;
attachedObj.col = new Color(attachedObj);
_root.objectsInScene.push(attachedObj);
_root.entity_count++;
}
function generate_plane(mycp, mybosses, linecolor, lineweight, linealpha, fillcolor, fillalpha, layer) {
if (layer == 1) {
attachedObj = _root.theScene.createEmptyMovieClip("entity" + _root.entity_count, _root.entity_count);
} else {
attachedObj = _root.theGround.createEmptyMovieClip("entity" + _root.entity_count, _root.entity_count);
}
attachedObj.mycp = mycp;
attachedObj.lc = linecolor;
attachedObj.lw = lineweight;
attachedObj.la = linealpha;
attachedObj.fc = fillcolor;
attachedObj.fa = fillalpha;
attachedObj.mycp = mycp;
attachedObj.mybosses = mybosses;
attachedObj.objecttype = "plane";
attachedObj.display = _root.displayArch;
attachedObj.col = new Color(attachedObj);
_root.objectsInScene.push(attachedObj);
_root.entity_count++;
}
pauser = 0;
this.createEmptyMovieClip("theScene", 10);
theScene._x = Stage.width / 2;
theScene._y = Stage.height / 2;
this.createEmptyMovieClip("theGround", 0);
theGround._x = Stage.width / 2;
theGround._y = Stage.height / 2;
objectsInScene = new Array();
cameraView = new Object();
cameraView.x = (_root.camera._x - 150) * _root.camera.multiplier_speed;
cameraView.y = -200;
cameraView.z = (-(_root.camera._y - 150)) * _root.camera.multiplier_speed;
cameraView.rotation = 0;
cameraView.upAngle = 0.5;
focalLength = 400;
entity_count = 1;
frameFromAngle = function (r, frames) {
r = r % (Math.PI*2);
if (r < 0) {
r = r + (Math.PI*2);
}
return(Math.floor(1 + ((frames * r) / (Math.PI*2))));
};
lookAround = function () {
if (!_root.pauser) {
cameraView.x = (_root.camera._x - 150) * _root.camera.multiplier_speed;
cameraView.y = (_root.camera_look._y - _root.camera_look.start_y) - 150;
cameraView.z = (-(_root.camera._y - 150)) * _root.camera.multiplier_speed;
cameraView.rotation = (_root.camera._rotation * Math.PI) / 180;
if (cameraView.upAngle > 0.8) {
cameraView.upAngle = 0.8;
}
if (cameraView.upAngle < -0.8) {
cameraView.upAngle = -0.8;
}
for (i in objectsInScene) {
objectsInScene[i].display();
}
var _local2 = cameraView.upAngle;
distance = 9999999 /* 0x98967F */;
y = (Math.cos(_local2) * cameraView.y) - (Math.sin(_local2) * distance);
z = (Math.sin(_local2) * cameraView.y) + (Math.cos(_local2) * distance);
var _local3 = focalLength / (focalLength + z);
ground._y = theScene._y + (y * _local3);
}
};
theScene.onEnterFrame = lookAround;
theGround.onEnterFrame = lookAround;
Instance of Symbol 211 MovieClip "detup" in Frame 175
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y++;
}
}
Instance of Symbol 211 MovieClip "detleft" in Frame 175
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._x++;
}
}
Instance of Symbol 211 MovieClip "detright" in Frame 175
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._x--;
}
}
Instance of Symbol 211 MovieClip "detdown" in Frame 175
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y--;
}
}
Instance of Symbol 396 MovieClip "theplayer" in Frame 175
onClipEvent (load) {
_visible = false;
un_name = "snowball";
o_z = 0;
jumpheight = 0;
layer = 1;
spd = 0;
maxspd = 8;
multiplier_speed = 10;
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if (Key.isDown(38) || (Key.isDown(87))) {
spd = 2;
} else if (Key.isDown(40) || (Key.isDown(83))) {
spd = -2;
} else {
spd = 0;
}
if (Key.isDown(65)) {
spds = -2;
_y = (_y + (spds * Math.cos((Math.PI/180) * (_rotation - 90))));
_x = (_x - (spds * Math.sin((Math.PI/180) * (_rotation - 90))));
} else if (Key.isDown(68)) {
spds = 2;
_y = (_y + (spds * Math.cos((Math.PI/180) * (_rotation - 90))));
_x = (_x - (spds * Math.sin((Math.PI/180) * (_rotation - 90))));
} else {
spds = 0;
}
_rotation = (_rotation + (int(Key.isDown(39) || (Key.isDown(69))) * 5));
_rotation = (_rotation - (int(Key.isDown(81) || (Key.isDown(37))) * 5));
}
Instance of Symbol 211 MovieClip in Frame 175
onClipEvent (load) {
_root.timer = 0;
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.timer < 90) {
_root.timer++;
}
if (!_root.pauser) {
mover = _root.sb_response;
if (mover > 0.5) {
mover = 0.5;
}
if ((_root.timer >= 90) && (_root.sb_weight > 100)) {
if (Key.isDown(37)) {
_root.sb_sidemovement = _root.sb_sidemovement + mover;
} else if (Key.isDown(39)) {
_root.sb_sidemovement = _root.sb_sidemovement - mover;
} else if (_root.sb_sidemovement < 0) {
_root.sb_sidemovement = _root.sb_sidemovement + mover;
} else if (_root.sb_sidemovement > 0) {
_root.sb_sidemovement = _root.sb_sidemovement - mover;
}
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "leaves";
o_z = -1000;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "leaves";
o_z = -1100;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "leaves";
o_z = -1100;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "leaves";
o_z = -1000;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 175
onClipEvent (load) {
un_name = "leaves";
o_z = -1000;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 398 MovieClip "camera" in Frame 175
onClipEvent (enterFrame) {
_rotation = _parent.theplayer._rotation;
_y = ((camdistance * Math.cos((Math.PI/180) * (-(_parent.theplayer._rotation + rotation_adder)))) + _parent.theplayer._y);
_x = ((camdistance * Math.sin((Math.PI/180) * (-(_parent.theplayer._rotation + rotation_adder)))) + _parent.theplayer._x);
}
Instance of Symbol 400 MovieClip "camera_look" in Frame 175
onClipEvent (enterFrame) {
_root.cameraView.upAngle = _rotation / 100;
}
Frame 176
stop();
Frame 177
turkeysleft = 8;
Frame 178
function displayArch() {
if ((_root[this.mycp].showme == 1) || (this.objecttype == "plane")) {
this._visible = true;
var _local7 = this.x - cameraView.x;
var _local6 = this.y - cameraView.y;
var _local3 = this.z - cameraView.z;
var _local9 = _local7;
var _local20 = _local6;
var _local8 = _local3;
if (this.objecttype == "a_sprite") {
var _local5 = Math.atan2(_local8, _local9) + 30;
var _local13 = Math.sqrt((_local9 * _local9) + (_local8 * _local8));
sn = Math.cos(_local5 + cameraView.rotation);
var _local14 = frameFromAngle(_local5, this._totalframes);
_local14 = frameFromAngle((_local5 + sn) + ((_root[this.mycp]._rotation * Math.PI) / 180), this._totalframes);
if (this._currentframe != _local14) {
this.gotoAndStop(_local14);
}
_local9 = Math.cos(_local5 + cameraView.rotation) * _local13;
_local8 = Math.sin(_local5 + cameraView.rotation) * _local13;
}
var _local16;
var _local15;
var _local11;
var _local4 = cameraView.rotation;
_local16 = (Math.cos(_local4) * _local7) - (Math.sin(_local4) * _local3);
_local11 = (Math.sin(_local4) * _local7) + (Math.cos(_local4) * _local3);
_local7 = _local16;
_local3 = _local11;
_local4 = cameraView.upAngle;
_local15 = (Math.cos(_local4) * _local6) - (Math.sin(_local4) * _local3);
_local11 = (Math.sin(_local4) * _local6) + (Math.cos(_local4) * _local3);
_local6 = _local15;
_local3 = _local11;
if (this.objecttype == "plane") {
this.clear();
this.lineStyle(this.lw, this.lc, this.la);
this.beginFill(this.fc, this.fa);
if (this.mybosses[0].my3d._visible == false) {
this.clear();
} else {
this.moveTo(this.mybosses[0].my3d._x, this.mybosses[0].my3d._y);
}
i = 1;
while (i < this.mybosses.length) {
if (this.mybosses[i].my3d._visible == false) {
this.clear();
break;
}
this.lineTo(this.mybosses[i].my3d._x, this.mybosses[i].my3d._y);
i++;
}
if (this.mybosses[0].my3d._visible == false) {
this.clear();
} else {
this.lineTo(this.mybosses[0].my3d._x, this.mybosses[0].my3d._y);
}
this.endFill();
}
if (_local3 > -100) {
var _local12 = focalLength / (focalLength + _local3);
if (this.objecttype != "plane") {
this._x = _local7 * _local12;
this._y = _local6 * _local12;
this._xscale = (this._yscale = 100 * _local12);
}
this.swapDepths(Math.round(-_local3));
} else {
this._visible = false;
}
if (this.objecttype != "light") {
var _local10 = Math.min((-_local3) / 30, 255);
this.col.setTransform({rb:_local10, gb:_local10, bb:_local10});
}
this.x = (_root[this.mycp]._x - 150) * 10;
this.z = (-(_root[this.mycp]._y - 150)) * 10;
this.y = _root[this.mycp].o_z;
_root[this.mycp].my3d = this;
} else {
this._visible = false;
}
}
function generate_entity(u_name, mycp, objecttype, layer, xx, yy, zz) {
if (layer == 1) {
attachedObj = _root.theScene.attachMovie(u_name, "entity" + _root.entity_count, _root.entity_count);
} else {
attachedObj = _root.theGround.attachMovie(u_name, "entity" + _root.entity_count, _root.entity_count);
}
attachedObj.x = xx;
attachedObj.y = yy;
attachedObj.z = zz;
attachedObj.mycp = mycp;
attachedObj.objecttype = objecttype;
attachedObj.display = _root.displayArch;
attachedObj.col = new Color(attachedObj);
_root.objectsInScene.push(attachedObj);
_root.entity_count++;
}
function generate_plane(mycp, mybosses, linecolor, lineweight, linealpha, fillcolor, fillalpha, layer) {
if (layer == 1) {
attachedObj = _root.theScene.createEmptyMovieClip("entity" + _root.entity_count, _root.entity_count);
} else {
attachedObj = _root.theGround.createEmptyMovieClip("entity" + _root.entity_count, _root.entity_count);
}
attachedObj.mycp = mycp;
attachedObj.lc = linecolor;
attachedObj.lw = lineweight;
attachedObj.la = linealpha;
attachedObj.fc = fillcolor;
attachedObj.fa = fillalpha;
attachedObj.mycp = mycp;
attachedObj.mybosses = mybosses;
attachedObj.objecttype = "plane";
attachedObj.display = _root.displayArch;
attachedObj.col = new Color(attachedObj);
_root.objectsInScene.push(attachedObj);
_root.entity_count++;
}
pauser = 0;
this.createEmptyMovieClip("theScene", 10);
theScene._x = Stage.width / 2;
theScene._y = Stage.height / 2;
this.createEmptyMovieClip("theGround", 0);
theGround._x = Stage.width / 2;
theGround._y = Stage.height / 2;
objectsInScene = new Array();
cameraView = new Object();
cameraView.x = (_root.camera._x - 150) * _root.camera.multiplier_speed;
cameraView.y = -200;
cameraView.z = (-(_root.camera._y - 150)) * _root.camera.multiplier_speed;
cameraView.rotation = 0;
cameraView.upAngle = 0.5;
focalLength = 400;
entity_count = 1;
frameFromAngle = function (r, frames) {
r = r % (Math.PI*2);
if (r < 0) {
r = r + (Math.PI*2);
}
return(Math.floor(1 + ((frames * r) / (Math.PI*2))));
};
lookAround = function () {
if (!_root.pauser) {
cameraView.x = (_root.camera._x - 150) * _root.camera.multiplier_speed;
cameraView.y = (_root.camera_look._y - _root.camera_look.start_y) - 150;
cameraView.z = (-(_root.camera._y - 150)) * _root.camera.multiplier_speed;
cameraView.rotation = (_root.camera._rotation * Math.PI) / 180;
if (cameraView.upAngle > 0.8) {
cameraView.upAngle = 0.8;
}
if (cameraView.upAngle < -0.8) {
cameraView.upAngle = -0.8;
}
for (i in objectsInScene) {
objectsInScene[i].display();
}
var _local2 = cameraView.upAngle;
distance = 9999999 /* 0x98967F */;
y = (Math.cos(_local2) * cameraView.y) - (Math.sin(_local2) * distance);
z = (Math.sin(_local2) * cameraView.y) + (Math.cos(_local2) * distance);
var _local3 = focalLength / (focalLength + z);
ground._y = theScene._y + (y * _local3);
}
};
theScene.onEnterFrame = lookAround;
theGround.onEnterFrame = lookAround;
Instance of Symbol 211 MovieClip "detup" in Frame 178
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y++;
}
}
Instance of Symbol 211 MovieClip "detleft" in Frame 178
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._x++;
}
}
Instance of Symbol 211 MovieClip "detright" in Frame 178
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._x--;
}
}
Instance of Symbol 211 MovieClip "detdown" in Frame 178
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y--;
}
}
Instance of Symbol 396 MovieClip "theplayer" in Frame 178
onClipEvent (load) {
_visible = false;
un_name = "snowball";
o_z = 0;
jumpheight = 0;
layer = 1;
spd = 0;
maxspd = 8;
multiplier_speed = 10;
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if (Key.isDown(38) || (Key.isDown(87))) {
spd = 2;
} else if (Key.isDown(40) || (Key.isDown(83))) {
spd = -2;
} else {
spd = 0;
}
if (Key.isDown(65)) {
spds = -2;
_y = (_y + (spds * Math.cos((Math.PI/180) * (_rotation - 90))));
_x = (_x - (spds * Math.sin((Math.PI/180) * (_rotation - 90))));
} else if (Key.isDown(68)) {
spds = 2;
_y = (_y + (spds * Math.cos((Math.PI/180) * (_rotation - 90))));
_x = (_x - (spds * Math.sin((Math.PI/180) * (_rotation - 90))));
} else {
spds = 0;
}
_rotation = (_rotation + (int(Key.isDown(39) || (Key.isDown(69))) * 5));
_rotation = (_rotation - (int(Key.isDown(81) || (Key.isDown(37))) * 5));
}
Instance of Symbol 211 MovieClip in Frame 178
onClipEvent (load) {
_root.timer = 0;
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.timer < 90) {
_root.timer++;
}
if (!_root.pauser) {
mover = _root.sb_response;
if (mover > 0.5) {
mover = 0.5;
}
if ((_root.timer >= 90) && (_root.sb_weight > 100)) {
if (Key.isDown(37)) {
_root.sb_sidemovement = _root.sb_sidemovement + mover;
} else if (Key.isDown(39)) {
_root.sb_sidemovement = _root.sb_sidemovement - mover;
} else if (_root.sb_sidemovement < 0) {
_root.sb_sidemovement = _root.sb_sidemovement + mover;
} else if (_root.sb_sidemovement > 0) {
_root.sb_sidemovement = _root.sb_sidemovement - mover;
}
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "leaves";
o_z = -1000;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "leaves";
o_z = -1100;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "leaves";
o_z = -1100;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "leaves";
o_z = -1000;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "leaves";
o_z = -1000;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 178
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 398 MovieClip "camera" in Frame 178
onClipEvent (enterFrame) {
_rotation = _parent.theplayer._rotation;
_y = ((camdistance * Math.cos((Math.PI/180) * (-(_parent.theplayer._rotation + rotation_adder)))) + _parent.theplayer._y);
_x = ((camdistance * Math.sin((Math.PI/180) * (-(_parent.theplayer._rotation + rotation_adder)))) + _parent.theplayer._x);
}
Instance of Symbol 400 MovieClip "camera_look" in Frame 178
onClipEvent (enterFrame) {
_root.cameraView.upAngle = _rotation / 100;
}
Frame 179
stop();
Frame 180
turkeysleft = 9;
Frame 181
function displayArch() {
if ((_root[this.mycp].showme == 1) || (this.objecttype == "plane")) {
this._visible = true;
var _local7 = this.x - cameraView.x;
var _local6 = this.y - cameraView.y;
var _local3 = this.z - cameraView.z;
var _local9 = _local7;
var _local20 = _local6;
var _local8 = _local3;
if (this.objecttype == "a_sprite") {
var _local5 = Math.atan2(_local8, _local9) + 30;
var _local13 = Math.sqrt((_local9 * _local9) + (_local8 * _local8));
sn = Math.cos(_local5 + cameraView.rotation);
var _local14 = frameFromAngle(_local5, this._totalframes);
_local14 = frameFromAngle((_local5 + sn) + ((_root[this.mycp]._rotation * Math.PI) / 180), this._totalframes);
if (this._currentframe != _local14) {
this.gotoAndStop(_local14);
}
_local9 = Math.cos(_local5 + cameraView.rotation) * _local13;
_local8 = Math.sin(_local5 + cameraView.rotation) * _local13;
}
var _local16;
var _local15;
var _local11;
var _local4 = cameraView.rotation;
_local16 = (Math.cos(_local4) * _local7) - (Math.sin(_local4) * _local3);
_local11 = (Math.sin(_local4) * _local7) + (Math.cos(_local4) * _local3);
_local7 = _local16;
_local3 = _local11;
_local4 = cameraView.upAngle;
_local15 = (Math.cos(_local4) * _local6) - (Math.sin(_local4) * _local3);
_local11 = (Math.sin(_local4) * _local6) + (Math.cos(_local4) * _local3);
_local6 = _local15;
_local3 = _local11;
if (this.objecttype == "plane") {
this.clear();
this.lineStyle(this.lw, this.lc, this.la);
this.beginFill(this.fc, this.fa);
if (this.mybosses[0].my3d._visible == false) {
this.clear();
} else {
this.moveTo(this.mybosses[0].my3d._x, this.mybosses[0].my3d._y);
}
i = 1;
while (i < this.mybosses.length) {
if (this.mybosses[i].my3d._visible == false) {
this.clear();
break;
}
this.lineTo(this.mybosses[i].my3d._x, this.mybosses[i].my3d._y);
i++;
}
if (this.mybosses[0].my3d._visible == false) {
this.clear();
} else {
this.lineTo(this.mybosses[0].my3d._x, this.mybosses[0].my3d._y);
}
this.endFill();
}
if (_local3 > -100) {
var _local12 = focalLength / (focalLength + _local3);
if (this.objecttype != "plane") {
this._x = _local7 * _local12;
this._y = _local6 * _local12;
this._xscale = (this._yscale = 100 * _local12);
}
this.swapDepths(Math.round(-_local3));
} else {
this._visible = false;
}
if (this.objecttype != "light") {
var _local10 = Math.min((-_local3) / 30, 255);
this.col.setTransform({rb:_local10, gb:_local10, bb:_local10});
}
this.x = (_root[this.mycp]._x - 150) * 10;
this.z = (-(_root[this.mycp]._y - 150)) * 10;
this.y = _root[this.mycp].o_z;
_root[this.mycp].my3d = this;
} else {
this._visible = false;
}
}
function generate_entity(u_name, mycp, objecttype, layer, xx, yy, zz) {
if (layer == 1) {
attachedObj = _root.theScene.attachMovie(u_name, "entity" + _root.entity_count, _root.entity_count);
} else {
attachedObj = _root.theGround.attachMovie(u_name, "entity" + _root.entity_count, _root.entity_count);
}
attachedObj.x = xx;
attachedObj.y = yy;
attachedObj.z = zz;
attachedObj.mycp = mycp;
attachedObj.objecttype = objecttype;
attachedObj.display = _root.displayArch;
attachedObj.col = new Color(attachedObj);
_root.objectsInScene.push(attachedObj);
_root.entity_count++;
}
function generate_plane(mycp, mybosses, linecolor, lineweight, linealpha, fillcolor, fillalpha, layer) {
if (layer == 1) {
attachedObj = _root.theScene.createEmptyMovieClip("entity" + _root.entity_count, _root.entity_count);
} else {
attachedObj = _root.theGround.createEmptyMovieClip("entity" + _root.entity_count, _root.entity_count);
}
attachedObj.mycp = mycp;
attachedObj.lc = linecolor;
attachedObj.lw = lineweight;
attachedObj.la = linealpha;
attachedObj.fc = fillcolor;
attachedObj.fa = fillalpha;
attachedObj.mycp = mycp;
attachedObj.mybosses = mybosses;
attachedObj.objecttype = "plane";
attachedObj.display = _root.displayArch;
attachedObj.col = new Color(attachedObj);
_root.objectsInScene.push(attachedObj);
_root.entity_count++;
}
pauser = 0;
this.createEmptyMovieClip("theScene", 10);
theScene._x = Stage.width / 2;
theScene._y = Stage.height / 2;
this.createEmptyMovieClip("theGround", 0);
theGround._x = Stage.width / 2;
theGround._y = Stage.height / 2;
objectsInScene = new Array();
cameraView = new Object();
cameraView.x = (_root.camera._x - 150) * _root.camera.multiplier_speed;
cameraView.y = -200;
cameraView.z = (-(_root.camera._y - 150)) * _root.camera.multiplier_speed;
cameraView.rotation = 0;
cameraView.upAngle = 0.5;
focalLength = 400;
entity_count = 1;
frameFromAngle = function (r, frames) {
r = r % (Math.PI*2);
if (r < 0) {
r = r + (Math.PI*2);
}
return(Math.floor(1 + ((frames * r) / (Math.PI*2))));
};
lookAround = function () {
if (!_root.pauser) {
cameraView.x = (_root.camera._x - 150) * _root.camera.multiplier_speed;
cameraView.y = (_root.camera_look._y - _root.camera_look.start_y) - 150;
cameraView.z = (-(_root.camera._y - 150)) * _root.camera.multiplier_speed;
cameraView.rotation = (_root.camera._rotation * Math.PI) / 180;
if (cameraView.upAngle > 0.8) {
cameraView.upAngle = 0.8;
}
if (cameraView.upAngle < -0.8) {
cameraView.upAngle = -0.8;
}
for (i in objectsInScene) {
objectsInScene[i].display();
}
var _local2 = cameraView.upAngle;
distance = 9999999 /* 0x98967F */;
y = (Math.cos(_local2) * cameraView.y) - (Math.sin(_local2) * distance);
z = (Math.sin(_local2) * cameraView.y) + (Math.cos(_local2) * distance);
var _local3 = focalLength / (focalLength + z);
ground._y = theScene._y + (y * _local3);
}
};
theScene.onEnterFrame = lookAround;
theGround.onEnterFrame = lookAround;
Instance of Symbol 211 MovieClip "detup" in Frame 181
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y++;
}
}
Instance of Symbol 211 MovieClip "detleft" in Frame 181
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._x++;
}
}
Instance of Symbol 211 MovieClip "detright" in Frame 181
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._x--;
}
}
Instance of Symbol 211 MovieClip "detdown" in Frame 181
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y--;
}
}
Instance of Symbol 396 MovieClip "theplayer" in Frame 181
onClipEvent (load) {
_visible = false;
un_name = "snowball";
o_z = 0;
jumpheight = 0;
layer = 1;
spd = 0;
maxspd = 8;
multiplier_speed = 10;
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if (Key.isDown(38) || (Key.isDown(87))) {
spd = 2;
} else if (Key.isDown(40) || (Key.isDown(83))) {
spd = -2;
} else {
spd = 0;
}
if (Key.isDown(65)) {
spds = -2;
_y = (_y + (spds * Math.cos((Math.PI/180) * (_rotation - 90))));
_x = (_x - (spds * Math.sin((Math.PI/180) * (_rotation - 90))));
} else if (Key.isDown(68)) {
spds = 2;
_y = (_y + (spds * Math.cos((Math.PI/180) * (_rotation - 90))));
_x = (_x - (spds * Math.sin((Math.PI/180) * (_rotation - 90))));
} else {
spds = 0;
}
_rotation = (_rotation + (int(Key.isDown(39) || (Key.isDown(69))) * 5));
_rotation = (_rotation - (int(Key.isDown(81) || (Key.isDown(37))) * 5));
}
Instance of Symbol 211 MovieClip in Frame 181
onClipEvent (load) {
_root.timer = 0;
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.timer < 90) {
_root.timer++;
}
if (!_root.pauser) {
mover = _root.sb_response;
if (mover > 0.5) {
mover = 0.5;
}
if ((_root.timer >= 90) && (_root.sb_weight > 100)) {
if (Key.isDown(37)) {
_root.sb_sidemovement = _root.sb_sidemovement + mover;
} else if (Key.isDown(39)) {
_root.sb_sidemovement = _root.sb_sidemovement - mover;
} else if (_root.sb_sidemovement < 0) {
_root.sb_sidemovement = _root.sb_sidemovement + mover;
} else if (_root.sb_sidemovement > 0) {
_root.sb_sidemovement = _root.sb_sidemovement - mover;
}
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "leaves";
o_z = -1000;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "leaves";
o_z = -1100;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 181
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 398 MovieClip "camera" in Frame 181
onClipEvent (enterFrame) {
_rotation = _parent.theplayer._rotation;
_y = ((camdistance * Math.cos((Math.PI/180) * (-(_parent.theplayer._rotation + rotation_adder)))) + _parent.theplayer._y);
_x = ((camdistance * Math.sin((Math.PI/180) * (-(_parent.theplayer._rotation + rotation_adder)))) + _parent.theplayer._x);
}
Instance of Symbol 400 MovieClip "camera_look" in Frame 181
onClipEvent (enterFrame) {
_root.cameraView.upAngle = _rotation / 100;
}
Frame 182
stop();
Frame 183
turkeysleft = 9;
Frame 184
function displayArch() {
if ((_root[this.mycp].showme == 1) || (this.objecttype == "plane")) {
this._visible = true;
var _local7 = this.x - cameraView.x;
var _local6 = this.y - cameraView.y;
var _local3 = this.z - cameraView.z;
var _local9 = _local7;
var _local20 = _local6;
var _local8 = _local3;
if (this.objecttype == "a_sprite") {
var _local5 = Math.atan2(_local8, _local9) + 30;
var _local13 = Math.sqrt((_local9 * _local9) + (_local8 * _local8));
sn = Math.cos(_local5 + cameraView.rotation);
var _local14 = frameFromAngle(_local5, this._totalframes);
_local14 = frameFromAngle((_local5 + sn) + ((_root[this.mycp]._rotation * Math.PI) / 180), this._totalframes);
if (this._currentframe != _local14) {
this.gotoAndStop(_local14);
}
_local9 = Math.cos(_local5 + cameraView.rotation) * _local13;
_local8 = Math.sin(_local5 + cameraView.rotation) * _local13;
}
var _local16;
var _local15;
var _local11;
var _local4 = cameraView.rotation;
_local16 = (Math.cos(_local4) * _local7) - (Math.sin(_local4) * _local3);
_local11 = (Math.sin(_local4) * _local7) + (Math.cos(_local4) * _local3);
_local7 = _local16;
_local3 = _local11;
_local4 = cameraView.upAngle;
_local15 = (Math.cos(_local4) * _local6) - (Math.sin(_local4) * _local3);
_local11 = (Math.sin(_local4) * _local6) + (Math.cos(_local4) * _local3);
_local6 = _local15;
_local3 = _local11;
if (this.objecttype == "plane") {
this.clear();
this.lineStyle(this.lw, this.lc, this.la);
this.beginFill(this.fc, this.fa);
if (this.mybosses[0].my3d._visible == false) {
this.clear();
} else {
this.moveTo(this.mybosses[0].my3d._x, this.mybosses[0].my3d._y);
}
i = 1;
while (i < this.mybosses.length) {
if (this.mybosses[i].my3d._visible == false) {
this.clear();
break;
}
this.lineTo(this.mybosses[i].my3d._x, this.mybosses[i].my3d._y);
i++;
}
if (this.mybosses[0].my3d._visible == false) {
this.clear();
} else {
this.lineTo(this.mybosses[0].my3d._x, this.mybosses[0].my3d._y);
}
this.endFill();
}
if (_local3 > -100) {
var _local12 = focalLength / (focalLength + _local3);
if (this.objecttype != "plane") {
this._x = _local7 * _local12;
this._y = _local6 * _local12;
this._xscale = (this._yscale = 100 * _local12);
}
this.swapDepths(Math.round(-_local3));
} else {
this._visible = false;
}
if (this.objecttype != "light") {
var _local10 = Math.min((-_local3) / 30, 255);
this.col.setTransform({rb:_local10, gb:_local10, bb:_local10});
}
this.x = (_root[this.mycp]._x - 150) * 10;
this.z = (-(_root[this.mycp]._y - 150)) * 10;
this.y = _root[this.mycp].o_z;
_root[this.mycp].my3d = this;
} else {
this._visible = false;
}
}
function generate_entity(u_name, mycp, objecttype, layer, xx, yy, zz) {
if (layer == 1) {
attachedObj = _root.theScene.attachMovie(u_name, "entity" + _root.entity_count, _root.entity_count);
} else {
attachedObj = _root.theGround.attachMovie(u_name, "entity" + _root.entity_count, _root.entity_count);
}
attachedObj.x = xx;
attachedObj.y = yy;
attachedObj.z = zz;
attachedObj.mycp = mycp;
attachedObj.objecttype = objecttype;
attachedObj.display = _root.displayArch;
attachedObj.col = new Color(attachedObj);
_root.objectsInScene.push(attachedObj);
_root.entity_count++;
}
function generate_plane(mycp, mybosses, linecolor, lineweight, linealpha, fillcolor, fillalpha, layer) {
if (layer == 1) {
attachedObj = _root.theScene.createEmptyMovieClip("entity" + _root.entity_count, _root.entity_count);
} else {
attachedObj = _root.theGround.createEmptyMovieClip("entity" + _root.entity_count, _root.entity_count);
}
attachedObj.mycp = mycp;
attachedObj.lc = linecolor;
attachedObj.lw = lineweight;
attachedObj.la = linealpha;
attachedObj.fc = fillcolor;
attachedObj.fa = fillalpha;
attachedObj.mycp = mycp;
attachedObj.mybosses = mybosses;
attachedObj.objecttype = "plane";
attachedObj.display = _root.displayArch;
attachedObj.col = new Color(attachedObj);
_root.objectsInScene.push(attachedObj);
_root.entity_count++;
}
pauser = 0;
this.createEmptyMovieClip("theScene", 10);
theScene._x = Stage.width / 2;
theScene._y = Stage.height / 2;
this.createEmptyMovieClip("theGround", 0);
theGround._x = Stage.width / 2;
theGround._y = Stage.height / 2;
objectsInScene = new Array();
cameraView = new Object();
cameraView.x = (_root.camera._x - 150) * _root.camera.multiplier_speed;
cameraView.y = -200;
cameraView.z = (-(_root.camera._y - 150)) * _root.camera.multiplier_speed;
cameraView.rotation = 0;
cameraView.upAngle = 0.5;
focalLength = 400;
entity_count = 1;
frameFromAngle = function (r, frames) {
r = r % (Math.PI*2);
if (r < 0) {
r = r + (Math.PI*2);
}
return(Math.floor(1 + ((frames * r) / (Math.PI*2))));
};
lookAround = function () {
if (!_root.pauser) {
cameraView.x = (_root.camera._x - 150) * _root.camera.multiplier_speed;
cameraView.y = (_root.camera_look._y - _root.camera_look.start_y) - 150;
cameraView.z = (-(_root.camera._y - 150)) * _root.camera.multiplier_speed;
cameraView.rotation = (_root.camera._rotation * Math.PI) / 180;
if (cameraView.upAngle > 0.8) {
cameraView.upAngle = 0.8;
}
if (cameraView.upAngle < -0.8) {
cameraView.upAngle = -0.8;
}
for (i in objectsInScene) {
objectsInScene[i].display();
}
var _local2 = cameraView.upAngle;
distance = 9999999 /* 0x98967F */;
y = (Math.cos(_local2) * cameraView.y) - (Math.sin(_local2) * distance);
z = (Math.sin(_local2) * cameraView.y) + (Math.cos(_local2) * distance);
var _local3 = focalLength / (focalLength + z);
ground._y = theScene._y + (y * _local3);
}
};
theScene.onEnterFrame = lookAround;
theGround.onEnterFrame = lookAround;
Instance of Symbol 211 MovieClip "detup" in Frame 184
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y++;
}
}
Instance of Symbol 211 MovieClip "detleft" in Frame 184
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._x++;
}
}
Instance of Symbol 211 MovieClip "detright" in Frame 184
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._x--;
}
}
Instance of Symbol 211 MovieClip "detdown" in Frame 184
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y--;
}
}
Instance of Symbol 396 MovieClip "theplayer" in Frame 184
onClipEvent (load) {
_visible = false;
un_name = "snowball";
o_z = 0;
jumpheight = 0;
layer = 1;
spd = 0;
maxspd = 8;
multiplier_speed = 10;
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if (Key.isDown(38) || (Key.isDown(87))) {
spd = 2;
} else if (Key.isDown(40) || (Key.isDown(83))) {
spd = -2;
} else {
spd = 0;
}
if (Key.isDown(65)) {
spds = -2;
_y = (_y + (spds * Math.cos((Math.PI/180) * (_rotation - 90))));
_x = (_x - (spds * Math.sin((Math.PI/180) * (_rotation - 90))));
} else if (Key.isDown(68)) {
spds = 2;
_y = (_y + (spds * Math.cos((Math.PI/180) * (_rotation - 90))));
_x = (_x - (spds * Math.sin((Math.PI/180) * (_rotation - 90))));
} else {
spds = 0;
}
_rotation = (_rotation + (int(Key.isDown(39) || (Key.isDown(69))) * 5));
_rotation = (_rotation - (int(Key.isDown(81) || (Key.isDown(37))) * 5));
}
Instance of Symbol 211 MovieClip in Frame 184
onClipEvent (load) {
_root.timer = 0;
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.timer < 90) {
_root.timer++;
}
if (!_root.pauser) {
mover = _root.sb_response;
if (mover > 0.5) {
mover = 0.5;
}
if ((_root.timer >= 90) && (_root.sb_weight > 100)) {
if (Key.isDown(37)) {
_root.sb_sidemovement = _root.sb_sidemovement + mover;
} else if (Key.isDown(39)) {
_root.sb_sidemovement = _root.sb_sidemovement - mover;
} else if (_root.sb_sidemovement < 0) {
_root.sb_sidemovement = _root.sb_sidemovement + mover;
} else if (_root.sb_sidemovement > 0) {
_root.sb_sidemovement = _root.sb_sidemovement - mover;
}
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1000;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1100;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1000;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1100;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1000;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1000;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 184
onClipEvent (load) {
un_name = "leaves";
o_z = -1000;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 398 MovieClip "camera" in Frame 184
onClipEvent (enterFrame) {
_rotation = _parent.theplayer._rotation;
_y = ((camdistance * Math.cos((Math.PI/180) * (-(_parent.theplayer._rotation + rotation_adder)))) + _parent.theplayer._y);
_x = ((camdistance * Math.sin((Math.PI/180) * (-(_parent.theplayer._rotation + rotation_adder)))) + _parent.theplayer._x);
}
Instance of Symbol 400 MovieClip "camera_look" in Frame 184
onClipEvent (enterFrame) {
_root.cameraView.upAngle = _rotation / 100;
}
Frame 185
stop();
Frame 186
turkeysleft = 10;
Frame 187
function displayArch() {
if ((_root[this.mycp].showme == 1) || (this.objecttype == "plane")) {
this._visible = true;
var _local7 = this.x - cameraView.x;
var _local6 = this.y - cameraView.y;
var _local3 = this.z - cameraView.z;
var _local9 = _local7;
var _local20 = _local6;
var _local8 = _local3;
if (this.objecttype == "a_sprite") {
var _local5 = Math.atan2(_local8, _local9) + 30;
var _local13 = Math.sqrt((_local9 * _local9) + (_local8 * _local8));
sn = Math.cos(_local5 + cameraView.rotation);
var _local14 = frameFromAngle(_local5, this._totalframes);
_local14 = frameFromAngle((_local5 + sn) + ((_root[this.mycp]._rotation * Math.PI) / 180), this._totalframes);
if (this._currentframe != _local14) {
this.gotoAndStop(_local14);
}
_local9 = Math.cos(_local5 + cameraView.rotation) * _local13;
_local8 = Math.sin(_local5 + cameraView.rotation) * _local13;
}
var _local16;
var _local15;
var _local11;
var _local4 = cameraView.rotation;
_local16 = (Math.cos(_local4) * _local7) - (Math.sin(_local4) * _local3);
_local11 = (Math.sin(_local4) * _local7) + (Math.cos(_local4) * _local3);
_local7 = _local16;
_local3 = _local11;
_local4 = cameraView.upAngle;
_local15 = (Math.cos(_local4) * _local6) - (Math.sin(_local4) * _local3);
_local11 = (Math.sin(_local4) * _local6) + (Math.cos(_local4) * _local3);
_local6 = _local15;
_local3 = _local11;
if (this.objecttype == "plane") {
this.clear();
this.lineStyle(this.lw, this.lc, this.la);
this.beginFill(this.fc, this.fa);
if (this.mybosses[0].my3d._visible == false) {
this.clear();
} else {
this.moveTo(this.mybosses[0].my3d._x, this.mybosses[0].my3d._y);
}
i = 1;
while (i < this.mybosses.length) {
if (this.mybosses[i].my3d._visible == false) {
this.clear();
break;
}
this.lineTo(this.mybosses[i].my3d._x, this.mybosses[i].my3d._y);
i++;
}
if (this.mybosses[0].my3d._visible == false) {
this.clear();
} else {
this.lineTo(this.mybosses[0].my3d._x, this.mybosses[0].my3d._y);
}
this.endFill();
}
if (_local3 > -100) {
var _local12 = focalLength / (focalLength + _local3);
if (this.objecttype != "plane") {
this._x = _local7 * _local12;
this._y = _local6 * _local12;
this._xscale = (this._yscale = 100 * _local12);
}
this.swapDepths(Math.round(-_local3));
} else {
this._visible = false;
}
if (this.objecttype != "light") {
var _local10 = Math.min((-_local3) / 30, 255);
this.col.setTransform({rb:_local10, gb:_local10, bb:_local10});
}
this.x = (_root[this.mycp]._x - 150) * 10;
this.z = (-(_root[this.mycp]._y - 150)) * 10;
this.y = _root[this.mycp].o_z;
_root[this.mycp].my3d = this;
} else {
this._visible = false;
}
}
function generate_entity(u_name, mycp, objecttype, layer, xx, yy, zz) {
if (layer == 1) {
attachedObj = _root.theScene.attachMovie(u_name, "entity" + _root.entity_count, _root.entity_count);
} else {
attachedObj = _root.theGround.attachMovie(u_name, "entity" + _root.entity_count, _root.entity_count);
}
attachedObj.x = xx;
attachedObj.y = yy;
attachedObj.z = zz;
attachedObj.mycp = mycp;
attachedObj.objecttype = objecttype;
attachedObj.display = _root.displayArch;
attachedObj.col = new Color(attachedObj);
_root.objectsInScene.push(attachedObj);
_root.entity_count++;
}
function generate_plane(mycp, mybosses, linecolor, lineweight, linealpha, fillcolor, fillalpha, layer) {
if (layer == 1) {
attachedObj = _root.theScene.createEmptyMovieClip("entity" + _root.entity_count, _root.entity_count);
} else {
attachedObj = _root.theGround.createEmptyMovieClip("entity" + _root.entity_count, _root.entity_count);
}
attachedObj.mycp = mycp;
attachedObj.lc = linecolor;
attachedObj.lw = lineweight;
attachedObj.la = linealpha;
attachedObj.fc = fillcolor;
attachedObj.fa = fillalpha;
attachedObj.mycp = mycp;
attachedObj.mybosses = mybosses;
attachedObj.objecttype = "plane";
attachedObj.display = _root.displayArch;
attachedObj.col = new Color(attachedObj);
_root.objectsInScene.push(attachedObj);
_root.entity_count++;
}
pauser = 0;
this.createEmptyMovieClip("theScene", 10);
theScene._x = Stage.width / 2;
theScene._y = Stage.height / 2;
this.createEmptyMovieClip("theGround", 0);
theGround._x = Stage.width / 2;
theGround._y = Stage.height / 2;
objectsInScene = new Array();
cameraView = new Object();
cameraView.x = (_root.camera._x - 150) * _root.camera.multiplier_speed;
cameraView.y = -200;
cameraView.z = (-(_root.camera._y - 150)) * _root.camera.multiplier_speed;
cameraView.rotation = 0;
cameraView.upAngle = 0.5;
focalLength = 400;
entity_count = 1;
frameFromAngle = function (r, frames) {
r = r % (Math.PI*2);
if (r < 0) {
r = r + (Math.PI*2);
}
return(Math.floor(1 + ((frames * r) / (Math.PI*2))));
};
lookAround = function () {
if (!_root.pauser) {
cameraView.x = (_root.camera._x - 150) * _root.camera.multiplier_speed;
cameraView.y = (_root.camera_look._y - _root.camera_look.start_y) - 150;
cameraView.z = (-(_root.camera._y - 150)) * _root.camera.multiplier_speed;
cameraView.rotation = (_root.camera._rotation * Math.PI) / 180;
if (cameraView.upAngle > 0.8) {
cameraView.upAngle = 0.8;
}
if (cameraView.upAngle < -0.8) {
cameraView.upAngle = -0.8;
}
for (i in objectsInScene) {
objectsInScene[i].display();
}
var _local2 = cameraView.upAngle;
distance = 9999999 /* 0x98967F */;
y = (Math.cos(_local2) * cameraView.y) - (Math.sin(_local2) * distance);
z = (Math.sin(_local2) * cameraView.y) + (Math.cos(_local2) * distance);
var _local3 = focalLength / (focalLength + z);
ground._y = theScene._y + (y * _local3);
}
};
theScene.onEnterFrame = lookAround;
theGround.onEnterFrame = lookAround;
Instance of Symbol 211 MovieClip "detup" in Frame 187
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y++;
}
}
Instance of Symbol 211 MovieClip "detleft" in Frame 187
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._x++;
}
}
Instance of Symbol 211 MovieClip "detright" in Frame 187
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._x--;
}
}
Instance of Symbol 211 MovieClip "detdown" in Frame 187
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y--;
}
}
Instance of Symbol 396 MovieClip "theplayer" in Frame 187
onClipEvent (load) {
_visible = false;
un_name = "snowball";
o_z = 0;
jumpheight = 0;
layer = 1;
spd = 0;
maxspd = 8;
multiplier_speed = 10;
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if (Key.isDown(38) || (Key.isDown(87))) {
spd = 2;
} else if (Key.isDown(40) || (Key.isDown(83))) {
spd = -2;
} else {
spd = 0;
}
if (Key.isDown(65)) {
spds = -2;
_y = (_y + (spds * Math.cos((Math.PI/180) * (_rotation - 90))));
_x = (_x - (spds * Math.sin((Math.PI/180) * (_rotation - 90))));
} else if (Key.isDown(68)) {
spds = 2;
_y = (_y + (spds * Math.cos((Math.PI/180) * (_rotation - 90))));
_x = (_x - (spds * Math.sin((Math.PI/180) * (_rotation - 90))));
} else {
spds = 0;
}
_rotation = (_rotation + (int(Key.isDown(39) || (Key.isDown(69))) * 5));
_rotation = (_rotation - (int(Key.isDown(81) || (Key.isDown(37))) * 5));
}
Instance of Symbol 211 MovieClip in Frame 187
onClipEvent (load) {
_root.timer = 0;
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.timer < 90) {
_root.timer++;
}
if (!_root.pauser) {
mover = _root.sb_response;
if (mover > 0.5) {
mover = 0.5;
}
if ((_root.timer >= 90) && (_root.sb_weight > 100)) {
if (Key.isDown(37)) {
_root.sb_sidemovement = _root.sb_sidemovement + mover;
} else if (Key.isDown(39)) {
_root.sb_sidemovement = _root.sb_sidemovement - mover;
} else if (_root.sb_sidemovement < 0) {
_root.sb_sidemovement = _root.sb_sidemovement + mover;
} else if (_root.sb_sidemovement > 0) {
_root.sb_sidemovement = _root.sb_sidemovement - mover;
}
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "leaves";
o_z = -1000;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "leaves";
o_z = -1100;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "leaves";
o_z = -1000;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "leaves";
o_z = -1100;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 187
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 398 MovieClip "camera" in Frame 187
onClipEvent (enterFrame) {
_rotation = _parent.theplayer._rotation;
_y = ((camdistance * Math.cos((Math.PI/180) * (-(_parent.theplayer._rotation + rotation_adder)))) + _parent.theplayer._y);
_x = ((camdistance * Math.sin((Math.PI/180) * (-(_parent.theplayer._rotation + rotation_adder)))) + _parent.theplayer._x);
}
Instance of Symbol 400 MovieClip "camera_look" in Frame 187
onClipEvent (enterFrame) {
_root.cameraView.upAngle = _rotation / 100;
}
Frame 188
stop();
Frame 189
turkeysleft = 10;
Frame 190
function displayArch() {
if ((_root[this.mycp].showme == 1) || (this.objecttype == "plane")) {
this._visible = true;
var _local7 = this.x - cameraView.x;
var _local6 = this.y - cameraView.y;
var _local3 = this.z - cameraView.z;
var _local9 = _local7;
var _local20 = _local6;
var _local8 = _local3;
if (this.objecttype == "a_sprite") {
var _local5 = Math.atan2(_local8, _local9) + 30;
var _local13 = Math.sqrt((_local9 * _local9) + (_local8 * _local8));
sn = Math.cos(_local5 + cameraView.rotation);
var _local14 = frameFromAngle(_local5, this._totalframes);
_local14 = frameFromAngle((_local5 + sn) + ((_root[this.mycp]._rotation * Math.PI) / 180), this._totalframes);
if (this._currentframe != _local14) {
this.gotoAndStop(_local14);
}
_local9 = Math.cos(_local5 + cameraView.rotation) * _local13;
_local8 = Math.sin(_local5 + cameraView.rotation) * _local13;
}
var _local16;
var _local15;
var _local11;
var _local4 = cameraView.rotation;
_local16 = (Math.cos(_local4) * _local7) - (Math.sin(_local4) * _local3);
_local11 = (Math.sin(_local4) * _local7) + (Math.cos(_local4) * _local3);
_local7 = _local16;
_local3 = _local11;
_local4 = cameraView.upAngle;
_local15 = (Math.cos(_local4) * _local6) - (Math.sin(_local4) * _local3);
_local11 = (Math.sin(_local4) * _local6) + (Math.cos(_local4) * _local3);
_local6 = _local15;
_local3 = _local11;
if (this.objecttype == "plane") {
this.clear();
this.lineStyle(this.lw, this.lc, this.la);
this.beginFill(this.fc, this.fa);
if (this.mybosses[0].my3d._visible == false) {
this.clear();
} else {
this.moveTo(this.mybosses[0].my3d._x, this.mybosses[0].my3d._y);
}
i = 1;
while (i < this.mybosses.length) {
if (this.mybosses[i].my3d._visible == false) {
this.clear();
break;
}
this.lineTo(this.mybosses[i].my3d._x, this.mybosses[i].my3d._y);
i++;
}
if (this.mybosses[0].my3d._visible == false) {
this.clear();
} else {
this.lineTo(this.mybosses[0].my3d._x, this.mybosses[0].my3d._y);
}
this.endFill();
}
if (_local3 > -100) {
var _local12 = focalLength / (focalLength + _local3);
if (this.objecttype != "plane") {
this._x = _local7 * _local12;
this._y = _local6 * _local12;
this._xscale = (this._yscale = 100 * _local12);
}
this.swapDepths(Math.round(-_local3));
} else {
this._visible = false;
}
if (this.objecttype != "light") {
var _local10 = Math.min((-_local3) / 30, 255);
this.col.setTransform({rb:_local10, gb:_local10, bb:_local10});
}
this.x = (_root[this.mycp]._x - 150) * 10;
this.z = (-(_root[this.mycp]._y - 150)) * 10;
this.y = _root[this.mycp].o_z;
_root[this.mycp].my3d = this;
} else {
this._visible = false;
}
}
function generate_entity(u_name, mycp, objecttype, layer, xx, yy, zz) {
if (layer == 1) {
attachedObj = _root.theScene.attachMovie(u_name, "entity" + _root.entity_count, _root.entity_count);
} else {
attachedObj = _root.theGround.attachMovie(u_name, "entity" + _root.entity_count, _root.entity_count);
}
attachedObj.x = xx;
attachedObj.y = yy;
attachedObj.z = zz;
attachedObj.mycp = mycp;
attachedObj.objecttype = objecttype;
attachedObj.display = _root.displayArch;
attachedObj.col = new Color(attachedObj);
_root.objectsInScene.push(attachedObj);
_root.entity_count++;
}
function generate_plane(mycp, mybosses, linecolor, lineweight, linealpha, fillcolor, fillalpha, layer) {
if (layer == 1) {
attachedObj = _root.theScene.createEmptyMovieClip("entity" + _root.entity_count, _root.entity_count);
} else {
attachedObj = _root.theGround.createEmptyMovieClip("entity" + _root.entity_count, _root.entity_count);
}
attachedObj.mycp = mycp;
attachedObj.lc = linecolor;
attachedObj.lw = lineweight;
attachedObj.la = linealpha;
attachedObj.fc = fillcolor;
attachedObj.fa = fillalpha;
attachedObj.mycp = mycp;
attachedObj.mybosses = mybosses;
attachedObj.objecttype = "plane";
attachedObj.display = _root.displayArch;
attachedObj.col = new Color(attachedObj);
_root.objectsInScene.push(attachedObj);
_root.entity_count++;
}
pauser = 0;
this.createEmptyMovieClip("theScene", 10);
theScene._x = Stage.width / 2;
theScene._y = Stage.height / 2;
this.createEmptyMovieClip("theGround", 0);
theGround._x = Stage.width / 2;
theGround._y = Stage.height / 2;
objectsInScene = new Array();
cameraView = new Object();
cameraView.x = (_root.camera._x - 150) * _root.camera.multiplier_speed;
cameraView.y = -200;
cameraView.z = (-(_root.camera._y - 150)) * _root.camera.multiplier_speed;
cameraView.rotation = 0;
cameraView.upAngle = 0.5;
focalLength = 400;
entity_count = 1;
frameFromAngle = function (r, frames) {
r = r % (Math.PI*2);
if (r < 0) {
r = r + (Math.PI*2);
}
return(Math.floor(1 + ((frames * r) / (Math.PI*2))));
};
lookAround = function () {
if (!_root.pauser) {
cameraView.x = (_root.camera._x - 150) * _root.camera.multiplier_speed;
cameraView.y = (_root.camera_look._y - _root.camera_look.start_y) - 150;
cameraView.z = (-(_root.camera._y - 150)) * _root.camera.multiplier_speed;
cameraView.rotation = (_root.camera._rotation * Math.PI) / 180;
if (cameraView.upAngle > 0.8) {
cameraView.upAngle = 0.8;
}
if (cameraView.upAngle < -0.8) {
cameraView.upAngle = -0.8;
}
for (i in objectsInScene) {
objectsInScene[i].display();
}
var _local2 = cameraView.upAngle;
distance = 9999999 /* 0x98967F */;
y = (Math.cos(_local2) * cameraView.y) - (Math.sin(_local2) * distance);
z = (Math.sin(_local2) * cameraView.y) + (Math.cos(_local2) * distance);
var _local3 = focalLength / (focalLength + z);
ground._y = theScene._y + (y * _local3);
}
};
theScene.onEnterFrame = lookAround;
theGround.onEnterFrame = lookAround;
Instance of Symbol 211 MovieClip "detup" in Frame 190
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y++;
}
}
Instance of Symbol 211 MovieClip "detleft" in Frame 190
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._x++;
}
}
Instance of Symbol 211 MovieClip "detright" in Frame 190
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._x--;
}
}
Instance of Symbol 211 MovieClip "detdown" in Frame 190
onClipEvent (enterFrame) {
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y--;
}
}
Instance of Symbol 396 MovieClip "theplayer" in Frame 190
onClipEvent (load) {
_visible = false;
un_name = "snowball";
o_z = 0;
jumpheight = 0;
layer = 1;
spd = 0;
maxspd = 8;
multiplier_speed = 10;
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
if (Key.isDown(38) || (Key.isDown(87))) {
spd = 2;
} else if (Key.isDown(40) || (Key.isDown(83))) {
spd = -2;
} else {
spd = 0;
}
if (Key.isDown(65)) {
spds = -2;
_y = (_y + (spds * Math.cos((Math.PI/180) * (_rotation - 90))));
_x = (_x - (spds * Math.sin((Math.PI/180) * (_rotation - 90))));
} else if (Key.isDown(68)) {
spds = 2;
_y = (_y + (spds * Math.cos((Math.PI/180) * (_rotation - 90))));
_x = (_x - (spds * Math.sin((Math.PI/180) * (_rotation - 90))));
} else {
spds = 0;
}
_rotation = (_rotation + (int(Key.isDown(39) || (Key.isDown(69))) * 5));
_rotation = (_rotation - (int(Key.isDown(81) || (Key.isDown(37))) * 5));
}
Instance of Symbol 211 MovieClip in Frame 190
onClipEvent (load) {
_root.timer = 0;
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.timer < 90) {
_root.timer++;
}
if (!_root.pauser) {
mover = _root.sb_response;
if (mover > 0.5) {
mover = 0.5;
}
if ((_root.timer >= 90) && (_root.sb_weight > 100)) {
if (Key.isDown(37)) {
_root.sb_sidemovement = _root.sb_sidemovement + mover;
} else if (Key.isDown(39)) {
_root.sb_sidemovement = _root.sb_sidemovement - mover;
} else if (_root.sb_sidemovement < 0) {
_root.sb_sidemovement = _root.sb_sidemovement + mover;
} else if (_root.sb_sidemovement > 0) {
_root.sb_sidemovement = _root.sb_sidemovement - mover;
}
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "groundleaves";
o_z = 0;
objecttype = "sprite";
layer = 2;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "rock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1000;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1100;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1000;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1100;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "turkey";
o_z = 0;
objecttype = "a_sprite";
layer = 1;
dead = 0;
timer = 0;
walking = 1;
speed = 1 * Math.ceil(_root.skilllevel / 2);
}
onClipEvent (enterFrame) {
if (!dead) {
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if ((timer % 100) == 0) {
_rotation = random(360);
((random(4) == 0) ? ((walking = 0)) : ((walking = 1)));
}
if (walking) {
spd = speed;
} else {
spd = 0;
}
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
while (this.hitTest(_root.detup)) {
_y = (_y+1);
}
while (this.hitTest(_root.detdown)) {
_y = (_y-1);
}
while (this.hitTest(_root.detleft)) {
_x = (_x+1);
}
while (this.hitTest(_root.detright)) {
_x = (_x-1);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bigrock";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1000;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1100;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1000;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1100;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "tree";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.theplayer)) {
targetrotation = Math.round((Math.atan2(this._y - _root.theplayer._y, this._x - _root.theplayer._x) * 180) / Math.PI) + 90;
while (this.hitTest(_root.theplayer)) {
_root.theplayer._y = _root.theplayer._y + Math.cos((Math.PI/180) * targetrotation);
_root.theplayer._x = _root.theplayer._x - Math.sin((Math.PI/180) * targetrotation);
}
}
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1300;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1500;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1600;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1000;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "leaves";
o_z = -1100;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 279 MovieClip [object_point] in Frame 190
onClipEvent (load) {
un_name = "bush";
o_z = 0;
objecttype = "sprite";
layer = 1;
}
Instance of Symbol 398 MovieClip "camera" in Frame 190
onClipEvent (enterFrame) {
_rotation = _parent.theplayer._rotation;
_y = ((camdistance * Math.cos((Math.PI/180) * (-(_parent.theplayer._rotation + rotation_adder)))) + _parent.theplayer._y);
_x = ((camdistance * Math.sin((Math.PI/180) * (-(_parent.theplayer._rotation + rotation_adder)))) + _parent.theplayer._x);
}
Instance of Symbol 400 MovieClip "camera_look" in Frame 190
onClipEvent (enterFrame) {
_root.cameraView.upAngle = _rotation / 100;
}
Frame 191
stop();
Frame 192
indi.unloadMovie();
indi.removeMovieClip();
thegun.unloadMovie();
thegun.removeMovieClip();
theScene.unloadMovie();
theScene.removeMovieClip();
theGround.unloadMovie();
theGround.removeMovieClip();
crosshair.unloadMovie();
crosshair.removeMovieClip();
faderer.unloadMovie();
faderer.removeMovieClip();
Mouse.show();
_quality = "HIGH";
_root.sukof = _root.suko * _root.multiplier;
unique_id = _root.sukof;
Frame 202
stop();
Frame 203
stop();
Frame 204
indi.unloadMovie();
indi.removeMovieClip();
thegun.unloadMovie();
thegun.removeMovieClip();
theScene.unloadMovie();
theScene.removeMovieClip();
theGround.unloadMovie();
theGround.removeMovieClip();
crosshair.unloadMovie();
crosshair.removeMovieClip();
faderer.unloadMovie();
faderer.removeMovieClip();
_quality = "HIGH";
Mouse.show();
_root.sukof = _root.suko * _root.multiplier;
unique_id = _root.sukof;
Frame 214
stop();
Frame 215
stop();
Instance of Symbol 4 MovieClip in Symbol 5 MovieClip [snowball] Frame 1
onClipEvent (enterFrame) {
_width = (40 + (_root.sb_weight / 20));
_yscale = _xscale;
}
Symbol 5 MovieClip [snowball] Frame 2
stop();
Symbol 23 Button
on (release) {
_root.play();
}
Symbol 24 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
this.gotoAndStop(2);
}
};
stop();
Instance of Symbol 18 MovieClip in Symbol 24 MovieClip Frame 1
onClipEvent (enterFrame) {
_xscale = ((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
}
Symbol 24 MovieClip Frame 2
stop();
Symbol 25 Button
on (release) {
getURL ("http://tamugaia.com", "_blank");
}
Symbol 93 MovieClip Frame 1
_root.stop();
Symbol 93 MovieClip Frame 2
if (this.getBytesLoaded() != this.getBytesTotal()) {
this.gotoAndPlay(1);
}
Symbol 93 MovieClip Frame 431
gotoAndPlay (3);
Symbol 101 MovieClip Frame 7
stop();
Symbol 106 MovieClip Frame 7
stop();
Symbol 109 Button
on (release) {
getURL ("http://tamugaia.com", "_blank");
}
Symbol 124 MovieClip Frame 7
stop();
Symbol 125 MovieClip Frame 7
stop();
Symbol 127 Button
on (release) {
getURL ("http://armorgames.com", "_blank");
}
Symbol 166 MovieClip Frame 1
_root.stop();
Symbol 166 MovieClip Frame 84
_root.play();
Symbol 175 MovieClip Frame 1
suku = 0;
this.onEnterFrame = function () {
if ((random(5) == 0) && (suku == 0)) {
play();
suku = 1;
}
};
stop();
Symbol 175 MovieClip Frame 14
stop();
Symbol 198 MovieClip Frame 1
_root.stop();
Symbol 198 MovieClip Frame 168
_root.play();
Symbol 211 MovieClip Frame 1
_visible = false;
Symbol 212 MovieClip [tree] Frame 1
this.onEnterFrame = function () {
if (_root.crosshair.det.hitTest(this.det) && (_root.thegun.shooting == 1)) {
tete = this.attachMovie("smoke", "point" + _root.effects, _root.effects);
tete._x = _xmouse;
tete._y = _ymouse;
_root.effects++;
((_root.effects > 60) ? ((_root.effects = 21)) : null);
if (_visible == true) {
_root.mykenak.push(this.getDepth());
}
_root.mystuff.push(_root[mycp].un_name);
}
};
Symbol 218 MovieClip Frame 1
if (_parent.siliau) {
_visible = false;
}
this.onEnterFrame = function () {
if (_parent.siliau) {
_visible = false;
}
};
Symbol 241 MovieClip Frame 1
_visible = false;
stop();
Symbol 241 MovieClip Frame 2
mysk = _parent.scoresupport + 100;
_visible = true;
Symbol 241 MovieClip Frame 116
_root[_parent.mycp].unloadMovie();
_parent.unloadMovie();
Symbol 245 MovieClip Frame 1
if (_parent.siliau) {
_visible = false;
}
this.onEnterFrame = function () {
if (_parent.siliau) {
_visible = false;
}
};
Symbol 248 MovieClip Frame 1
if (_parent.siliau) {
_visible = false;
}
this.onEnterFrame = function () {
if (_parent.siliau) {
_visible = false;
}
};
Symbol 252 MovieClip Frame 1
if (_parent.siliau) {
_visible = false;
}
this.onEnterFrame = function () {
if (_parent.siliau) {
_visible = false;
}
};
Symbol 256 MovieClip Frame 1
if (_parent.siliau) {
_visible = false;
}
this.onEnterFrame = function () {
if (_parent.siliau) {
_visible = false;
}
};
Symbol 257 MovieClip [turkey] Frame 1
this.onEnterFrame = function () {
if (upop != 1) {
scoresupport = 30;
timer = 1;
gobadder = random(100) - 50;
gob = new Sound();
}
upop = 1;
timer++;
((timer > 1000) ? ((timer = 0)) : null);
if (((timer % (150 + gobadder)) == 0) && (siliau != 1)) {
gob.attachSound("turkey" + (random(7) + 1));
gobadder = random(100) - 50;
gob.start();
}
if (((timer % 30) == 0) && (scoresupport > 0)) {
scoresupport--;
}
if (_root.crosshair.det.hitTest(this.det) && (_root.thegun.shooting == 2)) {
mydep = this.getDepth();
shootable = 1;
for (i in _root.mykenak) {
if (_root.mykenak[i] >= mydep) {
shootable = 0;
break;
}
}
if (shootable) {
_root.hitturkey++;
_root.suko = _root.suko + (100 + scoresupport);
_root.turkeysleft--;
siliau = 1;
die.play();
det.unloadMovie();
_root[mycp].dead = 1;
}
}
};
Symbol 259 MovieClip [dot] Frame 1
stop();
Symbol 265 MovieClip [bush] Frame 1
this.onEnterFrame = function () {
if (_root.crosshair.det.hitTest(this.det) && (_root.thegun.shooting == 1)) {
tete = this.attachMovie("leaves_blah", "point" + _root.effects, _root.effects);
tete._x = _xmouse;
tete._y = _ymouse;
_root.effects++;
((_root.effects > 60) ? ((_root.effects = 21)) : null);
if (_visible == true) {
_root.mykenak.push(this.getDepth());
}
_root.mystuff.push(_root[mycp].un_name);
}
};
Symbol 271 MovieClip [rock] Frame 1
this.onEnterFrame = function () {
if (_root.crosshair.det.hitTest(this.det) && (_root.thegun.shooting == 1)) {
if (_visible == true) {
tete = this.attachMovie("ricochet", "point" + _root.effects, _root.effects);
tete._x = _xmouse;
tete._y = _ymouse;
_root.effects++;
((_root.effects > 60) ? ((_root.effects = 21)) : null);
_root.mykenak.push(this.getDepth());
}
_root.mystuff.push(_root[mycp].un_name);
}
};
Symbol 274 MovieClip [bigrock] Frame 1
this.onEnterFrame = function () {
if (_root.crosshair.det.hitTest(this.det) && (_root.thegun.shooting == 1)) {
if (_visible == true) {
tete = this.attachMovie("ricochet", "point" + _root.effects, _root.effects);
tete._x = _xmouse;
tete._y = _ymouse;
_root.effects++;
((_root.effects > 60) ? ((_root.effects = 21)) : null);
_root.mykenak.push(this.getDepth());
}
_root.mystuff.push(_root[mycp].un_name);
}
};
Symbol 277 MovieClip [smoke] Frame 15
this.unloadMovie();
Symbol 279 MovieClip [object_point] Frame 1
mycp = _name;
_visible = false;
_root.generate_entity(un_name, mycp, objecttype, layer, (_x - 150) * _root.camera.multiplier_speed, jump_position, (-(_y - 150)) * _root.sprite.multiplier_speed);
this.onEnterFrame = function () {
showme = 1;
};
Symbol 282 MovieClip [leaves_blah] Frame 15
this.unloadMovie();
Symbol 286 MovieClip [ricochet] Frame 1
_rotation = random(360);
Symbol 286 MovieClip [ricochet] Frame 2
uat = new Sound();
uat.attachSound("ric" + random(2));
uat.start();
Symbol 286 MovieClip [ricochet] Frame 8
this.unloadMovie();
Symbol 306 Button
on (press) {
_root.play();
}
Symbol 307 Button
on (press) {
getURL ("http://armorgames.com", "_blank");
}
Symbol 308 Button
on (press) {
getURL ("http://tamugaia.com", "_blank");
}
Symbol 336 Button
on (press) {
_root.gotoAndPlay("mainmenu");
}
Symbol 340 Button
on (press) {
_root.gotoAndPlay("controls");
}
Symbol 346 Button
on (press) {
_root.gotoAndPlay("info");
}
Symbol 368 MovieClip Frame 1
this.onEnterFrame = function () {
this.gotoAndStop(_root.turkeysleft + 1);
};
Instance of Symbol 211 MovieClip in Symbol 368 MovieClip Frame 1
onClipEvent (load) {
timer = 1;
}
onClipEvent (enterFrame) {
timer++;
if (timer > 180) {
_root.gotoAndPlay("startlevel");
}
}
Symbol 379 MovieClip Frame 1
this.onEnterFrame = function () {
this.gotoAndStop(_root.multiplios + 1);
};
Symbol 379 MovieClip Frame 6
_root.multiplier++;
_root.multiplios = 0;
Symbol 379 MovieClip Frame 7
_root.multiplier++;
_root.multiplios = 0;
Symbol 379 MovieClip Frame 8
_root.multiplier++;
_root.multiplios = 0;
Symbol 379 MovieClip Frame 9
_root.multiplier++;
_root.multiplios = 0;
Symbol 386 MovieClip Frame 1
this.onEnterFrame = function () {
this.gotoAndStop(_root.misses + 1);
if (_root.misses > 4) {
_root.gotoAndPlay("gameover");
}
};
Symbol 389 MovieClip Frame 1
this.swapDepths(100);
this.onEnterFrame = function () {
Mouse.hide();
};
this.startDrag(true);
Symbol 391 MovieClip Frame 14
stop();
Symbol 396 MovieClip Frame 1
mycp = _name;
showme = 1;
_root.generate_entity(un_name, mycp, objecttype, layer, (_x - 150) * _root.sprite.multiplier_speed, o_z, (-(_y - 150)) * _root.sprite.multiplier_speed);
this.onEnterFrame = function () {
};
Symbol 398 MovieClip Frame 1
_visible = false;
camdistance = -10;
_rotation = 0;
jumpheight = 0;
spd = 0;
multiplier_speed = 10;
rotation_adder = 0;
this.swapDepths(2);
o_z = -150;
Symbol 400 MovieClip Frame 1
start_y = _y;
Symbol 408 MovieClip Frame 1
ml = new Object();
ml.onMouseDown = function () {
_root.thegun.play();
};
Mouse.addListener(ml);
this.swapDepths(101);
this.onEnterFrame = function () {
_x = (150 + (_root._xmouse / 1.5));
_rotation = (15 + (_root._xmouse / 45));
};
stop();
Symbol 408 MovieClip Frame 3
_root.mykenak = [];
_root.mystuff = [];
_root.hitturkey = 0;
shooting = 1;
Symbol 408 MovieClip Frame 4
shooting = 2;
Symbol 408 MovieClip Frame 5
shooting = 0;
if (_root.hitturkey > 0) {
_root.multiplios = _root.multiplios + _root.hitturkey;
_root.hitturkey = 0;
_root.misses = 0;
} else {
_root.multiplios = 0;
_root.hitturkey = 0;
_root.misses++;
}
trace("----------------");
trace(_root.mykenak);
trace(_root.mystuff);
Symbol 408 MovieClip Frame 28
gotoAndStop (2);
Symbol 413 Button
on (press) {
_root.gotoAndPlay("loadfirst");
}
Symbol 425 Button
on (press) {
if (_root.score == "") {
alert.play();
} else {
getURL ((((((("http://tamugaia.com/highscores/insert_ts3d.php?player=" + _root.score) + "&score=") + (random(6520) * 95656)) + "Dgj&randomiza=") + (unique_id * 29)) + "&thescore=") + _root.sukof, "_blank");
_root.play();
}
}
Symbol 427 MovieClip Frame 24
stop();