scr_enemy_drawhurt_generic(); if (state == 0) { if (flash == 1) fsiner++; siner += 0.16666666666666666; if (global.mercymod[myself] >= global.mercymax[myself]) { draw_monster_body_part(sparedsprite, siner, x, y); } else { draw_monster_body_part(spr_terracotta_backpouldron, 0, x, y - (sin(siner) * 2)); draw_monster_body_part(spr_terracotta_feet, 0, x, y); draw_monster_body_part(spr_terracotta_body, 0, x, y - (sin(siner) * 2)); draw_sprite_ext(spr_terracotta_hands_shovel_centered, 0, (x + 90) - (sin(siner) * 1), ((y - (sin(siner) * 1)) + 94) - (sin(siner) * 2), 2, 2, image_angle - (sin(siner) * 4), image_blend, image_alpha); if (flash == 1) draw_sprite_ext_flash(spr_terracotta_hands_shovel_centered, 0, (x + 90) - (sin(siner) * 1), ((y - (sin(siner) * 1)) + 94) - (sin(siner) * 2), 2, 2, image_angle - (sin(siner) * 4), image_blend, (-cos(fsiner / 5) * 0.4) + 0.6); if (headballooncon == 1) { headballoontimer++; draw_sprite_ext(spr_terracotta_head_bloomed, 0, x, y - (sin(siner) * 1), 2, 2, 0, c_white, 1); if (headballoontimer <= 15) { gpu_set_fog(1, c_white, 0, 0); draw_sprite_ext(spr_terracotta_head_bloomed, 0, x, y - (sin(siner) * 1), 2, 2, 0, c_white, lerp(1, 0, headballoontimer / 15)); gpu_set_fog(0, c_white, 0, 0); } if (headballoontimer == 8) { repeat (5) { var marker = instance_create(x + 60 + irandom(40), y + 8 + irandom(10), obj_marker); with (marker) { sprite_index = spr_dw_garden_cuttableflowerpetals; direction = 170 + irandom(60); speed = 1 + irandom(2); friction = 0.01; scr_darksize(); image_speed = random_range(0.2, 0.35); depth = other.depth - 1; scr_doom(self, 60); scr_lerpvar("image_alpha", 1, 0, 60); } } } } else { draw_monster_body_part(spr_terracotta_head_no_plant, 0, x, y - (sin(siner) * 1)); draw_monster_body_part(spr_terracotta_head_plant, 0, x, y - (sin(siner) * 1)); } draw_monster_body_part(spr_terracotta_hands_front_shoulder, 0, x, y - (sin(siner) * 2)); } } if (becomeflash == 0) flash = 0; becomeflash = 0;