* #1326: add touchstart event to dpadCenter to prevent zoom behavior
* #1326: improve variable naming for preventElementZoom
* #1326: change selector to "#dpad"
instead of just "#dpadCenter"
* initial implementation
* updated logic
* reverse retTint
* added candy overlays and colors
* added settings and minor fixes
* german changes
* logic fix
* german changes pt2
* german changes pt3
* setting name changed
* Update battle-scene.ts
* initial animation implementation
* minor fixes
* main compatibility
* minor fix
* logic for animations
* eslint fixes
* final generation logic
* Pause Animation when Selected or Purchased
* Disable Indicator if not Root Species
* Add to Reload and Add Anchor
* Fix Animation on Change
* Fix Icon on Change
* Code Cleanup
* fix
---------
Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
* Partially implement Cheek Pouch ability
* add cheek pouch trigger to EatBerryAttr class
* Partially implement Cheek Pouch ability
* add cheek pouch trigger to EatBerryAttr class
* add cheek pouch trigger to new berry phase, remove partial tag
* run auto formatter because I forgot
* hotfix berries triggering before status effects
* Revert "hotfix berries triggering before status effects"
This reverts commit 3fbbc9a165.
* add partial tags to abilities that would be blocked by Heal Block
* Implemented Zero-To-Hero
* Zero to Hero documentation and form reset on summon
* Zero to Hero: form reset on biome/trainer
* Updated documentation on PreSwitchOutFormChangeAbAttr apply
* Faint bypass on canApplyAbility
* revert zygarde
* zero to hero post-merge
* Add setting to change money format
This setting can currently be set either on "normal" or "abbreviated". "normal" will show all the numbers, while "abbreviated" will abbreviate to the most significant numbers and use a suffix to show the power-10.
A new enum has been added for MoneyFormat as well.
* Update src/battle-scene.ts
Co-authored-by: Franck TROUILLEZ <57403591+francktrouillez@users.noreply.github.com>
---------
Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
* Changed How is local is checked and how serverURL is build to prevent errros in offline mode
* Added window.location.hostname === ''; back as a check
* Removed any line breaks in the isLocal Condition
* 3rd time is the charme
* Update utils.ts
---------
Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
Also now only the current language type image is loaded. If it doesnt exist for a language it will load the english one as a fallback
Tested with all lanugages
* Update i18n.ts
* Update config.ts
* Update game-stats-ui-handler.ts
* Add files via upload
* Cleanup code
+ Modification of the interface to manage labels dynamically (without this, the language change was not reflected until the page was completely refreshed)
* Apply ESLint after rebase on upstream/main
* Remove useless initStatsKeys
* Adds german localization
+ Changes font size in german only (because otherwise it overflows :D)
* Adds an additional method of formatting large numbers to make it a little more pleasant to read
+ The other was a little too barbaric in what it truncated, but is still useful in certain cases
+ Use abbreviations from 10^0 to 10^33
* Use of the new 'formatFancyLargeNumber' method to display money owned in combat and the highest sum of money obtained in statistics
---------
Co-authored-by: Lugiad <adrien.grivel@hotmail.fr>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* Started Dialogue Loc. This is very much WIP
* Done with the trainer dialogue except the rival(s). And the special dialogue...
* Added Rival Dialogue
* Added final boss and ending dialogue
* Added Dialogue to all languages (just copied the english file). And updates the config.ts
* Added chinese splash
* Lint
* Added the new dialogue for the galar elite 4
* The dobule dialogue is now also localizable (also added dialogue localization files at all to chinese TW
* Added german dialouge for the named doubles
* Added Endboss translation for german
* Added rival dialogue in german (and yes i checked that every of them fits)
* Dialogue for trainer classes (As good as possible since the english text at some parts doesnt make a lot of sense)
* Start Gym Leaders
* Finished Kanto Gym Leaders
(Added missing dialogue to all other languages)
* Hoenn Gym Leaders
* Some more
* The Rest
* Marshal was missing something
* Partial French translation to dialogue.ts
* Added gender specific titles for elite 4, gym leaders and champs
* Readded import that was removed by a merge
* The dialogue can now be localized based on the players gender (male or female). unset uses the male dialogue. Can be easily adopted when we add non binary options later
---------
Co-authored-by: Lugiad <adrien.grivel@hotmail.fr>