Пример #1
0
 void ResolveEnemyIntroState()
 {
     if (battleControl.battleType == BattleType.Trainer)
     {
         battleDialogue.AddToMessages(string.Format("{0} {1} wants to fight!", EnemyDataHolder.EnemyTrainer.trainerType.ToString().Replace('_', ' '), EnemyDataHolder.EnemyTrainer.TrainerName));
     }
     else
     {
         battleDialogue.AddToMessages(string.Format("A wild {0} appeared!", battleControl.enemyMon.monName));
     }
     battleControl.SetEnemyVisibility(true);
     soundManager.PlayCry(battleControl.enemyMon.monName);
     uIEventHandler.continueMessages.Invoke();
     AdvanceState(TurnState.PlayerIntro);
 }