Witam, chciałbym prosić o pomoc w dokończeniu gry typu galaxian we flashu (actionscript 2.0)

mam na razie taki kod:

Kopiuj
stop();
function draw_level() {
	this.createEmptyMovieClip("arena",0);
	for (i=0; i<4; i++) {
		this.arena.createEmptyMovieClip("e_row_"+i,i);
		this.arena["e_row_"+i]._y = (5-i)*30;
		this.arena["e_row_"+i]._x = 100;
		this.arena["e_row_"+i].onEnterFrame = function() {
			if (random(100) == 34 and this._x<150) {
				this._x += 10;
			}
			if (random(100) == 54 and this._x>25) {
				this._x -= 10;
			}
		};
		for (j=0; j<20; j++) {
			if (i<2) {      
				e_type = 1;
			} else {
				e_type = i;
			}
			this.arena["e_row_"+i].attachMovie("enemy"+e_type,"e_"+j+"_"+i,j,{_x:j*30});
			this.arena["e_row_"+i]["e_"+j+"_"+i].onEnterFrame = function() {
				if (this.hitTest(arena.amo)) {
					arena.amo_ready = true;
					removeMovieClip(arena.amo);
					removeMovieClip(this);
				}
			};
		}
	}
	this.arena.amo_ready = true;
	this.arena.attachMovie("plane","plane",10,{_x:400, _y:400});

	this.arena.plane.onEnterFrame = function() {
		if (Key.isDown(Key.RIGHT)) {
			this._x += 5;
			if (this._x>750) {
				this._x = 750;
			}
		}
		if (Key.isDown(Key.LEFT)) {
			this._x -= 5;
			if (this._x<50) {
				this._x = 50;
			}
		}
		if (arena.amo_ready and Key.isDown(32)) {
			arena.attachMovie("bullet","amo",12,{_x:this._x, _y:this._y-25});
			arena.amo_ready = false;
			arena.amo.onEnterFrame = function() {
				this._y -= 20;
				if (this._y<50) {
					arena.amo_ready = true;
					removeMovieClip(this);
				}
			};
		}
	};
}
draw_level();
 

Brakuje zakończenia levelu i dzwięku wystrzału.(plus losowy ruch jednego z wrogów co jakiś czas)
Posiłkuje się tym co znajdę w sieci, ale samemu średnio mi idzie pisanie kodu. Proszę o wyrozumiałość i pomoc.