Commit Graph

2084 Commits

Author SHA1 Message Date
Greenlamp
3ee9c39975 disable the gamepad support when the option is on OFF 2024-05-05 10:45:18 -04:00
Madi Simpson
e4b8bffdec stat change phase: only display comma before and if there are 3 or more stats 2024-05-05 10:45:00 -04:00
Akuma-Reiki
b076dec346
Add Candy Progress UI to Starter Selecgt (#479)
Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-05-05 10:35:14 -04:00
Greenlamp2
d98f7733d4
Rework - Inputs management to include all gamepad mapping V2 (#429)
* 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 ?

* tab -> spaces final (maybe)

* tried to fix the plugin loading issue on prod

* remove Plugins things as it's too uncertain how it works on prod

* seems old code source is indented with tab

* cleanup

* cleanup

* cleanup

* putting in an enum file the enum buttons

* fix repeating stats button + change message in event when the key is repeating

* added return type for ui-inputs

* added return type for inputs-controller

* adapted the code to integrate changes of bennybroseph
2024-05-05 10:30:00 -04:00
Benjamin Odom
3ed7649ce5
Remove Debug Code (#480)
Remove code intended only for debugging.
2024-05-05 18:45:54 +10:00
Ivan Perez
3a218eb92b
Fixed a bug where a yawned target in a semi-vulnerable state would be stuck in that state (#396) 2024-05-05 00:35:47 -05:00
Reldnahc
7cdf07c050
have arena tags check their sides. (#447)
* have arena traps check their sides.

* make sure we check the right tags layers
2024-05-05 00:27:46 -05:00
Benjamin Odom
dd76cbc7a2
Add Setting to Swap A and B on Gamepad (#474)
* Add Setting to Swap A and B on Gamepad

Added a new setting to swap the A and B button on controller. Defaults to off which retains the current behavior on live.

* Add comments
2024-05-05 01:25:57 -04:00
Madmadness65
5440c0b40c Add B2W2 Legendary Titan Theme
This is a small part of a larger addition of music, added before the rest due to it being a B2W2 track.
2024-05-04 22:48:23 -05:00
Benjamin Odom
daa6e3b3a8
Prevent Fusion Status Errors +Fix Double Battle Issue (#472)
* Reapply "Prevent Fusing Status Errors (#465)"

This reverts commit 18a1c152c0.

* Update phases.ts
2024-05-04 22:16:59 -05:00
Alessandro Bruzzese
41f9420c90
Added Italian translations for ability.ts and other element (#471) 2024-05-04 21:00:28 -05:00
Madmadness65
18a1c152c0 Revert "Prevent Fusing Status Errors (#465)"
This reverts commit 68eca464f7.
2024-05-04 20:50:48 -05:00
Madi Simpson
96d7fdd3f9
Implement Water Shuriken Battle Bond condition (#466)
* moves: water shuriken hits 3x 20bp in ash greninja forme

* moves: remove fusion checks
2024-05-04 20:50:12 -05:00
Madi Simpson
2c003854e9
terrain: psychic terrain doesn't block priority moves on the user's side (#470) 2024-05-04 20:45:37 -05:00
Benjamin Odom
68eca464f7
Prevent Fusing Status Errors (#465) 2024-05-04 20:37:31 -05:00
Benjamin Odom
d170aeeab6
Updated Learnset of Gen2 to Indigo Disc (#469)
* Updated Learnset of Gen1 to Indigo Disc

Not many changes here for how much time it takes to comb through, but here it is.

Only notable change is Power-Up Punch got removed this gen so it had to be removed from Hitmonchan's learnset. Are we okay with this change? If so, this is good to go for Gen 1.

* Updated Learnset of Gen2 to Indigo Disc

Notable changes:

Porygon 2 loses Magic Coat with no replacement.

Ho-oh loses Burn Up but gains Overheat.

The rest seems better or neutral.
2024-05-04 20:27:01 -05:00
Madmadness65
1792b98608 Implement Genesect's forms & Techno Blast
Genesect's Drive forms does not change it's typing, only Techno Blast's type.
2024-05-04 19:45:07 -05:00
Madi Simpson
6151ec0e49
modifiers: pp up/max now also shows pp (#467) 2024-05-04 19:31:25 -05:00
Madi Simpson
b2c74cfc90
Implement Opportunist (#460)
* abilities: implement opportunist

* abilities: make it not infinitely loop like a dummy

* abilities: properly ignore only opportunist on opportunist boosts

* abilities: rename some things to make a bit more sense
2024-05-04 18:38:53 -05:00
Madmadness65
4e0bf8f5a1 Adjust Tyrogue egg move
Mach Punch was unnecessary, as Hitmonchan gets it via level up. This provides a good setup option for all three evolutions.
2024-05-04 18:37:04 -05:00
Akuma-Reiki
92fb8b715e
Added Candy Progress UI (#463)
* Added Candy Progress UI

* GetRootSpecies rather than colors of current Species
2024-05-04 18:29:48 -04:00
LaukkaE
620a92aace
Bugfix Tickle, Tearful Look, Decorate (#464) 2024-05-04 17:28:15 -05:00
nrawicz
cd7de10722
Expanding force hotfix (#459)
* Expanding Force Implementation

Added target change attribute based on terrain

* Class change I guess

* Expanding Force Implementation

Added target change attribute based on terrain

Class change I guess

Squashed weird split commit

* Fixed removed commits

My bad

* ACTUALLY fixed removed commits

* Expanding Force Hotfix

Fixes a bug where Expanding Force would not act as a multi-target move in the MoveEffectPhase while in psychic terrain
2024-05-04 13:28:44 -05:00
Benjamin Odom
f53c699d04 Updated Learnset of Gen1 to Indigo Disc
Not many changes here for how much time it takes to comb through, but here it is.

Only notable change is Power-Up Punch got removed this gen so it had to be removed from Hitmonchan's learnset. Are we okay with this change? If so, this is good to go for Gen 1.
2024-05-04 13:43:07 -04:00
Flashfyre
a7af14b8e2 Fix fusion token weight at 1000 2024-05-04 11:54:00 -04:00
nrawicz
da5615eb4a
Implement Expanding Force (#417)
* Expanding Force Implementation

Added target change attribute based on terrain

* Class change I guess

* Expanding Force Implementation

Added target change attribute based on terrain

Class change I guess

Squashed weird split commit

* Fixed removed commits

My bad

* ACTUALLY fixed removed commits
2024-05-04 10:52:24 -05:00
Flashfyre
3d2f31eb4f Fix endure token weight 2024-05-04 11:50:15 -04:00
Lugiad
d77ae729c0 Minor Update to French battle.ts
Thanks to @Dakurei for this nice compromise
2024-05-04 11:01:18 -04:00
Lugiad
3de4b9cd12 Minor Update to French battle.ts 2024-05-04 10:49:50 -04:00
Flashfyre
5b4f1da854 Fix level capped party members not gaining friendship 2024-05-04 00:19:50 -04:00
Benjamin Odom
b529eee5ac
Add Form Text to Starter UI (#446)
* Add Form Text to Starter UI

Adds text to the starter screen UI which indicates which Form you are currently selecting. This helps with Pokémon who don't have a sprite change for their form because it doesn't affect them until later.

* Make Title Case
2024-05-04 00:02:55 -04:00
Benjamin Odom
5d6181926a Removed Hardcoded Values
Realized there was an enum for the -1 value which should help clear up confusion if someone has to mess with this code later
2024-05-03 23:26:56 -04:00
Tempoanon
fabd2b1550
Add in missing import (#445) 2024-05-04 12:40:34 +10:00
Tempoanon
5b44905b86
Fix Shedinja passive, mummy passive, acupressure, moody, and added a second move override (#369) 2024-05-04 12:30:23 +10:00
Tempoanon
f9abc50d8b
Add Neutralizing Gas message, display Manaphy egg gacha origin, allow catching wonder guard bosses (#322)
* Add Neutralizing Gas message, display Manaphy egg gacha origin, allowcatching wonder guard bosses

* Add edge cases of supressed/overriden wonder guard bosses
2024-05-04 12:29:30 +10:00
Tempoanon
4163005f12
Implement Forewarn, Frisk, and BattlerTags for Magnet Rise (WIP) (#241)
* Implement Forewarn, Frisk, and BattlerTags for Magnet Rise (WIP)
2024-05-04 12:10:40 +10:00
Benjamin Odom
e02b85629f Fix Enemy Counter Moves
The AI couldn't decide who to target with CounterDamageAttr  moves which don't need a target. This change makes an exception. Now functions the same as when the player selects one of these moves.
2024-05-03 21:00:56 -04:00
Madmadness65
ed24e03a6f Fix Groudon's passive
Changed from Flame Body to Protosynthesis, the original change wasn't discussed enough.
2024-05-03 19:35:07 -05:00
Madmadness65
cfee310350 Adjust more passive abilities
Changes some of the more problematic passives some Pokémon had. As usual, if there's any that you may have a problem with, we are always up for suggestions.
2024-05-03 19:21:02 -05: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
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
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
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
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
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
InfernoVulpix
10169382d9
Implemented Synchronoise's effect (#221)
* Implemented Synchronoise's effect

Tested with Soak, Forest's Curse, and a variety of attacker and defender types.

* Fixed Synchronoise double battle functionality

It now does zero damage only to targets who do not share any types with it, while correctly damaging any who do.  It also fails entirely if the user is UNKNOWN type.
2024-05-02 06:14:19 +10:00
dielle000
e6c31966d7 Change pokemon stats chart
Stats are arranged like in the mainline games
2024-05-01 15:45:29 -04:00
Madmadness65
68f3326607 Add Heal Block back to level up learnsets
The move itself is still not functional yet, but will be valuable for Endless when it is.
Also made Curse's flavor text accurate to the canon games.
2024-05-01 12:21:22 -05:00
Mistmemo
56b24c70b6
fix double battle iv scanner color (#379)
* Add color for the IV scanner

add a new color SUMMARY_GREEN in text.js, add the green color if the iv of the pokemon is better than the iv on the starter of that pokemon

Co-authored-by: EmoUsedHM01 <131687820+emousedhm01@users.noreply.github.com>

* fix battle-message-ui-handler.ts formatting

* fix missing similicon battle-message-ui-handler.ts

* modified so it take a boolean instead of doing lot of else if battle-message-ui-handler.ts

* Fix iv scanner only doing color for the right pokemon in double fight

---------

Co-authored-by: EmoUsedHM01 <131687820+emousedhm01@users.noreply.github.com>
2024-05-01 10:50:13 -04:00
thicco-catto
fc1a9f0283
Select Move UI Shows PP (#372)
* Select move UI shows PP

* Removed testing forced max pp

* PP only shows when using PP restoring items

* Removed testing max pp again

* Update src/phases.ts

* Update src/ui/party-ui-handler.ts

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-05-01 10:16:58 -04:00
Flashfyre
3b09e176a2 Fix IV text not comparing against starter species 2024-05-01 09:44:57 -04:00
TeKrop
eac9b4d385 fix: reworked daily and weekly rankings translations workflow 2024-05-01 08:56:33 -04:00
Flashfyre
77caa8ece5 Add back shift for toggling stats 2024-05-01 00:27:11 -04:00
Flashfyre
17ec6b3ccc Fix start button mapping 2024-05-01 00:12:04 -04:00
lucfd
e065610440
Fixed Dire Claw & Tri-Attack status chances (#367)
* created MultiStatusEffectAttr

* removed testing stuff

* switched to randSeedItem
2024-04-30 23:30:10 -04:00
Flashfyre
7ad9c67673 Fix crash on catch 2024-04-30 23:27:22 -04:00
Flashfyre
93765d4121 Update battle info on stat change 2024-04-30 23:23:32 -04:00
Flashfyre
6fd5709b13 Reapply stat change feature with fixes 2024-04-30 23:02:16 -04:00
Flashfyre
8a54e862fc Revert "Add togglable stat change display"
This reverts commit 718585062b.
2024-04-30 22:14:24 -04:00
Flashfyre
718585062b Add togglable stat change display 2024-04-30 22:06:54 -04:00
Mistmemo
05b0140075
Add color for the IV scanner (#363)
* Add color for the IV scanner

add a new color SUMMARY_GREEN in text.js, add the green color if the iv of the pokemon is better than the iv on the starter of that pokemon

Co-authored-by: EmoUsedHM01 <131687820+emousedhm01@users.noreply.github.com>

* fix battle-message-ui-handler.ts formatting

* fix missing similicon battle-message-ui-handler.ts

* modified so it take a boolean instead of doing lot of else if battle-message-ui-handler.ts

---------

Co-authored-by: EmoUsedHM01 <131687820+emousedhm01@users.noreply.github.com>
2024-04-30 20:32:02 -04:00
Valentin Porchet
7846fdc1e6
feat: added french translation for new entries in menu.ts (#360) 2024-04-30 17:33:34 -04:00
Dakurei
c44009738a Add auto detect user language
+ prLang used to override langague detected if necessary
2024-04-30 16:48:37 -04:00
Dakurei
869a5c2d4c Fix tutorials translation fr
+ Fix the length problem of some strings that aren't readable in the game
  + Fix a few typo errors
2024-04-30 16:08:07 -04:00
Dario Krause
1449147121
Update pokemon.ts (#357) 2024-04-30 15:29:56 -04:00
Dakurei
36de62dc8a Fix Pokerus tutorial condition 2024-04-30 15:29:28 -04:00
Madmadness65
c5cc4445c4 Fix Furfrou trims missing shiny graphics 2024-04-30 13:39:16 -05:00
Nero
55dc339647
Bug Fixes and QoL: Minor changes to UI related bugs (#356)
* bug fix: updates move description correctly

viewing the description of move slot 1 in a pokemon's move summary UI only updated the first time it was viewed per session, exiting the party UI and re-entering caused the moves in a pokemon's summary screen to not automatically populate the description box unless you moved the cursor down to move 2 and then back up to move 1

* slight logic changes to fix party UI controls

when battlerCount = 2 (double battle), starting in party slot 1 and pressing DOWN -> UP -> RIGHT would move the cursor back down when it should be moving it to the right: these changes fix that

* finalised the minor UI changes

* finalising

* refactor

* removed console logs used for testing

* bug fix: updates move description correctly

viewing the description of move slot 1 in a pokemon's move summary UI only updated the first time it was viewed per session, exiting the party UI and re-entering caused the moves in a pokemon's summary screen to not automatically populate the description box unless you moved the cursor down to move 2 and then back up to move 1

* slight logic changes to fix party UI controls

when battlerCount = 2 (double battle), starting in party slot 1 and pressing DOWN -> UP -> RIGHT would move the cursor back down when it should be moving it to the right: these changes fix that

* finalised the minor UI changes

* finalising

* refactor

* removed console logs used for testing
2024-04-30 12:42:20 -04:00
Reldnahc
1e7c329928
Implement move wish (#323)
* implement wish move

* Serene grace implementation idea

* only do the thingy if it actually gets effected.

* Revert "only do the thingy if it actually gets effected."

This reverts commit 4b084658d2.

* Revert "Serene grace implementation idea"

This reverts commit 4dd2504bc7.

* Fixes for Wish implementation

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-30 12:38:24 -04:00
NxKarim
8e64eaea3f
Some Fixes (HPRatio, Hustle, Imposter, Sleep Talk) (#353)
* Some Fixes

- HP ratio related checks (`getHpRatio`): Added rounding to 2 decimals for non-precise option.

- Hustle (`BattleStatMultiplierAbAttr`): added optional condition; Hustle now works only for physical attacks.

- Imposter (`PostSummonTransformAbAttr`): Switch in a double battle after both foes have been defeated no longer crashes the game.

- Sleep Talk (`RandomMovesetMoveAttr`): Single target moves no longer target allies.

* Formatting changes for consistency

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-30 11:47:10 -04:00
Raphael van der Woude
c7bd99b345
Added missing menu translations (#355)
* Added missing menu translations

* Added missing translations to other languages

---------

Co-authored-by: Raphael van der Woude <raphael.van.der.woude@dias.nl>
2024-04-30 10:53:00 -04:00
Xavion3
ad5efdf4f9 Refactor overrides 2024-04-30 09:12:19 -04:00
Madmadness65
14cc639654 Small egg move change
Gave Eevee and Pichu replacement egg moves for moves that are now on their level up learnsets. As usual, these are subject to change.
2024-04-29 22:00:42 -05:00
Madmadness65
224fac574a Add Let's Go moves to Pikachu and Eevee's learnsets
Also removed the duplicate Teeter Dance from Spinda's learnset and gave it back Dizzy Punch.
2024-04-29 21:51:08 -05:00
Madmadness65
bd30dca47d Partially implement Battle Bond (Gen 8) & Power Construct abilities
Both abilities are still not fully functional yet (Battle Bond does not interact with Water Shuriken yet, Power Construct does not interact with 10% Power Construct Zygarde, and both forms do not revert after a battle yet), but this is a step to having them both completed.
Battle Bond Froakie line and Power Construct 50% Zygardes (as well as Aura Break 10% Zygardes) can now randomly appear in the wild.
Expect Battle Bond to potentially change to its Gen 9 version at some point in the future, rendering Ash-Greninja inaccessible.
2024-04-29 19:50:29 -05:00
lucfd
7a1895242c
Fixed Fake Out + Pivot move interaction (#347)
* decrement turnCount if pivot move is used

* improved formatting
2024-04-29 13:51:43 -04:00
Thomas David
9575054010
Implement localisation for tutorial (#330)
* Implement localisation for tutorial

* Fix modules name

* Fix keys name

* Fix keys name part 2 : the return

* Add lines breaks in localisation files
2024-04-29 12:33:18 -04:00
ElMoustacho
3b83d0b4d9 Fix typo in french names for a few pokémon 2024-04-29 11:55:34 -04:00
Dario Krause
d93b6632c8 Gen 2, 3 de local 2024-04-29 10:00:42 -04:00
Dario Krause
116bf7ee18 Gen 1 de local 2024-04-29 08:38:07 -04:00
Madmadness65
b173000008 Implement Alcremie flavors
...But not all evolution sweets. This way, you can get all the differently colored Alcremies without there being like ~60 different forms.
There currently is an unintended side-effect with Gigantamaxing, where the Alcremie flavor will always switch to Vanilla Cream when reverting to normal, but aside from that, it works fine.
2024-04-29 01:42:02 -05:00
AJ Fontaine
7050e0db6c Fixed Outrage etc. lasting 4 turns 2024-04-28 23:57:40 -04:00
Xavion3
696c31f3e2 Make grass types unable to be seeded 2024-04-28 23:33:13 -04:00
Madmadness65
b72b4cffed Implement Furfrou forms
They can be randomly encountered like many other multiple form Pokémon. Like canon, they do not have any statistical changes, just cosmetic.
2024-04-28 21:58:55 -05:00
Flashfyre
9641d77bba Re-add shiny override EXCEPT FALSE THIS TIME 2024-04-28 22:03:29 -04:00
Madmadness65
6f078f4645 Minor fix to Roughneck's possible names 2024-04-28 20:02:06 -05:00
Flashfyre
57ece2c1d7 Revert "Add shiny and variant debug override"
This reverts commit 21482a641b.
2024-04-28 20:41:38 -04:00
Flashfyre
0b438d0ff4 Revert "Add temporary double wild shiny chance"
This reverts commit 4607782578.
2024-04-28 20:30:12 -04:00
Flashfyre
21482a641b Add shiny and variant debug override 2024-04-28 20:30:03 -04:00
Xavion3
b43a6ec764
Fix end catching (#332)
* Fix end catching

* Remove fusion code
2024-04-28 10:52:43 -04:00
Lugiad
c09a0254ef French moves typos 2024-04-28 10:31:13 -04:00
Flashfyre
a9a9e512a0 Revert "Auto select language implementation"
This reverts commit 5fd7b368e2.
2024-04-28 10:01:29 -04:00
Thomas David
5fd7b368e2 Auto select language implementation 2024-04-28 09:38:16 -04:00
Flashfyre
854de76467 Improve handling of variant data overrides for mixed animated mode 2024-04-27 18:06:41 -04:00
Flashfyre
55f68c0ce6 Fix DNA splicer exploit 2024-04-27 15:52:21 -04:00
Flashfyre
014c13b95b Add workaround for crash with static variant sprites 2024-04-27 00:54:10 -04:00
Flashfyre
03ba74844f Fix biome being able to change before a boss in endless 2024-04-26 23:53:09 -04:00
dpMelian
0b13844d4a
Fix issue #312 -> set proper french name for move "smog" (#313)
* fix: set proper french name for move "smog"

* fix: set proper french description for move "smog"
2024-04-26 22:35:39 -04:00
Madmadness65
e362289d57 Implement Spirit Shackle
It's a pretty basic trapping attack
2024-04-26 20:40:28 -05:00
Madmadness65
2cb5aad8b1 Mark Core Enforcer as partial
No coding for it yet, but it can function as a regular attack in the meantime.
2024-04-26 20:01:24 -05:00
Flashfyre
00150fd0bb Fix using wrong variant value when fusing 2024-04-26 20:11:37 -04:00
Flashfyre
4607782578 Add temporary double wild shiny chance 2024-04-26 19:57:38 -04:00
Madmadness65
e475d566b6 Revise egg moves again
These revisions spans across all generations with vastly different moves. Once again, if moves seem weird or too overpowered, please bring it up in the egg move discussion thread.
2024-04-26 18:50:14 -05:00
Flashfyre
f281605146 Fix wild shiny luck generation 2024-04-26 19:36:27 -04:00
Flashfyre
6b9542511f Add fusion luck as a separate field 2024-04-26 18:27:00 -04:00
Flashfyre
bf2a83993c Make luck independent from shininess and variant 2024-04-26 17:32:28 -04:00
Lugiad
744ff2899b Update pokemon.ts with Spanish names
Added Spanish names of Type: Null and Paradox Pokémon
2024-04-26 16:57:48 -04:00
Lugiad
ad87727517 menu.ts French typo 2024-04-26 16:18:07 -04:00
Lugiad
9c922ddc55 Update menu.ts 2024-04-26 16:11:02 -04:00
Flashfyre
933f547e96 Fix egg shiny variant generation 2024-04-26 15:38:06 -04:00
Akuma-Reiki
a6c27773f8
Make arena trap count as a lure ability (#245) 2024-04-26 13:58:57 -04:00
Flashfyre
dded0f0edd Fix using wrong parameter name for multi hit move localization 2024-04-26 13:54:35 -04:00
PabloG02
ff13052077 Add english strings to french locale 2024-04-26 13:42:36 -04:00
PabloG02
cd68d2c4a9 Make more phases strings translatable and add their spanish locale 2024-04-26 13:42:36 -04:00
Flashfyre
733eedd12f Change logout to a GET request 2024-04-26 13:19:43 -04:00
PabloG02
252e20650d Translate command, menu UI, and stats into Spanish 2024-04-26 13:18:50 -04:00
Flashfyre
4ad0dbeaa8 Cap costs at max safe integer 2024-04-26 13:05:48 -04:00
Madmadness65
2f10f6789c
Merge pull request #306 from shayebeadling/psycho-shift-warning-fix
Psycho Shift Unreachable Code Warning Fix
2024-04-26 11:25:12 -05:00
shayebeadlingkl
f9b999b744 spacing 2024-04-26 12:18:01 -04:00
shayebeadlingkl
def36e32d1 adds missing brackets to psycho shift attribute to fix unreachable condition 2024-04-26 12:16:56 -04:00
Flashfyre
c1f53f00b1 Lower luck cap 2024-04-26 11:39:54 -04:00
Flashfyre
5e7356636e Update shiny luck mechanics and count both fusion components 2024-04-26 11:31:39 -04:00
Lugiad
6603417e40
French names for Abilities (#288)
* Update ability.ts

* Update ability.ts abilities order

* Update ability.ts
2024-04-26 08:36:40 -04:00
Lugiad
86daca7fb6 Update move.ts 2024-04-26 08:35:53 -04:00
Lugiad
cc216d902a Added captial letter to "Œuf", as it is in the games + "Options" to "Paramètres", more suitable translation 2024-04-26 08:35:06 -04:00
Xavion3
46227d65f2 Fix mind blown/explosion moves 2024-04-26 08:33:29 -04:00
Flashfyre
ef552c7ffd Fix crash with certain animated variant sprites 2024-04-26 02:00:58 -04:00
Flashfyre
b863ab88a7 Fix some minor superficial bugs 2024-04-26 01:18:08 -04:00
InfernoVulpix
587197dac4 Fixed entry hazard crash
Having Spikes or Stealth Rock on the field when a new wild battle starts no longer crashes the game.
2024-04-26 00:59:20 -04:00
InfernoVulpix
d4c265443f Assurance effect implementation
Theoretically implemented for all use cases but only tested for regular damage so far.
2024-04-25 23:03:00 -04:00
Flashfyre
0eabfd56e3 Fix shiny Bidoof back sprite showing as epic variant 2024-04-25 21:56:44 -04:00
AJ Fontaine
9f3bef0142
Implemented explosive moves and Damp (#290)
* Implemented explosives

* Add Aftermath and Magic Guard interactions

* Adjust AI score for Mind Blown/Steel Beam
2024-04-25 21:42:41 -04:00
Flashfyre
251bd3edb1 Unnerve message procs only once 2024-04-25 21:40:00 -04:00
Madmadness65
e3533651ba Add form change items for Deoxys; minor Rotom form learnset changes
Adds 3 separate form changing items to switch between the various Deoxys forms.
All Rotom forms can now know their respective typed moved at the start (and can be relearned via Memory Mushroom if you already have one).
2024-04-25 20:26:09 -05:00
Flashfyre
13b1ad698e Menu automatically adjusts width for option width 2024-04-25 21:21:44 -04:00
BronzeMaster5000
e3ef65523a Added german as selectable in options
Also added a comment in i18n that refers to how to add a language to the game settings menu to actually select it.
2024-04-25 21:21:44 -04:00
BronzeMaster5000
b47731f573 First files for the german translation 2024-04-25 21:21:44 -04:00
Dakurei
05c45669da Modification of the move description window in battle
+ Modification of data layout
  + Adds "power" to visible data
  + No longer uses a "command_fight_labels" image, but directly text (allowing translation by the way)
  + Added i18n
  + Creation of "en" and "fr" locales for fight-ui-handler
2024-04-25 20:57:47 -04:00
Flashfyre
728512cf7d Fix Baton Pass not working 2024-04-25 20:52:52 -04:00
Flashfyre
4ef6707333 Revert API URL change 2024-04-25 16:56:41 -04:00
Flashfyre
3bdd354b5e Update title stats interval 2024-04-25 16:15:58 -04:00
Dakurei
b8ce1da3bc Modification of the fr translation for menu-ui-handler
- Reduction of "MANAGE_DATA" and "LOG_OUT" strings to avoid overflowing the window border
  - Added missing space for "losingProgressionWarning".
  - Inversion of words in "importSlotSelect" and "exportSlotSelect" strings + sentence completion to make it clearer
2024-04-25 15:24:58 -04:00
Flashfyre
4a703c938d Add load message handler for too many connections 2024-04-25 14:47:32 -04:00
lucfd
fa463b77db
Implements Stakeout & Analytic (#292)
* implemented stakeout

* implemented analytic
2024-04-25 14:29:05 -04:00
Edralo
4cfae4703c Implement localisation for main menu options (menu-ui-handler) & add french locale 2024-04-25 14:27:05 -04:00
Flashfyre
daba4e9482 Fix not updating legendary and mythical Pokemon seen stats 2024-04-25 13:20:32 -04:00
Flashfyre
1d25935aa0 Enforce trainer IDs on write requests for data integrity 2024-04-25 09:17:48 -04:00
maru
382f1a8d78
Styling changes 2024-04-25 04:01:00 -04:00
Flashfyre
7032f383ea Fix battle sprite losing shininess in battle animations 2024-04-25 01:49:06 -04:00
Tempoanon
230c2bf983
Fix Moody and Quark Drive (#284)
* Fix Quark Drive and Moody

* Telepathy still unimplemented

* more merge conflict stuff
2024-04-25 01:23:45 -04:00
Silvestre Emmanuel
ab8b9f0bfa
Added a way to see the pokemon stats in the Learn Move Phase (#286)
* Added the move category icon to the fight ui

* Added a way to see the pokemon stats in the Learn Move Phase
 -Pressing Button.LEFT now shows the stats summary page
 -Pressing Button.RIGHT goes back to move selection page

* Minor nitpicks

---------

Co-authored-by: Silvestre Emmanuel <silvestre.ramirez@wundertec.com>
Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-25 01:18:23 -04:00
Madmadness65
608a9d9400
Merge pull request #242 from EggMuncherSupreme/main
Added the triageMove() flag to Bouncy Bubble
2024-04-24 23:18:46 -05:00
John Martin
145267c9a6
Fixed leftover text re-corrections. (#283)
* Minor text corrections to item descriptions.

* Update modifier-type.ts; minor text correction updates

* Update modifier-type.ts; further text re-corrections.

* Update modifier-type.ts; leftover re-corrections.

* Minor text corrections in modifier menu.
2024-04-24 23:29:47 -04:00
Flashfyre
a0311f4b0f Fix partial and unimplemented indicators not showing on abilities 2024-04-24 22:42:09 -04:00
Flashfyre
095667c7c9 Merge branch 'main' of https://github.com/pagefaultgames/pokerogue 2024-04-24 21:24:47 -04:00
Flashfyre
269db12436 Add missing URI component encoding on login 2024-04-24 21:21:28 -04:00
Pablo González
7055ea49c7
Support localization of Pokémon abilities (#271)
* Support localization of Pokemon abilities

* Reload ability localization when language is changed

* Add Spanish localization for abilities

* Add missing French abilities localization

* Add missing localize call on abilities

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-24 21:10:09 -04:00
Silvestre Emmanuel
ebad76c335 Added the move category icon to the fight ui 2024-04-24 21:02:56 -04:00
Flashfyre
e00ebb49ca Merge branch 'main' of https://github.com/pagefaultgames/pokerogue 2024-04-24 19:26:13 -04:00
Flashfyre
97218be59c Add back missing authorization headers 2024-04-24 19:26:04 -04:00
Edralo
dc575d44a3 Implement localisation for pokemon stats & add french locale 2024-04-24 19:12:26 -04:00
Flashfyre
ad818aa314 Add new API url with fallback 2024-04-24 19:08:02 -04:00
Madmadness65
6b3442a260 Update stone evolution Pokémon's learnsets
Moves that are relearned in the official games are now level 1 moves for these Pokémon, as they have paltry movesets otherwise.
2024-04-24 13:40:59 -05:00
Dakurei
37266a7a5d
Fixing typo (fr locales) + Add missing i18n (#270)
* Fix typo

* Missing usage of i18n
2024-04-24 14:38:46 -04:00
Madmadness65
d88a177915 Fix crash with trainer Mantykes
the first evolution method was causing a crash due to a conflict, so it was removed for now.
2024-04-24 12:54:34 -05:00
Madmadness65
4173f87a70 Add easier method of evolving Mantyke
There is now an alternate easier evolution method for Mantyke into Mantine, that being having Remoraid simply being registered as caught and be level 32.
2024-04-24 11:58:37 -05:00
Flashfyre
cf3a7dca35 Comment out variant data fix to prevent ability data corruption 2024-04-24 09:26:46 -04:00
Edralo
4ea67976b9 Fix password input types for languages other than english 2024-04-24 08:36:58 -04:00
Flashfyre
adc383a8f9 Add UI support for 2 additional save slots 2024-04-24 01:51:30 -04:00
Juan-Lucas
1b1578d266
command-ui: add i18n for command ui handler and add i18n for fr (#258)
* command-ui: add i18n for command ui handler and add i18n for fr

* Add missing Spanish file

* Add additional missing localization references

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-24 00:36:07 -04:00
John Martin
ea40bd18f5
Minor text corrections to item descriptions. (#255)
* Minor text corrections to item descriptions.

* Update modifier-type.ts; minor text correction updates

* Update modifier-type.ts; further text re-corrections.
2024-04-24 00:28:48 -04:00
arColm
6066d2e47e Implement Flying Press 2024-04-24 00:26:41 -04:00
Samuel H
9024eeb990
Aggregate Stat Changes (#266)
* Add stat change aggregation

* Minor fixes to stat change aggregation
2024-04-24 00:25:01 -04:00
Flashfyre
3e296116bb Fix passing wrong argument when initializing move animations 2024-04-23 23:28:55 -04:00
Flashfyre
e2effee43d Fix typo 2024-04-23 22:32:04 -04:00
Flashfyre
1376ea4e87 Fix initial starters not having first ability unlocked 2024-04-23 22:16:49 -04:00
Flashfyre
ba71d2750b Load files from manifest for caching 2024-04-23 22:00:23 -04:00
Madmadness65
d48de66179 Implement Snap Trap
One of the basic trapping moves that got overlooked.
2024-04-23 13:04:42 -05:00
Flashfyre
8f36bf1dcf Don't lapse eggs on the final wave of a run 2024-04-23 13:12:57 -04:00
Flashfyre
92caf6059b Fix ability color with duplicate ability as hidden 2024-04-23 12:37:26 -04:00
Xavion3
049fa306b9 Add dynamax buffs 2024-04-23 12:02:09 -04:00
PabloG02
a71392f2d6 Add Spanish localization for menu, moves and pokeballs 2024-04-23 11:58:47 -04:00
Flashfyre
c98e5b8beb Fix reintroducing stack overflow on enemy attack 2024-04-23 09:52:02 -04:00
shayebeadling
11ee81091b
Implements hospitality (#252)
* implements hospitality

* 1/8 -> 1/4

* shows animation

* Minor nitpicks

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-23 09:43:35 -04:00
Flashfyre
444b4075fe Biome can't change before a boss in endless mode 2024-04-23 09:40:05 -04:00
Dakurei
9a3e71219e
Translation of Pokémon names in French (#251) 2024-04-23 08:16:22 -04:00
Madmadness65
87e6b80479 Update egg moves for Gens 1, 2, 3, 6, and 8
A LOT of Pokémon have had egg moves shifted around this update. Please let us know if there's any that are overpowered or straight up nonsensical.
2024-04-23 01:00:00 -05:00
Flashfyre
216139df5b Re-apply status token shuffling with recursion fix 2024-04-22 23:58:26 -04:00
Flashfyre
fa6f05d997 Revert "Apply status tokens in a random order to prevent bias"
This reverts commit 1f8e36575d.
2024-04-22 23:52:44 -04:00
Flashfyre
1f8e36575d Apply status tokens in a random order to prevent bias 2024-04-22 23:43:31 -04:00
Flashfyre
af85d38b27 Halve damage, protection, and endure tokens 2024-04-22 22:10:39 -04:00
Anthony Baussard
75faf1960f
Implement localisation on login and register UI + add their french locale (#244)
* Add localisation and french locale to login menu

* Add localisation and french locale to registration menu
2024-04-22 20:39:51 -04:00
Flashfyre
eeb547417f Endless biomes are short but connected 2024-04-22 20:30:46 -04:00
EggMuncherSupreme
16ff508443 Added the triageMove() flag to Bouncy Bubble 2024-04-23 06:53:04 +10:00
Madmadness65
71f99da38d Allow Necrozma's forms to relearn the signature moves
Dusk Mane can relearn Sunsteel Strike, Dawn Wings can relearn Moongeist Beam, and Ultra Necrozma can relearn both.
2024-04-22 13:30:17 -05:00
dpMelian
fac78e085c feat: correct typos in MistTag and Lance's dialog 2024-04-22 14:27:52 -04:00
Flashfyre
26b1bb5f03 Don't increment seen shiny count for trainers 2024-04-22 11:28:13 -04:00
Flashfyre
184a028e66 Merge branch 'main' of https://github.com/pagefaultgames/pokerogue 2024-04-22 11:27:44 -04:00
Madmadness65
1a27ee2b63 Update Gen 5 and 7 egg moves
Lots of replacements in this egg move update.
2024-04-22 10:08:47 -05:00
Flashfyre
0b24096e9b Fix mid-stage bugs losing hidden ability 2024-04-22 09:16:11 -04:00
Xavion3
c949557469 Fix OHKO accuracy formula 2024-04-22 08:31:27 -04:00
Flashfyre
f8f5b64469 Add One Hit KO accuracy and make damage 200 BP for bosses 2024-04-22 01:05:48 -04:00
Luc
8cf82d3db4 fixed steam engine activating on all water moves 2024-04-22 00:49:54 -04:00
Flashfyre
4950dd0e73 Fix shiny variant back sprite color mapping not working 2024-04-22 00:31:33 -04:00
Flashfyre
df7a6be654 Fix errors from merged PRs 2024-04-21 23:05:36 -04:00
Procyonae
fd8cb07c9b
Implement Liquid Ooze (#210)
Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-21 23:02:10 -04:00
shayebeadling
a214ed6e66
Implements anticipation (#201)
* implements anticipation

* checks against ohko attr

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-21 23:01:11 -04:00
Procyonae
0737827bbc Implement Toxic Debris 2024-04-21 23:00:09 -04:00
Flashfyre
291f8570e9 Cap money at max safe integer 2024-04-21 21:17:07 -04:00
Madmadness65
8838d36bf4 Implement Temper Flare
It is functionally identical to Stomping Tantrum.
2024-04-21 19:29:47 -05:00
Flashfyre
4fc194295b Remove event shiny bonus 2024-04-21 19:58:55 -04:00
lucfd
12ae21c3cf
Implemented Stomping Tantrum (#192)
* implemented Stomping Tantrum

* fixed on missed moves
2024-04-21 19:55:40 -04:00
Luc Dube
158eb9748b implemented magic powder 2024-04-21 19:54:55 -04:00
Kyle McGlynn
fdc5511356 Fixed bug where Solar Beam wouldn't display if it was sunny 2024-04-21 19:54:34 -04:00
Gwendal
8d7f1ae554
Allowing pokemon name translation (#228)
* Allow pokemon name translation

* Improve Pokemon localization

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-21 19:53:24 -04:00
Flashfyre
1a53c19e3b Add menu cursor wrapping 2024-04-21 18:45:14 -04:00
Tempoanon
1eaa5c0d79
Misc changes (fix Trumbeak level up, give Mega Gallade sharpness, WIP for curse) (#229)
* Minor changes

* fix tabbing

* minor nits in CurseAttr
2024-04-21 18:23:45 -04:00
Flashfyre
f5cd99f091 Fix evolution and hatch screen not applying shader pipeline 2024-04-21 18:22:33 -04:00
maru
fd368342b8
Revert "Use new API URL"
This reverts commit 9531f92997.
2024-04-21 17:40:49 -04:00
maru
9531f92997
Use new API URL 2024-04-21 17:19:33 -04:00
Flashfyre
3d9f5fb157 Protect against cross-session overwrites 2024-04-21 16:19:11 -04:00
Xavion3
24c2e18ed7 Stop weather being regenerated on save load 2024-04-21 12:45:58 -04:00
Miguel S
0e9881e351 Fixed issue #224: Healing Wish description (french) 2024-04-21 12:09:58 -04:00
Flashfyre
87c1f5e50f Fix Poke Ball localization 2024-04-21 11:50:50 -04:00
Juan-Lucas
3c90427361 pokeball: implement i18n on pokeball name and add french i18n 2024-04-21 11:19:57 -04:00
Flashfyre
c8a9069e8b Add outdated session support and fix older migrations 2024-04-21 10:59:50 -04:00
Madmadness65
c2136a6df1 Miscellaneous minor changes
• The volume of Pikachu's cry has been lowered by 10 dB.
• Tarountula's starter value has been lowered to 1.
• Altered Whitney and Chuck's signature Pokémon (swapped Whitney's Clefairy for Girafarig, and gave Chuck Mankey).
• The alternate forms in Flabébé's evolution line can now be encountered.
2024-04-21 00:47:55 -05:00
Xavion3
5b34e7f873 Implement No Guard 2024-04-21 01:34:21 -04:00
lucfd
1acc082080
Fixed Freeze Shock (#216)
* added charge turn to freeze shock

* fixed freeze shock animation
2024-04-21 01:04:51 -04:00
Xavion3
c3eaa0506f Make it so you can't freeze in sun 2024-04-21 00:41:33 -04:00
Flashfyre
ee6c3e8fbc Fix boss IVs rerolling after reload 2024-04-20 23:24:01 -04:00
Flashfyre
08988822db Add missing attribute to Pressure 2024-04-20 23:09:59 -04:00
Flashfyre
ae2c9c1a57 Account for stack count with Wide Lens accuracy boost 2024-04-20 22:59:48 -04:00
Flashfyre
17eddd7b02 Consolidate broken variant data for players who missed 1.0.1 2024-04-20 22:30:28 -04:00
Flashfyre
8faa77cfbf Fix struggle damage blockable by Magic Guard 2024-04-20 19:43:48 -04:00
Flashfyre
fc06c4d9e1 Fix title querying with placeholder save slot 2024-04-20 18:46:36 -04:00
Flashfyre
9b03d6f8d3 Fix crash related to fusion sprites 2024-04-20 16:08:33 -04:00
Flashfyre
d9a685611d Update passive abilities 2024-04-20 15:46:11 -04:00
Miguel S
5c6c59392d Correction french attacks infos (slash, psychic) 2024-04-20 10:19:57 -04:00
Madmadness65
2e8e3680ae Fix missing egg moves
They were incorrectly named on the document, leading to them being labeled as "None".
2024-04-20 07:55:50 -05:00
LaukkaE
18de28c807 Fix Wide Lens
rm line
2024-04-20 15:02:03 +03:00
Madmadness65
33ddc63ad5 Update Gen 9 egg moves
Everything got at least one changed move, so please let us know if some of them are too nonsensical.
2024-04-20 06:30:29 -05:00
Flashfyre
0eff8cd81a Add Wide Lens item 2024-04-20 01:59:07 -04:00
Tempoanon
934fc0ef86
Fix gyro ball base power (#206)
* Fix gyro ball base power

* Update gyro ball for gen6+
2024-04-20 01:43:37 -04:00
Flashfyre
706a85ed5b Add missing pipeline data for shiny recolors in certain screens 2024-04-19 23:37:23 -04:00
Temps Ray
c9dfb199f2 Relax biome restrictions for Alolan evolutions 2024-04-19 22:36:30 -04:00
Flashfyre
f0ac060466 Add temporary shiny rate increase for event 2024-04-19 19:49:58 -04:00
Flashfyre
b5abdc0113 Fix error sound after selecting a biome 2024-04-19 18:56:45 -04:00
Flashfyre
0ecc46ab97 Exclude authorization header where unnecessary 2024-04-19 17:35:49 -04:00
Flashfyre
703f8c43c2 Fix move implementation indicators 2024-04-19 17:19:24 -04:00
Flashfyre
15b5afd630 Add shiny star to pokemon catch/hatch info 2024-04-19 16:21:35 -04:00
Miguel S
95d2ad2fb4
Added language setting (#185)
* Added language setting

* Allow properly changing language

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-19 14:55:01 -04:00
ARSOD-Z
86da18943d
More Dialogue Lines (#197)
* trainer dialogue

* more dialogue

* Update src/data/dialogue.ts

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-19 14:17:52 -04:00
Xavion3
9dfd5a1e6e Implement Soak, Forest's Curse, and Trick-or-Treat
Updates the UI and type effectiveness to support three types, and makes old moves that change types update the UI.
2024-04-19 13:47:40 -04:00
Temps Ray
e94b17bbf5 Implement getAttackTypeEffectiveness check 2024-04-19 13:11:41 -04:00
Flashfyre
e17aee5d48 Fix default starter hidden ability for new accounts 2024-04-19 12:24:52 -04:00
Tempoanon
77c584981b
Add Maylene (#193)
* Implement Rivalry

* Implement Quick Feet, Liquid Voice, and Normalize

* Forgot paralysis is half speed instead of a quarter

* Remove log statements

* Fix minor edge case in rivalry for gendered vs genderless

* Add Maylene
2024-04-19 12:06:20 -04:00
Flashfyre
bd80281859 Fix various shiny checks for palettes 2024-04-19 11:11:19 -04:00
Flashfyre
5c367db8a3 Fix ability edge case when saving starter ability data 2024-04-19 11:01:22 -04:00
Flashfyre
ee18c05f02 Compare variant colors using integers for compatibility 2024-04-19 10:23:18 -04:00
lucfd
ea9e95c89e
Implemented Payback (#191)
* implemented payback

* refactored payback + now doubles on item usage
2024-04-19 09:36:02 -04:00
lucfd
422eeb5d07
Implemented Stench (#190)
* implemented stench

* cleaned up code

* removed redundant lines

* Implemented Payback

* refactored, increased PostAttackApplyBattlerTagAbAttr robustness

* removed payback code

* Update src/data/ability.ts

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-19 09:33:35 -04:00
EmoUsedHM01
660663cffe
Edited Electro Shot to raise stat before attacking (#87)
* Edited Electro Shot to raise stat before attacking

Should be a fix to issue #85

* Updated ElectroShotChargeAttr

Moved the Sp Atk boost to be inside the ElectroShotChargeAttr function

* Updated ElectroShotChargeAttr to raise SPATK before the move fires

* Updated ElectroShotChargeAttr with comments on process

* Updated formatting
2024-04-19 09:28:44 -04:00
Flashfyre
85b47be0b8 Fix battle info owned icon not factoring in ability 2024-04-19 09:03:14 -04:00
Flashfyre
46ce515fe4 Revert to not showing intro on mobile 2024-04-19 08:45:21 -04:00
Flashfyre
ecedd81052 Fix not using selected starter ability 2024-04-19 08:40:49 -04:00
Flashfyre
7ed8dba46a Fix undefined variant for existing shinies in runs 2024-04-19 01:44:51 -04:00
Flashfyre
6220165315 Fix issue with undefined variant 2024-04-19 01:25:19 -04:00
Flashfyre
b546203118 Fix shiny eggs corrupting candy count 2024-04-19 01:01:57 -04:00
Flashfyre
3f9e7b4839 Working fix to shiny crash issue 2024-04-19 00:58:59 -04:00
Flashfyre
eebe39e1fe Fix base forms showing as shiny 2024-04-18 23:10:18 -04:00
Flashfyre
89edcc38c6 Fix nature not setting properly 2024-04-18 23:06:05 -04:00
Flashfyre
c76f8c5e7e Add tiered shiny variants 2024-04-18 22:52:26 -04:00
Flashfyre
a6ddda38ae Properly encode credentials 2024-04-18 20:02:04 -04:00
Flashfyre
18bd75ca4f Change forms to use url encoding 2024-04-18 19:08:53 -04:00
Xavion3
0b4963aefc Block form changing abilities while fused 2024-04-18 18:56:50 -04:00
LaukkaE
d7ee958d29 Fix Sleep Talk bugs 2024-04-18 15:59:34 -04:00
Madmadness65
e07ba5680d Replace Pikachu's cry with it's classic cry
Generation 9 gave Pikachu back the electric noise cry, replacing it speaking it's name.
2024-04-18 12:16:49 -05:00
shayebeadling
aae40d2246
Implements infestation (#184)
* Implements infestation

* removes partial

* wrong partial removed, fixed

* appropriate tag location in enum

* moved in battle-anim enum
2024-04-18 11:14:11 -04:00
Xavion3
6b46cd533a Implement stat resetting moves
Haze should probably have a custom message so it doesn't list the targets name
2024-04-18 10:53:02 -04:00
Xavion3
453c5644aa Fix mold breaker + implement neutralising gas 2024-04-18 10:52:31 -04:00
Xavion3
3a64a8390a Implement Psych Up 2024-04-18 10:51:30 -04:00
Flashfyre
5bd1577667 Change passives to exclude Disguise 2024-04-18 08:54:49 -04:00
Flashfyre
fe288ce16c Add French move translation TS classes 2024-04-18 08:41:04 -04:00
Miguel S
8830b55061 Moves locales french 2024-04-18 08:41:04 -04:00
Miguel S
4330ee5543 Menu locales for french 2024-04-18 08:41:04 -04:00
Miguel S
30ddde6874 Fixed move name, effect typo 2024-04-18 08:41:04 -04:00
Flashfyre
eab38a5ad4 Add more exp gains options 2024-04-18 00:50:04 -04:00
Hans Sorongon
0948295a98 Add option to hide exp gains after a battle 2024-04-18 00:50:04 -04:00
Flashfyre
8ab21b99fb Fix menu disabling 2024-04-18 00:24:57 -04:00
NxKarim
94d5eab489
Implemented Disguise (Better this time) and Quick Feet console spam fix (#174)
* Implemented Disguise

Somehow it works.

* Update ability.ts

* Update ability.ts

* Update ability.ts

* whitespace pain

* Form name typo

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

* Implemented Disguise

Disguise

Merge

Merge

Merge

Merge

Disguise + Merge

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-18 00:09:28 -04:00
serif
8a1641786d updated numerous Pokemon to BDSP/SV movesets
Haven't finished - will do the rest hopefully tomorrow
2024-04-17 22:43:50 -04:00
serif
0ddae73bf5 Update Pidgey, Rattata, and Spearow movesets to BDSP
Will update others later
2024-04-17 16:00:35 -04:00
dpMelian
4c128e9d26 feat: correct typo in AttackTypeBoosterModifierType constructor
Corrected "Inceases" to "Increases" in the description of the AttackTypeBoosterModifierType constructor to accurately reflect its functionality.
2024-04-17 15:59:57 -04:00
Flashfyre
6f3887a2eb Remove unintended negative from fusion compatibility filter 2024-04-17 15:58:13 -04:00
Flashfyre
d210e3878e Disable menu temporarily on receiving a voucher 2024-04-17 15:56:29 -04:00
Flashfyre
7155174d3c Patch a certain bug 2024-04-17 14:49:18 -04:00
Madmadness65
be7a0d9ca6 Minor change to Shaymin's egg moves 2024-04-17 11:29:52 -05:00
Madmadness65
55cce8ce0d Update Gen 4 egg moves
This time they have been thoroughly looked over before being submitted.
2024-04-17 10:47:41 -05:00
Tempoanon
cf2bd4d3da
Implement Charge and more abilities (#163)
* Implement Rivalry

* Implement Quick Feet, Liquid Voice, and Normalize

* Forgot paralysis is half speed instead of a quarter

* Remove log statements

* Fix minor edge case in rivalry for gendered vs genderless

* Add wind abilities and charge

* Implement Charge and more abilities

* Add i18n support and Beedrill fury cutter

* Fix merge conflict in taunt

* More English strings removed
2024-04-17 01:09:15 -04:00
Robert Antonius
db92663daa Fixed switch out attacks trigger contact for the replacement pokemon
Changed force switch out attribute to be applied after the move is done.
Additionally manually typed switch out attacks to be non baton pass moves.
2024-04-17 01:07:50 -04:00
Madmadness65
5d1cd97411 Add G-Max move strings to the move locale file
Also a minor fix to decapitalize Mud and Water Sport's fade out messages.
2024-04-17 00:01:28 -05:00
Flashfyre
0758c44670 Add types to move translations 2024-04-16 18:26:10 -04:00
Flashfyre
b116828b07 Convert biome select UI handler to option select 2024-04-16 15:58:02 -04:00
Flashfyre
dfe320e712 Minor changes to biome paths 2024-04-16 15:22:19 -04:00
Flashfyre
61e1f2da15 Fix compile errors 2024-04-16 15:09:13 -04:00
lucfd
24408edfdc
Implemented Burn Up & Double Shock (#161)
* Implemented barrier-breaking moves

* removed (P) from move names

* refactored to support defog

* Implements Burn Up & Double Shock

* Removed code irrelevant to current PR
2024-04-16 15:07:38 -04:00
Flashfyre
1138530a0c Remove partial and not implemented indicators from translations 2024-04-16 14:38:58 -04:00
shayebeadling
396f1bafd8
Fail conditions are working properly, can now handle sleep as well in edge case (#160) 2024-04-16 14:34:57 -04:00