Commit Graph

2120 Commits (e3685d2d19724490c77cbfcf9fe2625f88708a95)

Author SHA1 Message Date
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
alpaca aeab9d78ec
Implements cursed body (#227)
* implements cursed body

* 30 percent chance to proc

* check if max

* removes unimplemented tag

* bypasses faint

* un-disable message specifies pokemon name

* adds prefix to un-disable message

* space issue
2024-05-08 19:25:16 -05: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
William Burleson 94da7838f8
fix offline imports (#659) 2024-05-08 18:14:09 -05:00
alpaca b5888b5472
Implements Cotton Down (#254)
* Implements Cotton Down

* activates on faint as well
2024-05-08 17:25:15 -05:00
Greenlamp 45e40f66ce fix "lost focus behaviour" when disabling gamepad and thus repeating RIGHT key 2024-05-08 23:07:17 +02:00
Benjamin Odom ea5e535f9f
Fixed Failed Moves Not Using PP (#634)
Fixed an issue where if a move failed, it would not use power points.
2024-05-08 15:51:56 -05:00
Benjamin Odom 4509e08dc6
Renamed the Python Script File (#657)
Accidentally left out the 'c' in 'comments'
2024-05-08 15:50:31 -05:00
Flashfyre e993bf9945 Fix session slot always saving to first slot in offline mode 2024-05-08 16:36:44 -04:00
maru 3ec9081a77
Change titlestats update interval to 60 seconds 2024-05-08 15:47:03 -04:00
Elliott Simmonds cb24faa12e
Small fixes to burning bulwark and alluring voice (#651) 2024-05-08 13:39:22 -05:00
Madmadness65 8a35166988 Slightly adjust Recovery Tokens
Each individual token heals 1 percent less, but now stacks to 15 instead of 10, to maintain the current maximum of 30% recovered per turn.
The purpose of this change is to make the healing more gradual, and just generally less painful if you get multiple early on.
2024-05-08 12:38:31 -05:00
Lugiad 0af02210ee
Overflowing fix in French menu.ts (#648) 2024-05-08 12:36:09 -05:00
Akuma-Reiki ea1ed1352c
Hide Ribbons When Not Owned (#649)
* Candy/Ribbon UI Update

* Removes the overrides

No level 2000000000000000 runs for you

* checks for all root species

* Hide ribbon when not owned
2024-05-08 12:35:27 -05: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
Akuma-Reiki 662319e9ac
Candy/Ribbon UI Improvement (#622)
* Candy/Ribbon UI Update

* Removes the overrides

No level 2000000000000000 runs for you

* checks for all root species
2024-05-08 12:01:05 -05:00
Gray b6692e42b2
Fix Flare Blitz in Gravity (#637)
This condition is out of place since Flare Blitz is not supposed to fail if used in Gravity.
2024-05-08 10:25:47 -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
Greenlamp 22c81f1a80 renamed buttons to LB & RB + added whitelist for these buttons to specific handler 2024-05-08 16:04:33 +02:00
Jeremy B bb28d3599e
fix scrappy and mindseye working as passive ability (#567)
* fix scrappy and mindseye working as passive ability

* update apply for ignoretypeimmunityabattr

* simplify logic for ignoretypeimmunityabattr

---------

Co-authored-by: contra1337 <jpbastyr@gmail.com>
2024-05-08 00:32:38 -05:00