Frame 1
Stage.showMenu = false;
_root.Name = "";
Frame 10
mst.filename = "fieldtraining.txt";
mst.scoresize = 1;
mst.action = "VIEW";
mst.viewtype = "FLASH";
mst.winname = _root.Name;
mst.winscore = _root.Score;
mst.winmisses = (_root.Head + "/") + _root.Body;
mst.winrank = Intro;
mst.loadVariables("http://www.hairybullet.com/hosted/syndicatesdomain/Games/FieldTraining/Scores/scores.php", "GET");
stop();
Frame 11
Mouse.hide();
Calculate._visible = false;
Fire = new Sound();
Fire.attachSound("Fire");
Score = 0;
Misses = 0;
Head = 0;
Body = 0;
stop();
Instance of Symbol 27 MovieClip "View" in Frame 11
onClipEvent (enterFrame) {
_x = ((-_root._xmouse) + 474);
_y = ((-_root._ymouse) + 400);
if (_x < 40) {
_x = 40;
}
if (_x > 510) {
_x = 510;
}
if (_y < 100) {
_y = 100;
}
if (_y > 300) {
_y = 300;
}
}
Instance of Symbol 31 MovieClip "Sights" in Frame 11
onClipEvent (load) {
_root.View.Target1.gotoAndPlay(2);
reloading = false;
reload = 0;
}
onClipEvent (mouseDown) {
if (_root.Bullets.Empty == false) {
if (reloading == false) {
_root.Bullets.nextFrame();
this.gotoAndPlay(2);
_root.Fire.start();
_root.Arm.gotoAndPlay(2);
if (this.Dot.hitTest(_root.View.Target1.Target.Body)) {
_root.View.Target1.gotoAndPlay(14);
_root.Score = _root.Score + 1;
_root.Body = _root.Body + 1;
} else if (this.Dot.hitTest(_root.View.Target1.Target.Head)) {
_root.View.Target1.gotoAndPlay(14);
_root.Score = _root.Score + 2;
_root.Head = _root.Head + 1;
}
if (this.Dot.hitTest(_root.View.Target2.Target.Body)) {
_root.View.Target2.gotoAndPlay(14);
_root.Score = _root.Score + 1;
_root.Body = _root.Body + 1;
} else if (this.Dot.hitTest(_root.View.Target2.Target.Head)) {
_root.View.Target2.gotoAndPlay(14);
_root.Score = _root.Score + 2;
_root.Head = _root.Head + 1;
}
if (this.Dot.hitTest(_root.View.Target3.Target.Body)) {
_root.View.Target3.gotoAndPlay(14);
_root.Score = _root.Score + 1;
_root.Body = _root.Body + 1;
} else if (this.Dot.hitTest(_root.View.Target3.Target.Head)) {
_root.View.Target3.gotoAndPlay(14);
_root.Score = _root.Score + 2;
_root.Head = _root.Head + 1;
}
if (this.Dot.hitTest(_root.View.Target4.Target.Body)) {
_root.View.Target4.gotoAndPlay(14);
_root.Score = _root.Score + 1;
_root.Body = _root.Body + 1;
} else if (this.Dot.hitTest(_root.View.Target4.Target.Head)) {
_root.View.Target4.gotoAndPlay(14);
_root.Score = _root.Score + 2;
_root.Head = _root.Head + 1;
}
if (this.Dot.hitTest(_root.View.Target5.Target.Body)) {
_root.View.Target5.gotoAndPlay(14);
_root.Score = _root.Score + 1;
_root.Body = _root.Body + 1;
} else if (this.Dot.hitTest(_root.View.Target5.Target.Head)) {
_root.View.Target5.gotoAndPlay(14);
_root.Score = _root.Score + 2;
_root.Head = _root.Head + 1;
}
if (this.Dot.hitTest(_root.View.Target6.Target.Body)) {
_root.View.Target6.gotoAndPlay(14);
_root.Score = _root.Score + 1;
_root.Body = _root.Body + 1;
} else if (this.Dot.hitTest(_root.View.Target6.Target.Head)) {
_root.View.Target6.gotoAndPlay(14);
_root.Score = _root.Score + 2;
_root.Head = _root.Head + 1;
}
if (this.Dot.hitTest(_root.View.Target7.Target.Body)) {
_root.View.Target7.gotoAndPlay(14);
_root.Score = _root.Score + 1;
_root.Body = _root.Body + 1;
} else if (this.Dot.hitTest(_root.View.Target7.Target.Head)) {
_root.View.Target7.gotoAndPlay(14);
_root.Score = _root.Score + 2;
_root.Head = _root.Head + 1;
}
if (this.Dot.hitTest(_root.View.Target8.Target.Body)) {
_root.View.Target8.gotoAndPlay(14);
_root.Score = _root.Score + 1;
_root.Body = _root.Body + 1;
} else if (this.Dot.hitTest(_root.View.Target8.Target.Head)) {
_root.View.Target8.gotoAndPlay(14);
_root.Score = _root.Score + 2;
_root.Head = _root.Head + 1;
}
if (this.Dot.hitTest(_root.View.Target9.Target.Body)) {
_root.View.Target9.gotoAndPlay(14);
_root.Score = _root.Score + 1;
_root.Body = _root.Body + 1;
} else if (this.Dot.hitTest(_root.View.Target9.Target.Head)) {
_root.View.Target9.gotoAndPlay(14);
_root.Score = _root.Score + 2;
_root.Head = _root.Head + 1;
}
reloading = true;
}
}
}
onClipEvent (enterFrame) {
if (reloading == true) {
reload = reload + 1;
if (reload > 15) {
reloading = false;
reload = 0;
}
}
if (_root.Bullets.Empty == true) {
_root.gotoAndPlay("Score");
}
}
Frame 12
Score = _root.Score - _root.Misses;
if (Score < 0) {
Intro = "Useless Shit!";
An = "A";
Rating = "Disgraceful";
} else if (Score == 0) {
Intro = "Useless Shit!";
An = "A";
Rating = "Disgraceful";
} else if ((Score > 0) && (Score < 5)) {
Intro = "Maggot!";
An = "A";
Rating = "Pathetic";
} else if (Score == 5) {
Intro = "Blind?!";
An = "A";
Rating = "Useless";
} else if ((Score > 5) && (Score < 10)) {
Intro = "Blind?!";
An = "A";
Rating = "Useless";
} else if (Score == 10) {
Intro = "Blind?!";
An = "A";
Rating = "Useless";
} else if ((Score > 10) && (Score < 15)) {
Intro = "Amateur!";
An = "A";
Rating = "Worthless";
} else if (Score == 15) {
Intro = "Amateur!";
An = "A";
Rating = "Worthless";
} else if ((Score > 15) && (Score < 20)) {
Intro = "Mediocre Player!";
An = "An";
Rating = "Average";
} else if (Score == 20) {
Intro = "Mediocre Player!";
An = "An";
Rating = "Average";
} else if ((Score > 20) && (Score < 25)) {
Intro = "Marksman!";
An = "A";
Rating = "Good";
} else if (Score == 25) {
Intro = "Marksman!";
An = "A";
Rating = "Good";
} else if ((Score > 25) && (Score < 30)) {
Intro = "Sharp Shooter!";
An = "A";
Rating = "Great";
} else if (Score == 30) {
Intro = "Sharp Shooter!";
An = "A";
Rating = "Great";
} else if ((Score > 30) && (Score < 35)) {
Intro = "Expert MarksMan";
An = "An";
Rating = "Excellent";
} else if (Score == 35) {
Intro = "Expert MarksMan";
An = "An";
Rating = "Excellent";
} else if ((Score > 35) && (Score < 40)) {
Intro = "Veteran Marksman!";
An = "An";
Rating = "Amazing";
} else if (Score == 40) {
Intro = "Ultimate Marksman!";
An = "An";
Rating = "Ultimate";
} else if (Score > 40) {
Intro = "Cheater!!!";
An = "An";
Rating = "Impossible";
}
Frame 31
Mouse.show();
mst.filename = "fieldtraining.txt";
mst.scoresize = 100;
mst.action = "INSERT";
mst.viewtype = "FLASH";
mst.winname = _root.Name;
mst.winscore = Score;
mst.winmisses = (_root.Head + "/") + _root.Body;
mst.winrank = Intro;
mst.loadVariables("http://www.hairybullet.com/hosted/syndicatesdomain/Games/FieldTraining/Scores/scores.php", "GET");
stop();
Symbol 8 Button
on (press) {
_root.gotoAndStop("Game");
}
Symbol 26 MovieClip Frame 1
stop();
Symbol 26 MovieClip Frame 2
Timer = 0;
Symbol 26 MovieClip Frame 11
Timer = Timer + 1;
if (Timer > 100) {
gotoAndPlay (13);
}
Instance of Symbol 25 MovieClip "Target" in Symbol 26 MovieClip Frame 11
/* no clip actions */
Symbol 26 MovieClip Frame 12
gotoAndPlay (11);
Symbol 26 MovieClip Frame 13
_root.Misses = _root.Misses + 1;
Symbol 26 MovieClip Frame 23
TargetNo = random(9);
if (TargetNo == 1) {
_root.View.Target1.gotoAndPlay(2);
} else if (TargetNo == 2) {
_root.View.Target2.gotoAndPlay(2);
} else if (TargetNo == 3) {
_root.View.Target3.gotoAndPlay(2);
} else if (TargetNo == 4) {
_root.View.Target4.gotoAndPlay(2);
} else if (TargetNo == 5) {
_root.View.Target5.gotoAndPlay(2);
} else if (TargetNo == 6) {
_root.View.Target6.gotoAndPlay(2);
} else if (TargetNo == 7) {
_root.View.Target7.gotoAndPlay(2);
} else if (TargetNo == 8) {
_root.View.Target8.gotoAndPlay(2);
} else if (TargetNo == 9) {
_root.View.Target9.gotoAndPlay(2);
} else if (TargetNo == 0) {
_root.View.Target1.gotoAndPlay(2);
}
Symbol 31 MovieClip Frame 1
Dot._visible = false;
Instance of Symbol 30 MovieClip "Dot" in Symbol 31 MovieClip Frame 1
onClipEvent (enterFrame) {
pos = random(2);
posa = 0;
if (pos == 1) {
posa = "-";
} else if (pos == 2) {
posa = "+";
}
this._x = posa + random(4);
this._y = posa + random(4);
}
Symbol 36 MovieClip Frame 1
stop();
Instance of Symbol 39 MovieClip "Lines" in Symbol 41 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.Compass.Lines._x = _root.View._x - 600;
}
Symbol 62 MovieClip Frame 1
Empty = false;
stop();
Symbol 62 MovieClip Frame 21
Empty = true;
_root.Calculate._visible = true;
stop();
Symbol 81 Button
on (press) {
_root.gotoAndStop("Intro");
}