Combined Code
movieClip 6 {
}
movieClip 7 Explosion {
#initclip
Object.registerClass('Explosion', Explosion);
#endinitclip
}
movieClip 10 Nigger1 {
#initclip
Object.registerClass('Nigger1', Nigger1);
#endinitclip
}
movieClip 13 Nigger2 {
#initclip
Object.registerClass('Nigger2', Nigger2);
#endinitclip
}
movieClip 16 Nigger3 {
#initclip
Object.registerClass('Nigger3', Nigger3);
#endinitclip
}
movieClip 19 Nigger4 {
#initclip
Object.registerClass('Nigger4', Nigger4);
#endinitclip
}
movieClip 22 Nigger5 {
#initclip
Object.registerClass('Nigger5', Nigger5);
#endinitclip
}
movieClip 25 Nigger6 {
#initclip
Object.registerClass('Nigger6', Nigger6);
#endinitclip
}
movieClip 28 Nigger7 {
#initclip
Object.registerClass('Nigger7', Nigger7);
#endinitclip
}
movieClip 31 Nigger8 {
#initclip
Object.registerClass('Nigger8', Nigger8);
#endinitclip
}
movieClip 34 Missile {
#initclip
Object.registerClass('Missile', Missile);
#endinitclip
}
// unknown tag 88 length 217
movieClip 37 RewardPoints {
#initclip
Object.registerClass('RewardPoints', RewardPoints);
#endinitclip
}
movieClip 40 playnowbutton {
}
movieClip 43 newgame {
}
movieClip 46 nohopebutton {
}
movieClip 49 nohope {
}
movieClip 52 Ship {
#initclip
Object.registerClass('Ship', Ship);
#endinitclip
}
movieClip 55 Background2 {
#initclip
Object.registerClass('Background2', Background2);
#endinitclip
}
movieClip 58 Background {
#initclip
Object.registerClass('Background', Background);
#endinitclip
}
movieClip 61 __Packages.Nigger1 {
#initclip
if (!_global.Nigger1) {
var v1 = function () {
super();
};
_global.Nigger1 = v1;
_global.Nigger1 extends MovieClip;
var v2 = v1.prototype;
v2.onLoad = function () {
this._x = 900;
this._y = 500;
this.speed = 5;
};
v2.onEnterFrame = function () {
this._x -= this.speed;
if (this._x < -100) {
this.removeMovieClip();
}
if (this.hitTest(_root.ship)) {
this.explode();
}
};
v2.explode = function () {
var v3 = _root.attachMovie('RewardPoints', 'RewardPoints' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
v3._x = this._x;
v3._y = this._y - 75;
v3.field.text = 1;
var v4 = _root.attachMovie('Explosion', 'Explosion' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
v4._x = this._x;
v4._y = this._y;
this.removeMovieClip();
_root.ship.updateScore(1);
_root.soundFX.attachSound('explosion.wav');
_root.soundFX.start();
};
ASSetPropFlags(_global.Nigger1.prototype, null, 1);
}
#endinitclip
}
movieClip 62 __Packages.Nigger2 {
#initclip
if (!_global.Nigger2) {
var v1 = function () {
super();
};
_global.Nigger2 = v1;
_global.Nigger2 extends MovieClip;
var v2 = v1.prototype;
v2.onLoad = function () {
this._x = 900;
this._y = 500;
this.speed = 5;
};
v2.onEnterFrame = function () {
this._x -= this.speed;
if (this._x < -100) {
this.removeMovieClip();
}
if (this.hitTest(_root.ship)) {
this.explode();
}
};
v2.explode = function () {
var v3 = _root.attachMovie('RewardPoints', 'RewardPoints' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
v3._x = this._x;
v3._y = this._y - 75;
v3.field.text = 1;
var v4 = _root.attachMovie('Explosion', 'Explosion' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
v4._x = this._x;
v4._y = this._y;
this.removeMovieClip();
_root.ship.updateScore(1);
_root.soundFX.attachSound('explosion.wav');
_root.soundFX.start();
};
ASSetPropFlags(_global.Nigger2.prototype, null, 1);
}
#endinitclip
}
movieClip 63 __Packages.Nigger3 {
#initclip
if (!_global.Nigger3) {
var v1 = function () {
super();
};
_global.Nigger3 = v1;
_global.Nigger3 extends MovieClip;
var v2 = v1.prototype;
v2.onLoad = function () {
this._x = -100;
this._y = 493;
this.speed = -3;
};
v2.onEnterFrame = function () {
this._x -= this.speed;
if (this._x < -100) {
this.removeMovieClip();
}
if (this.hitTest(_root.ship)) {
this.explode();
}
};
v2.explode = function () {
var v3 = _root.attachMovie('RewardPoints', 'RewardPoints' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
v3._x = this._x;
v3._y = this._y - 75;
v3.field.text = 1;
var v4 = _root.attachMovie('Explosion', 'Explosion' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
v4._x = this._x;
v4._y = this._y;
this.removeMovieClip();
_root.ship.updateScore(1);
_root.soundFX.attachSound('explosion.wav');
_root.soundFX.start();
};
ASSetPropFlags(_global.Nigger3.prototype, null, 1);
}
#endinitclip
}
movieClip 64 __Packages.Nigger4 {
#initclip
if (!_global.Nigger4) {
var v1 = function () {
super();
};
_global.Nigger4 = v1;
_global.Nigger4 extends MovieClip;
var v2 = v1.prototype;
v2.onLoad = function () {
this._x = -100;
this._y = 500;
this.speed = -7;
};
v2.onEnterFrame = function () {
this._x -= this.speed;
if (this._x < -100) {
this.removeMovieClip();
}
if (this.hitTest(_root.ship)) {
this.explode();
}
};
v2.explode = function () {
var v3 = _root.attachMovie('RewardPoints', 'RewardPoints' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
v3._x = this._x;
v3._y = this._y - 75;
v3.field.text = 1;
var v4 = _root.attachMovie('Explosion', 'Explosion' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
v4._x = this._x;
v4._y = this._y;
this.removeMovieClip();
_root.ship.updateScore(1);
_root.soundFX.attachSound('explosion.wav');
_root.soundFX.start();
};
ASSetPropFlags(_global.Nigger4.prototype, null, 1);
}
#endinitclip
}
movieClip 65 __Packages.Nigger5 {
#initclip
if (!_global.Nigger5) {
var v1 = function () {
super();
};
_global.Nigger5 = v1;
_global.Nigger5 extends MovieClip;
var v2 = v1.prototype;
v2.onLoad = function () {
this._x = 900;
this._y = 500;
this.speed = 2;
};
v2.onEnterFrame = function () {
this._x -= this.speed;
if (this._x < -100) {
this.removeMovieClip();
}
if (this.hitTest(_root.ship)) {
this.explode();
}
};
v2.explode = function () {
var v3 = _root.attachMovie('RewardPoints', 'RewardPoints' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
v3._x = this._x;
v3._y = this._y - 75;
v3.field.text = 4;
var v4 = _root.attachMovie('Explosion', 'Explosion' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
v4._x = this._x;
v4._y = this._y;
this.removeMovieClip();
_root.ship.updateScore(4);
_root.soundFX.attachSound('explosion.wav');
_root.soundFX.start();
};
ASSetPropFlags(_global.Nigger5.prototype, null, 1);
}
#endinitclip
}
movieClip 66 __Packages.Nigger6 {
#initclip
if (!_global.Nigger6) {
var v1 = function () {
super();
};
_global.Nigger6 = v1;
_global.Nigger6 extends MovieClip;
var v2 = v1.prototype;
v2.onLoad = function () {
this._x = -100;
this._y = 500;
this.speed = -2;
};
v2.onEnterFrame = function () {
this._x -= this.speed;
if (this._x < -100) {
this.removeMovieClip();
}
if (this.hitTest(_root.ship)) {
this.explode();
}
};
v2.explode = function () {
var v3 = _root.attachMovie('RewardPoints', 'RewardPoints' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
v3._x = this._x;
v3._y = this._y - 75;
v3.field.text = 4;
var v4 = _root.attachMovie('Explosion', 'Explosion' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
v4._x = this._x;
v4._y = this._y;
this.removeMovieClip();
_root.ship.updateScore(4);
_root.soundFX.attachSound('explosion.wav');
_root.soundFX.start();
};
ASSetPropFlags(_global.Nigger6.prototype, null, 1);
}
#endinitclip
}
movieClip 67 __Packages.Nigger7 {
#initclip
if (!_global.Nigger7) {
var v1 = function () {
super();
};
_global.Nigger7 = v1;
_global.Nigger7 extends MovieClip;
var v2 = v1.prototype;
v2.onLoad = function () {
this._x = -100;
this._y = 500;
this.speed = -2;
};
v2.onEnterFrame = function () {
this._x -= this.speed;
if (this._x < -100) {
this.removeMovieClip();
}
if (this.hitTest(_root.ship)) {
this.explode();
}
};
v2.explode = function () {
var v3 = _root.attachMovie('RewardPoints', 'RewardPoints' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
v3._x = this._x;
v3._y = this._y - 75;
v3.field.text = 2;
var v4 = _root.attachMovie('Explosion', 'Explosion' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
v4._x = this._x;
v4._y = this._y;
this.removeMovieClip();
_root.ship.updateScore(2);
_root.soundFX.attachSound('explosion.wav');
_root.soundFX.start();
};
ASSetPropFlags(_global.Nigger7.prototype, null, 1);
}
#endinitclip
}
movieClip 68 __Packages.Nigger8 {
#initclip
if (!_global.Nigger8) {
var v1 = function () {
super();
};
_global.Nigger8 = v1;
_global.Nigger8 extends MovieClip;
var v2 = v1.prototype;
v2.onLoad = function () {
this._x = 900;
this._y = 505;
this.speed = 6;
};
v2.onEnterFrame = function () {
this._x -= this.speed;
if (this._x < -100) {
if (this.hitTest(_root.ship)) {
this.explode();
}
}
};
v2.explode = function () {
var v3 = _root.attachMovie('RewardPoints', 'RewardPoints' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
v3._x = this._x;
v3._y = this._y - 75;
v3.field.text = 15;
var v4 = _root.attachMovie('Explosion', 'Explosion' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
v4._x = this._x;
v4._y = this._y;
this.removeMovieClip();
_root.ship.updateScore(15);
_root.soundFX.attachSound('explosion.wav');
_root.soundFX.start();
};
ASSetPropFlags(_global.Nigger8.prototype, null, 1);
}
#endinitclip
}
movieClip 69 __Packages.Missile {
#initclip
if (!_global.Missile) {
var v1 = function () {
super();
};
_global.Missile = v1;
_global.Missile extends MovieClip;
var v2 = v1.prototype;
v2.onLoad = function () {
this.speed = 7;
};
v2.onEnterFrame = function () {
this._y += this.speed;
if (this._y > 500) {
this.removeMovieClip();
}
for (var v3 in _root.ship.enemies1) {
if (this.hitTest(_root.ship.enemies1[v3])) {
_root.ship.enemies1[v3].explode();
this.removeMovieClip();
}
}
for (v3 in _root.ship.enemies2) {
if (this.hitTest(_root.ship.enemies2[v3])) {
_root.ship.enemies2[v3].explode();
this.removeMovieClip();
}
}
for (v3 in _root.ship.enemies3) {
if (this.hitTest(_root.ship.enemies3[v3])) {
_root.ship.enemies3[v3].explode();
this.removeMovieClip();
}
}
for (v3 in _root.ship.enemies4) {
if (this.hitTest(_root.ship.enemies4[v3])) {
_root.ship.enemies4[v3].explode();
this.removeMovieClip();
}
}
for (v3 in _root.ship.enemies5) {
if (this.hitTest(_root.ship.enemies5[v3])) {
_root.ship.enemies5[v3].explode();
this.removeMovieClip();
}
}
for (v3 in _root.ship.enemies6) {
if (this.hitTest(_root.ship.enemies6[v3])) {
_root.ship.enemies6[v3].explode();
this.removeMovieClip();
}
}
for (v3 in _root.ship.enemies7) {
if (this.hitTest(_root.ship.enemies7[v3])) {
_root.ship.enemies7[v3].explode();
this.removeMovieClip();
}
}
for (v3 in _root.ship.enemies8) {
if (this.hitTest(_root.ship.enemies8[v3])) {
_root.ship.enemies8[v3].explode();
this.removeMovieClip();
}
}
};
ASSetPropFlags(_global.Missile.prototype, null, 1);
}
#endinitclip
}
movieClip 70 __Packages.RewardPoints {
#initclip
if (!_global.RewardPoints) {
var v1 = function () {
super();
};
_global.RewardPoints = v1;
_global.RewardPoints extends MovieClip;
var v2 = v1.prototype;
v2.onEnterFrame = function () {
this._alpha -= 2;
if (this._alpha < 0) {
this.removeMovieClip();
}
};
ASSetPropFlags(_global.RewardPoints.prototype, null, 1);
}
#endinitclip
}
movieClip 71 __Packages.Ship {
#initclip
if (!_global.Ship) {
var v1 = function () {
super();
};
_global.Ship = v1;
_global.Ship extends MovieClip;
var v2 = v1.prototype;
v2.onLoad = function () {
this.velocity = 10;
this.shootLimiter = 0;
this.enemyTimer1 = 0;
this.enemyTimer2 = 0;
this.enemyTimer3 = 0;
this.enemyTimer4 = 0;
this.enemyTimer5 = 0;
this.enemyTimer6 = 0;
this.enemyTimer7 = 0;
this.enemyTimer8 = 0;
this.enemies1 = [];
this.enemies2 = [];
this.enemies3 = [];
this.enemies4 = [];
this.enemies5 = [];
this.enemies6 = [];
this.enemies7 = [];
this.enemies8 = [];
this.score = 0;
_root.soundFX = new Sound();
_root.newgame._visible = true;
_root.playnowbutton._visible = true;
_root.nohope._visible = true;
_root.nohopebutton._visible = true;
_root.backgroundmusic = new Sound();
_root.backgroundmusic.attachSound('Johnny Rebel - Who Likes A Nigger.mp3');
_root.backgroundmusic.start(0, 1000);
_root.playnowbutton.onPress = function () {
_root.newgame._visible = false;
_root.playnowbutton._visible = false;
};
_root.nohopebutton.onPress = function () {
_root.nohopebutton._visible = false;
_root.nohope._visible = false;
};
};
v2.onEnterFrame = function () {
this.shootLimiter += 1;
if (Key.isDown(39)) {
this._x += this.velocity;
}
if (Key.isDown(37)) {
this._x -= this.velocity;
}
if (Key.isDown(38)) {
this._y -= this.velocity;
}
if (Key.isDown(40)) {
this._y += this.velocity;
}
if (Key.isDown(32) && this.shootLimiter > 8) {
this.shootLimiter = 0;
var v3 = _root.attachMovie('Missile', 'Missile' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
v3._x = this._x + 25;
v3._y = this._y + 55;
}
this.enemyTimer1 += 1;
this.enemyTimer2 += 1;
this.enemyTimer3 += 1;
this.enemyTimer4 += 1;
this.enemyTimer5 += 1;
this.enemyTimer6 += 1;
this.enemyTimer7 += 1;
this.enemyTimer8 += 1;
if (this.enemyTimer1 > 300) {
this.enemyTimer1 = Math.random() * 60;
var v11 = _root.attachMovie('Nigger1', 'Nigger1' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
this.enemies1.push(v11);
}
if (this.enemyTimer2 > 180) {
this.enemyTimer2 = Math.random() * 60;
var v10 = _root.attachMovie('Nigger2', 'Nigger2' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
this.enemies2.push(v10);
}
if (this.enemyTimer3 > 240) {
this.enemyTimer3 = Math.random() * 60;
var v9 = _root.attachMovie('Nigger3', 'Nigger3' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
this.enemies3.push(v9);
}
if (this.enemyTimer4 > 200) {
this.enemyTimer4 = Math.random() * 60;
var v8 = _root.attachMovie('Nigger4', 'Nigger4' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
this.enemies4.push(v8);
}
if (this.enemyTimer5 > 240) {
this.enemyTimer5 = Math.random() * 60;
var v7 = _root.attachMovie('Nigger5', 'Nigger5' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
this.enemies5.push(v7);
}
if (this.enemyTimer6 > 300) {
this.enemyTimer6 = Math.random() * 60;
var v6 = _root.attachMovie('Nigger6', 'Nigger6' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
this.enemies6.push(v6);
}
if (this.enemyTimer7 > 360) {
this.enemyTimer7 = Math.random() * 60;
var v5 = _root.attachMovie('Nigger7', 'Nigger7' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
this.enemies7.push(v5);
}
if (this.enemyTimer8 > 420) {
this.enemyTimer8 = Math.random() * 60;
var v4 = _root.attachMovie('Nigger8', 'Nigger8' + _root.getNextHighestDepth(), _root.getNextHighestDepth());
this.enemies8.push(v4);
}
};
v2.updateScore = function (points) {
this.score += points;
_root.scoreText.text = this.score;
};
ASSetPropFlags(_global.Ship.prototype, null, 1);
}
#endinitclip
}
movieClip 72 __Packages.Background2 {
#initclip
if (!_global.Background2) {
var v1 = function () {
super();
};
_global.Background2 = v1;
_global.Background2 extends MovieClip;
var v2 = v1.prototype;
v2.onEnterFrame = function () {
this._x = 400;
this._y = 33;
};
ASSetPropFlags(_global.Background2.prototype, null, 1);
}
#endinitclip
}
movieClip 73 __Packages.Background {
#initclip
if (!_global.Background) {
var v1 = function () {
super();
};
_global.Background = v1;
_global.Background extends MovieClip;
var v2 = v1.prototype;
v2.onEnterFrame = function () {
this._x -= 1;
if (this._x < -2400) {
this._x = 0;
}
};
ASSetPropFlags(_global.Background.prototype, null, 1);
}
#endinitclip
}
movieClip 74 __Packages.Explosion {
#initclip
if (!_global.Explosion) {
var v1 = function () {
super();
};
_global.Explosion = v1;
_global.Explosion extends MovieClip;
var v2 = v1.prototype;
v2.onEnterFrame = function () {
if (this._currentframe == this._totalframes) {
this.removeMovieClip();
}
};
ASSetPropFlags(_global.Explosion.prototype, null, 1);
}
#endinitclip
}