• 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.

Pokeballs wasted when PC & party is full?

kvagram

Lead coder, Generation 0
40
Posts
9
Years
  • Hi, I have been doing some edits on how pokemon are stored when they are captured.
    It involves a limited local storage rather than magically teleporting a pokemon to the magical storage system.

    While testing this, I came over something that I think is a bug.
    When using a pokeball while in battle, and the storage is full - the ball is still consumed, even though the warning is shown, and thus the Itemhandeler returns false, meaning that the ball is not supposed to be consumed.

    I re-wrote the Itemhandeler for the pokeballs to use my new feature, and seeing as the warning shows up, and the ball is not thrown, then it cannot be any problems with my edit.

    Any idea for why the ball is still consumed?
    Is it supposed to be?
    How can I fix it?

    edited item-handeler for pokeballs:
    Spoiler:
     
    Back
    Top