Combined Code
movieClip 9 star {
}
movieClip 11 bullet {
frame 1 {
this.onEnterFrame = function () {
this._x += 40;
if (this._x > 700) {
this.removeMovieClip();
}
sounddie = new Sound();
sounddie.attachSound('Sniper_R-MelonHea-215.wav');
i = 0;
while (i < 4) {
if (this.hitTest(_root['Skull' + i])) {
_root.score += 300;
_root['Skull' + i].reset();
_root.boom_mc.gotoAndPlay(2);
_root.boom_mc._x = this._x;
_root.boom_mc._y = this._y;
_root.add300_mc.gotoAndPlay(2);
_root.add300_mc._x = this._x;
_root.add300_mc._y = this._y;
sounddie.start('Sniper_R-MelonHea-215.wav');
this.removeMovieClip();
}
++i;
}
k = 0;
while (k < 30) {
if (this.hitTest(_root['PumpMoney' + k])) {
_root.score += 200;
_root['PumpMoney' + k].reset();
_root.booma_mc.gotoAndPlay(2);
_root.booma_mc._x = this._x;
_root.booma_mc._y = this._y;
_root.add200_mc.gotoAndPlay(2);
_root.add200_mc._x = this._x;
_root.add200_mc._y = this._y;
sounddie.start('Sniper_R-MelonHea-215.wav');
this.removeMovieClip();
}
if (this.hitTest(_root['PumpSmile' + k])) {
_root.score += 150;
_root['PumpSmile' + k].reset();
_root.booma_mc.gotoAndPlay(2);
_root.booma_mc._x = this._x;
_root.booma_mc._y = this._y;
_root.add150_mc.gotoAndPlay(2);
_root.add150_mc._x = this._x;
_root.add150_mc._y = this._y;
sounddie.start('Sniper_R-MelonHea-215.wav');
this.removeMovieClip();
}
if (this.hitTest(_root['PumpCry' + k])) {
_root.score += 100;
_root['PumpCry' + k].reset();
_root.booma_mc.gotoAndPlay(2);
_root.booma_mc._x = this._x;
_root.booma_mc._y = this._y;
_root.add100_mc.gotoAndPlay(2);
_root.add100_mc._x = this._x;
_root.add100_mc._y = this._y;
sounddie.start('Sniper_R-MelonHea-215.wav');
this.removeMovieClip();
}
++k;
}
};
}
}
movieClip 20 witches {
}
movieClip 25 Roi {
}
movieClip 36 {
}
movieClip 37 pumpkin {
frame 1 {
stop();
}
}
movieClip 72 {
}
movieClip 73 pumpkina {
frame 1 {
stop();
}
}
movieClip 94 {
}
movieClip 95 pumpkins {
frame 1 {
stop();
}
}
movieClip 97 {
}
movieClip 98 skull {
frame 1 {
stop();
}
}
frame 1 {
stop();
}
movieClip 102 {
}
movieClip 105 {
}
movieClip 108 {
}
movieClip 111 {
}
movieClip 113 {
}
movieClip 114 {
}
movieClip 115 {
}
movieClip 116 {
}
movieClip 117 {
}
movieClip 118 {
}
movieClip 119 {
}
movieClip 120 {
}
movieClip 121 {
}
movieClip 122 {
}
movieClip 123 {
}
movieClip 125 {
}
movieClip 127 {
}
movieClip 129 {
}
movieClip 131 {
}
movieClip 132 {
}
movieClip 134 {
}
movieClip 136 {
}
movieClip 137 {
}
movieClip 139 {
}
movieClip 141 {
}
movieClip 143 {
}
movieClip 145 {
}
movieClip 147 {
}
movieClip 149 {
}
movieClip 151 {
}
movieClip 153 {
}
movieClip 154 {
}
movieClip 156 {
}
movieClip 157 {
}
movieClip 160 {
}
movieClip 161 {
}
movieClip 163 {
}
movieClip 165 {
}
movieClip 167 {
}
movieClip 168 {
}
movieClip 174 {
}
movieClip 175 {
frame 1 {
stop();
}
frame 102 {
stop();
}
}
instance of movieClip 175 {
onClipEvent (load) {
total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
percent = int((loaded / total) * 100);
per_mc.text_txt.text = percent + '%';
this.gotoAndStop(percent);
if (loaded == total) {
_root.gotoAndStop(2);
}
this.onRelease = function () {
getURL('http://www.dressupgirl.net', '_new');
};
}
}
frame 2 {
stop();
speed = 0;
clearInterval(timePassing);
witches._visible = false;
witches.enabled = false;
witches._x = 750;
i = 0;
while (i < 100) {
_root['Skull' + i]._visible = false;
_root['PumpMoney' + i]._visible = false;
_root['PumpSmile' + i]._visible = false;
_root['PumpCry' + i]._visible = false;
++i;
}
var sound = new Sound();
sound.attachSound('rofl-mahez-67.wav');
sound.setVolume(20);
sound.start('rofl-mahez-67.wav');
var sounds = new Sound();
sounds.attachSound('main.wav');
sounds.stop('main.wav');
var sounda = new Sound();
sounda.attachSound('AntMarc.wav');
sounda.stop('AntMarc.wav');
_root.introd_mc._visible = false;
_root.play_mc.onRollOver = function () {
this.gotoAndStop(2);
};
_root.play_mc.onRollOut = function () {
this.gotoAndStop(1);
};
_root.play_mc.onRelease = function () {
_root.gotoAndStop(3);
};
_root.intro_mc.onRollOver = function () {
this.gotoAndStop(2);
};
_root.intro_mc.onRollOut = function () {
this.gotoAndStop(1);
};
_root.intro_mc.onRelease = function () {
_root.introd_mc._visible = true;
_root.introd_mc.gotoAndPlay(2);
};
_root.more_mc.onRollOver = function () {
this.gotoAndStop(2);
};
_root.more_mc.onRollOut = function () {
this.gotoAndStop(1);
};
_root.more_mc.onRelease = function () {
getURL('http://www.dressupgirl.net', '_new');
};
}
movieClip 181 {
}
movieClip 185 {
}
movieClip 189 {
}
movieClip 193 {
}
movieClip 195 {
}
movieClip 197 {
}
movieClip 199 {
}
movieClip 200 {
}
movieClip 202 {
}
movieClip 204 {
}
movieClip 206 {
}
movieClip 208 {
}
movieClip 211 {
}
movieClip 214 {
}
movieClip 217 {
}
instance of movieClip 217 {
onClipEvent (release) {
getURL('http://www.dressupgirl.net', '_new');
}
}
movieClip 220 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 223 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 226 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 230 {
}
movieClip 233 {
}
movieClip 236 {
}
movieClip 238 {
}
movieClip 241 {
}
movieClip 245 {
frame 1 {
stop();
_root.play_mc.enabled = true;
_root.intro_mc.enabled = true;
_root.more_mc.enabled = true;
_root.play_mc.gotoAndStop(1);
_root.intro_mc.gotoAndStop(1);
_root.more_mc.gotoAndStop(1);
}
instance of movieClip 241 {
onClipEvent (release) {
_root.introd_mc._visible = false;
_root.introd_mc.gotoAndStop(1);
}
}
instance of movieClip 241 {
onClipEvent (release) {
_root.introd_mc._visible = false;
_root.introd_mc.gotoAndStop(1);
}
}
instance of movieClip 241 {
onClipEvent (release) {
_root.introd_mc._visible = false;
_root.introd_mc.gotoAndStop(1);
}
}
frame 20 {
stop();
_root.play_mc.enabled = false;
_root.intro_mc.enabled = false;
_root.more_mc.enabled = false;
_root.intro_mc.gotoAndStop(2);
}
instance of movieClip 241 {
onClipEvent (release) {
_root.introd_mc._visible = false;
_root.introd_mc.gotoAndStop(1);
}
}
}
frame 3 {
function moveWitches() {
witches.onEnterFrame = function () {
if (Key.isDown(37) && witches._x > gSCREEN_LEFT) {
witches._x -= speed;
}
if (Key.isDown(39) && witches._x < gSCREEN_RIGHT) {
witches._x += speed;
}
if (Key.isDown(38) && witches._y > gSCREEN_TOP) {
witches._y -= speed;
}
if (Key.isDown(40) && witches._y < gSCREEN_BOTTOM) {
witches._y += speed;
}
i = 0;
while (i < 100) {
if (this.hitTest(_root['Skull' + i])) {
score = 0;
_root.gotoAndStop(4);
_root['Skull' + i].reset();
_root.boom_mc.gotoAndPlay(2);
_root.boom_mc._x = this._x;
_root.boom_mc._y = this._y;
_root.boom_mc.removeMovieClip();
_root.gover_mc.gotoAndPlay(2);
_root.gover_mc._x = this._x;
_root.gover_mc._y = this._y;
var v3 = new Sound();
v3.attachSound('wheeee-Public_D-399.wav');
v3.setVolume(20);
v3.start('wheeee-Public_D-399.wav');
}
if (this.hitTest(_root['PumpMoney' + i])) {
score -= 200;
_root['PumpMoney' + i].reset();
_root.booma_mc.gotoAndPlay(2);
_root.booma_mc._x = this._x;
_root.booma_mc._y = this._y;
_root.booma_mc.removeMovieClip();
_root.ex200_mc.gotoAndPlay(2);
_root.ex200_mc._x = this._x;
_root.ex200_mc._y = this._y;
v3 = new Sound();
v3.attachSound('wheeee-Public_D-399.wav');
v3.setVolume(20);
v3.start('wheeee-Public_D-399.wav');
}
if (this.hitTest(_root['PumpSmile' + i])) {
score -= 150;
_root['PumpSmile' + i].reset();
_root.booma_mc.gotoAndPlay(2);
_root.booma_mc._x = this._x;
_root.booma_mc._y = this._y;
_root.booma_mc.removeMovieClip();
_root.ex150_mc.gotoAndPlay(2);
_root.ex150_mc._x = this._x;
_root.ex150_mc._y = this._y;
v3 = new Sound();
v3.attachSound('wheeee-Public_D-399.wav');
v3.setVolume(20);
v3.start('wheeee-Public_D-399.wav');
}
if (this.hitTest(_root['PumpCry' + i])) {
score -= 100;
_root['PumpCry' + i].reset();
_root.booma_mc.gotoAndPlay(2);
_root.booma_mc._x = this._x;
_root.booma_mc._y = this._y;
_root.booma_mc.removeMovieClip();
_root.ex100_mc.gotoAndPlay(2);
_root.ex100_mc._x = this._x;
_root.ex100_mc._y = this._y;
v3 = new Sound();
v3.attachSound('wheeee-Public_D-399.wav');
v3.setVolume(20);
v3.start('wheeee-Public_D-399.wav');
}
++i;
}
};
}
function moveStars() {
var v3 = 0;
while (v3 < stars) {
var v2 = this['star' + v3];
if (v2._x < Stage.height + 200) {
v2._x += v2.speed;
} else {
v2._x = 1;
v2.speed = random(maxSpeed - minSpeed) + minSpeed;
v2._y = random(Stage.width);
}
++v3;
}
}
function createBullets() {
var v2 = this.attachMovie('bullet', 'bullet' + bulletCount, 1000 + bulletCount);
++bulletCount;
v2._x = witches._x + witches._width / 2 - v2._width / 2;
v2._y = witches._y + v2._height + 7;
bulletArray.push(v2);
}
function moveBullets() {
if (bulletReady && Key.isDown(32)) {
bulletReady = false;
currentTime = getTimer();
createBullets();
_root.danban_mc.gotoAndPlay(2);
_root.danban_mc._x = witches._x + 60;
_root.danban_mc._y = witches._y + 20;
_root.danban_mc._width = 0.5;
_root.danban_mc._height = 0.2;
var v2 = new Sound();
v2.attachSound('Phazr-SoupIsMo-27.wav');
v2.setVolume(20);
v2.start('Phazr-SoupIsMo-27.wav');
} else {
if (currentTime + bulletDelay <= getTimer()) {
bulletReady = true;
}
}
}
stop();
var score = 0;
var speed = 10;
_global.gSCREEN_LEFT = 50;
_global.gSCREEN_RIGHT = 630;
_global.gSCREEN_TOP = 50;
_global.gSCREEN_BOTTOM = 503;
_root.time_txt.text = '2:00';
var sound = new Sound();
sound.attachSound('AntMarc.wav');
sound.setVolume(20);
sound.start('AntMarc.wav');
sound.onSoundComplete = function () {
sound.start('AntMarc.wav');
};
var sounds = new Sound();
sounds.attachSound('main.wav');
sounds.setVolume(20);
sounds.start('main.wav');
sounds.onSoundComplete = function () {
sounds.start('main.wav');
};
var soundb = new Sound();
soundb.attachSound('rofl-mahez-67.wav');
soundb.stop('rofl-mahez-67.wav');
var passedsecs = 0;
timePassing = setInterval(this, 'TimePassing', 1000);
TimePassing = function () {
++passedsecs;
if (passedsecs == 120 && score <= 0) {
_root.gotoAndStop(4);
_root.danban_mc._visible = false;
clearInterval(timePassing);
}
if (passedsecs == 120 && score > 0) {
_root.gotoAndStop(5);
_root.danban_mc._visible = false;
clearInterval(timePassing);
}
if (passedsecs > 120 || score < 0) {
_root.gotoAndStop(4);
_root.danban_mc._visible = false;
clearInterval(timePassing);
}
leftsecs = 120 - passedsecs;
minutes = Math.floor(leftsecs / 60);
seconds = leftsecs - minutes * 60;
if (seconds <= 9) {
_root.timeBox = minutes + ':0' + seconds;
} else {
_root.timeBox = minutes + ':' + seconds;
}
};
i = 1;
while (i < 4) {
_root.Skull0.duplicateMovieClip('Skull' + i);
_root.Skull0.removeMovieClip('Skull' + i);
_root.Roi0.duplicateMovieClip('Roi' + i);
_root.Roi0.removeMovieClip('Roi' + i);
++i;
}
j = 1;
while (j < 30) {
_root.PumpMoney0.duplicateMovieClip('PumpMoney' + j);
_root.PumpMoney0.removeMovieClip('PumpMoney' + j);
root.PumpSmile0.duplicateMovieClip('PumpSmile' + j);
_root.PumpSmile0.removeMovieClip('PumpSmile' + j);
_root.PumpCry0.duplicateMovieClip('PumpCry' + j);
_root.PumpCry0.removeMovieClip('PumpCry' + j);
++j;
}
var witches = this.attachMovie('witches', 'witches', 10000);
var j = 0;
witches._width = 110;
witches._height = 72;
witches._y = Stage.height / 2 - (witches._height - 50);
witches._x = Stage.width / 2 - (witches._width + 100);
_root.onEnterFrame = function () {
moveWitches();
moveStars();
moveBullets();
};
var stars = 100;
var maxSpeed = 16;
var minSpeed = 2;
var maSpeed = 16;
var miSpeed = 2;
var i = 0;
while (i < stars) {
var mc = this.attachMovie('star', 'star' + i, i);
mc._y = random(Stage.width);
mc._x = random(Stage.height);
mc.speed = random(maxSpeed - minSpeed) + minSpeed;
var size = random(2) + 0.6 * random(4);
mc._width = size;
mc._height = size;
++i;
}
var bulletSpeed = 20;
var bulletReady = true;
var bulletDelay = 150;
var bulletArray = [];
var bulletCount = 0;
}
movieClip 248 {
}
movieClip 250 {
}
movieClip 252 {
}
movieClip 253 {
}
movieClip 255 {
}
movieClip 257 {
}
// unknown tag 88 length 107
movieClip 263 {
frame 1 {
stop();
}
}
movieClip 265 {
}
movieClip 267 {
}
movieClip 269 {
}
movieClip 271 {
}
movieClip 272 {
}
movieClip 274 {
}
movieClip 276 {
}
movieClip 277 {
}
movieClip 280 {
}
movieClip 283 {
}
movieClip 285 {
}
movieClip 287 {
}
movieClip 289 {
}
movieClip 292 {
}
movieClip 296 {
}
movieClip 298 {
}
instance Skull0 of movieClip 98 skull {
onClipEvent (load) {
function reset() {
this._y = Math.random() * 550;
this._x = 700;
skullSpeed = 15;
}
reset();
}
onClipEvent (enterFrame) {
this._x -= skullSpeed;
if (this._x < 0) {
reset();
}
}
}
instance PumpMoney0 of movieClip 95 pumpkins {
onClipEvent (load) {
function reset() {
this._y = Math.random() * 550;
this._x = 700;
pumpmoneySpeed = 12;
}
reset();
}
onClipEvent (enterFrame) {
this._x -= pumpmoneySpeed;
if (this._x < 0) {
reset();
}
}
}
instance PumpCry0 of movieClip 73 pumpkina {
onClipEvent (load) {
function reset() {
this._y = Math.random() * 550;
this._x = 700;
pumpcrySpeed = 8;
}
reset();
}
onClipEvent (enterFrame) {
this._x -= pumpcrySpeed;
if (this._x < 0) {
reset();
}
}
}
instance PumpSmile0 of movieClip 37 pumpkin {
onClipEvent (load) {
function reset() {
this._y = Math.random() * 550;
this._x = 700;
pumpsmileSpeed = 10;
}
reset();
}
onClipEvent (enterFrame) {
this._x -= pumpsmileSpeed;
if (this._x < 0) {
reset();
}
}
}
instance Roi0 of movieClip 25 Roi {
onClipEvent (load) {
function reset() {
this._y = Math.random() * 550;
this._x = 700;
mySpeed = Math.ceil(Math.random() * 6) + 1;
}
reset();
}
onClipEvent (enterFrame) {
this._x -= mySpeed;
if (this._x < 0) {
reset();
}
}
}
movieClip 300 {
}
movieClip 302 {
}
movieClip 305 {
}
movieClip 306 {
frame 1 {
stop();
}
frame 6 {
gotoAndStop(1);
}
}
movieClip 308 {
}
movieClip 310 {
}
movieClip 313 {
}
movieClip 316 {
}
movieClip 317 {
}
movieClip 319 {
}
movieClip 321 {
}
movieClip 323 {
}
movieClip 326 {
}
movieClip 328 {
}
movieClip 330 {
}
movieClip 333 {
}
movieClip 335 {
}
movieClip 337 {
}
movieClip 339 {
}
movieClip 341 {
}
movieClip 343 {
}
movieClip 345 {
}
movieClip 347 {
}
movieClip 349 {
}
movieClip 351 {
}
movieClip 354 {
}
movieClip 357 {
}
movieClip 360 {
}
movieClip 363 {
}
movieClip 366 {
}
movieClip 367 {
frame 1 {
stop();
}
frame 6 {
gotoAndStop(1);
}
}
// unknown tag 88 length 26
movieClip 370 {
frame 1 {
stop();
}
frame 8 {
gotoAndStop(1);
}
}
movieClip 372 {
frame 1 {
stop();
}
frame 9 {
gotoAndStop(1);
}
}
movieClip 374 {
frame 1 {
stop();
}
frame 8 {
gotoAndStop(1);
}
}
movieClip 376 {
frame 1 {
stop();
}
frame 9 {
gotoAndStop(1);
}
}
movieClip 378 {
frame 1 {
stop();
}
frame 9 {
gotoAndStop(1);
}
}
movieClip 380 {
frame 1 {
stop();
}
frame 9 {
gotoAndStop(1);
}
}
movieClip 382 {
frame 1 {
stop();
}
frame 9 {
gotoAndStop(1);
}
}
movieClip 384 {
frame 1 {
stop();
}
frame 9 {
gotoAndStop(1);
}
}
frame 4 {
stop();
speed = 0;
clearInterval(timePassing);
witches._visible = false;
witches._x = 800;
_root.danban_mc._visible = false;
i = 0;
while (i < 100) {
_root['Skull' + i]._visible = false;
_root['PumpMoney' + i]._visible = false;
_root['PumpSmile' + i]._visible = false;
_root['PumpCry' + i]._visible = false;
++i;
}
sound.attachSound('Space_Sh-DJ_SnowF-323.wav');
sound.setVolume(20);
sound.start('Space_Sh-DJ_SnowF-323.wav');
var sounda = new Sound();
sounda.attachSound('AntMarc.wav');
sounda.stop('AntMarc.wav');
var sounds = new Sound();
sounds.attachSound('main.wav');
sounds.stop('main.wav');
}
movieClip 388 {
}
instance more_mc of movieClip 388 {
onClipEvent (release) {
getURL('http://www.dressupgirl.net', '_new');
}
}
movieClip 390 {
}
instance replay_mc of movieClip 390 {
onClipEvent (release) {
_root.gotoAndStop(2);
}
}
frame 5 {
stop();
speed = 0;
clearInterval(timePassing);
witches._visible = false;
witches._x = 800;
_root.danban_mc._visible = false;
i = 0;
while (i < 100) {
_root['Skull' + i]._visible = false;
_root['PumpMoney' + i]._visible = false;
_root['PumpSmile' + i]._visible = false;
_root['PumpCry' + i]._visible = false;
++i;
}
sound.attachSound('la_la_la-Dave_Gir-2335.wav');
sound.setVolume(20);
sound.start('la_la_la-Dave_Gir-2335.wav');
var sounda = new Sound();
sounda.attachSound('AntMarc.wav');
sounda.stop('AntMarc.wav');
var sounds = new Sound();
sounds.attachSound('main.wav');
sounds.stop('main.wav');
var scoreshow = 0;
_root.score_txt._visible = false;
_root.scoreshow = _root.score;
}