Frame 450
stop();
Frame 451
stop();
Frame 452
gotoAndPlay (454);
Frame 453
gotoAndPlay (614);
Frame 613
gotoAndPlay (1);
Frame 778
gotoAndPlay (1);
Symbol 2 MovieClip Frame 165
gotoAndPlay (70);
Symbol 42 MovieClip Frame 1
if (this.sessionstarted != 1) {
this.arcade = new LoadVars();
this.sessionvars = new LoadVars();
this.arcade.gamename = "boogerflick";
this.arcade.sessdo = "sessionstart";
this.arcade.sendAndLoad("arcade.php", sessionvars, "POST");
if (this.sessionvars.sessiontype != 2) {
_root.is_a_challenge = 0;
} else {
_root.is_a_challenge = 1;
}
this.sessionstarted = 1;
}
if (_root.gameover == 1) {
if ((this.askpermission != 1) && (this.sessionvars.connStatus == 1)) {
this.prequestvars = new LoadVars();
this.pranswer = new LoadVars();
this.prequestvars.gametime = this.sessionvars.gametime;
this.prequestvars.fakekey = this.sessionvars.initbar;
_root.score = int(Number(_root.score));
if (_root.score != 0) {
this.prequestvars.score = _root.score;
} else {
this.prequestvars.score = -1;
}
this.prequestvars.id = this.sessionvars.lastid;
this.prequestvars.sessdo = "permrequest";
this.prequestvars.note = (this.prequestvars.id * this.prequestvars.score) * this.prequestvars.fakekey;
this.prequestvars.sendAndLoad("./arcade.php", this.pranswer, "POST");
this.askpermission = 1;
}
if ((this.pranswer.validate == 1) && (this.finalsent != 1)) {
this.burnscore = new LoadVars();
this.burnscore.microone = this.pranswer.microone;
this.burnscore.gametime = this.prequestvars.gametime;
this.burnscore.id = this.prequestvars.id;
if (_root.score == 0) {
this.burnscore.noscore = 1;
}
this.burnscore.sessdo = "burn";
this.burnscore.send("./arcade.php", "_self", "POST");
this.finalsent = 1;
}
}
Symbol 50 MovieClip Frame 61
stop();
Symbol 69 Button
on (release, releaseOutside) {
stopAllSounds();
gotoAndStop (451);
}
Symbol 74 MovieClip Frame 1
LimitTime = "40";
CurrentTime = "0";
PrevTime = "0";
MaxFly = "10";
MaxDirt = "10";
Click = "0";
Press = "0";
PrevPress = "0";
DirtX = "275";
DirtY = "300";
Score = "0";
Combo = "0";
ComboFlag = "0";
FlySpeed = "2";
ItemAutomatic = "0";
ItemShotgun = "0";
ItemFlag = "1";
BaseTimer = getTimer();
GameOver = "0";
GameClear = "0";
HitFly = "100";
RemindFly = "100";
i = "0";
while (MaxFly >= i) {
setProperty("/Fly" add i, _visible , "0");
Set(("/Fly" add i) add ":Flag", "0");
i = i + "1";
}
i = "0";
while (MaxDirt >= i) {
setProperty("/Dirt" add i, _visible , "0");
Set(("/Dirt" add i) add ":Flag", "0");
i = i + "1";
}
tellTarget ("/ScoreDummy1") {
gotoAndStop (1);
};
tellTarget ("/ScoreDummy2") {
gotoAndStop (1);
};
setProperty("/Double", _visible , "0");
setProperty("/Combo", _visible , "0");
setProperty("/Combo0", _visible , "0");
setProperty("/Combo1", _visible , "0");
setProperty("/ammo", _visible , "0");
setProperty("/ammo0", _visible , "0");
setProperty("/ammo1", _visible , "0");
setProperty("/ammo2", _visible , "0");
setProperty("/Replay", _visible , "0");
setProperty("/sight", _visible , "1");
setProperty("/GetItem", _visible , "0");
Set("/Double:Flag", "0");
Symbol 74 MovieClip Frame 2
startDrag ("/sight", true);
MouseX = getProperty("/sight", _x);
MouseY = getProperty("/sight", _y);
Click = "0";
if (Press == "1") {
if (PrevPress == "0") {
Click = "1";
if (ItemShotgun == "0") {
if (ItemAutomatic == "0") {
tellTarget ("/AmmoSound") {
gotoAndPlay ("Normal");
};
}
}
if (ItemShotgun == "1") {
Ammo = Ammo - "1";
tellTarget ("/AmmoSound") {
gotoAndPlay ("Shotgun");
};
if (Ammo == "0") {
ItemShotgun = "0";
setProperty("/ammo", _visible , "0");
setProperty("/ammo0", _visible , "0");
setProperty("/ammo1", _visible , "0");
setProperty("/ammo2", _visible , "0");
}
}
}
if (ItemAutomatic == "1") {
Click = "1";
tellTarget ("/AmmoSound") {
gotoAndPlay ("Automatic");
};
if (PrevPress == "0") {
ItemFlag = "0";
} else {
ItemFlag = "1" - ItemFlag;
}
Ammo = Ammo - "1";
if (Ammo == "0") {
ItemAutomatic = "0";
setProperty("/ammo", _visible , "0");
setProperty("/ammo0", _visible , "0");
setProperty("/ammo1", _visible , "0");
setProperty("/ammo2", _visible , "0");
}
}
}
if (Click == "1") {
FreeDirt = "0";
i = "0";
while (i < MaxDirt) {
Temp = eval (("/Dirt" add i) add ":Flag");
if (Temp == "0") {
FreeDirt = i;
}
i = i + "1";
}
i = FreeDirt;
Set(("/Dirt" add i) add ":Flag", "1");
Set(("/Dirt" add i) add ":TargetX", MouseX);
Set(("/Dirt" add i) add ":TargetY", MouseY);
setProperty("/Dirt" add i, _visible , "1");
setProperty("/Dirt" add i, _x , eval (("/Dirt" add i) add ":TargetX"));
setProperty("/Dirt" add i, _y , eval (("/Dirt" add i) add ":TargetY"));
if (ItemShotgun == "1") {
j = "0";
while (j < MaxDirt) {
Set(("/Dirt" add j) add ":Flag", "1");
Set(("/Dirt" add j) add ":TargetX", (MouseX + random("120")) - "60");
Set(("/Dirt" add j) add ":TargetY", (MouseY + random("120")) - "60");
setProperty("/Dirt" add j, _visible , "1");
setProperty("/Dirt" add j, _x , eval (("/Dirt" add j) add ":TargetX"));
setProperty("/Dirt" add j, _y , eval (("/Dirt" add j) add ":TargetY"));
j = j + "1";
}
}
}
i = "0";
while (i < MaxDirt) {
Temp = eval (("/Dirt" add i) add ":Flag");
if ("0" < Temp) {
setProperty("/Dirt" add i, _alpha , ("10" - Temp) * "20");
setProperty("/Dirt" add i, _xscale , ("20" + eval (("/Dirt" add i) add ":Flag")) * "5");
setProperty("/Dirt" add i, _yscale , ("20" + eval (("/Dirt" add i) add ":Flag")) * "5");
Set(("/Dirt" add i) add ":Flag", eval (("/Dirt" add i) add ":Flag") + "1");
}
if ("11" < Temp) {
Set(("/Dirt" add i) add ":Flag", "0");
setProperty("/Dirt" add i, _alpha , "100");
setProperty("/Dirt" add i, _visible , "0");
}
i = i + "1";
}
i = "0";
CrashFlag = "0";
while (i < MaxFly) {
Set(("/Fly" add i) add ":Crash", "0");
CrashX = eval (("/Fly" add i) add ":X");
CrashY = eval (("/Fly" add i) add ":Y");
if ((CrashX - "20") < MouseX) {
if (MouseX < (CrashX + "20")) {
if ((CrashY - "20") < MouseY) {
if (MouseY < (CrashY + "20")) {
CrashFlag = "1";
Set(("/Fly" add i) add ":Crash", "1");
}
}
}
}
if (ItemShotgun == "1") {
if ((CrashX - "70") < MouseX) {
if (MouseX < (CrashX + "70")) {
if ((CrashY - "70") < MouseY) {
if (MouseY < (CrashY + "70")) {
CrashFlag = "1";
Set(("/Fly" add i) add ":Crash", "1");
}
}
}
}
}
i = i + "1";
}
i = "0";
Crash = "0";
while (i < MaxFly) {
if (Click == "1") {
Temp = eval (("/Fly" add i) add ":Crash");
if (Temp == "1") {
Temp = eval (("/Fly" add i) add ":Item");
if (Temp == "1") {
setProperty("/GetItem", _visible , "1");
tellTarget ("/GetItem") {
gotoAndPlay (1);
};
Temp = random("2");
if (Temp == "0") {
ItemAutomatic = "1";
ItemShotgun = "0";
Ammo = "100";
setProperty("/ammo0", _visible , "1");
setProperty("/ammo", _visible , "1");
setProperty("/ammo1", _visible , "1");
setProperty("/ammo2", _visible , "1");
} else {
ItemAutomatic = "0";
ItemShotgun = "1";
Ammo = "20";
setProperty("/ammo", _visible , "1");
setProperty("/ammo0", _visible , "1");
setProperty("/ammo1", _visible , "1");
setProperty("/ammo2", _visible , "1");
}
}
Temp = eval (("/Fly" add i) add ":Flag");
if (Temp <> "3") {
Crash = Crash + "1";
Set(("/Fly" add i) add ":Flag", "3");
tellTarget ("/Fly" add i) {
gotoAndStop ("Die");
};
}
}
}
i = i + "1";
}
if ("0" < Crash) {
HitFly = HitFly - Crash;
Combo = Combo + Crash;
ComboFlag = "1";
ComboTime = getTimer();
}
if (Crash == "1") {
Score = Score + Combo;
}
if ("1" < Crash) {
Set("/Double:Flag", "1");
Score = Score + Combo;
Score = Score + "10";
}
setProperty("/sight", _x , MouseX);
setProperty("/sight", _y , MouseY);
if (CrashFlag == "0") {
tellTarget ("/sight") {
gotoAndStop ("Normal");
};
} else {
tellTarget ("/sight") {
gotoAndPlay ("Lock");
};
}
if (ItemAutomatic == "1") {
tellTarget ("/sight") {
gotoAndStop ("Auto");
};
}
if (ItemShotgun == "1") {
tellTarget ("/sight") {
gotoAndStop ("Shotgun");
};
}
Temp = getTimer() - BaseTimer;
Timer = int(Temp / "1000");
CurrentTime = LimitTime - Timer;
if (length(CurrentTime) == "2") {
TickTime = substring(CurrentTime, "1", "1");
tellTarget ("/Time0") {
gotoAndStop(/Script:TickTime + "1");
};
TickTime = substring(CurrentTime, "2", "1");
tellTarget ("/Time1") {
gotoAndStop(/Script:TickTime + "1");
};
} else {
tellTarget ("/Time0") {
gotoAndStop("1");
};
TickTime = substring(CurrentTime, "1", "1");
tellTarget ("/Time1") {
gotoAndStop(/Script:TickTime + "1");
};
}
if (CurrentTime == "0") {
gotoAndPlay (4);
}
i = "0";
Temp = length(Score);
while (i < "5") {
if (i < Temp) {
TickScore = substring(Score, Temp - i, "1");
tellTarget ("/Score" add i) {
gotoAndStop(/Script:TickScore + "1");
};
} else {
tellTarget ("/Score" add i) {
gotoAndStop (1);
};
}
i = i + "1";
}
if (HitFly >= "100") {
tellTarget ("/Remind0") {
gotoAndStop (2);
};
tellTarget ("/Remind1") {
gotoAndStop (1);
};
tellTarget ("/Remind2") {
gotoAndStop (1);
};
} else if ("9" < HitFly) {
setProperty("/Remind0", _visible , "0");
Temp = substring(HitFly, "1", "1");
tellTarget ("/Remind1") {
gotoAndStop(/Script:Temp + "1");
};
Temp = substring(HitFly, "2", "1");
tellTarget ("/Remind2") {
gotoAndStop(/Script:Temp + "1");
};
} else {
setProperty("/Remind0", _visible , "0");
setProperty("/Remind1", _visible , "0");
tellTarget ("/Remind2") {
gotoAndStop(/Script:HitFly + "1");
};
}
if ("1" < Combo) {
setProperty("/Combo", _visible , "1");
setProperty("/Combo0", _visible , "1");
setProperty("/Combo1", _visible , "1");
if ("0" < ComboFlag) {
setProperty("/Combo", _x , "580" - (ComboFlag * "30"));
setProperty("/Combo0", _x , ("580" - (ComboFlag * "30")) - "80");
setProperty("/Combo1", _x , ("580" - (ComboFlag * "30")) - "60");
ComboFlag = ComboFlag + "1";
}
if ("3" < ComboFlag) {
ComboFlag = "0";
}
if (length(Combo) == "2") {
TickTime = substring(Combo, "1", "1");
tellTarget ("/Combo0") {
gotoAndStop(/Script:TickTime + "1");
};
TickTime = substring(Combo, "2", "1");
tellTarget ("/Combo1") {
gotoAndStop(/Script:TickTime + "1");
};
} else {
tellTarget ("/Combo0") {
gotoAndStop("1");
};
TickTime = substring(Combo, "1", "1");
tellTarget ("/Combo1") {
gotoAndStop(/Script:TickTime + "1");
};
}
}
Temp = /Double:Flag;
if ("0" < Temp) {
setProperty("/Double", _visible , "1");
setProperty("/Double", _alpha , ("20" - Temp) * "5");
Set("/Double:Flag", /Double:Flag + "1");
}
if ("20" < Temp) {
setProperty("/Double", _visible , "0");
Set("/Double:Flag", "0");
}
i = "0";
Temp = length(Ammo);
while (i < "3") {
if (i < Temp) {
TickAmmo = substring(Ammo, Temp - i, "1");
tellTarget ("/Ammo" add i) {
gotoAndStop(/Script:TickAmmo + "1");
};
} else {
tellTarget ("/Ammo" add i) {
gotoAndStop (1);
};
}
i = i + "1";
}
i = "0";
while (i < MaxFly) {
FlyFlag = eval (("/Fly" add i) add ":Flag");
if (FlyFlag == "2") {
Set(("/Fly" add i) add ":X", eval (("/Fly" add i) add ":X") + eval (("/Fly" add i) add ":MoveX"));
Set(("/Fly" add i) add ":Y", eval (("/Fly" add i) add ":Y") + eval (("/Fly" add i) add ":MoveY"));
Set(("/Fly" add i) add ":MoveCount", eval (("/Fly" add i) add ":MoveCount") - "1");
if ("0" >= eval (("/Fly" add i) add ":MoveCount")) {
Set(("/Fly" add i) add ":TargetX", eval (("/Fly" add i) add ":X"));
Set(("/Fly" add i) add ":TargetY", eval (("/Fly" add i) add ":Y"));
Set(("/Fly" add i) add ":Flag", "1");
}
}
if ("0" < RemindFly) {
if (FlyFlag == "0") {
RemindFly = RemindFly - "1";
setProperty("/Fly" add i, _visible , "1");
Set(("/Fly" add i) add ":TargetX", random("550"));
Set(("/Fly" add i) add ":TargetY", random("400"));
Temp = random("15");
if (Temp == "0") {
Set(("/Fly" add i) add ":Item", "1");
} else {
Set(("/Fly" add i) add ":Item", "0");
}
Seed1 = random("2");
Seed2 = random("2");
if (Seed1 == "0") {
if (Seed2 == "0") {
Set(("/Fly" add i) add ":TargetX", "0");
} else {
Set(("/Fly" add i) add ":TargetX", "550");
}
} else if (Seed2 == "0") {
Set(("/Fly" add i) add ":TargetY", "0");
} else {
Set(("/Fly" add i) add ":TargetY", "400");
}
Set(("/Fly" add i) add ":X", eval (("/Fly" add i) add ":TargetX"));
Set(("/Fly" add i) add ":Y", eval (("/Fly" add i) add ":TargetY"));
Set(("/Fly" add i) add ":Flag", "1");
setProperty("/Fly" add i, _visible , "1");
}
}
if (FlyFlag == "1") {
Set(("/Fly" add i) add ":SourceX", eval (("/Fly" add i) add ":TargetX"));
Set(("/Fly" add i) add ":SourceY", eval (("/Fly" add i) add ":TargetY"));
Set(("/Fly" add i) add ":TargetX", eval (("/Fly" add i) add ":SourceX") + (random("400") - "200"));
Set(("/Fly" add i) add ":TargetY", eval (("/Fly" add i) add ":SourceY") + (random("400") - "200"));
if ("10" >= eval (("/Fly" add i) add ":TargetX")) {
Set(("/Fly" add i) add ":TargetX", eval (("/Fly" add i) add ":TargetX") + "200");
}
if (eval (("/Fly" add i) add ":TargetX") >= "540") {
Set(("/Fly" add i) add ":TargetX", eval (("/Fly" add i) add ":TargetX") - "200");
}
if ("10" >= eval (("/Fly" add i) add ":TargetY")) {
Set(("/Fly" add i) add ":TargetY", eval (("/Fly" add i) add ":TargetY") + "200");
}
if (eval (("/Fly" add i) add ":TargetY") >= "390") {
Set(("/Fly" add i) add ":TargetY", eval (("/Fly" add i) add ":TargetY") - "200");
}
Seed1 = eval (("/Fly" add i) add ":TargetX") - eval (("/Fly" add i) add ":SourceX");
Seed2 = eval (("/Fly" add i) add ":TargetY") - eval (("/Fly" add i) add ":SourceY");
if ("0" < Seed1) {
Set(("/Fly" add i) add ":Direct", "1");
Temp = eval (("/Fly" add i) add ":Item");
if (Temp == "1") {
tellTarget ("/Fly" add i) {
gotoAndStop ("SRight");
};
} else {
tellTarget ("/Fly" add i) {
gotoAndStop ("Right");
};
}
} else {
Set(("/Fly" add i) add ":Direct", -"1");
Temp = eval (("/Fly" add i) add ":Item");
if (Temp == "1") {
tellTarget ("/Fly" add i) {
gotoAndStop ("SLeft");
};
} else {
tellTarget ("/Fly" add i) {
gotoAndStop ("Left");
};
}
}
if (Seed1 >= "0") {
SeedX = Seed1;
} else {
SeedX = Seed1 * (-"1");
}
if (Seed2 >= "0") {
SeedY = Seed2;
} else {
SeedY = Seed2 * (-"1");
}
Set(("/Fly" add i) add ":MoveRange", random("10") + FlySpeed);
if (SeedX >= SeedY) {
Set(("/Fly" add i) add ":MoveCount", int(SeedX / eval (("/Fly" add i) add ":MoveRange")));
} else {
Set(("/Fly" add i) add ":MoveCount", int(SeedY / eval (("/Fly" add i) add ":MoveRange")));
}
Set(("/Fly" add i) add ":MoveX", int(Seed1 / eval (("/Fly" add i) add ":MoveCount")));
Set(("/Fly" add i) add ":MoveY", int(Seed2 / eval (("/Fly" add i) add ":MoveCount")));
Set(("/Fly" add i) add ":X", eval (("/Fly" add i) add ":SourceX"));
Set(("/Fly" add i) add ":Y", eval (("/Fly" add i) add ":SourceY"));
Set(("/Fly" add i) add ":Flag", "2");
}
if (FlyFlag == "3") {
Set(("/Fly" add i) add ":Y", eval (("/Fly" add i) add ":Y") + "20");
Temp = eval (("/Fly" add i) add ":Y");
if ("440" < Temp) {
Set(("/Fly" add i) add ":Flag", "0");
setProperty("/Fly" add i, _visible , "0");
}
}
setProperty("/Fly" add i, _x , eval (("/Fly" add i) add ":X"));
setProperty("/Fly" add i, _y , eval (("/Fly" add i) add ":Y"));
i = i + "1";
}
if (Click == "1") {
tellTarget ("/Girl") {
gotoAndStop ("");
};
if (ItemAutomatic == "1") {
if (ItemFlag == "0") {
tellTarget ("/Girl") {
gotoAndStop ("");
};
} else {
tellTarget ("/Girl") {
gotoAndStop ("");
};
}
}
} else {
tellTarget ("/Girl") {
gotoAndStop ("");
};
}
PrevPress = Press;
if (PrevTime == (eval (CurrentTime) - "2")) {
PrevTime = PrevTime - "1";
}
Temp = getTimer();
if ("1" < Combo) {
if ((ComboTime + "700") < Temp) {
Combo = "0";
setProperty("/Combo", _visible , "0");
setProperty("/Combo0", _visible , "0");
setProperty("/Combo1", _visible , "0");
}
}
Symbol 74 MovieClip Frame 3
if ("0" >= HitFly) {
GameClear = "1";
tellTarget ("_level0") {
gotoAndStop ("GameClear");
};
}
gotoAndPlay (2);
Symbol 74 MovieClip Frame 4
GameOver = "1";
_root.score = Score + Combo;
tellTarget ("_level0") {
gotoAndStop ("GameOver");
}
Symbol 75 MovieClip Frame 1
stop();
Symbol 91 Button
on (release, releaseOutside) {
stopAllSounds();
gotoAndStop (451);
}
Symbol 113 Button
on (press) {
Set("/script:Press", "1");
}
on (release, releaseOutside) {
Set("/script:Press", "0");
}
on () {
Temp = /Script:GameOver;
if (Temp == "1") {
gotoAndStop (454);
}
}
Symbol 117 MovieClip Frame 20
stop();
Symbol 120 MovieClip Frame 1
stop();
Symbol 120 MovieClip Frame 2
stop();
Symbol 120 MovieClip Frame 3
stop();
Symbol 120 MovieClip Frame 4
stop();
Symbol 125 MovieClip Frame 1
stop();
Symbol 125 MovieClip Frame 12
stop();
Symbol 125 MovieClip Frame 22
stop();
Symbol 129 Button
on (press) {
Set("/script:Press", "1");
}
on (release, releaseOutside) {
Set("/script:Press", "0");
}
on () {
Temp = /Script:GameOver;
if (Temp == "1") {
gotoAndStop (454);
}
}
Symbol 155 Button
on (release, releaseOutside) {
stopAllSounds();
gotoAndStop (451);
}
Symbol 189 Button
on (release, releaseOutside) {
stopAllSounds();
gotoAndStop (451);
}
Symbol 191 Button
on (release) {
_root.gameover = 1;
}
Symbol 196 Button
on (release) {
_root.gameover = 1;
}