Commit Graph

2096 Commits (865325c132131be9be29f76d7a155104c50345a7)

Author SHA1 Message Date
Jakub Hanko 865325c132
Add TSDoc 2024-05-14 21:06:44 +02:00
Jakub Hanko a371767be3
Rename ExposedTag into TypeImmunityIgnoreTag 2024-05-14 20:57:57 +02:00
Jakub Hanko d5720fbf50
Make the ExposedTag not require allowed types to hit the immune type. 2024-05-14 11:24:40 +02:00
Jakub Hanko 33e71605b4
Make ExposedAttr extend AddBattlerTagAttr and fail on overlap 2024-05-13 23:15:49 +02:00
Jakub Hanko 07fe307022
Merge branch 'main' into odor_sleuth 2024-05-13 22:25:06 +02:00
Griffin Zody ed87293867
Fix Zygarge Complete form changing back into 50% (#786) 2024-05-13 14:53:23 -05:00
Matthew Olker 47c9eb547d fix Rare Shiny Groudon back sprite 2024-05-13 15:29:50 -04:00
José Ricardo Fleury Oliveira e2dfbc4aa5
Added new entries (#823) 2024-05-13 13:55:15 -05:00
Jannik Tappert 487b1d26d1
Added german localization to the new entries in starter-select-ui-handler.ts (#822) 2024-05-13 13:24:55 -05:00
Matthew Olker 40993793cb Show default icon for missing starter icon 2024-05-13 14:23:34 -04:00
Matt Ross 4e6cf2a6ac
Facade should ignore burn damage reduction (#530)
* Facade should ignore burn damage reduction

* update order of burn conditions

* remove unnecessary space

* undo facade check in apply

* Rework facade bypassing burn as move attribute

* Only check ability attribute if move attribute was false

* Add missing semicolon

* Add tsdoc comment

* Add comment to burn damage reduction class

* Added changes from Discord thread

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-13 13:06:15 -05:00
Matt Ross fa60e002e8
Fixes some variable damage moves not working with tinted lens (#759)
* Fixes some variable damage moves not working with abilities

* Rework as new ability attribute

* Update variable base power check to original location

* formatting

* Add tsdoc comments

* add floor for potential non int multipliers

* Update pokemon.ts

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-13 13:05:09 -05:00
Lugiad 610de916a0
Update French starter-select-ui-handler.ts (#821) 2024-05-13 13:01:30 -05:00
Madmadness65 34a4f86982 Add a couple starter select localization entries
The passive ability's "Locked" and "Disabled" strings can now be localized.
2024-05-13 12:50:56 -05:00
Flashfyre 9a49691a9e Add max options to language select
Add max options to language select (fixes #819)
2024-05-13 13:10:01 -04:00
José Ricardo Fleury Oliveira 2a32189ea1
Added Portuguese (Brazil) translations (#766)
* Add support for Portuguese (Brazil) locale, except for moves and abilities.

* All ptBR translations, names of moves and abilities maintained in english.

* Small fixes

* Updated Frisk and fixed Plus and Minus descriptions

* Changed the settings label to "Português (BR)"
2024-05-13 11:18:24 -05:00
Alvin Zou 6d73500aeb
Update Frisk descriptions (#784) 2024-05-13 11:08:55 -05:00
Jannik Tappert e4d3f73dee
ToggleSize is now dependend on language + added some missing german translations (#797) 2024-05-13 11:06:26 -05:00
Alessandro Bruzzese b189289890
Updated italian localization (#815)
Updated:
 - `it/fight-ui-handler`
- `it/growth`
- `it/nature`
2024-05-13 10:52:31 -05:00
Jakub Hanko 86877dc313
Code cleanup 2024-05-13 17:10:53 +02:00
Jakub Hanko b86a20c7b2
Implement Miracle Eye and Foresight 2024-05-13 14:13:34 +02:00
Jakub Hanko 4b4d3c6c8a
Fix incorrect effectiveness evaluation after Odor sleuth 2024-05-13 14:09:35 +02:00
alpaca 09287c22ba
implements telepathy (#307) 2024-05-13 05:59:39 -05:00
lucfd b36c23fae1
Implemented Curious Medicine (#263)
* implemented supersweet syrup

* implemented curious medicine

* removed sneaky test overrides

* removed sneaky test overrides x2

* updated to new language-agnostic format, removed supersweet syrup

* fixed whitespace

* Update ability.ts

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-13 04:57:17 -05:00
Marcos 3cc990f5d2
Fully implemented floral healing (#250)
* Created BoostedHealAttr and implemented Floral Healing

* Update move.ts

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-13 04:27:38 -05:00
Matthew 21a0a0276d
add pokeball override (#793) 2024-05-13 03:40:53 -05:00
Jakub Hanko 17c6c309e1
Partially implement Odor Sleuth 2024-05-13 09:16:42 +02:00
Flashfyre 8d96ec7666 Add canonical link 2024-05-13 01:43:04 -04:00
Tempoanon e9c09070df
Stench should not trigger on status moves (#800) 2024-05-13 00:24:07 -05:00
Benjamin Odom 9ee5fec41d
Added Passives to the Summary Screen (#703)
* Added passives to the Summary Screen

Adds the ability to view passives on the Summary screen. Just like in the starter select, you can only see the passive once it is unlocked.

There is a small pixel button prompt which helps indicate you are able to press the button to view the passive. This buttons shows an A when gamepad support is enabled and a Z otherwise.

* Update summary-ui-handler.ts

* Updated for Legacy Support
2024-05-12 23:38:28 -04:00
Samuel H 2b9b63e3f3
Add combined save between waves (#777) 2024-05-12 23:01:05 -04:00
James Diefenbach 9a09d790f0
Rockruff dusk form not evolving (#700)
* changed nonfunctioning rockruff form check to ability check for own tempo for dusk form evos

* testing changes

* rockruff OT uses formIndex for dusk form evolution, removed temporary debug rockruff getFormIndex changes

* reverted overrides

* fixed spacing issue

* evolution times revised

* revised dawn and dusk evos for rockruff

* reordering evo times for consistency

* removed unused imports (abilities, attackTypeBoosterModifierType)

---------

Co-authored-by: James Diefenbach <z5421232@ad.unsw.edu.au>
2024-05-12 22:00:46 -05:00
Xavion3 22097a0c95 Fix getSunday function 2024-05-12 21:22:50 -04:00
Flashfyre 347972d103 Remove boosted shiny rate 2024-05-12 20:45:41 -04:00
Tempoanon e61c63f6c8
Implement innards out (#569)
* Implement innards out

* remove log statement

* Some cleanup

* Added comment
2024-05-13 07:07:31 +10:00
Matthew e195c6d799
Show Default Pokemon icon for missing shiny icon (#802) 2024-05-13 06:41:02 +10:00
Douglas Marchione de Souza 9e453c5b0f
Fix sturdy (#604)
* Fixes sturdy to stop popping up even if not used

* Made changes to better the code, also added
a check for wonder_guard 1hp

* Refined code, as requested by bennybroseph

* Made a small fix and added better comments in
relation to interaction with Wonder_guard ability
2024-05-12 14:53:54 -05:00
Benjamin Odom 512cc5b965
Fix Duplicate Egg Moves (#736)
Fixes an issue where egg moves could get duplicated onto a starter Pokémon's moveset.
2024-05-12 14:56:37 -04:00
phynor 2176d5854d
fixed typo in german pokemon names (#794) 2024-05-12 13:55:57 -05:00
Lugiad dbb8f4c217
French translation of growth.ts (#763) 2024-05-12 14:42:56 -04:00
phynor 7b7df5b245
More german translations (#612)
* added more german translations

* added german translation for move.ts

* more german translations

* ability.ts wih german translation updated

* added missing german translation for abilites.ts

* added more missing translations

* changed description of frisk
2024-05-12 12:53:07 -05:00
Madmadness65 20a09c2b92 Remove species form encounter code for Scatterbug line and Calyrex
The Vivillon forms can all be encountered properly now, and Calyrex's forms have since been removed from the wild encounter pool, requiring a form change item to obtain.
2024-05-12 11:33:27 -05:00
Benjamin Odom 79a87e1c65 Update pokemon.ts 2024-05-12 10:27:54 -04:00
LaukkaE ced74efc52
fix isGrounded check (#774) 2024-05-12 06:30:18 -05:00
Madi Simpson e1ef3c03de
ability: make technician respect variable power moves (#529) 2024-05-12 04:06:09 -05:00
Landon Lee a27822b624
Fix cry when pokemon is fused with its own species (#615)
If the pokemon species and form is the same as the second fusion component, then skip the logic to make a fused cry and just use the cry of the primary component.
2024-05-12 03:01:59 -05:00
Thomas Huynh d5f82611f5
added battle tag check in isGrounded method (#750)
Co-authored-by: unknown <t_huynh927@yahoo.com>
2024-05-12 02:28:30 -05:00
Frederico Santos e4afdf1d45
Add ignoresProtect to life dew (#758)
Co-authored-by: Frederico Santos <frederico.santos@fivedegrees.nl>
2024-05-12 02:18:23 -05:00
Xavion3 db6008d15c
Add tsdoc comments for ability getters (#764)
* Add tsdoc comments for ability getters

* Add links to the docs
2024-05-12 00:48:56 -05:00
ArceUseless fe6aefd910
Natures langs with new config (#611)
* Natures lang files

* Updated French nature.ts

* Nature german translation + chinese added

* Added nature to chinese config.ts

---------

Co-authored-by: rnicar <rj.nieto.car@gmail.com>
Co-authored-by: Lugiad <adrien.grivel@hotmail.fr>
Co-authored-by: rnicar245 <55734812+rnicar245@users.noreply.github.com>
2024-05-11 21:22:45 -05:00