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

@@ -6,7 +6,7 @@
module Settings
# The version of your game. It has to adhere to the MAJOR.MINOR.PATCH format.
GAME_VERSION = '5.0.0'
GAME_VERSION_NUMBER = "5.0.33 - beta"
GAME_VERSION_NUMBER = "5.0.34 - beta"
POKERADAR_LIGHT_ANIMATION_RED_ID = 17
POKERADAR_LIGHT_ANIMATION_GREEN_ID = 18

View File

@@ -69,7 +69,6 @@ module Game
item_id = bagElement[0]
item_qt = bagElement[1]
item = GameData::Item.get(item_id)
p item
if !item.is_key_item? && !item.is_HM?
new_storage.pbStoreItem(item, 1)
end

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