Commit Graph

1898 Commits

Author SHA1 Message Date
Greenlamp
4526683c5a added return type for inputs-controller 2024-05-04 23:13:59 +02:00
Greenlamp
a84f9f89bf added return type for ui-inputs 2024-05-04 22:52:20 +02:00
Greenlamp
c6a2d98e4a fix repeating stats button + change message in event when the key is repeating 2024-05-04 19:08:42 +02:00
Greenlamp
b55eac7d5d putting in an enum file the enum buttons 2024-05-04 02:04:16 +02:00
Greenlamp
15c82d2de2 cleanup 2024-05-04 01:55:18 +02:00
Greenlamp
db009550e7 cleanup 2024-05-04 01:53:29 +02:00
Greenlamp
b1a171011c cleanup 2024-05-04 01:52:32 +02:00
Greenlamp
c1a0835a65 seems old code source is indented with tab 2024-05-04 01:48:13 +02:00
Greenlamp
ba8ebc64ef Merge branch 'main' of github.com:Greenlamp2/pokerogue into feat/inputs_management_rework
 Conflicts:
	src/ui/confirm-ui-handler.ts
	src/ui/save-slot-select-ui-handler.ts
	src/ui/starter-select-ui-handler.ts
2024-05-04 01:39:32 +02:00
Greenlamp
e18a4f3d16 remove Plugins things as it's too uncertain how it works on prod 2024-05-04 01:34:59 +02:00
Lugiad
77c3a5ad78
Minor update to French battle.ts (#438)
* Minor update to French battle.ts

Added missing spaces before some exclamation marks

* Minor Update to French battle.ts
2024-05-03 18:07:51 -05:00
Lugiad
0c9402a649
Update French tutorial.ts (#437)
Changes made after in game test
2024-05-03 18:07:06 -05:00
Lugiad
75cbe4fe2c
French Update to menu.ts (#436) 2024-05-03 17:43:32 -05:00
Flashfyre
754fe434e6 Update biome pools for various legendaries and regionals 2024-05-03 18:37:46 -04:00
Flashfyre
2eec545c49 Fix stat number keys in legacy battle stats view 2024-05-03 17:54:56 -04:00
ArceUseless
19e434929c
Spanish translations (#422)
* Spanish translations for intro messages and some menus. Added Empty (save file) to lang files

* Spanish translations + new literals in all langs

---------

Co-authored-by: rnicar <rj.nieto.car@gmail.com>
2024-05-03 17:52:09 -04:00
gericocross
6f446324db Longer descriptions don't stuck shorter ones anymore 2024-05-03 17:43:13 -04:00
Madi Simpson
06ae04abad bugfix: ensure hit recoil moves always do at least 1hp in recoil 2024-05-03 17:10:50 -04:00
Madi Simpson
d48f0aa97d
Implement Anger Shell and Berserk (#421)
* abilities: implement anger shell and berserk

* abilities: fix small typo causing berserk to raise speed instead of spatk

* abilities: condense battlestats into an array instead of multiple attrs
2024-05-03 15:55:46 -05:00
Benjamin Odom
313fdc0e42 Fix Venom Drench not working on Toxic Status 2024-05-03 16:48:11 -04: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