var _x = x + (lengthdir_x(shake, shake_angle) * 2); var _y = y + (lengthdir_y(shake, shake_angle) * 2); if (jumping) { var xx = x + (20 * sign(image_xscale)); _y -= jumppos; draw_set_color(c_black); var _radius = max(0, lerp(40, 0, jumppos / 120)); var _x1 = xx - lengthdir_x(_radius, 45); var _y1 = 20 + y + (lengthdir_y(_radius, 45) * 0.4); var _x2 = xx + lengthdir_x(_radius, 315); var _y2 = 20 + y + (lengthdir_y(_radius, 315) * 0.4); if (!i_ex(obj_sunshadows)) draw_ellipse(_x1, _y1, _x2, _y2, 0); } draw_sprite_ext(sprite_index, image_index, _x, _y, image_xscale, image_yscale, image_angle, image_blend, image_alpha); if (spawn_water_splash) draw_sprite_ext(spr_dash_splash, current_time / 50, x - (12 * image_xscale), y + 42, image_xscale, image_yscale, 0, c_white, 1); if (spawn_water_splash) { if (spawn_water_splash == 1) draw_sprite_ext(spr_dash_splash, current_time / 50, x - (12 * image_xscale), y + 42, image_xscale, image_yscale, 0, c_white, 1); else draw_sprite_ext(spr_dash_splash_dark, current_time / 50, x - (12 * image_xscale), y + 42, image_xscale, image_yscale, 0, c_white, 1); }