lit = 1;
// Particles
partFire_sys = part_system_create();
part_system_depth(partFire_sys,100);
// Fire Particle
partFire = part_type_create();
part_type_sprite(partFire,sprFire,0,0,1);
part_type_size(partFire,0.8,1.2,0,0);
part_type_colour2(partFire,c_orange,c_red);
part_type_alpha3(partFire,1,0.8,0);
part_type_speed(partFire,1,3,0,0);
part_type_direction(partFire,85,95,0,6);
part_type_orientation(partFire,0,359,0,0,0);
part_type_blend(partFire,1);
part_type_life(partFire,5,15);
// Cinder
partCinder = part_type_create();
part_type_shape(partCinder, pt_shape_flare);
part_type_size(partCinder,0.2,0.5,0,0);
part_type_color2(partCinder,c_orange,c_red);
part_type_alpha3(partCinder,1,0.8,0);
part_type_speed(partCinder,0.5,0.8,0,0);
part_type_direction(partCinder,85,95,0,0);
part_type_blend(partCinder,1);
part_type_life(partCinder,50,75);
// Particle Emitter
partFire_emit = part_emitter_create(partFire_sys);
part_emitter_region(partFire_sys,partFire_emit,x - 5, x+ 5,y-8,y+2,ps_shape_ellipse,ps_distr_linear);