Special evolutions #5
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pokebedrock/pokebedrock-showdown!5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment
@coderabbitai helpto get the list of available commands and usage tips.Bug: Cud Chew state persists incorrectly across switches
The Cud Chew ability refactor stores
berryandcounterinthis.effectState(which isabilityState) instead of using a volatile. Unlike volatiles,abilityStateis not cleared when a Pokemon switches out—onlyabilityState.startedis deleted inclearVolatile. This causes the pending berry effect to incorrectly persist across switches. If a Pokemon eats a berry, switches out before the second activation, and later switches back in, the berry will still trigger after the residual countdown completes, which differs from the original behavior where the volatile was properly cleared on switch-out.Pull request closed