- remove and disable `eslint-plugin-import` due to not supporting `eslint@9` yet (can be reactivated later)
- bump `eslint` to `9.7.0`.
- bump `@typescript-eslint/eslint-plugin` to `8.0.0-alpha.54`
- update `@typescript-eslint/parser` to `8.0.0-alpha.54`
- update `typescript-eslint` to `8.0.0-alpha.54`
- update `vitest` to `2.0.4`
- update `@vitest/coverage-istanbul` to `2.0.4`
* Changed PokemonSpecies hasVariants function to also include for pokemon with differend forms
* Added check to prevent illegal shiny variants from happening if the egg rolls the gacha legendary and has no variants
* Simplified variant check. Fixed spelling on unit test
* Bugfix for legacy eggs
* Removed formIndex variable
* Changed unit test
* Added new line to unit test function
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
---------
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* More work
* More work
* Should be finished
* Fixed an error in checking target
* Moved white herb effect to StatChangePhase, 50% chance of consumption
* Added graphics for White Herb
* Balance and documentation
* Add localization entry for White Herb apply msg
* Add new keys to other localization files
* German translations
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* Update item sprite atlas
* Redo item atlas
* Remove whitespace in move.ts
* Moved decrement outside conditional
* Fix item atlas
---------
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* fix remove pokemon menu
* fix dropdown all is not changing bug
* fix bug when go down with no starter on start button
* fix starter corsor bug on deletion. out of screen cursor bug
* fix challenge log
* fix lint error
* [Fix][Sprite] Politoed Back Sprites
Retrieved first version from history.
Rearranged frames to make jump a little less floaty.
Set same anim length for all variations.
Json is identical for all variations.
Spritesheet frame position is identical for all variations.
Trimmed the frame of extra space
Reduced file size of spritesheets and JSON due to less unique frames needed.
* [Fix][Sprite] Politoed Back Sprites - Reformatted JSON to texturepacker standard
Reformatted json.
* Fixed OHKO moves being affected by accuracy and evasion battle stats
* Added related tests for Fissure, unskipped related test for Hustle
* Tweaked fissure accuracy and evasion tests to use spyOn() for getAccuracyMultiplier() as per feedback
* Fixed accuracy test for Fissure
* Adjust how counter attacks target to account for uturn/voltswitch
* Creates move flag for metal burst/comeuppance to redirect in some cases
* Remove debug printing
* Bit shifts the redirect counter flag
* Removes extraneous class from prior testing
* Remove vitest timestamp file that was accidentally added
* Adds frenzyMissFunc trigger on NO_EFFECT hit result
* Refactors FrenzyAttr to properly lapse tags each turn and remove tags on disrupt
* Makes comment on CONFUSED tag clearer
* Changes all integer usages to number in battler-tags
* Update getBattlerTag function to use number instead of integer
* Option to view Summary before adding new Pokemon to party
* Fixed issues described by HopsWas
* Adjusted makeRoomForConfirmUi to improve window spacing
* Fixed ESLint issue + addressed OrangeRed review
* Fixed Github pages issue
* Removed duplicate unshiftPhase
* Fixed phase order
* Don't start from beginning of catch function
* Option to view Summary before adding new Pokemon to party
* Fixed issues described by HopsWas
* Adjusted makeRoomForConfirmUi to improve window spacing
* Fixed Github pages issue
* Fixed phase order
* Quick fix
* This should fix the summaryOption feature without bugging confirm-ui-handler in other cases
* Revert "Merge remote-tracking branch 'origin/summaryOption1' into summaryOption1"
This reverts commit ea7d0ce59e, reversing
changes made to 4c565958da.
* Added a better conditional that reflects its source and purpose
---------
Co-authored-by: Frutescens <info@laptop>
Co-authored-by: AJ Fontaine <fontbane@gmail.com>
* update images for new UI
* add updated starter UI with filter code
* update starter-select test code
* update win filter condition to pass test
* remove unnecessary console log
* update test code to match current filter UI
* merge update
* apply bugfix & chrry-pick small issues fix which are handled beta branch
* resolve conflicts
* fix lint errors
* Fixed a bug where the target location for escaping using the left and right buttons on the starter button did not account for scrolling
* update filter bar label color change when activated
* fix lint error
* fix lint
* fix octolock.text.ts. it looks override import error. idk why it is happend in this PR. but it looks ok now
* add passive dropdown in unlocks filter
* fix lint
* fix double button sound bug. refactoring genSpecies -> allSpecies, starterContainers -> starterContainer which are remove unnecessary generation axis
* optimize updateStarterValueLabel function which is bottleneck of UI update latency
* apply translation of gen filter label. fix lint
* add # candies sort option
* merge beta
* resolve confilcts
* fix offset of starter and start cursor
* make compatible with starter UI
* add missing feature
* add images for legacy UI. adjust the position and size of the starterContainerWindow
* add test for rollout move
Co-authored-by: Zach Day <zachdayz@gmail.com>
* fix tests still using `SINGLE_BATTLE_OVERRIDE`
---------
Co-authored-by: Zach Day <zachdayz@gmail.com>
* Fix Thousand Arrows not hitting through Magnet Rise
* Add integration test for Thousand Arrows vs. Magnet Rise
* ESLint
* Remove unnecessary checks in integration tests
* [Sprite] Mega Latis using opposite eyes
Taken from counterpart Lati
* [Sprite] Update Mega Latios eyes
* [Sprite] Update Mega Latias eyes
* [Sprite] Mega Latias duplicated palette value
Colour taken from non-exp Mega Latias
* Initial commits with logic to remove starters if they're in your party. Still need to make it work so that the starter selection cursor disappears when a starter is unselected
* Updated code to be able to remove pokemon, including the side icons and cursor locations
* Fixed popstarter to work with any index
* Updating code to allow navigation of starter icons
* Updating code to allow navigation of party starter icons
* Updaing navigation of party icons
* Updated logic to fix incorrect icon in top left of pokemon options when navigating the starter icons
* Updated logic to include the ability to navigate and interact with the starter icons
* Forgot to push the actual starter-select-ui-handler. Might be a bit hard to test things out without that :)
* Removed some unnecessary comments
* Fixed small bug with not being able to move from the far right to the gen selection when the starter icons were empty
* Updated code to not be using a method to generate the party menu and made it more like it used to be. This should help with merge conflicts in the future
* I committed the merged version but forgot to make the starter-select-ui-handler staged after making the changes
* Accidentally broke challenges that had a specific typing requirement with last commit. This should fix it
* Changed how navigation worked based on popular demand
* Fixed code review comments
* Accidentally left in a whole block of commented code. Intentionally removing it now
* Started adding logic for mono type challenge runs to not break the game if the user tries to start a run with an invalid party
* Updated the text to say the party is invalid
* Updated logic to make invalid pokemon greyed out when no valid pokemon are in your party
* Added comments on some code
* Updated locales to include the key for trying to start with invalid parties during a challenge
* Fixed some code from a bad merge where a challenge related param that was previously a number now needed to be a boolean and wasn't
* Removed comment as per review
The removeCookie function was updated to use the Max-Age=-1 attribute instead of setting the Expires header to a past date. This change ensures that the cookie is immediately expired when removed, preventing any potential login loops. Additionally, a legacy cookie without a domain was added to handle older cookies. This commit resolves the unnecessary cookie setting in the removeCookie function.
Fixed the broken sprites in the item atlas, and fixed the Baton Pass achievement to use the Baton item now (it was broken by the Leek being renamed). Also resized the Baton item image to 32*32, like all the other items.