Commit Graph

2771 Commits

Author SHA1 Message Date
José Ricardo Fleury Oliveira 9c4c4005ae
[Localization] ptBr battle.ts translations (#1870) 2024-06-06 10:12:40 -04:00
Greenlamp2 5764324f61
fix display touch control V in battle (#1869) 2024-06-06 09:47:08 -04:00
Laeticia PIERRE f53dce432b
useMove + pokemon affix localization (#1276)
* useMove + pokemonPrefix localization

* Rename prefix to affix + line break fr

* getPokemonAffix to getPokemonNameWithAffix + remove space + replace

* Better getPokemonNameWithAffix switch

* Ko locale + fix es locale

* Doc getPokemonNameWithAffix + getPokemonMessage + fix

* Ko translate / missing weather changes

* Fix conflicts getPokemonPrefix

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-06-06 08:36:12 -05:00
Frede 40328d5712
[BUG] Fix Move Info Overlay Scroll Bug (#1856)
* Added "Skip Dialogues" option (if at least 1 classic win)

* Removed error sound and hide option instead when classic wins = 0

* Add skip dialogues option to Unlockables and show unlocked message on first classic win

* Only skips seen dialogues, removed dialogue option from unlockables, seen dialogues get saved to local storage

* oops

* dont show charSprite when skipping a dialogue, small fixes

* correctly reset move description scrolling when changing move

* override fix

---------

Co-authored-by: Frederik Hobein <frederik.hobein@nterra.com>
2024-06-06 08:22:37 -05:00
José Ricardo Fleury Oliveira 0e9bcfb4fd
[Bug] Minor ptBR mint fix (#1852) 2024-06-06 01:23:44 -04:00
flx-sta a8489cc707
[Bug] Revert start-label text to translation (#1855) 2024-06-06 01:18:54 -04:00
Benjamin Odom 5e52be676f
[QoL] Add Time of Day Widget to Arena Flyout (#1846)
* Time of Day Sample

* Add Proper Time of Day Tracking

* Add Settings
2024-06-05 22:57:55 -05:00
AJ Fontaine daa9e1ef0f
[BUG] Fix fullheal, burn/poison, and endure tokens in existing saves not updating after rebalance (#1848)
* Fix tokens not actually updating

* Remove changes to getArgs

* Added parentheses around conditional for safety

* Laid a space betwixt the two and its respective one at the behest of Temp
2024-06-05 23:07:47 -04:00
José Ricardo Fleury Oliveira c1b4be83d0
translations (#1850) 2024-06-05 21:52:59 -05:00
returntoice 6b31db0bc5
[Localization] Paldean gym leaders and elite 4 dialogue Korean translation (#1838)
* Your commit message

* localization
2024-06-05 21:54:08 -04:00
sodam 19114e4fd3
[Localization] #1761 Korean trainer dialogue (Gym leader in Hoenn region) (#1830)
* localized to korean (Gym leader's dialouge in Houenn region)

* modified the spacing

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

* modified the spacing

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

* modified the spelling

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

---------

Co-authored-by: returntoice <dieandbecome@gmail.com>
2024-06-05 21:52:30 -04:00
prime 1c98106642
[QoL] Move Info Overlay (#1585)
* move info implemented for starter selection

a move info box is displayed when editing the starter moveset.

also menus have now onHover triggers.

todo:
- show ui when selecting TMs
- show ui when selecting moves to remember (memory mushroom)

* More Move Info Overlays

Added overlays during Memory Mushroom use and when viewing TMs.
Furthermore a settings option can enable/disable those overlays.

* Added missing ko language entry

... though translation still remains necessary

* updated ui

also added overrides for item rewards

* minor ui update

moved values to the right in the tm move info box

* fixed typedoc issues

* removed settings in to prepare for merge

* updated settings option

added settings option to new settings implementation

* minor changes

removed unused graphic
moved settings option to accessibility
2024-06-05 20:28:12 -05:00
Matthew c5689dfc96
dont make api calls when no server is connected in local (#1847)
* dont make api calls in local without a server connected and fix fusionLuck not set by default
2024-06-05 21:24:47 -04:00
Tempoanon 6d35399c31
[Bug] Change confuse chance from 2/3 to 1/3 (#1827) 2024-06-05 20:05:44 -05:00
flx-sta 283714bd0f
[Refactor] Move enums from game-data into their respective files in `src/data/enums` (#1837)
* move PlayerGender enum into src/data/enums/player-gender.ts

this is necessary to avoid circular dependencies which did crash tests in the past (in PRs)

* Update settings.ts

* Update game-data.ts

* Update summary-ui-handler.ts

* Update ui.ts

* move Passive & GameDataType enums into own files
2024-06-05 19:11:07 -05:00
Blitzy 46dc7e9b01
[Balance] Give Partner Pikachu its Signature Moves and change Cosplay's stats (#1737)
* Update Cosplay Pikachu stats

* Give Partner Pikachu its signature moves in its learnset

* Added a "custom" note next to stats

* Spread out signatures per Brain Frog's request
2024-06-05 16:56:31 -05:00
Xavion3 4b36d38acb
Hotfix for NaN luck (#1840)
Makes luck default to 0 if false-y
2024-06-05 20:42:15 +01:00
Matthew Olker 3855b92237 fix weird luck when catching a fused mon 2024-06-05 15:41:04 -04:00
José Ricardo Fleury Oliveira 4a9fe763a5
[ptBR] Translated text (#1821)
* translated disclaimer

* minor fix
2024-06-05 12:44:48 -05:00
YounesM e614aec8ca
[Bug] Fix for Dancer activating when enemy in not on field / using a 2 steps charging move (#1708)
* Fixes !1686 and !1450

* Added forbidden tags

* Restored original import indentations

* Restored missing import
2024-06-05 13:10:24 -04:00
Matthew Olker b532a6b2d0 okay not that lucky 2024-06-05 11:21:47 -04:00
Matthew Olker 6d71db0f13 luck based encounter 2024-06-05 11:02:58 -04:00
NightKev 395fa6e33d
[Bug] Allow second mon of a fusion to learn/remember on-evo moves (#1778)
Fixes #520
2024-06-05 10:36:42 -04:00
GoldTra dce4518b93
Updated Spanish translations (#1825) 2024-06-05 09:24:33 -05:00
Frede fe732bbbe6
[QoL] Pokemon Info Container hides Enemy Modifier Bar (#1820)
* Added "Skip Dialogues" option (if at least 1 classic win)

* Removed error sound and hide option instead when classic wins = 0

* Add skip dialogues option to Unlockables and show unlocked message on first classic win

* Only skips seen dialogues, removed dialogue option from unlockables, seen dialogues get saved to local storage

* oops

* dont show charSprite when skipping a dialogue, small fixes

* pokemonInfoContainer always on top of battle UI when shown

* removed setDepth and rather hide enemyModifierBar

---------

Co-authored-by: Frederik Hobein <frederik.hobein@nterra.com>
2024-06-05 10:09:06 -04:00
Lee ByungHoon e599931ff3
[Localization] Add Korean trainer dialogue (youngster, lass) (#1809)
* [Localization] #1761 Korean trainer dialogue (youngster, lass)

* changed ellipsis character that used 3 character to used 1 character.

* Update src/locales/ko/dialogue.ts

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

* Update src/locales/ko/dialogue.ts

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

* Update src/locales/ko/dialogue.ts

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

---------

Co-authored-by: returntoice <dieandbecome@gmail.com>
2024-06-05 10:00:43 -04:00
Adrian T bd34fc0b47
[Bug] Fix quick claw message showing if command is not fight (#1819) 2024-06-05 09:38:43 -04:00
Madmadness65 219f227cab Remove basic Voucher from Ultra item pool
It should only be in the Great item pool now.
2024-06-04 21:53:22 -05:00
sodam 7cc5ca1839
[Localization] Korean Kanto gym leader dialogue ( (#1794)
* localized to korean (Gym leader's dialouge at Kanto region)

* modified Brock's dialogue clearly

* Add missed word to lt_surge's dialogue
2024-06-04 22:17:49 -04:00
Madmadness65 1dd7a792d4 Fix Wide Lens being accidentally added to Rogue pool 2024-06-04 21:15:10 -05:00
damocleas dd3ffb4315
Voucher Item tier changes/addition (#1516)
* Voucher Item tier changes/addition

- Voucher moved from Ultra -> Great Tier, given a weight of 1 and disappears after first reroll, should still appear more often with a healthy team than in ultra tier at all.
- Voucher Plus moved from Master -> Rogue Tier, with weight starting at 9 -> 5 and decreasing with each reroll with 3 -> 2
Should appear just a bit more often than before.
- Voucher Premium added to Master (based on suggestion from Madmadness) with same weight as new Voucher Plus, and disabled in Endless / Endless Spliced
Should appear ~20% of the time with *perfect luck* in a whole average classic run.

Overall would be a 40-45% increase in total eggs in perfect conditions (luck, healthy team, etc.)

* fixed an extra spacebar at the end of 1303

* fixed an extra spacebar at the end of 1360

* fixed to account for Wide Lens being added
2024-06-04 22:05:29 -04:00
Matthew Olker 7eb0e8e77d revert pokemon info container depth change 2024-06-04 21:45:36 -04:00
Matthew Olker 7c9e5e9f52 loading screen disclaimer 2024-06-04 21:41:36 -04:00
Matthew Olker 5464f964c9 add more gameobject names for debugging 2024-06-04 21:06:46 -04:00
Frede cfe9b3303a
[QoL] Pokemon Info Container always on top of Battle UI (#1782)
* Added "Skip Dialogues" option (if at least 1 classic win)

* Removed error sound and hide option instead when classic wins = 0

* Add skip dialogues option to Unlockables and show unlocked message on first classic win

* Only skips seen dialogues, removed dialogue option from unlockables, seen dialogues get saved to local storage

* oops

* dont show charSprite when skipping a dialogue, small fixes

* pokemonInfoContainer always on top of battle UI when shown

---------

Co-authored-by: Frederik Hobein <frederik.hobein@nterra.com>
2024-06-04 21:05:25 -04:00
Adrian T 48f60a5b50
[QoL] add message when quick claw is triggered (#1684) 2024-06-04 18:11:30 -04:00
Benjamin Odom d04010226d
[Bug] Fix Leppa Berries not Updating Flyout PP (#1806)
* Fix Leppa Berries not Updating Flyout PP

* Code Cleanup

* Update battle-flyout.ts
2024-06-04 16:59:39 -05:00
AJ Fontaine eecad0fdc4
Balance endless tokens (#1733)
* Balanced tokens

* Remove existing tokens, all 10 stack limit

* Linter complained

* Sorry Mr. Lint I’ll do better next time

* Removed redundant min

* Used a version system to update tokens

* The linter has peculiar tastes

* See if this works

* I'm at my limit omg wtf Sam

* Call me Swoobat the way I keep it Simple

* Clean up some log statements

* Adjust token weights to make up for removal of sleep and freeze

* Be so fr GitHub that’s not a real merge conflict
2024-06-04 16:39:22 -05:00
Jannik Tappert a8205ae819
[Bug] Handle if the browser gives a long form of a language (like "de-DE") … (#1795)
* Handle if the browser gives a long form of a language (like "de-DE") for cases where we only have the short form "de".

* Changed it so that now resolved Language is now used anywhere. This is basically what i orignally did manually but provided from i18next directly
2024-06-04 15:11:02 -05:00
Tempoanon 809c86599d
[Feature] Updated Champion teams (#1676)
* Updated champion teams

* Forgot Alder's legendary

* Give Alder Genesect

* Merge and update

* Update teams a bit more

* Red now leads with Pikachu, fixed Iris dialogue

* Add champ leads
2024-06-04 14:37:04 -04:00
Benjamin Odom 6dbf99cc72
[Bug] Fix Circular Dependency with BerryType (#1802)
* Fix Potential Circular Dependency with BerryType

* remove .js
2024-06-04 19:03:02 +01:00
Tempoanon 1c73b3b084
Revert "[Feature] Add possibility to override whole user party (#1643)" (#1796)
This reverts commit ef8b6aa4f9.
2024-06-04 16:39:02 +01:00
hayuna ef8b6aa4f9
[Feature] Add possibility to override whole user party (#1643)
* Add possibility to override whole user party

* Update species overriding

* Replace SPARTER_SPECIES_OVERRIDE with array

* Replace SPARTER_SPECIES_OVERRIDE with array

* Add possibility to override species forms

* Add possibility to override species forms

* Fix eslint styling

* Add possibility to override Abilities for party

* Override status, gender, moveset

* Add possibility to override shinies

* Fix CI
2024-06-04 11:29:38 -04:00
Matthew Olker 7ac7c2b63b fix mobile settings touch controls 2024-06-04 09:54:10 -04:00
chaosgrimmon 7da8bdfdb6
[Bug] Epic Drifblim using Drifloon sprite (#1788) 2024-06-04 09:26:03 -04:00
chaosgrimmon 38f533276f
[Bug] Lustrous Globe named Lustrous Orb (#1781)
* [Bug] Lustrous Globe, not Orb for Palkia Origin

* [Bug] Lustrous Globe named Lustrous Orb

Translation sourced from https://www.pokewiki.de/Wei%C3%9Fkristall

* [Bug] Lustrous Globe named Lustrous Orb

* [Bug] Lustrous Globe named Lustrous Orb

Prior translation appears correct, cross-referenced with https://www.wikidex.net/wiki/Gran_lustresfera

* [Bug] Lustrous Globe named Lustrous Orb

Translation sourced from https://www.pokepedia.fr/Globe_Perl%C3%A9

* [Bug] Lustrous Globe named Lustrous Orb

Translation sourced from https://wiki.pokemoncentral.it/Splendisferoide

* [Bug] Lustrous Globe named Lustrous Orb

Prior translation seems correct, cross-referenced with https://pokemon.fandom.com/ko/wiki/%ED%81%B0%EB%B0%B1%EC%98%A5

* [Bug] Lustrous Globe named Lustrous Orb

No source found. Brilhante take from canonical translation of https://bulbapedia.bulbagarden.net/wiki/Lustrous_Orb

* [Bug] Lustrous Globe named Lustrous Orb

Translation sourced from https://bulbapedia.bulbagarden.net/wiki/Lustrous_Globe

* [Bug] Lustrous Globe named Lustrous Orb

Translation sourced from https://bulbapedia.bulbagarden.net/wiki/Lustrous_Globe
2024-06-04 01:53:58 -04:00
Madmadness65 a01cb96de6 Allow Pumpkaboo & Gourgeist forms to be caught
They do not have sprite differences currently, so they won't be able to be identified at a glance, but they do have the canon stat differences between "sizes".
2024-06-04 00:33:57 -05:00
Tempoanon c499f351d1
[Bug] Add missing snowscape TM mons (#1742) 2024-06-03 23:51:36 -05:00
returntoice 041519a78f
[Localization] #1761 Korean double trainer dialogue (#1765)
* Your commit message

* localization
2024-06-03 23:46:42 -04:00
Tempoanon f503080167
[Bug] Curse should do at least 1 damage (#1740)
* [Bug] Curse should do at least 1 damage

* Used the wrong math function lol
2024-06-03 22:33:26 -04:00