if (act == 0) { var o; if (attack == 0) { if (side == 1) o = instance_create_depth(obj_heart.x + 400, 208, obj_battlecontroller.depth + 1, obj_flowery_runner); else o = instance_create_depth(obj_heart.x + 400, 120, obj_battlecontroller.depth + 1, obj_flowery_runner); o.action = 0.5; } else if (attack == 1) { if (side == 1) o = instance_create_depth(obj_heart.x - 600, 208, obj_battlecontroller.depth + 1, obj_flowery_runner); else o = instance_create_depth(obj_heart.x - 600, 120, obj_battlecontroller.depth + 1, obj_flowery_runner); } o.image_yscale = side * 2; o.ind = current; if (current == 5) attack = 0; else attack = 0; current += 1; side = -side; act = 1; if (current == 5) act = 3; } if (act == 2) act = 0; if (act == 10) { if (!i_ex(obj_flowery_runner)) { global.turntimer = 45; instance_destroy(); } }