function orbEffectsDefinition(PARTICLE* orbs){
orbs.bmap = effect_bmp;
orbs.alpha = 50;
orbs.vel_x = random( 3 ) - 1.500;
orbs.vel_y = random( 3 ) - 1.500;
orbs.vel_z = random( 3 ) - 1.500;
orbs.size = 1;
orbs.gravity = 1;
orbs.flags |= (BRIGHT|MOVE|BEAM|OVERLAY);
orbs.event = orbEffect_spec_fun;
}
function orbEffects(){
vec_scale(normal,10);
effect(orbEffectsDefinition, 120, player.x, vector(60,60,60));
}