Commit Graph

2571 Commits

Author SHA1 Message Date
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
MrWaterT b9575d3ffc
[Localization] Korean Font update (#1678)
* Update PokePT_Wansung.ttf

https://github.com/MrWaterT/PokePT_Wansung v2.1

* Update PokePT_Wansung.ttf with é

https://github.com/MrWaterT/PokePT_Wansung v2.2
2024-06-03 21:59:23 -04: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
chaosgrimmon eddc6d73bf
[Bug] Fix undesired opaque pixels (#1719) 2024-06-02 09:41:05 -05:00
chaosgrimmon 59b1e58507
[Bug] Female variant Rhyhorn line missing .json palette [#1681] (#1718)
* [Bug] Female variant Rhyperior missing .json palette

Adds the missing variant back palette map. Taken from the male variant back.

* [Bug] Female variant Rhyperior missing .json palette

Adds the missing variant front palette map. Taken from the male variant.

* [Bug] Female variant Rhydon line missing .json palette 

Lets the game know that variants, both front and back, for Rhydon, Rhyhorn, and Rhyperior exist.

* [Bug] Female variant Rhydon, Rhyperior missing .json palette 

Adds the missing variant front palette maps. Taken from the male variants.

* [Bug] Female variant Rhydon, Rhyperior missing .json palette 

Adds the missing variant back palette maps. Taken from the male variant backs.
2024-06-02 09:40:37 -05:00
chaosgrimmon 289b42441f
[Bug] Add variant Larvesta icons (#1717)
* [Bug] Add variant Larvesta icons

The game wants them in pokemon_cons_5v.json, where they are currently not. All Solosis and Tympole_3 sprites placements adjusted for adequate spacing.

* [Bug] Add variant Larvesta icons 

Adds the icons to the spritesheet, and moves around some other icons for optimal use of space and spacing.
2024-06-02 09:39:01 -05: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
td76099 06ba63dd7d
[Bug] Liquid Ooze hurts move user instead of one with ability (#1301)
* Fixing Liquid Ooze to turn move user and not one with the ability as well as converted strength sap to use same logic instead of making it a separate class

* Replaced "undefined" with "null"

* Updated based on feedback + fix file permissions

* Fixing file permission on battler-tags

* Adding localization for drain message

* Apparently this file is 755 unlike the others

* Removed ability for custom message in exchange for getting to pass Pokemon name

* Once again changing moves from 644 to 755 like it is in repo right now :)

* putting ability back to 755 (why are file permissions all over the place)
2024-06-01 15:53:32 -04:00
InnocentGameDev b7ecebbc6e
[Localization] Toxic and Flame Orb (en, de, es, fr, it) Localisations (only missing pt_BR, zh) (#1668)
* toxic and flame orb odds tweak and localisation

* Update modifier-type.ts

German name, but English description

* Update modifier-type.ts

Spanish done, in this regard!

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

French translation, thanks @Dakurei

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

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

French translation, thanks @Dakurei

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

* Update modifier-type.ts

Missed eliminating the "."

* Update modifier-type.ts

* Update modifier-type.ts

"it" gets proper English description, waiting on an Italian localisation

* Update modifier-type.ts

fixed the english desc.

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

it localisation

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

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

GoaTed translator

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

* Update modifier-type.ts

English in pt

* Update modifier-type.ts

English everywhere zzz

* Update modifier-type.ts

Final English, ready for translation by whoever sees it fit!

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

Fixed a mixup

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

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

Fixed a mixup

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

* Update modifier-type.ts

Added DerTapp translations without the "Ein Item zum Tragen." part for consistency throughout the file and with the rest of the locales, and according to what was briefly discussed in the Discord last night.

* Update modifier-type.ts

Missed taking out the "." in the /de, to keep it consistent with all other descriptions

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

Korean localisation is already done

* Add back ko modifier-type

---------

Co-authored-by: Dakurei <maxime.palanchini@gmail.com>
Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
Co-authored-by: Temps Ray <temps.ray@gmail.com>
2024-06-01 11:25:46 -04:00
Greenlamp2 060b1b2ccc
Menu - Controls Rebind - Gamepad & Keyboard (Cleaner git log) (#1666)
* squased merge rebind_menu

* azerty to qwerty

* add a check to preven a crash in firefox

* reset navigation menu on quit

* removed dual lock mekanism

* navigation display update icons on new bind

* added submit binding

* removed attribute no longer used

* change protected to abstract

* remove last bind protection since action and cancel are protected + renamed default controller to controller

* removed default alt qwerty keys in config

* fix some errors for doc

* fix tests

* fix some more errors for docs

* fix some more errors for docs final ?

* added alt bind for menu navigation + update icons on delete/home
2024-06-01 13:56:32 +01:00
returntoice 5cf9a98ee0
[Localization] Minor Korean modifications (#1665) 2024-06-01 01:27:21 -04:00
Xavion3 e7fed48f8e
[Balance] Simplify and fix flame/toxic orb weight (#1670) 2024-06-01 12:10:10 +10:00
Benjamin Odom da771daee6
[QoL] Remove VS Code Settings (#1672)
* Remove VS Code Settings

* Update .gitignore
2024-06-01 02:26:00 +01:00
Dmitriy K d052d444b6
[QoL] Add type inference to getAttrs methods and refactor accordingly (#1633)
* add type inference to getAttrs methods and refactor accordingly

* Tests/infer types for get attrs methods (#1)

* #1633: add spec/tests for coverage

* move ability/move tests into /src/tests and rename to *.test.ts to match common naming patterns

* use None in test cases to remove ambiguity

* revert back to before test cases were merged

---------

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
2024-05-31 19:50:30 -05:00
Dakurei 13c9888902
Trigger the github-pages workflow even during pull requests (#1655)
+ Allows upstream identification of problems such as those that occurred during merge of PR #1567
2024-06-01 01:30:55 +01:00
Benjamin Odom 19885e0558
Add Arena Events (#1627)
* Add Arena Events

* Update arena-events.ts
2024-05-31 17:52:16 -05:00
karl-police f2a6fe5c6a
Autocomplete for modifiers in overrides (#1057)
* Autocomplete for modifiers

* Update overrides.ts

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-31 17:41:09 -05:00
chaosgrimmon 218cf025a3
[Bug] Fix rare shiny Cleffa using default icon (#1642)
* [Bug] Fix rare shiny Cleffa using default icon

Rare shiny Cleffa's icon was showing up as the default colouration, or as shiny Lugia's icon.
This fixes that by adding it to the spritesheet pokemon_icons_2v and its .json, where the console log suggested it should belong.

* [Bug] Fix rare shiny Cleffa using default icon

Rare shiny Cleffa's icon was showing up as the default colouration, or as shiny Lugia's icon.
This fixes that by adding it to the spritesheet pokemon_icons_2v and its .json, where the console log suggested it should belong.
2024-05-31 17:15:41 -05:00
Jaime 7f1e94e8ca
[Bug] Fix status abilities not considering Comatose (fixes #1639) (#1641) 2024-05-31 16:50:03 -05:00
Tempoanon cf9992f9b8
Add code (#1661) 2024-05-31 16:42:38 -05:00
innerthunder 2dff35c407
Fix Neutralizing Gas self-suppression (#1662) 2024-05-31 16:35:52 -05:00
Tempoanon ff5b227a6b
[Documentation] Add documentation to egg-hatch-phase.ts (#1650)
* Add documentation

* Ben has made me take more sanity damage
2024-05-31 16:34:02 -05:00
Amani H e0bc1d8781
[Item] Add Toxic Orb and Flame Orb (#1574)
* Add Toxic Orb and Flame Orb

* Change Weighting Logic & Functions

* Adjust Party Filter during Weighting

* Add Dynamic Weight Ceilings

* Refactor for Performance/Cleanliness

* Adjust Party Filter to Check Status Applicability

* Cover Same & Different Status Cases

* Adjust Full Heal & Restore Weighting

* Cover Unwanted Status Case

* Fix Wrong Status Effect on Reload
2024-05-31 14:31:11 -05:00
MadridPawmot 63a416a65b
[enhancement] Added Firebreather trainer class (#1409)
* Add files via upload

* Update trainer-type.ts

* Update biomes.ts

* Update trainer-config.ts

* Update trainer-names.ts

* Add Spanish localization

* Update trainers.ts

* Update trainers.ts

* Update trainers.ts

* Update trainers.ts

* Update trainers.ts

* Update trainers.ts

* Finished adding placeholder strings for each language

* Updated German translation

Thanks to CodeTappert

* Updated trainer.ts to resolve conflicts

* Update trainers.ts to resolve conflicts

* Update trainers.ts

* Fixed syntax error

* Update dialogue.ts

* Re-added dialogue back

* Added firebreather name string to Korean locale

* Added dialogue string to locale

* Added dialogue string to locale

* Update dialogue.ts

* Added dialogue string to locale

* Added dialogue string to locale

* Added dialogue string to locale

* Added dialogue string to locale

* Added dialogue string to locale

* Added requested changes

* Added requested changes

* Added requested changes

* Update dialogue.ts

* Update dialogue.ts

* Update dialogue.ts

* Update dialogue.ts

* Update dialogue.ts

* Finished adding requested changes to locales

* Added requested changes
2024-05-31 14:05:04 -05:00
Madmadness65 99e17c94eb Fix Zacian & Zamazenta form changes breaking
Forgot to update this, oops.
2024-05-31 11:33:16 -05:00
Madmadness65 fc61489d59 Hero Palafin, 10% PC Zygarde cries corrected for real this time
Also made sure Zacian and Zamazenta don't crash this time.
2024-05-31 11:14:55 -05:00
Tempoanon 0c862839d3
Revert "[Bug] Full Heals and Full Restore cure confusion (#1112)" (#1653)
This reverts commit 6c4b60a2fa.
2024-05-31 15:56:39 +01:00
Tempoanon 5eab016903
Revert "[Localization] modifier-select-ui-handler Locales (#1567)" (#1652)
This reverts commit 5c79e6258b.
2024-05-31 10:48:26 -04:00
Lugiad 5c79e6258b
[Localization] modifier-select-ui-handler Locales (#1567)
* Update i18n.ts

* Update modifier-select-ui-handler.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Update config.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

* Update modifier-select-ui-handler.ts

* Update config.ts

* Add files via upload

* Update modifier-select-ui-handler.ts

* Update modifier-select-ui-handler.ts

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

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

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

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

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

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

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

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

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

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

* Update modifier-select-ui-handler.ts

---------

Co-authored-by: returntoice <dieandbecome@gmail.com>
2024-05-31 10:39:13 -04:00
Lugiad 5182937040
[Localization] Add Korea type icons (#1649)
* Add files via upload

* Update utils.ts
2024-05-31 10:34:26 -04:00
MrWaterT 7b5510b055
[Localization] little edit in Korean locale text (#1636)
* Update tutorial.ts

statChange : 9b5c1cd
starterSelect : fccd546

* Edit a misspell
2024-05-31 10:33:25 -04:00
Ethan 6c4b60a2fa
[Bug] Full Heals and Full Restore cure confusion (#1112)
* Added Confusion to be healed with Full Heals and Full Restores

* Semi-Colon oversight

* Changed resetStatus to have a condition whether to include confusion or not, defaults to false so you manually have to add

* Fixed spacing and semicolon

* Refactored the Lum Berry case

* Fix berry conflicts

* Update {}

* Fix PP Conflict

* Build fix?

* Fix Modifier

* Build Fix

* Fix

* Fix StatuHeal from eslint
2024-05-31 10:31:15 -04:00
Adrian T bb7af15c4a
[Move][Bug] Fix Enemy Fake Out and Force Switch Interaction (#1251)
* fix force switch move

* add check if switched out pokemon is not fainted with force switch move

* improve code documentation

* refactor if statement
2024-05-31 10:23:28 -04:00
Dakurei 92afcdea8f
Adds workflow to auto generate doc & make it accessible on Github (#1645)
* Adds workflow to auto generate doc & make it accessible on Github

* Adds a condition similar to deploy.yml

  + There's no particular reason to build the documentation for each fork, as it will simply be possible to synchronize the gh-pages branch via the interface or terminal
2024-05-31 09:36:59 -04:00
Adrian T c102faf157
fix lowkey toxtricity evolution (#1640) 2024-05-31 14:12:01 +01:00
Dakurei 7b65c51931
Revert 2 last commits (#1646) 2024-05-31 13:29:54 +01:00
zaccie f19cd37436
fix zacian/zamazenta crash (#1638)
* fix zacian/zamazenta crash

A quick fix by renaming Palafins forme change to hero-forme in code

* fixing bad english

i cant spell in my own language
2024-05-31 10:10:31 +02:00
Madmadness65 dfb089a2b9 Fix Hero Palafin and 10% PC Zygarde using wrong cries
Also marked Palafin as able to change forms, but this shouldn't affect it's functionality.
2024-05-31 02:06:40 -05:00
Aerochill 7a7971ec6c
[Ability] Queenly Majesty/Dazzling/Armor Tail Fix (#1631) 2024-05-30 22:37:47 -04:00