NightKev
f634b7c044
[Misc] Disable some leftover debug code ( #4546 )
...
* Disable i18n debug in `.env` files
* Disable leftover ME debug code
2024-10-02 13:13:16 -04:00
Adrian T.
ea261a039d
[Refactor] Cleanup test boilerplate script ( #4547 )
2024-10-02 13:08:30 -04:00
AJ Fontaine
8a2900ad29
[Refactor] Move some relevant files, tables etc to new balance folder ( #4510 )
...
* Move biomes.ts
* Move starter costs, passives, friendship, starter-candy to starters.ts
* Change relative imports to absolute imports
* Add docstrings, passives.ts
* Constants in rates.ts for egg pity, egg tier rates, hatch waves, variant chances
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
2024-10-02 06:20:19 -07:00
innerthunder
7473c31c77
[P2] Fix Tera Shell to apply to all hits of multi-strike moves ( #4541 )
...
* Apply Tera Shell to all hits for multi-hit moves
* fix undefined property error
* ugh
* Remove obsolete bangs
2024-10-01 21:58:56 -04:00
NightKev
a6bcd6eeea
[Refactor] Remove obsolete comments in egg gacha and starter select UIs ( #4542 )
2024-10-01 21:58:16 -04:00
Frederico Santos
c46507d49b
[Update] Update subproject commit reference in locales
2024-10-02 01:58:28 +01:00
Frederico Santos
5e151f5604
[Refactor] External locales ( #4529 )
...
* Removed local translation files
added translations submodule
[Enhancement] Add post-merge command to update submodules in lefthook configuration
[Enhancement] Add postinstall script to install lefthook after package installation
[Enhancement] Update postinstall script to run post-merge command after lefthook installation
* Add subproject commit for locales directory
* Remove translation team assignments from CODEOWNERS
* Add recursive submodule checkout to workflow files and update README for translations
* fix: run without locales present (#4539 )
some code was hard-wired with locales having to be present. This is no longer the case now
---------
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
2024-10-01 23:41:09 +01:00
flx-sta
95386861bb
[Qol][Refactor] i18n lazy-loading ( #4327 )
...
* move: locales files to `/public` (from `/src`)
* install: i18next-http-backend module
* implement: i18next language lazy-loading
* remove: all `config.ts` files (for locales)
* disable: enConfig import in i18next.d.ts
* remove: console.log from utils.camelCaseToKebabCase()
* remove localization tests
we don't need to test if i18next is working.
This is the job of i18next itself
* mock i18next for tests
* fix: tests that have to use the i18next key now
instead of the english translation
* fix: absolute-avarice-encounter test
* fix: loading mystery-encounter translations
with lazy-load
* fix: 2 mystery encounter translation loading
* replace: i18next mocks any vi.fn() calls
* fix: new namespace usage in ME tests
now using "mysteryEncounters/..."
* fix: delibirdy encounter not being language specific
the encounter was checking if the modifier name includes `Berry` which is only true for english. Instead it has to check if the modifier is an instance of BerryModifier
* fix: the-expert-pokemon-breeder
the new i18n pattern requires a different namespacing which has been adopted
* fix: GTS encounter tests
* add: `MockText.on()`
* fix: berries abound test
* chore: apply review suggestion
from @DayKev
* update i18next.d.ts
* chore: fix i18next.d.ts
* fix: `dialogue-misc` switchup between `en` and `ja`
* move: `SpeciesFormKey` into enum
there was an issue with circular dependencies
* replace: `#app/enums/` with `#enums/` for `SpeciesFormKey` imports
* re-sync locales from `beta`
* rename: `ca_ES` -> `ca-ES`
* rename: `pt_BR` -> `pt-BR`
* rename: `zh_CN` -> `zh-CN`
* rename: `zh_TW` -> `zh-TW`
* fix loading Species-Form-Key in poemon-evo.
* update: i18next `supporterLngs` ...
and remove `nonExplicitSupportedLngs`
* fix: `${namespace}.` -> `${namespace}:`
thanks @MokaStitcher
2024-10-01 21:55:16 +01:00
DustinLin
45f6b23309
[P2] Chilly Reception's Snow is called during Enemy AI Move Selection ( #4528 )
...
* fixing weather check in getCondition()
* adding enemy tests
2024-09-30 23:23:29 -04:00
innerthunder
145b80f491
[P2] Fix Substitute blocking field effects ( #4504 )
...
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-09-30 13:14:38 -04:00
NightKev
8a8adad7fe
[Refactor] Clean up some `TODO`s from the `strict-null` refactor ( #4267 )
2024-09-30 13:11:45 -04:00
NightKev
e9ee2c1179
[Refactor] Remove unused parameters in move flag functions ( #4516 )
...
Also fix tsdocs for these functions
2024-09-30 13:10:00 -04:00
NightKev
5a20416fd4
[Refactor] Remove redundant session data function in game-over-phase ( #4515 )
2024-09-30 13:08:16 -04:00
Blitzy
de9fdc5b9c
[Balance] Increase Minimum BST Filter for Elite 4 / Champion Teams ( #4501 )
...
* Increase Champion BST
* Slight E4 BST increase
* Update trainer-config.ts
* Move E4/Champion minimum BST values to consts
* Update tsdocs for new consts
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-09-30 13:05:02 -04:00
José Ricardo
d660c217b3
[Localization] Update pt_BR translations for menu, party, and settings ( #4518 )
2024-09-30 13:03:32 -04:00
Yonmaru40
814aceebc9
[Localization] Zh-cn fix 9-30 ( #4517 )
...
* Update modifier-type.json
* Update delibirdy-dialogue.json
* Update department-store-sale-dialogue.json
* Update global-trade-system-dialogue.json
* Update modifier-type.json
* Update party-ui-handler.json
* Update settings.json
* Update trash-to-treasure-dialogue.json
* Update uncommon-breed-dialogue.json
* Update training-session-dialogue.json
* Update egg.json
* Update battle.json
* Update dialogue.json
2024-09-30 13:03:13 -04:00
Lugiad
bab5b31476
[Localization] Expert Breeder ME - Egg bug in locales ( #4524 )
...
* Update the-expert-pokemon-breeder-dialogue.json
* Update the-expert-pokemon-breeder-dialogue.json
* Update the-expert-pokemon-breeder-dialogue.json
* Update the-expert-pokemon-breeder-dialogue.json
* Update the-expert-pokemon-breeder-dialogue.json
2024-09-30 13:02:37 -04:00
NightKev
7d2df53c51
Add `waveTurnCount` to `PokemonBattleData` ( #4168 )
...
Swap `FirstMoveCondition` to use the new `waveTurnCount` field
2024-09-29 23:45:44 -07:00
NightKev
3d3460888a
Add scoring for the Glaive Rush `BattlerTag`s ( #4514 )
2024-09-29 23:04:32 -07:00
innerthunder
1bae87fa56
[Move] Fully Implement Plasma Fists ( #4446 )
...
* Implement Plasma Fists
* Update arena-tag.json
* Update arena-tag.json
* Update arena-tag.json
* Update arena-tag.json
* Update arena-tag.json
* Update arena-tag.json
* Update arena-tag.json
* Update arena-tag.json
* Update arena-tag.json
* Update arena-tag.json
---------
Co-authored-by: Lugiad <adrien.grivel@hotmail.fr>
2024-09-29 22:30:33 -04:00
dependabot[bot]
d8ee8ad821
Bump vite from 5.3.5 to 5.4.8 ( #4413 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.3.5 to 5.4.8.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.8/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.4.8/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-09-29 22:04:31 -04:00
dependabot[bot]
79e172176d
Bump rollup from 4.18.1 to 4.22.4 ( #4439 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 4.18.1 to 4.22.4.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v4.18.1...v4.22.4 )
---
updated-dependencies:
- dependency-name: rollup
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-29 22:03:09 -04:00
PrabbyDD
d99dbf4955
[P2] Fix for Pokemon Forms have Access to Other Forms' TM Movepools ( #4398 )
...
* fixing form issues generating tms pokemon shouldnt have
* cleaning up some code
* fixing tests and allowing rotom unique moves to be learned as tms for that rotom form
* Update src/test/field/pokemon.test.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* making tests simpler
---------
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
2024-09-29 22:00:29 -04:00
Adrian T.
4c327e9e63
[Ability] Refactor Gulp Missile and make it trigger when Cramorant faints ( #4428 )
...
* reimplement gulp missile
* cleanup + docs
* more cleanup
* add override
* update paths
2024-09-29 21:57:50 -04:00
AJ Fontaine
d620b5c7fa
[Refactor] Move base shiny/HA chance to constants outside functions ( #4407 )
2024-09-29 21:56:05 -04:00
Madmadness65
82111bc62d
[Enhancement] Gen 7+ grunts can now be in double battles ( #4489 )
2024-09-29 21:55:17 -04:00
innerthunder
7339facae1
[Ability] Remove (P) from Super Luck ( #4498 )
2024-09-29 21:54:49 -04:00
MokaStitcher
6d89ad9569
[P2] Fix duplicate mon ID / RNG not properly resetting after game over ( #4505 )
2024-09-29 21:52:13 -04:00
Mumble
bcec819fa9
[Move] Fully Implement Syrup Bomb ( #4441 )
...
* Syrup Bomb + Tests
* Fix typo on import
* Documentation
* Apply suggestions from code review
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Removed unnecessary overlap check
* Removed obsolete comment
* learned how forceHit works
* added custom lapse message
---------
Co-authored-by: frutescens <info@laptop>
Co-authored-by: Madmadness65 <59298170+Madmadness65@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-09-29 21:50:11 -04:00
innerthunder
d0600125dd
[P2] Fix Zippy Zap being boosted by Sheer Force ( #4469 )
2024-09-29 21:49:37 -04:00
MokaStitcher
fd67096a6a
[P3 Bug][UI] Fix egg summary not displaying 1st mon properly ( #4507 )
2024-09-29 21:48:29 -04:00
Chapybara-jp
2488bf805b
[Localization] [JA] Fixing typos in ability-trigger.json
...
* Update ability-trigger.json
* Update ability-trigger.json
---------
Co-authored-by: Lugiad <2070109+Adri1@users.noreply.github.com>
2024-09-29 21:46:54 -04:00
fransdhinta
4160aefd93
[Feature] Show app version on title screen ( #4344 )
...
* feat: show app version on title screen
* fix: adjust app version positions
* update app version text
---------
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
2024-09-29 18:18:52 -07:00
Leo Kim
b43620b8c5
[Refactor] Optimize trick room ordering code ( #4468 )
2024-09-29 18:18:07 -07:00
Tempoanon
3976d115d8
Synchronize Beta with main hotfix #5
...
Synchronize Beta with Main
2024-09-29 17:03:52 -04:00
NightKev
6187830de7
[Hotfix] Fix crash in GTS ME: replace `pokemon` with `tradePokemon` ( #4503 )
2024-09-29 03:47:45 -04:00
ImperialSympathizer
3e8b3930a8
[Hotfix] Change early exit on Dark Deal species calc ( #4500 )
...
Co-authored-by: ImperialSympathizer <imperialsympathizer@gmail.com>
2024-09-28 22:59:23 -04:00
AJ Fontaine
7bb49a3199
[Hotfix] Fix Gimmighoul evolution ( #4473 )
...
* Fix Gimmighoul evolution
* Fix counter
* Stack text fix
* Fix Treasure tracker not saving
* Apply suggestions from code review
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
---------
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-09-28 22:11:02 -04:00
Pancakes
000b8d9b2b
Update .env.beta
2024-09-28 17:35:13 -04:00
innerthunder
a69da4bc06
Remove potential desync from `PokemonHealPhase` ( #4497 )
2024-09-28 21:40:42 +01:00
ImperialSympathizer
771b0edcb0
[Hotfix] Fix Black Sludge disappearing on session reload ( #4496 )
...
Co-authored-by: ImperialSympathizer <imperialsympathizer@gmail.com>
2024-09-28 14:21:42 -04:00
Blitzy
357056ebeb
[Balance] Change Kyogre / Pichu eggmoves ( #4491 )
2024-09-28 14:18:21 -04:00
Lugiad
b1194cdfb6
Update training-session-dialogue.json ( #4495 )
2024-09-28 18:44:22 +01:00
Pancakes
8ce5de6d45
Update FUNDING.yml
2024-09-28 13:13:18 -04:00
ImperialSympathizer
d87234504c
prevent MEs incorrectly spawning on existing session saves ( #4494 )
...
Co-authored-by: ImperialSympathizer <imperialsympathizer@gmail.com>
2024-09-28 17:59:48 +01:00
Jannik Tappert
3a5f3c39cd
Fixing Placeholder in afterYou ( #4493 )
2024-09-28 16:24:03 +01:00
Lugiad
0464d8f666
Update modifier-type.json ( #4492 )
2024-09-28 15:24:57 +01:00
Lugiad
f460f9a0e8
[Localization] [P3 Bug] Incorrect French hotfix ( #4483 )
...
* Update uncommon-breed-dialogue.json
* Update bug-type-superfan-dialogue.json
* Update settings.json
* Update uncommon-breed-dialogue.json
* Update settings.json
2024-09-28 02:59:15 -04:00
ImperialSympathizer
5d819aacf2
sanitize all money when saving session data to server ( #4485 )
...
* sanitize all money when saving session data to server
* update money sanitization
---------
Co-authored-by: ImperialSympathizer <imperialsympathizer@gmail.com>
2024-09-28 04:48:15 +01:00
NightKev
3def9fc15d
[Hotfix] Swap force switch out check from `isBoss` to `wave % 10` ( #4484 )
2024-09-27 22:51:32 -04:00