home *** CD-ROM | disk | FTP | other *** search
- call("pro");
- fadescreen();
- stopAllSounds();
- _global.r = this;
- r.attachmovie("robin","robin",99);
- r.attachmovie("shootbar","shootbar",80008);
- r.shootbar._x = 142;
- r.shootbar._y = 377;
- r.shootbar._xscale = 133;
- r.shootbar._yscale = 80;
- _global.s = this.robin;
- s._x = 50;
- s._y = 300;
- s.dep = 99;
- call("pro");
- autofire = 0;
- score = 0;
- point = 10;
- energymax = 100;
- energy = energymax;
- r.finish = 0;
- r.cheat1 = 0;
- hit = 0;
- inv = 0;
- jump = 0;
- xmin = 50;
- xmax = 250;
- ymin = 280;
- ymax = 380;
- invhitdelay = 30;
- energyless = 20;
- screenwid = 600;
- posnow = screenwid;
- espeed = -20;
- bgspeed = -42;
- shotdelay = 5;
- noshot = 0;
- carspeed = -18;
- itemdelay = 20;
- shakebike = 0;
- noshot = 1;
- gunh = 100;
- gunless = 8;
- gunrecover1 = 0.4;
- gunrecover2 = 1;
- d = itemdelay;
- carwid = [0,150,150,146,150,150,140,150];
- r.b = 1000;
- bul = [];
- ebul = [];
- enemy = [];
- cars = [];
- lanepos = [295,340,380];
- r.ed = 100;
- enemyarray = [];
- enemyarray.push(18,18,2,18,2,18,18,18,2,2,18,2,18,18,2,18,2,2,2,18,18,2,2,18,18,2,2,2,2);
- enemyarray.push(18,5,1,0,18,0,1,0,1,0,18,0);
- enemyarray.push(0,3,0,0,18,18,3,3,3,0,0,18,3,0,0,18,18,3,3,3,0,0);
- enemyarray.push(18,5,1,0,18,0,1,0,1,0,18,0,0);
- enemyarray.push(8);
- enemyarray.push(18,5,1,0,18,0,1,0,1,0,18,0,0);
- enemyarray.push(4,0,0,18,18,4,4,0,0,4,0,0,18,4,4,0,0,18);
- enemyarray.push(18,6,1,0,18,0,1,0,1,0,18,0,0);
- enemyarray.push(18,6,1,0,18,0,1,0,1,0,18,0,0);
- enemyarray.push(0,3,0,0,18,18,3,3,3,0,0,18,3,3,3,0,0);
- enemyarray.push(8);
- enemyarray.push(18,6,1,0,18,0,1,0,1,0,18,0,0);
- enemyarray.push(18,6,1,0,18,0,1,0,1,0,18,0,0);
- enemyarray.push(18,6,1,0,18,0,1,0,1,0,18,0,0);
- enemyarray.push(4,0,0,18,18,4,4,0,0,4,0,0,18);
- enemyarray.push(0,3,0,0,18,18,3,3,3,0,0,18,18,3,3,3,0,0);
- enemyarray.push(18,5,1,0,18,0,1,0,1,0,18,0,0,0);
- enemyarray.push(18,5,1,0,18,0,1,0,1,0,18,0,0);
- enemyarray.push(8);
- enemyarray.push(0,0,7);
- enemyarray.reverse();
- enemytotal = r.enemyarray.length;
- r.createEmptyMovieClip("sfx",60001);
- allsfx = ["zwin","zlose","zbothit","zcarbump","zshoot","zbikeslow","zblast3","zufo","zmissile","zbigexplosion","zboost","zbonus","zboom2","zboom2","zbonus","zbump","zhit","zrico1","zrico2","zrico3","zrico4"];
- var i = 0;
- while(i < allsfx.length)
- {
- r[allsfx[i]] = new sound(sfx);
- r[allsfx[i]].attachsound(allsfx[i]);
- i++;
- }
- r.createEmptyMovieClip("sfx2",60002);
- r.zloop = new sound(sfx2);
- r.zloop.attachsound("zloop");
- r.createEmptyMovieClip("sfx3",60003);
- r.zmotor = new sound(sfx3);
- r.zmotor.attachsound("zmotor");
- r.createEmptyMovieClip("sfx4",60004);
- r.zmotorjump = new sound(sfx4);
- r.zmotorjump.attachsound("zmotorjump");
- r.createEmptyMovieClip("sfx5",60005);
- r.zhc = new sound(sfx5);
- r.zhc.attachsound("zhc");
- r.createEmptyMovieClip("sfx6",60006);
- r.zhcgun = new sound(sfx6);
- r.zhcgun.attachsound("zhcgun");
- r.createEmptyMovieClip("sfx7",60007);
- r.zbikestop = new sound(sfx7);
- r.zbikestop.attachsound("zbikestop");
- r.createEmptyMovieClip("sfx8",60008);
- r.zboss = new sound(sfx8);
- r.zboss.attachsound("zboss");
- r.zbikeslow.onSoundComplete = function()
- {
- r.zbikestop.start(0,9999);
- };
- r.zmotor.start(0,99999);
- r.zloop.start(0,99999);
- r.motorsound = 1;
-