// Update is called once per frame void Update() { switch (turn) { case 0: player.DefPlayer(); break; case 2: girl.DefGirl(); break; case 3: GirlTurn(); break; case 5: enemy.DefEnemy(); break; case 6: Enemy1Turn(); break; case 8: player.TurnEnd(); girl.TurnEnd();; turn = 0; break; } EndTurn(); }