Commit Graph

2041 Commits (f81df957a53af48fdf92e3be9ca8765cf46125ca)

Author SHA1 Message Date
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
Greenlamp2 6fbc0cb923
Settings navigation, when on top to go to the bottom, and when on the bottom to go to the top (#605)
* fix settings top and bottom

* added some comment

* TSDoc ready + less lengthy comments
2024-05-10 09:25:41 -04:00
Greenlamp c72a50a38c added controller input sprite 2024-05-10 15:02:00 +02:00
Flashfyre 97b50707a0 Fix icon configuration always including gen 9 2024-05-10 00:24:21 -04:00
Flashfyre 89ab909719 Move Eternal Floette icon to gen 6 2024-05-09 23:53:15 -04:00
Flashfyre 190fd771c5 Remove extensions from gen 9 icons 2024-05-09 23:46:14 -04:00
Flashfyre 5c98529108 Re-remove fallback API change with new URL 2024-05-09 23:44:09 -04:00
Flashfyre 4810966b7e Revert "Reapply "Revert API URL change""
This reverts commit 35d06512a2.
2024-05-09 23:40:54 -04:00
Flashfyre 35d06512a2 Reapply "Revert API URL change"
This reverts commit 08067d9937.
2024-05-09 23:29:45 -04:00
Flashfyre 72107aa615 Implement various sprite fixes and restructure icons 2024-05-09 23:28:08 -04:00
MonsieurDMA 6a3f5c5428
German - Tutorials and UI Buttons (#650)
* German - UI buttons

* German - Tutorials

* Fix typo in quote transformation
2024-05-09 21:33:15 -05:00
MonsieurDMA 43b75b601a
German - All Gen 8 pokemons (#640) 2024-05-09 21:31:07 -05:00
AJ Fontaine 7219556e77
Hydro Steam (#231)
* Hydro Steam, Spirit Shackle, U-turn fix

Match formatting to project style

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

* Fix Hydro Steam power up in Sun, even harsh sun if type changes

* Fix issue with Hydro Steam outside sun

* Add comments to IgnoreWeatherTypeDebuffAttr for documentation

* Move U-turn fix to another PR

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-05-09 21:21:57 -04:00
Greenlamp 42ef4b963b Merge branch 'fix/gamepad_support_disable_focus' of github.com:Greenlamp2/pokerogue into feat/mapping_setting
 Conflicts:
	src/inputs-controller.ts
2024-05-10 02:23:08 +02:00
Flashfyre 2bc1cfb0fc Extend the temporary shiny chance increase by 1 day 2024-05-09 20:16:29 -04:00
Greenlamp 58845410e6 added full TSDoc, helped by chatGPT, refined every entry manually of course 2024-05-10 02:16:03 +02:00
Flashfyre 02cba0f741 Add temporary triple shiny chance 2024-05-09 19:59:21 -04:00
Flashfyre dc9026f583 Add missing and updated biome art 2024-05-09 19:05:19 -04:00
Greenlamp 421e28b3f8 fix import 2024-05-09 23:23:29 +02:00
Greenlamp 0d2eb1d983 working button detection in menu 2024-05-09 23:23:09 +02:00
Matthew 10cf1cd94f
Cleanup overrides and imports (#603)
* cleanup overrides and imports

* Add GreenLamps Modifier Overrides

* added comments

* starting money and biome comments

* account for overriding empty move

* more override descriptions

* added generator held item names to override comment
2024-05-09 14:52:09 -05:00
Lugiad 882f9c289c
French typos + forgotten description in move.ts (#617)
* French typos in move.ts

* French typos + forgotten description in move.ts
2024-05-09 15:50:14 -04:00
alpaca 1d7d8b1ac7
Implement Heal Bell + Aromatherapy (#238)
* adds frame for StatusCureAttr

* heal bell and aromatherapy functioning as intended

* refactor attr to solely handle party cure, party interaction unique enough to justify

* adds header to PartyStatusCureAttr

* code comment

* comment formatting improvement

* checks for passives as well

* code comment

* shows ability bar if immune
2024-05-09 14:15:56 -05:00
Greenlamp 59832c6bef merge with branch fix lost focus on disabled gamepad 2024-05-09 20:26:00 +02:00
Greenlamp 5c9af9bb3c 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 20:25:11 +02:00
Greenlamp 3d66808016 fix visual selection of default gamepad 2024-05-09 20:21:26 +02:00
Xavion3 d5681a6e03
Fix loading protosynthesis/quark drive boosts (#687) 2024-05-09 11:33:47 -05:00
Greenlamp 22e7845480 fix changes made while commenting 2024-05-09 17:38:59 +02:00
Madmadness65 407d9b7c49 Minor fix for Oinkologne's gender ratio
It was unintentionally set to be 100% male instead of 50/50.
2024-05-09 10:21:01 -05:00
Greenlamp ecbcb0bf70 added some comment 2024-05-09 17:14:59 +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
Benjamin Odom b231b887aa
Update ability.ts (#671) 2024-05-09 16:40:23 +10:00
Xavion3 802daecd65
Fix starters with multiple forms being unable to change move (#667) 2024-05-09 00:39:45 -05:00
Xavion3 fd088c9360
Prevent doubles trainers generating with one pokemon (#642) 2024-05-09 00:39:20 -05:00
Xavion3 aba97c6ddc
Make max and z moves unable to be chosen with metronome (#641) 2024-05-09 00:38:46 -05: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
mercurius-00 a48a12ec0b
Add wordwrap to Chinese words (#670)
Since Phaser.Text's wordwrap doesn't work with Chinese words, ''\n' has been added to move.ts and ability.ts
2024-05-09 00:20:01 -05:00
Tempoanon d16cb1202f
Fix charge (#614)
* Fix charge

* Remove console logs
2024-05-08 23:37:50 -05:00
Reid McInroy c6749b1fb4
Update spacing of icons upon Name/Tera update (#655)
This change will update the relative position of the Tera, Splice, and Shiny icons when the Name or Tera Type updates. Fixes #618
2024-05-08 23:18:26 -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 92c493fe83 added some comment 2024-05-09 04:06:32 +02:00
Greenlamp e162edf6f5 restrict inputs to chosen controller 2024-05-09 03:37:08 +02:00
Greenlamp b35af93ecb added setting selector for controller like lang + populate the setting with detected devices 2024-05-09 03:33:25 +02:00
alpaca 76ac86d2ae
Implements healer (#259)
* Implements healer

* adds an ally check to the condition

* done testing, changes chance back to 30%

* adds comment header for PostTurnResetStatusAbAttr

* adds override to resetStatus to not allow revive

* dont revive

* override revert
2024-05-08 20:21:55 -05:00
Lugiad 71e9d0c385
Fix French battle.ts (#663)
Fix after global edit to "notDisabled"
2024-05-08 20:00:38 -05:00