var jawdir; jawdir = ((direction + 270) + (image_yscale == -1 * 180)) draw_sprite_ext(sErisJaw, -1, (x + lengthdir_x((jawoff + 2), jawdir)), (y + lengthdir_y((jawoff + 2), jawdir)), 1, image_yscale, image_angle, -1, 1) draw_sprite_ext(sErisHead, -1, x, y, 1, image_yscale, image_angle, -1, 1) draw_set_blend_mode(bm_add) repeat (2) { if (flashing > 0) { draw_sprite_ext(sErisJaw, -1, (x + lengthdir_x((jawoff + 2), jawdir)), (y + lengthdir_y((jawoff + 2), jawdir)), 1, image_yscale, image_angle, -1, (flashing * 0.1)) draw_sprite_ext(sErisHead, -1, x, y, 1, image_yscale, image_angle, -1, (flashing * 0.1)) } } draw_set_blend_mode(bm_normal) if boosting { if (fxtimer == 0 || fxtimer == 1) { draw_set_blend_mode(bm_add) draw_sprite_ext(sErisJaw, -1, (x + lengthdir_x((jawoff + 2), jawdir)), (y + lengthdir_y((jawoff + 2), jawdir)), 1, image_yscale, image_angle, c_green, (1.1 + (fxtimer * 0.2))) draw_sprite_ext(sErisHead, -1, x, y, 1, image_yscale, image_angle, c_green, (1.1 + (fxtimer * 0.2))) draw_set_blend_mode(bm_normal) } if (fxtimer == 2 || fxtimer == 3) { draw_set_blend_mode(bm_add) repeat (2) { draw_sprite_ext(sErisJaw, -1, (x + lengthdir_x((jawoff + 2), jawdir)), (y + lengthdir_y((jawoff + 2), jawdir)), 1, image_yscale, image_angle, c_yellow, 1) draw_sprite_ext(sErisHead, -1, x, y, 1, image_yscale, image_angle, c_yellow, 1) draw_sprite_ext(sErisJaw, -1, (x + lengthdir_x((jawoff + 2), jawdir)), (y + lengthdir_y((jawoff + 2), jawdir)), 1, image_yscale, image_angle, c_white, 1) draw_sprite_ext(sErisHead, -1, x, y, 1, image_yscale, image_angle, c_white, 1) } draw_set_blend_mode(bm_normal) } if (fxtimer == 4 || fxtimer == 5) { draw_set_blend_mode(bm_add) repeat (2) { draw_sprite_ext(sErisJaw, -1, (x + lengthdir_x((jawoff + 2), jawdir)), (y + lengthdir_y((jawoff + 2), jawdir)), 1, image_yscale, image_angle, c_red, 1) draw_sprite_ext(sErisHead, -1, x, y, 1, image_yscale, image_angle, c_red, 1) } draw_set_blend_mode(bm_normal) } }