• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Error] Can't check on chosen pokemon's level for trade

Bigpokemonfan0

DBZFan13
  • 81
    Posts
    14
    Years
    • Seen Jun 29, 2025
    I try to make a wonder trade hub demo, so people could make this into a script.

    I don't want to receive evolved Pokemon underleveled such as a level 14 Furret.

    I kept trying to trade a pokemon not overleveled.

    pbChooseTradablePokemon(1, 2, { if |pkmn| pkmn.hasType?(:NORMAL) && pkmn.level >= 1 && pkmn.level <= 13 } )

    This script condition should not require '=>' for this to work. If a chosen Pokemon is level 14, then you could get Staravia instead of Starly in return.

    Ex.
    pbChooseTradablePokemon(1, 2, { if |pkmn| pkmn.hasType?(:NORMAL) && pkmn.level >= 14 && pkmn.level <= 33 } )

    A script for this is only a request once I complete this demo. Black Eternity is offline for years and that script is outdated.

    Using 'proc' might load the party ui twice.
     
    Last edited:
    Back
    Top