* Revert "[Hotfix] Adding warning message for the maintenance (#5263)"
This reverts commit c88c9337dd7be5dc39cb6aa3c5a957124e9253a1.
* Update version to 1.5.4
* 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>
* Refactor timed event changes
* Use getWeather function
* Add mystery encounter tier change/disabling to timed events
* Event luck boost, event encounter helper function
* Events without shiny boost shouldn't give shiny charm
* globalScene -> this in battle scene class
* Change event pools
* Adding extensions of the SpeciesEvolutionCondition class
* Commented out logs
* Introducing descriptions for form changes; new class SpeciesFormChangeAbilityTrigger which is functionally identical to SpeciesFormChangeManualTrigger but has appropriate description
* Fix in description of compound trigger
* Commenting out logs
* Small fixes, clearing logs, implementing suggestions
* Apply suggestions from code review
Trigger functions are declared with no arguments when not needed.
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Removed exports for new classes
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: damocleas <damocleas25@gmail.com>
* Implement Flip Stat Challange
* Add Achivement
* Update challenge code to block other challenges.
* Add Achievment Image
* Add FLIP_STAT to enum ChallengeType
* Fix comment for FlipStatChallenge
* Add applyFlipStat override to Challenge Class, and add override inside of FlipStatsChallenge
* Add ChallengeType.FLIP_STAT case to export function applyChallenges (Master Switch Function)
* Properly block other challange achviements
* Change the way achivements are blocked by challenge modes to a more flexible method
* Adjust the image for Flip Stat, and add an additional achivement for completing both Flip and Inverse
* Fix FLIP_INVERSE achivement to check ALL challanges are met, not SOME
* Remove outdated image
* Fix FlipStat applyChallenges inside calculateBaseStats
* Update locales
---------
Co-authored-by: Scooom <na@na.na>
Co-authored-by: Scooom <jerry@hosterslice.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Add destroy function to ui handlers
* Implement destroy() for StarterSelectUiHandler
* Update battlescene to free memory when resetting
* Document destroy for starter select
---------
Co-authored-by: damocleas <damocleas25@gmail.com>