| 1 |
part_emitter_burst(part_embersys, part_emberEm, part_ember_small, -25); |
| 2 |
part_emitter_burst(part_embersys, part_emberEm, part_ember_medium, -45); |
| 3 |
part_emitter_burst(part_embersys, part_emberEm, part_ember_large, -125); |
| 4 |
if (diamond_width_current == diamond_width) |
| 5 |
diamond_width_current = 0; |
| 6 |
diamond_width_current += 0.5; |
| 7 |
if (instance_exists(obj_ceroba_body)) |
| 8 |
{ |
| 9 |
var breath_percentage = (obj_ceroba_body.anim_stretch_current - 1) / (obj_ceroba_body.anim_stretch_max - 1); |
| 10 |
diamond_alpha = 0.35 + (breath_percentage * 0.65); |
| 11 |
} |
| 12 |
diamond_sin_deg += 1; |
| 13 |
if (diamond_sin_deg >= 360) |
| 14 |
diamond_sin_deg -= 360; |
| 15 |
diamond_y = diamond_y_original + (dsin(diamond_sin_deg) * diamond_y_shift); |