Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Text pName;
- public Text eName;
- public Text pAttack;
- public Text eAttack;
- // Use this for initialization
- void Start()
- {
- player = PokemonFactory.CreateRandom();
- enemy = PokemonFactory.CreateRandom();
- pName.text = "";
- eName.text = "";
- pAttack.text = "";
- eAttack.text = "";
- }
- pAttack.text = player.name + " uses " + player.moves[0].name + ". " + enemy.name + " loses " + pkmandamage + " HP";
- eAttack.text = enemy.name + " uses " + enemy.moves[0].name + ". " + player.name + " loses " + pkmandamage + " HP";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement