Commit Graph

1869 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
Benjamin Odom ad59c0a7c4 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.
2024-05-01 19:14:18 -04:00
Flashfyre 6ac224ab8a Refactor to split battle messages from menu 2024-05-01 18:54:35 -04:00
TeKrop e34b204664 feat: added support for localisation on battle scene sentences 2024-05-01 18:54:35 -04:00
Flashfyre 89e2642d91 Fix update issue for battle stats display 2024-05-01 18:24:21 -04:00
Flashfyre 7a418109c3 Fix not checking move conditions for AI 2024-05-01 18:17:12 -04:00
Tempoanon 0f153d39b1
Fix effect spore immunities, tera blast TM distribution, and IVs shown on catch (#388)
* Fix effect spore, tera blast distribution, and IVs shown on catch

* Forgot to add tms

* Unown does not learn any TMs

* Fix some tera blast learns

* delelele whooooop
2024-05-01 16:47:32 -05:00
Xavion3 5a6ea40dae Implement Acrobatics
Currently scales from 0-5 items
2024-05-01 17:11:16 -04:00
Xavion3 d6ca09e431 Implement Belch 2024-05-01 16:52:48 -04:00