Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random pokemon pickup items as well #78

Open
Gabbyxo97 opened this issue Feb 20, 2021 · 1 comment
Open

Random pokemon pickup items as well #78

Gabbyxo97 opened this issue Feb 20, 2021 · 1 comment

Comments

@Gabbyxo97
Copy link

Normally in Pokémon only a Pokémon with pickup can pickup items. Though I've noticed - and I'm pretty sure this is only when a pickup Pokémon is in the party - other Pokémon without the ability sometimes pick up items as well which shouldn't happen.

@ThePyxal
Copy link

To fix the bug of pickup activating for every pokemon in your party that comes after the pickup user, in general_bs_commands.c, add this at line 4785:

                break;
            
            default:
                chance = 0;
                item = ITEM_NONE;

Hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants