* [filter-ui] Improvements to starter selection and filtering user experience
Original messages of 14 squashed commits:
* final cleanup and code comments
* automatically go to the list of starters when closing filters
* FilterBar cleanup. Associate each DropDown with an id and access them through it
* reset all filters when creating a new game. Set different default gen filter for challenge mode
* start of code cleanup plus some documentation
* fix filter bar label coloring for legacy theme
* change generation filter default values to be all generations selected
* fix navigation between team and filtered Pokemon
* add missing localisation keys
* first pass at improving navigation between the UI elements
* have each filter group handle its default values instead of the filter bar
* revamp dropdown class. add possibility to display both a sprite and text label at the same time
* groundwork to be able to move around starter ui elements more easily
* add hybrid filtering type for Gen and Type filters, clean up implementation for radial type
* [loc][ko][zh] localisation of starter ui filters for Chinese and Korean
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* [loc][de] German translations for the filters
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
---------
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* [Hotfix] Fix interactions of some moves not changing types (#3183)
* [Hotfix] Fix wild spawns not having their HA (#3190)
* Add evil admin placeholder images
* Add admin names to locale files
* Add evil team admin dialogue
* Added new sprites
* Make simple admin trainer pools
* Add Korean localization
* Increase evil boss money multiplier from 2.25 to 2.5
---------
Co-authored-by: Adrian T. <68144167+torranx@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* add confirmExit popup
* add translation entries for `confirmExit`
* Update src/ui/starter-select-ui-handler.ts
Co-authored-by: Adrian T. <68144167+torranx@users.noreply.github.com>
---------
Co-authored-by: Adrian T. <68144167+torranx@users.noreply.github.com>
* added revive function in gamaManager & a double-battle test
* extended timeout of double battle test referencing to battle test
* less code, deleted unused param, clearer description of test
* add back dbond to move in test
* more straight forward testing
* reverse back override
* polish double battle test a bit
* [Hotfix] Fix interactions of some moves not changing types (#3183)
* [Hotfix] Fix wild spawns not having their HA (#3190)
* Fix some cases of wrong affixes
* There are two trainer send out messages
---------
Co-authored-by: Adrian T. <68144167+torranx@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Create enemy-ai.md
* Finish enemy-ai doc
* Fix outspeed logic + document enemy command functions
* Fix errors in target score formula
* Add example section and implementation guidelines
* Add info on matchup score range
* Fix GitHub rendering issues (maybe)
* Add types to function comments
* Trying to fix GitHub rendering issues again
* Use images for "cases" equations instead
Mirror of PR #1333. Thanks to 0zuzu (https://github.com/0zuzu) for providing the original fix.
Co-authored-by: 0zuzu <63069680+0zuzu@users.noreply.github.com>
* Basic version of code for updating party ui name to be red when at max stack
* Updated text to be red when pokemon is at max stack
* Removed some comments and fixed a private property issue
* Fixed a const instead of a let statement, and added some comments on the logic
* Accidentally broke last commit. Intentionally fixed this commit
* Updated the code to not have red text for pokemon name as that was too confusing with fainted pokemon. Now the party slot has a descriptor label which can be used to set the text to show if the pokemon is able/not able to receive the transfer items
* Updated transfer logic to use new isTransferrable property instead of getTransferrable method and merged with latest