- 226
- Posts
- 9
- Years
- Seen Feb 20, 2025
So what I am trying to do is creating an event that select the first Pokemon from the player's party and send it to the PC.
I tried several things after a quick search on the forums & the wiki:
1)
$Trainer.pokemonParty[0]=$game_variables[58]
pbStorePokemon($game_variables[58])
It simply does nothing.
2)
$Trainer.pokemonParty[0]=poke
pbStorePokemon(poke)
It causes the game to crash.
3)
$Trainer.pokemonParty[0]=$game_variables[58]
$PokemonStorage[0][0]=$game_variables[58]
It works, but it replaces the already existing Pokemon in the box.
If someone could think of a solution, it would help... Thanks!
I tried several things after a quick search on the forums & the wiki:
1)
$Trainer.pokemonParty[0]=$game_variables[58]
pbStorePokemon($game_variables[58])
It simply does nothing.
2)
$Trainer.pokemonParty[0]=poke
pbStorePokemon(poke)
It causes the game to crash.
3)
$Trainer.pokemonParty[0]=$game_variables[58]
$PokemonStorage[0][0]=$game_variables[58]
It works, but it replaces the already existing Pokemon in the box.
If someone could think of a solution, it would help... Thanks!