Black Eternity
Lord of Eternity
- 57
- Posts
- 11
- Years
- Seen Jun 30, 2016
Okay the real fix has been found. To fix this is really simple.
Go to script section PokemonTrading
Go to line 199 and Change
To:
Thanks Yusshin.
Event (workaround) old post.
Go to script section PokemonTrading
Go to line 199 and Change
Code:
pbFadeOutInWithMusic(99999){
evo=PokemonTradeScene.new
evo.pbStartScreen(myPokemon,yourPokemon,$Trainer.name,opponent.name)
evo.pbTrade
evo.pbEndScreen
}
end
Code:
pbFadeOutInWithMusic(99999){
evo=PokemonTradeScene.new
evo.pbStartScreen(myPokemon,yourPokemon,$Trainer.name,opponent.name)
evo.pbTrade
evo.pbEndScreen
}
[COLOR="Red"]$Trainer.party[pokemonIndex]=yourPokemon[/COLOR]
end
Event (workaround) old post.
Spoiler:
Not really an Add-on but a do it yourself... didnt know where else to post if not here.
So I wanted to fix trades, and found out how to get it working properly through events. (no more returning pokemon)
Just take a look at the attached screenshot, it shows how to setup the basic trade.
In case you cannot see the attached, open event and add the following script:
p=PokeBattle_Pokemon.new(
PBSpecies::HAUNTER,
pbGetPokemon(1).level,$Trainer)
p.calcStats
pbStartTrade(
pbGet(1),p,"HaHa","Billy",1)
Add this script as well:
pbRemovePokemonAt(pbGet(1))
And last script:
pbAddPokemonSilent(
p,pbGet(1))
This should fix all issues with the trade.
1. Received pokemon gets level of traded pokemon
2. Trade evolutions work
3. Received pokemon gets trainer id info, and all that other cool stuff.
*I have not tested Item Trade evolution. You can modify the script yourself if you need to.
The only issue is the received pokemon is appended to the end of the party instead of taking the same place as the traded pokemon.
So I wanted to fix trades, and found out how to get it working properly through events. (no more returning pokemon)
Just take a look at the attached screenshot, it shows how to setup the basic trade.
In case you cannot see the attached, open event and add the following script:
Spoiler:
p=PokeBattle_Pokemon.new(
PBSpecies::HAUNTER,
pbGetPokemon(1).level,$Trainer)
p.calcStats
pbStartTrade(
pbGet(1),p,"HaHa","Billy",1)
Add this script as well:
Spoiler:
pbRemovePokemonAt(pbGet(1))
And last script:
Spoiler:
pbAddPokemonSilent(
p,pbGet(1))
This should fix all issues with the trade.
1. Received pokemon gets level of traded pokemon
2. Trade evolutions work
3. Received pokemon gets trainer id info, and all that other cool stuff.
*I have not tested Item Trade evolution. You can modify the script yourself if you need to.
The only issue is the received pokemon is appended to the end of the party instead of taking the same place as the traded pokemon.
Last edited: