Felix Staud
78cbc22693
myst. chest enc.: remove manual game-over check
2024-07-17 10:11:34 -07:00
Felix Staud
a862dabcd1
optimize handleMysteryEncounterVictory
2024-07-17 10:10:40 -07:00
Felix Staud
6451eb8049
lost-at-sea enc.: add fainted
msg display
2024-07-17 09:54:02 -07:00
Felix Staud
274ff21943
add game-over handling to encounter-phase.-utils
...
it now checks initially if all allowed pokemon are fainted
2024-07-17 09:53:27 -07:00
Felix Staud
cd1bed3ab1
lost at sea enc.: add outro. add fainted msgs
2024-07-17 08:52:43 -07:00
Felix Staud
beb13c8361
fix types in myster-encounter-phase.ts
2024-07-17 08:43:55 -07:00
flx-sta
c978e348b7
Apply suggestions from code review
...
Co-authored-by: Asdar <asdargmng@gmail.com>
2024-07-17 08:06:36 -07:00
Felix Staud
7653cffb5f
Merge branch 'mystery-battle-events' into event/getting-lost-at-the-sea
2024-07-16 21:40:48 -07:00
Felix Staud
4452356555
fix buoy sprite placement
2024-07-16 21:36:56 -07:00
Felix Staud
613c13c419
use buoy sprite in lost-at-sea encounter
2024-07-16 21:34:05 -07:00
Felix Staud
04da4516b4
finish lost-at-sea-encounter.test.ts (for now)
2024-07-16 21:27:35 -07:00
ImperialSympathizer
09a3167bac
add fiery storm animation for fiery fallout
2024-07-16 22:51:40 -04:00
Felix Staud
b26cffc49e
WIP: working on lost-at-sea-encounter tests
2024-07-16 19:45:24 -07:00
Felix Staud
5cded35e36
minor changes to encounterTestUtils.ts
2024-07-16 17:04:29 -07:00
Felix Staud
233f6072d6
chore: remove .js from imports
2024-07-16 16:42:53 -07:00
Felix Staud
fa02f84448
use encounterTestUtils.ts
2024-07-16 16:41:53 -07:00
Felix Staud
94e43e633c
add encounterTestUtils.ts
2024-07-16 16:41:47 -07:00
Felix Staud
391054c8e0
extend overridesHelper
2024-07-16 16:41:30 -07:00
Felix Staud
944197330c
fix can-learn-move-requirement getAllPokemonMoves
2024-07-16 15:31:42 -07:00
Felix Staud
7a15a0f81e
add lost-at-sea option 3 phase check full test
2024-07-16 15:17:48 -07:00
Felix Staud
af989fdaa6
add testUtils.workaround_reInitSceneWithOverrides()
2024-07-16 15:17:26 -07:00
Felix Staud
cb4162252c
add overrides helper to gameManager
2024-07-16 15:17:04 -07:00
Felix Staud
75bf80cbad
WIP: add lost-at-sea-encounter.test.ts
...
added a couple of easy tests and 1 int/e2e for option3
2024-07-16 11:36:45 -07:00
Felix Staud
5aceff6d6c
chore: format can-learn-move-requirement.ts
2024-07-16 10:46:39 -07:00
Felix Staud
a7eb972d9e
ui.getHandler() add generic type with default
...
https://www.typescriptlang.org/docs/handbook/2/generics.html#generic-parameter-defaults
2024-07-16 10:46:07 -07:00
ImperialSympathizer
e10a9caddc
commit changes
2024-07-15 21:45:33 -04:00
Felix Staud
d73bf1e81d
remove ".js" in imports
2024-07-15 15:16:23 -07:00
Felix Staud
8cd5f34b0c
lost at sea enc.: reduce dmg to 25%
2024-07-15 13:59:04 -07:00
Felix Staud
6ac54def30
re-add lost utiltiy methods:
...
- applyHpChangeToPokemon
- applyDamageToPokemon
- applyHealToPokemon
- koPlayerPokemon
2024-07-15 13:45:25 -07:00
ImperialSympathizer
1a95f06795
implement max spawns per run for individual encounters, tweak spawn rates
2024-07-15 14:01:47 -04:00
Felix Staud
f2031c78e9
Merge branch 'mystery-battle-events' into event/getting-lost-at-the-sea
2024-07-15 10:31:43 -07:00
ImperialSympathizer
23f6fb17a4
add art issues form and remove some leftover beta branch poison
2024-07-15 12:56:58 -04:00
ImperialSympathizer
e1bb1e2481
clean up safari code and utils
2024-07-15 12:36:10 -04:00
Felix Staud
e2c431b913
polish lost at sea encounter
...
- fix guide pokemon not receiving exp
2024-07-14 21:32:22 -07:00
Felix Staud
9208fd226b
RESET OVERRIDES.TS!!
2024-07-14 21:31:43 -07:00
ImperialSympathizer
da0aea0d1e
safari encounter and sprite offset positioning updates
2024-07-14 17:37:03 -04:00
ImperialSympathizer
43ebff59a4
Merge branch 'mystery-battle-events' of https://github.com/InnocentGameDev/PokeRogue-Events into multiple-query-encounter
2024-07-12 21:11:26 -04:00
Felix Staud
7b55811b84
apply surf & fly condition (not water & flying)
2024-07-12 14:55:52 -07:00
Felix Staud
0cb4e53861
undo some MysterEncounterOptionBuilder changes
2024-07-12 14:50:32 -07:00
Felix Staud
b23664cb9e
extend MysteryEncounterOptionBuilder
2024-07-12 14:40:47 -07:00
Felix Staud
c4e3a28585
Merge branch 'mystery-battle-events' into event/getting-lost-at-the-sea
2024-07-12 14:38:40 -07:00
ImperialSympathizer
4097d49adc
add an optional disabled button label
2024-07-12 17:36:59 -04:00
ImperialSympathizer
a72e76b6fd
safari zone
2024-07-12 17:33:55 -04:00
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
Jannik Tappert
fd54212b76
Added missing german translation ( #2742 )
2024-07-01 14:47:47 -04:00
mercurius-00
db27fd6336
[Localization]Fix line break for zh-cn abilities ( #2737 )
...
* fix line break for zh-cn abilities
fix line break for zh-cn abilities
* add newline
add newline
2024-07-01 11:06:03 -04:00
Yonmaru40
7d07755718
[Localization] various zh_cn translation fix (7-1) ( #2734 )
...
* Update ability-trigger.ts
* Update ability.ts
* Update battle.ts
* Update bgm-name.ts
* Update challenges.ts
* Update dialogue.ts
* Update modifier-type.ts
* Update modifier-type.ts
* Update move.ts
* Update move.ts
* Update pokemon-info.ts
* Update pokemon-info.ts
* Update splash-messages.ts
* Update starter-select-ui-handler.ts
* Update bgm-name.ts
* Update splash-messages.ts
* Update src/locales/zh_CN/battle.ts
级 → Lv.
* Update src/locales/zh_CN/modifier-type.ts
Co-authored-by: RimKnight <rimknight852@gmail.com>
* Update src/locales/zh_CN/modifier-type.ts
Co-authored-by: RimKnight <rimknight852@gmail.com>
* Update splash-messages.ts
---------
Co-authored-by: RimKnight <rimknight852@gmail.com>
2024-07-01 00:13:12 -04:00
innerthunder
f4c8f0080a
[Bug] Add user Pokemon check to multi-hit early stopping ( #2726 )
2024-06-30 15:21:23 -04:00
Franck TROUILLEZ
53ef64f61b
Revert "Allow to auto-bump the version and show version in title ( #2307 )" ( #2723 )
...
This reverts commit 1583fdc4cb
.
2024-06-30 13:11:01 +02:00
Franck TROUILLEZ
1583fdc4cb
Allow to auto-bump the version and show version in title ( #2307 )
2024-06-30 13:03:05 +02:00
innerthunder
284c3c628b
[Unittest] Remove random berry effects from PBond tests ( #2715 )
2024-06-29 21:48:05 -04:00
innerthunder
d278df8fef
[Bug] Fix multi-hit moves persisting after sleep/freeze ( #2712 )
2024-06-29 17:30:10 -04:00
EmberCM
6cba5acfd0
[QoL] Remove money modifiers from last wave of classic ( #2714 )
2024-06-29 17:28:15 -04:00
innerthunder
a48429de09
[Bug] Fix Make It Rain applying stat change twice after KO'ing both opponents ( #2696 )
...
* Revert Make It Rain stat change behavior
* ESLint
* Add double KO unit test
2024-06-29 13:59:26 -04:00
NightKev
b82c85899e
[Unittest] Add tests for Tidy Up ( #2667 )
2024-06-29 13:56:38 -04:00
chaosgrimmon
bc94858c40
[Sprite] Fixes Busted Mimikyu variants and icons; Fixes #2683 ( #2690 )
...
* [Sprite] Gives Disguised form explicit identifier
`null` defaults to `disguised`, as is desired.
* [Sprite] Renamed Disguised form has exp sprites
* [Sprite] Add Busted Mimikyu to masterlist
* Rename static non-shiny front 778.png to 778-disguised.png
* static non-shiny front
* exp non-shiny front
* static non-shiny back
* exp non-shiny front
* static non-shiny back
* static shiny front
* static shiny front
* non-shiny icon
* exp non-shiny back
* shiny icon
* static var front
* exp non-shiny back
* exp shiny front
* exp shiny front
* exp shiny back
* static shiny back
* exp var front
* static var back
* Delete public/images/pokemon/variant/exp/778_3.png
* Delete public/images/pokemon/variant/exp/778_3.json
* exp shiny back
* exp shiny back
* rare icon
* epic icon
* exp var back
* static var front BUSTED
* static var back BUSTED
* exp var front BUSTED
* exp var back BUSTED
* [Sprite] Static Mimikyu Busted sprite fix
Fixes eyeholes on torso
* [Sprite] Exp Mimikyu sprite fixes
Fixes eyeholes on torsos
* Trim static shiny front sprite size
Addresses issue #2683
* [Sprite] Match static shiny Disguised w non-shiny
Addresses issue #2683
2024-06-29 13:54:02 -04:00
ReneGV
2dd8aaf31a
[miscellaneous] Create single variable for max pokeballs ( #2698 )
...
* Configure max pokeballs
* Rename variable
2024-06-29 13:52:30 -04:00
ReneGV
fd586ecd8e
[Bug] Fix purify ( #2697 )
2024-06-28 20:59:06 -04:00
Madmadness65
15671a6922
Add new custom biome music by Firel ( #2681 )
2024-06-28 11:26:06 -05:00
NightKev
924ee17f70
[Unittest] Fix mocked value in Volt Absorb test ( #2685 )
2024-06-28 12:13:25 -04:00
AJ Fontaine
96f72eae2f
[QoL] Don't offer ball rewards when you have max in Classic mode ( #1677 )
...
* Don't offer ball rewards past floor 189
* Remove balls from reward pool when you have max
* Change only applies to classic
* Function to weigh the player's balls
* Documented hasMaxBalls function
* More specific comment
2024-06-28 12:11:52 -04:00
José Ricardo Fleury Oliveira
cd73c37d4b
[Localization(pt)] Fixed translation inconsistencies for critical hit messages ( #2676 )
2024-06-28 10:33:06 -04:00
chaosgrimmon
51a107f1cf
[Sprite] Implement female Pyroar icon ( #2682 )
2024-06-28 10:15:04 -04:00
Madmadness65
d4856c34f1
Fix minor BGM title typos
...
"Marowak Dojo" was missing the "k" in their names.
2024-06-27 23:56:41 -05:00
NightKev
784035b6f5
[Unittest] Prevent berries from interfering with Dry Skin tests ( #2679 )
2024-06-28 00:55:09 -04:00
flx-sta
d5b1459422
[Docs] add some inline docs for boss segments logic ( #2678 )
2024-06-27 23:20:42 -04:00
mercurius-00
4f9bd85f57
[QoL] Add line break for chinese TM item name ( #2677 )
...
Add line break for chinese TM item name
2024-06-27 23:04:55 -04:00
Kang Jisoon
c9c1249995
[Localization] Quickdraw message to Korean ( #2650 )
...
* Update Localization ko quickDraw
* Add newline character
2024-06-27 22:34:07 -04:00
Lugiad
044b3bd9ab
Update French bgm-name.ts Update ( #2673 )
2024-06-27 19:29:26 -05:00
Madmadness65
67a21b8a94
[Enhancement] Add battle music for Koraidon & Miraidon ( #2654 )
...
* Add battle music for Koraidon & Miraidon
* German track title
2024-06-27 18:59:24 -05:00
Madmadness65
bacd5e939b
Fix Xerneas not changing from Neutral form ( #2669 )
2024-06-27 18:58:45 -05:00
flx-sta
384f6e1fee
[Bug] add flag to know if pokemon was populated from data-source to fix boss segments for endless double bosses ( #2672 )
...
also reverted previous change as this was breaking for non-session-restored fights
2024-06-27 19:55:27 -04:00
innerthunder
b2048148c9
[Bug] Fix Make It Rain not applying effect on KO ( #2670 )
2024-06-27 19:52:13 -04:00
mercurius-00
aa0d01f419
Add chinese splash text ( #2656 )
2024-06-27 18:24:49 -05:00
Jannik Tappert
68cd98042e
Evil Team Dialogue is no longer cut off ( #2659 )
...
* Giovannis Dialogue is no longer cut off in english
* Fixed the rest of the evil team dialogue
* Update src/locales/en/dialogue.ts
* Update French dialogue.ts
* Update French dialogue.ts
---------
Co-authored-by: Lugiad <adrien.grivel@hotmail.fr>
2024-06-27 16:40:13 -04:00
José Ricardo Fleury Oliveira
5ec8bf1620
Localization: Localized error message for server connection issue ( #2598 )
...
* Localization: localized error message for server connection issue
* forgor about the portuguese translation
* Update src/locales/fr/menu.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* switched the chinese and portuguese translations
* Update src/locales/de/menu.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* Update src/locales/zh_CN/menu.ts
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* Update src/locales/ko/menu.ts
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
* updated pt translation
* last german fix
* Update src/locales/es/menu.ts
Co-authored-by: Arxxer <javiptn7@gmail.com>
---------
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@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: Arxxer <javiptn7@gmail.com>
2024-06-27 15:33:58 -04:00
innerthunder
e521862096
[Bug] Fix Make It Rain applying effects for each target ( #2664 )
...
* Fix Make It Rain applying effects for each target
* Revert MoneyAttr change
* Remove RNG from parental bond tests
2024-06-27 15:21:24 -04:00
innerthunder
0d25b2332a
[Bug] Fix multi-hit frenzy moves permanently locking the user ( #2662 )
2024-06-27 13:33:43 -04:00
Adam Clemons
d8129dae7d
[Bug} Fix Tidy Up buff (for real this time) ( #2649 )
...
* Fix Tidy Up buff
* Force pipe rerun...
* Remove whitespace
---------
Co-authored-by: Tempoanon <163687446+Tempo-anon@users.noreply.github.com>
2024-06-27 12:37:57 -04:00
flx-sta
eb77927d4b
[Bug] Fix Tidy-Up boosting stats multiple times right now ( #2652 )
...
only apply if user id equals target id. This is necessary because of the which is necessary for clearing the arena traps
2024-06-27 09:54:36 -04:00
chaosgrimmon
b9fd4273c9
[Bug] More non-contacting physical moves ( #2660 )
...
Fixes Raging Fury, Barb Barrage, and Triple Arrows.
2024-06-27 09:37:17 -04:00
innerthunder
f9d8bd6e7d
[Bug] Fix Parental Bond multiplier sometimes applying during first strike ( #2653 )
2024-06-27 01:59:57 -04:00
NightKev
23a1c461a9
[unittest] Remove more RNG from Dry Skin tests ( #2647 )
2024-06-27 01:06:16 -04:00
innerthunder
e477fccaab
[Bug] Fix multi-hit early stopping ( #2648 )
2024-06-27 00:41:31 -04:00
Smewkie
996568ef5b
[Bug] Make it Rain interaction with Multi-Lens ( #2638 )
...
Changes make it rain to provide stat changes whenever the move hits multiple times, ie with Multi Lens.
2024-06-26 22:38:31 -04:00
Amani H
0e994a7072
Fix Stat Booster Held Items Applying to Party ( #2637 )
2024-06-27 03:17:22 +01:00
NightKev
8933a9bb05
[Test] Prevent RNG from breaking Dry Skin tests ( #2630 )
2024-06-26 21:39:35 -04:00
innerthunder
55dd6b5100
[Bug] Fix Multi-Lens/PBond interaction for spread moves ( #2633 )
2024-06-26 21:05:03 -04:00
damocleas
0d3cd8ab96
[Balance] Quick Adjustments to Rogue Tier Items ( #2634 )
2024-06-26 19:02:48 -05:00
José Ricardo Fleury Oliveira
4186bd651b
Localization (pt): Added new items' translations ( #2627 )
...
* added new items' translations
* forgor
2024-06-26 17:30:38 -05:00
Dmitriy K
576f099243
[Test] Optimize Quick Draw tests ( #2625 )
...
* optimize the tests
* add level override in favor of directly changing stats
2024-06-26 17:01:14 -04:00
innerthunder
cd92d4d7d3
[Ability] Implement Parental Bond ( #2384 )
...
* Parental Bond basic implementation
* Parental Bond unit tests
* ESLint
* PBond AbAttr rework, documentation, and multi-target unit tests
* Update post-target move attribute logic
For Parental Bond interaction.
* AddSecondStrikeAbAttr now uses Constructor util
* Unit tests for PBond + Multi-Lens interaction
* Remove random damage spread in unit test
* Add null checks to PBond AbAttr
* Set player pokemon for unit test
* Fixed Post Target check to account for KO's
* Fix multi-strike moves applying effects at wrong times
* Test cases for updated effect timing
* Add Wake-Up Slap test case
* Fix Fury Cutter/Echoed Voice multi-hit interaction
* Fix Pay Day, Relic Song, and Fury Cutter (again)
* Add early stopping to multi-hit moves
* RecoilAttr now uses lastHitOnly
* Add faint check to last hit logic
2024-06-26 16:03:14 -04:00
Amani H
f7f8988cdb
[Item] Add Light Ball, Thick Club, Metal Powder, and Quick Powder ( #1899 )
...
* Add Light Ball, Thick Club, and Metal/Quick Powder
* Fix Typo, Account for Fusions
* Fix Errors with Fusions
* Group Items into Generator
* Refactor Generator and Type, Fix Localization (en)
* Adjust Generator, Add Override Type
* Fix Enum Import
* Localize for de, es, fr, it, ko, zh_CN, zh_TW
* Add Unit Tests
* Add Type
* Fix Items Atlas
* Change Cubone Passive Ability, Adjust Weight
2024-06-26 13:48:10 -05:00
flx-sta
74a7b1bb79
[Bug] fix boss-segment reload persistence: ( #2613 )
...
add boss-segments to into pokemon-data & load it in EnemyPokemon constructor
2024-06-26 13:19:24 -04:00
damocleas
29283d81a0
[Balance] General Item Weight Adjustments ( #1901 )
...
* [Balance] General Item Weight Adjustments
* temporarily reduce Voucher Plus to 4 -> 2 -> 0 weighting per reroll
* Ultra Ball 12 -> 14
* Various Adjustments
* Various Adjustments to Ultra and Rogue Tier
Super Exp Charm 10 -> 9
Soul Dew 8 -> 7
Big Nugget 10 -> 12
TM Ultra 12 -> 11
Attack Type Booster 10 -> 9
* fixed map conflict
* Voucher Plus 4 -> 3
* Made Form Change Items have scaled weight by wave count.
2024-06-26 12:14:53 -05:00
Tempoanon
f8a15570fa
Fix 2 typos in Cyrus and Lucian en dialogue ( #2611 )
2024-06-25 22:10:55 -05:00
Enoch
70e1a38403
[Localization] localize reward message (You received ~) ( #2556 )
...
* localize reward message (You received ~)
* Update src/locales/zh_CN/battle.ts
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* Update src/locales/es/battle.ts
Co-authored-by: GoldTra <162721984+GoldTra@users.noreply.github.com>
* 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/fr/battle.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: GoldTra <162721984+GoldTra@users.noreply.github.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: Lugiad' <adrien.grivel@hotmail.fr>
2024-06-25 22:13:43 -04:00
Tempoanon
7e3ff28eaa
Add flooring to ReceivedMoveDamageMultiplierAbAttr ( #2606 )
...
* Add flooring to ReceivedMoveDamageMultiplierAbAttr
* Fix merge conflicts for real
2024-06-26 01:08:03 +01:00
Teju Rajbabu
6046b9bfae
[Bug] fixed persistent shinyIcon bug ( #2605 )
2024-06-25 18:20:40 -04:00
Teju Rajbabu
d2e97979bd
[Bug] Add back saved loadout info ( #2604 )
2024-06-25 17:25:03 -04:00
Adrian T
fd08983181
[Ability] fix damage taken by disguise ( #2601 )
2024-06-25 15:32:45 -04:00
Tempoanon
eae2d0a144
[Bug] Fix typo in encore ( #2499 )
...
* Fix typo in encore
* I actually did forget the French typo
2024-06-25 19:18:05 +01:00
Teju Rajbabu
c8db3bff4c
[QOL] UI Improvement - Shiny Icon ( #2372 )
...
* Test changes to change variant label color based on Tint
* Revert "Test changes to change variant label"
This reverts commit 0ad0f62930
.
* minimal recovery changes
* Finalized recovery and implemented ShinyIcon
* add setY in MockSprite
* added back some unintentional removed code
* added shiny_icons
* Initial test for tier change
* implemented Shiny Icon full functionality
* slight setY change for non-Base starters
2024-06-25 13:48:48 -04:00
Hugo Tembremande
8f7f46c6f2
[Localization] Correction of a typo in a french dialogue ( #2597 )
...
* [Localization] Correction of a typo in a french dialogue
* fix: typo when playing female char
2024-06-25 13:46:13 -04:00
Corrade
e70113073f
[Bug] Fix Dry Skin and ReceivedMoveDamageMultiplierAbAttr abilities ( #2592 )
...
* Dry skin and ReceivedMoveDamageMultiplierAbAttr bug fix: first cut
* Dry skin and ReceivedMoveDamageMultiplierAbAttr bug fix: removed redundant branch
* Dry skin and ReceivedMoveDamageMultiplierAbAttr bug fix: reworded test cases that had typos anyway
* Dry skin and ReceivedMoveDamageMultiplierAbAttr bug fix: renamed PreDefendMovePowerToOneAbAttr (Disguise) to mention damage rather than power
* Dry skin and ReceivedMoveDamageMultiplierAbAttr bug fix: renamed powerMultiplier to damageMultiplier in ReceivedMoveDamageMultiplierAbAttr
2024-06-25 13:23:48 -04:00
sodam
ea510571d4
[Localization] #1761 Korean trainer dialogue (for 3, 7, 9th Elite-4&Champions) ( #2594 )
...
* localized elite-4 in hoenn
* added steven's (hoenn champion)
* Update dialogue.ts
* added champion's (8th, 9th)
* added elite-4 (in Alola)
2024-06-25 11:41:15 -04:00
Proxymyr
0320ea3bfa
[Localization(fr)] Fixed typo in infatuation message ( #2596 )
2024-06-25 11:09:21 -04:00
sirzento
79d29bae85
[BUG] Egg pity should take owned eggs into account if rolled for species ( #2584 )
...
* Fixed Bug that causes multiple pity eggs in a row
* Bugfix that eggpity wont be increased if pokemon is not cought but exists as an egg
2024-06-25 10:19:24 -04:00
Puchimono
8e6cbad3fc
[Bug] Legendary pull rate fix from Leg. up machine ( #2587 )
2024-06-25 10:14:28 -04:00
José Ricardo Fleury Oliveira
dc64c32470
localization: added eviolite for pt_br ( #2590 )
2024-06-25 10:09:41 -04:00
Yonmaru40
d1c081e501
[Localization] various zh_cn translation fix 6/25 ( #2585 )
...
* Update ability-trigger.ts
* Update battle.ts
* Update bgm-name.ts
* Update egg.ts
* Update achv.ts
* Update menu-ui-handler.ts
* Update menu.ts
* Update starter-select-ui-handler.ts
* Update starter-select-ui-handler.ts
* Update dialogue.ts
* Update trainers.ts
* Update bgm-name.ts
* Update bgm-name.ts
* Update menu-ui-handler.ts
* missing comma
* Update dialogue.ts of Hassel
* Update trainers.ts trailing spaces
2024-06-25 10:05:55 -04:00
flx-sta
3e5ef3e3fb
[Bug] add playerfiled length check for score determination ( #2583 )
2024-06-25 00:15:11 -04:00
Madmadness65
bbc07e22bf
Add evil team music ( #2582 )
2024-06-24 22:51:13 -05:00
Tempoanon
dea8e9fa94
Slight tweak to evil boss teams ( #2580 )
2024-06-24 21:52:09 -05:00
InnocentGameDev
dd7fc7268c
[Localization] dialogue translations for ES for Evil Teams ( #2581 )
2024-06-24 22:02:01 -04:00
Amani H
136652caa9
[Item] Implement Eviolite Behavior ( #2161 )
...
* Add Eviolite with Unit Tests
* Localize for de, es, fr, it, ko, zh_CN, zh_TW
* Adjust German Localization
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* Adjust Italian Localization
* Change Multiplier Type
* Adjust Unit Test Import
* Change Constructor
* Make Unit Tests Localized
* Comment Out of Reward Pool
---------
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
2024-06-24 21:00:59 -05:00
damocleas
ec91d2453a
[Balance] Protean / Libero changed to Gen 6-8 Implementation ( #2473 )
...
* Protean / Libero changed to Gen 6-8 Implementation
* take 2
* please just work
* Update protean.test.ts
* Update libero.test.ts
2024-06-24 20:58:50 -05:00
Lugiad
3d43b50c35
[Localization] French Evil Team dialogues ( #2578 )
...
* Update French dialogue.ts
* Update dialogue.ts
2024-06-24 21:53:07 -04:00
AJ Fontaine
02cdfc0a7b
Allow gen 8/9 mons to learn Double Team, Hidden Power, Return and Frustration by TM ( #2531 )
2024-06-24 20:22:17 -05:00
Tempoanon
072755989c
[Feature] Implement evil teams ( #2028 )
...
* waveIndex trainer team config generatoin is cursed
* Updated grunt pools
* Removed a comma that was bothering me
* Add locales for es, fr, it, pt, zh for translators
* Update src/locales/zh_CN/dialogue.ts
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* Fix lint issue
* Update src/locales/pt_BR/dialogue.ts
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
* Last min team tweaks
---------
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
2024-06-24 20:00:30 -04:00
Adrian T
2bab7d3778
[Bug] Fix trainer double battle crash ( #2573 )
...
* fix double battle crash
* remove !
* fixes crash on double battle
2024-06-24 17:32:21 -04:00
Adrian T
71299a731c
[Bug] Eiscue changing form regardless of previous form on arena reset ( #2572 )
...
* fix eiscue (again)
* hardcode eiscue check
2024-06-24 17:05:24 -04:00
José Ricardo Fleury Oliveira
587ee7e103
Localization: Fixed typo in party-ui-handler.ts "addedAsAStarter" ( #2571 )
2024-06-24 16:59:17 -04:00
Adrian T
bc5de8810b
[Bug] fix noice crashing on arena reset ( #2568 )
2024-06-24 15:00:20 -04:00
José Ricardo Fleury Oliveira
930845c715
Localization: Add "has been added as a starter!" localization ( #2555 )
...
* [Localization] Update Portuguese translation for egg.ts
* Localization: Add "added as a starter" translation in multiple languages
* revert
* Update src/locales/ko/battle.ts
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
* Update src/locales/es/battle.ts
Co-authored-by: Jancojicanoder <jancoleiva@gmail.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>
* Localization: Update Spanish and Portuguese translations for "addedAsAStarter"
---------
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
Co-authored-by: Jancojicanoder <jancoleiva@gmail.com>
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
2024-06-24 13:55:46 -04:00
EmberCM
2ca86dd901
[Bug] Prevent lures from stacking different tiers ( #2550 )
...
* Prevent lures from stacking different tiers
* Fix existing stacks of lures only applying once
* Revert "Fix existing stacks of lures only applying once"
This reverts commit c954a56b41
.
* Document lure modifier code
2024-06-24 12:55:42 -04:00
EmberCM
9e3fe2d53a
[QoL] Add message for when you aren't hatching eggs ( #1969 )
...
* Add message for when you aren't hatching eggs
* Add prompt to message
* Remove noEggs message after a delay
2024-06-24 12:21:42 -04:00
Frederico Santos
e2507a2112
feat: Add logic to delete session data when overwriting a save ( #2565 )
2024-06-24 17:02:22 +01:00
Jannik Tappert
8099f02306
[Enhancement] Added a bgmBar to show the name of the track once music is played ( #2457 )
...
* Added a bgmBar to show the name of the track once music is played
* Even more close to ability bar
* It now shows. And also shows already for a couple of them a readable name
* Now the queue actually works
* Create locales for bgmName (bgm-bar ui)
+ Most of the music has only Japanese and English names
But there are a number of tracks with official translations following OST commercialization
* Add i18n and use it to retrieve OST names (avoids a giga switch case)
+ A fallback key is implemented in the case of adding tracks not referenced in the translation files, its value being just the name of the bgm itself
* FormatText is now in Utils and not arena-flyout
BGM Names for non-localized music will be formatted to have capitalized letters and no _
* It is now a setting. It can be even changed mid fight
* Update src/ui/ability-bar.ts
* Apply suggestions from code review
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Update src/locales/de/bgm-name.ts
* Apply suggestions from code review
Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>
* Added the rest of the music names
* Changed PMD EoS to PMD ETH in german (Pokemon Mystery Dungeon Erkundungsteam Himmel)
* Due to feedback it is now "PMD ET-Himmel"
* Corrected the encounter theme names (and some missed trainer class names)
* Background is now a nicneslice. And it is at the top of the screen and above everything else
* The bar now scales with the text.
* Revert override
* Update src/locales/fr/bgm-name.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* It now only appears when V is pressed (in all but starter select)
* Cleared the cod eup
* Update src/locales/zh_CN/bgm-name.ts
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* Update src/locales/zh_CN/settings.ts
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* Update src/locales/ko/bgm-name.ts
Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>
* The bgmBar now appears in the pause menu instead.
* Should react better on settings change
* To be safe this required a reload now
* Update src/locales/fr/bgm-name.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Update src/locales/fr/bgm-name.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Write out pokemon mystery dungeon names in german
* Update src/locales/es/bgm-name.ts
Co-authored-by: GoldTra <162721984+GoldTra@users.noreply.github.com>
* Update src/locales/zh_CN/bgm-name.ts
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* Update src/battle-scene.ts
---------
Co-authored-by: Dakurei <maxime.palanchini@gmail.com>
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
Co-authored-by: GoldTra <162721984+GoldTra@users.noreply.github.com>
2024-06-24 16:31:38 +01:00
cadi
8c8ddd26b5
[Ability] Implement Quick Draw ( #2287 )
...
* implement quick draw
* add line
* change ability success condition
* quick draw comes before quick claw effect
* now ability has chance variable to test conditional situation
* add unit test
* Merge branch 'main' into ability-quick-draw
* modifed: ability.getTriggerMessage
* modified: to use pokemon.battleData.abilityRevealed
* modified: changed private variable to public
* erase expect interceptor log
* add localizations
* modified: add comma in locales
* modified: ability docs & trigger logic
* modified: changed test logic
2024-06-24 11:22:15 -04:00
Adrian T
e9fb13cce9
[Move] Implement Flower Shield ( #2543 )
...
* implement flower shield
* add unit tests
* refactors, add test
* use HideSpriteTag instead
* update comment
* replace HideSpriteTag with SemiInvulnerableTag
2024-06-24 10:37:24 -04:00
Ei
3fa7e30e47
[Localization] Most missing translations in zh_TW ( #2560 )
2024-06-24 10:28:09 -04:00
José Ricardo Fleury Oliveira
6d6ea87956
Localization: Update "Snarl" move effect in pt_BR translation ( #2561 )
2024-06-24 10:22:29 -04:00
Ei
62f015c944
[Localization] Fixed various typos and formatting issues in zh_TW and zh_CN ( #2557 )
2024-06-24 01:32:31 -04:00
DustinLin
8c9603ab19
[Bug] fix softlock/runtime error after roar in doubles ( #2553 )
...
* added undefined runtime safeguard checks
* adding documentation
* fixing typos and logic
* removing operator bc i forgor
2024-06-24 01:06:15 -04:00
sodam
3a9a3caf73
[Localization] #1761 Korean trainer dialogue (Kalos region) ( #2541 )
...
* localized other kalos
* fix some typo
* applied suggestion
2024-06-24 00:39:26 -04:00
José Ricardo Fleury Oliveira
ba6bf5f00c
[Localization] Update Portuguese translation for egg.ts ( #2554 )
2024-06-24 00:38:00 -04:00
José Ricardo Fleury Oliveira
fd7e547750
[Localization] Update menu.ts with "attackFailed" translation ( #2547 )
...
* Update menu.ts with new translation and choosePokemon option
* revert ptbr
* fix
* minor fix
2024-06-24 01:38:17 +01:00
Enoch
b5ffb9aae3
[Localization] localize hatch egg message (+ egg move unlock) ( #2395 )
...
* localize hatch egg message (+ egg move unlock)
* Revert overrides.ts
* Update src/locales/de/egg.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* Update src/locales/zh_CN/egg.ts
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* add parameter moveName to (rare)eggMoveUnlock to make sentense more flexable
* Update src/locales/ko/egg.ts
Co-authored-by: hibiya (김종이) <inemuri@hibiya.moe>
* Update src/locales/it/egg.ts
* Update src/locales/fr/egg.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Update src/locales/fr/egg.ts
* Update src/locales/fr/egg.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Update src/locales/fr/egg.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Update src/locales/es/egg.ts
Co-authored-by: GoldTra <162721984+GoldTra@users.noreply.github.com>
* solve merge error > Update src/locales/zh_TW/egg.ts
---------
Co-authored-by: 송지원 <jiwsong@gmarket.com>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
Co-authored-by: hibiya (김종이) <inemuri@hibiya.moe>
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
Co-authored-by: GoldTra <162721984+GoldTra@users.noreply.github.com>
2024-06-23 20:14:18 -04:00
Adrian T
20b708170c
[Bug] Prevent attempting to use a move with no pp when pokemon is not on the field ( #2532 )
...
* prevent using move with no pp when pokemon is fainted
* change condition to isActive(true)
2024-06-23 18:08:55 -04:00
Ei
d743f7ba7a
[Localization] A lot of zh_TW translations and fixes (achivements, battles, game modes, biomes, abilities, ui handlers, and more) ( #2551 )
...
* Corrected all English punctuation into Chinese in zh_TW
* Merged battle.ts and biome.ts translations into this branch
* abilitiy-trigger.ts and achv.ts
* battle.ts egg.ts fight-ui-handler.ts game-mode.ts
* a bunch of minor changes
2024-06-23 17:59:05 -04:00
Lugiad
70298ac298
[Localization] "Choose a Pokémon." French & Korean translation ( #2549 )
...
* Update French menu.ts
* Update menu.ts
2024-06-23 15:14:09 -04:00
José Ricardo Fleury Oliveira
d8e5dc1e91
Localization: Added missing translation for "Choose a Pokémon" in multiple languages ( #2548 )
2024-06-23 18:19:36 +01:00
innerthunder
905ecd6576
[Bug] Remove grounding moves' arbitrary turn limits ( #2526 )
...
* Remove grounding moves' arbitrary turn limits
* Added documentation for GroundedTag
* Rename GROUNDED tag + add tag check to isGrounded
* Fix remaining GROUNDED reference
* Clean up calls to getTag
2024-06-23 12:48:49 -04:00
sirzento
0bd25e925e
[BUG] Legendary egg pity & manaphy counter fix + Egg unit tests ( #2534 )
...
* Fixed bug that legendary egg pity only increased by one if egg pulled out of legendary gacha
* Removed debug logs
* Added new unit tests. Fixed bug that sometimes common eggs do count as manaphy eggs.
2024-06-23 12:40:37 -04:00
Adrian T
7f15efcd34
[Refactor] unit tests cleanup ( #2533 )
2024-06-23 12:38:40 -04:00
Lugiad
111cfd686d
[Localization(fr)] Some missing translations + some corrections ( #2538 )
...
* Update French ability-trigger.ts
* Update French fight-ui-handler.ts
* Update French menu.ts
* Update French settings.ts
* Update French egg.ts
* Update French modifier-type.ts
* Update modifier-type.ts
* Update modifier-type.ts
2024-06-23 12:37:04 -04:00
Jannik Tappert
fb6ed34211
[Localization] Added missing german localization ( #2546 )
2024-06-23 12:34:53 -04:00
AJ Fontaine
45c7282581
[Localization] Fixed missing punctuation for trap removal ( #2544 )
2024-06-23 12:32:14 -04:00
dorri-riddo
b04dfd07e7
[Localization] #1761 Korean trainer dialogue (olympia, grant, korrina, clemont) ( #2537 )
2024-06-23 12:28:05 -04:00
Matthew Olker
7ff4daa48d
hotfix add back message bg
2024-06-23 12:17:51 -04:00
Matthew
d2f4c5b59c
[UI] UI Small Adjustments ( #2525 )
...
* UI Small Adjustments
* Fix Unit Tests
* Null check event display before clear
* better empty move placeholder debug name
2024-06-23 12:09:23 -04:00
José Ricardo Fleury Oliveira
baac90120f
updated modifier-type.ts ( #2542 )
2024-06-23 17:01:28 +01:00
José Ricardo Fleury Oliveira
326ae013fe
updated costar and trace ( #2539 )
2024-06-23 16:50:05 +01:00
José Ricardo Fleury Oliveira
14f1ba5336
[Localization(pt)] updated some translations ( #2530 )
2024-06-23 00:48:55 -04:00
Madmadness65
b505962a0c
[Documentation] Update arena-tag.ts ( #2529 )
2024-06-23 00:44:24 -04:00
EmberCM
bce874b99a
[QoL] Move fusion icon to right of gender icon in party ui ( #2470 )
2024-06-22 23:06:13 -04:00
hibiya (김종이)
cb5016d10f
[Localization] include pokemon names, stats into battle:stat* keys ( #2373 )
...
* [Localization] include pokemon names, stats into battle:stat* keys
* [Localization(fr)] Update stat change messages
Co-Authored-By: Lugiad <adrien.grivel@hotmail.fr>
* [Localization(es)] Update stat change messages
Co-Authored-By: GoldTra <162721984+GoldTra@users.noreply.github.com>
---------
Co-authored-by: Lugiad <adrien.grivel@hotmail.fr>
Co-authored-by: GoldTra <162721984+GoldTra@users.noreply.github.com>
2024-06-22 21:55:09 -04:00
Madmadness65
db06c53693
Implement Happy Hour ( #2358 )
2024-06-22 20:03:15 -05:00
returntoice
e338144682
[Localization(ko)] Some minor changes ( #2520 )
2024-06-22 13:58:32 -04:00
sirzento
a833ff68d0
[Bug] Fixed that legendary egg pity doesn't increase ( #2519 )
2024-06-22 12:53:02 -04:00
sirzento
ff9528129c
[Bug] Fixed that a single voucher pull will always be common ( #2518 )
2024-06-22 12:39:35 -04:00
Dmitriy K
f84fedd588
[Localize(en)] Add EN locale keys to Costar ( #2517 )
...
* Add unthaw to moves that are missing it
Add unthaw to all damaging fire moves
Add Status Effect overrides for easier testing
clean up comments and readd status cure before fainting
* implement Costar ability, refactor TraceAbAttr to be more generic
* format code, clean up comments
* Revert "Add unthaw to moves that are missing it"
This reverts commit 89494fa0c8
.
* clean up comments, remove unused call
* ability now copies negatives changes as well
* separate PostSummonCopy into two different classes
* small refactor of copy ability attrs
* add costar to test suite
* remove abstract declaration from comments
* remove broken import statement
* actually fix broken imports
* add i18n calls
* add en keys to other locales and sort by alpha
2024-06-22 12:09:35 -04:00
Jacob Hatchett
77d25d18f9
[Ability] Implemented Aura Break ( #2252 )
...
* re-adjust according to new changes
* added unit tests
* add test fixes
* add documentation
* more fixes
2024-06-22 11:37:46 -04:00
Dmitriy K
3bbe01b288
[Ability] Implement Costar Ability ( #1218 )
...
* Add unthaw to moves that are missing it
Add unthaw to all damaging fire moves
Add Status Effect overrides for easier testing
clean up comments and readd status cure before fainting
* implement Costar ability, refactor TraceAbAttr to be more generic
* format code, clean up comments
* Revert "Add unthaw to moves that are missing it"
This reverts commit 89494fa0c8
.
* clean up comments, remove unused call
* ability now copies negatives changes as well
* separate PostSummonCopy into two different classes
* small refactor of copy ability attrs
* add costar to test suite
* remove abstract declaration from comments
* remove broken import statement
* actually fix broken imports
2024-06-22 11:35:25 -04:00
Temps Ray
5234c8e92e
Remove screen inversion if move animations are off
2024-06-22 10:44:26 -04:00
Enoch
9e3b5c636c
[Localization] Localize hp phases and translate in Korean ( #2432 )
...
* Localize hp phases and translate in Korean
* Change codeName for distinguish other HP restore message
* Update src/locales/fr/battle.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
---------
Co-authored-by: 송지원 <jiwsong@gmarket.com>
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
2024-06-22 10:24:08 -04:00
Adrian T
464ffe7332
[Enhancement][Unit Test] Refactor + Unit Tests for Light Screen, Reflect and Aurora Veil ( #2514 )
...
* refactor copy pastas
* add tests
* specify arena tag types
2024-06-22 10:09:23 -04:00
yun
1bd9941d43
[Localization] [ko] update egg and starter-select ( #2513 )
2024-06-22 10:00:50 -04:00
Dakurei
c818f0e1df
[Enhancement] Avoids 'flashbanging' for players in Shop UI ( #2504 )
...
* Fix - Avoids 'flashbanging' for players playing at x5 speed by making the transition time constant regardless of the speed chosen
* Forgot to delete a debugging value
2024-06-22 09:58:07 -04:00
sirzento
f0422fa7d9
Hotfix: Rare Egg move rate from bought eggs where always common tier rates ( #2512 )
...
* Hotfix: Rare Egg move rate from bought eggs where always common tier rates
* Update src/data/egg.ts. Removed new line
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
---------
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
2024-06-22 13:28:10 +01:00
sirzento
3e9fbeb4d6
Hotfix: Override varaint tier if species was given. Fixed that some common egg where displayed as manaphy egg and wrong manaphy egg counter ( #2505 )
...
* Hotfix: Override varaint tier if species was given. Fixed that some common egg where displayed as manaphy egg.
* Fixes wrong manaphy egg pulled stat count
2024-06-22 20:40:10 +10:00
Matthew Olker
5ba14a346a
hotfix egg source type please be the last one
2024-06-21 23:11:17 -04:00
José Ricardo Fleury Oliveira
c32d0824bc
[Localization(pt)] update egg and starter-select ( #2500 )
2024-06-21 22:56:17 -04:00
Matthew Olker
d6cc28ea69
hotfix save AFTER egg is made
2024-06-21 21:59:58 -04:00
Matthew Olker
6c0602b3f8
hotfix egg descrptions
2024-06-21 21:26:42 -04:00
Dakurei
eb224381a6
Fix - The wave is no longer displayed under the overlay as it used to be (even before the black overlay ...) ( #2498 )
...
+ Its previous color just made it harder to see that the text was underneath the overlay
2024-06-21 20:47:00 -04:00
sirzento
9d090f37f9
[Feature] [Same species Egg] Egg class rewrite to enable fully parameterized eggs to generate same species eggs + Egg overrides ( #1833 )
...
* Create variant-tiers enum
* Added variant tier override property to the egg class
* Added hasVariants function to pokemon species
* Implement variant override logic to egg hatching phase
* Delete src/enums/variant-tiers
* Create variant-tiers enum
* Added egg shiny and variant overrides
* fixed egg comment in overrides.ts
* Added override logic to egg hatch phase
* Added species pool filter logic when global override is set
* Added global egg tier override logic
* Added global egg tier override
* Added global gacha pull count override logic
* Added global gacha pull count override
* Renamed egg hatch override
* Renamed egg hatch override
* Added gacha pull without voucher global override
* Renamed free gacha pull global override
* Added free gacha pull override logic
* Gacha pull count override name fix
* Bugfix
* restored defaults + savegame bugfix
* eggOptions added to parameterize eggs. Added option to buy eggs of the same species.
* Small Bugfix for same species egg generation
* Removed translation from translator
* Improved the isManaphyEgg() check
* Fixed manaphy egg hatch wave count
* Added comments to IEggOptions
* Added eggOptions for hidden ability and rare egg move override
* Merge Fix: Update egg-hatch-phase.ts
* Fixed manaphy rates back to 1/256 like in PR #2182
* Renamed override, same species egg unlocks after passive is bought. Added code as comment for custom shiny, HA and rare egg move rates.
* Merge fix. Moved enums.
* quick fix for the commented out code
* Fixed that you can't buy an egg over the 99 egg limit
* Fix that you can't buy eternatus
* Use already existing randSeedShuffle instead of my own function
* Eternatus buyable again. Changed overrides to be able to set common tier/variants. Moved getGuaranteedEggTierFromPullCount().
* Changed eggOption gachaType to sourceType. Replaced eggOption overrideRareEggMove with eggMoveIndex to exatly specify an egg move. Moved egg move unlock logic into the egg class. Simplified shiny calculation. Added same species egg type descriptor. Moved custom rates for same species egg code into egg.ts.
* Added 19 unit tests for eggs
* Changed unit test description
* Added higher rates for same species eggs
* Adjusted same species egg cost for 1-3 cost starters and HA rates
* Added legacy egg loading unit test. Fixed gachaType legacy value loaded from DB and legacy tier loading
* Legacy egg loading from server DB fixed
2024-06-21 20:19:56 -04:00
Matthew Olker
7efb0ca7fe
hotfix lower shop overlay
2024-06-21 19:38:59 -04:00
Jannik Tappert
cf5fa887e9
[QoL] Improve shop readibility ( #2267 )
...
* Change Rouge Text Color to green, add black shadow behind name text
* Also added shader to cost text
* Update src/ui/modifier-select-ui-handler.ts
* Changed colors that didnt fit the contrast scaling thanks to @dakurai on discord.
* Removed a useless line and added a comment
* Apply suggestions from code review
Co-authored-by: Dakurei <maxime.palanchini@gmail.com>
* Revert changes
* Change colors for better contrast score (makes reading easier)
+ Corrects colors that were totally white when they should have been f8f8f8 like the others
* Created a new overlay especially for the shop
+ This one is an almost black color with a higher opacity. This makes the shop elements easier to read, as they blend much less into the UI underneath
* Add a filter on modifiers displayed in the shop
+ Add a getModifierBar() getter to retrieve the battle-scene bar directly
+ Modified the updateModifiers() method to filter the items displayed (modifiers held by Pokémon can be hidden)
+ Shop overlay hidding transition lengthened to the same duration as its showing
* Apply suggestion from @bennybroseph
* Apply suggestion from @brain-frog
* Fix - Removal of a warning in the generation of the typedoc for which my modification is responsible
---------
Co-authored-by: Dakurei <maxime.palanchini@gmail.com>
2024-06-22 00:04:25 +01:00
innerthunder
86cc1018e3
[Bug] Fix Thousand Arrows not hitting Pokemon with Levitate ( #2493 )
2024-06-21 14:04:11 -04:00
José Ricardo Fleury Oliveira
ed7fc4124c
[Localization] [pt] Updated dialogue.ts ( #2435 )
...
* updated dialogue.ts
* fix
2024-06-21 13:28:42 -04:00
Adrian T
28b2dd15c2
[Bug] fix pre defend power multiplier ( #2416 )
2024-06-21 11:10:49 -04:00
sodam
46135b5a68
[Localization] #1761 Korean trainer dialogue (Unova region) ( #2486 )
...
* localized dialouges in Hana region (1)
* localized elite-4 with chamion (in Hana region)
* localized other hana's trainer
* modified spaces after the sentence sign
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
* Update src/locales/ko/dialogue.ts
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
* Update src/locales/ko/dialogue.ts
---------
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
2024-06-21 11:01:21 -04:00
Adrian T
d3e516b496
[Bug][Unit Test] fix and optimize sturdy unit tests ( #2455 )
...
* fix and optimize sturdy unit tests
* re-add timeout
2024-06-21 10:59:10 -04:00
JongHyeon Kim (Bell)
73cf89474d
[Bug] troubleshooting language setting mismatch error (prlang=ko-KR) ( #2489 )
...
* fix: troubleshooting language setting mismatch error (prlang=ko-KR)
* refactoring:change case code(ko-KR) to single line
2024-06-21 10:50:35 -04:00
innerthunder
7cad385a38
[Bug] Fix Thousand Arrows grounding opponents before use ( #2485 )
...
* Fix Thousand Arrows grounding opponents before use
* Use existing AddBattlerTag instead
2024-06-21 10:39:00 -04:00
Mark
eff1c8c333
[Unittest] Fix Ice Face Test where speed tie was sometimes breaking multi-hit test ( #2487 )
2024-06-21 10:37:09 -04:00
Adrian T
9baa72903f
[Bug] Fix arena traps on flyout ( #2483 )
...
* fix arena traps on flyout
* specify for arena trap tags
2024-06-21 10:32:49 -04:00
Matthew Olker
0ebf9342f5
extend the event due to maintenance
2024-06-21 08:29:39 -04:00
Xavion3
a14128aece
Fix Minimize AI and add NaN AI score safeguard ( #2460 )
2024-06-21 09:26:32 +10:00
innerthunder
7ae6baf9a5
[Bug] Fix Poison Heal blocking non-Poison damage ( #2465 )
2024-06-20 15:07:27 -04:00
innerthunder
22e26621b3
[Unittest] Remove HP assignment in unit tests ( #2466 )
2024-06-20 15:02:17 -04:00
Zach Day
f9d74aa836
[Fix] Fix randomness in Gastro Acid unit test ( #2443 )
...
* Make ability suppression fail if ability is already suppressed
* Document SuppressAbilitiesAttr
* Add gastro acid unit tests
* Fix rng broken unit test
* Fix it for both tests
2024-06-20 14:02:05 -04:00
Matthew
4e511f7291
Update wiki link ( #2461 )
2024-06-20 12:53:24 -04:00
Matthew Olker
12fc51a1f2
update chinese party font size
2024-06-20 12:22:52 -04:00
Tempoanon
7a7e944a1c
Mountain Gale does not make contact ( #2456 )
2024-06-20 11:06:35 -05:00
Matthew
e2a9f76926
more specific font unicode ranges and add unifont to existing families ( #2459 )
2024-06-20 11:28:47 -04:00
Matthew
f016e2dbca
fix type sprites displaying wrong for languages with a hyphen ( #2454 )
2024-06-20 09:59:30 -04:00
José Ricardo Fleury Oliveira
125d55dd11
[Localization(pt)] updated battle.ts ( #2437 )
2024-06-20 09:39:05 -04:00
Yonmaru40
6a3537b061
[Localization] zh_cn translation fix (battle.ts modifier-type.ts) ( #2445 )
...
* Update battle.ts
* Update modifier-type.ts
* Update battle.ts seededlapse
2024-06-20 09:25:44 -04:00
Adrian T
a6dba35291
[Unit Test] add tailwind unit tests ( #2436 )
...
* add tailwind unit tests
* add addtl test
2024-06-20 11:27:16 +02:00
Adrian T
9181f434b7
add wind power unit tests ( #2431 )
2024-06-20 11:26:50 +02:00
Adrian T
0c42da8f10
[Enhancement] add wind rider unit tests ( #2428 )
...
* add wind rider unit tests
* specify wind rider ability on shiftry
2024-06-20 11:12:55 +02:00
innerthunder
c803cb5cb0
[Enhancement] Optimize Unit tests ( #2444 )
...
* Optimize Unit tests
- Battery
- Unseen Fist
- Rage Powder
- Follow Me
- Spotlight
- Power Spot
* Fix Screen Cleaner unit test bug
2024-06-20 11:11:29 +02:00
Zach Day
07b9f5476a
[Fix] Ability suppression effects not failing correctly ( #2440 )
...
* Make ability suppression fail if ability is already suppressed
* Document SuppressAbilitiesAttr
* Add gastro acid unit tests
2024-06-20 00:43:45 -04:00
Madmadness65
aba3e2abc1
Correct the event's end date
...
It was set to end one day early, this has been fixed.
2024-06-19 18:51:31 -05:00
Tempoanon
cb5cedac84
[Bug] Fix bug in doubles after 1 opponent is phazed ( #2419 )
...
* Hotfix uturn with kings rock
* Hotfix for crashing after phazing away a doubles opponent
* Hotfix for crashing after phazing away a doubles opponent
2024-06-19 22:36:23 +01:00
Matthew
3d9b134332
[UI] Update Challenge UI ( #2393 )
...
* Update Challenge UI
* Update interpolation and localization
* Update src/locales/de/challenges.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* Update src/locales/de/challenges.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
---------
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
2024-06-19 20:40:08 +01:00
Gihong Kim
a3b029facc
[Localization] Fix battlerTagsEncore binding name in korean ( #2415 )
2024-06-19 14:23:27 -04:00
yun
1ee89501b6
[Localization] Add missing manageNature entry in Korean for starter-select-ui-handler.ts ( #2413 )
...
* [Localization] Add missed manageNature entry in Korean for starter-select-ui-handler.ts
* [Localization] Add missed selectNature entry in Korean for starter-select-ui-handler.ts
2024-06-19 12:50:17 -04:00
Enoch
c71e5372d4
[Localization] fixed binding name in Korean ( #2412 )
2024-06-19 12:21:01 -04:00
Lugiad
506cc76c2d
[Localization(fr)] Fix typo in battle.ts ( #2411 )
2024-06-19 12:13:55 -04:00
Dmitriy K
74aa5a8005
Create Class constructor utility type. ( #2162 )
2024-06-19 12:00:26 -04:00
Enoch
afe70453b1
[hotfix] fix message when helping hand ( #2410 )
2024-06-19 11:34:17 -04:00
Enoch
150bd35822
[Localization(ko)] translate untranslated word korean in modifire-type ( #2409 )
2024-06-19 11:12:06 -04:00
Lugiad
a37f6c55e6
[Localizatino(ko)] Translate spite ( #2408 )
2024-06-19 11:11:28 -04:00
José Ricardo Fleury Oliveira
03a98317a9
[Localization] [pt] Updated settings.ts ( #2350 )
...
* Updated settings.ts
* fix
* another fix
* minor fix
* fix
* fixfixfix
2024-06-19 11:00:13 -04:00
Enoch
06b1f8a0bc
[Localization] Add localization in battler-tags.ts ( #1990 )
...
* [Localization] Add localization in battler-tags
* localize curse ghost skill apply message
* translate Drowsy korean
* translate requested changes
* Update src/locales/ko/battle.ts
Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>
* resolve merge error
* Update French battle.ts
* remove unnecessary backslash
* Update src/locales/de/battle.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* Update battle.ts [Localization(it)]
* recover missing code resolving merge
* Update src/locales/zh_CN/battle.ts
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* Update src/data/battler-tags.ts
---------
Co-authored-by: 송지원 <jiwsong@gmarket.com>
Co-authored-by: sodam <66295123+sodaMelon@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: Niccolò <123510358+NicusPulcis@users.noreply.github.com>
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
2024-06-19 10:38:31 -04:00
Jannik Tappert
a0186d9b61
[Localization DE] Made German Settings readable again ( #2403 )
...
* Made German Settings readable again
* Update src/locales/de/settings.ts
* Update src/locales/de/settings.ts
* Update src/locales/de/settings.ts
* Update src/ui/settings/abstract-settings-ui-handler.ts
* Remove empty line
* Update src/locales/de/settings.ts
* Update src/locales/de/settings.ts
2024-06-19 10:28:30 -04:00
Enoch
f054789fd6
[Localization(ko)] translate korean ppReduced message ( #2406 )
2024-06-19 10:01:30 -04:00
Adrian T
29b8b3aa1f
[Bug] Fixes dragon tail vs ice face eiscue interaction ( #2397 )
...
* add optional chaining
* specify first hit
2024-06-19 09:51:50 -04:00
Enoch
58642e6be3
[Localize(ko)] translate untranslated settings word ( #2405 )
2024-06-19 09:47:44 -04:00
Adrian T
be208d48b6
[Feature] Add number of arena trap layers in menu flyout ( #2059 )
...
* add number of trap layers in menu flyout
* refactors
* change key type to effectType
2024-06-18 23:29:56 -05:00
Adrian T
9463da8797
[Bug] Fix ice face blocking all hits from multihit moves ( #2391 )
...
* fix ice face bug
* add multihit test
2024-06-18 22:56:44 -04:00
Yonmaru40
508f8eb3cf
[Localization(zh)] Update settings.ts ( #2392 )
2024-06-18 21:54:36 -04:00
Enoch
2228681d2a
[Localization(ko)] modify typo of swimmer (trainer) ( #2390 )
...
Co-authored-by: 송지원 <jiwsong@gmarket.com>
2024-06-18 20:21:27 -04:00
Tempoanon
04c94fcbba
Hotfix uturn with kings rock ( #2385 )
2024-06-18 20:26:51 +01:00
innerthunder
21f1e077fa
[Featrue] Add Dark-type immunity to Prankster ( #2355 )
2024-06-18 11:21:54 -04:00
3ae3ae
cf1f958a07
[Move] Remove partial from Matcha Gotcha ( #2368 )
2024-06-18 10:21:53 -04:00
yun
303d913850
[Localization] Localize nature in Pokémon summary ( #2370 )
2024-06-18 10:13:20 -04:00
Alexis Faizeau
9b325a6689
Fix game speed ( #2375 )
2024-06-18 15:07:36 +01:00
Xavion3
38b1a7fc61
Make starter selection account for evolutions and forms ( #2077 )
...
Only the second and on can be selected with future valid criteria
2024-06-18 09:27:06 -04:00
Ei
57e90b8f4b
[Localization] zh_TW settings.ts translation ( #2367 )
2024-06-18 02:05:17 -04:00
Ei
74e49b244b
[Localization] Separated the translations for the two 'back's in settings ( #2365 )
2024-06-18 00:33:00 -04:00
NxKarim
cc7db08fe8
[Bug] Sheer Force Fix (Stone Axe and self status moves) ( #2366 )
...
Implements AddArenaTrapTagHitAttr for moves like Stone Axe and Ceaseless Edge.
Fixes chance for selfstatus moves.
Added Comments For AddArenaTrapTagHitAttr
2024-06-18 00:23:34 -04:00
ReneGV
b64e5dce1c
[QoL] Move up form text when candies and hatched eggs are hidden ( #2359 )
2024-06-17 23:41:29 -04:00
ReneGV
026c048359
[ablity] Add tests to sturdy ( #2362 )
2024-06-17 23:39:59 -04:00
Yonmaru40
e96abd5c2e
[Localization(zh)] Update settings.ts ( #2364 )
2024-06-17 23:37:51 -04:00
Yonmaru40
e0dd04b087
[Localization] various changes and adding translation to zh_cn 6-18 ( #2361 )
...
* Update settings.ts
* Update modifier-type.ts
* Update menu.ts
* Update dialogue.ts
* Update modifier-type.ts
* Update modifier-type.ts
* Update modifier-type.ts
* Update modifier-type.ts
* Update dialogue.ts
* Update battle.ts
* indentation
* lint fix
* Update settings.ts
* battle.ts ppreduced fix
* missing "
* Update modifier-type.ts
* Trailing spaces
2024-06-17 23:08:24 -04:00
Daniel Gaston
b8a3f30bd0
[Hotfix] Sheer Force arena tag add extra condition ( #2356 )
2024-06-17 21:49:08 -04:00
NxKarim
c52e0ac5b6
[Ability] Serene Grace, Shield Dust, Sheer Force (P) ( #246 )
...
Co-authored-by: okimin <danielgaston6@gmail.com>
2024-06-17 20:30:42 -04:00
innerthunder
3b3b9e39af
[Move] Implement Follow Me, Rage Powder, and Spotlight ( #1834 )
...
* Implement "Center of Attention" battler tag + moves
* Powder immunity logic for Rage Powder
* Center of Attention unit tests
2024-06-17 18:05:21 -04:00
Matthew
d70dd16f8c
[Refactor] I18n Cleaning ( #2348 )
...
* I18n Cleaning
* pr comments
* appease typedoc
* moved types into src
2024-06-17 17:05:33 -04:00
Adrian T
fd1baef244
[Ability] Implement Power Spot & Battery ( #2268 )
...
* add battery
* add power spot
* refactor
* remove FieldVariableMovePowerAbAttr
* remove showing ability bar
* document + cleanup
* add unit tests
* update test name
* update variable names
* update multiplier
2024-06-17 16:12:11 -04:00
Dmitriy K
eab8db7d29
[Bug]: fix dark aura and fairy aura not applying to moves ( #2246 )
...
* fix dark aura and fairy aura not applying to moves
* use Set to prevent duplicate aura abilities from triggering
* switch to different AbAttr class
2024-06-17 20:52:33 +01:00
Adrian T
57b5c33c4b
[Ability] Implement Screen Cleaner ( #2346 )
...
* implement screen cleaner
* add documentation
* add unit tests
* rename arena to arenaTag
2024-06-17 15:37:11 -04:00
Jannik Tappert
35d0d2f4e6
[Localization] Added the localized dialogue for alder and kieran ( #2261 )
...
* Added german dialogue for alder and kieran (lauro & jo)
* Added zh_CN and it
* Added Korean
* Added tradtional Chinese
* Added spanish
* Added french! (thanks dakurei)
2024-06-17 15:17:08 -04:00
schmidtc1
d5ec5c371b
[Move] Fix bug for Spite and fully implement Eerie Spell ( #2244 )
...
* Bug fixes for spite, creates class to extend spite for eerie spell
* Comments for clarity, creates class to extend ReducePpMoveAttr
* Resolve reference error with AttackReducePpMoveAttr
* Shows move failed in a clearer way with showMoveText
* Localization of pp reduction moves
* Fixes issue of eerie spell reducing pp when ratio is 0
* Removes unnecessary phase replacement
* Remove partial implementation from eerie spell
* Adds locale entry for ppReduced to other languages
2024-06-17 15:05:23 -04:00
Frisk17
89eba349c9
[Move] Implemented Magnet Rise ( #2081 )
...
* Partially implemented Magnet Rise
* Implemented Magnet Rise
* Changed pokemon.ts so all TypeImmune tags work instead of just
MagnetRisen
* Magnet Risen is now removed when Gravity is used.
* Magnet Rise is ignored by Thousand Arrows
and Smack Down.
* Fixed a bug where status ground type moves
would also be ignored by Magnet Rise
* Added a message when Magnet Rise is removed
* Inserted TypeImmuneTag check in
getAttackMoveEffectiveness() for the AI
* Created a magnetRiseCondition separately
* Created a test for Magnet Rise
* Bug Fix in Magnet Rise test
* Created Magnet Rise test with Gravity
* Shifted the code from getAttackMoveEffectiveness
and apply into getAttackTypeEffectiveness instead
* Replaced onNextPrompt with doAttack
* Removed redundant runFrom(Phase)
* Replaced magnetRiseCondition with
battlerTags.every anonymous function
* Fixed import errors
* Added an undefined check for summonData
for TypeImmuneTag in getAttackTypeEffectiveness
* Replaced undefined-check with optional chaining
2024-06-17 17:35:06 +02:00
Frederico Santos
4e8cafcdb4
[Community] Add Reddit link to menu UI ( #2338 )
...
* feat: Add Reddit link to menu UI
Added a new menu option for Reddit with a corresponding handler to open the Reddit page in a new tab. This enhances the user experience by providing easy access to the Pokerogue subreddit.
* feat: Update wiki URL in menu UI
The wiki URL in the menu UI has been updated to "https://wiki.pokerogue.net/start " to provide a more specific starting point for users.
2024-06-17 15:57:20 +01:00
returntoice
d96ae3de43
[Localization(ko)] menu.ts correction ( #2339 )
2024-06-17 10:52:46 -04:00
Lugiad
534bdaaec7
[Localization] Corrections French menu.ts ( #2337 )
...
* Corrections French menu.ts
* Update menu.ts
* Update src/locales/fr/menu.ts
Co-authored-by: Dakurei <maxime.palanchini@gmail.com>
* Update menu.ts
---------
Co-authored-by: Dakurei <maxime.palanchini@gmail.com>
2024-06-17 10:29:27 -04:00
sodam
951d5416d4
[Localization(ko)] localized Sinnoh region named trainer ( #2296 )
2024-06-17 09:58:39 -04:00
Alexis Faizeau
f3e3b58a43
[Enhancement] Translate Settings Menu ( #2187 )
...
* Add en settings translations
* Add fr settings translations
* Translate settings menu
* Add de settings translations keys
* Add es settings translations keys
* Add it settings translations keys
* Add ko settings translations keys
* Add pt br settings translations keys
* Add zh cn settings translations keys
* Add zh tw settings translations keys
* Add ko settings translations keys
* Add de settings translations keys
* Fix a forgotten test
2024-06-17 09:47:22 -04:00
José Ricardo Fleury Oliveira
ebaecbe5a8
[Localization(pt)] Update start-select-ui-handler.ts ( #2335 )
2024-06-17 09:42:21 -04:00
prime
111f4362fc
[QoL] Improved Nature selection + Persistent selection of various values ( #1401 )
...
* Added nature selection menu
Added a nature selection menu to the starter selection, as you can way too easily skip over the nature you want when cycling.
All nature selections are furthermore persistent and stored in the starterData.
Those changes are compatible with the current save format, but will increase the size, so, in case the size of the save file can't be increased, further changes will be needed.
* Sorted nature selection into sub-menus
The nature-selection menu is now, instead of one large list, multiple smaller menus.
Those menus will appear once at least one nature of the appropriate kind has been collected.
Translations partially required.
* Update French starter-select-ui-handler.ts
* Added support for updated save structure
Adds compatibility with updated save-data structure which supports more persistent starter attributes
* more persistent start data
Abilities, Variants and Forms are now also saved.
* added gender to stored information
* fixed typedoc issues
* Starter Preferences now stored locally
* removed deprecated import (due last merge)
* Sub menus removed
---------
Co-authored-by: Lugiad <adrien.grivel@hotmail.fr>
2024-06-17 00:49:29 -04:00
Matthew
9e1da3d548
clean loading scene and let mobile see intro ( #2316 )
2024-06-16 22:03:40 -04:00
layharu0
942cbb2181
[Localization][ko] StatRose, StatFell Message Fix ( #2285 )
2024-06-16 22:01:08 -04:00
Frederico Santos
1efb7c5847
[Bug] Unauthorized 401 error fix ( #2315 )
...
* reset scene on 401
* fix: Reset scene and clear session ID on 401 error
* Added explanation to clientSessionId
2024-06-17 02:44:07 +01:00
Jannik Tappert
de51c5b7a5
[Localization] Translated missing german entries ( #2289 )
2024-06-16 19:43:14 -04:00
Jannik Tappert
40ade2da1d
[Localization(ko)] Fixed Korean Battle Stat Change Text ( #2292 )
2024-06-16 18:54:31 -04:00
Yonmaru40
0138a480f9
[Localization(zh)] Update game-mode.ts ( #2304 )
2024-06-16 18:53:22 -04:00
ReneGV
bcd622bd94
[QoL] Skip money rewards on last classic wave ( #2121 )
...
* Skip money rewards on last classic round
* Fix big nugget
2024-06-16 18:51:25 -04:00
Niccolò
a44ab950ba
[Localization(it)] Update tutorial.ts ( #2294 )
2024-06-16 18:49:11 -04:00
chaosgrimmon
1396aaaa57
[Move] Sappy Seed shouldn't be Making Contact ( #2303 )
...
https://bulbapedia.bulbagarden.net/wiki/Sappy_Seed_(move)
2024-06-16 18:48:42 -04:00
Yonmaru40
29f95ef394
[Localization] zh_cn various translation fix and update ( #2306 )
...
* Update pokemon-info.ts
* Update trainers.ts
* Update ability-trigger.ts
* Update battle.ts
* Update ability-trigger.ts
* Update save-slot-select-ui-handler.ts
* 用→因为
2024-06-16 18:44:49 -04:00
Yonmaru40
0ed8c32e8a
[Localization(zh)] Update growth.ts ( #2305 )
2024-06-16 18:43:52 -04:00
Yonmaru40
f26a21c74b
[Localization(zh)] Update fight-ui-handler.ts ( #2302 )
2024-06-16 18:42:17 -04:00
chaosgrimmon
90f6ae7e6d
[Bug] Friendship-based moves have Base Power -1 when Pokemon is wild ( #2291 )
...
Affects RETURN, FRUSTRATION, PIKA_POW, and VEEVEE_VOLLEY.
2024-06-16 18:40:47 -04:00
Madmadness65
cc1b37c097
Correct Iron Jugulis' passive ability
2024-06-16 17:38:32 -05:00
José Ricardo Fleury Oliveira
5cdf148965
[Localization] Localized Daily Run Scoreboard ( #2053 )
...
* localized daily run scoreboard
* Update src/locales/de/menu.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* localized positionIcon
* Update src/locales/ko/menu.ts
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
---------
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
Co-authored-by: Enoch <enoch.jwsong@gmail.com>
2024-06-16 21:23:18 +01:00
Niccolò
9d4425518f
Update pokemon-info.ts [Localization] ( #2295 )
2024-06-16 07:23:54 -05:00
Niccolò
62b82b92c8
Update voucher.ts [Localization] ( #2293 )
2024-06-16 07:21:47 -05:00
Matthew
8a1560bfa7
fix egg skip console error ( #2284 )
2024-06-16 00:48:09 -04:00
Devin Korb
e10d67858f
remove the duplicate document.fonts code ( #2282 )
2024-06-16 00:37:02 -04:00
Devin Korb
728ee3809a
Add dependency cruiser command ( #2192 )
...
* add dependency cruiser and fix all default errors
* create svg render of dependencies in command
* move configs to ts files, await font loading
* fix i18n
* fix dependencies...
* fix typedoc generation and tsconfig exclusions
* revert github-pages fix for another pr
* no-circular -> no-circular-at-runtime for type imports (future)
2024-06-16 00:26:37 -04:00
José Ricardo Fleury Oliveira
d9ae12ccc7
updated battle.ts and pokemon-info.ts ( #2281 )
2024-06-15 23:49:09 -04:00
José Ricardo Fleury Oliveira
4c708cd1aa
[Localization] [pt] Updated modifier-type ( #2280 )
...
* updated modifier-type
* fix
2024-06-15 22:30:07 -04:00
Arxalc
2d254bab96
[Move] Implemented Incinerate and Knock Off ( #1671 )
...
* Implemented Incinerate and Knock Off
* Ran linter
* Removed unnecessary code
2024-06-15 22:26:54 -04:00
Lee ByungHoon
9b8f6f312b
[Localization] Modification some code about battle stat for localization ( #1985 )
...
* [Localization] Modification some code about battle stat for localization.
* Corrections to failed generating typedoc docs.
* [Localization] Modification some code about battle stat for localization.
* Corrections to failed generating typedoc docs.
* Corrections to change localized key for battle stat and level change description.
* Deleted battle-stat.ts file in Deutsch locales.
* Fixed build failure
* Move unit test file into localisation folder from battle folder.
* Fixed localization key
* Fixed build failure
* Fix merge conflict
* Fix merge conflict again
---------
Co-authored-by: Tempoanon <163687446+Tempo-anon@users.noreply.github.com>
Co-authored-by: Temps Ray <temps.ray@gmail.com>
2024-06-15 22:25:18 -04:00
Philippe
bf7eb52f85
[Move] Implement poltergeist ( #1726 )
...
* implement poltergeist
* add comments
* use string interpolation
2024-06-15 22:24:38 -04:00
innerthunder
01435ed0e0
[Ability] Implement Unseen Fist ( #1776 )
...
* Implement Unseen Fist
* Add unit tests for Unseen Fist
* Fix unit test imports
2024-06-15 22:14:49 -04:00
Matthew Olker
17b103c447
hotfix victory save call
2024-06-15 22:06:40 -04:00
Niccolò
646c9018f2
[Localization(it)] Update pokeball.ts ( #2270 )
...
Fixed a wrong translation
2024-06-15 22:04:10 -04:00
Jannik Tappert
1a8c9d472a
[Localization] Localized the statname in the X Item description ( #2264 )
...
* Localized the statname in the X Item description
* Added french thanks to sangara42
* Changed french by Lugiadrien
2024-06-15 21:54:53 -04:00
_Megabyte
eea39843fb
[Bug] Issue #2260 Fix black screen on new game after exiting. ( #2265 )
2024-06-15 21:53:04 -04:00
Niccolò
0f001dfd14
[Localization(it)] Update party-ui-handler.ts ( #2269 )
...
Translated all of the party handler sentences
2024-06-15 21:52:24 -04:00
Niccolò
fd760f42bf
[Localization(it)] Update splash-messages.ts ( #2273 )
2024-06-15 21:51:55 -04:00
Niccolò
79367b81d1
[Localization(it)] Update starter-select-ui-handler.ts ( #2274 )
2024-06-15 21:51:34 -04:00
Niccolò
5a7d893812
[Localization(it)] Update trainers.ts ( #2277 )
2024-06-15 21:50:19 -04:00
Niccolò
b5ac756b2d
[Localization(it)] Update pokemon-info-container.ts ( #2271 )
2024-06-15 21:49:21 -04:00
Niccolò
2ba5f737da
[Localization(it)] Update save-slot-select-ui-handler.ts ( #2272 )
2024-06-15 21:47:49 -04:00
Frederico Santos
eec9963089
Fix API endpoints for saving and retrieving system and session data ( #2279 )
2024-06-15 21:24:50 -04:00
Matthew Olker
b42c3fac67
Revert "Fix API endpoints for saving and retrieving system and session data ( #2278 )"
...
This reverts commit 6172f3d574
.
2024-06-15 21:09:32 -04:00
Frederico Santos
6172f3d574
Fix API endpoints for saving and retrieving system and session data ( #2278 )
2024-06-15 21:05:49 -04:00
José Ricardo Fleury Oliveira
ca112e10fb
[Localization] [pt] Updated dialogue.ts ( #2262 )
...
* reviewed/updated until black belt
* fixes
* more additions
* more fixes
* fix
2024-06-15 13:31:41 -04:00
Soyoka
b7bb862cdc
[Localization(ko)] Added Korean Translation for the dialogues of the Cilan, Chili, and Cress ( #2256 )
...
* chore: add translation for dialogue of cilan
* chore: add translation for dialogue of chili
* chore: add translation for dialogue of cress
* fix: fix spelling errors and make it compatible with eslint
2024-06-15 12:28:22 -04:00
Terrorforge
6917db7429
[Balance] give Goomy Regenerator ( #2248 )
2024-06-15 12:23:32 -04:00
Tempoanon
fdf139d529
[Bug] Add rest of trailblaze Pokemon ( #2239 )
2024-06-15 12:18:52 -04:00
Adrian T
dbecb72890
[Bug] add ability revelead for trace, refactor ( #2258 )
2024-06-15 12:13:59 -04:00
Adrian T
0b019d9823
[Ability] Implement Wonder Skin ( #2231 )
...
* implement wonder skin
* add unit tests
* fixes
* move applyPreDefendAbAttrs
2024-06-15 17:06:32 +01:00
Adam Clemons
422a561dfe
[Feature] Add Missing Champion Dialogue ( #2120 )
...
* Add Alder dialogue
* Add Kieran dialogue
* Add line breaks
* typo fix
* Add placeholder dialogue
2024-06-15 16:47:44 +01:00
Lugiad
523f818e12
[Localization] Many corrections of recent French translations ( #2257 )
...
* Update ability-trigger.ts
* Update achv.ts
* Update battle.ts
* Update challenges.ts
* Update battle.ts
* Update party-ui-handler.ts
* Update pokemon-info-container.ts
* Update trainers.ts
* Update achv.ts
* Update achv.ts
* Update achv.ts
* Update splash-messages.ts
* Update achv.ts
* Update achv.ts
* Update trainers.ts
* Update src/locales/fr/achv.ts
Co-authored-by: Dakurei <maxime.palanchini@gmail.com>
* Update challenges.ts
* Update src/locales/fr/battle.ts
Co-authored-by: Dakurei <maxime.palanchini@gmail.com>
* Update battle.ts
* Update battle.ts
---------
Co-authored-by: Dakurei <maxime.palanchini@gmail.com>
2024-06-15 16:28:33 +01:00
Alexis Faizeau
8e5b454c87
[Localization] Fix french translations ( #2253 )
...
* Translate missing fr keys for acheviements
* Translate missing fr keys for ability triggers
* Translate missing fr keys for battle
* Translate missing fr keys for fight ui handler
* Translate missing fr keys for challenge
* Translate missing fr keys for party ui handler
* Translate missing fr keys for pokémon infos container
* Translate missing fr keys for trainers
2024-06-15 13:06:57 +02:00
Franck TROUILLEZ
a4b07158f9
[QoL] Add ALL option when transferring items to Pokemons ( #1694 )
...
* Add ALL option to transfer menu
It adds a new attribute to the PartyUiHandler to track whether the transfer is meant for all items of only for a particular one
It also introduces translations for PartyUiHandler, even though only the 'ALL' option can be translated for now.
* Use updated translation key for i18n for partyUiHandler:ALL
* Fix duplicated import
* Use optionCursor instead of optionCursorWithScroll to check if we need to transfer ALL
2024-06-15 12:32:15 +02:00
EmberCM
16084878c3
Remove random trailing commas ( #2245 )
2024-06-15 12:13:54 +02:00
José Ricardo Fleury Oliveira
9ebd85e7c8
[Localization] [pt] Fixed male achievements as well ( #2240 )
...
* fixed male achievements as well
* fix
* minor fix
2024-06-14 20:27:22 -04:00
Ei
465d95bbd4
[Bug] Fixed frisk not setting revealedAbility flag ( #2238 )
2024-06-14 20:18:20 -04:00
José Ricardo Fleury Oliveira
bd2d9d51a1
[Localization(pt)] fixed achievements ( #2235 )
2024-06-14 20:08:26 -04:00
Niccolò
6c4a4bf366
[Localization(it)] Update menu.ts ( #2228 )
...
Fully translated the elements in the menu.
2024-06-14 19:55:00 -04:00
José Ricardo Fleury Oliveira
f519b13b20
[Localization] [pt] Updated ability-trigger.ts ( #2229 )
...
* updated ability-trigger.ts
* fix order
2024-06-14 19:53:20 -04:00
José Ricardo Fleury Oliveira
bce4c91c42
[Localization] intentionally changed all achievements' names for merge conflict ( #2230 )
2024-06-14 19:51:35 -04:00
Adrian T
2f933d2865
[Enhancement] Unit tests for Ice Face ( #2215 )
...
* add ice face test
* complete unit tests
* fix imports
2024-06-15 00:38:30 +02:00
Madmadness65
df58da32aa
Update Egg Moves ( #2227 )
...
New changes to go along with the passive ability changes.
2024-06-14 17:30:36 -05:00
Blitzy
be20783524
[Balance] Give Slakoth, Archen, and Wimpod Line new hidden abilities like Regigigas ( #2115 )
...
* Give Archen line and Wimpod line new Hidden Abilities
* Add Hidden Ability to Slakoth Line
2024-06-14 17:05:39 -05:00
Madmadness65
069466b05f
Revert Eternatus Passive Change
...
That wasn't supposed to go through.
2024-06-14 17:01:59 -05:00
damocleas
de4025b7d3
[Balance] Passive Changes ( #2226 )
...
* [Balance] Passive Changes
* ADAPTABILITY*
2024-06-14 16:59:02 -05:00
Niccolò
6af4ea96d1
[Localization(it)] Update biome.ts ( #2216 )
...
Fixed a couple of issues with biomes
2024-06-14 16:48:23 -04:00
Niccolò
75b1c62614
[Localization(it)] Update fight-ui-handler.ts [Localization] ( #2222 )
...
Translated things regarding "passive"
2024-06-14 16:45:37 -04:00
Niccolò
59263d797f
[Localization(it)] Update game-mode.ts [Localization] ( #2224 )
...
Translated game modes' names from EN to IT
2024-06-14 16:45:07 -04:00
Niccolò
ce2031b85d
[Localization(it)] Update game-stats-ui-handler.ts [Localization] ( #2225 )
...
Translated everything about game stats from EN to IT
2024-06-14 16:44:27 -04:00
Niccolò
1541b8501e
[Localization(it)] Update battle.ts ( #2211 )
...
Translated every sentence and fixed a few ones
2024-06-14 16:43:50 -04:00
Niccolò
cb1078e563
[Localization(it)] Update challenges.ts ( #2218 )
...
Translated everything regarding challenges
2024-06-14 16:43:08 -04:00
Niccolò
b018263b09
[Localization(it)] Update achv.ts ( #2219 )
...
Fixed a couple of achievements' names
2024-06-14 16:42:16 -04:00
Matthew Olker
c02bb9132f
Update Date to UTC and Time to include days
2024-06-14 13:40:14 -04:00
Matthew Olker
f8062d95bb
Freeze Hotfix Pt2
2024-06-14 13:16:32 -04:00
Matthew Olker
f9f69fb0e2
End Freeze Hotfix
2024-06-14 13:12:12 -04:00
Matthew Olker
02d5654be4
Pride Update
2024-06-14 12:42:37 -04:00
Teju Rajbabu
90d0a17b45
Variant Label Color Change [QOL] ( #2198 )
...
* Test changes to change variant label color based on Tint
* Implementedlabel color change on pokemon change
2024-06-14 10:01:11 -05:00
Niccolò
65f4933a1d
[Localization][it] Update achv.ts ( #2199 )
...
Changed most of the achievements' names, added the missing ones
2024-06-14 09:43:17 -04:00
sodam
3133dadbf4
[Localization] #1761 Korean trainer dialogue (Gym leader+@ in Galar region) ( #2171 )
...
* translated 8th named trainer's
* Update src/locales/ko/dialogue.ts
* Apply suggestions from code review
* add elite-5 and leon's dialouge(by Korean)
* Apply suggestions from code review
Co-authored-by: returntoice <dieandbecome@gmail.com>
---------
Co-authored-by: returntoice <dieandbecome@gmail.com>
2024-06-14 09:42:22 -04:00
MadridPawmot
c3c6b96487
[Localization][es] Spanish translations for splash messages ( #1999 )
...
* Spanish translations for splash messages
* Updated with requested changes
* Updated capitalization
2024-06-13 20:00:36 -04:00
Niccolò
68863ab9a4
[Localization][it] Update ability-trigger.ts ( #2188 )
...
Modified some captions to make them more correct in italian
2024-06-13 19:50:48 -04:00
Matthew
dc30dd33b2
[QoL] Reorganize Enum Locations ( #2185 )
...
* moving enums
* import updates
* fix tsconfig paths importing (#2184 )
* reverse index.ts addition
---------
Co-authored-by: Devin Korb <meepdarknessmeep@gmail.com>
2024-06-13 18:44:23 -04:00
sirzento
0adddc4aea
Fixes manaphy egg rate back to 1/256 ( #2182 )
2024-06-13 17:06:29 -05:00
Tempoanon
f0072082b5
[Localization] Fix bouncy bubble description for es fr it ko zh ( #2175 )
...
* Fix bouncy bubble description for es fr it ko zh
* Updated fr according to greenlamp
* Remove Evoli
2024-06-13 16:24:50 -04:00
schmidtc1
fd3261d8ce
[Move] Partial implementation of Stuff Cheeks ( #2183 )
...
* Partially implements stuff cheeks
* Comment for clarity on partial implementation
Explains why the move is still partially implemented.
2024-06-13 16:24:32 -04:00
Tempoanon
49cb79b754
[Bug] Fix mythical pokemon hatched stat ( #2181 )
2024-06-13 15:47:47 -04:00
Zach Day
f8c8605710
[Move] Fix multi-hit moves activating type-immunity abilities multiple times ( #2165 )
...
* Force multi-hit moves to hit once if they are against an immune type
* Add test for multi-hit attacks against immune types
* Document MultiHitAttr
* Tiny change
* Wording fix
* Use shortcut methods in unit tests
* Fix leftover modifications from METRONOME testing
* Reorganize SAP SIPPER tests
* Fix extra imports
2024-06-13 14:23:13 -04:00
Ei
7b0ec0faf2
[QoL] Fixed language settings cursor ( #2179 )
2024-06-13 12:06:01 -04:00
Adrian T
8728442657
fix audio settings ( #2176 )
2024-06-13 18:02:37 +02:00
Tempoanon
855ceda192
Revert "[QoL] Add red color to the quantity if the item is at it's held limit…" ( #2178 )
...
This reverts commit 048993b2c2
.
2024-06-13 11:57:39 -04:00
Adrian T
0e794fe2fc
[Bug] Fix Berserk and Anger Shell from crashing the game when pokemon is forced to switch out ( #1699 )
...
* fix PostDefendHpGatedStatChangeAbAttr crashing the game
* remove new line
* refactor condition
* refactor condition
2024-06-13 11:37:15 -04:00
Matthew Olker
e6c24dceab
Revert "[QoL] Reorganize Enum Locations ( #2142 )"
...
This reverts commit cf06ff3b8d
.
2024-06-13 11:30:47 -04:00
Matthew
cf06ff3b8d
[QoL] Reorganize Enum Locations ( #2142 )
...
* moving enums
2024-06-13 11:11:12 -04:00
Dmitriy K
819fe9b4a1
[Ability] Implement Protean and Libero abilities ( #1309 )
...
* Add generic to util holders to reduce manual type casting
* implement protean and libero abilities
* remove use only once per turn trigger
* Revert Attack Attribute Conditions back to requiring unused vars
* Remove conditional before invoking type change ability
* update protean to properly trigger and skip certain moves
* remove some dangerous typecasts
* revert autoformatting changes
* not all autoformatting changes were reverted
* Revert "Add generic to util holders to reduce manual type casting"
This reverts commit 3ee7f1d5ff
.
* change some variable names
* remove incorrect comment
* update abilities so they use gen 9 logic
* fix typescript error from missing Terrain type
* update gameManager switchPokemon to match other menu utilities
* add test cases for protean and libero
2024-06-13 10:54:23 -04:00
EmberCM
048993b2c2
[QoL] Add red color to the quantity if the item is at it's held limit ( #2117 )
...
* Add red color to the quantity if the item is at it's held limit
* Add shadow back to option text
2024-06-13 10:38:13 -04:00
hayuna
c929bbd23a
[Refactor] Move enum BattleStyle into separated file ( #1906 )
...
* Move enum BattleStyle into separated file
* Move enum BattleStyle into separated file
* Move enum BattleStyle into separated file
* Update battle-style.ts
* Replace shift into switch
2024-06-13 10:10:31 -04:00
Zach Day
a85a2a9b8b
[Bug] Fix type-immunity abilities activating on self-targeted status moves ( #2168 )
...
* Fix type immunity given by abilities only applying to attacking moves
* Add tests for type immunity granted by abilities
* Use Sap Sipper as base for testing
* Fix type-immunity abilities activating on self-targeted status moves
* Add tests for self-targeted moves on mons with type-immunity abilitiies
* Volt absorb tests
2024-06-13 09:49:40 -04:00
José Ricardo Fleury Oliveira
e0d3279a0b
[Localization] [pt] Fixed Bouncy Bubble description and updated achievements ( #2174 )
...
* updated pt achievements
* minor fix
* fixed bouncy bubble translation
2024-06-13 09:39:47 -04:00
Greenlamp2
c908153761
[Bug] Fix PostSummonPhase Logic to Support Single Pokémon Teams ( #2153 )
...
* added test for spikes + forceOpponentToSwitch
* fix conditional for intimidate in a double if there is only 1 pokemon available on our side
* fix variable naming and ternary condition
* added a fallback to clear the conditionalQueue if it's a new turn
* speed up tests by skipping LoginPhase
2024-06-13 08:42:25 -04:00
Dmitriy K
0970c2cd4e
[Refactor] Replace forceBypass with bypassFaint flag ( #1839 )
...
* replace forceBypass with bypassFaint flag
* add another path alias for src/test
* make form override work for the whole party instead of the first pokemon
* add tests for all abilities that are touched by this change
* remove unnecessary overrides from tests
* move SpeciesFormChangeTimeOfDayTrigger outside arena reset logic
* remove alll resetMock calls, rename it to test
2024-06-13 11:36:12 +02:00
Jannik Tappert
16e14376c6
[Localization] Changed description of BouncyBubble to reflect … ( #2166 )
...
* [Localization] Changed german description of BouncyBubble to reflect that is heals 100% of the damage and made it not eveee specific
* Also EN
2024-06-13 03:36:09 -05:00
Blitzy
6be46ec0de
Add Magic Guard to the list ( #2076 )
2024-06-13 03:32:22 -05:00
sodam
78ce5e77d9
[Localization][ko] Modified item description and fix Koga typo ( #2139 )
...
* fix some sentences
* Update src/locales/ko/modifier-type.ts
2024-06-13 00:10:48 -04:00
MrWaterT
2b848b83e6
[Localization][Bug] Korean Font update and expand coverage ( #1823 )
...
* update i18n.ts : add fontFace
* Update PokePT_Wansung.ttf with size adjustment
https://github.com/MrWaterT/PokePT_Wansung v2.3
* Enlarge font size
* Bypass Typedoc
* Cleanup i18n.ts
consist spaces in {}
remove hangul jamo unicodeRange
* Update PokePT_Wansug.ttf to fix 'f'
https://github.com/MrWaterT/PokePT_Wansung v2.4
* Adjust hangul glyphs size
* Remove double loading
maybe from 073c8aa
and #2066
2024-06-13 00:00:36 -04:00
Matthew Olker
b950af9bac
hotfix zh language shadows
2024-06-12 22:19:30 -04:00
Xavion3
448096db33
Add secondary update to biome pool loading ( #2157 )
2024-06-13 09:37:07 +10:00
Tempoanon
f18dcde490
[Bug] Dipplin should be Erratic instead of Slow ( #2155 )
2024-06-13 09:26:15 +10:00
Ei
589d06c15e
[Bug] Fixed reviving while transformed not resetting the sprite ( #2152 )
...
* Fixed reviving while transformed not resetting the sprite
* Made reload assets in resetStatus optional
2024-06-12 18:08:15 -04:00
Bastien
da37069457
[Localization] [FR] Update Lass dialogue.ts ( #2133 )
...
* [Localization] [FR] Update dialogue.ts
* Changes and correct typo
* Correct typo
* Typo
* Typo
* type again
* correct typo
2024-06-12 16:05:23 -04:00
Adrian T
8e8b006c49
[Bug] add condition before applying IgnoreTypeImmunityAbAttr ( #2150 )
2024-06-12 16:02:28 -04:00
Dmitriy K
777a8ad9ea
update gameManager switchPokemon to match other menu utilities ( #2147 )
2024-06-12 20:49:07 +02:00
Zach Day
31406b35fd
[Move] Fix type immunities granted by abilities only applying to attacks ( #2145 )
...
* Fix type immunity given by abilities only applying to attacking moves
* Add tests for type immunity granted by abilities
* Use Sap Sipper as base for testing
2024-06-12 14:46:45 -04:00
Adrian T
23caea1766
[Bug] hotfix type hint ( #2146 )
2024-06-12 14:39:37 -04:00
Adrian T
fe7ed72afa
[Enhancement] add revealed ability flag ( #2105 )
2024-06-12 13:30:10 -04:00
José Ricardo Fleury Oliveira
a2638e4a79
[Localization][pt] updated passive pop up ( #2141 )
2024-06-12 13:14:21 -04:00
Bastien
4139e11b11
[Localization] [FR] Update swimmer dialogue.ts ( #2134 )
2024-06-12 13:04:02 -04:00
José Ricardo Fleury Oliveira
1b19e35e60
[Localization][pt] Updated trainers ( #2048 )
2024-06-12 12:56:22 -04:00
GoldTra
03a635610b
[Localization] Update Spanish abilty bar and fix fainted localization ( #2136 )
2024-06-12 11:43:33 -04:00
Satanemme
92c4f2d9ab
[Localization] Italian achievements (achv.ts) ( #2135 )
...
* loc_it src/locales/it/ability-trigger.ts update windPowerCharged iceFaceAvoidedDamage
* loc_it src/locales/it/achv.ts translated to italian
* fixup wrong voices reverted ability-trigger.ts outside scope
* capitalization
modified: src/locales/it/achv.ts
2024-06-12 10:23:48 -04:00
DustinLin
e5d9cfd10f
[Bug] Fixing Baton Pass passing ( #2058 )
...
* skip yawn and infatuation for baton pass, and some docs along the way
* update yawn condition readability
2024-06-12 10:19:50 -04:00
ysh4296
c71d794d97
[Bug] remove playing tween with clear in form modal ui ( #2122 )
2024-06-12 10:03:26 -04:00
prime
0c85823645
[Enhancement] Golden IVs Chart when all IVs are perfect ( #2019 )
...
* golden chart for perfect IVs
The IVs chart is now golden in case all IVs are perfect.
A few overrides have also been added to make testing easier:
- the opponents IVs can be overridden
- the color can be modded via the window.perfectIVsChartColor variable.
* added perfectIVsChartColor to window
* added changes as requested
- removed global variable
- removed chart versatility
- changed color
2024-06-12 09:56:23 -04:00
Jannik Tappert
6e52bc7980
[Localization] Ability Bar can now be localized. In a way that pokemonName abilityNa… ( #1921 )
...
* Ability Bar can now be localized. In a way that pokemonName abilityName and passive string can be ordered freely
* Update src/locales/ko/fight-ui-handler.ts
Co-authored-by: returntoice <dieandbecome@gmail.com>
* Update src/locales/de/fight-ui-handler.ts
* Update src/locales/de/fight-ui-handler.ts
---------
Co-authored-by: returntoice <dieandbecome@gmail.com>
2024-06-12 09:45:20 -04:00
Bastien
124ef7065f
[Localization][fr] Update battle.ts ( #2130 )
...
Add French translation for "regainHealth" and "fainted" that was still in english
2024-06-12 09:28:10 -04:00
José Ricardo Fleury Oliveira
d6a8394503
[Localization] [pt] Updated pt-br achievements ( #2129 )
...
* updated pt achievements
* minor fix
2024-06-12 09:25:41 -04:00
GoldTra
965d8d33fb
[Localization][es] Update Spanish fainted localization ( #2127 )
2024-06-12 09:25:21 -04:00
José Ricardo Fleury Oliveira
e6ce85cd3f
[Localization][pt] fainted translation ( #2125 )
2024-06-12 09:24:18 -04:00
Seung Ho Jang
0e7498f9ef
[Bug] Fix move 'Hyperspace Fury' to non-contact ( #2132 )
2024-06-12 09:21:16 -04:00
Tempoanon
4cca68b323
[Bug] Metagross level up moveset changes ( #2114 )
...
Confusion and Metal Claw are level 1 moves, not on-evo moves
2024-06-11 21:12:10 -05:00
Lee ByungHoon
7fe5962d28
[Localization] Add localization of message when pokemon fainted in battle phase. ( #1934 )
...
* [Localization] Add localization of message when pokemon fainted in battle phase.
* Correction of Deutsch localization
* [Localization] Add localization of message when pokemon fainted in battle phase.
* Correction of Deutsch localization
2024-06-11 21:41:24 -04:00
Greenlamp2
f57798fd1d
[Bug Fix] Correct PostSummonPhase Timing for Abilities and Entry Hazards ( #2108 )
...
* added test for spikes + forceOpponentToSwitch
* added conditionalQueue && pushConditionalPhase to fix entry hasard and abilities at post summon
* reduce timeout time to default
2024-06-12 00:55:16 +02:00
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
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
Tempoanon
f6ad30b58f
[Feature] Add evil teams assets ( #1577 )
...
* Fix tinted caught icon false positive
* Remove unused import
* Rename and optimize
* Block comment
* Draft of evil team grunt pokemon pools
* Add graphics and music
* Add grunt spawn logic
* Add Giovanni
* Add team leader graphics
Giovanni and Ghetsis already have sprites, so they do not need added.
* Add teams for other evil team bosses
* Fix some typos and change hp bars to 2/2/2
* Fix sprites and add random team boss
* Add forced grunt encounter and update dialogue
* Update locales
* also lint en trainers
* More merge conflicts
* Deleted some duplicate images
* Correctly renamed the grunt files
* Forgot about team rocket
* New Magma Sprites
* Adjusted the trimming. Now they dont have as huge of a shadow bbelow them
* Fix grunt sprites
* Add real dialogue
* German Localization of the Dialogue
* Changes
* Tweak waves grunts spawn on
* Fix some typos in dialogue
* Y is canon
* Disable evil team spawns
* Fix another merge conflict
---------
Co-authored-by: Madmadness65 <blaze.the.fireman@gmail.com>
Co-authored-by: Jannik Tappert <tappertjannik@googlemail.com>
2024-06-09 19:02:29 -04:00
Dakurei
7ce209dd02
[Localization][fr] Fix FR typo 'Desert' instead of 'Désert' ( #2021 )
2024-06-09 17:26:03 -04:00
José Ricardo Fleury Oliveira
0d7af746ff
[Localization][pt] female achievements ( #2013 )
2024-06-09 16:23:20 -04:00
Jannik Tappert
ede56987f9
[Localization] Added german localization for challenges ( #1943 )
...
* Added german localization for challenges
* Update src/locales/de/challenges.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
---------
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
2024-06-09 16:11:51 -04:00
Charlie Giang
c746d0723f
[Move] fix for sparkly swirl apply check ( #1059 )
...
fix for sparkly swirl apply check
Update move.ts
Co-authored-by: Temps Ray <temps.ray@gmail.com>
2024-06-09 16:08:33 -04:00
kvngrnr
aba9310ddf
[Enhancement] Color code for used PP in fight UI ( #2014 )
...
* Colorcode pp in fight ui if only half/quarter of maxPP is left
* Use three-level color coding for remaining pp
* use if/else for calculating pp color
---------
Co-authored-by: Kevin Greiner <greiner@infai.org>
2024-06-09 15:30:33 -04:00
José Ricardo Fleury Oliveira
8807efe002
[Localization][pt] Fixed ace trainer name typo ( #2015 )
2024-06-09 15:27:55 -04:00
ReneGV
fdc2d1cd02
[enhacement] Show Egg tier icon on starter UI ( #1933 )
...
* Show Egg tier on starter UI
* Use CamelCase on method name
* Remove egg if evolved
* Adding ts-doc
2024-06-09 12:45:21 -04:00
Jannik Tappert
a99bcbce3d
[Localization] Achievements are now based on Player Gender (because some languages differ based on that). ( #1721 )
...
* Achivments(localization of name and description) now depend on the player gender
* Fixed Name in ptBr config
* Now the achivments are also shown with a gender specific title
* Changed it so it checks if PlayerGender is undefined first
* Update src/locales/de/config.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* Update src/locales/en/config.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* Update src/locales/es/config.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* Update src/locales/fr/config.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* Update src/locales/it/config.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* Update src/locales/ko/config.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* Update src/locales/pt_BR/config.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* Update src/system/voucher.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* Update src/locales/zh_CN/config.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* Update src/locales/zh_TW/config.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* Update src/ui/achv-bar.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* Update src/ui/achv-bar.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* Update src/ui/achv-bar.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* Update src/ui/achv-bar.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* Update src/system/achv.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* Update src/system/achv.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* Update src/system/achv.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* Update src/ui/achvs-ui-handler.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* Update src/ui/achvs-ui-handler.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* Update src/ui/achvs-ui-handler.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
* instantiate player gender on in AchvBar constructor
* Reverted the change made only for the tests. And adjusted the import to use the new enum file
* Changed a import to make vite build it again correctly
* Again some changes to the imports for the github docs that was complaining
* The new challenges are also now localized and gender based
* Readded getDescription
---------
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
Co-authored-by: ImperialSympathizer <imperialsympathizer@gmail.com>
2024-06-09 12:40:23 -04:00
Ei
c77508aef3
[Bug] Fixed getAttackMoveEffectiveness ( #2006 )
2024-06-09 12:37:50 -04:00
sodam
10ffe04274
[Localization][ko] #1761 Korean trainer dialogue (other unnamed trainers) ( #1987 )
...
* localized other unnamed trainers's dialogue
* Update src/locales/ko/dialogue.ts
Co-authored-by: Lee ByungHoon <o.ohmry@gmail.com>
* Update src/locales/ko/dialogue.ts
Co-authored-by: Lee ByungHoon <o.ohmry@gmail.com>
* Update src/locales/ko/dialogue.ts
Co-authored-by: returntoice <dieandbecome@gmail.com>
---------
Co-authored-by: Lee ByungHoon <o.ohmry@gmail.com>
Co-authored-by: returntoice <dieandbecome@gmail.com>
2024-06-09 12:29:15 -04:00
José Ricardo Fleury Oliveira
6e599de870
[Localizatoin][ptBR] achievements ( #1981 )
2024-06-09 12:22:18 -04:00
Tempoanon
04bad2e15d
[Feature] Update E4 teams ( #1851 )
...
* Update E4s
* Accidentally made double Poliwrath
* Fixed some typos in the champ part
* Update based on Fontbane's comments
2024-06-09 12:20:00 -04:00
InnocentGameDev
81431c9ad5
[Localization] Locales punctuation fix in descriptions in (en/es/de/it/fr/ko/pt/zh) modifier-type.ts, and other German locales punctuation fixes ( #1696 )
...
* Fix locales punctuations
In: en, es, fr, it, pt_BR, zh_CN, zh_TW, de, ko
+ Fix somes locales
Co-authored-by: Dakurei <maxime.palanchini@gmail.com>
* Update src/locales/ko/modifier-type.ts
Shiny/Ability charm punctuation fix by MrWaterT
Co-authored-by: MrWaterT <87186129+MrWaterT@users.noreply.github.com>
---------
Co-authored-by: Dakurei <maxime.palanchini@gmail.com>
Co-authored-by: MrWaterT <87186129+MrWaterT@users.noreply.github.com>
2024-06-09 11:57:53 -04:00
Greenlamp2
67cb79a435
revert changes in trainer.ts to fix an issue induced by #1986 ( #2005 )
2024-06-09 10:54:15 -04:00
Xavion3
d06e5d2fc6
Fix doubles battles bugs with challenges ( #1986 )
...
* Fix doubles battles bugs with challenges
* Make a fully illegal party gameover instead of error
2024-06-09 14:37:33 +02:00
Madmadness65
c1405c7fd6
[Hotfix] Add Mixed Battle BGM entries for the Gen 1-5 trainers ( #1988 )
...
* Add Mixed Battle BGM entries for the Gen 1-5 trainers
* Also fix regular trainers
2024-06-09 01:48:32 -05:00
td76099
8a0eaa0009
[Bug] Fixing multi-hit drain moves so they heal based on individual hit and not total turn damage ( #1974 )
2024-06-08 23:53:03 -04:00