Commit Graph

1669 Commits (bd30dca47d343c67f54a4befda469f9c789b8a2f)

Author SHA1 Message Date
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
Ishan Patel 1f9834d1f6
Fixed when roost removes flying type (#148)
* Initial push with roost fix

* Roost fix

* Added GROUNDED to Levitate

* Cleaned up GROUNDED code
2024-04-16 14:31:30 -04:00
Miguel S 7bc147166e
i18n for Pokemon moves (#155)
* i18n for moves

* Remove extra comma from merge

* Fixed some missing moves description

* Infer move i18n keys

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-16 14:29:32 -04:00
shayebeadlingkl cfd30f16b2 Implements psycho shift 2024-04-16 13:15:00 -04:00
Xavion3 420d7fbade Fix paralysis speed drop
Should only be 0.5x
2024-04-16 12:25:41 -04:00
Flashfyre 05bb384934 Update crit chance to gen 7 odds 2024-04-16 12:14:33 -04:00
Flashfyre 257e222b83 Fix being able to buy Sacred Ash without fainted party members 2024-04-16 12:04:52 -04:00
Flashfyre 4b77ba8c39 Fix certain elements not showing on loading screen on mobile 2024-04-16 11:26:23 -04:00
Flashfyre 986e907894 Don't show intro video on mobile 2024-04-16 10:59:15 -04:00
Madmadness65 5058bcf717 Adjust Cosmoem's evolution conditions
It no longer needs a specific biome in order to evolve, just time of day (It was wrong anyways, evolving in all biomes *except* Space).
2024-04-16 00:02:16 -05:00
shayebeadling 95aa78487f
Present implementation, adds a 0 dmg override for 0 power moves. (#152)
* Implements present, adds an override in the dmg calc to make 0 power moves do 0 dmg

* present doesn't make contact

* removes console log

* only === 0
2024-04-16 00:41:15 -04:00
Hans Sorongon e188e90d1c Fix shoulder buttons not working issue 2024-04-16 00:07:59 -04:00
Flashfyre e85179f7cd Fix gamepad support not saving 2024-04-15 22:40:27 -04:00
Flashfyre 1ff206287a Add setting for gamepad support 2024-04-15 20:13:58 -04:00
Flashfyre 0692a343a0 Fix duplicate candy count key for local 2024-04-15 19:47:12 -04:00
Flashfyre 4057fbf846 Formatting consistency changes 2024-04-15 19:45:10 -04:00
Hans Sorongon 1b41bdb8e3 Added built-in support for gamepads using Phaser.Gamepad 2024-04-15 19:45:10 -04:00
Flashfyre ec4c395e87 Add more biome weather 2024-04-15 17:45:52 -04:00
prateau c1b60afacd Add snow climate animation 2024-04-15 17:45:52 -04:00
prateau 509954995c update moves and abilities that takes effect in snow 2024-04-15 17:45:52 -04:00
prateau 0196cf8310 Add snow as a weather 2024-04-15 17:45:52 -04:00
Flashfyre 7275876120 Fix starter select issue with gender forms 2024-04-15 17:34:36 -04:00
Matthew Ross c978fad286 Smack down should hit target charging fly 2024-04-15 16:24:57 -04:00
damocleas a0fd462b5c
Nature Power move change for Town Metropolis and Plains (#147) 2024-04-15 16:23:44 -04:00
LaukkaE e15b810f6a Prevent crash with trace 2024-04-15 16:08:54 -04:00
Matt Ross af4e9ff66e
Additional moves should hit fly, dig, dive (#143)
* whirlwind should hit pokemon charging fly

* Thunder should hit flying

* magnitude and fissure should hit dig

* Add battle tag for underwater (dive), allow surf/whirlpool to hit diving

* reorder underwater in enums to match battler-tags order

* hurricane and thousand arrows should hit fly
2024-04-15 15:49:10 -04:00
damocleas 3a1ebc9815 Nature Power move for all biomes
Unique Nature Power move for all biomes, no overlap with terrains
2024-04-15 15:21:50 -04:00
Flashfyre abc729ed5c Revert "Replace intro with smaller file"
This reverts commit 8cce544536.
2024-04-15 15:04:42 -04:00
Flashfyre 8cce544536 Replace intro with smaller file 2024-04-15 14:45:00 -04:00
Flashfyre 69d9f705a1 Fix issue with cache busting fix for intro video 2024-04-15 14:14:41 -04:00
Flashfyre 22f6521fcb Ignore cache busting for intro video 2024-04-15 14:10:48 -04:00
Flashfyre c1d641251b Add Pagefault Games intro 2024-04-15 13:10:09 -04:00
LaukkaE 2a5351e2f6
impl Priority immunity abilities (#137) 2024-04-15 12:48:33 -04:00
serif 39eed2a275 Update move.ts
adds the rest of the biomes
2024-04-15 12:21:13 -04:00
AJ Fontaine 76edb00e31 Thermal Exchange 2024-04-15 12:18:00 -04:00
Flashfyre 9d92ec2a72 Fix nature power using wrong syntax for switch case 2024-04-15 10:45:40 -04:00
Flashfyre 398f2c5be0 Fix being able to overwrite data without a confirmation 2024-04-15 10:35:57 -04:00
Flashfyre 6e59b4dd77 Prevent saving on an outdated client 2024-04-15 10:09:51 -04:00
Xavion3 6881246d17 Implement check functions for abilities 2024-04-15 01:11:27 -04:00
Flashfyre 8819473dce Lower price of Sacred Ash 2024-04-14 23:46:20 -04:00
Flashfyre 8dd0aa5384 Fix some female breeder names showing as male names 2024-04-14 22:56:25 -04:00
Madmadness65 e7f1969099 Implement Ivy Cudgel's type changing property
Basically a copy/paste of Raging Bull's code.
2024-04-14 21:41:12 -05:00
Matthew Ross 032ab95756 Additional check for can apply ability after move used 2024-04-14 22:40:26 -04:00
lucfd d699a0f7d4
Implemented barrier-breaking moves (#130)
* Implemented barrier-breaking moves

* removed (P) from move names

* refactored to support defog
2024-04-14 22:26:58 -04:00
Madmadness65 e0dd7d6d48 Implement Shields Down's form change; Fix wild Rotom forms not appearing
Shields Down is only partially implemented; the form changing aspect is implemented, but the immunity to statuses is not yet.
Minior's alternate colored forms can now be encountered in the wild.
Rotom's appliance forms should *finally* appear in the wild correctly now.
And a minor fix for Zen Mode activating incorrectly.
2024-04-14 20:32:17 -05:00
Flashfyre 99aa7854c0 Prevent replacing learnset when species is overridden 2024-04-14 20:23:51 -04:00
surniki 208279ce77 Copies the moveset of the evolving Nincada to the newly generated pokemon for Shedinja. 2024-04-14 20:09:58 -04:00
shayebeadlingkl be9d07ab1a fixes targeting 2024-04-14 18:26:44 -04:00
Flashfyre 669bc367e5 Fix Super Luck working on the wrong side 2024-04-14 18:19:35 -04:00
shayebeadlingkl 8932a0b6f9 Implements Nature Power 2024-04-14 18:00:31 -04:00
Appo c8445ba8dd Implement Competitive
Since Competitive is just Defiant but for SPATK, the code for Defiant was reused with the buff changed to special attack. This should mean the ability works the exact same way as Defiant for it's respective stat.
2024-04-14 16:52:44 -04:00
Flashfyre 8ccdf6d554 Fix cachebusting 2024-04-14 15:47:00 -04:00
Flashfyre f358e302e9 Give Ferroseed duplicate ability as hidden 2024-04-14 14:36:44 -04:00
shayebeadling 90ef58d7a4
Defiant implementation (#128)
* Defiant works, but self inflicted stat changes still proc the stat raise.

* Prevents proc from self-targeted stat reductions, like superpower
2024-04-14 14:20:00 -04:00
Madmadness65 73cf4e9f5c Implement Thunderclap
It's just a copy of Sucker Punch, so no additional work needed.
2024-04-14 12:52:59 -05:00
Xavion3 605e16fe35 Fix a bunch of moves 2024-04-14 13:16:28 -04:00
Tempoanon 946e6d8c5c
Implement Rivalry, Quick Feet, Liquid Voice, and Normalize (#108)
* 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
2024-04-14 13:15:01 -04:00
cornfish c25cb50b31
Implement toxic chain (#126)
* implement toxic chain

* fix for self target like roost
2024-04-14 13:13:17 -04:00
Flashfyre 75ce0e8f73 Fix transform and imposter not copying ability 2024-04-14 12:23:49 -04:00
Xavion3 705ba0659e Fix crash bug with sucker punch when not using a move 2024-04-14 12:06:21 -04:00
Flashfyre 598e695348 Fixed damage moves are unaffected by the multi lens 2024-04-14 12:02:44 -04:00
Xavion3 cc20d24afa
Implement sucker punch (#121)
* Implement sucker punch

* Fix variable name
2024-04-14 11:54:46 -04:00
Madmadness65 1941939931 Fix Jungle Healing healing the user twice
It still does not have the status condition healing bit yet.
2024-04-14 08:19:31 -05:00
Temps Ray 65961d5cc7 Fix bug in legendary gacha that reduced epic egg rates 2024-04-14 01:30:07 -04:00
Flashfyre 7e3ad88e4d Hide candies for evolved starters 2024-04-14 00:14:23 -04:00
Xavion3 4078518c5f
Add support for ability changing effects (#113)
* Add support for ability changing effects

* Fix doodle with a fainted ally in doubles
2024-04-13 23:21:34 -04:00
shayebeadling f068b53d44
Show icon in dex for HA mons, like shiny (#117)
* Show icon in dex for HA mons, like shiny

* Swaps the star with the HA capsule

* Removes the unwanted icon
2024-04-13 23:20:54 -04:00
neverblde cdab38abda Don't escape interpolation values 2024-04-13 23:02:32 -04:00
Flashfyre 796f69daeb Lower candy costs for lower-cost starters 2024-04-13 20:41:51 -04:00
Madmadness65 77368986fe Change Rotom and Carbink's passive abilities
Rotom naturally cannot take advantage of Electric Surge as it's not grounded, and Oblivious is pointless on a genderless Pokémon like Carbink.
2024-04-13 19:37:42 -05:00
Flashfyre 000d31f663 Fix use candy menu showing up for evolved starters 2024-04-13 19:36:43 -04:00
Flashfyre c369e9ed85 Change layering on certain starter select ui elements 2024-04-13 19:28:32 -04:00
Flashfyre 61ce0887ef Fix candy menu not showing for species with only 1 starter move 2024-04-13 19:21:59 -04:00
Flashfyre 608c024749 Fix crash on starter select when scrolling generations 2024-04-13 19:06:33 -04:00
Flashfyre 824a73ef71 Add candy system for passives and value reductions 2024-04-13 18:59:58 -04:00
EmoUsedHM01 c84531af35 Gave Regigigas Normalize as a HA following a discussion about it on Discord
Removes its powerful coverage options in exchange for losing Slow Start, still gets walled by anything that resists/ignores Normal type moves but is no longer useless for 5 turns
2024-04-13 13:55:56 -04:00
LaukkaE 8cf8ce1258 Fix terrain power boosting
fix
2024-04-13 13:51:13 -04:00
neverblde df949be2bd Refactor some string literals into i18next 2024-04-13 00:49:14 -04:00
Xavion3 66ef42db85 Update ability attributes 2024-04-12 22:25:22 -04:00
kleekie 3d38ad14ca Add crash damage message + battle info update for missed/ineffective moves 2024-04-12 22:21:07 -04:00
Madmadness65 92812aae1d Draining Kiss now restores 75% of damage dealt 2024-04-12 19:02:24 -05:00
Flashfyre f6770b83b5 Add missing passive parameter to BonusCritAbAttr 2024-04-12 19:31:08 -04:00
Flashfyre 086c64b8f8 Fix invalid constructor arguments to always crit tag 2024-04-12 18:44:20 -04:00
EmoUsedHM01 cabba43598
Added support for Super Luck with BonusCritAbAttr (#106)
* Fixed Super Luck, and added a new BonusCritAbAttr

* Added crit clause for BonusCritAbAttr ( Super Luck )

* Changed it to +1 like it should be
2024-04-12 17:21:56 -04:00
Dovie Shalev eb791747fe
Last respects Fully Implemented (#105)
* Last Respects fully implemented

* Fixed Last Respects

* Last Respects Fully Implemented

* Last Respects Fully Implemented

---------

Co-authored-by: dshalev <dshalev@umich.edu>
2024-04-12 16:16:08 -04:00
William Burleson 389278a1b0
Implement download (#99)
* Implement Download

* Fix formatting
2024-04-12 16:08:04 -04:00
EmoUsedHM01 930c14fa62
Laser Focus support, with the added BattlerTagTypes to support it (#103)
* Added a new BattlerTagType and support for Laser Focus

BattlerTagType.ALWAYS_CRIT

* Updated battler-tags to support ALWAYS_CRIT

* Added ALWAYS_CRIT = "ALWAYS_CRIT", for the updated battler-tag-type

* Updated the crit formula to include the new critAlways

* Updated crit logic to include critAlways, fixed indents
2024-04-12 16:05:32 -04:00
Madmadness65 dcb4688c76 Revert "Update Gen 4 & 9 egg moves"
This reverts commit eef83432ab.
2024-04-12 14:54:01 -05:00
Madmadness65 eef83432ab Update Gen 4 & 9 egg moves 2024-04-12 14:40:14 -05:00
Matthew Olker d2ebb499d8 Fix broken call in force switch out 2024-04-12 07:44:45 -04:00
EmoUsedHM01 fba98ffa0c
Updated ForceSwitchOutAttr (#90)
* Updated ForceSwitchOutAttr

Should fix issue #83

* Removed the additional indents

* Updated the import and fixed the ForceSwitchOutAttr coding errors

* Removed the rest of the indents

* Updated formatting
2024-04-12 07:32:06 -04:00
Xavion3 20b6612cd1 Add support for hidden power 2024-04-12 01:45:19 -04:00
James Lin 73c9625df1
Add i18next framework to enable further contributions (#96)
* prototype

* Update with comments and type safety
2024-04-11 23:47:03 -04:00
spongario d06003d22c fix formatting 2024-04-11 23:18:37 -04:00
spongario 07ff22e53d fix for Psychic Terrain blocking Protect Moves 2024-04-11 23:18:37 -04:00
Flashfyre a793aedd29 Don't transfer baton item if target is already holding one 2024-04-11 20:58:24 -04:00
Xavion3 747a039a2e Add support for strength sap 2024-04-11 20:55:21 -04:00
Flashfyre 3961550f62 Fix fusion move learning bug and inaccurate HP in battle info 2024-04-11 20:40:16 -04:00
Flashfyre 3e9fdc2d0a Fix rest not overriding status 2024-04-11 20:01:43 -04:00
Flashfyre eaf993e76f Fix starter select types not respecting form 2024-04-11 19:10:56 -04:00
Flashfyre 49f2a5d3eb Unimplemented moves cannot be selected by the play 2024-04-11 18:53:03 -04:00
Flashfyre 716388c92b Fix Pupitar losing hidden ability 2024-04-11 18:33:58 -04:00
Flashfyre d50521755e Fix fusion move merge happening after wave end 2024-04-11 16:30:29 -04:00
AppleOfTheDark d05fab041c
Snow Cloak Conditional Fix (#91)
* Snow Cloak Hail Condition Fix

Snow Cloak's evasion wasn't actually checking for hail, so the condition has been added.

* Snow Cloak

getWeatherCondition is not meant to have a capital.
2024-04-11 15:52:15 -04:00
Flashfyre 3d959e3860 SpDef boost in sandstorm only applies to rock types 2024-04-11 14:52:32 -04:00
Flashfyre af23bfc1f9 Fix post-summon abilities sometimes triggering twice on switch 2024-04-11 12:35:22 -04:00
Flashfyre 053c07cfba Fix being able to use rest without drawback when unable to sleep 2024-04-11 12:14:03 -04:00
Flashfyre 377dabdb27 Boss buffs ignore abilities 2024-04-11 12:11:55 -04:00
Flashfyre 1d0f04d629 Add type icons to starter select 2024-04-11 11:39:08 -04:00
Flashfyre f2a141cf15 Fix Mega evolutions causing ability slot to be lost 2024-04-11 11:09:07 -04:00
Flashfyre c14c581248 Weather damage counts as neutral damage 2024-04-11 10:33:08 -04:00
Flashfyre 43bf8e13ea Fix stack overflow with weather abilities 2024-04-11 09:39:15 -04:00
Flashfyre fbb901e591 Temporarily disable passive abilities 2024-04-11 09:30:40 -04:00
Flashfyre 31050a5181 Add passive secondary abilities for bosses 2024-04-11 09:24:03 -04:00
Flashfyre 75075c6fab Update missing save data handling 2024-04-11 00:18:16 -04:00
AppleOfTheDark b9a068e3b7
Implement Shed Skin (and Hydration!) (#84)
* Implement Shed Skin (and Hydration!)

Implemented Shed Skin, with a 1/3 chance to remove a non-volatile status condition if inflicted with it at the end of each turn. While doing this I noticed Hydration is the same effect but in Rain/Heavy Rain, so I implemented that too.

* Update to ability.ts based on changes.

Formatting errors should be largely fixed, and we've switched from Math.rand to Utils.

* Update src/data/ability.ts

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-11 00:16:09 -04:00