Commit Graph

2877 Commits

Author SHA1 Message Date
tommy030314 6d1fbf92cc
[Localization][ko] fix concert typo (#2109) 2024-06-11 18:54:52 -04:00
Lugiad fb8cf781a5
[Localization] Correction to French ability.ts (#2102) 2024-06-11 16:22:08 -04:00
Tempoanon 64c0f2edb9
[Bug] Fix base stat totals of G-max Alcremie and Hisui mons (#2097) 2024-06-11 14:59:08 -04:00
Greenlamp2 a2d0a9ece3
[CI] Add GitHub Action to Run Silent Tests on PRs to Main (#2100)
* github action to run tests in PR

* fix the CI name

* fix comment

* fix divergent tests + cut some useless long test + fix versions
2024-06-11 19:13:02 +02:00
Xavion3 2aa6ec5031
Fix english names of monotype achievements (#2078) 2024-06-12 02:59:15 +10:00
Ei a0a42ed2ec
[Localization] Added zh_TW translations for things that already have zh_CN translations (Dialogues, Challenges, Trainers) (#2099)
* Added a newer version of zh_TW dialogue translations

* Fixed several double battle dialogues in zh_TW

* Added missing trainers.ts zh_TW translations

* Added missing challenge.ts zh_TW translations
2024-06-11 12:40:55 -04:00
Opaque02 576bcf7bdb
[Bug] Fixed a bug where genderless and non shiny pokemon could show the new gender or shiny indicator (#2090) 2024-06-11 11:34:11 -04:00
sodam 00aaeb5947
[Localization][ko] #1761 Korean trainer dialogue (villain) (#2091)
* localized villain's dialogue

* Apply suggestions from code review

* Update src/locales/ko/dialogue.ts

Co-authored-by: returntoice <dieandbecome@gmail.com>

---------

Co-authored-by: returntoice <dieandbecome@gmail.com>
2024-06-11 11:15:37 -04:00
Greenlamp2 1263ff3af2
fix opponent triggering abilities each turn (#2094) 2024-06-11 17:13:40 +02:00
Ei 80eb86a76c
[Localization][zh_tw] Fixed mistranslation of 只 in traditional chinese (#2092) 2024-06-11 10:20:24 -04:00
Greenlamp2 0faccad49e
[Bug Fix] Corrected PostSummonPhase Trigger Timing for Accurate Stat Changes (#2057)
* fix postSummonPhase when opponent does not summon and fix the statsChange from push to unshift

* added switch pokemon helper method

* added on switch tests for intimidate

* fix test by overriding passive in tests

* remove a test not needed

* cleanup imports
2024-06-11 16:12:46 +02:00
innerthunder 670ea01cb4
[Ability] Implement Treasures of Ruin Abilities (#1637)
* Implement Treasures of Ruin abilities

* Reformat documentation

---------

Co-authored-by: Temps Ray <temps.ray@gmail.com>
2024-06-11 09:37:10 -04:00
sodam 1a6b411987
[Localization] #1761 Korean trainer dialogue (the other unnamed trainers) (#2084)
* translated the other (by @malloc3141)

* Apply suggestions from code review

* Update src/locales/ko/dialogue.ts

Co-authored-by: returntoice <dieandbecome@gmail.com>

---------

Co-authored-by: returntoice <dieandbecome@gmail.com>
2024-06-11 09:34:53 -04:00
Satanemme ac69baff3a
[Localization][it] naive typo fix (was ingenuaa is now ingenua) (#2088) 2024-06-11 09:29:01 -04:00
Yonmaru40 dbd9908974
[Localization] new proofread zh_cn achv names updated (#2082)
* Update achv.ts

* mega → 超级 according to offical chinese texts

* fix details
2024-06-11 09:20:05 -04:00
EmberCM 4c5e0ccc15
[QoL] Remove Map item from being the shop on waves 180-200 (#2012)
* Remove Map item from being the shop on waves 190-200

* Remove Map from wave 180+
2024-06-11 12:42:23 +02:00
SnowCharm 2a6ef08cff
[Localization] Improve zh_CN Localization Content (#2075)
* fix zh_CN modifier-type locales

* update zh_CN/achv.ts
2024-06-11 01:32:56 -04:00
40chyan f45ad124b2
[Localization] translation of zh_cn dialogues (#1903)
* Update dialogue.ts

* Update text.ts

* Update dialogue.ts

* Update dialogue.ts

* ignore linting in zh_cn

* try renaming the .eslintrc

* ignoring lint did not work

* lint fix by replacing ` with "

* change eternaus dialogue string back to ` to prevent error

* indentation fixed

---------

Co-authored-by: Temps Ray <temps.ray@gmail.com>
2024-06-11 01:06:39 -04:00
snnh 40e342d806
[Localization] Improve Simplified Chinese Localization Content ( achv.ts ) (#2071)
* Update achv.ts

* Update achv.ts
2024-06-11 00:49:55 -04:00
40chyan 689ec47bde
[Localization] fixing typo in zh_cn challenge.ts (#2070)
* Update challenges.ts fixing typo

* another typo
2024-06-11 00:45:00 -04:00
Matthew Olker 8c596c6f33 update zh font to unicode to fit both 2024-06-10 23:21:19 -04:00
Matthew Olker 073c8aaf01 censor glitch hotfix 2024-06-10 22:51:54 -04:00
Greenlamp2 725df33600
[Bug] Restrict Menu Access to Specific Game Modes + Gamepad Start Button in Select-Starter Menu (#2064)
* fix softlock + start run on button menu for gamepad on starter_select

* chop chop even more mode to the menu whitelist
2024-06-10 21:18:07 -05:00
Matthew 8d75670a81
[UI] egg and starter formatting (#2043)
* egg and starter formatting

* localization update

* localization update

* fix local voucher test

* pr comments

* pr comments

* account for new font
2024-06-10 21:58:01 -04:00
snnh f6a6c2da1b
[Localization] Improve Simplified Chinese Localization Content (#2067)
* Update modifier-type.ts

* Update save-slot-select-ui-handler.ts

* Update party-ui-handler.ts

* Update party-ui-handler.ts
2024-06-10 21:55:03 -04:00
Greenlamp2 8af02ff2dc
deleted palete unused in masterlist to fix tests (#2065) 2024-06-11 03:36:21 +02:00
Matthew 5248160112
add zh localization font (#2066) 2024-06-10 21:36:09 -04:00
returntoice b9e809b685
[Localization][ko] Some localization updates for Korean (#2046)
* localization

* localization2

* local3
2024-06-10 21:32:57 -04:00
Adrian T 5d358fc57f
[Enhancement] Refactor egg counter (#1996)
* refactor egg counter

* add documentation
2024-06-10 20:20:00 -05:00
Adrian T 65ddd49d64
[Enhancement] Move event files to a central directory (#1918)
* Move events to a central directory

* Update modifier import

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* remove old battle-scene-events

* Move to field events

* Update battle-scene.ts

---------

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-06-10 20:19:07 -05:00
Zach Day 5762409b17
[Move] Implement Core Enforcer (#2024)
* [Move] Implement Core Enforcer

* Documentation

* Documentation
2024-06-10 21:17:28 -04:00
Xavion3 dc6c8f22ac
Make speed ties seed based on current turn (#2044) 2024-06-11 09:42:39 +10:00
Madmadness65 8a0b5c52d3 [Bugfix] Fix Rival battles not playing correct music
The Rival fights were playing the incorrect battle music on the Mixed music preference. This has been fixed.
2024-06-10 16:53:14 -05:00
Dmitriy K ee4d130ebb
[Test(refactor)]: Refactor tests game manager (#2062)
* refactor tests game manager

* add setPosition to Mock Text class
2024-06-10 23:35:24 +02:00
whatanoob 942c119814
[Bug] Fix toxic damage increment not resetting upon switching (#1844)
* Update phases.ts

Add reset toxic turn counter in PostSummonPhase

* Update phases.ts

Fix linting
2024-06-10 16:33:34 -04:00
SquillWall a97933fe4c
[Bug] Fix inputs being annoying in the corner of the screen again (#2054) 2024-06-10 16:19:06 -04:00
Adrian T bcfeaf0639
[Bug] add move effectiveness text color check to ignore ability (#2042) 2024-06-10 13:40:00 -04:00
José Ricardo Fleury Oliveira 36f3cc6b47
[Localization] Localizing "Loading..." text (#1822)
* localized "Loading..." texts

* fixes
2024-06-10 13:33:48 -04:00
Dakurei c2375a0f5d
[Enhancement] Fix - Adjusts the color of the remaining PPs correctly to the theme (#2045)
+ Choose colors adapted to provide a contrast that facilitates reading (ratio of 3.0 or more)
    Tool used: https://webaim.org/resources/contrastchecker/
  + Refactoring of the condition to avoid unnecessarily assigning variable several times depending on the contents of 'ppPercentLeft'
2024-06-10 13:30:02 -04:00
SquillWall f672ecc8ed
[Bug] resolve issue with input text persisting in top left of game screen in certain cases (#1982)
* resolve issue with input text persisting in top left of game screen in certain cases

* Clean up ui logic for fix
2024-06-10 11:41:01 -05:00
José Ricardo Fleury Oliveira 29d9ac7038
[Localization][pt] move pokemon-info-container label 1 pixel to the right (#2041) 2024-06-10 10:55:10 -04:00
Adrian T 7d55c165df
[QoL] add dynamic default pp color (#2039) 2024-06-10 10:46:08 -04:00
Greenlamp2 e29c08ba1f
[Test] Add Tests for Zen Mode Ability (#1978)
* added tests for zen mode - change form in battle

* added tests to run some battle against trainer/rival & boss

* added a test with a method to kill a pokemon

* added an override in the clock mocked to reduce the time of fainting pokemon and thus reducing test time from 5s to less than 1s

* added some more tests + doAttack, doKillOpponents, toNextWave, toNextTurn helper

* added some more tests + doAttack, doKillOpponents, toNextWave, toNextTurn helper + fix some tests
2024-06-10 10:10:23 -04:00
Madmadness65 32d222c9cd
Implement Arceus Plates and Silvally Memories (#1195)
* Implement Arceus Plates and Silvally Memories

* German localization for items

* Run linter on changes, add items to zh_TW localization

* linter cleanup

* Finish localization for other languages

Names for items sourced from Bulbapedia. Names for the items in Portuguese could not be reliably sourced, so they were as directly translated as possible.

* Add custom Blank Memory item

Currently does nothing, but the idea is that it would be used if the all-in-one form change item idea is followed through.

* Update item atlas

* Use move.type instead of type.value

The type effectiveness now works again.

* Update comments

* Fix type changing affecting only Silvally

* Condense switch cases down to a single line

As per Brain Frog's suggestion.
2024-06-10 09:58:34 -04:00
Opaque02 5de0185c0a
[Bug] Fixed bug where pokemon info container shows form of pokemon that doesn't have it if the previously caught pokemon has a form (#2029)
* Fixed bug where pokemon info container will show form of a pokemon that doesn't have it if the previously caught pokemon has a form

* Updated pokemonFormText to also disable interactive section if there was one
2024-06-10 01:41:06 -04:00
Opaque02 91abddb693
[QOL] Updating pokemon-info-container to show what is new when you catch/hatch a pokemon (#1754)
* Adding UI elements for new gender, ability and nature

* Added new indicators for shiny, gender, ability and nature

* Changed position of gender icon to top left

* Changes with logging and old (+) indicators for nature, form and ability

* Updated to remove old code and comments, as well as various console logs

* Updated commented code

* Addressing PR feedback

* Updated form to have a label and form name, along with cutting off the form name if it's too long

* Updated stats container to move some labels around so there's less text clumped together

* Removed some old commented code

* Fixed some issues with typing and naming

* Accidentally pushed my overrides.ts before :). Sorry!

* Updated the form name's hover over section to only work when the text is truncated

* Updating the gender check to work off DexAttr instead of a weird 2

---------

Co-authored-by: Temps Ray <temps.ray@gmail.com>
2024-06-09 23:44:38 -04:00
Munbin-Lee 54aabceb29
[Localization][ko] Fix minor typo in hiker dialogue (#2009) 2024-06-09 21:26:33 -04:00
MadridPawmot 5cb8bb7fda
[Localization][es] Translated Ice Face text to Spanish (#2000)
* Translated Ice Face text to Spanish

* Added affix
2024-06-09 21:15:39 -04:00
layharu0 033c966f1b
[Localization][ko] Challenges gen4 desc typo fix (#2017) 2024-06-09 21:02:05 -04:00
Greenlamp2 d03c75c2f9
[QoL] Improve Input Accuracy by Refactoring Button Handling (#1936)
* refactored inputs-controller for better hold button management

* refactored the touch controls file to use a class and add holding button system

* added a method to deactivate pressed key for touch on focus lost

* better lost focus management
2024-06-09 19:15:37 -04:00