Frame 1
startDrag ("mousetarget", true);
w = "1";
t = "1";
setProperty("gameover", _visible , "0");
Symbol 7 MovieClip Frame 75
tellTarget ("_level0/targets") {
gotoAndPlay ("randomthing");
};
stop();
Symbol 12 Button
on (release, releaseOutside) {
Set("_level0/:score", "0");
Set("_level0/:ammo", "30");
tellTarget ("_level0/vinepumpkin") {
gotoAndPlay (1);
tellTarget ("_level0/targets") {
gotoAndPlay ("randomthing");
tellTarget ("_level0/lifebar") {
gotoAndStop (1);
};
setProperty("_level0/gameover", _visible , "0");
}
}
}
Symbol 16 MovieClip Frame 125
gotoAndPlay (85);
Symbol 22 MovieClip Frame 1
stop();
Symbol 22 MovieClip Frame 2
tellTarget ("_level0/sounds") {
gotoAndPlay ("damage");
}
Symbol 22 MovieClip Frame 4
stop();
Symbol 22 MovieClip Frame 5
tellTarget ("_level0/sounds") {
gotoAndPlay ("damage");
}
Symbol 22 MovieClip Frame 7
stop();
Symbol 22 MovieClip Frame 8
tellTarget ("_level0/sounds") {
gotoAndPlay ("damage");
}
Symbol 22 MovieClip Frame 10
stop();
Symbol 22 MovieClip Frame 11
tellTarget ("_level0/sounds") {
gotoAndPlay ("damage");
}
Symbol 22 MovieClip Frame 13
stop();
Symbol 22 MovieClip Frame 14
tellTarget ("_level0/sounds") {
gotoAndPlay ("damage");
}
Symbol 22 MovieClip Frame 16
stop();
Symbol 22 MovieClip Frame 17
tellTarget ("_level0/sounds") {
gotoAndPlay ("damage");
}
Symbol 22 MovieClip Frame 19
stop();
Symbol 22 MovieClip Frame 20
tellTarget ("_level0/sounds") {
gotoAndPlay ("damage");
};
setProperty("_level0/gameover", _visible , "1");
tellTarget ("_level0/gameover") {
gotoAndPlay (1);
tellTarget ("_level0/targets") {
gotoAndStop (1);
tellTarget ("_level0/vinepumpkin") {
gotoAndStop (1);
};
Set("_level0/:ammo", "0");
stop();
}
}
Symbol 33 MovieClip Frame 1
stop();
Symbol 33 MovieClip Frame 2
tellTarget ("_level0/lifebar") {
play();
}
Symbol 33 MovieClip Frame 21
gotoAndStop (1);
Symbol 35 MovieClip Frame 2
r = random("6");
if (r == "0") {
gotoAndPlay (74);
}
Symbol 35 MovieClip Frame 72
gotoAndPlay (1);
Symbol 35 MovieClip Frame 199
gotoAndPlay (1);
Symbol 38 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 11
stop();
Symbol 38 MovieClip Frame 26
stop();
Symbol 50 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 5
play();
Symbol 50 MovieClip Frame 6
Set("_level0/:score", _level0/:score + "125");
Symbol 50 MovieClip Frame 18
tellTarget ("_level0/targets/ghost2") {
gotoAndStop (1);
}
Symbol 52 MovieClip Frame 1
alive = "1";
depth = "5";
Set("_level0/targets:ghost2", "0");
stop();
Symbol 52 MovieClip Frame 2
depth = "4";
Symbol 52 MovieClip Frame 14
depth = "3";
Symbol 52 MovieClip Frame 31
depth = "2";
Symbol 52 MovieClip Frame 53
depth = "1";
Symbol 52 MovieClip Frame 75
depth = "0";
Symbol 52 MovieClip Frame 83
gotoAndStop (1);
Symbol 54 MovieClip Frame 1
stop();
Symbol 54 MovieClip Frame 5
play();
Symbol 54 MovieClip Frame 6
Set("_level0/:score", _level0/:score + "125");
Symbol 54 MovieClip Frame 18
tellTarget ("_level0/targets/ghost1") {
gotoAndStop (1);
}
Symbol 55 MovieClip Frame 1
alive = "1";
depth = "5";
Set("_level0/targets:ghost1", "0");
stop();
Symbol 55 MovieClip Frame 2
depth = "4";
Symbol 55 MovieClip Frame 41
depth = "3";
Symbol 55 MovieClip Frame 55
depth = "2";
Symbol 55 MovieClip Frame 64
depth = "1";
Symbol 55 MovieClip Frame 75
depth = "0";
Symbol 55 MovieClip Frame 80
tellTarget ("_level0/slimed") {
play();
}
Symbol 55 MovieClip Frame 83
gotoAndStop (1);
Symbol 69 MovieClip Frame 40
gotoAndPlay (1);
Symbol 69 MovieClip Frame 46
Set("_level0/:score", _level0/:score + "100");
Symbol 69 MovieClip Frame 52
tellTarget ("_level0/targets/ghost3") {
gotoAndStop (1);
};
gotoAndPlay (1);
Symbol 71 MovieClip Frame 1
alive = "1";
depth = "5";
Set("_level0/targets:ghost3", "0");
stop();
Symbol 71 MovieClip Frame 5
depth = "4";
Symbol 71 MovieClip Frame 20
depth = "3";
Symbol 71 MovieClip Frame 34
depth = "2";
Symbol 71 MovieClip Frame 75
depth = "0";
Symbol 71 MovieClip Frame 101
depth = "5";
Symbol 71 MovieClip Frame 104
tellTarget ("_level0/lifebar") {
play();
}
Symbol 71 MovieClip Frame 108
gotoAndStop (1);
Symbol 87 MovieClip Frame 1
ghoulhit = "1";
stop();
Symbol 87 MovieClip Frame 7
Set("_level0/targets/ghost4:alive", "1");
ghoulhit = "2";
stop();
Symbol 87 MovieClip Frame 13
Set("_level0/targets/ghost4:alive", "1");
ghoulhit = "3";
stop();
Symbol 87 MovieClip Frame 14
Set("_level0/:score", _level0/:score + "250");
Symbol 87 MovieClip Frame 21
tellTarget ("_level0/targets/ghost4") {
gotoAndStop (1);
};
gotoAndStop (1);
Symbol 87 MovieClip Frame 25
if (ghoulhit == "1") {
Set("_level0/targets/ghost4:alive", "1");
gotoAndPlay (2);
}
if (ghoulhit == "2") {
Set("_level0/targets/ghost4:alive", "1");
gotoAndPlay (8);
}
if (ghoulhit == "3") {
gotoAndPlay (14);
}
Symbol 92 MovieClip Frame 1
alive = "1";
depth = "5";
Set("_level0/targets:ghost4", "0");
stop();
Symbol 92 MovieClip Frame 17
depth = "4";
Symbol 92 MovieClip Frame 54
depth = "3";
Symbol 92 MovieClip Frame 80
depth = "2";
Symbol 92 MovieClip Frame 101
depth = "1";
Symbol 92 MovieClip Frame 120
depth = "0";
Symbol 92 MovieClip Frame 123
tellTarget ("_level0/lifebar") {
play();
}
Symbol 92 MovieClip Frame 126
gotoAndStop (1);
Symbol 93 MovieClip Frame 1
difficulty = "1";
ghost1 = "0";
ghost2 = "0";
ghost3 = "0";
ghost4 = "0";
stop();
Symbol 93 MovieClip Frame 5
if ("2000" < _level0/:score) {
difficulty = "2";
}
if ("5000" < _level0/:score) {
difficulty = "3";
}
r = random("4");
if ((r == "0") and (ghost1 == "0")) {
ghost1 = "1";
tellTarget ("ghost1") {
play();
};
}
if ((r == "1") and (ghost2 == "0")) {
ghost2 = "1";
tellTarget ("ghost2") {
play();
};
}
if (((r == "2") and (ghost3 == "0")) and (random("2") == "0")) {
ghost3 = "1";
tellTarget ("ghost3") {
play();
};
}
if (((r == "3") and (ghost4 == "0")) and (random("2") == "0")) {
ghost4 = "1";
tellTarget ("ghost4") {
play();
};
}
Symbol 93 MovieClip Frame 20
if (difficulty == "3") {
gotoAndPlay (5);
}
Symbol 93 MovieClip Frame 30
if (difficulty == "2") {
gotoAndPlay (5);
}
Symbol 93 MovieClip Frame 40
gotoAndPlay (5);
Symbol 111 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 11
stop();
Symbol 111 MovieClip Frame 15
tellTarget ("_level0/sounds") {
gotoAndPlay ("splat");
}
Symbol 111 MovieClip Frame 21
stop();
Symbol 112 MovieClip Frame 1
this = _level0/:w - "1";
Symbol 112 MovieClip Frame 3
t = "1";
while (t < "5") {
if ((eval (("_level0/targets/ghost" add t) add ":depth") == "0") and (eval (("_level0/targets/ghost" add t) add ":alive") == "1")) {
tx = getProperty((("_level0/targets/ghost" add t) add "/ghostb") add t, _x);
ty = getProperty((("_level0/targets/ghost" add t) add "/ghostb") add t, _y);
px = getProperty("_level0/pumpkin" add this, _x);
py = getProperty("_level0/pumpkin" add this, _y);
Set("_level0/:tx", tx);
Set("_level0/:ty", ty);
Set("_level0/:px", px);
Set("_level0/:py", py);
if (((((tx - "400") < px) and (px < (tx + "400"))) and ((ty - "400") < py)) and (py < (ty + "400"))) {
if (t == "4") {
bkghit = "2";
tellTarget ("p") {
gotoAndPlay ("splat2");
};
}
Set(("_level0/targets/ghost" add t) add "/:alive", "0");
tellTarget ((("_level0/targets/ghost" add t) add "/ghostb") add t) {
gotoAndPlay ("die");
};
}
}
t = t + "1";
}
Symbol 112 MovieClip Frame 4
t = "1";
while (t < "5") {
if ((eval (("_level0/targets/ghost" add t) add ":depth") == "0") and (eval (("_level0/targets/ghost" add t) add ":alive") == "1")) {
tx = getProperty((("_level0/targets/ghost" add t) add "/ghostb") add t, _x);
ty = getProperty((("_level0/targets/ghost" add t) add "/ghostb") add t, _y);
px = getProperty("_level0/pumpkin" add this, _x);
py = getProperty("_level0/pumpkin" add this, _y);
Set("_level0/:tx", tx);
Set("_level0/:ty", ty);
Set("_level0/:px", px);
Set("_level0/:py", py);
if (((((tx - "250") < px) and (px < (tx + "250"))) and ((ty - "250") < py)) and (py < (ty + "250"))) {
if (t == "4") {
bkghit = "2";
tellTarget ("p") {
gotoAndPlay ("splat2");
};
}
Set(("_level0/targets/ghost" add t) add "/:alive", "0");
tellTarget ((("_level0/targets/ghost" add t) add "/ghostb") add t) {
gotoAndPlay ("die");
};
}
}
t = t + "1";
}
Symbol 112 MovieClip Frame 5
t = "1";
while (t < "5") {
if ((eval (("_level0/targets/ghost" add t) add ":depth") == "0") and (eval (("_level0/targets/ghost" add t) add ":alive") == "1")) {
tx = getProperty((("_level0/targets/ghost" add t) add "/ghostb") add t, _x);
ty = getProperty((("_level0/targets/ghost" add t) add "/ghostb") add t, _y);
px = getProperty("_level0/pumpkin" add this, _x);
py = getProperty("_level0/pumpkin" add this, _y);
Set("_level0/:tx", tx);
Set("_level0/:ty", ty);
Set("_level0/:px", px);
Set("_level0/:py", py);
if (((((tx - "230") < px) and (px < (tx + "230"))) and ((ty - "230") < py)) and (py < (ty + "230"))) {
if (t == "4") {
bkghit = "2";
tellTarget ("p") {
gotoAndPlay ("splat2");
};
}
Set(("_level0/targets/ghost" add t) add "/:alive", "0");
tellTarget ((("_level0/targets/ghost" add t) add "/ghostb") add t) {
gotoAndPlay ("die");
};
}
}
t = t + "1";
}
Symbol 112 MovieClip Frame 6
t = "1";
while (t < "5") {
if ((eval (("_level0/targets/ghost" add t) add ":depth") == "1") and (eval (("_level0/targets/ghost" add t) add ":alive") == "1")) {
tx = getProperty((("_level0/targets/ghost" add t) add "/ghostb") add t, _x);
ty = getProperty((("_level0/targets/ghost" add t) add "/ghostb") add t, _y);
px = getProperty("_level0/pumpkin" add this, _x);
py = getProperty("_level0/pumpkin" add this, _y);
Set("_level0/:tx", tx);
Set("_level0/:ty", ty);
Set("_level0/:px", px);
Set("_level0/:py", py);
if (((((tx - "150") < px) and (px < (tx + "150"))) and ((ty - "150") < py)) and (py < (ty + "150"))) {
if (t == "4") {
bkghit = "2";
tellTarget ("p") {
gotoAndPlay ("splat2");
};
}
Set(("_level0/targets/ghost" add t) add "/:alive", "0");
tellTarget ((("_level0/targets/ghost" add t) add "/ghostb") add t) {
gotoAndPlay ("die");
};
}
}
t = t + "1";
}
Symbol 112 MovieClip Frame 7
t = "1";
while (t < "5") {
if ((eval (("_level0/targets/ghost" add t) add ":depth") == "1") and (eval (("_level0/targets/ghost" add t) add ":alive") == "1")) {
tx = getProperty((("_level0/targets/ghost" add t) add "/ghostb") add t, _x);
ty = getProperty((("_level0/targets/ghost" add t) add "/ghostb") add t, _y);
px = getProperty("_level0/pumpkin" add this, _x);
py = getProperty("_level0/pumpkin" add this, _y);
Set("_level0/:tx", tx);
Set("_level0/:ty", ty);
Set("_level0/:px", px);
Set("_level0/:py", py);
if (((((tx - "140") < px) and (px < (tx + "140"))) and ((ty - "140") < py)) and (py < (ty + "140"))) {
if (t == "4") {
bkghit = "2";
tellTarget ("p") {
gotoAndPlay ("splat2");
};
}
Set(("_level0/targets/ghost" add t) add "/:alive", "0");
tellTarget ((("_level0/targets/ghost" add t) add "/ghostb") add t) {
gotoAndPlay ("die");
};
}
}
t = t + "1";
}
Symbol 112 MovieClip Frame 8
t = "1";
while (t < "5") {
if ((eval (("_level0/targets/ghost" add t) add ":depth") == "2") and (eval (("_level0/targets/ghost" add t) add ":alive") == "1")) {
tx = getProperty((("_level0/targets/ghost" add t) add "/ghostb") add t, _x);
ty = getProperty((("_level0/targets/ghost" add t) add "/ghostb") add t, _y);
px = getProperty("_level0/pumpkin" add this, _x);
py = getProperty("_level0/pumpkin" add this, _y);
Set("_level0/:tx", tx);
Set("_level0/:ty", ty);
Set("_level0/:px", px);
Set("_level0/:py", py);
if (((((tx - "80") < px) and (px < (tx + "80"))) and ((ty - "80") < py)) and (py < (ty + "80"))) {
if (t == "4") {
bkghit = "2";
tellTarget ("p") {
gotoAndPlay ("splat2");
};
}
Set(("_level0/targets/ghost" add t) add "/:alive", "0");
tellTarget ((("_level0/targets/ghost" add t) add "/ghostb") add t) {
gotoAndPlay ("die");
};
}
}
t = t + "1";
}
Symbol 112 MovieClip Frame 9
t = "1";
while (t < "5") {
if ((eval (("_level0/targets/ghost" add t) add ":depth") == "2") and (eval (("_level0/targets/ghost" add t) add ":alive") == "1")) {
tx = getProperty((("_level0/targets/ghost" add t) add "/ghostb") add t, _x);
ty = getProperty((("_level0/targets/ghost" add t) add "/ghostb") add t, _y);
px = getProperty("_level0/pumpkin" add this, _x);
py = getProperty("_level0/pumpkin" add this, _y);
Set("_level0/:tx", tx);
Set("_level0/:ty", ty);
Set("_level0/:px", px);
Set("_level0/:py", py);
if (((((tx - "70") < px) and (px < (tx + "70"))) and ((ty - "70") < py)) and (py < (ty + "70"))) {
if (t == "4") {
bkghit = "2";
tellTarget ("p") {
gotoAndPlay ("splat2");
};
}
Set(("_level0/targets/ghost" add t) add "/:alive", "0");
tellTarget ((("_level0/targets/ghost" add t) add "/ghostb") add t) {
gotoAndPlay ("die");
};
}
}
t = t + "1";
}
Symbol 112 MovieClip Frame 10
t = "1";
while (t < "5") {
if ((eval (("_level0/targets/ghost" add t) add ":depth") == "3") and (eval (("_level0/targets/ghost" add t) add ":alive") == "1")) {
tx = getProperty((("_level0/targets/ghost" add t) add "/ghostb") add t, _x);
ty = getProperty((("_level0/targets/ghost" add t) add "/ghostb") add t, _y);
px = getProperty("_level0/pumpkin" add this, _x);
py = getProperty("_level0/pumpkin" add this, _y);
Set("_level0/:tx", tx);
Set("_level0/:ty", ty);
Set("_level0/:px", px);
Set("_level0/:py", py);
if (((((tx - "70") < px) and (px < (tx + "70"))) and ((ty - "70") < py)) and (py < (ty + "70"))) {
if (t == "4") {
bkghit = "2";
tellTarget ("p") {
gotoAndPlay ("splat2");
};
}
Set(("_level0/targets/ghost" add t) add "/:alive", "0");
tellTarget ((("_level0/targets/ghost" add t) add "/ghostb") add t) {
gotoAndPlay ("die");
};
}
}
t = t + "1";
}
Symbol 112 MovieClip Frame 11
t = "1";
while (t < "5") {
if ((eval (("_level0/targets/ghost" add t) add ":depth") == "3") and (eval (("_level0/targets/ghost" add t) add ":alive") == "1")) {
tx = getProperty((("_level0/targets/ghost" add t) add "/ghostb") add t, _x);
ty = getProperty((("_level0/targets/ghost" add t) add "/ghostb") add t, _y);
px = getProperty("_level0/pumpkin" add this, _x);
py = getProperty("_level0/pumpkin" add this, _y);
Set("_level0/:tx", tx);
Set("_level0/:ty", ty);
Set("_level0/:px", px);
Set("_level0/:py", py);
if (((((tx - "60") < px) and (px < (tx + "60"))) and ((ty - "60") < py)) and (py < (ty + "60"))) {
if (t == "4") {
bkghit = "2";
tellTarget ("p") {
gotoAndPlay ("splat2");
};
}
Set(("_level0/targets/ghost" add t) add "/:alive", "0");
tellTarget ((("_level0/targets/ghost" add t) add "/ghostb") add t) {
gotoAndPlay ("die");
};
}
}
t = t + "1";
}
Symbol 112 MovieClip Frame 12
t = "1";
while (t < "5") {
if ((eval (("_level0/targets/ghost" add t) add ":depth") == "3") and (eval (("_level0/targets/ghost" add t) add ":alive") == "1")) {
tx = getProperty((("_level0/targets/ghost" add t) add "/ghostb") add t, _x);
ty = getProperty((("_level0/targets/ghost" add t) add "/ghostb") add t, _y);
px = getProperty("_level0/pumpkin" add this, _x);
py = getProperty("_level0/pumpkin" add this, _y);
Set("_level0/:tx", tx);
Set("_level0/:ty", ty);
Set("_level0/:px", px);
Set("_level0/:py", py);
if (((((tx - "60") < px) and (px < (tx + "60"))) and ((ty - "60") < py)) and (py < (ty + "60"))) {
if (t == "4") {
bkghit = "2";
tellTarget ("p") {
gotoAndPlay ("splat2");
};
}
Set(("_level0/targets/ghost" add t) add "/:alive", "0");
tellTarget ((("_level0/targets/ghost" add t) add "/ghostb") add t) {
gotoAndPlay ("die");
};
}
}
t = t + "1";
}
Symbol 112 MovieClip Frame 13
t = "1";
while (t < "5") {
if ((eval (("_level0/targets/ghost" add t) add ":depth") == "4") and (eval (("_level0/targets/ghost" add t) add ":alive") == "1")) {
tx = getProperty((("_level0/targets/ghost" add t) add "/ghostb") add t, _x);
ty = getProperty((("_level0/targets/ghost" add t) add "/ghostb") add t, _y);
px = getProperty("_level0/pumpkin" add this, _x);
py = getProperty("_level0/pumpkin" add this, _y);
Set("_level0/:tx", tx);
Set("_level0/:ty", ty);
Set("_level0/:px", px);
Set("_level0/:py", py);
if (((((tx - "40") < px) and (px < (tx + "40"))) and ((ty - "40") < py)) and (py < (ty + "40"))) {
if (t == "4") {
bkghit = "2";
tellTarget ("p") {
gotoAndPlay ("splat2");
};
}
Set(("_level0/targets/ghost" add t) add "/:alive", "0");
tellTarget ((("_level0/targets/ghost" add t) add "/ghostb") add t) {
gotoAndPlay ("die");
};
}
}
t = t + "1";
}
Symbol 112 MovieClip Frame 14
t = "1";
while (t < "5") {
if ((eval (("_level0/targets/ghost" add t) add ":depth") == "4") and (eval (("_level0/targets/ghost" add t) add ":alive") == "1")) {
tx = getProperty((("_level0/targets/ghost" add t) add "/ghostb") add t, _x);
ty = getProperty((("_level0/targets/ghost" add t) add "/ghostb") add t, _y);
px = getProperty("_level0/pumpkin" add this, _x);
py = getProperty("_level0/pumpkin" add this, _y);
Set("_level0/:tx", tx);
Set("_level0/:ty", ty);
Set("_level0/:px", px);
Set("_level0/:py", py);
if (((((tx - "40") < px) and (px < (tx + "40"))) and ((ty - "40") < py)) and (py < (ty + "40"))) {
if (t == "4") {
bkghit = "2";
tellTarget ("p") {
gotoAndPlay ("splat2");
};
}
Set(("_level0/targets/ghost" add t) add "/:alive", "0");
tellTarget ((("_level0/targets/ghost" add t) add "/ghostb") add t) {
gotoAndPlay ("die");
};
}
}
t = t + "1";
}
Symbol 112 MovieClip Frame 15
t = "1";
while (t < "5") {
if ((eval (("_level0/targets/ghost" add t) add ":depth") == "4") and (eval (("_level0/targets/ghost" add t) add ":alive") == "1")) {
tx = getProperty((("_level0/targets/ghost" add t) add "/ghostb") add t, _x);
ty = getProperty((("_level0/targets/ghost" add t) add "/ghostb") add t, _y);
px = getProperty("_level0/pumpkin" add this, _x);
py = getProperty("_level0/pumpkin" add this, _y);
Set("_level0/:tx", tx);
Set("_level0/:ty", ty);
Set("_level0/:px", px);
Set("_level0/:py", py);
if (((((tx - "40") < px) and (px < (tx + "40"))) and ((ty - "40") < py)) and (py < (ty + "40"))) {
if (t == "4") {
bkghit = "2";
tellTarget ("p") {
gotoAndPlay ("splat2");
};
}
Set(("_level0/targets/ghost" add t) add "/:alive", "0");
tellTarget ((("_level0/targets/ghost" add t) add "/ghostb") add t) {
gotoAndPlay ("die");
};
}
}
t = t + "1";
}
Symbol 112 MovieClip Frame 16
if (bkghit == "1") {
tellTarget ("_level0/sounds") {
gotoAndPlay ("splat");
tellTarget ("p") {
play();
};
}
}
if (bkghit == "0") {
gotoAndPlay (45);
}
if (bkghit == "2") {
gotoAndPlay (57);
}
Symbol 112 MovieClip Frame 40
stop();
Symbol 112 MovieClip Frame 57
stop();
Symbol 112 MovieClip Frame 58
stop();
Symbol 117 MovieClip Frame 48
Set("_level0/:ammo", _level0/:ammo + "1");
Symbol 121 Button
on (release, releaseOutside) {
if ("0" < ammo) {
duplicateMovieClip ("pumpkin", "pumpkin" add w, w);
setProperty("pumpkin" add w, _x , getProperty("/mousetarget", _x));
setProperty("pumpkin" add w, _y , getProperty("/mousetarget", _y));
tellTarget ("pumpkin" add w) {
gotoAndPlay (1);
};
Set(("pumpkin" add w) add "/:bkghit", "1");
w = w + "1";
ammo = ammo - "1";
}
}
Symbol 123 Button
on (release, releaseOutside) {
if ("0" < ammo) {
duplicateMovieClip ("pumpkin", "pumpkin" add w, w);
setProperty("pumpkin" add w, _x , getProperty("/mousetarget", _x));
setProperty("pumpkin" add w, _y , getProperty("/mousetarget", _y));
tellTarget ("pumpkin" add w) {
gotoAndPlay (1);
};
Set(("pumpkin" add w) add "/:bkghit", "0");
w = w + "1";
ammo = ammo - "1";
}
}