# --Maker-- 08/27/2016 19:20:07 once Self "main" "Custom0_128" SetImage Self "main" "Ships" SetImageLayer Self "main" 1 SetImageOrder Self "main" 1 1 SetImageScale Self "ShipModule.prpl" "Ship" GetScriptVar ->Ship <-Ship.ShipIsEnemy ->IsEnemy -1 ->target endonce Self "ShipModule.prpl" "ShipAngle" GetScriptVar ->ShipAngle Self "ShipModule.prpl" "delta" GetScriptVar ->Delta Self "ShipModule.prpl" "exist" GetScriptVar ->Exist <-Exist eq0 if self "main" 0 0 0 0 SetImageColor return endif IsPaused if return endif <-Exist 1 eq if self "main" 255 255 255 128 SetImageColor <-ShipAngle ->BarrelAngle 0 ->cooldown else self "main" 255 255 255 255 SetImageColor <-Ship.ShipHasAmp <-IsEnemy or ->GemPresent <-cooldown if <-cooldown 1 sub ->cooldown else <-GemPresent if 1000 ->max 2700 ->life 5 ->cooldown 1 ->health else 500 ->max 1800 ->life 10 ->cooldown 1 ->health endif Self GetOwnedParticleCount <-max lt if CurrentCoords GetLand eq0 if @Emit endif endif endif endif :emit CurrentPixelCoords <-ShipAngle 0.75 <-health 1 sub <-IsEnemy CreateParticle ->new <-life ->new.ParticleMaxAge