Commit Graph

1879 Commits

Author SHA1 Message Date
Greenlamp
e18a4f3d16 remove Plugins things as it's too uncertain how it works on prod 2024-05-04 01:34:59 +02:00
Greenlamp
f47b650a76 Merge branch 'main' of github.com:Greenlamp2/pokerogue into feat/inputs_management_rework 2024-05-03 22:25:29 +02:00
Greenlamp
59363163e1 tried to fix the plugin loading issue on prod 2024-05-03 22:24:52 +02:00
Benjamin Odom
3b61662bba Fixed Mighty Cleave not being a Slicing Move 2024-05-03 16:18:29 -04:00
Matt Ross
1484a52fd7
Add variable power attribute for knock off (#426)
* feature/add-variable-power-knock-off

* Remove console logs
2024-05-03 15:54:21 -04:00
Madi Simpson
cbf06ffa2c bugfix: ensure direct stat modifying moves update both pokemon's stat info 2024-05-03 15:12:48 -04:00
Madmadness65
9a559c8d6a Update passive abilities for legendaries
This is the first batch of passive ability revisions, this one directed at legendary and mythical Pokémon.
2024-05-03 14:04:43 -05:00
Flashfyre
71705dd6d4 Add candy popup sound 2024-05-03 15:03:11 -04:00
Flashfyre
9fc6bdde21 Revert "Rework - Inputs management to include all gamepad mapping (#390)"
This reverts commit 70324c4159.
2024-05-03 13:04:32 -04:00
Greenlamp
7715dbd993 tab -> spaces final (maybe) 2024-05-03 18:59:46 +02:00
Greenlamp2
70324c4159
Rework - Inputs management to include all gamepad mapping (#390)
* rework of the input handling, including different gamepad and keyboard

* rework of the input handling, including different gamepad and keyboard

* first version of a too complex inputHandler based on phaser3-merged-input

* removed useless control management and kept it simple for our use case, investigating to put out button_XX()

* renamed inputHandler to inputController

* aggregate directions and some action into a same method + fix menu return value

* added back repeated input feature on keeping down a key

* cleanup + return type

* fix submit/action doing two things simultaneously, still same behaviour as before

* extracted UI inputs out of battle-scene

* tab -> spaces

* tab -> spaces what about now github ?
2024-05-03 12:59:10 -04:00
Greenlamp
62e4ff7b33 tab -> spaces what about now github ? 2024-05-03 18:58:07 +02:00
Greenlamp
1d2bc88cab tab -> spaces 2024-05-03 18:54:06 +02:00
Dario Krause
c44ec421b0 Update pokemon.ts 2024-05-03 12:05:45 -04:00
Xavion3
c7c4deb416 Implement Sniper 2024-05-03 12:05:20 -04:00
Greenlamp
5197311cd8 extracted UI inputs out of battle-scene 2024-05-03 17:40:44 +02:00
Lugiad
e082dd9089
Minor correction to apostrophes in French menu-ui-handler.ts (#415) 2024-05-03 09:51:00 -05:00
Xavion3
bc319a8eda Fix eggs during dailies 2024-05-03 10:28:40 -04:00
Greenlamp
9853a3ae75 fix submit/action doing two things simultaneously, still same behaviour as before 2024-05-03 15:00:23 +02:00
Greenlamp
a034950969 Merge branch 'main' of github.com:Greenlamp2/pokerogue into feat/inputs_management_rework 2024-05-03 14:45:36 +02:00
Greenlamp
6d718692fe Merge branch 'main' of github.com:Greenlamp2/pokerogue into feat/inputs_management_rework 2024-05-03 14:44:56 +02:00
Greenlamp
e56edc55ea cleanup + return type 2024-05-03 14:36:55 +02:00
Paul Beslin
24a9dba2c4 Fix attacks with charge (solar beam, dig...) allowing to switch target on second turn 2024-05-03 08:35:31 -04:00
Greenlamp
23fe290c57 added back repeated input feature on keeping down a key 2024-05-03 14:34:24 +02:00
Benjamin Odom
b84a4b4ee5 Fix Shedinja PPused Share
Fixed having Shedinja share PP usage with the Ninjask it evolved from and vice versa.

The solution was to make a deep copy of each move in the moveset array rather than copying the array itself.
2024-05-03 08:33:33 -04:00
Jaime
f7b391746e Fix Gyro Ball only checking base stat 2024-05-03 08:32:39 -04:00
Greenlamp
4f4f4e035a aggregate directions and some action into a same method + fix menu return value 2024-05-03 13:00:27 +02:00
Matt Ross
fbc0800571
Issue/smack down should cancel fly (#407)
* Smack down and thousand arrows should cancel charging fly

* Remove console log

* Update interruptible check to use flying tag instead of move history

* Remove extra comma
2024-05-03 01:20:41 -04:00
Madmadness65
6011794732 Minor egg move fix
Gen 8 fossils unintentionally had Earthquake. They have now been replaced.
2024-05-02 21:58:38 -05:00
Flashfyre
b30ab6136e Starter friendship for candies is split between spliced species 2024-05-02 21:55:11 -04:00
Simoninoo
67431fb83b
Patch Ita (#399)
* Syntax correction

* Tutorial translation
2024-05-02 20:45:45 -04:00
Benjamin Odom
fec8771830 Fix Shedinja Luck and Crash
Shedinja wasn't taking the luck value from Ninjask so when it calculated its luck it just took the entire fused Pokemon's luck somehow. This has been fixed so it takes both the first and second part of the fusion's luck values instead.

Also fixes an issue where Shedinja crashed the game if it was the second part of a fusion combo. Now the correct pokemon species gets checked against and the correct pokemon evolution occurs to create Shedinja.
2024-05-02 17:55:45 -04:00
Flashfyre
991f097e9e Rebalance friendship and add starter friendship with candy reward 2024-05-02 17:48:08 -04:00
Greenlamp
6de2051338 renamed inputHandler to inputController 2024-05-02 23:19:00 +02:00
Greenlamp
b108cdd4bd removed useless control management and kept it simple for our use case, investigating to put out button_XX() 2024-05-02 23:16:34 +02:00
maru
dffa9b2704
Add more files to be purged from CF cache on deploy 2024-05-02 15:48:59 -04:00
Benjamin Odom
9d8f7ddcf0
Implement Tailwind (#398)
Added a new ArenaTagType for Tailwind. Lasts 4 turns including the turn used.
2024-05-02 14:10:21 -05:00
Madmadness65
ddb4383b1f Move Porygon line down to Rare in Factory biome
This makes the Porygon line more common than before.
2024-05-02 14:01:57 -05:00
Greenlamp
feba8ac641 first version of a too complex inputHandler based on phaser3-merged-input 2024-05-02 19:47:07 +02:00
Flashfyre
322838cfb5 Move service-worker to public folder 2024-05-02 11:37:06 -04:00
Flashfyre
3a7a48fe83 Temporarily disable error handling 2024-05-02 09:00:36 -04:00
James Lin
0185dd639e
Catch global errors and rejected promises and display them in an alert box. (#351)
* Catch errors and rejected promises.

* Clean up
2024-05-02 08:44:10 -04:00
Lugiad
10506f9cf5
Update italian pokemon-stat.ts (#389)
* Update italian pokemon-stat.ts

* Update italian pokemon-stat.ts
2024-05-02 08:37:05 -04:00
Lugiad
71893e8428 Update Spanish fight-ui-handler.ts 2024-05-02 08:36:33 -04:00
Benjamin Odom
c9152cda3f
Fix Mobile PWA not showing in true Fullscreen (#394)
* Fixed Rounding Error For TargetHalfHpDamageAttr

Moves that deal half of a target's HP were not able to deal damage if the target had 1 HP. Used Math.max to ensure 1 is the lowest this value ever evaluates to.

* Fix Mobile PWA not showing in true Fullscreen

adding "fullscreen" to the display attribute wasn't enough, but adding it to the start_url attribute was. This does not appear to affect PC (which is good since it shouldn't).

* Allow any orientation for mobile PWA

remove the orientation restriction since it doesn't prevent fullscreen PWA from displaying properly.
2024-05-02 01:17:32 -04:00
Lugiad
a1bb0e7baf
Updated French transaltion for tutorial.ts (#375)
Translation of "statChange" + some remaning typos
2024-05-01 23:26:24 -05:00
Xavion3
6d9424e431
Implement Gastro Acid (#393) 2024-05-01 23:22:30 -05:00
Flashfyre
ba5bef123c Load missed master achievement bar 2024-05-01 19:42:06 -04:00
Flashfyre
2f8000885e Fix coloring error in rogue achievement bar 2024-05-01 19:29:04 -04:00
Flashfyre
86b0596a60 Add rogue achievement and voucher tier 2024-05-01 19:28:07 -04:00