if (collided == true) { effect_create_layer("Effects", ef_firework, x - 5 + random(10), y - 5 + random(10), 0.05, c_aqua); effect_create_layer("Effects", ef_firework, x - 5 + random(10), y - 5 + random(10), 0.05, c_fuchsia); }