home *** CD-ROM | disk | FTP | other *** search
- this.onEnterFrame = function()
- {
- BackSpeed = _xmouse / 10;
- SpecialIdentity = Special;
- SpecialMeter._xscale = SAmmo / TotSAmmo * 100;
- if(_ymouse > 126 && _ymouse < 630)
- {
- Device._y = _ymouse;
- }
- if(StationEnergy > 200)
- {
- StationEnergy = 200;
- }
- if(EnemyMovD >= 2100)
- {
- EnemyMovD = 2000;
- }
- if(DeviceReady == true)
- {
- SubGraphic3._x = Device._x + 16;
- SubGraphic3._y = Device._y;
- }
- else
- {
- SubGraphic3._x = HitDevice._x + 16;
- SubGraphic3._y = HitDevice._y;
- }
- if(_ymouse > 126 && _xmouse > 126 && _ymouse < 630)
- {
- LaserGraphic._x = _xmouse;
- LaserGraphic._y = _ymouse;
- LaserGraphic._visible = 1;
- }
- else
- {
- LaserGraphic._visible = 0;
- }
- if(_ymouse > 126 && _xmouse > 126 && _ymouse < 630)
- {
- LaserBeamOutput._x = 120;
- LaserBeamOutput._y = Device._y;
- LaserBeamOutput._y = HitDevice._y;
- LaserBeamOutput._visible = 1;
- }
- else
- {
- LaserBeamOutput._visible = 0;
- }
- if(Life >= 0)
- {
- LifeCounter = Life;
- }
- else
- {
- LifeCounter = 0;
- }
- LifeMeter._xscale = Life;
- if(LifeMeter._xscale >= 100)
- {
- LifeMeter._xscale = 100;
- }
- else if(LifeMeter._xscale <= 0)
- {
- LifeMeter._xscale = 0;
- }
- if(ParticleCounter >= 25)
- {
- StageCounter++;
- StageLevel++;
- ParticleCounter = 0;
- }
- if(StageLevel >= 4)
- {
- Messaging = "Laser Powered";
- }
- if(ComboTimer != 0)
- {
- ComboTimer--;
- }
- else
- {
- ComboMultiplier = 1;
- }
- ComboShow = ComboMultiplier;
- };
-