Allgamesdude
The Creator of the WIP game, Pokémon Cosmic. Looki
- 283
- Posts
- 12
- Years
- Bay Area, California
- Seen Jun 28, 2016
Hi Just a quick question.
How would I set an unhatched egg's species to a variable? Like I have a guy in my game, who gives the player a random egg. It can contain one of five pokémon: Gible, Aron, Larvitar, Mareep, or Ralts. I've set it up in such a way so that the variable is controlled randomly from 1 to 5, and there are conditional branches for egg giving within the conditional branches for the variable. I want to check the unhatched species name, and set it to a variable, so that, only when that pokémon has been hatched, he will say: Oh \PN! Glad you came back. How's that (insert hatched pokémon's species name here) I gave you? How would I do this?
Pokegod7020
How would I set an unhatched egg's species to a variable? Like I have a guy in my game, who gives the player a random egg. It can contain one of five pokémon: Gible, Aron, Larvitar, Mareep, or Ralts. I've set it up in such a way so that the variable is controlled randomly from 1 to 5, and there are conditional branches for egg giving within the conditional branches for the variable. I want to check the unhatched species name, and set it to a variable, so that, only when that pokémon has been hatched, he will say: Oh \PN! Glad you came back. How's that (insert hatched pokémon's species name here) I gave you? How would I do this?
Pokegod7020