// this is a function used to give the battle UI the taget monster // if the battle mode is training then it will just set the target to the training dummy // if the battle mode is an actual battle then it will use the int given to pick the target public void SetMonsterTarget(int TargetNumber) { TargetMonsterNumber = TargetNumber; if (CurrentState == BattleState.Training) { BattleUI.SetEnemySingleTarget(TrainingDummy); } else { AIBattleUI.SetEnemySingleTarget(EnemyMonsters[TargetNumber]); } }