public IEnumerator SetupBattle() { playerUnit.Setup(); enemyUnit.Setup(); enemyHud.SetHudData(enemyUnit.Pokemon); playerHud.SetHudData(playerUnit.Pokemon); dialogBox.setMoveNames(playerUnit.Pokemon.Moves); yield return(StartCoroutine(dialogBox.TypeDialog($"A wild {enemyUnit.Pokemon.PokemonBase.name} has appeared."))); yield return(new WaitForSeconds(1f)); PlayerAction(); }