mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-24 18:01:05 +00:00
df18dd885d
* Adjusts bug bite functionality when stealing from opponent with three berry pouches * Adjusts bug bite functionality when stealing from opponent with three berry pouches * Adjusts bug bite to remove berry pouch preservation on opponent berries * Remove Promise<Boolean> where unnecessary Leftover code removed from previous testing of the EatBerryAttr class. * Remove undefined check on chosenBerry Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com> * Update StealEatBerryAttr if-clause readability Decrementing inside of an if-clause removed for readability. Changed to check: if count is 1, then remove modifier. * Localization of StealEatBerryAttr battle message * Fixes berry incrementing after improper adjustment to readability * Fixes berry decrementing after improper adjustment to readability * Update battle.ts * Update src/locales/fr/battle.ts Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr> * Update battle.ts properly Incorrectly added localization in previous commit * Remove unnecessary space * Update src/locales/ko/battle.ts I do not have experience with Korean, so this may need other review. Co-authored-by: Enoch <enoch.jwsong@gmail.com> * Rewrites EatBerryAttr to combine with StealEatBerryAttr * Removes excess lines * Revert and refactor StealEatBerry and EatBerryAttr * Refactor for early returns instead of nesting --------- Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com> Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr> Co-authored-by: Enoch <enoch.jwsong@gmail.com>