Commit Graph

226 Commits (85a0debb6c3af8842f1d142ff4c217fac1794dc9)

Author SHA1 Message Date
Greenlamp cba9049613 removed the option to change layout in the keyboard menu since there is only one for now 2024-05-15 02:44:00 +02:00
Greenlamp c1e9e0c691 fix icons issue + identified a new bug => new test scenario 2024-05-14 18:20:01 +02:00
Greenlamp 66414e9bbc fix bug save bindings 2024-05-14 00:59:06 +02:00
Greenlamp 5399bda0f6 Merge branch 'main' of github.com:Greenlamp2/pokerogue into feat/mapping_setting
 Conflicts:
	src/system/settings.ts
2024-05-14 00:26:25 +02: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
Matthew 21a0a0276d
add pokeball override (#793) 2024-05-13 03:40:53 -05:00
Samuel H 2b9b63e3f3
Add combined save between waves (#777) 2024-05-12 23:01:05 -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
Greenlamp b8856d246e renamed azerty to default since it's not usefull anymore 2024-05-13 02:32:25 +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 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 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 d80c0e3d34 removed Swap a/b 2024-05-12 01:28:56 +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
Greenlamp 5ff09389db swap is working + display current assignation on rebinding 2024-05-11 15:43:38 +02:00
Greenlamp cffcf9afd0 cleaned up a bit the code + added some more config 2024-05-11 13:33:13 +02:00
Greenlamp 635a2ea959 first step to display button icon in the gamepad menu for current binding 2024-05-11 02:59:52 +02:00
Greenlamp ef4bb9c3b5 added ui to confirm or cancel the new input 2024-05-11 01:26:06 +02:00
Flashfyre 9cfc09f673 Restructure game over logic to save before clear 2024-05-10 18:12:33 -04:00
Greenlamp 05f2233cf2 Merge branch 'main' of github.com:Greenlamp2/pokerogue into feat/mapping_setting 2024-05-10 18:48:37 +02:00
Greenlamp2 b32b802ab4
QOL - Settings to choose party Exp display at the end of fight (#488)
* added settings to manage how to display party experience at the end of fight

* added back stats changes support when setting is on but ignored when on skip

* removed a useless parameter

* added new level in the text

* only Lv. UP if level is greated than 200

* cleanup

* added some comment

* TSDoc comment block

* EXP_Party -> EXP_Party_Display, Only Up -> Level Up Notification

* better duration for the level up notification

* typo

Co-authored-by: Samuel H <flashfireex@gmail.com>

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-05-10 09:54:14 -04:00
Greenlamp f81df957a5 Merge branch 'main' of github.com:Greenlamp2/pokerogue into feat/mapping_setting
 Conflicts:
	src/inputs-controller.ts
	src/system/settings.ts
2024-05-10 15:43:59 +02:00
Greenlamp2 22a73642df
Fix - Gamepad support setting "lost focus" behaviour (#658)
* fix "lost focus behaviour" when disabling gamepad and thus repeating RIGHT key

* added some comment

* added full TSDoc, helped by chatGPT, refined every entry manually of course
2024-05-10 09:26:45 -04:00
Greenlamp 0d2eb1d983 working button detection in menu 2024-05-09 23:23:09 +02:00
Greenlamp 59832c6bef merge with branch fix lost focus on disabled gamepad 2024-05-09 20:26:00 +02:00
Greenlamp d34d48f1b5 remove localStorage for gamepads connected + fix lost focus effect on controller change + disconnect/reconnect handling 2024-05-09 17:02:07 +02:00
maru 7f0362e124
Fix it for real this time 2024-05-09 07:30:19 -04:00
Greenlamp b58a444f80 remove localStorage for gamepads connected + fix lost focus effect on controller change 2024-05-09 12:55:00 +02:00
maru c1cff02a18
Fix bug with accounts being unable to create new saves 2024-05-09 06:22:33 -04:00
Xavion3 e6ba60364e
Save battler tags (#516)
* Save battler tags

Also saves the rest of the summonData except for transform specific things.

* Add missing values for type boost tag.

* Add intellisense comments
2024-05-09 00:37:51 -05:00
Madmadness65 e39b157767 Make Simplified Chinese locale use zh_CN 2024-05-08 23:13:38 -05:00
Jane620 5992d9eb81
add simplifed chinese locale (#485)
* add chinese locale, but translation is not yet complete.

* Add chs and cht locale

* translate ability,move,pokeball,pokemon

* Add files via upload

* Add files via upload

* Update i18n.ts

* Delete src/locales/zh_cn directory

* Add files via upload

* Update settings.ts

* Delete src/locales/chs directory

* Add files via upload

* add tutorial

* fix conflict issue

* remove cht, due to chs is almost done by justhil

* remove duplicated setting

* spell correction

---------

Co-authored-by: ZXZhuang <2993968012@qq.com>
Co-authored-by: justhil <138752349+justhil@users.noreply.github.com>
Co-authored-by: Jianfeng 2. Wang (NSB) <jianfeng.2.wang@nokia-sbell.com>
2024-05-08 22:59:49 -05:00
Greenlamp b35af93ecb added setting selector for controller like lang + populate the setting with detected devices 2024-05-09 03:33:25 +02:00
Greenlamp d4e1834e7c Merge branch 'fix/gamepad_support_disable_focus' of github.com:Greenlamp2/pokerogue into feat/mapping_setting
 Conflicts:
	src/inputs-controller.ts
	src/system/settings.ts
2024-05-09 01:32:14 +02:00
Greenlamp 45e40f66ce fix "lost focus behaviour" when disabling gamepad and thus repeating RIGHT key 2024-05-08 23:07:17 +02:00
Flashfyre e993bf9945 Fix session slot always saving to first slot in offline mode 2024-05-08 16:36:44 -04:00
Lugiad e93777e52a
Names of the languages in their respectives languages (#635)
* Names of the languages in their respectives languages in settings

* Names of the languages in their respectives languages
2024-05-08 12:08:34 -05:00
Greenlamp 80e8d43c56 added basic key settings 2024-05-08 17:16:20 +02:00
Greenlamp c5decd5cc1 fix import 2024-05-08 16:41:02 +02:00
Greenlamp 7a75fc925a added gamepad section in Game Settings and related option into it 2024-05-08 16:40:41 +02:00
Flashfyre 72b4552b01 Don't update user info on save for optimization 2024-05-07 13:36:52 -04:00
Tempoanon 4fcea107ab
Fix wrong stat displayed for mythicals hatched (#601) 2024-05-07 12:10:48 -05:00
alpaca 36cde21ce3
Adds ribbon in starter screen if mon has beat classic mode (#370)
* adds the ribbon asset, hooking it up

* works if override. need to add field on server side I imagine

* moves count to starterData, increments on win

* formatting

* increment works properly

* recursively check for prevolution

* cleaned up to use getRootSpeciesId()

* changes ribbon to gold medal version

* adds Akuma's ribbon achievements

* ribbons increment correctly

* missed ui handler update

* reorder achievements

* ribbon correct, vouchers not. currently investigating

* increments properly, but voucher reward phase not appearing

* some cleanup

* works great, need to better reflect who is getting ribbon in message and cry

* plays level fanfare, tabling cry for now

* reran items.bat

* Minor fixes

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-05-07 00:44:41 -04:00