Commit Graph

2198 Commits

Author SHA1 Message Date
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
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
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
Greenlamp
6eab6f1920 added alt keys for keyboard, need to find a way to differentiate main to alt 2024-05-13 03:12:58 +02:00
Greenlamp
665ecc0e4b effective keyboard key swap 2024-05-13 02:51:59 +02:00
Flashfyre
347972d103 Remove boosted shiny rate 2024-05-12 20:45:41 -04:00
Greenlamp
b8856d246e renamed azerty to default since it's not usefull anymore 2024-05-13 02:32:25 +02:00
Greenlamp
769412e452 game is using the custom config with keyboard 2024-05-13 02:29:15 +02:00
Greenlamp
e798f72a63 fix imports 2024-05-13 02:03:06 +02:00
Greenlamp
627a6cb66f refactor to use abstract-binding-ui-handler 2024-05-13 01:51:44 +02:00
Greenlamp
43b459aba1 finished the refactor to use abstract-settings-ui-handler 2024-05-13 01:37:33 +02:00
Greenlamp
f3d5a2a84e created abstract-settings-ui-handler to gather common code 2024-05-13 00:50:27 +02:00
Greenlamp
f8da26f203 fix menu keyboard F and R 2024-05-12 23:36:06 +02:00
Greenlamp
8205df46df fix transition bug 2024-05-12 23:28:02 +02:00
Greenlamp
164838c669 input detection for keyboards is working 2024-05-12 23:11:20 +02: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
Greenlamp
c6d3f93b3f first iteration of KeyboardBindingUiHandler 2024-05-12 21:22:32 +02:00
Greenlamp
c963970adf added key list in keyboard setting binding 2024-05-12 21:03:48 +02: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
Greenlamp
d9d455f317 create folder for settings in ui folder 2024-05-12 16:51:18 +02:00
Benjamin Odom
79a87e1c65 Update pokemon.ts 2024-05-12 10:27:54 -04:00
Greenlamp
2bc5a7665e first step of keyboard rebinding 2024-05-12 16:10:25 +02:00
Greenlamp
09ea1db8fa Merge branch 'main' of github.com:Greenlamp2/pokerogue into feat/mapping_setting 2024-05-12 14:19:44 +02:00
Greenlamp
a2dd704737 added snes icons 2024-05-12 14:18:48 +02:00
Greenlamp
3938975710 fix snes controller support 2024-05-12 13:54:49 +02:00
Greenlamp
ba42f072e1 update comment in inputs-controller.ts 2024-05-12 13:40:16 +02:00
LaukkaE
ced74efc52
fix isGrounded check (#774) 2024-05-12 06:30:18 -05:00
Greenlamp
32a9b7170c removed useless array 2024-05-12 13:26:33 +02:00