scr_enemy_drawhurt_generic(); scr_enemy_drawidle_generic(0.16666666666666666); if (state == 10) { state10timer++; if (state10timer == 1) x -= 4; if (state10timer == 2) x += 7; if (state10timer == 3) x -= 6; if (state10timer == 4) x += 5; if (state10timer == 5) x -= 4; if (state10timer == 6) x += 3; if (state10timer == 7) x -= 2; if (state10timer == 8) x += 1; if (state10timer == 9) x = xstart; draw_monster_body_part(spr_scarecrow_hurt, siner, x, y); } if (state == 11) { draw_monster_body_part(spr_scarecrow_push, siner, x, y); state10timer++; if (state10timer < 9) { repeat (2) { d = instance_create(x + 26, y + 54, obj_shi_power_up_orb); d.direction = irandom(360); d.depth = depth + 1; d.image_blend = c_gray; d.lifetime = 10; } } if (state10timer == 20) state = 0; } if (becomeflash == 0) flash = 0; becomeflash = 0; if (acting == 101) { d_rectangle_color(camerax() + 240, cameray() + 290, (camerax() + 240 + 180) - (blowtimer * 1.8), cameray() + 300, 16776960, 16776960, 16776960, 16776960, 0); draw_sprite_ext(spr_poppup_hourglass, 0, camerax() + 240, cameray() + 295, 2, 2, 0, c_white, image_alpha); d3d_set_fog(true, c_white, 0, 0); if (button3_p() == 1) draw_sprite_ext(spr_poppup_hourglass, floor((clocktimer / 10) * 7), camerax() + 240, cameray() + 295, 2, 2, 0, c_white, 0.4); d3d_set_fog(false, c_white, 0, 0); }