Commit Graph

2113 Commits (43b459aba14a713a0489f3939feff143cd07df31)

Author SHA1 Message Date
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
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
Greenlamp d9d455f317 create folder for settings in ui folder 2024-05-12 16:51:18 +02: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
Greenlamp 8f4669cab6 added comment for gamepad-binding-ui-handler.ts 2024-05-12 13:26:00 +02:00
Greenlamp 956379bc31 commented settings-gamepad-ui-handler.ts 2024-05-12 13:13:15 +02: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
ArceUseless e9ca17c519
New growth rate lang files (#563)
* New growth rate lang files

* Update i18n.ts, fixing overwrite

* Added growth to lang conf files

---------

Co-authored-by: rnicar <rj.nieto.car@gmail.com>
2024-05-11 21:04:09 -05:00
Greenlamp 8f340509e5 starting to add comments 2024-05-12 03:35:20 +02:00
Greenlamp 6f8601815f renaming + small cleanup 2024-05-12 03:22:37 +02:00
Flashfyre f540b7d17f Fix always clearing first slot in offline mode 2024-05-11 20:33:03 -04:00
Greenlamp bf8f62bc9e renaming + fix a display bug 2024-05-12 01:59:38 +02:00
Greenlamp 1c17c193c5 fix icon position + added cancel sound 2024-05-12 01:43:27 +02:00
Greenlamp 4c39fd068c added top/down support from legacy settings 2024-05-12 01:31:57 +02:00
Greenlamp d80c0e3d34 removed Swap a/b 2024-05-12 01:28:56 +02:00
Greenlamp 5076625259 added placeholder when nogamepads is detected 2024-05-12 01:27:17 +02:00
Greenlamp ae85f1b416 fix a floating cursor not destroyed 2024-05-12 00:20:47 +02:00
Greenlamp 3b693d2231 fix a cursor bug + filter labels to display (to avoir submit with an xbox controller for example) 2024-05-11 23:58:47 +02:00
Greenlamp fc2a0e06ec better layout management 2024-05-11 23:33:24 +02:00
Madmadness65 3f9158083e Swap Rayquaza's egg moves
With egg moves factoring in to trainer Pokémon's learnsets now, Oblivion Wing was too problematic for a common egg move. So it has been swapped with V-create to make fights with it more tolerable.
2024-05-11 14:20:54 -05:00
Xavion3 34aa68df14
Fix fusion icon variant id (#747) 2024-05-11 13:15:01 -05:00
Xavion3 6b49b4f469
Lowers xp curve for fluctuating slightly (#746) 2024-05-11 11:54:05 -05:00
Greenlamp 83a26d8e58 get missmatch function call 2024-05-11 18:42:32 +02:00
Greenlamp e5e100990e key displayed are correctly updated when swap or controller change + custom mapping is effective everywhere 2024-05-11 17:54:34 +02:00
Xavion3 03d68f877a
Fix fluctuating xp curve (#743)
Was scaling with square of level, not cube.
2024-05-11 10:25:48 -05:00
notpatchmaybe ea459826d0
Heart Swap implementation. (#712)
* Heart Swap implementation.

 Simply switches the values in 3 arrays.

* Fixed missing space

* Removed some lines.

Removed a for loop.

* Removed an unneccesary line

* TSDoc commentation added

* Changed message method to be more descriptive

* Adjusted message line to be consistent with Pokemon Showdown

* Adjusted priorBoostArray to priorBoost integer

Only one values is relevant at a time, so the array was pointless, woops.
2024-05-11 09:42:57 -05:00
William Burleson 8707213e88
Adds session playtime to gameInfo for Rich Presence (#738)
* Add rich presence support

* Adds playtime to gameInfo
2024-05-11 10:11:00 -04:00
Greenlamp 5ff09389db swap is working + display current assignation on rebinding 2024-05-11 15:43:38 +02:00
Flashfyre 60f86c85ce Fix Glimmora atlases 2024-05-11 09:26:57 -04:00
Somod1 cd9e066524 update 2024-05-11 09:25:02 -04:00
Benjamin Odom ae7c1ef4f0
Fix Charge Move Infinites (#741)
Fixed an issue where two turn charge moves could be paused by status or Truant causing some infinite sequences if not careful.
2024-05-11 23:22:26 +10:00
Greenlamp cfa919b46c added already assigned key in the UI 2024-05-11 14:51:01 +02:00
Greenlamp 7ced12e13b refactored input-controller to use config 2024-05-11 14:31:48 +02:00
Greenlamp cffcf9afd0 cleaned up a bit the code + added some more config 2024-05-11 13:33:13 +02:00