Commit Graph

2538 Commits

Author SHA1 Message Date
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
Benjamin Odom 378ce95636
[QoL] Add TypeDoc as a Valid Doc Generator (#1609)
* Adds TypeDoc as a Valid Doc Generator

Run `npm install typedoc --save-dev`
then
Run `npx typedoc`

* Rename Revert

* Add Script
2024-05-30 20:05:38 -05:00
Ethan d2c5a283d1
[Ability] Implement Poison Heal (#1245)
* Implement Poison Heal Ability

* Removed unneeded import

* Fix some comments, as well as make Poison Heal only notify when healing

* Eslint fix

* Revert Phases

* Pushing for sake of reviewing; PR IS NOT DONE IT NEEDS TO BE TESTED AND COMMENTED AGAIN

* Changed the way healing is done, through a heal phase instead of heal(); Also added better documentation

* Changed healing, as well as making abilityTriggers updated
2024-05-30 18:58:40 -04:00
HighMans af20712cb5
[Feature] Make 31IVs show up as Gold (#1380)
* Make 31IVs show as gold on summary & when caught.

* Add comments to change.
2024-05-30 18:39:25 -04:00
Ronn 3f6e43a12d
Starter select - Implement up and down offset navigation (#1480)
* Handle offset up and down navigation

* add comments
2024-05-30 17:27:53 -05:00
Jannik Tappert 7ac6016df3
[Localization] Fixed Bugsy dialogue. And some fixes in the german dialogue (#1616) 2024-05-30 18:22:28 -04:00
dielle000 bda3013c19
Allow selection of item quantity when transferring items (fixes #723) (#1394)
* Transferring item does not kick out of transfer menu

* Select simultaneously the item to transfer and the quantity

* eslint fix

* eslint fix

* Reset quantity on scroll

* Documentation

* eslint fix
2024-05-30 16:58:10 -05:00
Adrian T 31e3293c51
[Ability][Move] Finish wind rider/power + tailwind implementation (#1566)
* finish wind moves + tailwind implementation

* move code and add documentations

* remove partial tag of wind_power

* add translations, fix move bugs

* fix ability trigger message

* fix ability trigger message

* add es localization

* move out of else statement
2024-05-30 17:42:46 -04:00
Tempoanon cb6a0b9973
Fix bug with variant rate (#1613) 2024-05-30 22:25:53 +01:00
Ethan d70ab3eaf6
[Move] Implement Punishment (#1610)
* Implement Punishment and reopen pull request 373

* Fix console log and ()
2024-05-30 17:01:42 -04:00
Gianluca Fuoco 2fd87a3cad
[Bug] Add Giga Impact Opp BG img (#1584)
* fix: add missing image by rotating giga impact image 180 degrees

* fix: move over impact in image
2024-05-30 16:48:06 -04:00
MrWaterT 2c784c662f
[Localization] Update Korean rival dialogue (#1597)
* Update small Korean locales

* Translate Korean classic story conversation

* Minor translation edit in Korean

3: translate 'not the same back home'
  from 'atmosphere of home is not like before'
  to 'returning to previous state is impossible'
3_female: now 'home' clearly means their hometown, not only player's house
6, 6_female: simple nuance-of-sentence modification
2024-05-30 16:40:31 -04:00
Tempoanon 3e932ce2d0
Shinylock uncatchable Pokemon in endless mode (#1252)
* Shinylock uncatchable Pokemon

* Fix typos

* Pass the linter vibe check

* Remove 2 shinylock cases

* refactor
2024-05-30 16:20:27 -04:00
Dmitriy K 329c9619f6
Add unthaw logic to Steam Eruption, Scorching Sands, Matcha Gotcha and all Damaging Fire moves (#940)
* 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 prefaint

* use helper instead of accessing attrs directly

* remove status overrides
2024-05-30 15:04:50 -05:00
Benjamin Odom 1415b74682
[QoL] Fix Final VS Code Error (#1608)
* Fix i18next and mobile errors

* Move File and Fix Error
2024-05-30 19:37:59 +01:00
Madmadness65 13797fe322 Revert change to Minior forms
Apparently its Meteor forms couldn't be selected if you caught it while it was in its Core form, so the change to this Pokémon specifically had to be reverted. It still immediately transforms back into Meteor form when starting a run, so this change should be harmless.
2024-05-30 13:06:25 -05:00
Benjamin Odom 060ffc6716
Fix i18next and mobile errors (#1601) 2024-05-30 18:51:58 +01:00
InnocentGameDev fcc98d372d
Fix Spanish translation and typos in modifier-type.ts (#1606) 2024-05-30 13:50:47 -04:00
Matthew Olker ed7a4045d8 show luck after reroll 2024-05-30 13:45:30 -04:00
ImperialSympathizer 3b852c5bf2
[Bug] Fix weather effects to work on the first turn of being cast (#1503)
* update weather phase so weather effects proc properly

* remove redundant weather replace phase logic

---------

Co-authored-by: ImperialSympathizer <imperialsympathizer@gmail.com>
2024-05-30 12:07:28 -05:00
Dmitriy K b1c208cd86
[Feature] Add status override (#1602) 2024-05-30 12:49:57 -04:00
Jacob Hatchett 029175bce6
[Ability] Added Perish Body ability (#1554)
* Added Perish Body ability

* fix linting issues

* Documentation + Checking if either pokemon has perish song tag

* Fixed typo and improved TriggerMessage
2024-05-30 11:36:12 -04:00
Matthew Olker c822a89878 Fix money text hidden in select modifiers 2024-05-30 11:27:17 -04:00
Lugiad cbca0983f3
Update French tutorial.ts (#1587) 2024-05-30 11:22:05 -04:00
GoldTra 23d66c0582
[Localization] Updated Spanish translations (#1600)
* Updated spanish translations

* Updated tutorial.ts

* Updated translations feedback

* Update tutorial.ts
2024-05-30 11:16:08 -04:00
FredeX 7f0de47554
[Localization] updated german translation for thunderclap (#1598)
* fixed thunderclap translation

* updated translation thunderclap

* fixed translation

* updated  translation for thunderclap

---------

Co-authored-by: Frederik Hobein <frederik.hobein@nterra.com>
2024-05-30 09:43:48 -04:00
FredeX 1af9f62246
[Localization] German translations added for 'thunderclap', 'wicked/blazing/noxious/combat/magical torque' and fixed a typo (#1595)
* Added german translation for the descriptions of thunderclap, blazing torque, wicked torque, noxious torque, combat torque and magical torque

* fixed typo in german splash message

---------

Co-authored-by: Frederik Hobein <frederik.hobein@nterra.com>
2024-05-30 01:12:25 -05:00
Madmadness65 2863c5fbfd Mark various forms as starter selectable
This was initially intended to correct Minior's Core forms being selectable when they shouldn't have been ( #1594 ), but was expanded to marking all forms that should be selectable as such, even if an evolved Pokémon, just in case.
2024-05-30 00:47:52 -05:00
flx-sta 8bc2c19361
prevent double-tab zoom on action pad (#1593) 2024-05-30 00:35:50 -04:00
flx-sta 48f2ecf39a
tests: add mock for FontFace and it to vitest setup (#1591) 2024-05-30 04:44:36 +01:00
Benjamin Odom 6c5e7884df
Fix Mobile Controls (#1588) 2024-05-30 02:40:24 +01:00
Benjamin Odom 9b5c1cdadb
Adds a Small Flyout Panel to the Battle Info Object (#1377)
* Initial Commit

* Update pbinfo_enemy_boss_stats.png

* Move to Separate Key

* Add Separate Mobile Control for Flyout

* Add Setting to Enable/Disable

* Add to the Tutorial

* Change to BUTTON.V
2024-05-29 20:29:59 -04:00
Gianluca Fuoco 73d3d8648f
[Bug/Enhancement] Fix stat change color (#1461)
* fix: use orange for stat increase and blue for stat decrease like in main games

* fix: run eslint
2024-05-29 20:26:24 -04:00
InnocentGameDev dfdb1909f1
[Localization] Spanish menu.ts and tutorial.ts translation and typos-fixing (#1583)
* Translation fixes for Spanish

* Tutorial.ts Spanish translation fix

* Update menu.ts

Fixed the message, didn't realize that line needed updating too
2024-05-29 19:21:49 -05:00