private IEnumerable <bool> setup_aoe() { while (Scrolling) { yield return(false); } Battler_1_Id = Global.game_system.Battler_1_Id; Game_Unit battler_1 = Units[Battler_1_Id]; Game_Unit battler_2; Aoe_Targets = Global.game_system.Aoe_Targets; set_aoe_data(Battler_1_Id, Aoe_Targets); Attack_Id = 0; Global.game_system.Battler_1_Id = -1; Global.game_system.Aoe_Targets = new List <int>(); // Turns map sprites toward each other if (In_Staff_Use) { battler_1.sprite_moving = false; battler_1.frame = 0; battler_1.facing = 6; } else { // this facing should already be set to get the aiming right // actually this is more confusing //Yeti battler_1.face(Units[Aoe_Targets[0]]); battler_1.frame = 0; foreach (int battler_2_id in Aoe_Targets) { battler_2 = Units[battler_2_id]; battler_2.face(battler_1); battler_2.frame = 0; } } yield return(false); }