Dmitriy K
045fd57242
Update typescript and typedoc ( #2988 )
...
* update typescript and typedoc to latest versions
* forgot to add the package-lock
* add fixes for breaking type gen
2024-07-11 23:44:17 +01:00
Dmitriy K
e2290e4429
[Refactor] rewrite applyAbAttrsInternal to use an iterator. ( #1832 )
...
* initial rewrite of applyAbAttrsInternal
* clean up applyAbAttrsInternal
* remove the await because it wraps non Promises in a promise
* add TODO comment about promises
* fix broken costar test, hopefully
2024-07-11 20:56:26 +01:00
Adrian T
aa90a9ff2d
[QoL] Highlight targets of multitarget moves instead of immediate execution ( #2863 )
...
* show targets for move targeting multiple pokemon
* dont allow selecting target if multiple
* fix targeting
* cleanup
* more cleanup
* only highlight targets is move is not status
* fix tests failing
* fix tests
* change "immediately" to "auto"
* nevermind just remove auto
* remove status move condition
2024-07-11 14:17:02 -04:00
Dmitriy K
2f81bd504c
[Test] Prevent tests from running if overrides are different from the default values ( #2110 )
...
* mock default overrides in test setup
* change beforeEach to beforeALl
* move some more enums into the enums directory
* replace modules that import i18n into overrides with modules that don't
* add pre tests and update vitest configs, scripts
* replace tabs with spaces
* fix vitest server port overlap warning
* add missing overrides and clean up workspace config
* change test name
* include spec files in main test suite
2024-07-11 18:22:22 +01:00
Lugiad
4b3984cf35
Update French pokemon-summary.ts ( #2976 )
2024-07-11 12:57:38 -04:00
innerthunder
50d7ed34d9
[Bug] Fix battler tags lapsing at incorrect times ( #2944 )
...
* Fix battler tags lapsing at incorrect times
* Document FlinchedTag
2024-07-11 17:12:49 +01:00
Adrian T
e879b3c6a0
[Enhancement][QoL] Add option to adjust shop overlay opacity ( #2622 )
...
* add option to adjust shop overlay opacity
* add localization
* fix bug
* Update src/locales/fr/settings.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Update src/locales/zh_CN/settings.ts
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* Update src/locales/fr/settings.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* update default value
* update setting values
* re-add value 10
* Update src/locales/pt_BR/settings.ts
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
* Update src/locales/ko/settings.ts
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
* Update src/locales/es/settings.ts
Co-authored-by: InnocentGameDev <asdargmng@gmail.com>
* Update settings.ts
---------
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
Co-authored-by: InnocentGameDev <asdargmng@gmail.com>
Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>
2024-07-11 11:54:37 -04:00
Jannik Tappert
dd361c5615
The stat messages can now be plural ( #2600 )
...
* The stat messages are now plural
* "And" can now be localized
* Revert Override
* Update src/locales/fr/battle.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Update src/locales/fr/battle.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Update src/locales/fr/battle.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Update src/locales/zh_CN/battle.ts
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* Update src/locales/ko/battle.ts
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
* Update src/locales/ko/battle.ts
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
* Update src/locales/es/battle.ts
Co-authored-by: GoldTra <162721984+GoldTra@users.noreply.github.com>
* Update src/locales/es/battle.ts
Co-authored-by: GoldTra <162721984+GoldTra@users.noreply.github.com>
* Update src/locales/de/battle.ts
* Update src/locales/pt_BR/battle.ts
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
* Update src/locales/pt_BR/battle.ts
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
* Update src/data/battle-stat.ts
* Update src/locales/zh_CN/battle.ts
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* Changed the way the multiple is handeled to use the i18n way
* Missed one file
* Apply suggestions from code review
* Apply suggestions from code review
* Changed the tests so they work now with the i18n hting
* Fixed some other tests (chinese still makes problems...
* Fix tests for chinese
* Tests
* Update src/test/battle-stat.spec.ts
* Update src/locales/zh_CN/battle.ts
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* Apply suggestions from code review
---------
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
Co-authored-by: GoldTra <162721984+GoldTra@users.noreply.github.com>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
2024-07-11 11:47:22 -04:00
Jannik Tappert
516a10053d
This should prevent gym leaders appear as doubles (marnie & piers) when they arent fixed battles ( #2904 )
2024-07-11 11:45:20 -04:00
Enoch
2f550ea933
[Localization] Localization arena flyout (Active Battle Effects) ( #2932 )
...
* localizing Active Battle Effects (working)
* Localize Active Battle Effects
* Change return value
* Modify arena terrain desc
* Update src/locales/zh_CN/arena-flyout.ts
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* Update src/locales/de/arena-flyout.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* Update src/locales/fr/arena-flyout.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Update arena-flyout.ts (IT)
* Update src/locales/pt_BR/arena-flyout.ts
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
* Update src/locales/es/arena-flyout.ts
Co-authored-by: Arxxer <javiptn7@gmail.com>
* Change util function name
---------
Co-authored-by: 송지원 <jiwsong@gmarket.com>
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
Co-authored-by: Arxxer <javiptn7@gmail.com>
2024-07-11 11:28:51 -04:00
Enoch
74941bd7f8
[Mirror][Localization] Translate summary #2336 ( #2907 )
...
* Translate pokemon summary
* Translate pokemon summary to fr
* Translate pokemon summary to de
* Translate pokemon summary to es
* Translate pokemon summary to it
* Translate pokemon summary to ko
* Translate pokemon summary to pt br
* Translate pokemon summary to zh cn
* Translate pokemon summary to zh tw
* Fix import
* Update partially for en and ko
* Update interface name for en
* Merge trainerLabel&Text and calculate typeLabel width
* Update src/locales/es/pokemon-summary.ts
Co-authored-by: GoldTra <162721984+GoldTra@users.noreply.github.com>
* Apply translations key to all languages with interface TranslationEtries
* Update ko/translationKey of status
* Update ko/translationKey of pokemonInfo
* Update de/translationKeys of memostring and metFragment
* Update de/translationKeys of memostring and metFragment 2
* Update src/locales/ko/pokemon-summary.ts
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
* Update src/locales/ko/pokemon-summary.ts
Co-authored-by: returntoice <dieandbecome@gmail.com>
* Update src/locales/pt_BR/pokemon-summary.ts
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
* Update src/locales/ko/pokemon-summary.ts
* Update src/locales/pt_BR/pokemon-summary.ts
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
* Update pokemon-summary.ts [Localization(it)]
* remove unused code
* Update src/locales/zh_CN/pokemon-summary.ts
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* Update src/locales/zh_CN/pokemon-summary.ts
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* Update src/locales/zh_CN/pokemon-summary.ts
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* Update src/locales/es/pokemon-summary.ts
Co-authored-by: Arxxer <javiptn7@gmail.com>
* Update src/locales/es/pokemon-summary.ts
Co-authored-by: Arxxer <javiptn7@gmail.com>
---------
Co-authored-by: Alexis <alexis.faizeau@animedigitalnetwork.fr>
Co-authored-by: Mr.WaterT <water.t.works@gmail.com>
Co-authored-by: Alexis Faizeau <faizeau.alexis@gmail.com>
Co-authored-by: GoldTra <162721984+GoldTra@users.noreply.github.com>
Co-authored-by: returntoice <dieandbecome@gmail.com>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
Co-authored-by: 송지원 <jiwsong@gmarket.com>
Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
Co-authored-by: Arxxer <javiptn7@gmail.com>
2024-07-11 11:28:01 -04:00
Enoch
caf541ba89
[Mirror][Localization] Translate game victory sentences #2254 ( #2906 )
...
* Translate forgotten sentences on phases
* Translate to de forgotten sentences on phases
* Translate to es forgotten sentences on phases
* Translate to fr forgotten sentences on phases
* Translate to it forgotten sentences on phases
* Translate to ko forgotten sentences on phases
* Translate to pt br forgotten sentences on phases
* Translate to zh cn forgotten sentences on phases
* Translate to zh tw forgotten sentences on phases
* remove duplicate message
* remove duplicate message
* Update src/locales/pt_BR/battle.ts
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
* Update src/locales/de/battle.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* Update src/locales/de/battle.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* Update battle.ts [Localization(it)]
* Update src/locales/zh_CN/battle.ts
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
---------
Co-authored-by: Alexis <alexis.faizeau@animedigitalnetwork.fr>
Co-authored-by: 송지원 <jiwsong@gmarket.com>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
2024-07-11 11:25:44 -04:00
Dakurei
e9b13be614
[Bugfix] Fix a bug during bgm-bar initialization ( #2822 )
...
* Prevent sizing error
* Make reboot not necessary for show BGM
* Makes the BGM Bar active by default
+ It had originally been decided that this would not be active by default because it was to be displayed outside the pause menu, but since its behavior has changed between this decision and its integration, the default deactivation is no longer necessary
2024-07-11 10:55:44 -04:00
Niccolò
d69bedd5d7
Update game-stats-ui-handler.ts (italian) ( #2965 )
2024-07-11 10:22:24 -04:00
chaosgrimmon
55f2a32d9f
[Bug] Grounded on Terrain fixes ( #2969 )
...
* [Help] [Move/Bug] Patches Psychic Terrain applicability edge cases
Was cancelling moves even if targeted mons weren't on the terrain.
* [Bug `]Pokemon.isGrounded` does not exist
Replaced with `Pokemon.isGrounded()`, which does.
* [Bug] Psychic Terrain priority move cancel ignoring ungrounded
* [Bug] Semi-invulnerable should not be grounded
2024-07-11 10:21:38 -04:00
NightKev
6bc191c44e
[Bug] Fix off-by-one error in damage calc ( #2970 )
...
* Fix random damage roll to be 85-100% instead of 85-99%
* Update battle.test.ts to reflect the fix
2024-07-11 10:20:23 -04:00
Xavion3
991051fa09
Refactor challenges and add fresh start ( #2964 )
...
* Refactor challenges and add fresh start
* Add achievement for fresh start challenge
2024-07-11 11:36:17 +10:00
AJ Fontaine
01f6ec2ef3
[Balance] Update many TM learnsets ( #2879 )
...
* Update TMs for more Indigo Disk changes
* Fix typo, more Stored Power
2024-07-11 00:21:26 +01:00
Xavion3
5742f08946
Refactor challenges and add fresh start ( #2963 )
2024-07-11 07:34:49 +10:00
Tempoanon
fc4b97d7ca
Merge pull request #2692 from flx-sta/feature/i18n-debugging
...
[Feature][ENV] make i18n debugging an optional env setting
2024-07-10 17:20:43 -04:00
Tempoanon
4797878d18
Hardcoded Pokemon should have proper names ( #2941 )
2024-07-10 22:02:15 +01:00
Frederico Santos
85a89b95b7
Merge branch 'beta' of github.com:pagefaultgames/pokerogue into beta
2024-07-10 21:48:35 +01:00
Frederico Santos
616b4487a7
chore: Add beta branch to GitHub Actions deploy workflow
2024-07-10 21:48:27 +01:00
Felix Staud
3c09eef986
Merge remote-tracking branch 'upstream/beta' into feature/i18n-debugging
2024-07-10 13:43:09 -07:00
Frederico Santos
367432576e
Merge pull request #1693 from f-fsantos/discord-oauth
...
[QoL] Add Discord and Google Login
2024-07-10 21:40:32 +01:00
Frederico Santos
cbf9bdba46
chore: Update environment variables for beta and production environments
2024-07-10 21:33:35 +01:00
Felix Staud
fab59921d6
update VITE_I18N_DEBUG in .env files
2024-07-10 13:27:28 -07:00
Felix Staud
db389631e9
Merge remote-tracking branch 'upstream/beta' into feature/i18n-debugging
2024-07-10 13:26:38 -07:00
José Ricardo Fleury Oliveira
84e03bef86
Localization(pt): translated bgm-name.ts ( #2955 )
...
* Localization(pt): translated bgm-name.ts
* fix
2024-07-10 15:22:37 -04:00
Frederico Santos
cf1e457edc
Update src/locales/ko/menu.ts
...
Co-authored-by: lnuvy <lnuvy.code@gmail.com>
2024-07-10 19:56:48 +01:00
Frederico Santos
ea4e56b929
Update src/locales/ko/menu-ui-handler.ts
...
Co-authored-by: lnuvy <lnuvy.code@gmail.com>
2024-07-10 19:56:37 +01:00
Frederico Santos
f506a70d11
Merge branch 'beta' into discord-oauth
2024-07-10 19:56:24 +01:00
Frederico Santos
4dbed9cb4e
chore: Add beta branch to GitHub Actions linter and gh-pages workflow
2024-07-10 19:49:05 +01:00
Frederico Santos
c44b38c40a
chore: Add beta branch to GitHub Actions tests workflow
2024-07-10 19:40:52 +01:00
Adrian T
ff1fa15dba
fix inaccurate docs for TypeImmunityAbAttr ( #2957 )
2024-07-10 13:48:42 -04:00
Niccolò
ffbc922e09
Update ability-trigger.ts (Italian) ( #2949 )
2024-07-10 10:18:53 -04:00
Niccolò
63667aa062
[Localization(it)] Localize luck in common.ts (Italian) ( #2952 )
2024-07-10 10:15:57 -04:00
mercurius-00
c958755ebd
[Localization(zh-cn)] Fix linebreak in move.ts ( #2948 )
...
fix linebreak
2024-07-10 10:13:56 -04:00
flx-sta
18dcef5b4a
[Bug] fix starter select alpha in challenge modes ( #2924 )
...
* fix starter select alpha in challenge modes
* [NIT] resolve review comment
https://github.com/pagefaultgames/pokerogue/pull/2924#discussion_r1670587051
* chore
2024-07-09 14:05:45 -04:00
AJ Fontaine
0c18e95fa4
[Bug] Fix Meditite back and female variant sprites ( #2929 )
2024-07-09 09:58:16 -04:00
schmidtc1
0b5b481de6
[Test] Prevent flying types/levitate from breaking Ceaseless Edge test ( #2931 )
...
* Modifies ceaseless edge test to account for flying types/levitate ability
* Removes .js from imports
2024-07-08 22:49:52 -04:00
schmidtc1
7474eac808
[Bug] Removes firstHitOnly from AddArenaTagAttr to allow multi hit set up with Ceaseless Edge ( #2727 )
...
* Removes firstHitOnly from AddArenaTagAttr to allow multi hit set up with ceaseless edge
* Creates initial test file with basic cases for ceaseless edge
* Fixes ceaseless edge unit test and expands on case 3
* Adds truthy/falsy expectations prior to use
2024-07-08 16:53:16 -04:00
NightKev
458245f542
[Unittest] Prevent Arena Trap/etc from breaking Costar test ( #2923 )
2024-07-08 16:37:22 -04:00
Tempoanon
f9327680dd
[Feature] Stop random trainers from spawning near fixed battles ( #2610 )
...
* Stop trainer spawns on evil team and E4 floors
* Thanks Xavion
* change "floors" to "wave" in coment
* at test for not spawning 3 waves within fixed trainer battle
* remove out-commented code
* apply code formatting
* Updated test and make sure isWaveTrainer returns a boolean
* Update comment
---------
Co-authored-by: Felix Staud <felix.staud@headwire.com>
2024-07-08 10:33:47 -04:00
mercurius-00
0d9dd1dfc8
Localized moneyPickedUp message ( #2788 )
...
* Localized moneyPickedUp message
* Update src/locales/ko/battle.ts
Co-authored-by: Leo Kim <47556641+KimJeongSun@users.noreply.github.com>
* Update src/locales/fr/battle.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Update src/locales/de/battle.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* Update src/locales/pt_BR/battle.ts
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
* Update battle.ts
* Update battle.ts
---------
Co-authored-by: Leo Kim <47556641+KimJeongSun@users.noreply.github.com>
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
2024-07-08 10:25:46 -04:00
Enoch
2ccb480930
[Localization] localize modifier.ts apply event message & translate in Korean ( #2882 )
...
* localize modifier apply event message
* modify korean postposition
* Update src/locales/pt_BR/modifier.ts
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
* Update src/locales/zh_CN/modifier.ts
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* Update src/locales/zh_TW/modifier.ts
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* Update src/locales/de/modifier.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* aUpdate src/locales/fr/modifier.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Update src/locales/fr/modifier.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Update src/locales/pt_BR/modifier.ts
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
* Update src/locales/pt_BR/modifier.ts
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
* Update src/locales/pt_BR/modifier.ts
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
* Update src/locales/fr/modifier.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
---------
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
2024-07-08 10:21:50 -04:00
Enoch
9a1ff57941
Modify Korean 'shiny' and gacha texts to match original ( #2843 )
2024-07-08 10:18:32 -04:00
Enoch
965bc687b3
[Localization] Localize terrain message and translate in Korean ( #2806 )
...
* add terrain localization and test code, change folder name
* Update src/locales/fr/weather.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Update src/locales/pt_BR/weather.ts
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
* Update src/locales/zh_CN/weather.ts
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* Update src/locales/de/weather.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* Update src/locales/zh_TW/weather.ts
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* Use testUtil
* add missed en messages
---------
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
2024-07-08 10:16:55 -04:00
José Ricardo Fleury Oliveira
1234554d74
Localization(pt): Fixed some translations ( #2915 )
2024-07-08 10:14:11 -04:00
Kyurl21
7b484e3d0b
[Localization(de)]fixed translation error in settings ( #2898 )
...
fixed a translation error in german in the settings
2024-07-08 10:07:28 -04:00