* prevent double-application of status contact abilities and switch out abilities
* use SwitchPhase for ForceSwitchOutAbAttr instead of switchOut()
* add tests for baton pass/uturn
* PR comments
* Update src/test/moves/baton_pass.test.ts
* add test for forced switch after mutual KO + revive
* tweak condition to fix uturn/baton pass
* improve docs
* style/typo nits from CR
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* CR feedback
* use doSelectPartyPokemon + rename
* int -> number
Co-authored-by: Adrian T. <68144167+torranx@users.noreply.github.com>
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Adrian T. <68144167+torranx@users.noreply.github.com>
* Update fonts
* Add locales/ja files
* Add some more files
* Add more ui stuff
* Fix failing typescript doc being generated
* Add the 4 ui handlers
* Add i18n.ts
* Try something in text.ts
* Fix some more errors
* Add ja type icons
* Add missed message keys
* Update src/plugins/i18n.ts
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
* Update src/ui/text.ts
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
* Update src/plugins/i18n.ts
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
* Apply TLs from xsn34kzx
Co-authored-by: Amani H. <109637146+xsn34kzx@users.noreply.github.com>
* Translate essential text (move, ability descriptions)
* Translate missed move/ability
* Translated battle.ts
- All phrases are taken from USUM script via Poké Corpus https://abcboy101.github.io/poke-corpus/
(I used the USUM script because it is in hiragana/katakana. If we decide to change these phrases to Kanji later, I will refer to the SV script to modify them again.)
-
* Update battle.ts
* Update battle.ts
* Update src/locales/ja/battle.ts
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
* Update battle.ts
---------
Co-authored-by: EnochG1 <enoch.jwsong@gmail.com>
Co-authored-by: Amani H. <109637146+xsn34kzx@users.noreply.github.com>
Co-authored-by: Chapybara-jp <charlie.beer@hotmail.com>
* implement gulp missile
* add tests
* change fly to dive
* show ability when reverting to normal form
* update ai score, tests
* update score condition
* adjust conditions, damage
* add underwater test
* update damage in test
* partial commit
* apply offset to all hybrid filter
* make dropDownType to public for offsetHybridFilter function
* refactoring defaultSettings to additional suport default cursor.
* fix to remember last cursor on hover mode
* remove unnecessary reset code
* fix sort reset function
* update resetFilter function
* update requested changes
* remove log msg
* fix checking default on sort
* refactoring hasDefaultValues function for readability
* fix lastdir bug
* [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>