using System.Collections; using System.Collections.Generic; using UnityEngine; public class PokemonEntity : MonoBehaviour { public static bool playerTurn = true; public Pokemon[] Pokemon = new Pokemon[1]; private PokemonDatabase pokemonDatabase; private void Start() { pokemonDatabase = GameObject.Find("Database").GetComponent(); } void attack() { int health = 100; int damage = 5; //damage = health -= damage; } }