Commit Graph

3177 Commits

Author SHA1 Message Date
Felix Staud
0a212b3f81 minor changes to CanLearnMoveRequirement 2024-07-12 14:24:37 -07:00
Felix Staud
53f178fde2 replace @ec with i18n variables 2024-07-12 14:10:19 -07:00
Felix Staud
b95e9cbfa4 Merge branch 'mystery-battle-events' into event/getting-lost-at-the-sea 2024-07-12 14:08:52 -07:00
Felix Staud
c9cbdd7d44 lost-at-sea encounter - further progress 2024-07-12 14:07:33 -07:00
Felix Staud
7164b0afe4 add CanLearnMoveRequirement 2024-07-12 13:23:48 -07:00
ImperialSympathizer
515020742d add i18next money formatter for MEs 2024-07-12 16:16:52 -04:00
Felix Staud
72c76c4d39 add Pokemon.isAllowed()
to check if pokemon is allowed even if it's fainted
2024-07-12 13:10:53 -07:00
ImperialSympathizer
39f91167c7 PR cleanup and commit suggestions 2024-07-12 15:57:12 -04:00
Felix Staud
d8fce8b245 add Pokemon.getEggMoves() 2024-07-12 12:56:51 -07:00
ImperialSympathizer
b82e8674cc add number formatting to money strings 2024-07-12 15:54:35 -04:00
ImperialSympathizer
2b855e58e3 move dialogue token injection to i18next 2024-07-12 15:44:34 -04:00
ImperialSympathizer
60c26456f6 move dialogue token injection to i18next 2024-07-12 15:40:30 -04:00
Felix Staud
28d14ae45a minor refactor of abstract EncounterPokemonRequirement 2024-07-12 11:37:58 -07:00
Felix Staud
58d533fb34 migrate lost at sea encounter to new dialogue pattern 2024-07-12 11:17:01 -07:00
Felix Staud
1ae7a86cf9 Merge branch 'mystery-battle-events' into event/getting-lost-at-the-sea 2024-07-12 11:01:51 -07:00
flx-sta
5ff80cd8a2
Merge pull request #64 from AsdarDevelops/option-ui-enhancements
add option mode for UI styling consistency
2024-07-12 10:40:28 -07:00
ImperialSympathizer
bf72985c19
Update src/data/mystery-encounters/mystery-encounter-option.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
2024-07-12 13:37:59 -04:00
ImperialSympathizer
14ec528fea remove extra space 2024-07-12 13:29:47 -04:00
ImperialSympathizer
c99a6382ca add option mode for UI styling consistency 2024-07-12 13:20:14 -04:00
ImperialSympathizer
61330c6967 remove overrides changes 2024-07-12 11:28:22 -04:00
ImperialSympathizer
fb9a4d3dd3 Merge branch 'mystery-battle-events' of https://github.com/InnocentGameDev/PokeRogue-Events into pokemon-salesman 2024-07-12 11:27:02 -04:00
ImperialSympathizer
4412769cd9 small bug fixes 2024-07-11 18:31:48 -04:00
Felix Staud
96554427b5 fix myster-encounter-ui-handler duplicate 2024-07-11 15:27:33 -07:00
Felix Staud
4d4d0e55cc fix myster-encounter-ui-handler duplicate req. check 2024-07-11 15:24:40 -07:00
Felix Staud
0326cb2538 reset overrides.ts 2024-07-11 15:18:59 -07:00
Felix Staud
9256569181 minor fix in phases.ts for myst.-enc. 2024-07-11 15:18:27 -07:00
Felix Staud
14289d2736 add -encounter as suffix for encounter files 2024-07-11 15:17:37 -07:00
Felix Staud
4da5e0fb10 apply namespace for training session encounter 2024-07-11 15:14:03 -07:00
Felix Staud
55805d1804 apply namespace for shady vitamin dealer encounter 2024-07-11 15:13:01 -07:00
Felix Staud
e8670c4f00 rename MysteryEncounter interface to IMysteryEncounter 2024-07-11 15:01:30 -07:00
Felix Staud
941a8e71d6 finishing touches 2024-07-11 14:58:52 -07:00
Felix Staud
39f98222a6 migrate training session encounter 2024-07-11 14:50:19 -07:00
Felix Staud
2d42697321 migrate sleeping snorlax encounter 2024-07-11 14:44:31 -07:00
Felix Staud
19d96ed381 migrate shady-vitamin-dealer encounter 2024-07-11 14:39:18 -07:00
Felix Staud
71a047a1f6 migrate mysterious-chest encounter 2024-07-11 14:10:21 -07:00
Felix Staud
e6bf12ab8c migrate mysterious-challengers 2024-07-11 14:02:26 -07:00
Felix Staud
1713395091 migrate fight-or-flight encounter 2024-07-11 13:54:44 -07:00
Felix Staud
ce73c38e33 migrate field-trip encounter 2024-07-11 13:47:10 -07:00
Felix Staud
d9e0957d40 migrate department-store-sale encounter 2024-07-11 13:35:46 -07:00
Felix Staud
c589689a6c migrate dark-deal encounter to new dialogue setup 2024-07-11 13:26:21 -07:00
Felix Staud
37248f1885 Merge remote-tracking branch 'Mystery-Events/mystery-battle-events' into mystery-events/dialogue-refactoring 2024-07-11 13:26:00 -07:00
Felix Staud
74125ef1cf WIP: add option to use dialogues in builder 2024-07-11 12:56:15 -07:00
ImperialSympathizer
390b2e93f9 remove fake out from stealing move group 2024-07-11 15:03:57 -04:00
ImperialSympathizer
c72bed0ee7 small cleanup of changes 2024-07-11 14:58:44 -04:00
ImperialSympathizer
b6ef210584 remove unnecessary styling override on fight or flight option 2024-07-11 14:43:57 -04:00
ImperialSympathizer
f128b47db5 update encounter biome mapping and option coloring/disablement with requirements 2024-07-11 14:37:29 -04:00
Felix Staud
5a79b50f1d lost at sea encounter finishing touches 2024-07-11 10:30:45 -07:00
Felix Staud
85df834811 optimize mystery-encounter-utils.setEncounterExp() 2024-07-11 09:35:15 -07:00
Felix Staud
47f12b665b ME: add damage/heal application utils 2024-07-11 09:23:43 -07:00
ImperialSympathizer
810c50cda2 new Field Trip encounter and add EXP gains to other encounters 2024-07-11 11:40:07 -04:00
Felix Staud
93fbb0e401 add jsdoc to lost-at-sea-encounter 2024-07-11 08:04:33 -07:00
Felix Staud
524d4a4ca7 lost-at-sea ME: fix using DAMAGE_PERCENTAGE for damage calculation 2024-07-11 08:03:12 -07:00
Felix Staud
b7bf22e3e5 fix typo in myster-encounter-intro 2024-07-11 08:02:01 -07:00
Felix Staud
ef4222cbfa Lost at sea myster encounter MVP....
- filled some dialogue
- add placeholders for the pokemons that can help
- rename it to `Lost at Sea` (from Getting lost at the sea
- add damage calculation for 3rd option
2024-07-11 07:57:41 -07:00
Felix Staud
0f9c0c5d24 improve jsdocs in myster-encounter.ts 2024-07-11 07:50:58 -07:00
Felix Staud
5ff1ae617d add alpha config for myst-ec sprites 2024-07-10 20:54:55 -07:00
Felix Staud
81112eeabe myster-encounter-intro.ts improve types and documentation 2024-07-10 20:43:31 -07:00
Felix Staud
d9ea676a92 add KnownFileRoot template literal 2024-07-10 20:34:28 -07:00
Felix Staud
ec7cabc8c8 getting lost at the sea MVP (event) 2024-07-10 18:39:55 -07:00
ImperialSympathizer
253447136a some more small cleanup 2024-07-10 16:32:24 -04:00
ImperialSympathizer
ce55c13c12 resolve conflicts, import issues, and cleanup from rebase 2024-07-10 15:31:03 -04:00
ImperialSympathizer
7bbebb32e2 undo broken load changes 2024-07-10 15:07:18 -04:00
Felix Staud
f1b074755e add MysteryEncounterOptionBuilder.withSceneMoneyRequirement() 2024-07-10 15:06:16 -04:00
Felix Staud
434104f9ee add 2 new MysteryEncounterBuilder methods:
- `.withPrimaryPokemonStatusEffectRequirement()`
- `.withPrimaryPokemonHealthRatioRequirement`
2024-07-10 15:06:16 -04:00
Felix Staud
a8be171305 add MysterEncounterBuilder.withOptionPhase() 2024-07-10 15:06:16 -04:00
Felix Staud
adf52bf604 add MysteryEncounterBuilder.withScenePartySizeRequirement 2024-07-10 15:06:15 -04:00
Felix Staud
25d0bd39ee add MysteryEncounterBuilder.withSceneWaveRangeRequirement() 2024-07-10 15:06:15 -04:00
Felix Staud
5a5806185f make MysteryEncounterBuilder.withEncounterType() static 2024-07-10 15:06:15 -04:00
ImperialSympathizer
efb00553c9 styling and text coloring fixes 2024-07-10 15:06:12 -04:00
ImperialSympathizer
deb1e95e34 add encounter exp utility and small cleanups/refactors 2024-07-10 15:04:48 -04:00
ImperialSympathizer
cf43589260 fix unit tests 2024-07-10 15:04:18 -04:00
ImperialSympathizer
7b35efe95e adds 2 new encounters and colorable text options 2024-07-10 15:03:36 -04:00
ImperialSympathizer
872242c44f remove commented code 2024-07-10 15:03:35 -04:00
ImperialSympathizer
f803de6b23 start adding unit tests 2024-07-10 15:03:33 -04:00
ImperialSympathizer
07ffe1ca64 re-enable dialogue tokens 2024-07-10 15:01:29 -04:00
ImperialSympathizer
7fb1506a97 clean up data token logic 2024-07-10 15:01:29 -04:00
ImperialSympathizer
8e84e40e35 beta bug fixes 2024-07-10 15:01:29 -04:00
ImperialSympathizer
2318d86cb1 Mystery Encounters (#2824)
* squash commits to clean up PR

* add chest sprites

* bug fixes, cleanup, and tests

* small fixes

---------

Co-authored-by: ImperialSympathizer <imperialsympathizer@gmail.com>
2024-07-10 15:01:23 -04:00
ImperialSympathizer
1d0109a386 small fixes 2024-07-10 14:52:38 -04:00
ImperialSympathizer
b3aa562bc6 small fixes 2024-07-10 14:52:38 -04:00
ImperialSympathizer
666ec135ba bug fixes, cleanup, and tests 2024-07-10 14:52:27 -04:00
ImperialSympathizer
860e875587 rebase encounters branch with pokerogue/main 2024-07-10 14:51:06 -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
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
EmberCM
307d0af860
[Bug] Fix venom drench tm learnset (#2910) 2024-07-08 10:03:01 -04:00
Dmitriy K
a7d28e1ee7
Revert (#2895) and (#1685) (#2896)
* Revert "modify wrong config path (ko) (#2895)"

This reverts commit 40a31b118f.

* Revert "[Localization] Implement pokemon forms localization (#1685)"

This reverts commit 41c05bf7a7.
2024-07-07 17:03:34 +01:00
Enoch
40a31b118f
modify wrong config path (ko) (#2895) 2024-07-07 16:36:58 +01:00
flx-sta
6c97579e04
fix description of REVIVER_SEED to contain direct-hit detail (#2813)
* fix en & de description of REVIVER_SEED. add todo for other languages

* Update src/locales/fr/modifier-type.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* Update src/locales/pt_BR/modifier-type.ts

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Update src/locales/zh_CN/modifier-type.ts

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>

* Update src/locales/zh_TW/modifier-type.ts

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>

* remove trailing spaces in zh_TW/_CN

* Update src/locales/de/modifier-type.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* Update src/locales/de/modifier-type.ts

* Update src/locales/es/modifier-type.ts

Co-authored-by: ReneGV <renegv94@gmail.com>

* Update src/locales/ko/modifier-type.ts

Co-authored-by: Enoch <enoch.jwsong@gmail.com>

* remove trailing spaces

* Update src/locales/it/modifier-type.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: Tempoanon <163687446+Tempo-anon@users.noreply.github.com>
Co-authored-by: ReneGV <renegv94@gmail.com>
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
2024-07-07 16:32:53 +01:00
Kiriox
41c05bf7a7
[Localization] Implement pokemon forms localization (#1685)
* Implement Pokemon forms localization

* Update French pokemon-form.ts

* Update French pokemon-form.ts

* Update pokemon-form.ts

* Add battle forms korean translation from returntoice

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

* Add cosplay forms korean translation from returntoice

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

* Add pichu form korean translation from returntoice

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

* Add castform forms korean translation by returntoice

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

* Add remaining forms korean translation by returntoice

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

* French typo corrections pokemon-form.ts

* Update Korean pokemon-form.ts

* Modify froakiBattleBond

like rockruff of OwnTempo case, it is froakie, not greninja.

* Modify zygardePc

Power construct is more important information
Switch its position to 50% or 10% to avoid overlapping with the sprite

* Modify mispelling

* Added german forms

* Changed Gigadynamax and Unendynamax so it fits at all

* Add partner pikachu and eevee form localization

* Add mimikyu forms localization

* Partner Pikachu, Partner Evoli und Mimikyu Formen hinzugefügt

* Update pokemon-form.ts

* Update partners

* Fix conflicts

* Fix useless ? by flx-sta

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

* Fix switch use by flx-sta

* Fix conflicts

* Please work !!!!!!!

* Update src/locales/fr/pokemon-form.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* Update src/locales/fr/pokemon-form.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* Add pt_br primal localization

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Add pt_br pikachu localization

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Add pt_br castform localization

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Add pt_br 3g localization

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Add zh_cn localization

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>

* Add pt_br other localization

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Add es castform localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es burmy localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es shellos localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es rotom localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es basculin localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es deerling localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es froakie localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es scatterbug localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es furfrou localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es xerneas localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es zygarde localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es pumpkaboo localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es flabebe localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es oricorio localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es minior localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es magearna localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es marshadow localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es sinistea ocalization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es eiscue localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es indeedee localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es rockruff localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es mimikyu localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es zarude localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es squawkabilly localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es tatsugiri localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es gimmighoul localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es poltchageit localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es paldeaTauros localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es primal localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es pikachu localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es partner localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Fix typedocs error

* Fix typedocs error

* cn form prefix added

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>

* Fix german translate error

* Fix typo Zh_CN

Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>

* Update src/locales/es/pokemon-form.ts

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

---------

Co-authored-by: Lugiad <adrien.grivel@hotmail.fr>
Co-authored-by: returntoice <dieandbecome@gmail.com>
Co-authored-by: Mr.WaterT <water.t.works@gmail.com>
Co-authored-by: MrWaterT <87186129+MrWaterT@users.noreply.github.com>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
Co-authored-by: InnocentGameDev <asdargmng@gmail.com>
Co-authored-by: EnochG1 <enoch.jwsong@gmail.com>
Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>
2024-07-07 15:59:39 +01:00
Tempoanon
694616e1e9
[Bug] Fix hard press bp and pp (#2441)
* Fix hard press bp and pp

* Hard Press should have a max bp of 100

* Fix typo for acc

* Add test
2024-07-07 01:44:47 +01:00
Tempoanon
e21b91858b
Change some voucher icons in achievements (#2616) 2024-07-07 01:32:54 +01:00
Frederico Santos
4cd1653186
Merge pull request #2516 from Tempo-anon/ohkoInvertColor
[Accessbility] Remove screen inversion if move animations are off
2024-07-07 01:23:41 +01:00
Madmadness65
9e1980bd8f
Allow Roaming Form Gimmighoul to be caught (#2760) 2024-07-06 11:16:08 -05:00
AJ Fontaine
6f17301aeb
Update TM compatibility for Knock Off (#2762) 2024-07-06 11:14:22 -05:00
Niccolò
6316d08d35
Update battle.ts [Localization(it)] (#2300)
Co-authored-by: EnochG1 <enoch.jwsong@gmail.com>
2024-07-05 19:38:46 -04:00
Niccolò
9ce9cb75b9
Update egg.ts [Localization(it)] (#2299)
Co-authored-by: EnochG1 <enoch.jwsong@gmail.com>
2024-07-05 19:36:59 -04:00
Niccolò
dbba0d410f
Update menu-ui-handler.ts [Localization(it)] (#2298)
Co-authored-by: EnochG1 <enoch.jwsong@gmail.com>
2024-07-05 19:34:02 -04:00
Niccolò
2157b48d41
Update modifier-type.ts [Localization(it)] (#2297)
* Update modifier-type.ts [Localization(it)]

* Update src/locales/it/modifier-type.ts

Co-authored-by: Enoch <enoch.jwsong@gmail.com>

* Update src/locales/it/modifier-type.ts

Co-authored-by: Enoch <enoch.jwsong@gmail.com>

---------

Co-authored-by: Enoch <enoch.jwsong@gmail.com>
2024-07-05 19:30:59 -04:00
innerthunder
9d28fc454d
[Ability] Add ability bar popup for Parental Bond (#2818) 2024-07-05 18:52:58 -04:00
Jannik Tappert
e8036b237c
[Localization] Attack missed text is now localizable and uses the Gen 9 format instead of Gen 4 like before (#2809)
* localize attack missed message (pokemon's attack missed!)

* Update src/locales/de/battle.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* Update src/locales/ko/battle.ts

* Update src/locales/pt_BR/battle.ts

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Update src/locales/fr/battle.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* Localized the attack Missed message so that it now uses the Gen 9 message and no longer the Gen 4 one

* Update src/locales/pt_BR/battle.ts

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Update src/locales/ko/battle.ts

Co-authored-by: Enoch <enoch.jwsong@gmail.com>

* 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/zh_TW/battle.ts

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>

* Update src/locales/es/battle.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* Update src/locales/it/battle.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* Update src/phases.ts

---------

Co-authored-by: EnochG1 <enoch.jwsong@gmail.com>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
2024-07-05 23:29:13 +01:00
Dakurei
7847aa1644
[Enhancement] Fixes sizing and legacy theme problem for bgm-bar (#2603)
* Adds TextStyle for bgm-bar ui

* Makes the ui bgm-bar truly dynamic + cleans up unused code

  + Removes all hard-coded characters from the string to allow for different typographical rules in different languages

* Applies the necessary modifications to locales following the deletion of the hard-coded character to form strings

* Use same style as above + reduce shadow offset

* Creates and loads a resource for the bgm-bar ui

  + Can be redesigned by someone with more talent if needed, since it won't affect the ability bar

* Using the new resource in bgm-bar ui

* Use of more space by default following deletion of the 'noteText' text zone
2024-07-05 20:50:19 +01:00
Tempoanon
0f510996f0
[Bug] Fix strong winds calculation (#2423)
* Fix strong winds calculation

* add unit test

* Add strong winds effect message

* Update src/locales/de/weather.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* Update src/locales/es/weather.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* Update src/locales/fr/weather.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* Update src/locales/it/weather.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* Update src/locales/ko/weather.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

---------

Co-authored-by: torranx <torranicles@gmail.com>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
2024-07-05 19:59:53 +01:00
flx-sta
160a5ce5aa
Revert "[QoL] Summary option when new Pokemon caught and party is full (#2242)" (#2816)
This reverts commit 759e4d0288.
2024-07-05 14:01:11 -04:00
EmberCM
10dd16fa1e
[QoL] Add red color to the quantity if the item is at it's held limit (#2221)
* Add red color to the quantity if the item is at it's held limit

* Add shadow back to option text

* Attempt to fix transfer item crash and add tests for transferring items

* remove .js file extensions from test file imports

* Fix import paths for transfer-item.test
2024-07-05 13:50:19 -04:00
Mumble
759e4d0288
[QoL] Summary option when new Pokemon caught and party is full (#2242)
* Option to view Summary before adding new Pokemon to party

* Fixed issues described by HopsWas

* Adjusted makeRoomForConfirmUi to improve window spacing

* Fixed ESLint issue + addressed OrangeRed review

* Fixed Github pages issue

* Removed duplicate unshiftPhase

* Fixed phase order

---------

Co-authored-by: Frutescens <info@laptop>
2024-07-05 13:46:36 -04:00
Leo Kim
732ce1c330
[Localization] update korean translation on learning move UI (#2810) 2024-07-05 13:38:27 -04:00
flx-sta
c5886bc2a2
[Tests] add unit-tests for battle-stat.ts (#2752)
* add test coverage for battle-stat.getBattleStatName()

* add test coverage for battle-stat

* apply mockI18next() to status-effect.test.ts

* add testUtils jsdocs and optimize imports
2024-07-05 11:30:48 -04:00
Dakurei
42304070a0
Fix typos (#2805) 2024-07-05 10:06:25 +01:00
mercurius-00
a37593826b
[Localization] fix zh-cn typo in party-ui-handler (#2802) 2024-07-05 01:09:48 -04:00
Mumble
25a619708a
[BUG] Magic Guard-Spiky Shield Fix (#2803)
* Added new condition for PostDefendContactAbAttr

* Magic Guard-Spiky Shield interaction fix

---------

Co-authored-by: Frutescens <info@laptop>
2024-07-05 01:06:36 -04:00
sodam
ed80ad4bef
[Localization(ko)] fixed Magma/Galactic name mixup in bgm title (#2800) 2024-07-05 00:41:03 -04:00
Enoch
09ab89a2c3
[Localization(ko)] Translate missed thigs (#2797)
Co-authored-by: 송지원 <jiwsong@gmarket.com>
2024-07-04 23:12:57 -04:00
san98215
359644ee81
[Bug] Updated SacrificialAttrOnHit to account for the move failing (#2792) 2024-07-04 21:51:51 -04:00
José Ricardo Fleury Oliveira
fead078bc5
Localization: Add new translations for party UI handler (#2566)
* Localization: Add new translations for party UI handler

* fixes

* Update src/locales/fr/party-ui-handler.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* Update src/locales/de/party-ui-handler.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* minor fix

* Update src/locales/fr/party-ui-handler.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* Update src/locales/ko/party-ui-handler.ts

Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>

* change order and name of "Do what with this Pokémon?" message

* reverted imports

* update party-ui-handler translations for multiple languages

* Update src/locales/fr/party-ui-handler.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* Update src/locales/de/party-ui-handler.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* Update src/locales/de/party-ui-handler.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* Update src/locales/zh_CN/party-ui-handler.ts

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>

* Update src/locales/ko/party-ui-handler.ts

Co-authored-by: Enoch <enoch.jwsong@gmail.com>

* Update src/locales/ko/party-ui-handler.ts

Co-authored-by: Enoch <enoch.jwsong@gmail.com>

* Update src/locales/ko/party-ui-handler.ts

Co-authored-by: Enoch <enoch.jwsong@gmail.com>

* minor fix

* pt tweak

* Update src/locales/ko/party-ui-handler.ts

Co-authored-by: Enoch <enoch.jwsong@gmail.com>

* Update src/locales/ko/party-ui-handler.ts

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

* Update src/locales/ko/party-ui-handler.ts

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

* Update src/locales/ko/party-ui-handler.ts

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

* Update src/locales/ko/party-ui-handler.ts

Co-authored-by: Enoch <enoch.jwsong@gmail.com>

* Update src/locales/es/party-ui-handler.ts

Co-authored-by: GoldTra <162721984+GoldTra@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: sodam <66295123+sodaMelon@users.noreply.github.com>
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
Co-authored-by: returntoice <dieandbecome@gmail.com>
Co-authored-by: GoldTra <162721984+GoldTra@users.noreply.github.com>
2024-07-04 21:40:11 -04:00
José Ricardo Fleury Oliveira
5ac5850082
Localization: Localize luck indicator text and shiny labels (#2644)
* feat: localize luck indicator text

* Localization: Localize luck indicator text and shiny labels

* Update src/locales/zh_CN/common.ts

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>

* Update src/locales/ko/common.ts

Co-authored-by: Enoch <enoch.jwsong@gmail.com>

* Update src/locales/de/common.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* Update src/locales/es/common.ts

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Update src/locales/fr/common.ts

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: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: InnocentGameDev <asdargmng@gmail.com>
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
2024-07-04 21:34:18 -04:00
José Ricardo Fleury Oliveira
04d456a60e
Localization: Localized Gacha Machine Names (#2645)
* Localization: Localized Gacha Machine Names

* Update src/locales/zh_TW/egg.ts

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>

* Update src/locales/zh_TW/egg.ts

Co-authored-by: Enoch <enoch.jwsong@gmail.com>

* Update src/locales/de/egg.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* Update src/locales/fr/egg.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* Update src/locales/ko/egg.ts

Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>

* Update src/locales/zh_TW/egg.ts

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>

* Update src/locales/zh_CN/egg.ts

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>

* Update src/locales/es/egg.ts

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Update Brazilian Portuguese translation for egg.ts

* added smaller text size option

* update egg.ts translations for German and Brazilian Portuguese

* some updates

* update egg.ts translations for Spanish and Brazilian Portuguese

* Update EggGachaUiHandler to use array.includes for language check

* update German translation for legendary egg gatcha

* Update src/locales/es/egg.ts

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* update translations for egg.ts in Spanish and Brazilian Portuguese

---------

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>
Co-authored-by: InnocentGameDev <asdargmng@gmail.com>
2024-07-04 21:26:56 -04:00
Mumble
2bfefa630b
[Bug] Added new condition for PostDefendContactAbAttr for Magic Guard and Iron Barbs/Rough Skin (#2793)
Co-authored-by: Frutescens <info@laptop>
2024-07-04 18:18:09 -04:00
Lugiad
696d8f27f5
[Localization] modifier-select-ui-handler Locales (#2527)
* Update modifier-select-ui-handler.ts

* Update i18next.d.ts

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update modifier-select-ui-handler.ts

* Update modifier-select-ui-handler.ts

* Update modifier-select-ui-handler.ts

* Update modifier-select-ui-handler.ts

* Update modifier-select-ui-handler.ts

* Update modifier-select-ui-handler.ts

* Update modifier-select-ui-handler.ts

* Update modifier-select-ui-handler.ts

* Update modifier-select-ui-handler.ts

* Update modifier-select-ui-handler.ts

* Update src/locales/ko/modifier-select-ui-handler.ts

Co-authored-by: yun <97648143+ddullgi@users.noreply.github.com>

* Update src/locales/zh_CN/modifier-select-ui-handler.ts

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>

* Update src/locales/de/modifier-select-ui-handler.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* Update config.ts

* Update modifier-select-ui-handler.ts

* Update src/locales/pt_BR/modifier-select-ui-handler.ts

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Update src/locales/es/modifier-select-ui-handler.ts

Co-authored-by: GoldTra <162721984+GoldTra@users.noreply.github.com>

* Update modifier-select-ui-handler.ts [Localization(it)]

* Update src/locales/es/modifier-select-ui-handler.ts

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Adaptive buttons and cursors

* Update modifier-select-ui-handler.ts

* Update modifier-select-ui-handler.ts

---------

Co-authored-by: yun <97648143+ddullgi@users.noreply.github.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: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
Co-authored-by: GoldTra <162721984+GoldTra@users.noreply.github.com>
Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>
Co-authored-by: InnocentGameDev <asdargmng@gmail.com>
Co-authored-by: hjh <j1441257360@163.com>
2024-07-04 16:40:54 -04:00
Lugiad
aeb0e0470a
[Localization] Update French dialogues + typos in general (#2724)
* Update dialogue.ts

* Update dialogue.ts

* Update dialogue.ts

* Update dialogue.ts

* Update dialogue.ts

* Update dialogue.ts

* Update dialogue.ts

* Update dialogue.ts

* Update dialogue.ts

* Update dialogue.ts

* Update src/locales/fr/dialogue.ts

Co-authored-by: Dakurei <maxime.palanchini@gmail.com>

* Update src/locales/fr/dialogue.ts

Co-authored-by: Dakurei <maxime.palanchini@gmail.com>

* Update src/locales/fr/dialogue.ts

Co-authored-by: Dakurei <maxime.palanchini@gmail.com>

* Update src/locales/fr/dialogue.ts

Co-authored-by: Dakurei <maxime.palanchini@gmail.com>

* Update src/locales/fr/dialogue.ts

Co-authored-by: Dakurei <maxime.palanchini@gmail.com>

* Update src/locales/fr/dialogue.ts

Co-authored-by: Dakurei <maxime.palanchini@gmail.com>

* Update src/locales/fr/dialogue.ts

Co-authored-by: Dakurei <maxime.palanchini@gmail.com>

* Update src/locales/fr/dialogue.ts

Co-authored-by: Dakurei <maxime.palanchini@gmail.com>

* Update src/locales/fr/dialogue.ts

Co-authored-by: Dakurei <maxime.palanchini@gmail.com>

* Update src/locales/fr/dialogue.ts

Co-authored-by: Dakurei <maxime.palanchini@gmail.com>

* Update dialogue.ts

* Update modifier-type.ts

* Update starter-select-ui-handler.ts

* Update pokemon-info.ts

* Update menu-ui-handler.ts

* Update berry.ts

* Update status-effect.ts

---------

Co-authored-by: Dakurei <maxime.palanchini@gmail.com>
2024-07-04 16:38:19 -04:00
flx-sta
538cb3eb5c
[QoL][Refactor] replace -1 with RELEARN_MOVE and 0 with EVOLVE_MOVE (#2779)
* replace `-1` and with `RELEARN_MOVE` and `0` with `EVOLVE_MOVE`

* add documentation for RELEARN_MOVE & EVOLVE_MOVE

* Update src/data/pokemon-level-moves.ts
2024-07-04 14:31:43 -04:00
sodam
aadaafba9d
[Localization] punctuation fix in descriptions in korean modifier-type.ts (#2789) 2024-07-04 14:03:01 -04:00
mercurius-00
dac3f76979
[Localization] fix line break for zh-cn moves (#2786) 2024-07-04 01:22:17 -04:00
Xavion3
49e5ad764c
Let eternatus keep stat changes when changing form (#2728) 2024-07-03 23:28:02 -05:00
José Ricardo Fleury Oliveira
a6091de5df
Update translation for "Lax" to "Frouxa" (#2784) 2024-07-03 22:53:14 -05:00
Xavion3
f4a1c83a7d
Fix several incorrect movesets (#2776) 2024-07-03 22:37:23 +02:00
Frederico Santos
e42c329adf
[Beta] Add deployment workflow for beta environment (#2595)
* feat: Add deployment workflow for beta environment

This commit adds a new GitHub Actions workflow file, deploy-beta.yml, which is responsible for deploying the application to the beta environment. The workflow is triggered on push and pull request events. It checks if the repository is 'pagefaultgames/pokerogue' before running the deployment steps. The deployment includes checking out the code, setting up the Node.js environment, installing dependencies, building the application, setting up SSH for secure communication, deploying the build on the server using rsync, and purging the Cloudflare cache. The deployment is only performed when the push event is triggered on the default branch.
It also changes the deploy.yml workflow to be triggered only when a release is generated.

* feat: Update deployment workflow for beta environment

* Update deploy-beta name

* chore: Update deploy-beta.yml to use 'f-fsantos:beta-environment' as the ref name

* chore: Update deploy-beta.yml to use 'f-fsantos:beta-environment' as the ref name

* chore: Update deploy-beta.yml to use '2595/merge' as the ref name

* chore: Update deploy-beta.yml to include event name in deployment message

* chore: Update deploy-beta.yml to use 'pull_request' event and '2595/merge' as the ref name

* chore: Update deploy-beta.yml to include SSH public key

* chore: Update deploy-beta.yml to include SSH public key

---------

Co-authored-by: Temps Ray <temps.ray@gmail.com>
2024-07-03 16:01:32 -04:00
AJ Fontaine
34058a57ed
Don't apply Classic bonus to friendship decreases (#2552) 2024-07-03 14:36:00 -05:00
Xavion3
ef5a29f9b2
Implement support for relearner only moves (#1667)
Currently only used by Zangoose
2024-07-03 21:13:25 +02:00
innerthunder
126174efe4
[Bug] Fix Grip Claw sometimes stealing from the wrong enemy (#2766)
* Fix Grip Claw stealing from the wrong enemy

* Document held item transfer modifiers
2024-07-03 14:48:41 -04:00
Adrian T
dad065cbae
[Ability] Fully Implement Steely Spirit (#2749)
* implement steely spirit

* add unit test

* cleanup

* cleanup and add another test
2024-07-03 12:55:39 -04:00
innerthunder
4c4e2bc792
[Bug] Fix evasion multiplier in hit check (#2765)
* Fix evasion multiplier in hit check

* Make Sand Veil test more future-proof
2024-07-03 12:49:12 -04:00
flx-sta
cc36cdb1a8
[Tests] add unit tests for accounts (#2748)
* add unit tests for accounts

* only import from vitest (not node:test)

* resolve comments

* improve test coverage for accounts.updateUserInfo

* add test coverage for account.initLoggedInUser()

* code style improvements
2024-07-02 22:00:44 -04:00
ReneGV
b16bd89f17
[bug][ui] Fix eternatus candy count and display hatched egg count (#2761)
* Display eternatus eggs

* Trigger Build
2024-07-02 21:54:59 -04:00
hayuna
13b23289d1
[Bug] Fix incorrect move effectiveness (#2757)
* Fix incorrect move effectiveness

* Casting variable should be enough
2024-07-02 12:20:45 -04:00
Amani H
6da5d9d6aa
[Bug] Thief Interaction with Species Stat Boosters (#2747) 2024-07-02 10:31:28 -04:00
schmidtc1
df18dd885d
[Bug] Adjusts bug bite/pluck to remove berry pouch preservation on opponent berries (#2047)
* Adjusts bug bite functionality when stealing from opponent with three berry pouches

* Adjusts bug bite functionality when stealing from opponent with three berry pouches

* Adjusts bug bite to remove berry pouch preservation on opponent berries

* Remove Promise<Boolean> where unnecessary

Leftover code removed from previous testing of the EatBerryAttr class.

* Remove undefined check on chosenBerry

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

* Update StealEatBerryAttr if-clause readability

Decrementing inside of an if-clause removed for readability. Changed to check: if count is 1, then remove modifier.

* Localization of StealEatBerryAttr battle message

* Fixes berry incrementing after improper adjustment to readability

* Fixes berry decrementing after improper adjustment to readability

* Update battle.ts

* Update src/locales/fr/battle.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* Update battle.ts properly

Incorrectly added localization in previous commit

* Remove unnecessary space

* Update src/locales/ko/battle.ts

I do not have experience with Korean, so this may need other review.

Co-authored-by: Enoch <enoch.jwsong@gmail.com>

* Rewrites EatBerryAttr to combine with StealEatBerryAttr

* Removes excess lines

* Revert and refactor StealEatBerry and EatBerryAttr

* Refactor for early returns instead of nesting

---------

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
2024-07-02 10:28:38 -04:00
Enoch
0bc4f26b9d
[Localization] localized status-effect.ts and translate. (#2528)
* make postposition not to dynamic for localize

* localize status-effect.ts

* added test code, modified english postposition, modifed toxic_orb test to make it always fix in English.

* Update src/locales/zh_CN/status-effect.ts

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>

* Update src/locales/fr/status-effect.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* Update src/locales/de/status-effect.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* Update src/locales/de/status-effect.ts

* added test code for check message key

* remove multi-language tests (except english)

* Update src/locales/pt_BR/status-effect.ts

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* remove language and change test code to check method call and parameter

* Update src/locales/es/status-effect.ts

Co-authored-by: GoldTra <162721984+GoldTra@users.noreply.github.com>

* Update src/locales/en/status-effect.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* Apply review suggestion

* Update src/locales/es/status-effect.ts

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Update src/locales/es/status-effect.ts

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

Update src/locales/es/status-effect.ts

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

Update src/locales/es/status-effect.ts

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

Update src/locales/es/status-effect.ts

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

Update src/locales/es/status-effect.ts

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

Update src/locales/es/status-effect.ts

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

Update src/locales/es/status-effect.ts

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

Update src/locales/es/status-effect.ts

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

Update src/locales/es/status-effect.ts

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

Update src/locales/es/status-effect.ts

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

Update src/locales/es/status-effect.ts

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

Update src/locales/es/status-effect.ts

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

Update src/locales/es/status-effect.ts

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

Update src/locales/es/status-effect.ts

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

Update src/locales/es/status-effect.ts

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Update src/locales/es/status-effect.ts

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* add Test with empty string parameter

* Update src/locales/es/status-effect.ts

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Update src/locales/fr/status-effect.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

---------

Co-authored-by: 송지원 <jiwsong@gmarket.com>
Co-authored-by: Yonmaru40 <47717431+40chyan@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>
Co-authored-by: GoldTra <162721984+GoldTra@users.noreply.github.com>
Co-authored-by: InnocentGameDev <asdargmng@gmail.com>
2024-07-02 10:22:46 -04:00
José Ricardo Fleury Oliveira
302ed8c1f1
Localization (pt): Added missing translations (#2745)
* Localization (pt): Updated missing translations

* fix line break
2024-07-02 01:59:16 -05:00