minor fixes

This commit is contained in:
infinitefusion
2022-09-24 11:33:38 -04:00
parent 20e2b54ed8
commit 64adf81d6f
8 changed files with 6 additions and 3 deletions

View File

@@ -62,7 +62,11 @@ def pbWonderTrade(lvl, except = [], except2 = [], premiumWonderTrade = true)
(poke.level >= lvl) && !(except.include?(poke.species)) # None under "lvl", no exceptions.
})
poke = $Trainer.party[pbGet(1)]
$PokemonBag.pbStoreItem(poke.item, 1) if poke.item != nil
if !pbConfirmMessage(_INTL("Trade {1} away?",poke.name))
return
end
$PokemonBag.pbStoreItem(poke.item, 1) if poke.item != nil
myPoke = poke.species
chosenBST = calcBaseStatsSum(myPoke)
# The following excecption fields are for hardcoding the blacklisted pokemon