[Tools][Expand/Collapse All]Note that automatic extraction of ActionScript 3 is still pretty much unsupported by swfchan. AS1/AS2 works okay most of the time.Frame 1 (116 B)
if (_root._framesloaded == _root._totalframes) {
_root.gotoAndPlay("start");
} else {
_root.gotoAndPlay(2);
}
Frame 5 (104 B)
if (_root._framesloaded >= 10) {
_root.gotoAndStop("loader");
} else {
_root.gotoAndPlay(2);
}
Frame 16 (8 B)
stop();
Frame 22 (8 B)
stop();
Frame 28 (8 B)
stop();
Frame 29 (10.54 KiB) ● ●
function levelControl(lNum) {
if (lNum == 1) {
_root.arrowsNum = 40;
_root.scope.arrows = _root.arrowsNum;
_root.scope.bonus = 0;
_root.scope.points = 0;
_root.finalScore = 0;
_root.control.zoomNum = 1.1;
_root.control.xMoMax = 200;
_root.control.yMoMax = 50;
_root.control.damageValue = 0;
_root.damage = 0;
_root.control.availableSlots = new Array(1, 2, 3, 4);
this.targetTimes = new Array(0, 800, 0, 800, 0, 800, 0, 800);
this.targetSetup(_root.control.availableSlots.length);
_root.control.loadRate = 20;
_root.control.loadQuant = 2;
_root.loadCount = 999;
_root.killNum = 10;
_root.control.loadCount = _root.loadCount;
_root.scope.potentialT = _root.killNum;
_root.control.colNum = 2;
_root.scope.bonusTimer = 400;
}
if (lNum == 2) {
_root.arrowsNum = 40;
_root.scope.arrows = _root.arrowsNum;
_root.scope.bonus = 0;
_root.scope.points = 0;
_root.finalScore = 0;
_root.control.zoomNum = 1.1;
_root.control.xMoMax = 200;
_root.control.yMoMax = 50;
_root.control.damageValue = 0;
_root.damage = 100;
_root.control.availableSlots = new Array(9, 10, 11, 12);
this.targetTimes = new Array(3, 100, 3, 100, 3, 100, 3, 100);
this.targetSetup(_root.control.availableSlots.length);
_root.control.loadRate = 20;
_root.control.loadQuant = 2;
_root.loadCount = 999;
_root.killNum = 10;
_root.control.loadCount = _root.loadCount;
_root.scope.potentialT = _root.killNum;
_root.control.colNum = 3;
_root.scope.bonusTimer = 400;
}
if (lNum == 3) {
_root.arrowsNum = 80;
_root.scope.arrows = _root.arrowsNum;
_root.scope.bonus = 0;
_root.scope.points = 0;
_root.finalScore = 0;
_root.control.zoomNum = 1.1;
_root.control.xMoMax = 200;
_root.control.yMoMax = 50;
_root.control.damageValue = 0;
_root.damage = 100;
_root.control.availableSlots = new Array(5, 6, 7, 8);
this.targetTimes = new Array(0, 140, 0, 140, 0, 140, 0, 140);
this.targetSetup(_root.control.availableSlots.length);
_root.control.loadRate = 20;
_root.control.loadQuant = 2;
_root.loadCount = 999;
_root.killNum = 10;
_root.control.loadCount = _root.loadCount;
_root.scope.potentialT = _root.killNum;
_root.control.colNum = 3;
_root.scope.bonusTimer = 400;
}
if (lNum == 4) {
_root.arrowsNum = 80;
_root.scope.arrows = _root.arrowsNum;
_root.scope.bonus = 0;
_root.scope.points = 0;
_root.finalScore = 0;
_root.control.zoomNum = 1.1;
_root.control.xMoMax = 200;
_root.control.yMoMax = 50;
_root.control.damageValue = 0;
_root.damage = 100;
_root.control.availableSlots = new Array(17, 18, 19, 20);
this.targetTimes = new Array(0, 200, 0, 200, 0, 200, 0, 200);
this.targetSetup(_root.control.availableSlots.length);
_root.control.loadRate = 20;
_root.control.loadQuant = 2;
_root.loadCount = 999;
_root.killNum = 10;
_root.control.loadCount = _root.loadCount;
_root.scope.potentialT = _root.killNum;
_root.control.colNum = 3;
_root.scope.bonusTimer = 400;
}
if (lNum == 5) {
_root.arrowsNum = 12;
_root.scope.arrows = _root.arrowsNum;
_root.scope.bonus = 0;
_root.scope.points = 0;
_root.finalScore = 0;
_root.control.zoomNum = 1.1;
_root.control.xMoMax = 200;
_root.control.yMoMax = 50;
_root.control.damageValue = 10;
_root.damage = 100;
_root.control.availableSlots = new Array(13, 14, 15, 16, 21, 22, 27, 28);
this.targetTimes = new Array(0, 150, 0, 150, 0, 120, 0, 120, 0, 100, 0, 100, 0, 120, 0, 120);
this.targetSetup(_root.control.availableSlots.length);
_root.control.loadRate = 30;
_root.control.loadQuant = 2;
_root.loadCount = 999;
_root.killNum = 10;
_root.control.loadCount = _root.loadCount;
_root.scope.potentialT = _root.killNum;
_root.control.colNum = 5;
_root.scope.bonusTimer = 400;
}
if (lNum == 6) {
_root.arrowsNum = 30;
_root.scope.arrows = _root.arrowsNum;
_root.scope.bonus = 0;
_root.scope.points = 0;
_root.finalScore = 0;
_root.control.zoomNum = 1.1;
_root.control.xMoMax = 200;
_root.control.yMoMax = 50;
_root.control.damageValue = 5;
_root.damage = 100;
_root.control.availableSlots = new Array(1, 2, 3, 4, 13, 21);
this.targetTimes = new Array(0, 200, 0, 200, 0, 200, 0, 200, 0, 150, 0, 180);
this.targetSetup(_root.control.availableSlots.length);
_root.control.loadRate = 20;
_root.control.loadQuant = 2;
_root.loadCount = 999;
_root.killNum = 10;
_root.control.loadCount = _root.loadCount;
_root.scope.potentialT = _root.killNum;
_root.control.colNum = 3;
_root.scope.bonusTimer = 400;
}
if (lNum == 7) {
_root.control.zoomNum = 1.1;
_root.control.xMoMax = 200;
_root.control.yMoMax = 50;
_root.control.damageValue = 5;
_root.control.availableSlots = new Array(1, 2, 3, 4, 9, 10, 11, 12, 14, 23, 24);
this.targetTimes = new Array(0, 120, 0, 120, 0, 120, 0, 120, 3, 100, 3, 100, 3, 100, 3, 100, 1, 100, 0, 180, 0, 180);
this.targetSetup(_root.control.availableSlots.length);
_root.control.loadRate = 20;
_root.control.loadQuant = 2;
_root.loadCount = 999;
_root.killNum = 10;
_root.control.loadCount = _root.loadCount;
_root.scope.potentialT = _root.killNum;
_root.control.colNum = 3;
_root.scope.bonusTimer = 400;
}
if (lNum == 8) {
_root.control.zoomNum = 1.1;
_root.control.xMoMax = 200;
_root.control.yMoMax = 50;
_root.control.damageValue = 5;
_root.control.availableSlots = new Array(1, 3, 5, 6, 7, 8, 21);
this.targetTimes = new Array(0, 120, 0, 120, 0, 140, 0, 140, 0, 140, 0, 140, 0, 180);
this.targetSetup(_root.control.availableSlots.length);
_root.control.loadRate = 20;
_root.control.loadQuant = 3;
_root.loadCount = 999;
_root.killNum = 10;
_root.control.loadCount = _root.loadCount;
_root.scope.potentialT = _root.killNum;
_root.control.colNum = 5;
_root.scope.bonusTimer = 400;
}
if (lNum == 9) {
_root.control.zoomNum = 1.1;
_root.control.xMoMax = 200;
_root.control.yMoMax = 50;
_root.control.damageValue = 5;
_root.control.availableSlots = new Array(2, 4, 10, 13, 14, 22);
this.targetTimes = new Array(0, 120, 0, 120, 1, 100, 0, 110, 0, 110, 0, 120);
this.targetSetup(_root.control.availableSlots.length);
_root.control.loadRate = 20;
_root.control.loadQuant = 3;
_root.loadCount = 999;
_root.killNum = 10;
_root.control.loadCount = _root.loadCount;
_root.scope.potentialT = _root.killNum;
_root.control.colNum = 5;
_root.scope.bonusTimer = 400;
}
if (lNum == 10) {
_root.control.zoomNum = 1.1;
_root.control.xMoMax = 200;
_root.control.yMoMax = 50;
_root.control.damageValue = 5;
_root.control.availableSlots = new Array(9, 7, 15, 17, 18, 19, 20, 24, 26);
this.targetTimes = new Array(1, 100, 0, 140, 1, 100, 0, 150, 0, 150, 0, 150, 0, 150, 0, 100, 0, 120);
this.targetSetup(_root.control.availableSlots.length);
_root.control.loadRate = 30;
_root.control.loadQuant = 3;
_root.loadCount = 999;
_root.killNum = 10;
_root.control.loadCount = _root.loadCount;
_root.scope.potentialT = _root.killNum;
_root.control.colNum = 5;
_root.scope.bonusTimer = 400;
}
if (lNum == 11) {
_root.control.zoomNum = 1.1;
_root.control.xMoMax = 200;
_root.control.yMoMax = 50;
_root.control.damageValue = 5;
_root.control.availableSlots = new Array(5, 8, 17, 19, 15, 16, 22, 27);
this.targetTimes = new Array(0, 140, 0, 140, 0, 150, 0, 150, 0, 100, 0, 100, 0, 100, 0, 120);
this.targetSetup(_root.control.availableSlots.length);
_root.control.loadRate = 20;
_root.control.loadQuant = 4;
_root.loadCount = 999;
_root.killNum = 10;
_root.control.loadCount = _root.loadCount;
_root.scope.potentialT = _root.killNum;
_root.control.colNum = 5;
_root.scope.bonusTimer = 400;
}
if (lNum == 12) {
_root.control.zoomNum = 1.1;
_root.control.xMoMax = 200;
_root.control.yMoMax = 50;
_root.control.damageValue = 5;
_root.control.availableSlots = new Array(1, 13, 14, 15, 17, 21, 26, 28);
this.targetTimes = new Array(0, 100, 0, 100, 0, 100, 0, 100, 0, 150, 0, 150, 0, 120, 0, 120);
this.targetSetup(_root.control.availableSlots.length);
_root.control.loadRate = 30;
_root.control.loadQuant = 5;
_root.loadCount = 999;
_root.killNum = 10;
_root.control.loadCount = _root.loadCount;
_root.scope.potentialT = _root.killNum;
_root.control.colNum = 5;
_root.scope.bonusTimer = 400;
}
if (lNum == 13) {
_root.control.zoomNum = 1.1;
_root.control.xMoMax = 200;
_root.control.yMoMax = 50;
_root.control.damageValue = 5;
_root.control.availableSlots = new Array(13, 15, 16, 18, 22, 24, 25, 27);
this.targetTimes = new Array(1, 80, 1, 80, 1, 100, 0, 120, 0, 100, 0, 100, 0, 120, 0, 120);
this.targetSetup(_root.control.availableSlots.length);
_root.control.loadRate = 30;
_root.control.loadQuant = 5;
_root.loadCount = 999;
_root.killNum = 10;
_root.control.loadCount = _root.loadCount;
_root.scope.potentialT = _root.killNum;
_root.control.colNum = 5;
_root.scope.bonusTimer = 400;
}
if (lNum == 14) {
_root.control.zoomNum = 1.1;
_root.control.xMoMax = 200;
_root.control.yMoMax = 50;
_root.control.damageValue = 5;
_root.control.availableSlots = new Array(13, 14, 15, 16, 18, 22, 24, 25, 27);
this.targetTimes = new Array(2, 80, 2, 80, 2, 100, 2, 120, 0, 150, 0, 100, 0, 100, 0, 100, 0, 100);
this.targetSetup(_root.control.availableSlots.length);
_root.control.loadRate = 30;
_root.control.loadQuant = 4;
_root.loadCount = 999;
_root.killNum = 10;
_root.control.loadCount = _root.loadCount;
_root.scope.potentialT = _root.killNum;
_root.control.colNum = 5;
_root.scope.bonusTimer = 400;
}
if (lNum == 15) {
_root.control.zoomNum = 1.1;
_root.control.xMoMax = 200;
_root.control.yMoMax = 50;
_root.control.damageValue = 5;
_root.control.availableSlots = new Array(13, 14, 15, 16, 21, 23, 26, 28);
this.targetTimes = new Array(3, 80, 3, 80, 3, 80, 3, 80, 0, 90, 0, 90, 0, 100, 0, 100);
this.targetSetup(_root.control.availableSlots.length);
_root.control.loadRate = 20;
_root.control.loadQuant = 5;
_root.loadCount = 999;
_root.killNum = 10;
_root.control.loadCount = _root.loadCount;
_root.scope.potentialT = _root.killNum;
_root.control.colNum = 5;
_root.scope.bonusTimer = 400;
}
}
function targetSetup(iNum) {
var i = 0;
while (i < iNum) {
_root.control["targetProp" + _root.control.availableSlots[i]][8] = this.targetTimes[i * 2];
_root.control["targetProp" + _root.control.availableSlots[i]][9] = this.targetTimes[(i * 2) + 1];
i++;
}
}
_quality = "HIGH";
Frame 30 (8 B)
stop();
Frame 33 (29 B)
stop();
_quality = "HIGH";
Frame 48 (31 B)
stop();
_quality = "MEDIUM";
Frame 56 (215 B)
_root.attachMovie("scope", "scope", 100);
_root.scope._x = 390;
_root.scope._y = 225;
_root.attachMovie("arrowPoint", "arrowPoint", 90);
_root.arrowPoint._x = 318;
_root.arrowPoint._y = 347;
gotoAndStop (66);
Frame 66 (1.23 KiB) ●
function endGame() {
_root.targetLock._visible = false;
_quality = "MEDIUM";
_root.startBut.removeMovieClip();
_root.scope.removeMovieClip();
_root.display.removeMovieClip();
_root.arrowPoint.removeMovieClip();
_root.scene1.removeMovieClip();
_root.scene2.removeMovieClip();
_root.gotoAndStop("gameEnd");
i = 1;
while (16 >= i) {
_root.scope["rPos" + i].gotoAndStop(1);
i++;
}
}
_root.sv = new Sound(_root.music);
stop();
_root.attachMovie("display", "display", 1);
_root.display._x = 390;
_root.display._y = 225;
_root.display.attachMovie("scene1", "scene1", 1);
_root.display.scene1._x = -400;
_root.display.scene1._y = 0;
_root.display.attachMovie("scene2", "scene2", 2);
_root.display.scene2._x = 400;
_root.display.scene2._y = 0;
_root.levelControl(_root.levelNum);
_root.scope.radar._rotation = 0;
var i = 1;
while (18 >= i) {
this.radColRGB = new Color(_root.scope["rPos" + i]);
this.radColRGB.setRGB(OxFFFFFF);
i++;
}
_root.attachMovie("startBut", "startBut", 110);
_root.startBut._x = 322;
_root.startBut._y = 231;
_root.startBut.play();
_root.attachMovie("targetLock", "targetLock", 800);
_root.targetLock._x = 320;
_root.targetLock._y = 225;
_root.targetLock._visible = false;
Frame 75 (8 B)
stop();
Instance of Symbol 400 MovieClip "control" in Frame 75 (17.93 KiB) ● ● ●
onClipEvent (load) {
_root.sv.setVolume(30);
_root.startBut.removeMovieClip();
this.targetProp1 = new Array(1, 1, 0, -186, 196, 1, 0, 2, 0, 80, 9);
this.targetProp2 = new Array(2, 2, 0, -105, -179, 1, 0, 6, 0, 80, 9);
this.targetProp3 = new Array(3, 3, 0, -310, 57, 1, 0, 9, 0, 80, 9);
this.targetProp4 = new Array(4, 4, 0, 150, 154, 1, 0, 15, 0, 80, 9);
this.targetProp5 = new Array(5, 4, 0, -330, -210, 1, 0, 13, 0, 140, 999);
this.targetProp6 = new Array(6, 3, 0, 330, -210, 1, 0, 12, 0, 140, 999);
this.targetProp7 = new Array(7, 2, 0, 170, -210, 1, 0, 7, 0, 140, 999);
this.targetProp8 = new Array(8, 1, 0, 330, -210, 1, 0, 4, 0, 140, 999);
this.targetProp9 = new Array(9, 1, 0, -357, 52, 1, 0, 1, 0, 40, 35);
this.targetProp10 = new Array(10, 2, 0, 376, 246, 1, 0, 8, 0, 40, 35);
this.targetProp11 = new Array(11, 3, 0, -21, 152, 1, 0, 10, 0, 40, 35);
this.targetProp12 = new Array(12, 4, 0, -48, -200, 1, 0, 14, 0, 40, 35);
this.targetProp13 = new Array(13, 1, 0, 51, -15, 1, 0, 3, 2, 75, 70);
this.targetProp14 = new Array(14, 2, 0, -310, 186, 1, 0, 5, 2, 75, 70);
this.targetProp15 = new Array(15, 3, 0, 124, -141, 1, 0, 11, 2, 75, 70);
this.targetProp16 = new Array(16, 4, 0, 323, 191, 1, 0, 16, 2, 75, 70);
this.targetProp17 = new Array(17, 1, 0, -100, 0, 1, 0, 2, 0, 80, 5);
this.targetProp18 = new Array(18, 2, 0, -100, 0, 1, 0, 6, 0, 80, 5);
this.targetProp19 = new Array(19, 3, 0, -300, 0, 1, 0, 9, 0, 80, 5);
this.targetProp20 = new Array(20, 4, 0, 100, 0, 1, 0, 15, 0, 80, 5);
this.targetProp21 = new Array(21, 1, 6, -90, 20, 1, 0, 2, 0, 80, 1);
this.targetProp22 = new Array(22, 2, 6, 120, 20, 1, 0, 7, 0, 80, 1);
this.targetProp23 = new Array(23, 3, 6, -290, -130, 1, 0, 9, 0, 80, 1);
this.targetProp24 = new Array(24, 4, 6, 173, 161, 1, 0, 15, 0, 80, 1);
this.targetProp25 = new Array(25, 1, 7, -90, 20, 1, 0, 2, 0, 80, 1);
this.targetProp26 = new Array(26, 2, 7, 120, 20, 1, 0, 7, 0, 80, 1);
this.targetProp27 = new Array(27, 3, 7, -290, -130, 1, 0, 9, 0, 80, 1);
this.targetProp28 = new Array(28, 4, 7, 173, 161, 1, 0, 15, 0, 80, 1);
_root.levelControl(_root.levelNum);
_root.control.usedSlots = new Array();
this.tColor0 = {rb:"255", gb:"0", bb:"0"};
this.tColor1 = {rb:"0", gb:"255", bb:"0"};
this.tColor2 = {rb:"0", gb:"0", bb:"255"};
this.tColor3 = {rb:"255", gb:"175", bb:"0"};
this.tColor4 = {rb:"0", gb:"175", bb:"255"};
this.tColor5 = {rb:"175", gb:"0", bb:"175"};
this.tColor6 = {rb:"255", gb:"150", bb:"255"};
this.tColor7 = {rb:"255", gb:"255", bb:"255"};
_root.attachMovie("display", "display", 1);
_root.display._x = 390;
_root.display._y = 225;
this.baseWidth = _root.display._width;
this.sWidth = _root.display._width;
this.sceneNum = 1;
_root.display.attachMovie("scene" + this.sceneNum, "scene" + this.sceneNum, this.sceneNum);
_root.display["scene" + this.sceneNum]._x = -400;
_root.display["scene" + this.sceneNum]._y = 0;
this.sceneNum = 2;
_root.display.attachMovie("scene" + this.sceneNum, "scene" + this.sceneNum, this.sceneNum);
_root.display["scene" + this.sceneNum]._x = 400;
_root.display["scene" + this.sceneNum]._y = 0;
this.sceneNum = 1;
this.direction = 1;
this.activeScenes = new Array(1, 2);
this.xCenter = 333;
this.yCenter = 217;
this.tActive = new Array();
this.locked = -1;
this.fire = 0;
this.arrowLoad = 0;
this.pointValue = new Array(20, 5, 2, 1, 0);
this.radslotsUsed = new Array();
this.hitCol = -1;
_root.targetLock._visible = false;
}
onClipEvent (enterFrame) {
function instaZoom() {
this.zoomNum = 2.2;
if ((_root.display._xscale / this.zoomNum) < 150) {
this.zoomNum = 1.1;
}
this.zoomScale = _root.display._xscale / this.zoomNum;
_root.display._xscale = this.zoomScale;
_root.display._yscale = this.zoomScale;
this.xOffset = ((_root.display._x - this.xCenter) / this.zoomNum) + this.xCenter;
this.yOffset = ((_root.display._y - this.yCenter) / this.zoomNum) + this.yCenter;
_root.display._x = this.xOffset;
_root.display._y = this.yOffset;
this.zoomNum = 1.1;
}
function placeTarget() {
this.tIdNum = this["activeProp" + this.slotNum][0];
this.tColNum = this["activeProp" + this.slotNum][2];
this.tX = this["activeProp" + this.slotNum][3];
this.tY = this["activeProp" + this.slotNum][4];
_root.display["scene" + this.tSceneNum].attachMovie("t" + this.tIdNum, "t" + this.tIdNum, this.tIdNum);
_root.display["scene" + this.tSceneNum]["t" + this.tIdNum]._x = tX;
_root.display["scene" + this.tSceneNum]["t" + this.tIdNum]._y = tY;
if (this["activeProp" + this.slotNum][10] < this["activeProp" + this.slotNum][5]) {
this.frameNum = this["activeProp" + this.slotNum][10];
_root.display["scene" + this.tSceneNum]["t" + this.tIdNum].gotoAndStop(this.frameNum);
} else {
this.frameNum = this["activeProp" + this.slotNum][5];
_root.display["scene" + this.tSceneNum]["t" + this.tIdNum].gotoAndPlay(this.frameNum);
}
}
function removeTarget(removNum, targetSc, tSlot) {
this.imGone = removNum;
_root.display["scene" + targetSc]["t" + removNum].removeMovieClip();
this.usedSlots.splice(tSlot, 1);
this.availableSlots.push(removNum);
this.radNum = this["activeProp" + removNum][7];
this.radColRGB = new Color(_root.scope["rPos" + this.radNum]);
this.radColRGB.setRGB(OxFFFFFF);
_root.scope["rPos" + this.radNum].gotoAndStop(1);
this.radslotsUsed.splice(tSlot, 1);
_root.audio.gotoAndPlay("pop");
}
function damagePoints() {
_root.damage = _root.damage - this.damageValue;
_root.scope.damageBar._yScale = _root.damage;
if (_root.damage < (4 * this.damageValue)) {
_root.scope.damageAlarm.gotoAndPlay(2);
}
if (_root.damage < 0) {
_root.gotConverted = 1;
_root.endGame();
}
}
function damageRestore() {
if (_root.damage < 100) {
_root.damage = _root.damage + 15;
if (100 < _root.damage) {
_root.damage = 100;
}
_root.scope.damageBar._yScale = _root.damage;
}
}
function endLevel() {
_root.scope.points = _root.scope.points + _root.scope.bonusTimer;
_root.finalScore = _root.finalScore + _root.scope.bonusTimer;
_root.audio.gotoAndPlay("clock");
_root.targetLock._visible = false;
if (5 < _root.levelNum) {
_root.levelNum++;
}
if ((_root.levelNum < 6) || (15 < _root.levelNum)) {
_root.endGame();
} else {
_root.arrowsNum = _root.arrowsNum + 5;
_root.scope.arrows = _root.arrowsNum;
_root.gotoAndStop("setup");
}
}
this.xMoPos = (this.xCenter - _xmouse) / 4;
if (this.xMoMax < this.xMoPos) {
this.xMopos = this.xMoMax;
} else if (this.xMoPos < (-this.xMoMax)) {
this.xMoPos = -this.xMoMax;
}
_root.display._x = _root.display._x + this.xMoPos;
this.sWidth = _root.display._width;
if (_root.display._x < (-10 - ((this.sWidth - this.baseWidth) / 2))) {
_root.display._x = _root.display._x + (this.sWidth / 2);
if (this.direction == 1) {
this.sceneNum++;
} else {
this.direction = 1;
}
if (4 < this.sceneNum) {
this.sceneNum = 1;
}
this.removeNum = this.sceneNum - 1;
if (this.removeNum < 1) {
this.removeNum = 4;
}
this.loadNum = this.sceneNum + 1;
if (4 < this.loadNum) {
this.loadNum = 1;
}
_root.display["scene" + this.sceneNum]._x = -400;
_root.display["scene" + this.sceneNum]._y = 0;
_root.display.attachMovie("scene" + this.loadNum, "scene" + this.loadNum, this.loadNum);
_root.display["scene" + this.loadNum]._x = 400;
_root.display["scene" + this.loadNum]._y = 0;
if (this.loadNum == 1) {
_root.scope.radar._rotation = -135;
}
_root.display["scene" + this.removeNum].removeMovieClip();
this.activeScenes.shift();
this.activeScenes.splice(1, 0, this.loadNum);
}
if ((900 + ((this.sWidth - this.baseWidth) / 2)) < _root.display._x) {
_root.display._x = _root.display._x - (this.sWidth / 2);
if (this.direction == 0) {
this.sceneNum--;
} else {
this.direction = 0;
}
if (this.sceneNum < 1) {
this.sceneNum = 4;
}
this.removeNum = this.sceneNum + 1;
if (4 < this.removeNum) {
this.removeNum = 1;
}
this.loadNum = this.sceneNum - 1;
if (this.loadNum < 1) {
this.loadNum = 4;
}
_root.display["scene" + this.sceneNum]._x = 400;
_root.display["scene" + this.sceneNum]._y = 0;
_root.display.attachMovie("scene" + this.loadNum, "scene" + this.loadNum, this.loadNum);
_root.display["scene" + this.loadNum]._x = -400;
_root.display["scene" + this.loadNum]._y = 0;
if (this.loadNum == 1) {
_root.scope.radar._rotation = 32.4;
}
_root.display["scene" + this.removeNum].removeMovieClip();
this.activeScenes.pop();
this.activeScenes.splice(0, 0, this.loadNum);
}
this.yMoPos = (this.yCenter - _ymouse) / 2;
if (this.yMoPos >= this.yMoMax) {
this.yMoPos = this.yMoMax;
} else if ((-this.yMoMax) >= yMoPos) {
this.yMoPos = -this.yMoMax;
}
this.iHeight = (_root.display._height / 2) - this.xCenter;
if (((_root.display._y + this.yMoPos) < (340 + this.iHeight)) && ((120 - this.iHeight) < (_root.display._y + this.yMoPos))) {
_root.display._y = _root.display._y + this.yMoPos;
}
if ((340 + this.iHeight) < (_root.display._y + this.yMoPos)) {
_root.display._y = 340 + this.iHeight;
}
if ((_root.display._y + this.yMoPos) < (120 - this.iHeight)) {
_root.display._y = 120 - this.iHeight;
}
updateAfterEvent(mouseMove);
if ((Key.isDown(39) || (Key.isDown(68))) && ((_root.display._xscale * this.zoomNum) < 800)) {
this.zoomScale = _root.display._xscale * this.zoomNum;
_root.display._xscale = this.zoomScale;
_root.display._yscale = this.zoomScale;
this.xOffset = ((_root.display._x - this.xCenter) * this.zoomNum) + this.xCenter;
this.yOffset = ((_root.display._y - this.yCenter) * this.zoomNum) + this.yCenter;
_root.display._x = int(this.xOffset);
_root.display._y = int(this.yOffset);
}
if ((Key.isDown(37) || (Key.isDown(65))) && (100 < (_root.display._xscale / this.zoomNum))) {
instaZoom();
}
this.xShift = this.xShift + (this.xMoPos / ((this.sWidth * 2) / 360));
if (this.xShift < 0) {
this.xShift = this.xShift + 360;
} else if (360 < this.xShift) {
this.xShift = this.xShift - 360;
}
_root.scope.radar._rotation = -this.xShift;
this.tCount++;
if ((this.loadRate < this.tCount) && (0 < this.loadCount)) {
this.tCount = 0;
if ((0 < this.availableSlots.length) && (this.usedSlots.length < this.loadQuant)) {
this.selectNum = random(this.availableSlots.length - 1);
this.slotNum = this.availableSlots[this.selectNum];
this.radAvailable = 1;
i = 0;
while (i < this.radslotsUsed.length) {
if (this["targetProp" + this.slotNum][7] == this.radslotsUsed[i]) {
this.radAvailable = 0;
}
i++;
}
if (this.radAvailable == 1) {
this.usedSlots.push(this.slotNum);
this.availableSlots.splice(this.selectNum, 1);
this["activeProp" + this.slotNum] = new Array();
this.count = 0;
while (this.count < 11) {
this["activeProp" + this.slotNum].push(this["targetProp" + this.slotNum][this.count]);
this.count++;
}
if ((this.slotNum >= 13) && (16 >= this.slotNum)) {
_root.audio.gotoAndPlay("danger");
} else if ((this.slotNum >= 21) && (24 >= this.slotNum)) {
_root.audio.gotoAndPlay("bweep");
} else if ((this.slotNum >= 25) && (28 >= this.slotNum)) {
_root.audio.gotoAndPlay("peepoo");
} else {
_root.audio.gotoAndPlay("beep");
}
if (this["activeProp" + this.slotNum][2] == 0) {
this.colourId = random(this.colNum);
this["activeProp" + this.slotNum][2] = this.colourId;
}
this.radNum = this["activeProp" + this.slotNum][7];
this.tColNum = this["activeProp" + this.slotNum][2];
this.radColRGB = new Color(_root.scope["rPos" + this.radNum]);
this.radColRGB.setTransform(this["tColor" + this.tColNum]);
if ((this.slotNum >= 13) && (16 >= this.slotNum)) {
_root.scope["rPos" + this.radNum].gotoAndPlay(2);
}
this.radslotsUsed.push(this.radNum);
this.tSceneNum = this["activeProp" + this.slotNum][1];
if ((this.activeScenes[0] == this.tSceneNum) || (this.activeScenes[1] == this.tSceneNum)) {
this.placeTarget();
}
if ((this["activeProp" + this.slotNum][2] != 6) && (this["activeProp" + this.slotNum][2] != 7)) {
this.loadCount--;
}
}
}
}
this.activeCount = this.usedSlots.length;
this.count = 1;
while ((this.activeCount >= this.count) && (0 < this.loadNum)) {
this.slotNum = this.usedSlots[this.count - 1];
this.tSceneNum = this["activeProp" + this.slotNum][1];
if (this.tSceneNum == this.loadNum) {
this.placeTarget();
}
this.count++;
}
this.loadNum = 0;
if (this.imGone == this.locked) {
this.imGone = -1;
_root.targetLock._visible = false;
this.locked = -1;
}
this.count = 0;
this.count2 = 0;
this.activeCount = this.usedSlots.length;
while (this.count < 2) {
this.sNum = this.activeScenes[this.count];
while (this.count2 < this.activeCount) {
this.slotNum = this.usedSlots[this.count2];
if (this["activeProp" + this.slotNum][1] == this.sNum) {
this.tIdNum = this["activeProp" + this.slotNum][0];
var i = 0;
while (5 >= i) {
if (_root.display["scene" + this.sNum]["t" + this.tIdNum].target["hit" + i].hitTest(_root.targetCenter._x, _root.targetCenter._y, true)) {
if (this.locked != this.tIdNum) {
this.locked = this.tIdNum;
_root.targetLock._visible = true;
this.tColRGB = new Color(_root.targetLock);
this.tColRGB.setTransform(this["tColor" + this["activeProp" + this.tIdNum][2]]);
this.tarNum = i;
this.tarVal = this.pointValue[i - 1];
if ((this["activeProp" + this.tIdNum][0] >= 13) && (16 >= this["activeProp" + this.tIdNum][0])) {
_root.targetLock.tval = this.tarVal * 2;
} else {
_root.targetLock.tval = this.tarVal;
}
}
i = 5;
} else if (this.locked == this.tIdNum) {
_root.targetLock._visible = false;
this.locked = -1;
}
i++;
}
}
this.count2++;
}
this.count++;
this.count2 = 0;
}
if (((this.fire == 1) && (0 < _root.arrowsNum)) && (this.arrowLoad == 0)) {
_root.audio.gotoAndPlay("twang");
_root.arrowsNum--;
if (_root.arrowsNum < 4) {
_root.scope.arrowWarn.gotoAndPlay(2);
}
_root.arrowPoint.gotoAndPlay(2);
_root.scope.arrows = _root.arrowsNum;
}
this.fire = 0;
if ((this.locked != -1) && (this.arrowHit == 1)) {
this.autoZoom = true;
if (this["activeProp" + this.locked][2] != 6) {
this.hitCol = this["activeProp" + this.locked][2];
this.hitColRGB = new Color(_root.scope.nextTarget);
this.hitColRGB.setTransform(this["tColor" + this.hitCol]);
}
this.addValue = this.tarVal;
if ((this["activeProp" + this.locked][0] >= 13) && (16 >= this["activeProp" + this.locked][0])) {
this.addValue = this.addValue * 2;
}
if (this["activeProp" + this.locked][2] == 6) {
_root.audio.gotoAndPlay("bleeep");
_root.arrowsNum = _root.arrowsNum + 6;
_root.scope.arrows = _root.arrowsNum;
} else if (this["activeProp" + this.locked][2] == 7) {
_root.audio.gotoAndPlay("bleeep");
damageRestore();
} else {
_root.killNum--;
if (this.tarNum == 1) {
_root.audio.gotoAndPlay("yipee");
} else {
_root.audio.gotoAndPlay("ouch");
}
_root.scope.potentialT--;
if (2 >= _root.killNum) {
_root.scope.targetAlarm.gotoAndPlay(2);
}
}
if ((this.lastCol == this.hitCol) && (this["activeProp" + this.locked][2] != 6)) {
_root.scope.bonus++;
_root.scope.points = _root.scope.points + (this.addValue * 2);
_root.finalScore = _root.finalScore + (this.addValue * 2);
} else {
_root.scope.points = _root.scope.points + this.addValue;
_root.finalScore = _root.finalScore + this.addValue;
}
this.arrowHit = 0;
this.tScene = this["activeProp" + this.locked][1];
this.count = 0;
this.activeCount = this.usedSlots.length;
while (this.count < this.activeCount) {
if (this.usedSlots[this.count] == this.locked) {
this.removenum = this.locked;
this.removeTarget(this.removenum, this.tScene, this.count);
_root.targetLock._visible = false;
this.locked = -1;
}
this.count++;
}
_root.attachMovie("hitHeart", "hitHeart", 101);
_root.hitHeart._x = 320;
_root.hitHeart._y = 225;
this.lastCol = this.hitCol;
}
if ((100 < (_root.display._xscale / this.zoomNum)) && (this.autoZoom == true)) {
instaZoom();
} else {
this.autoZoom = false;
}
if ((_root.arrowsNum == 0) && (this["activeProp" + this.locked][2] != 6)) {
_root.noArrows = 1;
_root.endGame();
}
if (this.struck == 1) {
this.struck = 0;
this.damagePoints();
}
this.activeCount = this.usedSlots.length;
this.i = 0;
this.count = 0;
while (this.i < this.activeCount) {
this.timeCheck = this.usedSlots[this.count];
this["activeProp" + this.timeCheck][9]--;
if (this["activeProp" + this.timeCheck][9] < 0) {
this.tnum = this["activeProp" + this.timeCheck][0];
this.tScene = this["activeProp" + this.timeCheck][1];
if (0 < this["activeProp" + this.timeCheck][8]) {
this["activeProp" + this.timeCheck][8]--;
this["activeProp" + this.timeCheck][9] = this["targetProp" + this.timeCheck][9];
this["activeProp" + this.timeCheck][5] = 1;
_root.display["scene" + this.tScene]["t" + this.tnum].gotoAndPlay(1);
} else if (this["activeProp" + this.timeCheck][9] == -1) {
_root.display["scene" + this.tScene]["t" + this.tnum].play();
} else if (this["activeProp" + this.timeCheck][9] < -8) {
if (((this.activeScenes[0] != this.tScene) && (this.activeScenes[1] != this.tScene)) && ((this["activeProp" + this.timeCheck][0] >= 13) && (16 >= this["activeProp" + this.timeCheck][0]))) {
this.damagePoints();
_root.audio.gotoAndPlay("laugh");
}
this.removeTarget(this.timeCheck, this.tScene, this.count);
this.count = this.count - 1;
}
}
this["activeProp" + this.timeCheck][5]++;
this.i++;
this.count++;
}
this.ticker++;
if ((this.ticker == 6) && (0 < _root.scope.bonusTimer)) {
this.ticker = 0;
_root.scope.bonusTimer--;
}
if (_root.killNum == 0) {
this.endLevel();
}
}
Frame 82 (33 B)
stop();
_root.sv.setVolume(60);
Symbol 13 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 10 MovieClip in Symbol 13 MovieClip Frame 1 (430 B)
onClipEvent (load) {
this.byteSize = _root.getBytesTotal();
_parent.loaderText = "0% loaded";
}
onClipEvent (enterFrame) {
this.byteSize = _root.getBytesTotal();
if (0 < this.byteSize) {
this.bytesIn = _root.getBytesLoaded();
this.bytePos = int((this.bytesIn / this.byteSize) * 100);
_parent.loaderText = ((this.bytePos + "% of ") + int(this.byteSize / 1000)) + " Kb loaded";
_parent.gotoAndStop(this.bytePos);
}
}
Symbol 13 MovieClip Frame 25 (30 B)
_root.gotoAndPlay("loader2");
Symbol 13 MovieClip Frame 50 (30 B)
_root.gotoAndPlay("loader3");
Symbol 13 MovieClip Frame 75 (30 B)
_root.gotoAndPlay("loader4");
Symbol 13 MovieClip Frame 100 (28 B)
_root.gotoAndPlay("start");
Symbol 24 MovieClip [arrowPoint] Frame 1 (38 B)
stop();
_root.control.arrowLoad = 0;
Symbol 24 MovieClip [arrowPoint] Frame 2 (29 B)
_root.control.arrowLoad = 1;
Symbol 24 MovieClip [arrowPoint] Frame 4 (28 B)
_root.control.arrowHit = 1;
Symbol 24 MovieClip [arrowPoint] Frame 5 (28 B)
_root.control.arrowHit = 0;
Symbol 26 MovieClip [damageFlash] Frame 2 (24 B)
this.removeMovieClip();
Symbol 31 MovieClip [hitHeart] Frame 12 (24 B)
this.removeMovieClip();
Symbol 38 MovieClip Frame 1 (8 B)
stop();
Symbol 41 MovieClip Frame 1 (8 B)
stop();
Symbol 73 MovieClip Frame 1 (8 B)
stop();
Symbol 73 MovieClip Frame 6 (17 B)
gotoAndPlay (2);
Symbol 75 MovieClip Frame 1 (8 B)
stop();
Symbol 75 MovieClip Frame 6 (17 B)
gotoAndPlay (2);
Symbol 77 MovieClip Frame 1 (8 B)
stop();
Symbol 77 MovieClip Frame 6 (17 B)
gotoAndPlay (2);
Symbol 79 MovieClip Frame 1 (8 B)
stop();
Symbol 79 MovieClip Frame 6 (17 B)
gotoAndPlay (2);
Symbol 81 MovieClip Frame 1 (8 B)
stop();
Symbol 81 MovieClip Frame 6 (17 B)
gotoAndPlay (2);
Symbol 83 MovieClip Frame 1 (8 B)
stop();
Symbol 83 MovieClip Frame 6 (17 B)
gotoAndPlay (2);
Symbol 85 MovieClip Frame 1 (8 B)
stop();
Symbol 85 MovieClip Frame 6 (17 B)
gotoAndPlay (2);
Symbol 87 MovieClip Frame 1 (8 B)
stop();
Symbol 87 MovieClip Frame 6 (17 B)
gotoAndPlay (2);
Symbol 89 MovieClip Frame 1 (8 B)
stop();
Symbol 89 MovieClip Frame 6 (17 B)
gotoAndPlay (2);
Symbol 91 MovieClip Frame 1 (8 B)
stop();
Symbol 91 MovieClip Frame 6 (17 B)
gotoAndPlay (2);
Symbol 93 MovieClip Frame 1 (8 B)
stop();
Symbol 93 MovieClip Frame 6 (17 B)
gotoAndPlay (2);
Symbol 95 MovieClip Frame 1 (8 B)
stop();
Symbol 95 MovieClip Frame 6 (17 B)
gotoAndPlay (2);
Symbol 97 MovieClip Frame 1 (8 B)
stop();
Symbol 97 MovieClip Frame 6 (17 B)
gotoAndPlay (2);
Symbol 99 MovieClip Frame 1 (8 B)
stop();
Symbol 99 MovieClip Frame 6 (17 B)
gotoAndPlay (2);
Symbol 101 MovieClip Frame 1 (8 B)
stop();
Symbol 101 MovieClip Frame 6 (17 B)
gotoAndPlay (2);
Symbol 103 MovieClip Frame 1 (8 B)
stop();
Symbol 103 MovieClip Frame 6 (17 B)
gotoAndPlay (2);
Symbol 108 Button (34 B)
on (release) {
_root.endGame();
}
Symbol 112 Button (197 B)
on (release) {
if (this.soundToc != 1) {
_root.music.gotoAndStop(1);
this.soundToc = 1;
_root.sv.stop();
} else {
this.soundToc = 0;
_root.music.gotoAndStop(2);
_root.sv.start();
}
}
Symbol 118 MovieClip Frame 1 (8 B)
stop();
Symbol 118 MovieClip Frame 2 (190 B)
if (1 < _parent.potentialT) {
this.mess = _parent.potentialT + " targets remaining.";
} else if (_parent.potentialT == 1) {
this.mess = _parent.potentialT + " target remaining.";
}
Instance of Symbol 133 MovieClip "hit1" in Symbol 134 MovieClip Frame 1 (21 B)
/* no clip actions */
Symbol 137 MovieClip [t1] Frame 9 (8 B)
stop();
Symbol 137 MovieClip [t1] Frame 17 (8 B)
stop();
Symbol 139 MovieClip [t2] Frame 9 (8 B)
stop();
Symbol 139 MovieClip [t2] Frame 17 (33 B)
stop();
this.removeMovieClip();
Symbol 141 MovieClip [t3] Frame 9 (8 B)
stop();
Symbol 141 MovieClip [t3] Frame 17 (33 B)
stop();
this.removeMovieClip();
Symbol 142 MovieClip [t4] Frame 9 (8 B)
stop();
Symbol 142 MovieClip [t4] Frame 17 (33 B)
stop();
this.removeMovieClip();
Symbol 155 MovieClip [t5] Frame 1 (8 B)
play();
Symbol 155 MovieClip [t5] Frame 142 (33 B)
stop();
this.removeMovieClip();
Symbol 156 MovieClip [t6] Frame 1 (8 B)
play();
Symbol 156 MovieClip [t6] Frame 142 (33 B)
stop();
this.removeMovieClip();
Symbol 157 MovieClip [t7] Frame 1 (8 B)
play();
Symbol 157 MovieClip [t7] Frame 142 (33 B)
stop();
this.removeMovieClip();
Symbol 158 MovieClip [t8] Frame 1 (8 B)
play();
Symbol 158 MovieClip [t8] Frame 142 (33 B)
stop();
this.removeMovieClip();
Symbol 171 MovieClip [t9] Frame 1 (77 B)
if (this.replay < 1) {
gotoAndPlay (8);
} else {
gotoAndPlay (2);
}
Symbol 171 MovieClip [t9] Frame 36 (26 B)
stop();
this.replay = 1;
Symbol 171 MovieClip [t9] Frame 43 (8 B)
stop();
Symbol 173 MovieClip [t10] Frame 1 (77 B)
if (this.replay < 1) {
gotoAndPlay (8);
} else {
gotoAndPlay (2);
}
Symbol 173 MovieClip [t10] Frame 36 (26 B)
stop();
this.replay = 1;
Symbol 173 MovieClip [t10] Frame 43 (8 B)
stop();
Symbol 175 MovieClip [t11] Frame 1 (77 B)
if (this.replay < 1) {
gotoAndPlay (8);
} else {
gotoAndPlay (2);
}
Symbol 175 MovieClip [t11] Frame 36 (26 B)
stop();
this.replay = 1;
Symbol 175 MovieClip [t11] Frame 43 (8 B)
stop();
Symbol 177 MovieClip [t12] Frame 1 (77 B)
if (this.replay < 1) {
gotoAndPlay (8);
} else {
gotoAndPlay (2);
}
Symbol 177 MovieClip [t12] Frame 36 (26 B)
stop();
this.replay = 1;
Symbol 177 MovieClip [t12] Frame 43 (8 B)
stop();
Symbol 188 MovieClip Frame 77 (36 B)
stop();
_parent.removeMovieClip();
Symbol 190 MovieClip [t13] Frame 1 (24 B)
play();
target.play();
Symbol 190 MovieClip [t13] Frame 2 (23 B)
target.gotoAndPlay(2);
Symbol 190 MovieClip [t13] Frame 67 (61 B)
_root.control.struck = 1;
_root.audio.gotoAndPlay("laugh");
Symbol 190 MovieClip [t13] Frame 68 (111 B)
_root.attachMovie("damageFlash", "damageFlash", 20);
_root.damageFlash._x = 320;
_root.damageFlash._y = 220;
Symbol 190 MovieClip [t13] Frame 70 (33 B)
stop();
target.gotoAndStop(70);
Symbol 190 MovieClip [t13] Frame 72 (15 B)
target.play();
Symbol 190 MovieClip [t13] Frame 77 (8 B)
stop();
Symbol 192 MovieClip [t14] Frame 1 (24 B)
play();
target.play();
Symbol 192 MovieClip [t14] Frame 2 (23 B)
target.gotoAndPlay(2);
Symbol 192 MovieClip [t14] Frame 67 (61 B)
_root.control.struck = 1;
_root.audio.gotoAndPlay("laugh");
Symbol 192 MovieClip [t14] Frame 68 (111 B)
_root.attachMovie("damageFlash", "damageFlash", 20);
_root.damageFlash._x = 320;
_root.damageFlash._y = 220;
Symbol 192 MovieClip [t14] Frame 70 (33 B)
stop();
target.gotoAndStop(70);
Symbol 192 MovieClip [t14] Frame 73 (15 B)
target.play();
Symbol 192 MovieClip [t14] Frame 77 (8 B)
stop();
Symbol 194 MovieClip [t15] Frame 1 (24 B)
play();
target.play();
Symbol 194 MovieClip [t15] Frame 2 (23 B)
target.gotoAndPlay(2);
Symbol 194 MovieClip [t15] Frame 67 (61 B)
_root.control.struck = 1;
_root.audio.gotoAndPlay("laugh");
Symbol 194 MovieClip [t15] Frame 68 (111 B)
_root.attachMovie("damageFlash", "damageFlash", 20);
_root.damageFlash._x = 320;
_root.damageFlash._y = 220;
Symbol 194 MovieClip [t15] Frame 70 (33 B)
stop();
target.gotoAndStop(70);
Symbol 194 MovieClip [t15] Frame 73 (15 B)
target.play();
Symbol 194 MovieClip [t15] Frame 77 (8 B)
stop();
Symbol 196 MovieClip [t16] Frame 1 (24 B)
play();
target.play();
Symbol 196 MovieClip [t16] Frame 2 (23 B)
target.gotoAndPlay(2);
Symbol 196 MovieClip [t16] Frame 67 (61 B)
_root.control.struck = 1;
_root.audio.gotoAndPlay("laugh");
Symbol 196 MovieClip [t16] Frame 68 (111 B)
_root.attachMovie("damageFlash", "damageFlash", 20);
_root.damageFlash._x = 320;
_root.damageFlash._y = 220;
Symbol 196 MovieClip [t16] Frame 70 (33 B)
stop();
target.gotoAndStop(70);
Symbol 196 MovieClip [t16] Frame 73 (15 B)
target.play();
Symbol 196 MovieClip [t16] Frame 77 (8 B)
stop();
Symbol 212 MovieClip Frame 8 (8 B)
stop();
Instance of Symbol 210 MovieClip in Symbol 213 MovieClip [t17] Frame 5 (702 B)
onClipEvent (load) {
_parent.stop();
this.set = 0;
}
onClipEvent (enterFrame) {
if (this.set == 0) {
this.doMove = random(10);
if (this.doMove == 0) {
this.set = 1;
this.xPo = random(100) - 50;
this.yPo = random(360) - 180;
this.Xtrack = this.xPo - _parent.target._x;
this.Ytrack = this.yPo - _parent.target._y;
}
}
this.xMo = this.Xtrack / 10;
this.yMo = this.Ytrack / 10;
this.Xtrack = this.Xtrack - this.xMo;
this.Ytrack = this.Ytrack - this.yMo;
_parent.target._x = _parent.target._x + this.xMo;
_parent.target._y = _parent.target._y + this.yMo;
if ((_parent.target._x < (this.xPo + 10)) && ((this.xPo - 10) < _parent.target._x)) {
this.set = 0;
}
}
Symbol 213 MovieClip [t17] Frame 6 (65 B)
this.cloud._x = this.target._x;
this.cloud._y = this.target._y;
Symbol 213 MovieClip [t17] Frame 13 (8 B)
stop();
Instance of Symbol 210 MovieClip in Symbol 214 MovieClip [t18] Frame 5 (702 B)
onClipEvent (load) {
_parent.stop();
this.set = 0;
}
onClipEvent (enterFrame) {
if (this.set == 0) {
this.doMove = random(10);
if (this.doMove == 0) {
this.set = 1;
this.xPo = random(100) - 50;
this.yPo = random(360) - 180;
this.Xtrack = this.xPo - _parent.target._x;
this.Ytrack = this.yPo - _parent.target._y;
}
}
this.xMo = this.Xtrack / 10;
this.yMo = this.Ytrack / 10;
this.Xtrack = this.Xtrack - this.xMo;
this.Ytrack = this.Ytrack - this.yMo;
_parent.target._x = _parent.target._x + this.xMo;
_parent.target._y = _parent.target._y + this.yMo;
if ((_parent.target._x < (this.xPo + 10)) && ((this.xPo - 10) < _parent.target._x)) {
this.set = 0;
}
}
Symbol 214 MovieClip [t18] Frame 6 (65 B)
this.cloud._x = this.target._x;
this.cloud._y = this.target._y;
Symbol 214 MovieClip [t18] Frame 13 (8 B)
stop();
Instance of Symbol 210 MovieClip in Symbol 215 MovieClip [t19] Frame 5 (702 B)
onClipEvent (load) {
_parent.stop();
this.set = 0;
}
onClipEvent (enterFrame) {
if (this.set == 0) {
this.doMove = random(10);
if (this.doMove == 0) {
this.set = 1;
this.xPo = random(100) - 50;
this.yPo = random(360) - 180;
this.Xtrack = this.xPo - _parent.target._x;
this.Ytrack = this.yPo - _parent.target._y;
}
}
this.xMo = this.Xtrack / 10;
this.yMo = this.Ytrack / 10;
this.Xtrack = this.Xtrack - this.xMo;
this.Ytrack = this.Ytrack - this.yMo;
_parent.target._x = _parent.target._x + this.xMo;
_parent.target._y = _parent.target._y + this.yMo;
if ((_parent.target._x < (this.xPo + 10)) && ((this.xPo - 10) < _parent.target._x)) {
this.set = 0;
}
}
Symbol 215 MovieClip [t19] Frame 6 (65 B)
this.cloud._x = this.target._x;
this.cloud._y = this.target._y;
Symbol 215 MovieClip [t19] Frame 13 (8 B)
stop();
Instance of Symbol 210 MovieClip in Symbol 216 MovieClip [t20] Frame 5 (702 B)
onClipEvent (load) {
_parent.stop();
this.set = 0;
}
onClipEvent (enterFrame) {
if (this.set == 0) {
this.doMove = random(10);
if (this.doMove == 0) {
this.set = 1;
this.xPo = random(100) - 50;
this.yPo = random(360) - 180;
this.Xtrack = this.xPo - _parent.target._x;
this.Ytrack = this.yPo - _parent.target._y;
}
}
this.xMo = this.Xtrack / 10;
this.yMo = this.Ytrack / 10;
this.Xtrack = this.Xtrack - this.xMo;
this.Ytrack = this.Ytrack - this.yMo;
_parent.target._x = _parent.target._x + this.xMo;
_parent.target._y = _parent.target._y + this.yMo;
if ((_parent.target._x < (this.xPo + 10)) && ((this.xPo - 10) < _parent.target._x)) {
this.set = 0;
}
}
Symbol 216 MovieClip [t20] Frame 6 (65 B)
this.cloud._x = this.target._x;
this.cloud._y = this.target._y;
Symbol 216 MovieClip [t20] Frame 13 (8 B)
stop();
Symbol 235 MovieClip [targetLock] Frame 1 (8 B)
stop();
Symbol 244 Button (36 B)
on (release) {
gotoAndPlay (111);
}
Symbol 265 MovieClip [startBut] Frame 1 (126 B)
function message() {
this.quiverCount = _root.arrowsNum + " arrows.";
this.targetsToHit = _root.killNum + " targets.";
}
Symbol 265 MovieClip [startBut] Frame 14 (39 B)
gotoAndStop("level" + _root.levelNum);
Symbol 265 MovieClip [startBut] Frame 20 (11 B)
message();
Symbol 265 MovieClip [startBut] Frame 25 (11 B)
message();
Symbol 265 MovieClip [startBut] Frame 30 (11 B)
message();
Symbol 265 MovieClip [startBut] Frame 35 (11 B)
message();
Symbol 265 MovieClip [startBut] Frame 40 (11 B)
message();
Symbol 265 MovieClip [startBut] Frame 50 (11 B)
message();
Symbol 265 MovieClip [startBut] Frame 55 (11 B)
message();
Symbol 265 MovieClip [startBut] Frame 60 (11 B)
message();
Symbol 265 MovieClip [startBut] Frame 65 (11 B)
message();
Symbol 265 MovieClip [startBut] Frame 70 (11 B)
message();
Symbol 265 MovieClip [startBut] Frame 75 (11 B)
message();
Symbol 265 MovieClip [startBut] Frame 80 (11 B)
message();
Symbol 265 MovieClip [startBut] Frame 85 (11 B)
message();
Symbol 265 MovieClip [startBut] Frame 90 (11 B)
message();
Symbol 265 MovieClip [startBut] Frame 95 (11 B)
message();
Symbol 265 MovieClip [startBut] Frame 118 (34 B)
_root.audio.gotoAndPlay("clock");
Symbol 265 MovieClip [startBut] Frame 128 (36 B)
stop();
_root.gotoAndStop("game");
Symbol 269 Button (218 B)
on (rollOver) {
_root.audio.gotoAndPlay("beep");
}
on (release) {
_root.levelNum = 1;
if (_root.testDone == 1) {
_root.gotoAndStop("setup");
_root.testDone = 1;
} else {
_root.gotoAndStop("machinetest");
}
}
Symbol 271 Button (218 B)
on (rollOver) {
_root.audio.gotoAndPlay("beep");
}
on (release) {
_root.levelNum = 2;
if (_root.testDone == 1) {
_root.gotoAndStop("setup");
_root.testDone = 1;
} else {
_root.gotoAndStop("machinetest");
}
}
Symbol 273 Button (218 B)
on (rollOver) {
_root.audio.gotoAndPlay("beep");
}
on (release) {
_root.levelNum = 3;
if (_root.testDone == 1) {
_root.gotoAndStop("setup");
_root.testDone = 1;
} else {
_root.gotoAndStop("machinetest");
}
}
Symbol 275 Button (218 B)
on (rollOver) {
_root.audio.gotoAndPlay("beep");
}
on (release) {
_root.levelNum = 4;
if (_root.testDone == 1) {
_root.gotoAndStop("setup");
_root.testDone = 1;
} else {
_root.gotoAndStop("machinetest");
}
}
Symbol 278 Button (218 B)
on (rollOver) {
_root.audio.gotoAndPlay("beep");
}
on (release) {
_root.levelNum = 5;
if (_root.testDone == 1) {
_root.gotoAndStop("setup");
_root.testDone = 1;
} else {
_root.gotoAndStop("machinetest");
}
}
Symbol 279 MovieClip [training] Frame 5 (8 B)
stop();
Instance of Symbol 276 MovieClip in Symbol 279 MovieClip [training] Frame 5 (181 B)
onClipEvent (enterFrame) {
if ((((_root._xmouse < 500) || (610 < _root._xmouse)) || (_root._ymouse < -45)) || (165 < _root._ymouse)) {
_parent.removeMovieClip();
}
}
Symbol 292 MovieClip Frame 5 (64 B)
_root.audio.gotoAndPlay("whoosh");
_root.music.gotoAndStop(2);
Symbol 292 MovieClip Frame 11 (34 B)
_root.audio.gotoAndPlay("tongk");
Symbol 292 MovieClip Frame 56 (35 B)
_root.audio.gotoAndPlay("whoosh");
Symbol 292 MovieClip Frame 62 (34 B)
_root.audio.gotoAndPlay("tongk");
Symbol 292 MovieClip Frame 117 (36 B)
_root.audio.gotoAndPlay("explode");
Symbol 292 MovieClip Frame 127 (35 B)
_root.audio.gotoAndPlay("whoosh");
Symbol 292 MovieClip Frame 133 (35 B)
_root.audio.gotoAndPlay("whoosh");
Symbol 292 MovieClip Frame 139 (34 B)
_root.audio.gotoAndPlay("tongk");
Symbol 292 MovieClip Frame 156 (27 B)
_root.gotoAndStop("menu");
Symbol 308 MovieClip Frame 1 (8 B)
stop();
Symbol 308 MovieClip Frame 32 (17 B)
gotoAndStop (1);
Symbol 308 MovieClip Frame 53 (17 B)
gotoAndStop (1);
Symbol 308 MovieClip Frame 68 (17 B)
gotoAndStop (1);
Symbol 308 MovieClip Frame 80 (17 B)
gotoAndStop (1);
Symbol 308 MovieClip Frame 96 (17 B)
gotoAndStop (1);
Symbol 308 MovieClip Frame 102 (17 B)
gotoAndStop (1);
Symbol 308 MovieClip Frame 111 (17 B)
gotoAndStop (1);
Symbol 308 MovieClip Frame 126 (17 B)
gotoAndStop (1);
Symbol 308 MovieClip Frame 141 (17 B)
gotoAndStop (1);
Symbol 308 MovieClip Frame 149 (17 B)
gotoAndStop (1);
Symbol 308 MovieClip Frame 160 (17 B)
gotoAndStop (1);
Symbol 308 MovieClip Frame 173 (17 B)
gotoAndStop (1);
Symbol 308 MovieClip Frame 186 (17 B)
gotoAndStop (1);
Symbol 311 MovieClip Frame 1 (8 B)
stop();
Symbol 318 Button (97 B)
on (rollOver) {
_root.audio.gotoAndPlay("beep");
}
on (release) {
_root.gotoAndStop("rules");
}
Symbol 319 Button (218 B)
on (rollOver) {
_root.audio.gotoAndPlay("beep");
}
on (release) {
_root.levelNum = 6;
if (_root.testDone == 1) {
_root.testDone = 1;
_root.gotoAndStop("setup");
} else {
_root.gotoAndStop("machinetest");
}
}
Symbol 321 Button (97 B)
on (rollOver) {
_root.audio.gotoAndPlay("beep");
}
on (release) {
_root.gotoAndStop("story");
}
Symbol 322 Button (148 B)
on (rollOver) {
_root.audio.gotoAndPlay("beep");
this.attachMovie("training", "training", 2);
this.training._x = 235;
this.training._y = -108;
}
Symbol 327 MovieClip Frame 6 (45 B)
stop();
_root.audio.gotoAndPlay("explode");
Symbol 342 Button (44 B)
on (release) {
_root.gotoAndStop("menu");
}
Symbol 345 Button (49 B)
on (release) {
gotoAndStop(_currentframe + 1);
}
Symbol 350 Button (49 B)
on (release) {
gotoAndStop(_currentframe - 1);
}
Symbol 387 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 393 MovieClip in Symbol 394 MovieClip Frame 1 (894 B)
onClipEvent (load) {
this.counter = 1;
this.tick = new Date();
this.milliTick = this.tick.getMilliseconds();
}
onClipEvent (enterFrame) {
this.counter++;
this.prevTick = this.milliTick;
this.tick = new Date();
this.milliTick = this.tick.getMilliseconds();
if (this.milliTick < this.prevTick) {
this.resetTick = 999 - this.prevTick;
this.totalTick = this.totalTick + (this.resetTick + this.milliTick);
} else {
this.totalTick = this.totalTick + (this.milliTick - this.prevTick);
}
if (this.counter == 10) {
trace(this.totalTick);
if (this.totalTick < 300) {
_quality = "HIGH";
_root.gotoAndPlay(_root._currentframe + 1);
} else if ((this.totalTick >= 300) && (this.totalTick < 700)) {
_quality = "MEDIUM";
_root.gotoAndPlay(_root._currentframe + 1);
} else {
_quality = "LOW";
_root.gotoAndPlay(_root._currentframe + 1);
}
}
}
Symbol 396 Button (80 B)
on (press) {
if (_root.control.arrowLoad == 0) {
_root.control.fire = 1;
}
}
Symbol 404 MovieClip Frame 3 (2.22 KiB) ●
stop();
this.fs = _root.finalScore;
if (this.fs < 1) {
this.fs = 0;
}
if (_root.gotConverted == 1) {
_root.gotConverted = 0;
this.addReason = "Unfortunately you've been hit by too many RedCap arrows and have fallen to the dark side. Unless you improve the Love will drain from your heart and you will be turned into a RedCap. ";
} else if (_root.noArrows == 1) {
_root.noArrows = 0;
this.addReason = "Unfortunately you've run out of arrows which, does not say much about your strategy. You managed to escape from the city with your heart still filled with Love. ";
}
if (5 >= _root.levelNum) {
this.results = ("You got " + this.fs) + " points.";
if (_root.levelNum == 4) {
if (this.fs < 200) {
this.report = "You'll have to do better. If you cannot get them in the heart at least get them in the head";
} else {
this.report = "You passed this training test.";
}
} else if (this.fs < 300) {
this.report = "You'll have to do better. If you went into the RedCap city like this they will shoot your heart to pieces and drain your love until you turn into a RedCap.";
} else {
this.report = "You passed this training test. You can go to the RedCap city but a word of caution ... the real world is a scary and heartless place.";
}
} else {
this.results = ("You got " + this.fs) + " points.";
if (this.fs < 2000) {
this.report = this.addReason + "Better not tell anybody about this. Go and practice in some dark corner until you can get at least 200 points";
} else if ((this.fs >= 2000) && (this.fs < 3000)) {
this.report = this.addReason + "Still, not a bad attempt but you have to do better if you want to impress the Academy";
} else if ((this.fs >= 3000) && (this.fs < 4000)) {
this.report = this.addReason + "Still, the Academy might start taking notice of your ideas but they will not be convinced yet.";
} else if ((this.fs >= 4000) && (this.fs < 5300)) {
this.report = this.addReason + "Your effort is still impressive. The Academy might listen to your case if you can manage to get back in one piece";
} else if (this.fs >= 5300) {
this.report = "You're a Super Cupid. You might as well take over the Academy. " + this.addReason;
}
}