* Fix super-niche edgecase with mega gengar and telekinesis
* Update TelekinesisTag doc comment
* Remove comment about mega gengar as this update fixes it
* Adding warning message for the maintenance; needs localization
* Update src/ui/title-ui-handler.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Update language codes
* Add French translation
Co-authored-by: Lugiad <2070109+Adri1@users.noreply.github.com>
* Fix variable typo in French translation
* Add `zh-CN`
Co-authored-by: Lugiad' <2070109+Adri1@users.noreply.github.com>
* Add `zh-TW`
Co-authored-by: Lugiad' <2070109+Adri1@users.noreply.github.com>
* Add `ja`
Co-authored-by: Lugiad' <2070109+Adri1@users.noreply.github.com>
* Add `es-ES`
Co-authored-by: Lugiad' <2070109+Adri1@users.noreply.github.com>
* Improve date localization
* Specify 12h/24h time format for each language
* Mark the temporary announcement code with comments
* Add `ko`
Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>
* Move announcement box 10 pixels to the left
* Update korean translation
Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>
* Added German translation
Co-authored-by: Lugiad' <2070109+Adri1@users.noreply.github.com>
* Removed some useless spaces in maintenance message
* Reduced announcement font size by 2 px
* Adding italian, fixing japanese
* Use English message as placeholder for pt-BR for now
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Lugiad <2070109+Adri1@users.noreply.github.com>
Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>
* Added new AbAttr that triggers whenever a pokemon leaves the field
* Use leaveField everywhere
* Changing order for PreSwitchOutAbAttr
* Don't clearEffects when catching in a mystery encounter
* Attempts to make new overrides for testing
* New options in overrides
* Implemented tests for Desolate Land
* Fixing instruct test to not read turnData of fainted mon
* Removed post faint clear weather
* Apply suggestions from code review
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Has_passive_ability override now turns off passives if set to "false", defaults to "null"
* Updating overrides type definitions
* Apply suggestions from code review
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Suggestions from review
* Fixed strings in suggestions
* Simplified function to throw balls in tests
* Added tsdocs to overrideHelper.ts
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* [Docs] Update `CREDITS.md`
Add Xavion, condense dev team categories
* Move Dakurei and OrangeRed to dev team list
* Move sirzento to dev team list
* Add Navori, move Sam
* Introducing catchableStarters in biomes.ts
* Introducing SpeciesTmMoves with a list of TM moves for each species
* speciesTmMoves now properly accounts for form-specific tms
* Removed argument from transverse function
* Adding types to passive abilities data structures
* Update tms.ts
* Update src/data/balance/passives.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
---------
Co-authored-by: damocleas <damocleas25@gmail.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* customPokemonData.types now accepts Type.UNKNOWN, ignores when determining type
* Changed test for clowning around encounter to look at getTypes() instead of directly accessing customData
* Simplifying logic for fusions when overrides are involved, introducing new tests in pokemon.test.ts
* Renamed overrideTypes to customTypes to avoid confusion with override
* pokemon.getType() properly recognizes Normal secondary type
* Added effectiveness test for ghost on normal
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* customPokemonData.types now accepts Type.UNKNOWN, ignores when determining type
* Changed test for clowning around encounter to look at getTypes() instead of directly accessing customData
* Simplifying logic for fusions when overrides are involved, introducing new tests in pokemon.test.ts
* Fixed typo
* Fixed another typo
* Renamed overrideTypes to customTypes to avoid confusion with override
* Fixing comments
* Add support for form and evolution specific passives
* Update src/data/pokemon-species.ts
---------
Co-authored-by: Amani H. <109637146+xsn34kzx@users.noreply.github.com>
Co-authored-by: damocleas <damocleas25@gmail.com>
* Replace Title BGM with custom BGM by Firel
Also added descriptions for the battle scene and arena's getBgmLoopPoint methods.
---------
Co-authored-by: damocleas <damocleas25@gmail.com>