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

Handle Natural Gift move #75

Closed
taylorhansen opened this issue Jul 16, 2019 · 0 comments
Closed

Handle Natural Gift move #75

taylorhansen opened this issue Jul 16, 2019 · 0 comments
Assignees
Labels
feature New addition to functionality state tracker Has to do with the state tracker

Comments

@taylorhansen
Copy link
Owner

taylorhansen commented Jul 16, 2019

When used, this move silently consumes a berry if it succeeds (setting Pokemon#lastItem for Recycle (#30)), but if it fails (#74), it can be assumed that the user doesn't have a berry. While not nearly as common, these corner cases should be handled.

Add a dex object that provides a set of each berry that can be used, along with an object describing its effects and Natural Gift effect.

@taylorhansen taylorhansen added feature New addition to functionality state tracker Has to do with the state tracker labels Jul 16, 2019
@taylorhansen taylorhansen added this to To do in State Tracker (gen4) via automation Jul 16, 2019
@taylorhansen taylorhansen self-assigned this Aug 12, 2019
@taylorhansen taylorhansen moved this from To do to In progress in State Tracker (gen4) Aug 12, 2019
State Tracker (gen4) automation moved this from In progress to Done Aug 12, 2019
taylorhansen added a commit that referenced this issue Aug 12, 2019
Close #75.

Allow Pokemon#removeItem() to set #lastItem even if the consumed item is
unknown.

Add Natural Gift item data to dex.ts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New addition to functionality state tracker Has to do with the state tracker
Projects
No open projects
Development

No branches or pull requests

1 participant