• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.

[Scripting Question] Pokemon storage when party full

772
Posts
13
Years
    • UK
    • Seen May 7, 2024
    Can anyone point me to the piece of code that checks that the party is full when catching & storing pokemon. I can find the storing part but the actually party size check i can't find
     
    971
    Posts
    7
    Years
    • Age 21
    • Seen Nov 28, 2022
    Code:
    if $Trainer.party.size > 6
    I do believe this check is handled in the method that stores the Pokémon itself.
     
    772
    Posts
    13
    Years
    • UK
    • Seen May 7, 2024
    I've found it in the end, i was looking in the correct method - pbStorePokemon - but in the wrong script. i was looking in PokeBattle_Battle when its in PokeBattle_BattlePeer
     
    Back
    Top