Commit Graph

3009 Commits

Author SHA1 Message Date
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