Commit Graph

2425 Commits

Author SHA1 Message Date
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
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
Benjamin Odom
98cff12fd1
[QoL] Add Arena Info Flyout for Weather, Terrain, etc. (#1734)
* Initial Commit

* Add Time of Day Icons and Remove Fight UI Dependancy

* Rename to Match

* Update battle-scene.ts

* Add Settings

* Add Comments
2024-06-03 21:18:09 -05:00
Yurical
e0fd11746f
[Localization] Use proper postpositional particle for Korean (#1759)
In Korean, postpositional particles vary depending on whether the
preceding syllable ends in a consonant or a vowel. Currently there
is no ability differentiate between the two types of particles, so both
forms are being used at the same time.
To remedy this problem, I added the relevant i18next processor to
properly select and print the correct form of the particle.
2024-06-03 21:38:52 -04:00
Matthew
69da96d543
Settings Refactor (#1771) 2024-06-03 19:57:47 -04:00
Philippe
763d2bfeeb
[Move] Implement pollen puff (#1732) 2024-06-03 16:26:15 -04:00
Xavion3
ff0e4fbdf0
Implement Pity System (#1752)
* Implement Pity System

* Add comments and optimised worst case slightly
2024-06-03 15:43:52 -04:00
sodam
145a79f8ef
[Localization] Fixed typo in Korean tutorial (#1757) 2024-06-03 11:38:37 -04:00
José Ricardo Fleury Oliveira
1abc591318
[ptBR Translations] Dialogue, game-stats and more (#1559)
* fixed translations and started dialogues

* ptBR translations

* fixes

* minor fix

* minor fixes 2

* firebreather

* minor translations

* minor translations
2024-06-03 15:30:27 +01:00
Frede
12bd22f2ca
Added "Skip Seen Dialogues" option (#1431)
* 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

---------

Co-authored-by: Frederik Hobein <frederik.hobein@nterra.com>
2024-06-03 11:49:13 +01:00
GoldTra
50c1f8aee4
[Localization] ES Weather and Achievements (#1722) 2024-06-02 20:13:54 -04:00
José Ricardo Fleury Oliveira
655e3ba24c
fix first voucher description (#1710) 2024-06-02 03:30:22 +01:00
damocleas
902d4df1a8
Wide Lens to Ultra item tier, Berry Count limits, and small Berry Pouch % chance reduction (#1472)
* Voucher and Wide Lens item table Changes

- Wide Lens moved from Rogue -> Ultra Tier, same weight
- Voucher moved from Ultra -> Great Tier, same weight
- Voucher Plus moved from Master -> Rogue Tier, with weight starting at 9 -> 6 and decreasing with each reroll with 3 -> 2
- Voucher Premium added to Master (based on suggestion from Madmadness) with same weight as new Voucher Plus, and disabled in Endless / Endless Spliced

* Added Berry Count limiter

2 count for Lum, Leppa, Sitrus, Enigma

3 count for all else

* fix test 1

* fix test 2

I blame browser coding for this

* fix test  3

I BLAME BROWSER CODING

* Changed Berry Pouch to 30% > 33*%, max stack 90% > 100%

* fix test 4!!!!

oops

* english.

* german.

* spanish.

* french.

* italian

* portugese.

* simplified chinese.

* traditional chinese.

* Removed voucher changes, making separate PR for them to be discussed.

* Swapped switch statement to .includes statement

* Update modifier-type.ts

* thank you cheek pouch pr
2024-06-02 03:10:58 +01:00
MrWaterT
dcbe479001
[Localization] Fix wrong sentence in ko rival dialogue (#1704) 2024-06-01 20:33:40 -04:00
José Ricardo Fleury Oliveira
c7de17a46e
Achievements localization, organized some locales files and ptBR translations (#1150)
* organizing, translations and achv localization

* localized for all languages

* minor fix

* minor fix 2

* minor fix 3

* Fixed Achivment Localization, Added german localization and fixes some issues with german localization at other parts

* fix pickup description

* Update French achv.ts

* French typo correction achv.ts

* eslint fixes

* added zhTW

* minor fix

* Achivment Bar is localized and gets bigger when using german

* Changed some things to make it not as Big

* The Achivment Bar now grows with the context

* Updated Achivment Names in german

* Update French achv.ts

* Vouchers now will show the correct descrption again

* minor fix

* minor fixes

* "sub" to "semi"

* minor fix

* fixes warning and organizes some files

* forgot about english

* korean translations

* test fix

---------

Co-authored-by: Jannik Tappert <tappertjannik@googlemail.com>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: Lugiad <adrien.grivel@hotmail.fr>
2024-06-02 00:53:13 +01:00
Jannik Tappert
7ee6c979cf
Disables all unique double battles but tate and Liza. And those two will now always have lunatone and the other one (solrock?) as their first pokemon (#1654) 2024-06-02 09:15:17 +10:00